1999-03-20 08:27:33 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
|
1999-05-23 02:04:32 +08:00
|
|
|
AUTOMAKE_OPTIONS = 1.3e gnu
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
|
1999-03-10 06:13:49 +08:00
|
|
|
BUILD_SUBDIRS = . libltdl doc tests
|
1999-01-14 23:07:12 +08:00
|
|
|
SUBDIRS = $(BUILD_SUBDIRS)
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
DIST_SUBDIRS = $(BUILD_SUBDIRS) $(CONF_SUBDIRS)
|
1997-04-02 02:29:23 +08:00
|
|
|
|
2000-09-07 01:31:09 +08:00
|
|
|
# We need to export these variables
|
1997-04-02 03:19:30 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPPLAGS = @CPPFLAGS@
|
* 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
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS= @LIBS@
|
2002-08-01 04:15:28 +08:00
|
|
|
FFLAGS = @FFLAGS@
|
|
|
|
FLIBS = @FLIBS@
|
1997-04-02 03:19:30 +08:00
|
|
|
|
1999-12-16 19:40:16 +08:00
|
|
|
aclocal_macros = libtool.m4 ltdl.m4
|
1997-04-02 03:18:28 +08:00
|
|
|
|
2000-09-15 04:51:43 +08:00
|
|
|
EXTRA_DIST = $(aclocal_macros) bootstrap libtoolize.in ltmain.in \
|
2001-07-24 05:06:02 +08:00
|
|
|
mkstamp ChangeLog.0 ChangeLog.1
|
2000-09-07 01:31:09 +08:00
|
|
|
CLEANFILES = libtool libtoolize ltmain.shT
|
1997-04-02 02:29:23 +08:00
|
|
|
|
|
|
|
# These are required by libtoolize.
|
2000-09-07 01:31:09 +08:00
|
|
|
pkgdata_SCRIPTS = config.guess config.sub
|
1999-01-18 21:16:55 +08:00
|
|
|
pkgdata_DATA = ltmain.sh
|
1997-04-02 02:29:23 +08:00
|
|
|
|
1997-04-02 02:57:49 +08:00
|
|
|
# This macro file should be visible to Automake's aclocal.
|
1997-04-02 03:18:28 +08:00
|
|
|
aclocal_DATA = $(aclocal_macros)
|
1997-04-02 02:29:23 +08:00
|
|
|
|
|
|
|
# The standalone libtool script, and the libtool distributor.
|
|
|
|
bin_SCRIPTS = libtool libtoolize
|
|
|
|
|
Libtool now builds with the help of Autoconf-2.50!
* configure.ac (AC_PREREQ): Require Autoconf-2.50 or newer.
(AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT): Removed. Autoconf-2.50
doesn't have the AC_REQUIRE bug that required these to be called
explicitly from here. Autoconf-2.50 uses this file instead of...
* configure.in: ...this, which is now deleted.
* cdemo/configure.ac, cdemo/configure.in: Ditto.
* demo/configure.ac, demo/configure.in: Ditto.
* depdemo/configure.ac, depdemo/configure.in: Ditto.
* libltdl/configure.ac, libltdl/configure.in: Ditto.
* mdemo/configure.ac, mdemo/configure.in: Ditto.
* pdemo/configure.ac, pdemo/configure.in: Ditto.
* libltdl/acconfig.h: Deleted.
* Makefile.am (libtool): libtool now depends on configure.ac.
* libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP
instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE.
(AC_LIBTOOL_LANG_C_CONFIG): Ditto.
(AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
* libtoolize.in: Use $configure_ac, instead of hardcoding
configure.in.
2001-06-29 06:02:06 +08:00
|
|
|
libtool: $(srcdir)/ltmain.sh $(top_builddir)/configure.ac
|
2000-09-21 08:10:41 +08:00
|
|
|
$(SHELL) $(top_builddir)/config.status --recheck
|
2000-09-17 08:44:49 +08:00
|
|
|
chmod +x $@
|
2000-09-07 08:34:07 +08:00
|
|
|
|
2000-09-17 08:44:49 +08:00
|
|
|
libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
|
|
|
|
CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) $(top_builddir)/config.status
|
|
|
|
chmod +x $@
|
|
|
|
|
2000-09-21 08:10:41 +08:00
|
|
|
$(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(TSDEPS)
|
2000-09-17 08:44:49 +08:00
|
|
|
-rm -f ltmain.shT
|
|
|
|
date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
|
|
|
|
sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
|
|
|
|
-e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
|
|
|
|
mv -f ltmain.shT $@ || \
|
|
|
|
(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)
|
2003-02-25 08:30:28 +08:00
|
|
|
cp $@ $(srcdir)/libltdl/
|
2000-09-07 08:34:07 +08:00
|
|
|
|
1999-01-22 20:21:05 +08:00
|
|
|
# TSDEPS will be defined to TSDEPS_DIST at `make dist' time
|
|
|
|
TSDEPS =
|
|
|
|
TSDEPS_DIST = ChangeLog libtool.m4
|
1999-04-06 05:21:49 +08:00
|
|
|
CVS = cvs # set it to `:' to avoid CVS operations
|
1999-01-22 20:21:05 +08:00
|
|
|
|
|
|
|
.PHONY: timestamps update-timestamps
|
|
|
|
timestamps distdir: update-timestamps
|
|
|
|
update-timestamps:
|
|
|
|
@if (cd $(srcdir) && test -d CVS && \
|
1999-04-06 05:21:49 +08:00
|
|
|
$(CVS) -n update $(TSDEPS_DIST) | grep '^M'); then \
|
1999-01-22 20:21:05 +08:00
|
|
|
echo "Cannot make dist before commit"; exit 1; else :; fi
|
1999-11-04 23:46:07 +08:00
|
|
|
|
1997-04-02 03:18:28 +08:00
|
|
|
# All our rules should depend on these demo files.
|
1999-12-16 19:40:16 +08:00
|
|
|
all-recursive: $(srcdir)/libltdl/acinclude.m4 $(ACINCLUDE_M4_LIST)
|
|
|
|
|
|
|
|
@srcdir@/libltdl/acinclude.m4: $(srcdir)/libtool.m4 $(srcdir)/ltdl.m4
|
|
|
|
-rm -f $@ $@T
|
|
|
|
cat $(srcdir)/libtool.m4 $(srcdir)/ltdl.m4 > $@T
|
|
|
|
mv $@T $@
|
1998-12-16 10:27:01 +08:00
|
|
|
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
@ACINCLUDE_M4_LIST@: $(srcdir)/libtool.m4
|
1999-12-16 19:40:16 +08:00
|
|
|
-rm -f $@ $@T
|
|
|
|
cat $(srcdir)/libtool.m4 > $@T
|
|
|
|
mv $@T $@
|
1998-12-09 02:36:31 +08:00
|
|
|
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
.PHONY: configure-subdirs
|
|
|
|
configure-subdirs distdir: $(DIST_MAKEFILE_LIST)
|
|
|
|
@DIST_MAKEFILE_LIST@:
|
1999-01-14 00:08:28 +08:00
|
|
|
dir=`echo $@ | sed 's,^[^/]*$$,.,;s,/[^/]*$$,,'`; \
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
test -d $$dir || mkdir $$dir || exit 1; \
|
1999-01-21 06:12:51 +08:00
|
|
|
abs_srcdir=`cd $(top_srcdir) && pwd`; \
|
1999-01-15 17:21:04 +08:00
|
|
|
(cd $$dir && $$abs_srcdir/$$dir/configure) || exit 1
|
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 18:41:07 +08:00
|
|
|
|
1999-03-10 06:57:26 +08:00
|
|
|
# Create and install libltdl
|
|
|
|
install-data-hook:
|
1999-05-22 20:50:00 +08:00
|
|
|
cd libltdl && $(MAKE) local-install-files
|
1999-01-18 21:16:55 +08:00
|
|
|
|
1999-04-25 17:07:02 +08:00
|
|
|
# Uninstall libltdl
|
|
|
|
uninstall-local:
|
1999-04-25 17:08:09 +08:00
|
|
|
-rm -rf $(DESTDIR)$(pkgdatadir)/libltdl
|
1999-04-25 17:07:02 +08:00
|
|
|
|
1998-12-09 02:36:31 +08:00
|
|
|
################################################################
|
|
|
|
##
|
|
|
|
## Everything past here is useful to the maintainer, but probably not
|
|
|
|
## to anybody else (snarfed from automake/Makefile.am).
|
|
|
|
##
|
|
|
|
|
|
|
|
# Tag before making distribution. Also, don't make a distribution if
|
|
|
|
# checks fail. Also, make sure the NEWS file is up-to-date.
|
|
|
|
cvs-dist: distcheck
|
1998-12-16 15:07:47 +08:00
|
|
|
@if sed '1,2d;3q' $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
|
1998-12-09 02:36:31 +08:00
|
|
|
echo "NEWS not updated; not releasing" 1>&2; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
1999-04-06 05:21:49 +08:00
|
|
|
cd $(srcdir) && \
|
|
|
|
$(CVS) -q tag `echo "release-$(VERSION)" | sed 's/\./-/g'`
|
1998-12-09 02:36:31 +08:00
|
|
|
$(MAKE) dist
|
|
|
|
|
|
|
|
cvs-diff:
|
1998-12-16 14:22:02 +08:00
|
|
|
thisver=`echo "release-$(VERSION)" | sed 's/\./-/g'`; \
|
1998-12-09 02:36:31 +08:00
|
|
|
if test -z "$$OLDVERSION"; then \
|
|
|
|
prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
|
|
|
|
else prevno="$$OLDVERSION"; fi; \
|
1998-12-16 14:22:02 +08:00
|
|
|
prevver=release-`echo $$prevno | sed 's/\./-/g'`; \
|
1999-04-06 05:21:49 +08:00
|
|
|
$(CVS) -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
|
2002-10-25 09:14:07 +08:00
|
|
|
| GZIP=$(GZIP_ENV) gzip -c \
|
|
|
|
> $(PACKAGE)-$$prevno-$(VERSION).diff.gz
|