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