1 ACLOCAL_AMFLAGS = -I $(top_srcdir) -I $(top_srcdir)/config
4 # May be used by toolexeclibdir.
5 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
7 AM_CPPFLAGS = -I$(top_srcdir)/..
10 toolexeclib_LTLIBRARIES = libmpx.la
12 libmpx_la_SOURCES = mpxrt.c mpxrt-utils.c
14 libmpx_la_CFLAGS = -fPIC $(XCFLAGS)
15 libmpx_la_DEPENDENCIES = libmpx.map
16 libmpx_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libmpx.map $(link_libmpx) \
17 -version-info `grep -v '^\#' $(srcdir)/libtool-version`
19 mpxrt.lo: mpxrt-utils.h
20 mpxrt-utils.lo: mpxrt-utils.h
23 # Work around what appears to be a GNU make bug handling MAKEFLAGS
24 # values defined in terms of make variables, as is the case for CC and
25 # friends when we are called from the top level Makefile.
27 "AR_FLAGS=$(AR_FLAGS)" \
28 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
30 "CXXFLAGS=$(CXXFLAGS)" \
31 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
32 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
33 "INSTALL=$(INSTALL)" \
34 "INSTALL_DATA=$(INSTALL_DATA)" \
35 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
36 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
37 "JC1FLAGS=$(JC1FLAGS)" \
38 "LDFLAGS=$(LDFLAGS)" \
39 "LIBCFLAGS=$(LIBCFLAGS)" \
40 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
42 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
43 "PICFLAG=$(PICFLAG)" \
44 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
46 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
47 "exec_prefix=$(exec_prefix)" \
48 "infodir=$(infodir)" \
51 "includedir=$(includedir)" \
55 "LIBCFLAGS=$(LIBCFLAGS)" \
57 "PICFLAG=$(PICFLAG)" \