Makefile.am 2.2 KB

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