1 ## Process this file with automake to create Makefile.in.
3 AUTOMAKE_OPTIONS = cygnus
5 # Multilib support variables.
13 ## Install a library built with a cross compiler in tooldir, not
16 toolexeclibdir = $(libdir)$(MULTISUBDIR)
18 toolexecdir = $(exec_prefix)/$(target_alias)
19 toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
22 ZLIB_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
23 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
24 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
25 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
28 ## We don't use `libz.la' because we don't want to conflict with a
29 ## system library of that name.
30 toolexeclib_LTLIBRARIES = @target_all@
31 EXTRA_LTLIBRARIES = libzgcj.la
32 libzgcj_la_SOURCES = $(ZLIB_SOURCES)
33 libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir)
35 toolexeclib_LIBRARIES = libz.a
36 libz_a_SOURCES = $(ZLIB_SOURCES)
39 # Work around what appears to be a GNU make bug handling MAKEFLAGS
40 # values defined in terms of make variables, as is the case for CC and
41 # friends when we are called from the top level Makefile.
43 "AR_FLAGS=$(AR_FLAGS)" \
44 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
46 "CXXFLAGS=$(CXXFLAGS)" \
47 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
48 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
49 "INSTALL=$(INSTALL)" \
50 "INSTALL_DATA=$(INSTALL_DATA)" \
51 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
52 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
53 "LDFLAGS=$(LDFLAGS)" \
54 "LIBCFLAGS=$(LIBCFLAGS)" \
55 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
57 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
58 "PICFLAG=$(PICFLAG)" \
59 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
62 "RUNTEST=$(RUNTEST)" \
63 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
64 "exec_prefix=$(exec_prefix)" \
65 "infodir=$(infodir)" \
68 "tooldir=$(tooldir)" \
74 "LIBCFLAGS=$(LIBCFLAGS)" \
76 "PICFLAG=$(PICFLAG)" \
81 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
82 maintainer-clean-multi
85 install-am: install-multi
86 mostlyclean-am: mostlyclean-multi
88 distclean-am: distclean-multi
89 maintainer-clean-am: maintainer-clean-multi
92 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
94 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
96 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
98 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
100 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
101 maintainer-clean-multi:
102 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean