Makefile.am 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. AM_CPPFLAGS = -I $(top_srcdir)/include -I $(top_srcdir)
  2. # May be used by toolexeclibdir.
  3. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
  4. DEFS = -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
  5. AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros
  6. AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
  7. AM_CXXFLAGS += -std=gnu++11
  8. ACLOCAL_AMFLAGS = -I m4
  9. noinst_LTLIBRARIES = libinterception.la
  10. interception_files = \
  11. interception_linux.cc \
  12. interception_mac.cc \
  13. interception_win.cc \
  14. interception_type_test.cc
  15. libinterception_la_SOURCES = $(interception_files)
  16. # Work around what appears to be a GNU make bug handling MAKEFLAGS
  17. # values defined in terms of make variables, as is the case for CC and
  18. # friends when we are called from the top level Makefile.
  19. AM_MAKEFLAGS = \
  20. "AR_FLAGS=$(AR_FLAGS)" \
  21. "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  22. "CFLAGS=$(CFLAGS)" \
  23. "CXXFLAGS=$(CXXFLAGS)" \
  24. "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
  25. "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
  26. "INSTALL=$(INSTALL)" \
  27. "INSTALL_DATA=$(INSTALL_DATA)" \
  28. "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  29. "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
  30. "JC1FLAGS=$(JC1FLAGS)" \
  31. "LDFLAGS=$(LDFLAGS)" \
  32. "LIBCFLAGS=$(LIBCFLAGS)" \
  33. "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
  34. "MAKE=$(MAKE)" \
  35. "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
  36. "PICFLAG=$(PICFLAG)" \
  37. "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
  38. "SHELL=$(SHELL)" \
  39. "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  40. "exec_prefix=$(exec_prefix)" \
  41. "infodir=$(infodir)" \
  42. "libdir=$(libdir)" \
  43. "prefix=$(prefix)" \
  44. "includedir=$(includedir)" \
  45. "AR=$(AR)" \
  46. "AS=$(AS)" \
  47. "LD=$(LD)" \
  48. "LIBCFLAGS=$(LIBCFLAGS)" \
  49. "NM=$(NM)" \
  50. "PICFLAG=$(PICFLAG)" \
  51. "RANLIB=$(RANLIB)" \
  52. "DESTDIR=$(DESTDIR)"
  53. MAKEOVERRIDES=
  54. ## ################################################################