mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
de837934d8
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15336 a95241bf-73f2-0310-859d-f6bbb57e9c96
25 lines
696 B
Makefile
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
|