1999-03-20 08:27:33 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
1997-04-02 02:29:23 +08:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = gnits
|
|
|
|
|
1999-03-17 00:54:48 +08:00
|
|
|
TESTS = cdemo-static.test cdemo-make.test cdemo-exec.test \
|
|
|
|
demo-static.test demo-make.test demo-exec.test \
|
1999-03-08 07:28:05 +08:00
|
|
|
demo-inst.test demo-unst.test \
|
2001-04-06 07:09:38 +08:00
|
|
|
depdemo-static.test depdemo-make.test \
|
2001-04-01 07:51:10 +08:00
|
|
|
depdemo-exec.test depdemo-inst.test depdemo-unst.test \
|
1999-01-21 11:50:07 +08:00
|
|
|
mdemo-static.test mdemo-make.test mdemo-exec.test \
|
|
|
|
mdemo-inst.test mdemo-unst.test \
|
1999-03-17 00:54:48 +08:00
|
|
|
cdemo-conf.test cdemo-make.test cdemo-exec.test \
|
1999-01-21 11:50:07 +08:00
|
|
|
demo-conf.test demo-make.test demo-exec.test \
|
1999-04-01 23:34:13 +08:00
|
|
|
demo-inst.test demo-unst.test deplibs.test \
|
2001-04-06 07:09:38 +08:00
|
|
|
depdemo-conf.test depdemo-make.test \
|
2001-04-01 07:51:10 +08:00
|
|
|
depdemo-exec.test depdemo-inst.test depdemo-unst.test \
|
1998-11-18 15:29:36 +08:00
|
|
|
mdemo-conf.test mdemo-make.test mdemo-exec.test \
|
1999-04-05 20:32:21 +08:00
|
|
|
mdemo-inst.test mdemo-unst.test dryrun.test \
|
1999-03-11 02:28:49 +08:00
|
|
|
demo-nofast.test demo-make.test demo-exec.test \
|
|
|
|
demo-inst.test demo-unst.test \
|
1999-07-17 17:00:53 +08:00
|
|
|
demo-pic.test demo-make.test demo-exec.test \
|
|
|
|
demo-nopic.test demo-make.test demo-exec.test \
|
2001-04-06 07:09:38 +08:00
|
|
|
depdemo-nofast.test depdemo-make.test \
|
2001-04-01 07:51:10 +08:00
|
|
|
depdemo-exec.test depdemo-inst.test depdemo-unst.test \
|
1999-03-17 00:54:48 +08:00
|
|
|
cdemo-shared.test cdemo-make.test cdemo-exec.test \
|
1999-03-11 02:28:49 +08:00
|
|
|
demo-shared.test demo-make.test demo-exec.test demo-inst.test \
|
1999-03-20 00:54:29 +08:00
|
|
|
hardcode.test build-relink.test noinst-link.test demo-unst.test \
|
2001-04-06 07:09:38 +08:00
|
|
|
depdemo-shared.test depdemo-make.test \
|
2001-04-01 07:51:10 +08:00
|
|
|
depdemo-exec.test depdemo-inst.test build-relink2.test \
|
|
|
|
depdemo-unst.test \
|
1999-01-21 11:50:07 +08:00
|
|
|
mdemo-shared.test mdemo-make.test mdemo-exec.test \
|
|
|
|
mdemo-inst.test mdemo-unst.test \
|
1999-03-17 00:54:48 +08:00
|
|
|
assign.test link.test link-2.test nomode.test \
|
1998-03-06 00:23:43 +08:00
|
|
|
quote.test sh.test suffix.test
|
1997-04-02 02:29:23 +08:00
|
|
|
|
* merged my inter-library dependencies code from the ILD branch:
* NEWS: inter-library dependencies are now supported
* configure.in: add the depdemo subdirectory
* depdemo/*: new demo to demonstrate inter-library dependencies
* tests/depdemo*: new tests for depdemo
* ltconfig.in: added hardcode_into_libs (whether library paths
should be hardcoded into the libraries),
it currently defaults to 'no'
* ltmain.in: new internal 'relink' mode to relink libraries
on platforms with hardcode_into_libs=yes, save command line
arguments in libtool_args, accept relative -L directories,
ignore -lm on BeOS and Cygwin, always ignore -lc,
handle -l, -L and .la arguments later, always make the library
installation directory (-rpath) absolute, in relink mode don't
delete the not-relinked library and exit immediately after relinking,
try to find already-installed libtool libraries that were specified
using -l, support hardcoding of library paths into libraries too,
export shlibpath before linking libraries, and a lot of other
big changes that I don't want to describe here... please read
the source.
* merged Gary's Win32 code from the ILD branch:
* NEWS: Win32 DLLs are now supported
* TODO: removed .a library namespace clash for win32. It is
now resolved.
* ltconfig.in (cygwin, library_names_spec): removed $libname.a.
Creating a dll with libtool no longer creates an import library.
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library
in a directory which has no libs of its own.
* doc/libtool.texi (old_archive_from_expsyms_cmds,
extract_expsyms_cmds): documented these new variables.
* ltconfig.in (extract_expsyms_cmds): New variable. Commands to
extract the exported symbol list from a dll.
(old_archive_from_expsyms_cmds): New variable. Commands to build
an old archive from the extracted expsyms list.
* ltmain.in: run the cmds in extract_expsyms_cmds and
old_archive_from_expsyms_cmds as necessary.
* ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
required.
* ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
sure whether win32 honours the runpath at all when searching for
a dll to load! Anyway, when set to yes this prevents a gratuitous
warning.
* ltmain.in (deplib): The cygwin environment doesn't actually have
-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
1999-03-19 05:57:08 +08:00
|
|
|
demo-conf.test: $(top_builddir)/libtool
|
1999-01-06 02:15:22 +08:00
|
|
|
|
|
|
|
$(top_builddir)/libtool:
|
|
|
|
cd $(top_builddir) && $(MAKE) all
|
|
|
|
|
* libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests
that involve linking
* Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto
* tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set
(LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
1999-04-02 14:22:10 +08:00
|
|
|
# We should export these variables when we run ltconfig.
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPPLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
|
1998-01-26 03:35:11 +08:00
|
|
|
# Be sure to reexport important environment variables.
|
2001-04-25 01:13:01 +08:00
|
|
|
TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
|
|
|
|
CPPFLAGS="$(CPPFLAGS)" LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
|
|
|
|
LIBS="$(LIBS)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
|
2000-01-20 04:34:37 +08:00
|
|
|
OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)"
|
1998-01-26 03:35:11 +08:00
|
|
|
|
1998-03-09 13:34:02 +08:00
|
|
|
EXTRA_DIST = defs $(TESTS)
|
1997-04-02 03:02:08 +08:00
|
|
|
|
|
|
|
# We need to remove any files that the above tests created.
|
1997-04-02 03:19:30 +08:00
|
|
|
clean-local:
|
* doc/libtool.texi (libltdl): list supported dlopen mechanisms,
added function lt_dlopenext(), removed reference to
LTDL_PRELOADED_SYMBOLS in LTDL_SET_PRELOADED_SYMBOLS
* libltdl/ltdl.c: partially reverted Alexandre's dynamic string
allocation change (it was not necessary and the code was unreadable),
cleanups, removed usr_search_path_size, renamed usr_search_path
to user_search_path, in find_module() also check for moved
modules, merged find_file() and find_library(),
added lt_dlopenext(), in lt_dladdsearchdir() no longer reset
the search path if 'search_dir' == NULL and don't use realloc()
(might not be available on all platforms),
removed __P((void)) in the declaration of lt_dlgetsearchpath()
* libltdl/ltdl.h: added lt_dlopenext()
* ltconfig.in: AIX archive commands were broken,
fixed a MAJOR bug in global_symbol_pipe which caused
"demo-shared.test;demo-make.test" to fail (libtool must not extract
undefined symbols of libraries, i.e. symcode must not contain 'U')
* tests/Makefile.am (clean-local): "make distclean" in cdemo, too
1999-01-24 22:24:17 +08:00
|
|
|
-test -f ../cdemo/Makefile && cd ../cdemo && $(MAKE) distclean
|
1999-03-17 00:54:48 +08:00
|
|
|
-test -f ../demo/Makefile && cd ../demo && $(MAKE) distclean
|
* merged my inter-library dependencies code from the ILD branch:
* NEWS: inter-library dependencies are now supported
* configure.in: add the depdemo subdirectory
* depdemo/*: new demo to demonstrate inter-library dependencies
* tests/depdemo*: new tests for depdemo
* ltconfig.in: added hardcode_into_libs (whether library paths
should be hardcoded into the libraries),
it currently defaults to 'no'
* ltmain.in: new internal 'relink' mode to relink libraries
on platforms with hardcode_into_libs=yes, save command line
arguments in libtool_args, accept relative -L directories,
ignore -lm on BeOS and Cygwin, always ignore -lc,
handle -l, -L and .la arguments later, always make the library
installation directory (-rpath) absolute, in relink mode don't
delete the not-relinked library and exit immediately after relinking,
try to find already-installed libtool libraries that were specified
using -l, support hardcoding of library paths into libraries too,
export shlibpath before linking libraries, and a lot of other
big changes that I don't want to describe here... please read
the source.
* merged Gary's Win32 code from the ILD branch:
* NEWS: Win32 DLLs are now supported
* TODO: removed .a library namespace clash for win32. It is
now resolved.
* ltconfig.in (cygwin, library_names_spec): removed $libname.a.
Creating a dll with libtool no longer creates an import library.
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library
in a directory which has no libs of its own.
* doc/libtool.texi (old_archive_from_expsyms_cmds,
extract_expsyms_cmds): documented these new variables.
* ltconfig.in (extract_expsyms_cmds): New variable. Commands to
extract the exported symbol list from a dll.
(old_archive_from_expsyms_cmds): New variable. Commands to build
an old archive from the extracted expsyms list.
* ltmain.in: run the cmds in extract_expsyms_cmds and
old_archive_from_expsyms_cmds as necessary.
* ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
required.
* ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
sure whether win32 honours the runpath at all when searching for
a dll to load! Anyway, when set to yes this prevents a gratuitous
warning.
* ltmain.in (deplib): The cygwin environment doesn't actually have
-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
1999-03-19 05:57:08 +08:00
|
|
|
-test -f ../depdemo/Makefile && cd ../depdemo && $(MAKE) distclean
|
1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in, ltmain.in: updated and fixed the patches below
1998-11-04 Thomas Tanner <tanner@gmx.de>
* mdemo/*: added new demo to demonstrate building of dlopenend
modules
* tests/Makefile.am, tests/mdemo*: added some tests for mdemo
1998-11-04 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* demo/configure.in: added AC_EXEEXT macro so that the tests can
work on cywin32/mingw32 hosts. This requires the current CVS
autoconf
1998-11-04 Thomas Tanner <tanner@gmx.de>
* ltmain.in: New flag -export-symbols; new dlpreopen system
* demo/dlmain.c: removed dld_preloaded_symbol_count
1998-11-04 Ian Lance Taylor <ian@cygnus.com>
* ltmain.in: On installation, don't get confused if the same name
appears more than once in the list of library names.
1998-11-04 Ian Lance Taylor <ian@cygnus.com>
* ltconfig.in: Add objext and libext variables. Check for object
suffix. Check for mingw32* as well as cygwin32*. Use objext when
testing compiler. Add support for Visual C++ on cygwin32 when not
using gcc. Add objext, libext, and fix_srcfile_path to generated
libtool script.
* ltmain.in: Use .${objext} rather than .o. Use fix_srcfile_path
if it is set. Check for .obj as well as for .o, and for .lib as
well as for .a. Use .${libext} rather than .a when creating old
libraries.
* libtoolize.in: Change initial /bin/sh to @SHELL@.
* libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for
AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the
AC_REQUIRE in AC_CHECK_TOOL.
1998-11-04 Ian Lance Taylor <ian@cygnus.com>
* ltconfig.in: Look in the right directory for libtool.c in
archive_cmds for cygwin32.
1998-11-04 Ian Lance Taylor <ian@cygnus.com>
* ltconfig.in: Fix cygwin32 support to avoid using a double
extension, to delete the def file, to set version_type to windows,
and to include versuffix in the DLL name.
* ltmain.in: Add support for a version_type of windows.
1998-11-04 Ian Lance Taylor <ian@cygnus.com>
* ltconfig.in: Add cygwin32 support.
* libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a
cygwin32 host. Pass DLLTOOL and AS to ltconfig.
(AM_SYS_LIBTOOL_CYGWIN32): New macro.
1998-11-04 17:43:29 +08:00
|
|
|
-test -f ../mdemo/Makefile && cd ../mdemo && $(MAKE) distclean
|
1997-10-15 02:33:24 +08:00
|
|
|
rm -rf _inst
|