2007-12-30 17:41:49 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
|
|
|
|
|
|
|
if INSTALL_LTDL
|
|
|
|
include_HEADERS = ltdl.h
|
|
|
|
lib_LTLIBRARIES = libltdl.la
|
|
|
|
else
|
|
|
|
noinst_HEADERS = ltdl.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if CONVENIENCE_LTDL
|
|
|
|
noinst_LTLIBRARIES = libltdlc.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
## Make sure these will be cleaned even when they're not built by
|
|
|
|
## default.
|
|
|
|
CLEANFILES = libltdl.la libltdlc.la
|
|
|
|
|
|
|
|
libltdl_la_SOURCES = ltdl.c
|
2008-12-28 20:01:39 +01:00
|
|
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:6:1
|
2007-12-30 17:41:49 +01:00
|
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
|
|
|
|
|
|
|
libltdlc_la_SOURCES = ltdl.c
|
|
|
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
|
|
|
|
|
|
|
## Because we do not have automatic dependency tracking:
|
|
|
|
ltdl.lo: ltdl.h config.h
|
|
|
|
|
|
|
|
$(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
|
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|