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
|
|
|
|
|
|
|
## We don't use `libz.la' because we don't want to conflict with a
|
|
|
|
## system library of that name.
|
1999-05-10 10:05:43 +02:00
|
|
|
toolexeclib_LTLIBRARIES = @target_all@
|
|
|
|
EXTRA_LTLIBRARIES = libzgcj.la
|
1999-05-05 12:04:39 +02:00
|
|
|
|
|
|
|
libzgcj_la_SOURCES = adler32.c compress.c crc32.c deflate.c deflate.h \
|
|
|
|
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
|
|
|
|
|
1999-06-21 17:02:22 +02:00
|
|
|
libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir)
|
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:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
|
|
|
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
|