]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/Makefile.am
c++: remove lookup_template_class's entering_scope flag
[thirdparty/gcc.git] / libphobos / Makefile.am
1 # Makefile for the toplevel directory of the D Standard library.
2 # Copyright (C) 2006-2019 Free Software Foundation, Inc.
3 #
4 # GCC is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
7 # any later version.
8 #
9 # GCC is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with GCC; see the file COPYING3. If not see
16 # <http://www.gnu.org/licenses/>.
17
18 if ENABLE_LIBPHOBOS
19 SUBDIRS = libdruntime src testsuite
20 else
21 SUBDIRS =
22 endif
23
24 ACLOCAL_AMFLAGS = -I . -I .. -I ../config
25
26 # Multilib support.
27 MAKEOVERRIDES=
28
29 # Work around what appears to be a GNU make bug handling MAKEFLAGS
30 # values defined in terms of make variables, as is the case for CC and
31 # friends when we are called from the top level Makefile.
32 AM_MAKEFLAGS = \
33 "AR_FLAGS=$(AR_FLAGS)" \
34 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
35 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
36 "CCASFLAGS=$(CCASFLAGS)" \
37 "CFLAGS=$(CFLAGS)" \
38 "CXXFLAGS=$(CXXFLAGS)" \
39 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
40 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
41 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
42 "GDC=$(GDC)" \
43 "GDCFLAGS=$(GDCFLAGS)" \
44 "INSTALL=$(INSTALL)" \
45 "INSTALL_DATA=$(INSTALL_DATA)" \
46 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
47 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
48 "LDFLAGS=$(LDFLAGS)" \
49 "LIBCFLAGS=$(LIBCFLAGS)" \
50 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
51 "MAKE=$(MAKE)" \
52 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
53 "PICFLAG=$(PICFLAG)" \
54 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
55 "SHELL=$(SHELL)" \
56 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
57 "exec_prefix=$(exec_prefix)" \
58 "infodir=$(infodir)" \
59 "libdir=$(libdir)" \
60 "includedir=$(includedir)" \
61 "prefix=$(prefix)" \
62 "tooldir=$(tooldir)" \
63 "gdc_include_dir=$(gdc_include_dir)" \
64 "AR=$(AR)" \
65 "AS=$(AS)" \
66 "LD=$(LD)" \
67 "RANLIB=$(RANLIB)" \
68 "NM=$(NM)" \
69 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
70 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
71 "DESTDIR=$(DESTDIR)" \
72 "WERROR=$(WERROR)"
73
74 # Subdir rules rely on $(FLAGS_TO_PASS)
75 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
76
77 include $(top_srcdir)/../multilib.am