1## Process this file with automake to generate Makefile.in 2# 3# Copyright (C) 2020-2023 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 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 \ 25 -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \ 26 @LARGEFILE_CPPFLAGS@ 27 28override CXX += $(CXX_DIALECT) 29 30AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) 31 32noinst_LIBRARIES = libgdbsupport.a 33 34if SELFTEST 35selftest = selftest.cc 36endif 37 38if HAVE_PIPE_OR_PIPE2 39eventpipe = event-pipe.cc 40endif 41 42libgdbsupport_a_SOURCES = \ 43 agent.cc \ 44 btrace-common.cc \ 45 buffer.cc \ 46 cleanups.cc \ 47 common-debug.cc \ 48 common-exceptions.cc \ 49 common-inferior.cc \ 50 common-regcache.cc \ 51 common-utils.cc \ 52 environ.cc \ 53 errors.cc \ 54 event-loop.cc \ 55 fileio.cc \ 56 filestuff.cc \ 57 format.cc \ 58 gdb-dlfcn.cc \ 59 gdb-hashtab.cc \ 60 gdb_obstack.cc \ 61 gdb_regex.cc \ 62 gdb_tilde_expand.cc \ 63 gdb_wait.cc \ 64 gdb_vecs.cc \ 65 job-control.cc \ 66 netstuff.cc \ 67 new-op.cc \ 68 pathstuff.cc \ 69 print-utils.cc \ 70 ptid.cc \ 71 rsp-low.cc \ 72 run-time-clock.cc \ 73 safe-strerror.cc \ 74 scoped_mmap.cc \ 75 search.cc \ 76 signals.cc \ 77 signals-state-save-restore.cc \ 78 tdesc.cc \ 79 thread-pool.cc \ 80 xml-utils.cc \ 81 ${eventpipe} \ 82 $(selftest) 83 84# Double-check that no defines are missing from our configury. 85check-defines: 86 cd $(srcdir) && emacs --script check-defines.el 87