buildtools/libtool/mdemo2/Makefile.am
Ingo Weinhold de837934d8 Copying libtool 1.5.20 into the trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:34:28 +00:00

25 lines
696 B
Makefile

## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = no-dependencies foreign
INCLUDES = -I$(top_srcdir)/../libltdl
EXTRA_DIST = acinclude.m4
bin_PROGRAMS = mdemo2 mdemo2_static
# Create a version of mdemo2 that links a library that does dlopen.
mdemo2_SOURCES = main.c
mdemo2_LDFLAGS = -export-dynamic "-dlopen" force
mdemo2_LDADD = ../mdemo/libmlib.la
# Create a statically linked version of mdemo.
mdemo2_static_SOURCES = $(mdemo2_SOURCES)
mdemo2_static_LDFLAGS = $(STATIC) $(mdemo2_LDFLAGS)
mdemo2_static_LDADD = $(mdemo2_LDADD)
mdemo2_static_DEPENDENCIES = $(mdemo2_DEPENDENCIES)
$(OBJECTS): libtool
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck