Commit | Line | Data |
---|---|---|
01027315 TT |
1 | ## Process this file with automake to generate Makefile.in |
2 | # | |
3 | # Copyright (C) 2020 Free Software Foundation, Inc. | |
4 | # | |
5 | # This file is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with this program; see the file COPYING3. If not see | |
17 | # <http://www.gnu.org/licenses/>. | |
18 | # | |
19 | ||
20 | AUTOMAKE_OPTIONS = no-dist foreign | |
21 | ACLOCAL_AMFLAGS = -I . -I ../config | |
22 | ||
23 | AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \ | |
24 | -I../gnulib/import -I$(srcdir)/../gnulib/import \ | |
25 | -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd | |
26 | ||
67b10306 PA |
27 | override CXX += $(CXX_DIALECT) |
28 | ||
06b3c5bd | 29 | AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) |
629c2962 | 30 | |
01027315 TT |
31 | noinst_LIBRARIES = libgdbsupport.a |
32 | ||
33 | if SELFTEST | |
06b3c5bd | 34 | selftest = selftest.cc |
01027315 TT |
35 | endif |
36 | ||
37 | libgdbsupport_a_SOURCES = \ | |
06b3c5bd SM |
38 | agent.cc \ |
39 | btrace-common.cc \ | |
40 | buffer.cc \ | |
41 | cleanups.cc \ | |
42 | common-debug.cc \ | |
43 | common-exceptions.cc \ | |
44 | common-inferior.cc \ | |
45 | common-regcache.cc \ | |
46 | common-utils.cc \ | |
47 | environ.cc \ | |
48 | errors.cc \ | |
400b5eca | 49 | event-loop.cc \ |
06b3c5bd SM |
50 | fileio.cc \ |
51 | filestuff.cc \ | |
52 | format.cc \ | |
53 | gdb-dlfcn.cc \ | |
54 | gdb_tilde_expand.cc \ | |
55 | gdb_wait.cc \ | |
56 | gdb_vecs.cc \ | |
57 | job-control.cc \ | |
58 | netstuff.cc \ | |
59 | new-op.cc \ | |
60 | pathstuff.cc \ | |
61 | print-utils.cc \ | |
62 | ptid.cc \ | |
63 | rsp-low.cc \ | |
64 | run-time-clock.cc \ | |
65 | safe-strerror.cc \ | |
66 | scoped_mmap.cc \ | |
67 | signals.cc \ | |
68 | signals-state-save-restore.cc \ | |
69 | tdesc.cc \ | |
70 | thread-pool.cc \ | |
71 | xml-utils.cc \ | |
01027315 | 72 | $(selftest) |
0454ef42 TT |
73 | |
74 | # Double-check that no defines are missing from our configury. | |
75 | check-defines: | |
76 | cd $(srcdir) && emacs --script check-defines.el |