libtool/mdemo/Makefile.am
Alexandre Oliva 8ed98c1580 * Makefile.am (cvs-dist): our release tags are in lower case
(cvs-diff): ditto
	(EXTRA_DIST): added README-alpha
	(DIST_SUBDIRS): added depdemo
	* README-alpha: minor adaptations
	* demo/Makefile.am, mdemo/Makefile.am, depdemo/Makefile.am:
	removed comment about special needs for distribution
	* depdemo/Makefile.am: don't generate dependencies
	* depdemo/configure.in: modified version number
1998-12-16 06:22:02 +00:00

34 lines
964 B
Makefile

# A brief demonstration of Libtool modules. -*-Makefile-*-
#
AUTOMAKE_OPTIONS = no-dependencies foreign
INCLUDES = -I$(srcdir)/../libltdl
EXTRA_DIST = acinclude.m4
lib_LTLIBRARIES = libfoo1.la libfoo2.la
libfoo1_la_SOURCES = foo1.c
libfoo1_la_LDFLAGS = -lm -module
libfoo2_la_SOURCES = foo2.c
libfoo2_la_LDFLAGS = -lm -module -static
noinst_HEADERS = foo.h
bin_PROGRAMS = hell hell.debug
# Create a version of hell that does dlopen.
hell_SOURCES = main.c
hell_LDADD = ../libltdl/libltdl.la \
-lm # We won't need this when libltdl takes care of dependencies
hell_LDFLAGS = -export-dynamic -dlopen libfoo1.la -dlopen libfoo2.la
hell_DEPENDENCIES = ../libltdl/libltdl.la libfoo1.la libfoo2.la
# Create an easier-to-debug version of hell.
hell_debug_SOURCES = main.c
hell_debug_LDADD = ../libltdl/libltdl.la
hell_debug_LDFLAGS = -static -export-dynamic \
-dlopen libfoo1.la -dlopen libfoo2.la
hell_DEPENDENCIES = ../libltdl/libltdl.la libfoo1.la libfoo2.la