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).
29 -I$(srcdir)/../include \
32 -I$(srcdir)/../gnulib/import \
38 -include $(srcdir)/common-defs.h \
41 override CXX += $(CXX_DIALECT)
43 AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
45 noinst_LIBRARIES = libgdbsupport.a
48 selftest = selftest.cc
52 eventpipe = event-pipe.cc
55 libgdbsupport_a_SOURCES = \
60 common-exceptions.cc \
89 signals-state-save-restore.cc \
97 # Double-check that no defines are missing from our configury.
99 cd $(srcdir) && emacs --script check-defines.el