fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / zlib / Makefile.am
bloba42bb3be7f90c4d56913d589cc36b64935e0d481
1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = cygnus
5 # Multilib support variables.
6 MULTISRCTOP =
7 MULTIBUILDTOP =
8 MULTIDIRS =
9 MULTISUBDIR =
10 MULTIDO = true
11 MULTICLEAN = true
13 ZLIB_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
14 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
15 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
16 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
18 if TARGET_LIBRARY
19 noinst_LTLIBRARIES = libzgcj_convenience.la
20 libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES)
21 else
22 toolexeclib_LIBRARIES = libz.a
23 libz_a_SOURCES = $(ZLIB_SOURCES)
24 endif
26 # Work around what appears to be a GNU make bug handling MAKEFLAGS
27 # values defined in terms of make variables, as is the case for CC and
28 # friends when we are called from the top level Makefile.
29 AM_MAKEFLAGS = \
30         "AR_FLAGS=$(AR_FLAGS)" \
31         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
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         "EXPECT=$(EXPECT)" \
49         "RUNTEST=$(RUNTEST)" \
50         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
51         "exec_prefix=$(exec_prefix)" \
52         "infodir=$(infodir)" \
53         "libdir=$(libdir)" \
54         "prefix=$(prefix)" \
55         "tooldir=$(tooldir)" \
56         "AR=$(AR)" \
57         "AS=$(AS)" \
58         "CC=$(CC)" \
59         "CXX=$(CXX)" \
60         "LD=$(LD)" \
61         "LIBCFLAGS=$(LIBCFLAGS)" \
62         "NM=$(NM)" \
63         "PICFLAG=$(PICFLAG)" \
64         "RANLIB=$(RANLIB)" \
65         "DESTDIR=$(DESTDIR)"
67 # Multilib support.
68 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
69         maintainer-clean-multi
71 all-am: all-multi
72 install-am: install-multi
73 mostlyclean-am: mostlyclean-multi
74 clean-am: clean-multi
75 distclean-am: distclean-multi
76 maintainer-clean-am: maintainer-clean-multi
78 all-multi:
79         : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
80 install-multi:
81         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
82 mostlyclean-multi:
83         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
84 clean-multi:
85         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
86 distclean-multi:
87         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
88 maintainer-clean-multi:
89         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean