/[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 2197 - (hide annotations) (download)
Sat Jul 2 09:55:42 2011 UTC (9 years ago) by persson
File size: 1488 byte(s)
* AU: changed number of output channels from one stereo to 16 stereo
* VST: made it possible to build the VST plugin for Mac
* AU: link AU plugin dynamically if --disable-shared isn't specified
* minor Makefile fix for building lscpparser when build and source
  directories are separate

1 persson 1777 if HAVE_VST
2    
3     plugindir = $(libdir)/vst
4     plugin_LTLIBRARIES = LinuxSampler.la
5 persson 2197 INCLUDES = -I$(VSTSDK_DIR) -I$(VSTSDK_DIR)/public.sdk/source/vst2.x \
6 persson 1923 $(GIG_CFLAGS) $(SQLITE3_CFLAGS)
7 persson 1842
8 persson 1777 LinuxSampler_la_SOURCES = PluginVst.cpp PluginVst.h
9     nodist_LinuxSampler_la_SOURCES = \
10 persson 2197 $(VSTSDK_DIR)/public.sdk/source/vst2.x/audioeffectx.cpp \
11     $(VSTSDK_DIR)/public.sdk/source/vst2.x/audioeffect.cpp \
12     $(VSTSDK_DIR)/public.sdk/source/vst2.x/vstplugmain.cpp
13 persson 1777
14 persson 2197 LinuxSampler_la_LDFLAGS = -module -avoid-version -no-undefined
15 persson 1777 LinuxSampler_la_LIBADD = $(top_builddir)/src/liblinuxsampler.la
16    
17     if HAVE_WINDOWS
18 persson 2197 LinuxSampler_la_LDFLAGS += -Wl,$(srcdir)/PluginVst.def -Wl,-s
19 persson 1777 LinuxSampler_la_LIBADD += -lws2_32
20     else
21     LinuxSampler_la_CPPFLAGS = -D__cdecl=
22 persson 2197 if LINUX
23     LinuxSampler_la_LDFLAGS += -Wl,--defsym -Wl,main=VSTPluginMain -Wl,-s
24 persson 1777 endif
25 persson 2197 endif
26 persson 1777
27 persson 2197 if MAC
28     all-local: LinuxSampler.vst
29    
30     LinuxSampler.vst: LinuxSampler.la $(srcdir)/Info.plist $(srcdir)/PkgInfo
31     mkdir -p LinuxSampler.vst/Contents/MacOS
32     cp $(srcdir)/Info.plist LinuxSampler.vst/Contents
33     cp $(srcdir)/PkgInfo LinuxSampler.vst/Contents
34     if test -f .libs/LinuxSampler.so ; then cp .libs/LinuxSampler.so LinuxSampler.vst/Contents/MacOS/LinuxSampler ; fi
35     @touch $@
36    
37     clean-local:
38     rm -rf LinuxSampler.vst
39    
40     install-exec-hook:
41     if test -w /Library/Audio/Plugin-Ins/VST ; then cp -r LinuxSampler.vst /Library/Audio/Plug-Ins/VST/ ; fi
42     uninstall-hook:
43     rm -rf /Library/Audio/Plug-Ins/VST/LinuxSampler.vst
44 persson 1777 endif
45 persson 2183
46 persson 2197 endif
47    
48     EXTRA_DIST = PluginVst.def PkgInfo Info.plist

  ViewVC Help
Powered by ViewVC