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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1908 - (hide 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 persson 1777 if HAVE_VST
2    
3     plugindir = $(libdir)/vst
4     plugin_LTLIBRARIES = LinuxSampler.la
5 persson 1842 INCLUDES = -I@VSTSDK_DIR@ -I@VSTSDK_DIR@/public.sdk/source/vst2.x $(GIG_CFLAGS)
6    
7 persson 1777 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 persson 1897 LinuxSampler_la_LDFLAGS += -Wl,$(srcdir)/PluginVst.def
20 persson 1777 LinuxSampler_la_LIBADD += -lws2_32
21     else
22     LinuxSampler_la_CPPFLAGS = -D__cdecl=
23 persson 1908 LinuxSampler_la_LDFLAGS += -Wl,--defsym -Wl,main=VSTPluginMain
24 persson 1777 endif
25    
26     endif

  ViewVC Help
Powered by ViewVC