mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-04 09:14:04 +08:00
77de5d85d0
* ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): New macro. * config.h.in, configure: Rebuilt. * acconfig.h (HAVE_BOEHM_GC): Define. * configure.in: Handle --enable-java-gc. From-SVN: r31971
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
|
|
|
INCLUDES = $(GCINCS)
|
|
|
|
if INSTALL_LTDL
|
|
include_HEADERS = ltdl.h
|
|
lib_LTLIBRARIES = libltdl.la
|
|
else
|
|
noinst_HEADERS = ltdl.h
|
|
endif
|
|
|
|
if CONVENIENCE_LTDL
|
|
noinst_LTLIBRARIES = libltdlc.la
|
|
endif
|
|
|
|
libltdl_la_SOURCES = ltdl.c
|
|
libltdl_la_LDFLAGS = -version-info 1:2:1
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
|
|
|
libltdlc_la_SOURCES = ltdl.c
|
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
|
|
|
## Because we do not have automatic dependency tracking:
|
|
ltdl.lo: ltdl.h config.h
|
|
|
|
$(OBJECTS): libtool
|
|
libtool: $(LIBTOOL_DEPS)
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
## This allows us to install libltdl without using ln and without creating
|
|
## a world writeable directory.
|
|
## FIXME: Remove this rule once automake can do this properly by itself.
|
|
local-install-files: $(DISTFILES)
|
|
-rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
|
|
else \
|
|
test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
|
|
|| cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \
|
|
fi; \
|
|
done
|