PR libgcj/17623
[official-gcc.git] / zlib / Makefile.am
blob8551d874c0265fa1009c56845dc4ba4c545b1012
1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = 1.8 cygnus
5 ZLIB_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
6 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
7 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
8 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
10 if TARGET_LIBRARY
11 noinst_LTLIBRARIES = libzgcj_convenience.la
12 libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES)
13 else
14 toolexeclib_LIBRARIES = libz.a
15 libz_a_SOURCES = $(ZLIB_SOURCES)
16 libz_a_CFLAGS = $(AM_CFLAGS)
17 endif
19 # Work around what appears to be a GNU make bug handling MAKEFLAGS
20 # values defined in terms of make variables, as is the case for CC and
21 # friends when we are called from the top level Makefile.
22 AM_MAKEFLAGS = \
23         "AR_FLAGS=$(AR_FLAGS)" \
24         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
25         "CFLAGS=$(CFLAGS)" \
26         "CXXFLAGS=$(CXXFLAGS)" \
27         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
28         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
29         "INSTALL=$(INSTALL)" \
30         "INSTALL_DATA=$(INSTALL_DATA)" \
31         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
32         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
33         "LDFLAGS=$(LDFLAGS)" \
34         "LIBCFLAGS=$(LIBCFLAGS)" \
35         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
36         "MAKE=$(MAKE)" \
37         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
38         "PICFLAG=$(PICFLAG)" \
39         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
40         "SHELL=$(SHELL)" \
41         "EXPECT=$(EXPECT)" \
42         "RUNTEST=$(RUNTEST)" \
43         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
44         "exec_prefix=$(exec_prefix)" \
45         "infodir=$(infodir)" \
46         "libdir=$(libdir)" \
47         "prefix=$(prefix)" \
48         "tooldir=$(tooldir)" \
49         "AR=$(AR)" \
50         "AS=$(AS)" \
51         "CC=$(CC)" \
52         "CXX=$(CXX)" \
53         "LD=$(LD)" \
54         "LIBCFLAGS=$(LIBCFLAGS)" \
55         "NM=$(NM)" \
56         "PICFLAG=$(PICFLAG)" \
57         "RANLIB=$(RANLIB)" \
58         "DESTDIR=$(DESTDIR)"