| 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 | |
| 27 | override CXX += $(CXX_DIALECT) |
| 28 | |
| 29 | AM_CXXFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) |
| 30 | |
| 31 | noinst_LIBRARIES = libgdbsupport.a |
| 32 | |
| 33 | if SELFTEST |
| 34 | selftest = selftest.cc |
| 35 | endif |
| 36 | |
| 37 | libgdbsupport_a_SOURCES = \ |
| 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 \ |
| 49 | fileio.cc \ |
| 50 | filestuff.cc \ |
| 51 | format.cc \ |
| 52 | gdb-dlfcn.cc \ |
| 53 | gdb_tilde_expand.cc \ |
| 54 | gdb_wait.cc \ |
| 55 | gdb_vecs.cc \ |
| 56 | job-control.cc \ |
| 57 | netstuff.cc \ |
| 58 | new-op.cc \ |
| 59 | pathstuff.cc \ |
| 60 | print-utils.cc \ |
| 61 | ptid.cc \ |
| 62 | rsp-low.cc \ |
| 63 | run-time-clock.cc \ |
| 64 | safe-strerror.cc \ |
| 65 | scoped_mmap.cc \ |
| 66 | signals.cc \ |
| 67 | signals-state-save-restore.cc \ |
| 68 | tdesc.cc \ |
| 69 | thread-pool.cc \ |
| 70 | xml-utils.cc \ |
| 71 | $(selftest) |
| 72 | |
| 73 | # Double-check that no defines are missing from our configury. |
| 74 | check-defines: |
| 75 | cd $(srcdir) && emacs --script check-defines.el |