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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2885 - (show annotations) (download)
Fri Apr 22 15:37:45 2016 UTC (3 years, 9 months ago) by schoenebeck
File size: 2211 byte(s)
* Instrument script classes now exported with the liblinuxsampler C++ API.
* Added new API method ScriptVM::syntaxHighlighting() which provides
  a convenient syntax highlighting backend for external instrument
  script editor applications.
* Bumped version (2.0.0.svn5).

1 # set the include path found by configure
2 AM_CPPFLAGS= $(all_includes) $(GIG_CFLAGS) $(SQLITE3_CFLAGS)
3
4 if HAVE_WINDOWS
5 system_libs =
6 SHELL_SUBDIR =
7 else
8 system_libs = -lpthread -ldl
9 SHELL_SUBDIR = shell
10 endif
11
12 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 if HAVE_SQLITE3
22 sqlite3_lib = $(top_builddir)/src/db/liblinuxsamplerdb.la
23 else
24 sqlite3_lib =
25 endif
26
27 if HAVE_SF2
28 sf2_engine_lib = $(top_builddir)/src/engines/sf2/liblinuxsamplersf2engine.la
29 else
30 sf2_engine_lib =
31 endif
32
33 AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH)
34
35 SUBDIRS = scriptvm db network engines common testcases drivers \
36 plugins effects . hostplugins $(SHELL_SUBDIR)
37
38 liblinuxsamplerincludedir = $(includedir)/linuxsampler
39 liblinuxsamplerinclude_HEADERS = Sampler.h EventListeners.h
40
41 pkglib_LTLIBRARIES = liblinuxsampler.la
42 liblinuxsampler_la_SOURCES = Sampler.cpp
43 liblinuxsampler_la_LIBADD = \
44 $(sqlite3_lib) \
45 $(top_builddir)/src/scriptvm/liblinuxsamplerscriptvm.la \
46 $(top_builddir)/src/scriptvm/editor/liblinuxsamplerscriptvmeditor.la \
47 $(top_builddir)/src/network/liblinuxsamplernetwork.la \
48 $(top_builddir)/src/engines/gig/liblinuxsamplergigengine.la \
49 $(sf2_engine_lib) \
50 $(top_builddir)/src/engines/sfz/liblinuxsamplersfzengine.la \
51 $(top_builddir)/src/engines/common/liblinuxsamplercommonengine.la \
52 $(top_builddir)/src/engines/liblinuxsamplerengines.la \
53 $(top_builddir)/src/drivers/liblinuxsamplerdrivers.la \
54 $(top_builddir)/src/drivers/audio/liblinuxsampleraudiodriver.la \
55 $(top_builddir)/src/drivers/midi/liblinuxsamplermididriver.la \
56 $(top_builddir)/src/plugins/liblinuxsamplerplugins.la \
57 $(top_builddir)/src/effects/liblinuxsamplereffects.la \
58 $(top_builddir)/src/common/liblinuxsamplercommon.la \
59 $(system_libs)
60
61 liblinuxsampler_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ -no-undefined
62
63 bin_PROGRAMS = linuxsampler ls_instr_script
64
65 linuxsampler_SOURCES = linuxsampler.cpp
66 linuxsampler_LDADD = liblinuxsampler.la
67 linuxsampler_LDFLAGS = $(coremidi_ldflags)
68
69 ls_instr_script_SOURCES = ls_instr_script.cpp
70 ls_instr_script_LDADD = liblinuxsampler.la

  ViewVC Help
Powered by ViewVC