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 libltdl_la_SOURCES = ltdl.c
19 libltdl_la_LDFLAGS = -no-undefined -version-info 2:0:2
20 libltdl_la_LIBADD = $(LIBADD_DL)
22 libltdlc_la_SOURCES = ltdl.c
23 libltdlc_la_LIBADD = $(LIBADD_DL)
25 ## Because we do not have automatic dependency tracking:
26 ltdl.lo: ltdl.h config.h
29 libtool: $(LIBTOOL_DEPS)
30 $(SHELL) ./config.status --recheck
32 ## This allows us to install libltdl without using ln and without creating
33 ## a world writeable directory.
34 ## FIXME: Remove this rule once automake can do this properly by itself.
35 local-install-files: $(DISTFILES)
36 -rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
37 $(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
38 @for file in $(DISTFILES); do \
40 if test -d $$d/$$file; then \
41 cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
43 test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
44 || cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \