1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = no-dependencies foreign
8 include_HEADERS = ltdl.h
9 lib_LTLIBRARIES = libltdl.la
11 noinst_HEADERS = ltdl.h
15 noinst_LTLIBRARIES = libltdlc.la
18 ## Make sure these will be cleaned even when they're not built by
20 CLEANFILES = libltdl.la libltdlc.la
22 libltdl_la_SOURCES = ltdl.c
23 libltdl_la_LDFLAGS = -no-undefined -version-info 4:1:1
24 libltdl_la_LIBADD = $(LIBADD_DL)
26 libltdlc_la_SOURCES = ltdl.c
27 libltdlc_la_LIBADD = $(LIBADD_DL)
29 ## Because we do not have automatic dependency tracking:
30 ltdl.lo: ltdl.h config.h
32 $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
33 libtool: $(LIBTOOL_DEPS)
34 $(SHELL) ./config.status --recheck
36 ## These are installed as a subdirectory of pkgdatadir so that
37 ## libtoolize --ltdl can find them later:
38 ltdldatadir = $(datadir)/libtool/libltdl
39 ltdldatafiles = COPYING.LIB README acinclude.m4 aclocal.m4 \
40 Makefile.am Makefile.in configure.ac configure \
41 config-h.in config.guess config.sub \
42 install-sh missing ltmain.sh \
45 ## To avoid spurious reconfiguration when the user installs these files
46 ## with libtoolize, we have to preserve their timestamps carefully:
48 -rm -rf $(DESTDIR)$(ltdldatadir)
49 $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
50 ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
51 | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )