Updated French translations for GOLD and LD
[binutils-gdb.git] / gdbsupport / Makefile.am
blob88414b4c927a5e3a55be1c9ba46b11b8820ff58b
1 ## Process this file with automake to generate Makefile.in
3 #   Copyright (C) 2020-2024 Free Software Foundation, Inc.
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.
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.
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/>.
20 AUTOMAKE_OPTIONS = no-dist foreign
21 ACLOCAL_AMFLAGS = -I . -I ../config
23 # Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not defined'
24 # from Automake, as gdbsupport uses AM_GNU_GETTEXT through
25 # ZW_GNU_GETTEXT_SISTER_DIR, but doesn't have any translations (currently).
26 SUBDIRS =
28 AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
29     -I../gnulib/import -I$(srcdir)/../gnulib/import \
30     -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \
31     @LARGEFILE_CPPFLAGS@
33 override CXX += $(CXX_DIALECT)
35 AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
37 noinst_LIBRARIES = libgdbsupport.a
39 if SELFTEST
40 selftest = selftest.cc
41 endif
43 if HAVE_PIPE_OR_PIPE2
44 eventpipe = event-pipe.cc
45 endif
47 libgdbsupport_a_SOURCES = \
48     agent.cc \
49     btrace-common.cc \
50     cleanups.cc \
51     common-debug.cc \
52     common-exceptions.cc \
53     common-inferior.cc \
54     common-regcache.cc \
55     common-utils.cc \
56     environ.cc \
57     errors.cc \
58     event-loop.cc \
59     fileio.cc \
60     filestuff.cc \
61     format.cc \
62     gdb-dlfcn.cc \
63     gdb-hashtab.cc \
64     gdb_obstack.cc \
65     gdb_regex.cc \
66     gdb_tilde_expand.cc \
67     gdb_wait.cc \
68     gdb_vecs.cc \
69     job-control.cc \
70     netstuff.cc \
71     new-op.cc \
72     pathstuff.cc \
73     print-utils.cc \
74     ptid.cc \
75     rsp-low.cc \
76     run-time-clock.cc \
77     safe-strerror.cc \
78     scoped_mmap.cc \
79     search.cc \
80     signals.cc \
81     signals-state-save-restore.cc \
82     task-group.cc \
83     tdesc.cc \
84     thread-pool.cc \
85     xml-utils.cc \
86     ${eventpipe} \
87     $(selftest)
89 # Double-check that no defines are missing from our configury.
90 check-defines:
91         cd $(srcdir) && emacs --script check-defines.el