[RS6000] libgcc cfi
[official-gcc.git] / libphobos / Makefile.am
blob56965387d612b1fb58bfc6618e152ea346bd821b
1 # Makefile for the toplevel directory of the D Standard library.
2 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
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.
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.
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/>.
18 SUBDIRS = libdruntime src testsuite
20 ACLOCAL_AMFLAGS = -I . -I .. -I ../config
22 # Multilib support.
23 MAKEOVERRIDES=
25 # Work around what appears to be a GNU make bug handling MAKEFLAGS
26 # values defined in terms of make variables, as is the case for CC and
27 # friends when we are called from the top level Makefile.
28 AM_MAKEFLAGS = \
29         "AR_FLAGS=$(AR_FLAGS)" \
30         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
31         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
32         "CFLAGS=$(CFLAGS)" \
33         "CXXFLAGS=$(CXXFLAGS)" \
34         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
35         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
36         "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
37         "GDC=$(GDC)" \
38         "INSTALL=$(INSTALL)" \
39         "INSTALL_DATA=$(INSTALL_DATA)" \
40         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
41         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
42         "LDFLAGS=$(LDFLAGS)" \
43         "LIBCFLAGS=$(LIBCFLAGS)" \
44         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
45         "MAKE=$(MAKE)" \
46         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
47         "PICFLAG=$(PICFLAG)" \
48         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
49         "SHELL=$(SHELL)" \
50         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
51         "exec_prefix=$(exec_prefix)" \
52         "infodir=$(infodir)" \
53         "libdir=$(libdir)" \
54         "includedir=$(includedir)" \
55         "prefix=$(prefix)" \
56         "tooldir=$(tooldir)" \
57         "gdc_include_dir=$(gdc_include_dir)" \
58         "AR=$(AR)" \
59         "AS=$(AS)" \
60         "LD=$(LD)" \
61         "RANLIB=$(RANLIB)" \
62         "NM=$(NM)" \
63         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
64         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
65         "DESTDIR=$(DESTDIR)" \
66         "WERROR=$(WERROR)"
68 # Subdir rules rely on $(FLAGS_TO_PASS)
69 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
71 include $(top_srcdir)/../multilib.am