1 |
schoenebeck |
9 |
# set the include path found by configure |
2 |
persson |
2420 |
AM_CPPFLAGS= $(all_includes) $(GIG_CFLAGS) $(SQLITE3_CFLAGS) |
3 |
schoenebeck |
9 |
|
4 |
persson |
2378 |
if HAVE_WINDOWS |
5 |
|
|
system_libs = |
6 |
persson |
2533 |
SHELL_SUBDIR = |
7 |
persson |
2378 |
else |
8 |
|
|
system_libs = -lpthread -ldl |
9 |
persson |
2533 |
SHELL_SUBDIR = shell |
10 |
persson |
2378 |
endif |
11 |
|
|
|
12 |
wylder |
820 |
if HAVE_COREMIDI |
13 |
|
|
coremidi_ldflags = -framework CoreAudio \ |
14 |
|
|
-framework CoreMIDI \ |
15 |
|
|
-framework CoreServices \ |
16 |
|
|
-framework AudioUnit |
17 |
|
|
else |
18 |
|
|
coremidi_ldflags = |
19 |
|
|
endif |
20 |
|
|
|
21 |
iliev |
1835 |
if HAVE_SQLITE3 |
22 |
|
|
sqlite3_lib = $(top_builddir)/src/db/liblinuxsamplerdb.la |
23 |
|
|
else |
24 |
|
|
sqlite3_lib = |
25 |
|
|
endif |
26 |
|
|
|
27 |
iliev |
2012 |
if HAVE_SF2 |
28 |
|
|
sf2_engine_lib = $(top_builddir)/src/engines/sf2/liblinuxsamplersf2engine.la |
29 |
|
|
else |
30 |
|
|
sf2_engine_lib = |
31 |
|
|
endif |
32 |
|
|
|
33 |
schoenebeck |
510 |
AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) |
34 |
schoenebeck |
9 |
|
35 |
schoenebeck |
2581 |
SUBDIRS = scriptvm db network engines common testcases drivers \ |
36 |
|
|
plugins effects . hostplugins $(SHELL_SUBDIR) |
37 |
schoenebeck |
53 |
|
38 |
schoenebeck |
885 |
liblinuxsamplerincludedir = $(includedir)/linuxsampler |
39 |
schoenebeck |
1212 |
liblinuxsamplerinclude_HEADERS = Sampler.h EventListeners.h |
40 |
schoenebeck |
697 |
|
41 |
schoenebeck |
53 |
pkglib_LTLIBRARIES = liblinuxsampler.la |
42 |
schoenebeck |
697 |
liblinuxsampler_la_SOURCES = Sampler.cpp |
43 |
schoenebeck |
411 |
liblinuxsampler_la_LIBADD = \ |
44 |
iliev |
1835 |
$(sqlite3_lib) \ |
45 |
schoenebeck |
2581 |
$(top_builddir)/src/scriptvm/liblinuxsamplerscriptvm.la \ |
46 |
schoenebeck |
504 |
$(top_builddir)/src/network/liblinuxsamplernetwork.la \ |
47 |
|
|
$(top_builddir)/src/engines/gig/liblinuxsamplergigengine.la \ |
48 |
iliev |
2012 |
$(sf2_engine_lib) \ |
49 |
|
|
$(top_builddir)/src/engines/sfz/liblinuxsamplersfzengine.la \ |
50 |
schoenebeck |
504 |
$(top_builddir)/src/engines/common/liblinuxsamplercommonengine.la \ |
51 |
|
|
$(top_builddir)/src/engines/liblinuxsamplerengines.la \ |
52 |
|
|
$(top_builddir)/src/drivers/liblinuxsamplerdrivers.la \ |
53 |
|
|
$(top_builddir)/src/drivers/audio/liblinuxsampleraudiodriver.la \ |
54 |
|
|
$(top_builddir)/src/drivers/midi/liblinuxsamplermididriver.la \ |
55 |
schoenebeck |
1375 |
$(top_builddir)/src/plugins/liblinuxsamplerplugins.la \ |
56 |
schoenebeck |
1722 |
$(top_builddir)/src/effects/liblinuxsamplereffects.la \ |
57 |
persson |
2378 |
$(top_builddir)/src/common/liblinuxsamplercommon.la \ |
58 |
|
|
$(system_libs) |
59 |
|
|
|
60 |
senoner |
1557 |
liblinuxsampler_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ -no-undefined |
61 |
schoenebeck |
53 |
|
62 |
schoenebeck |
2581 |
bin_PROGRAMS = linuxsampler ls_instr_script |
63 |
|
|
|
64 |
schoenebeck |
53 |
linuxsampler_SOURCES = linuxsampler.cpp |
65 |
persson |
1948 |
linuxsampler_LDADD = liblinuxsampler.la |
66 |
schoenebeck |
1212 |
linuxsampler_LDFLAGS = $(coremidi_ldflags) |
67 |
schoenebeck |
2581 |
|
68 |
|
|
ls_instr_script_SOURCES = ls_instr_script.cpp |
69 |
|
|
ls_instr_script_LDADD = liblinuxsampler.la |