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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1908 - (show annotations) (download)
Mon Jun 1 18:50:06 2009 UTC (14 years, 9 months ago) by persson
File size: 803 byte(s)
* VST: avoid opening Fantasia more than once for each VST instance
* VST: export main function as "main" on Linux too (fix for energyXT)
* VST: prepare code for multiple output channels
* work-around for missing fnmatch function on Windows to make
  instrument database compilable

1 if HAVE_VST
2
3 plugindir = $(libdir)/vst
4 plugin_LTLIBRARIES = LinuxSampler.la
5 INCLUDES = -I@VSTSDK_DIR@ -I@VSTSDK_DIR@/public.sdk/source/vst2.x $(GIG_CFLAGS)
6
7 LinuxSampler_la_SOURCES = PluginVst.cpp PluginVst.h
8 nodist_LinuxSampler_la_SOURCES = \
9 @VSTSDK_DIR@/public.sdk/source/vst2.x/audioeffectx.cpp \
10 @VSTSDK_DIR@/public.sdk/source/vst2.x/audioeffect.cpp \
11 @VSTSDK_DIR@/public.sdk/source/vst2.x/vstplugmain.cpp
12
13 LinuxSampler_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,-s
14 LinuxSampler_la_LIBADD = $(top_builddir)/src/liblinuxsampler.la
15
16 EXTRA_DIST = PluginVst.def
17
18 if HAVE_WINDOWS
19 LinuxSampler_la_LDFLAGS += -Wl,$(srcdir)/PluginVst.def
20 LinuxSampler_la_LIBADD += -lws2_32
21 else
22 LinuxSampler_la_CPPFLAGS = -D__cdecl=
23 LinuxSampler_la_LDFLAGS += -Wl,--defsym -Wl,main=VSTPluginMain
24 endif
25
26 endif

  ViewVC Help
Powered by ViewVC