2013-09-03 Richard Biener <rguenther@suse.de>
[official-gcc.git] / zlib / Makefile.am
bloba9c42cb2cf5d82b055ae2ec89c3932b1a172f92b
1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = 1.8 cygnus
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 = libzgcj_convenience.la
15 libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES)
16 else
17 toolexeclib_LIBRARIES = libz.a
18 libz_a_SOURCES = $(ZLIB_SOURCES)
19 libz_a_CFLAGS = $(AM_CFLAGS)
20 endif
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         "AR_FLAGS=$(AR_FLAGS)" \
27         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
28         "CFLAGS=$(CFLAGS)" \
29         "CXXFLAGS=$(CXXFLAGS)" \
30         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
31         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
32         "INSTALL=$(INSTALL)" \
33         "INSTALL_DATA=$(INSTALL_DATA)" \
34         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
35         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
36         "LDFLAGS=$(LDFLAGS)" \
37         "LIBCFLAGS=$(LIBCFLAGS)" \
38         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
39         "MAKE=$(MAKE)" \
40         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
41         "PICFLAG=$(PICFLAG)" \
42         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
43         "SHELL=$(SHELL)" \
44         "EXPECT=$(EXPECT)" \
45         "RUNTEST=$(RUNTEST)" \
46         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
47         "exec_prefix=$(exec_prefix)" \
48         "infodir=$(infodir)" \
49         "libdir=$(libdir)" \
50         "prefix=$(prefix)" \
51         "tooldir=$(tooldir)" \
52         "AR=$(AR)" \
53         "AS=$(AS)" \
54         "CC=$(CC)" \
55         "CXX=$(CXX)" \
56         "LD=$(LD)" \
57         "LIBCFLAGS=$(LIBCFLAGS)" \
58         "NM=$(NM)" \
59         "PICFLAG=$(PICFLAG)" \
60         "RANLIB=$(RANLIB)" \
61         "DESTDIR=$(DESTDIR)"