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