mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
c7c23418fd
* */Makefile.am $(OBJECTS): depend on libtool (libtool): rebuild automatically
26 lines
531 B
Makefile
26 lines
531 B
Makefile
# A brief demonstration of using Automake with Libtool. -*-Makefile-*-
|
|
#
|
|
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
|
|
|
|
libltdl_la_SOURCES = ltdl.c
|
|
libltdl_la_LDFLAGS = -version-info 1:1:1
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
|
|
|
libltdlc_la_SOURCES = ltdl.c
|
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
|
|
|
$(OBJECTS): libtool
|
|
libtool: $(LIBTOOL_DEPS)
|
|
$(SHELL) ./config.status --recheck
|