1999-03-20 08:27:33 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
1998-11-20 06:53:40 +08:00
|
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
* bootstrap: Rewritten to use autoreconf.
* config.guess, config.sub, mkstamp: Moved from here...
* config/config.guess, config/config.sub, config/mkstamp: ...to
here, respectively.
* libtool.m4, ltdl.m4: Moved from here...
* m4/libtool.m4, m4/ltdl.m4: ...to here, respectively.
* configure.ac: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
* Makefile.am: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
(AUTOMAKE_OPTIONS): Require CVS automake.
(CONF_SUBDIRS, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, FFLAGS, FLIBS):
Automake now makes a Make variable from every AC_SUBST, so these
are NOP.
(aclocal_macros): These files are now in their own m4 subdir.
Changed all clients.
(EXTRA_DIST): mkstamp has moved to the new config subdir. Changed
all clients.
(pkgdata_SCRIPTS): Ditto wrt config.guess and config.sub.
(pkgdata_DATA): Ditto wrt ltmain.sh.
* f77demo/configure.ac, libltdl/configure.ac (AM_CONFIG_HEADER):
Is deprecated in favour of AC_CONFIG_HEADERS. Updated to the
latter.
* Makefile.am, cdemo/Makefile.am, demo/Makefile.am,
depdemo/Makefile.am, f77demo/Makefile.am, mdemo/Makefile.am,
mdemo2/Makefile.am, pdemo/Makefile.am, tagdemo/Makefile.am
(EXTRA_DIST): Remove acinclude.m4.
(ACLOCAL_AMFLAGS): Search new `m4' macro directory.
* configure.ac, cdemo/configure.ac, demo/configure.ac,
depdemo/configure.ac, f77demo/configure.ac, mdemo/configure.ac,
mdemo2/configure.ac, pdemo/configure.ac, tagdemo/configure.ac
(AC_CONFIG_AUX_DIR): Declare that config helper scripts are now
kept in the new config subdir.
* libltdl/configure.ac (AC_CONFIG_AUX_DIR): Removed. Defaults to
`.' anyway.
2003-09-25 19:22:29 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../m4
|
1998-11-18 15:29:36 +08:00
|
|
|
|
1998-12-24 03:33:09 +08:00
|
|
|
if INSTALL_LTDL
|
|
|
|
include_HEADERS = ltdl.h
|
1999-03-10 07:09:01 +08:00
|
|
|
lib_LTLIBRARIES = libltdl.la
|
1998-12-24 03:33:09 +08:00
|
|
|
else
|
|
|
|
noinst_HEADERS = ltdl.h
|
|
|
|
endif
|
1998-12-23 18:27:14 +08:00
|
|
|
|
1999-03-10 06:02:09 +08:00
|
|
|
if CONVENIENCE_LTDL
|
1999-03-10 07:09:01 +08:00
|
|
|
noinst_LTLIBRARIES = libltdlc.la
|
1999-03-10 06:02:09 +08:00
|
|
|
endif
|
1999-01-27 14:15:21 +08:00
|
|
|
|
2001-01-29 10:01:41 +08:00
|
|
|
## Make sure these will be cleaned even when they're not built by
|
|
|
|
## default.
|
|
|
|
CLEANFILES = libltdl.la libltdlc.la
|
|
|
|
|
1999-03-08 23:56:45 +08:00
|
|
|
libltdl_la_SOURCES = ltdl.c
|
2001-09-11 09:26:44 +08:00
|
|
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:0:1
|
1999-03-08 23:56:45 +08:00
|
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
1999-01-27 14:15:21 +08:00
|
|
|
|
1999-03-10 07:09:01 +08:00
|
|
|
libltdlc_la_SOURCES = ltdl.c
|
|
|
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
1999-01-18 21:30:43 +08:00
|
|
|
|
1999-04-29 16:09:19 +08:00
|
|
|
## Because we do not have automatic dependency tracking:
|
|
|
|
ltdl.lo: ltdl.h config.h
|
|
|
|
|
2001-06-30 06:25:17 +08:00
|
|
|
$(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
|
1999-01-18 21:30:43 +08:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
1999-01-20 07:56:32 +08:00
|
|
|
$(SHELL) ./config.status --recheck
|
1999-05-22 20:50:00 +08:00
|
|
|
|
|
|
|
## This allows us to install libltdl without using ln and without creating
|
|
|
|
## a world writeable directory.
|
1999-11-02 20:33:05 +08:00
|
|
|
## FIXME: Remove this rule once automake can do this properly by itself.
|
1999-05-22 20:50:00 +08:00
|
|
|
local-install-files: $(DISTFILES)
|
|
|
|
-rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
d=$(srcdir); \
|
|
|
|
if test -d $$d/$$file; then \
|
1999-10-04 00:36:32 +08:00
|
|
|
cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
|
1999-05-22 20:50:00 +08:00
|
|
|
else \
|
|
|
|
test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
|
1999-10-04 00:36:32 +08:00
|
|
|
|| cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \
|
1999-05-22 20:50:00 +08:00
|
|
|
fi; \
|
|
|
|
done
|