]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgrust/Makefile.am
[c++] [testsuite] adjust contracts9.C for negative addresses
[thirdparty/gcc.git] / libgrust / Makefile.am
CommitLineData
f37c55c1
PEP
1AUTOMAKE_OPTIONS = 1.8 foreign
2
3SUFFIXES = .c .rs .def .o .lo .a
4
5ACLOCAL_AMFLAGS = -I . -I .. -I ../config
6
7AM_CFLAGS = -I $(srcdir)/../libgcc -I $(MULTIBUILDTOP)../../gcc/include
8
9TOP_GCCDIR := $(shell cd $(top_srcdir) && cd .. && pwd)
10
11GCC_DIR = $(TOP_GCCDIR)/gcc
12RUST_SRC = $(GCC_DIR)/rust
13
fd73cf8c 14SUBDIRS = libproc_macro_internal
f37c55c1
PEP
15
16RUST_BUILDDIR := $(shell pwd)
17
18# Work around what appears to be a GNU make bug handling MAKEFLAGS
19# values defined in terms of make variables, as is the case for CC and
20# friends when we are called from the top level Makefile.
21AM_MAKEFLAGS = \
22 "GCC_DIR=$(GCC_DIR)" \
23 "RUST_SRC=$(RUST_SRC)" \
24 "AR_FLAGS=$(AR_FLAGS)" \
25 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
26 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
27 "RUST_FOR_TARGET=$(RUST_FOR_TARGET)" \
28 "CFLAGS=$(CFLAGS)" \
29 "CXXFLAGS=$(CXXFLAGS)" \
30 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
31 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
32 "INSTALL=$(INSTALL)" \
33 "INSTALL_DATA=$(INSTALL_DATA)" \
34 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
35 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
36 "LDFLAGS=$(LDFLAGS)" \
37 "LIBCFLAGS=$(LIBCFLAGS)" \
38 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
39 "MAKE=$(MAKE)" \
40 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
41 "PICFLAG=$(PICFLAG)" \
42 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
43 "SHELL=$(SHELL)" \
44 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
45 "exec_prefix=$(exec_prefix)" \
46 "infodir=$(infodir)" \
47 "libdir=$(libdir)" \
48 "includedir=$(includedir)" \
49 "prefix=$(prefix)" \
50 "tooldir=$(tooldir)" \
51 "gxx_include_dir=$(gxx_include_dir)" \
52 "AR=$(AR)" \
53 "AS=$(AS)" \
54 "LD=$(LD)" \
55 "RANLIB=$(RANLIB)" \
56 "NM=$(NM)" \
57 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
58 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
59 "DESTDIR=$(DESTDIR)" \
60 "WERROR=$(WERROR)" \
61 "TARGET_LIB_PATH=$(TARGET_LIB_PATH)" \
71180a9e 62 "TARGET_LIB_PATH_librust=$(TARGET_LIB_PATH_librust)"
f37c55c1
PEP
63
64include $(top_srcdir)/../multilib.am