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