PR libstdc++/65978
[official-gcc.git] / libmpx / mpxwrap / Makefile.am
blob72abccf8b8be0b5e7d32e6e1079422767cfa8cd5
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.
18 AM_MAKEFLAGS = \
19        "AR_FLAGS=$(AR_FLAGS)" \
20        "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
21        "CFLAGS=$(CFLAGS)" \
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)" \
33        "MAKE=$(MAKE)" \
34        "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
35        "PICFLAG=$(PICFLAG)" \
36        "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
37        "SHELL=$(SHELL)" \
38        "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
39        "exec_prefix=$(exec_prefix)" \
40        "infodir=$(infodir)" \
41        "libdir=$(libdir)" \
42        "prefix=$(prefix)" \
43        "includedir=$(includedir)" \
44        "AR=$(AR)" \
45        "AS=$(AS)" \
46        "LD=$(LD)" \
47        "LIBCFLAGS=$(LIBCFLAGS)" \
48        "NM=$(NM)" \
49        "PICFLAG=$(PICFLAG)" \
50        "RANLIB=$(RANLIB)" \
51        "DESTDIR=$(DESTDIR)"
53 MAKEOVERRIDES =