mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-01 15:25:27 +08:00
31 lines
682 B
Makefile
31 lines
682 B
Makefile
# A brief demonstration of using Automake with Libtool. -*-Makefile-*-
|
|
#
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
|
|
|
LTDL_VERSION = -version-info 1:1:1
|
|
|
|
if INSTALL_LTDL
|
|
LTDL_FLAGS = $(LTDL_VERSION) -rpath $(libdir)
|
|
include_HEADERS = ltdl.h
|
|
else
|
|
LTDL_FLAGS =
|
|
noinst_HEADERS = ltdl.h
|
|
endif
|
|
|
|
EXTRA_LTLIBRARIES = libltdl.la libltdlc.la
|
|
|
|
lib_LTLIBRARIES = @LIBLIBS@
|
|
noinst_LTLIBRARIES = @NOINSTLIBS@
|
|
|
|
libltdl_la_SOURCES = ltdl.c
|
|
libltdl_la_LDFLAGS = $(LTDL_FLAGS)
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
|
|
|
libltdlc_la_SOURCES = $(libltdl_la_SOURCES)
|
|
libltdlc_la_LDFLAGS =
|
|
libltdlc_la_LIBADD = $(libltdl_la_LIBADD)
|
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
$(SHELL) ./config.status --recheck
|
|
Makefile: libtool
|