diff options
author | Bryce McKinlay <bryce@waitaki.otago.ac.nz> | 2002-03-17 00:35:21 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2002-03-17 00:35:21 +0000 |
commit | ce3b24a73a8411d262bab9c8ea81a3e1fc6fe110 (patch) | |
tree | 4a1b8a8dce551af5a22e374180cfc27a991b3dfc /zlib | |
parent | cfb773f9109b45c452c5a33602b3c2b141737caa (diff) | |
download | gcc-ce3b24a73a8411d262bab9c8ea81a3e1fc6fe110.zip gcc-ce3b24a73a8411d262bab9c8ea81a3e1fc6fe110.tar.gz gcc-ce3b24a73a8411d262bab9c8ea81a3e1fc6fe110.tar.bz2 |
Makefile.am: Make target library a convenience library.
zlib:
* Makefile.am: Make target library a convenience library.
* Makefile.in: Rebuilt.
libffi:
* Makefile.am: libfficonvenience -> libffi_convenience.
* Makefile.in: Rebuilt.
boehm-gc:
* Makefile.am: Make a convenience library.
* Makefile.in: Rebuilt.
libjava:
Build a single libgcj.so, without separate gc and zlib libraries.
* configure.in: Use convenience libraries for boehm-gc and zlib. Set
SYS_ZLIBS if system zlib is used.
* configure: Rebuilt.
* Makefile.am: Use boehm-gc and zlib convenience libraries.
* Makefile.in: Rebuilt.
* libtool-version: Increment .so version number.
From-SVN: r50900
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/Makefile.am | 8 | ||||
-rw-r--r-- | zlib/Makefile.in | 119 |
2 files changed, 48 insertions, 79 deletions
diff --git a/zlib/Makefile.am b/zlib/Makefile.am index 80de4ef..ee8288f 100644 --- a/zlib/Makefile.am +++ b/zlib/Makefile.am @@ -25,12 +25,8 @@ 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 if TARGET_LIBRARY -## We don't use `libz.la' because we don't want to conflict with a -## system library of that name. -toolexeclib_LTLIBRARIES = @target_all@ -EXTRA_LTLIBRARIES = libzgcj.la -libzgcj_la_SOURCES = $(ZLIB_SOURCES) -libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir) +noinst_LTLIBRARIES = libzgcj_convenience.la +libzgcj_convenience_la_SOURCES = $(ZLIB_SOURCES) else toolexeclib_LIBRARIES = libz.a libz_a_SOURCES = $(ZLIB_SOURCES) diff --git a/zlib/Makefile.in b/zlib/Makefile.in index 9f4872a..775af17 100644 --- a/zlib/Makefile.in +++ b/zlib/Makefile.in @@ -96,12 +96,9 @@ MULTIDIRS = MULTISUBDIR = MULTIDO = true MULTICLEAN = true -@USE_LIBDIR_TRUE@toolexeclibdir = \ -@USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR) -@USE_LIBDIR_FALSE@toolexeclibdir = \ -@USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR) -@USE_LIBDIR_FALSE@toolexecdir = \ -@USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias) +@USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR) +@USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR) +@USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias) ZLIB_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 \ @@ -109,18 +106,13 @@ 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 -@TARGET_LIBRARY_TRUE@toolexeclib_LTLIBRARIES = \ -@TARGET_LIBRARY_TRUE@@target_all@ -@TARGET_LIBRARY_TRUE@EXTRA_LTLIBRARIES = \ -@TARGET_LIBRARY_TRUE@libzgcj.la -@TARGET_LIBRARY_TRUE@libzgcj_la_SOURCES = \ -@TARGET_LIBRARY_TRUE@$(ZLIB_SOURCES) -@TARGET_LIBRARY_TRUE@libzgcj_la_LDFLAGS = \ -@TARGET_LIBRARY_TRUE@-version-info 0:0:0 -rpath $(toolexeclibdir) -@TARGET_LIBRARY_FALSE@toolexeclib_LIBRARIES = \ -@TARGET_LIBRARY_FALSE@libz.a -@TARGET_LIBRARY_FALSE@libz_a_SOURCES = \ -@TARGET_LIBRARY_FALSE@$(ZLIB_SOURCES) +# toolexeclib_LTLIBRARIES = @target_all@ +# EXTRA_LTLIBRARIES = libzgcj.la +@TARGET_LIBRARY_TRUE@noinst_LTLIBRARIES = @TARGET_LIBRARY_TRUE@libzgcj_convenience.la +@TARGET_LIBRARY_TRUE@libzgcj_convenience_la_SOURCES = @TARGET_LIBRARY_TRUE@$(ZLIB_SOURCES) +# libzgcj_la_LDFLAGS = -version-info 0:0:0 -rpath $(toolexeclibdir) +@TARGET_LIBRARY_FALSE@toolexeclib_LIBRARIES = @TARGET_LIBRARY_FALSE@libz.a +@TARGET_LIBRARY_FALSE@libz_a_SOURCES = @TARGET_LIBRARY_FALSE@$(ZLIB_SOURCES) # 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 @@ -181,13 +173,15 @@ libz_a_LIBADD = @TARGET_LIBRARY_FALSE@inftrees.$(OBJEXT) infutil.$(OBJEXT) \ @TARGET_LIBRARY_FALSE@trees.$(OBJEXT) uncompr.$(OBJEXT) zutil.$(OBJEXT) AR = ar -LTLIBRARIES = $(toolexeclib_LTLIBRARIES) - -libzgcj_la_LIBADD = -@TARGET_LIBRARY_TRUE@libzgcj_la_OBJECTS = adler32.lo compress.lo \ -@TARGET_LIBRARY_TRUE@crc32.lo deflate.lo gzio.lo infblock.lo \ -@TARGET_LIBRARY_TRUE@infcodes.lo inffast.lo inflate.lo inftrees.lo \ -@TARGET_LIBRARY_TRUE@infutil.lo trees.lo uncompr.lo zutil.lo +LTLIBRARIES = $(noinst_LTLIBRARIES) + +libzgcj_convenience_la_LDFLAGS = +libzgcj_convenience_la_LIBADD = +@TARGET_LIBRARY_TRUE@libzgcj_convenience_la_OBJECTS = adler32.lo \ +@TARGET_LIBRARY_TRUE@compress.lo crc32.lo deflate.lo gzio.lo \ +@TARGET_LIBRARY_TRUE@infblock.lo infcodes.lo inffast.lo inflate.lo \ +@TARGET_LIBRARY_TRUE@inftrees.lo infutil.lo trees.lo uncompr.lo \ +@TARGET_LIBRARY_TRUE@zutil.lo CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -199,10 +193,10 @@ aclocal.m4 configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best -SOURCES = $(libz_a_SOURCES) $(libzgcj_la_SOURCES) -OBJECTS = $(libz_a_OBJECTS) $(libzgcj_la_OBJECTS) +SOURCES = $(libz_a_SOURCES) $(libzgcj_convenience_la_SOURCES) +OBJECTS = $(libz_a_OBJECTS) $(libzgcj_convenience_la_OBJECTS) all: all-redirect .SUFFIXES: @@ -303,33 +297,17 @@ libz.a: $(libz_a_OBJECTS) $(libz_a_DEPENDENCIES) $(AR) cru libz.a $(libz_a_OBJECTS) $(libz_a_LIBADD) $(RANLIB) libz.a -mostlyclean-toolexeclibLTLIBRARIES: - -clean-toolexeclibLTLIBRARIES: - -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) - -distclean-toolexeclibLTLIBRARIES: +mostlyclean-noinstLTLIBRARIES: -maintainer-clean-toolexeclibLTLIBRARIES: +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) -install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) - @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \ - $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \ - else :; fi; \ - done +distclean-noinstLTLIBRARIES: -uninstall-toolexeclibLTLIBRARIES: - @$(NORMAL_UNINSTALL) - list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \ - done +maintainer-clean-noinstLTLIBRARIES: -libzgcj.la: $(libzgcj_la_OBJECTS) $(libzgcj_la_DEPENDENCIES) - $(LINK) $(libzgcj_la_LDFLAGS) $(libzgcj_la_OBJECTS) $(libzgcj_la_LIBADD) $(LIBS) +libzgcj_convenience.la: $(libzgcj_convenience_la_OBJECTS) $(libzgcj_convenience_la_DEPENDENCIES) + $(LINK) $(libzgcj_convenience_la_LDFLAGS) $(libzgcj_convenience_la_OBJECTS) $(libzgcj_convenience_la_LIBADD) $(LIBS) tags: TAGS @@ -401,7 +379,7 @@ distdir: $(DISTFILES) @for file in $(DISTFILES); do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -418,8 +396,7 @@ installcheck-am: installcheck: installcheck-am install-info-am: install-info: install-info-am -install-exec-am: install-toolexeclibLIBRARIES \ - install-toolexeclibLTLIBRARIES +install-exec-am: install-toolexeclibLIBRARIES install-exec: install-exec-am install-data-am: @@ -428,16 +405,14 @@ install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am -uninstall-am: uninstall-toolexeclibLIBRARIES \ - uninstall-toolexeclibLTLIBRARIES +uninstall-am: uninstall-toolexeclibLIBRARIES uninstall: uninstall-am all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: - $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \ - $(DESTDIR)$(toolexeclibdir) + $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) mostlyclean-generic: @@ -450,19 +425,19 @@ distclean-generic: maintainer-clean-generic: mostlyclean-am: mostlyclean-toolexeclibLIBRARIES mostlyclean-compile \ - mostlyclean-libtool mostlyclean-toolexeclibLTLIBRARIES \ + mostlyclean-libtool mostlyclean-noinstLTLIBRARIES \ mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-toolexeclibLIBRARIES clean-compile clean-libtool \ - clean-toolexeclibLTLIBRARIES clean-tags clean-generic \ + clean-noinstLTLIBRARIES clean-tags clean-generic \ mostlyclean-am clean: clean-am distclean-am: distclean-toolexeclibLIBRARIES distclean-compile \ - distclean-libtool distclean-toolexeclibLTLIBRARIES \ + distclean-libtool distclean-noinstLTLIBRARIES \ distclean-tags distclean-generic clean-am -rm -f libtool @@ -471,7 +446,7 @@ distclean: distclean-am maintainer-clean-am: maintainer-clean-toolexeclibLIBRARIES \ maintainer-clean-compile maintainer-clean-libtool \ - maintainer-clean-toolexeclibLTLIBRARIES \ + maintainer-clean-noinstLTLIBRARIES \ maintainer-clean-tags maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @@ -485,17 +460,15 @@ clean-toolexeclibLIBRARIES maintainer-clean-toolexeclibLIBRARIES \ uninstall-toolexeclibLIBRARIES install-toolexeclibLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile mostlyclean-libtool distclean-libtool \ -clean-libtool maintainer-clean-libtool \ -mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \ -clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \ -uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES tags \ -mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ -distdir info-am info dvi-am dvi check check-am installcheck-am \ -installcheck install-info-am install-info install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean +clean-libtool maintainer-clean-libtool mostlyclean-noinstLTLIBRARIES \ +distclean-noinstLTLIBRARIES clean-noinstLTLIBRARIES \ +maintainer-clean-noinstLTLIBRARIES tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ +check-am installcheck-am installcheck install-info-am install-info \ +install-exec-am install-exec install-data-am install-data install-am \ +install uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Multilib support. |