2000-01-17 20:00:44 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2010-05-04 20:58:11 +02:00
|
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign no-dist
|
2000-01-17 20:00:44 +01:00
|
|
|
|
2007-01-17 20:48:52 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I ../.. -I ../../config
|
|
|
|
|
2000-02-14 22:59:58 +01:00
|
|
|
INCLUDES = $(GCINCS)
|
|
|
|
|
2000-01-17 20:00:44 +01:00
|
|
|
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
|
|
|
|
|
re PR libgcj/13056 (import new libltdl)
2003-12-16 Michael Koch <konqueror@gmx.de>
Fix for PR libgcj/13056.
* libltdl/configure.in,
libltdl/config.h.in: Removed.
* libltdl/configure.ac,
libltdl/config-h.in,
libltdl/install-sh,
libltdl/config.guess,
libltdl/config.sub,
libltdl/missing,
libltdl/mkinstalldirs,
libltdl/ltmain.sh: New files.
* libltdl/Makefile.am,
libltdl/acinclude.m4,
libltdl/aclocal.m4,
libltdl/ltdl.c,
libltdl/ltdl.h,
libltdl/README: Update to versions from libtool 1.5.
libltdl/configure,
* libltdl/Makefile.in: Regenerated.
* java/lang/natRuntime.cc (find_symbol):
Use type 'lt_ptr' instead of 'lt_ptr_t'.
From-SVN: r74711
2003-12-16 22:48:25 +01:00
|
|
|
## Make sure these will be cleaned even when they're not built by
|
|
|
|
## default.
|
|
|
|
CLEANFILES = libltdl.la libltdlc.la
|
|
|
|
|
2000-01-17 20:00:44 +01:00
|
|
|
libltdl_la_SOURCES = ltdl.c
|
cygming.h (TARGET_USE_JCR_SECTION): Enable.
gcc/ChangeLog
* config/i386/cygming.h (TARGET_USE_JCR_SECTION): Enable.
* config/i386/cygwin.h (LIBGCJ_SONAME): Define.
* config/i386/mingw32.h (LIBGCJ_SONAME): Likewise.
libjava/ChangeLog
* configure.host (enable_libgcj_sublibs_default): New variable,
set for Cygwin and MinGW.
* configure.ac (--enable-libgcj-sublibs): New command-line switch.
(BUILD_SUBLIBS): New AM_CONDITIONAL relating to it.
(libgcj_spec_lgcj_override): New variable, define if building sublibs.
(libgcj_spec_lgcj_bc_override): Likewise for when USE_LIBGCJ_BC.
(LIBGCJ_SPEC_LGCJ): New variable to abstract "-lgcj" from specs.
(LIBGCJ_SPEC_LGCJ_BC): Likewise for when USE_LIBGCJ_BC.
(LIBGCJ_SPEC): Use them.
* configure: Regenerate.
* Makefile.am (LOWER_PACKAGE_FILES_LO): New variable.
(ALL_PACKAGE_SOURCE_FILES_LO): Likewise.
(NONCORE_PACKAGE_SOURCE_FILES_LO): Likewise.
(CORE_PACKAGE_SOURCE_FILES_LO): Likewise.
(toolexeclib_LTLIBRARIES): Add libgcj-noncore.la if building sublibs.
(libgcj_noncore_la_LIBADD_SUBOBJECTS): New variable.
(libgcj_la_LIBADD_SUBOBJECTS): Likewise.
(libgcj_la_LDFLAGS_NOUNDEF): Likewise.
(libgij_la_LDFLAGS): Add DLL-related options.
(libgcj_la_LDFLAGS): Use libgcj_la_LDFLAGS_NOUNDEF and
libgcj_la_LIBADD_SUBOBJECTS.
(libgcj_la_DEPENDENCIES): Adjust to match.
(libgcj_noncore_la_SOURCES, libgcj_noncore_la_LDFLAGS,
libgcj_noncore_la_LIBADD, libgcj_noncore_la_DEPENDENCIES,
libgcj_noncore_la_LINK): New automake variables for sublibrary.
(libgcj_tools_la_LDFLAGS): Add DLL-related flags.
(libgcj_tools_la_LIBADD): New variable.
(libjvm_la_LDFLAGS): Add DLL-related flags.
(lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
(libgcj_bc_la_LDFLAGS): Likewise.
(libgij_la_DEPENDENCIES): Add dependency on libgcj-noncore.la when
building sublibs.
(libgcj_tools_la_DEPENDENCIES, libjvm_la_DEPENDENCIES,
lib_gnu_awt_xlib_la_DEPENDENCIES, jv_convert_DEPENDENCIES,
gcj_dbtool_DEPENDENCIES, gc_analyze_DEPENDENCIES, ecjx_DEPENDENCIES):
Likewise.
* Makefile.in: Regenerate.
* sysdep/i386/backtrace.h (MAIN_FUNC): New #define for main function,
set appropriately for Cygwin on that platform or to "main" elsewhere.
(fallback_backtrace): Use it to limit stack unwind.
libjava/libltdl/ChangeLog:
* ltdl.h (LT_SCOPE): Change conditional to avoid breaking
auto-export during libgcj DLL linking.
* Makefile.am (libltdl_la_LDFLAGS): Remove -bindir switch.
* Makefile.in: Regenerate.
From-SVN: r152041
2009-09-22 20:58:13 +02:00
|
|
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:1:1
|
2000-01-17 20:00:44 +01:00
|
|
|
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
|
|
|
|
|
re PR libgcj/13056 (import new libltdl)
2003-12-16 Michael Koch <konqueror@gmx.de>
Fix for PR libgcj/13056.
* libltdl/configure.in,
libltdl/config.h.in: Removed.
* libltdl/configure.ac,
libltdl/config-h.in,
libltdl/install-sh,
libltdl/config.guess,
libltdl/config.sub,
libltdl/missing,
libltdl/mkinstalldirs,
libltdl/ltmain.sh: New files.
* libltdl/Makefile.am,
libltdl/acinclude.m4,
libltdl/aclocal.m4,
libltdl/ltdl.c,
libltdl/ltdl.h,
libltdl/README: Update to versions from libtool 1.5.
libltdl/configure,
* libltdl/Makefile.in: Regenerated.
* java/lang/natRuntime.cc (find_symbol):
Use type 'lt_ptr' instead of 'lt_ptr_t'.
From-SVN: r74711
2003-12-16 22:48:25 +01:00
|
|
|
$(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
|
2000-01-17 20:00:44 +01:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
|
2006-03-28 21:02:25 +02:00
|
|
|
## These are installed as a subdirectory of pkgdatadir so that
|
|
|
|
## libtoolize --ltdl can find them later:
|
|
|
|
ltdldatadir = $(datadir)/libtool/libltdl
|
|
|
|
ltdldatafiles = COPYING.LIB README acinclude.m4 aclocal.m4 \
|
|
|
|
Makefile.am Makefile.in configure.ac configure \
|
|
|
|
config-h.in config.guess config.sub \
|
|
|
|
install-sh missing ltmain.sh \
|
|
|
|
ltdl.c ltdl.h
|
|
|
|
|
2006-06-05 17:08:56 +02:00
|
|
|
## GCJ LOCAL: fix install buglet. See PR 27818
|
|
|
|
if INSTALL_LTDL
|
2006-03-28 21:02:25 +02:00
|
|
|
## To avoid spurious reconfiguration when the user installs these files
|
|
|
|
## with libtoolize, we have to preserve their timestamps carefully:
|
|
|
|
install-data-local:
|
|
|
|
-rm -rf $(DESTDIR)$(ltdldatadir)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
|
|
|
|
( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
|
|
|
|
| ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
|
2006-06-05 17:08:56 +02:00
|
|
|
endif
|