2016-10-17 Andrew Pinski <apinski@cavium.com>
[official-gcc.git] / libmpx / Makefile.am
blobbd0a8b6f93ccddf627b863fe6107aae99b98ad8e
1 ACLOCAL_AMFLAGS = -I .. -I ../config
3 if LIBMPX_SUPPORTED
4 SUBDIRS = mpxrt
5 if MPX_AS_SUPPORTED
6 SUBDIRS += mpxwrap
7 endif
8 nodist_toolexeclib_HEADERS = libmpx.spec
9 endif
11 ## May be used by toolexeclibdir.
12 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
14 # Work around what appears to be a GNU make bug handling MAKEFLAGS
15 # values defined in terms of make variables, as is the case for CC and
16 # friends when we are called from the top level Makefile.
17 AM_MAKEFLAGS = \
18         "AR_FLAGS=$(AR_FLAGS)" \
19         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
20         "CFLAGS=$(CFLAGS)" \
21         "CXXFLAGS=$(CXXFLAGS)" \
22         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
23         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
24         "INSTALL=$(INSTALL)" \
25         "INSTALL_DATA=$(INSTALL_DATA)" \
26         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
27         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
28         "JC1FLAGS=$(JC1FLAGS)" \
29         "LDFLAGS=$(LDFLAGS)" \
30         "LIBCFLAGS=$(LIBCFLAGS)" \
31         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
32         "MAKE=$(MAKE)" \
33         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
34         "PICFLAG=$(PICFLAG)" \
35         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
36         "SHELL=$(SHELL)" \
37         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
38         "exec_prefix=$(exec_prefix)" \
39         "infodir=$(infodir)" \
40         "libdir=$(libdir)" \
41         "prefix=$(prefix)" \
42         "includedir=$(includedir)" \
43         "AR=$(AR)" \
44         "AS=$(AS)" \
45         "LD=$(LD)" \
46         "LIBCFLAGS=$(LIBCFLAGS)" \
47         "NM=$(NM)" \
48         "PICFLAG=$(PICFLAG)" \
49         "RANLIB=$(RANLIB)" \
50         "DESTDIR=$(DESTDIR)"
52 MAKEOVERRIDES =