1 ALCLOCAL_AMFLAGS = -I .. -I ../config
2 AM_CPPFLAGS = -I $(top_srcdir)
4 # May be used by toolexeclibdir.
5 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
7 libmpxwrappers_la_CFLAGS = -fcheck-pointer-bounds -mmpx -fno-chkp-check-read \
8 -fno-chkp-check-write -fno-chkp-use-wrappers -fPIC
9 libmpxwrappers_la_DEPENDENCIES = libmpxwrappers.map
10 libmpxwrappers_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libmpxwrappers.map \
11 -version-info `grep -v '^\#' $(srcdir)/libtool-version`
13 toolexeclib_LTLIBRARIES = libmpxwrappers.la
15 libmpxwrappers_la_SOURCES = mpx_wrappers.c
17 # Work around what appears to be a GNU make bug handling MAKEFLAGS
18 # values defined in terms of make variables, as is the case for CC and
19 # friends when we are called from the top level Makefile.
21 "AR_FLAGS=$(AR_FLAGS)" \
22 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
24 "CXXFLAGS=$(CXXFLAGS)" \
25 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
26 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
27 "INSTALL=$(INSTALL)" \
28 "INSTALL_DATA=$(INSTALL_DATA)" \
29 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
30 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
31 "JC1FLAGS=$(JC1FLAGS)" \
32 "LDFLAGS=$(LDFLAGS)" \
33 "LIBCFLAGS=$(LIBCFLAGS)" \
34 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
36 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
37 "PICFLAG=$(PICFLAG)" \
38 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
40 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
41 "exec_prefix=$(exec_prefix)" \
42 "infodir=$(infodir)" \
45 "includedir=$(includedir)" \
49 "LIBCFLAGS=$(LIBCFLAGS)" \
51 "PICFLAG=$(PICFLAG)" \