1999-05-05 12:04:39 +02:00
|
|
|
## Process this file with automake to create Makefile.in.
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
# Multilib support variables.
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
|
|
|
|
1999-06-21 15:03:47 +02:00
|
|
|
## Install a library built with a cross compiler in tooldir, not
|
|
|
|
## libdir.
|
|
|
|
if USE_LIBDIR
|
1999-08-10 07:30:10 +02:00
|
|
|
toolexeclibdir = $(libdir)$(MULTISUBDIR)
|
1999-06-21 15:03:47 +02:00
|
|
|
else
|
1999-05-05 12:04:39 +02:00
|
|
|
toolexecdir = $(exec_prefix)/$(target_alias)
|
|
|
|
toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
|
1999-06-21 15:03:47 +02:00
|
|
|
endif
|
1999-05-05 12:04:39 +02:00
|
|
|
|
2000-09-03 21:54:20 +02:00
|
|
|
ZLIB_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
|
1999-05-05 12:04:39 +02:00
|
|
|
gzio.c infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h \
|
|
|
|
inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h trees.c \
|
|
|
|
trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h
|
|
|
|
|
2000-09-03 21:54:20 +02:00
|
|
|
if TARGET_LIBRARY
|
2002-03-17 01:35:21 +01:00
|
|
|
noinst_LTLIBRARIES = libzgcj_convenience.la
|
|
|
|
libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES)
|
2000-09-03 21:54:20 +02:00
|
|
|
else
|
|
|
|
toolexeclib_LIBRARIES = libz.a
|
|
|
|
libz_a_SOURCES = $(ZLIB_SOURCES)
|
|
|
|
endif
|
1999-07-19 21:11:54 +02:00
|
|
|
|
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
|
|
|
# values defined in terms of make variables, as is the case for CC and
|
|
|
|
# friends when we are called from the top level Makefile.
|
|
|
|
AM_MAKEFLAGS = \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|
|
|
"MAKE=$(MAKE)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"EXPECT=$(EXPECT)" \
|
|
|
|
"RUNTEST=$(RUNTEST)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"tooldir=$(tooldir)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CXX=$(CXX)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
|
|
|
# Multilib support.
|
|
|
|
.PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
|
|
|
|
maintainer-clean-multi
|
|
|
|
|
|
|
|
all-am: all-multi
|
|
|
|
install-am: install-multi
|
|
|
|
mostlyclean-am: mostlyclean-multi
|
|
|
|
clean-am: clean-multi
|
|
|
|
distclean-am: distclean-multi
|
|
|
|
maintainer-clean-am: maintainer-clean-multi
|
|
|
|
|
|
|
|
all-multi:
|
2002-09-23 05:52:55 +02:00
|
|
|
: $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
1999-07-19 21:11:54 +02:00
|
|
|
install-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
|
|
|
mostlyclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
|
|
|
clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
|
|
|
distclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
|
|
|
maintainer-clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|