/[svn]/linuxsampler/trunk/src/Makefile.am
ViewVC logotype

Contents of /linuxsampler/trunk/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2378 - (show annotations) (download)
Sun Nov 4 10:36:30 2012 UTC (7 years, 7 months ago) by persson
File size: 1897 byte(s)
* fixed linkage error when building with LDFLAGS="-Wl,--no-undefined"
  (#190)

1 # set the include path found by configure
2 INCLUDES= $(all_includes) $(GIG_CFLAGS) $(SQLITE3_CFLAGS)
3
4 if HAVE_WINDOWS
5 system_libs =
6 else
7 system_libs = -lpthread -ldl
8 endif
9
10 if HAVE_COREMIDI
11 coremidi_ldflags = -framework CoreAudio \
12 -framework CoreMIDI \
13 -framework CoreServices \
14 -framework AudioUnit
15 else
16 coremidi_ldflags =
17 endif
18
19 if HAVE_SQLITE3
20 sqlite3_lib = $(top_builddir)/src/db/liblinuxsamplerdb.la
21 else
22 sqlite3_lib =
23 endif
24
25 if HAVE_SF2
26 sf2_engine_lib = $(top_builddir)/src/engines/sf2/liblinuxsamplersf2engine.la
27 else
28 sf2_engine_lib =
29 endif
30
31 AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
32
33 SUBDIRS = db network engines common testcases drivers plugins effects . hostplugins
34
35 liblinuxsamplerincludedir = $(includedir)/linuxsampler
36 liblinuxsamplerinclude_HEADERS = Sampler.h EventListeners.h
37
38 pkglib_LTLIBRARIES = liblinuxsampler.la
39 liblinuxsampler_la_SOURCES = Sampler.cpp
40 liblinuxsampler_la_LIBADD = \
41 $(sqlite3_lib) \
42 $(top_builddir)/src/network/liblinuxsamplernetwork.la \
43 $(top_builddir)/src/engines/gig/liblinuxsamplergigengine.la \
44 $(sf2_engine_lib) \
45 $(top_builddir)/src/engines/sfz/liblinuxsamplersfzengine.la \
46 $(top_builddir)/src/engines/common/liblinuxsamplercommonengine.la \
47 $(top_builddir)/src/engines/liblinuxsamplerengines.la \
48 $(top_builddir)/src/drivers/liblinuxsamplerdrivers.la \
49 $(top_builddir)/src/drivers/audio/liblinuxsampleraudiodriver.la \
50 $(top_builddir)/src/drivers/midi/liblinuxsamplermididriver.la \
51 $(top_builddir)/src/plugins/liblinuxsamplerplugins.la \
52 $(top_builddir)/src/effects/liblinuxsamplereffects.la \
53 $(top_builddir)/src/common/liblinuxsamplercommon.la \
54 $(system_libs)
55
56 liblinuxsampler_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ -no-undefined
57
58 bin_PROGRAMS = linuxsampler
59 linuxsampler_SOURCES = linuxsampler.cpp
60 linuxsampler_LDADD = liblinuxsampler.la
61 linuxsampler_LDFLAGS = $(coremidi_ldflags)

  ViewVC Help
Powered by ViewVC