libtool/depdemo/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

26 lines
787 B
Makefile

# A brief demonstration of inter-library dependencies
#
AUTOMAKE_OPTIONS = no-dependencies foreign
lib_LTLIBRARIES = libl1.la libl2.la libl3.la libl4.la
libl1_la_SOURCES = l1.c l1.h sysdep.h
libl2_la_SOURCES = l2.c l2.h sysdep.h
libl2_la_LIBADD = libl1.la
libl3_la_SOURCES = l3.c l3.h sysdep.h
libl3_la_LIBADD = libl1.la libl2.la
libl4_la_SOURCES = l4.c l4.h sysdep.h
libl4_la_LIBADD = libl3.la -lm
bin_PROGRAMS = depdemo depdemo.static
depdemo_SOURCES = main.c
depdemo_LDADD = libl1.la libl2.la libl4.la \
libl3.la # remove this!
depdemo_DEPENDENCIES = libl1.la libl2.la libl4.la
depdemo_static_SOURCES = main.c
depdemo_static_LDADD = libl1.la libl2.la libl4.la \
libl3.la # remove this!
depdemo_static_DEPENDENCIES = libl1.la libl2.la libl4.la
depdemo_static_LDFLAGS = -static