mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
e76ee47bce
* mdemo/Makefile.am: ../libltdl is within $(srcdir) * libltdl, Makefile.am: added libltdl (a system independent dlopen wrapper library extracted from mdemo) * ltmain.in: added -module flag for compiling and linking of modules. If enabled it compiles always both .o (with -DLT_RENAME) and .lo files * mdemo: modified mdemo to work with libltdl * tests/ltdl*: added tests for libltdl
25 lines
917 B
Makefile
25 lines
917 B
Makefile
## Process this file with automake to create Makefile.in -*-Makefile-*-
|
|
|
|
AUTOMAKE_OPTIONS = gnits
|
|
|
|
TESTS = demo-conf.test demo-make.test demo-exec.test \
|
|
demo-inst.test demo-unst.test hardcode.test \
|
|
ltdl-conf.test ltdl-make.test ltdl-inst.test \
|
|
mdemo-conf.test mdemo-make.test mdemo-exec.test \
|
|
mdemo-inst.test mdemo-unst.test ltdl-unst.test \
|
|
link.test link-2.test nomode.test \
|
|
quote.test sh.test suffix.test
|
|
|
|
# Be sure to reexport important environment variables.
|
|
TESTS_ENVIRONMENT = CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
|
|
LD="$(LD)" NM="$(NM)" RANLIB="$(RANLIB)" LN_S="$(LN_S)"
|
|
|
|
EXTRA_DIST = defs $(TESTS)
|
|
|
|
# We need to remove any files that the above tests created.
|
|
clean-local:
|
|
-test -f ../demo/Makefile && cd ../demo && $(MAKE) distclean
|
|
-test -f ../mdemo/Makefile && cd ../mdemo && $(MAKE) distclean
|
|
-test -f ../libltdl/Makefile && cd ../libltdl && $(MAKE) distclean
|
|
rm -rf _inst
|