libgomp.texi: Fix deprecation note for omp_{get,set}_nested + OMP_NESTED
[official-gcc.git] / libgrust / Makefile.am
blob7a4512cae96b50c920bff69f45ce21ea801edf28
1 AUTOMAKE_OPTIONS = 1.8 foreign
3 SUFFIXES = .c .rs .def .o .lo .a
5 ACLOCAL_AMFLAGS = -I . -I .. -I ../config
7 AM_CFLAGS = -I $(srcdir)/../libgcc -I $(MULTIBUILDTOP)../../gcc/include
9 TOP_GCCDIR := $(shell cd $(top_srcdir) && cd .. && pwd)
11 GCC_DIR = $(TOP_GCCDIR)/gcc
12 RUST_SRC = $(GCC_DIR)/rust
14 SUBDIRS =
15 if !TARGET_LIBRARY
16 SUBDIRS += libformat_parser
17 endif
18 SUBDIRS += libproc_macro_internal
20 RUST_BUILDDIR := $(shell pwd)
22 # Work around what appears to be a GNU make bug handling MAKEFLAGS
23 # values defined in terms of make variables, as is the case for CC and
24 # friends when we are called from the top level Makefile.
25 AM_MAKEFLAGS = \
26         "GCC_DIR=$(GCC_DIR)" \
27         "RUST_SRC=$(RUST_SRC)" \
28         "AR_FLAGS=$(AR_FLAGS)" \
29         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
30         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
31         "RUST_FOR_TARGET=$(RUST_FOR_TARGET)" \
32         "CFLAGS=$(CFLAGS)" \
33         "CXXFLAGS=$(CXXFLAGS)" \
34         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
35         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
36         "INSTALL=$(INSTALL)" \
37         "INSTALL_DATA=$(INSTALL_DATA)" \
38         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
39         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
40         "LDFLAGS=$(LDFLAGS)" \
41         "LIBCFLAGS=$(LIBCFLAGS)" \
42         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
43         "MAKE=$(MAKE)" \
44         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
45         "PICFLAG=$(PICFLAG)" \
46         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
47         "SHELL=$(SHELL)" \
48         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
49         "exec_prefix=$(exec_prefix)" \
50         "infodir=$(infodir)" \
51         "libdir=$(libdir)" \
52         "includedir=$(includedir)" \
53         "prefix=$(prefix)" \
54         "tooldir=$(tooldir)" \
55         "gxx_include_dir=$(gxx_include_dir)" \
56         "AR=$(AR)" \
57         "AS=$(AS)" \
58         "LD=$(LD)" \
59         "RANLIB=$(RANLIB)" \
60         "NM=$(NM)" \
61         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
62         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
63         "DESTDIR=$(DESTDIR)" \
64         "WERROR=$(WERROR)" \
65         "TARGET_LIB_PATH=$(TARGET_LIB_PATH)" \
66         "TARGET_LIB_PATH_librust=$(TARGET_LIB_PATH_librust)"
68 include $(top_srcdir)/../multilib.am