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
14 noinst_LTLIBRARIES = libz_convenience.la
15 libz_convenience_la_SOURCES = $(ZLIB_SOURCES)
17 toolexeclib_LIBRARIES = libz.a
18 libz_a_SOURCES = $(ZLIB_SOURCES)
19 libz_a_CFLAGS = $(AM_CFLAGS) $(PICFLAG)
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.
26 "AR_FLAGS=$(AR_FLAGS)" \
27 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
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)" \
40 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
41 "PICFLAG=$(PICFLAG)" \
42 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
45 "RUNTEST=$(RUNTEST)" \
46 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
47 "exec_prefix=$(exec_prefix)" \
48 "infodir=$(infodir)" \
51 "tooldir=$(tooldir)" \
57 "LIBCFLAGS=$(LIBCFLAGS)" \
59 "PICFLAG=$(PICFLAG)" \
63 include $(top_srcdir)/../multilib.am