diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-26 14:15:05 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-26 14:15:05 +0000 |
commit | 41e6be0dbfb73bfa610c4a62cb2b3f33514dd46b (patch) | |
tree | 419bf5af5475ca11cc989d4c67ec026cfeb18980 /boehm-gc/Makefile.in | |
parent | bfc04c7b1c5c42e6645325bfdfb883afd5efefb9 (diff) | |
download | gcc-41e6be0dbfb73bfa610c4a62cb2b3f33514dd46b.tar.gz |
libtoolized GC library. See ChangeLog for details.
Also a couple bug fixes:
* dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
`weak'.
* misc.c (GC_init_inner): If QUICK_THREADS defined, compute
GC_stackbottom.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/Makefile.in')
-rw-r--r-- | boehm-gc/Makefile.in | 171 |
1 files changed, 99 insertions, 72 deletions
diff --git a/boehm-gc/Makefile.in b/boehm-gc/Makefile.in index 693906ca2cd..250f79a995d 100644 --- a/boehm-gc/Makefile.in +++ b/boehm-gc/Makefile.in @@ -71,11 +71,16 @@ CPP = @CPP@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXINCLUDES = @CXXINCLUDES@ +DLLTOOL = @DLLTOOL@ EXEEXT = @EXEEXT@ INCLUDES = @INCLUDES@ +LD = @LD@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MY_CFLAGS = @MY_CFLAGS@ +NM = @NM@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ VERSION = @VERSION@ @@ -93,12 +98,12 @@ MULTISUBDIR = MULTIDO = true MULTICLEAN = true -tooldir = $(exec_prefix)/$(target_alias) -toollibdir = $(tooldir)/lib$(MULTISUBDIR) +toolexecdir = $(exec_prefix)/$(target_alias) +toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR) -toollib_LIBRARIES = $(target_all) -EXTRA_LIBRARIES = libgcjgc.a -libgcjgc_a_SOURCES = allchblk.c alloc.c blacklst.c checksums.c \ +toolexeclib_LTLIBRARIES = $(target_all) +EXTRA_LTLIBRARIES = libgcjgc.la +libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c \ config.h dbg_mlc.c dyn_load.c finalize.c gc.h gc_alloc.h gc_cpp.h \ gc_hdrs.h gc_mark.h gc_priv.h gc_private.h gc_typed.h headers.c \ irix_threads.c linux_threads.c malloc.c mallocx.c mark.c mark_rts.c \ @@ -107,10 +112,11 @@ quick_threads.c real_malloc.c reclaim.c solaris_pthreads.c \ solaris_threads.c solaris_threads.h stubborn.c typd_mlc.c version.h \ weakpointer.h -libgcjgc_a_LIBADD = @addobjs@ -libgcjgc_a_DEPENDENCIES = @addobjs@ +libgcjgc_la_LIBADD = @addobjs@ +libgcjgc_la_DEPENDENCIES = @addobjs@ +libgcjgc_la_LDFLAGS = -release $(VERSION) -rpath $(toolexeclibdir) -EXTRA_libgcjgc_a_SOURCES = alpha_mach_dep.s mips_sgi_mach_dep.s \ +EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s mips_sgi_mach_dep.s \ mips_ultrix_mach_dep.s rs6000_mach_dep.s sparc_mach_dep.s \ sparc_sunos4_mach_dep.s mach_dep.c ecos.cc @@ -121,12 +127,15 @@ AM_CFLAGS = @BOEHM_GC_CFLAGS@ check_PROGRAMS = gctest gctest_SOURCES = test.c -gctest_LDADD = ./libgcjgc.a +gctest_LDADD = ./libgcjgc.la -all_objs = @addobjs@ $(libgcjgc_a_OBJECTS) +all_objs = @addobjs@ $(libgcjgc_la_OBJECTS) -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(MY_CFLAGS) $(BOEHM_GC_CFLAGS) -LINK = $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@ +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(MY_CFLAGS) $(BOEHM_GC_CFLAGS) + +LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@ # 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 @@ -176,28 +185,30 @@ MAKEOVERRIDES = ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_CLEAN_FILES = -LIBRARIES = $(toollib_LIBRARIES) +LTLIBRARIES = $(toolexeclib_LTLIBRARIES) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ -libgcjgc_a_OBJECTS = allchblk.o alloc.o blacklst.o checksums.o \ -dbg_mlc.o dyn_load.o finalize.o headers.o irix_threads.o \ -linux_threads.o malloc.o mallocx.o mark.o mark_rts.o misc.o new_hblk.o \ -obj_map.o os_dep.o pcr_interface.o ptr_chck.o quick_threads.o \ -real_malloc.o reclaim.o solaris_pthreads.o solaris_threads.o stubborn.o \ -typd_mlc.o +libgcjgc_la_OBJECTS = allchblk.lo alloc.lo blacklst.lo checksums.lo \ +dbg_mlc.lo dyn_load.lo finalize.lo headers.lo irix_threads.lo \ +linux_threads.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo \ +new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo \ +quick_threads.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \ +solaris_threads.lo stubborn.lo typd_mlc.lo check_PROGRAMS = gctest$(EXEEXT) gctest_OBJECTS = test.o -gctest_DEPENDENCIES = ./libgcjgc.a +gctest_DEPENDENCIES = ./libgcjgc.la gctest_LDFLAGS = CXXFLAGS = @CXXFLAGS@ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) DIST_COMMON = README ChangeLog Makefile.am Makefile.in acinclude.m4 \ aclocal.m4 configure configure.in @@ -207,12 +218,12 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best -SOURCES = $(libgcjgc_a_SOURCES) $(EXTRA_libgcjgc_a_SOURCES) $(gctest_SOURCES) -OBJECTS = $(libgcjgc_a_OBJECTS) $(gctest_OBJECTS) +SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES) $(gctest_SOURCES) +OBJECTS = $(libgcjgc_la_OBJECTS) $(gctest_OBJECTS) all: all-redirect .SUFFIXES: -.SUFFIXES: .S .c .cc .o .s +.SUFFIXES: .S .c .cc .lo .o .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile @@ -228,36 +239,29 @@ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) -mostlyclean-toollibLIBRARIES: +mostlyclean-toolexeclibLTLIBRARIES: -clean-toollibLIBRARIES: - -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES) +clean-toolexeclibLTLIBRARIES: + -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) -distclean-toollibLIBRARIES: +distclean-toolexeclibLTLIBRARIES: -maintainer-clean-toollibLIBRARIES: +maintainer-clean-toolexeclibLTLIBRARIES: -install-toollibLIBRARIES: $(toollib_LIBRARIES) +install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(toollibdir) - @list='$(toollib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \ - $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \ - else :; fi; \ - done - @$(POST_INSTALL) - @list='$(toollib_LIBRARIES)'; for p in $$list; do \ + $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) + @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ - echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \ - $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \ + echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \ + $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \ else :; fi; \ done -uninstall-toollibLIBRARIES: +uninstall-toolexeclibLTLIBRARIES: @$(NORMAL_UNINSTALL) - list='$(toollib_LIBRARIES)'; for p in $$list; do \ - rm -f $(DESTDIR)$(toollibdir)/$$p; \ + list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \ done .c.o: @@ -276,10 +280,27 @@ distclean-compile: maintainer-clean-compile: -libgcjgc.a: $(libgcjgc_a_OBJECTS) $(libgcjgc_a_DEPENDENCIES) - -rm -f libgcjgc.a - $(AR) cru libgcjgc.a $(libgcjgc_a_OBJECTS) $(libgcjgc_a_LIBADD) - $(RANLIB) libgcjgc.a +.c.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +.s.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +.S.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + +maintainer-clean-libtool: + +libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES) + $(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS) mostlyclean-checkPROGRAMS: @@ -295,6 +316,8 @@ gctest$(EXEEXT): $(gctest_OBJECTS) $(gctest_DEPENDENCIES) $(LINK) $(gctest_LDFLAGS) $(gctest_OBJECTS) $(gctest_LDADD) $(LIBS) .cc.o: $(CXXCOMPILE) -c $< +.cc.lo: + $(LTCXXCOMPILE) -c $< tags: TAGS @@ -383,23 +406,23 @@ installcheck-am: installcheck: installcheck-am install-info-am: install-info: install-info-am -install-exec-am: +install-exec-am: install-toolexeclibLTLIBRARIES install-exec: install-exec-am -install-data-am: install-toollibLIBRARIES +install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am -uninstall-am: uninstall-toollibLIBRARIES +uninstall-am: uninstall-toolexeclibLTLIBRARIES uninstall: uninstall-am -all-am: Makefile $(LIBRARIES) +all-am: Makefile $(LTLIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: - $(mkinstalldirs) $(DESTDIR)$(toollibdir) + $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) mostlyclean-generic: @@ -411,39 +434,44 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -mostlyclean-am: mostlyclean-toollibLIBRARIES mostlyclean-compile \ - mostlyclean-checkPROGRAMS mostlyclean-tags \ - mostlyclean-generic +mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \ + mostlyclean-libtool mostlyclean-checkPROGRAMS \ + mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am -clean-am: clean-toollibLIBRARIES clean-compile clean-checkPROGRAMS \ - clean-tags clean-generic mostlyclean-am +clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \ + clean-checkPROGRAMS clean-tags clean-generic \ + mostlyclean-am clean: clean-am -distclean-am: distclean-toollibLIBRARIES distclean-compile \ - distclean-checkPROGRAMS distclean-tags \ - distclean-generic clean-am +distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \ + distclean-libtool distclean-checkPROGRAMS \ + distclean-tags distclean-generic clean-am + -rm -f libtool distclean: distclean-am -rm -f config.status -maintainer-clean-am: maintainer-clean-toollibLIBRARIES \ - maintainer-clean-compile maintainer-clean-checkPROGRAMS \ - maintainer-clean-tags maintainer-clean-generic \ - distclean-am +maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \ + maintainer-clean-compile maintainer-clean-libtool \ + maintainer-clean-checkPROGRAMS maintainer-clean-tags \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am -rm -f config.status -.PHONY: mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \ -clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \ -uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \ -distclean-compile clean-compile maintainer-clean-compile \ -mostlyclean-checkPROGRAMS distclean-checkPROGRAMS clean-checkPROGRAMS \ +.PHONY: mostlyclean-toolexeclibLTLIBRARIES \ +distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \ +maintainer-clean-toolexeclibLTLIBRARIES \ +uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile mostlyclean-libtool distclean-libtool \ +clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \ +distclean-checkPROGRAMS clean-checkPROGRAMS \ maintainer-clean-checkPROGRAMS 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 \ @@ -455,8 +483,7 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean $(all_objs) : config.h gc_priv.h gc_hdrs.h gc.h gc_mark.h .s.o: - $(CC) -x assembler-with-cpp $(DEFS) $(INCLUDES) $(CPPFLAGS) $(BOEHM_GC_CFLAGS) \ - $(MY_CFLAGS) -c $< + $(LTCOMPILE) -x assembler-with-cpp -c $< # Multilib support. .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \ |