1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = no-dependencies foreign
6 include_HEADERS = ltdl.h
7 lib_LTLIBRARIES = libltdl.la
9 noinst_HEADERS = ltdl.h
13 noinst_LTLIBRARIES = libltdlc.la
16 libltdl_la_SOURCES = ltdl.c
17 libltdl_la_LDFLAGS = -version-info 1:2:1
18 libltdl_la_LIBADD = $(LIBADD_DL)
20 libltdlc_la_SOURCES = ltdl.c
21 libltdlc_la_LIBADD = $(LIBADD_DL)
23 ## Because we do not have automatic dependency tracking:
24 ltdl.lo: ltdl.h config.h
27 libtool: $(LIBTOOL_DEPS)
28 $(SHELL) ./config.status --recheck
30 ## This allows us to install libltdl without using ln and without creating
31 ## a world writeable directory.
32 ## FIXME: Remove this rule once automake can do this properly by itself.
33 local-install-files: $(DISTFILES)
34 -rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
35 $(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
36 @for file in $(DISTFILES); do \
38 if test -d $$d/$$file; then \
39 cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
41 test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
42 || cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \