tree-optimization/113431 - wrong dependence with invariant load
[official-gcc.git] / zlib / Makefile.am
blob3098677f893e07e615dfec4c0ff2f19ba6ce26b9
1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = foreign
5 ACLOCAL_AMFLAGS = -I .. -I ../config
7 ZLIB_SOURCES = adler32.c compress.c crc32.c crc32.h deflate.c \
8 deflate.h gzguts.h gzread.c gzclose.c gzwrite.c gzlib.c \
9 infback.c inffast.c inffast.h inffixed.h inflate.c \
10 inflate.h inftrees.c inftrees.h trees.c trees.h uncompr.c zconf.h \
11 zconf.h.in zlib.h zutil.c zutil.h
13 if TARGET_LIBRARY
14 noinst_LTLIBRARIES = libz_convenience.la
15 libz_convenience_la_SOURCES = $(ZLIB_SOURCES)
16 else
17 toolexeclib_LIBRARIES = libz.a
18 libz_a_SOURCES = $(ZLIB_SOURCES)
19 libz_a_CFLAGS = $(AM_CFLAGS) $(PICFLAG)
20 endif
22 AM_CFLAGS = $(CET_FLAGS)
24 # Work around what appears to be a GNU make bug handling MAKEFLAGS
25 # values defined in terms of make variables, as is the case for CC and
26 # friends when we are called from the top level Makefile.
27 AM_MAKEFLAGS = \
28         "AR_FLAGS=$(AR_FLAGS)" \
29         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
30         "CFLAGS=$(CFLAGS)" \
31         "CXXFLAGS=$(CXXFLAGS)" \
32         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
33         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
34         "INSTALL=$(INSTALL)" \
35         "INSTALL_DATA=$(INSTALL_DATA)" \
36         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
37         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
38         "LDFLAGS=$(LDFLAGS)" \
39         "LIBCFLAGS=$(LIBCFLAGS)" \
40         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
41         "MAKE=$(MAKE)" \
42         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
43         "PICFLAG=$(PICFLAG)" \
44         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
45         "SHELL=$(SHELL)" \
46         "EXPECT=$(EXPECT)" \
47         "RUNTEST=$(RUNTEST)" \
48         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
49         "exec_prefix=$(exec_prefix)" \
50         "infodir=$(infodir)" \
51         "libdir=$(libdir)" \
52         "prefix=$(prefix)" \
53         "tooldir=$(tooldir)" \
54         "AR=$(AR)" \
55         "AS=$(AS)" \
56         "CC=$(CC)" \
57         "CXX=$(CXX)" \
58         "LD=$(LD)" \
59         "LIBCFLAGS=$(LIBCFLAGS)" \
60         "NM=$(NM)" \
61         "PICFLAG=$(PICFLAG)" \
62         "RANLIB=$(RANLIB)" \
63         "DESTDIR=$(DESTDIR)"
65 include $(top_srcdir)/../multilib.am