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 ## We don't use `libz.la' because we don't want to conflict with a
23 ## system library of that name.
24 toolexeclib_LTLIBRARIES = @target_all@
25 EXTRA_LTLIBRARIES = libzgcj.la
27 libzgcj_la_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
28 gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
29 inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
30 trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
32 libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir)
34 # Work around what appears to be a GNU make bug handling MAKEFLAGS
35 # values defined in terms of make variables, as is the case for CC and
36 # friends when we are called from the top level Makefile.
38 "AR_FLAGS=$(AR_FLAGS)" \
39 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
41 "CXXFLAGS=$(CXXFLAGS)" \
42 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
43 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
44 "INSTALL=$(INSTALL)" \
45 "INSTALL_DATA=$(INSTALL_DATA)" \
46 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
47 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
48 "LDFLAGS=$(LDFLAGS)" \
49 "LIBCFLAGS=$(LIBCFLAGS)" \
50 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
52 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
53 "PICFLAG=$(PICFLAG)" \
54 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
57 "RUNTEST=$(RUNTEST)" \
58 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
59 "exec_prefix=$(exec_prefix)" \
60 "infodir=$(infodir)" \
63 "tooldir=$(tooldir)" \
69 "LIBCFLAGS=$(LIBCFLAGS)" \
71 "PICFLAG=$(PICFLAG)" \
76 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
77 maintainer-clean-multi
80 install-am: install-multi
81 mostlyclean-am: mostlyclean-multi
83 distclean-am: distclean-multi
84 maintainer-clean-am: maintainer-clean-multi
87 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
89 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
91 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
93 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
95 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
96 maintainer-clean-multi:
97 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean