]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/Makefile.am
gdb: fix detection of compilation and linking flags for source-highlight
[thirdparty/binutils-gdb.git] / gdbsupport / Makefile.am
CommitLineData
01027315
TT
1## Process this file with automake to generate Makefile.in
2#
4a94e368 3# Copyright (C) 2020-2022 Free Software Foundation, Inc.
01027315
TT
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
20AUTOMAKE_OPTIONS = no-dist foreign
21ACLOCAL_AMFLAGS = -I . -I ../config
22
23AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
24 -I../gnulib/import -I$(srcdir)/../gnulib/import \
c8693053
RO
25 -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \
26 @LARGEFILE_CPPFLAGS@
01027315 27
67b10306
PA
28override CXX += $(CXX_DIALECT)
29
06b3c5bd 30AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
629c2962 31
01027315
TT
32noinst_LIBRARIES = libgdbsupport.a
33
34if SELFTEST
06b3c5bd 35selftest = selftest.cc
01027315
TT
36endif
37
38libgdbsupport_a_SOURCES = \
06b3c5bd
SM
39 agent.cc \
40 btrace-common.cc \
41 buffer.cc \
42 cleanups.cc \
43 common-debug.cc \
44 common-exceptions.cc \
45 common-inferior.cc \
46 common-regcache.cc \
47 common-utils.cc \
48 environ.cc \
49 errors.cc \
400b5eca 50 event-loop.cc \
06b3c5bd
SM
51 fileio.cc \
52 filestuff.cc \
53 format.cc \
54 gdb-dlfcn.cc \
0589ca4e 55 gdb-hashtab.cc \
bf31fd38 56 gdb_obstack.cc \
d322d6d6 57 gdb_regex.cc \
06b3c5bd
SM
58 gdb_tilde_expand.cc \
59 gdb_wait.cc \
60 gdb_vecs.cc \
61 job-control.cc \
62 netstuff.cc \
63 new-op.cc \
64 pathstuff.cc \
65 print-utils.cc \
66 ptid.cc \
67 rsp-low.cc \
68 run-time-clock.cc \
69 safe-strerror.cc \
70 scoped_mmap.cc \
4a72de73 71 search.cc \
06b3c5bd
SM
72 signals.cc \
73 signals-state-save-restore.cc \
74 tdesc.cc \
75 thread-pool.cc \
76 xml-utils.cc \
01027315 77 $(selftest)
0454ef42
TT
78
79# Double-check that no defines are missing from our configury.
80check-defines:
81 cd $(srcdir) && emacs --script check-defines.el