d9898ee8 |
1 | ## Process this file with automake to produce Makefile.in |
2 | |
3 | AUTOMAKE_OPTIONS = no-dependencies foreign |
4 | |
5 | if INSTALL_LTDL |
6 | include_HEADERS = ltdl.h |
7 | lib_LTLIBRARIES = libltdl.la |
8 | else |
9 | noinst_HEADERS = ltdl.h |
10 | endif |
11 | |
12 | if CONVENIENCE_LTDL |
13 | noinst_LTLIBRARIES = libltdlc.la |
14 | endif |
15 | |
16 | ## Make sure these will be cleaned even when they're not built by |
17 | ## default. |
18 | CLEANFILES = libltdl.la libltdlc.la |
19 | |
20 | libltdl_la_SOURCES = ltdl.c |
0fde1ce3 |
21 | libltdl_la_LDFLAGS = -no-undefined -version-info 4:5:1 |
d9898ee8 |
22 | libltdl_la_LIBADD = $(LIBADD_DL) |
23 | |
24 | libltdlc_la_SOURCES = ltdl.c |
25 | libltdlc_la_LIBADD = $(LIBADD_DL) |
26 | |
27 | ## Because we do not have automatic dependency tracking: |
28 | ltdl.lo: ltdl.h config.h |
29 | |
30 | $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool |
31 | libtool: $(LIBTOOL_DEPS) |
32 | $(SHELL) ./config.status --recheck |