Wed Jun 11 11:04:59 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
* Makefile.am (ltconfig, ltmain.sh): Only move if $(srcdir) is not
- the current directory. Reported by Tom Tromey.
+ the current directory. Don't regenerate every time the package is
+ reconfigured. Reported by Tom Tromey.
+ (MAINTAINERCLEANFILES): Added ltconfig, ltmain.sh, so that
+ $(srcdir) is not messed with during a regular clean.
Tue Jun 10 12:26:00 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
EXTRA_DIST = $(aclocal_macros) libtoolize.in ltconfig.in ltmain.sh.in \
README-automake libtool.prj
-CLEANFILES = libtool libtoolize ltconfig ltmain.sh
+CLEANFILES = libtool libtoolize
+MAINTAINERCLEANFILES = ltconfig ltmain.sh
# Files in the demo subdirectory that go in the distribution.
demo_distfiles = demo/Makefile.in demo/Makefile.am demo/README \
LD="${LD}" RANLIB="${RANLIB}" \
$(srcdir)/ltconfig --srcdir=$(srcdir) $(pkgdatadir)/ltmain.sh
-# These depend on config.status for version numbers.
libtoolize: libtoolize.in $(top_builddir)/config.status
CONFIG_FILES=libtoolize CONFIG_HEADERS= $(top_builddir)/config.status
chmod +x libtoolize
-$(srcdir)/ltconfig: ltconfig.in $(top_builddir)/config.status
+# These depend on NEWS (rather then config.status) so that version numbers
+# are correctly updated.
+# This way, they aren't regenerated after people configure the package.
+$(srcdir)/ltconfig: ltconfig.in NEWS
CONFIG_FILES=ltconfig CONFIG_HEADERS= $(top_builddir)/config.status
chmod +x ltconfig
- mv ltconfig $(srcdir)/ltconfig
+ test "$(srcdir)" = . || mv ltconfig $(srcdir)/ltconfig
-$(srcdir)/ltmain.sh: ltmain.sh.in $(top_builddir)/config.status
+$(srcdir)/ltmain.sh: ltmain.sh.in NEWS
CONFIG_FILES=ltmain.sh CONFIG_HEADERS= $(top_builddir)/config.status
- mv ltmain.sh $(srcdir)/ltmain.sh
+ test "$(srcdir)" = . || mv ltmain.sh $(srcdir)/ltmain.sh
# Distribute the demo subdirectory.
dist-hook: $(demo_distfiles)
dnl Process this file with autoconf to create configure.
AC_INIT(ltmain.sh.in)
-AM_INIT_AUTOMAKE(libtool,0.9g)
+AM_INIT_AUTOMAKE(libtool,0.9h)
pkgdatadir='${datadir}/libtool'
AC_SUBST(pkgdatadir)
If the @var{output-file} ends in @samp{.a}, then a standard library is
created using @code{ar} and possibly @code{ranlib}.
+@cindex Partial linking
+@cindex Linking, partial
If @var{output-file} ends in @samp{.o} or @samp{.lo}, then a reloadable object
file is created from the input files (generally using @samp{ld -r}).
-This method is called @dfn{incremental linking}.
+This method is often called @dfn{partial linking}.
Otherwise, an executable program is created.