mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
25 lines
681 B
Makefile
25 lines
681 B
Makefile
# A brief demonstration of inter-library dependencies
|
|
#
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
|
|
|
SUBDIRS = l1 l2 l3 l4
|
|
|
|
EXTRA_DIST = sysdep.h
|
|
|
|
bin_PROGRAMS = depdemo depdemo.static
|
|
|
|
depdemo_SOURCES = main.c
|
|
depdemo_LDADD = $(top_builddir)/l1/libl1.la $(top_builddir)/l2/libl2.la \
|
|
$(top_builddir)/l4/libl4.la
|
|
depdemo_DEPENDENCIES = $(top_builddir)/l1/libl1.la \
|
|
$(top_builddir)/l2/libl2.la $(top_builddir)/l4/libl4.la
|
|
|
|
depdemo_static_SOURCES = $(depdemo_SOURCES)
|
|
depdemo_static_LDADD = $(depdemo_LDADD)
|
|
depdemo_static_DEPENDENCIES = $(depdemo_DEPENDENCIES)
|
|
depdemo_static_LDFLAGS = $(STATIC)
|
|
|
|
$(OBJECTS): libtool
|
|
libtool: $(LIBTOOL_DEPS)
|
|
$(SHELL) ./config.status --recheck
|