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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1842 by persson, Sat Feb 21 16:11:17 2009 UTC revision 2208 by persson, Mon Jul 18 08:18:21 2011 UTC
# Line 2  if HAVE_VST Line 2  if HAVE_VST
2    
3  plugindir = $(libdir)/vst  plugindir = $(libdir)/vst
4  plugin_LTLIBRARIES = LinuxSampler.la  plugin_LTLIBRARIES = LinuxSampler.la
5  INCLUDES = -I@VSTSDK_DIR@ -I@VSTSDK_DIR@/public.sdk/source/vst2.x $(GIG_CFLAGS)  INCLUDES = -I$(VSTSDK_DIR) -I$(VSTSDK_DIR)/public.sdk/source/vst2.x \
6            $(GIG_CFLAGS) $(SQLITE3_CFLAGS)
7    
8  LinuxSampler_la_SOURCES = PluginVst.cpp PluginVst.h  LinuxSampler_la_SOURCES = PluginVst.cpp PluginVst.h
9  nodist_LinuxSampler_la_SOURCES = \  nodist_LinuxSampler_la_SOURCES = \
10          @VSTSDK_DIR@/public.sdk/source/vst2.x/audioeffectx.cpp \          $(VSTSDK_DIR)/public.sdk/source/vst2.x/audioeffectx.cpp \
11          @VSTSDK_DIR@/public.sdk/source/vst2.x/audioeffect.cpp \          $(VSTSDK_DIR)/public.sdk/source/vst2.x/audioeffect.cpp \
12          @VSTSDK_DIR@/public.sdk/source/vst2.x/vstplugmain.cpp          $(VSTSDK_DIR)/public.sdk/source/vst2.x/vstplugmain.cpp
13    
14  LinuxSampler_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,-s  LinuxSampler_la_LDFLAGS = -module -avoid-version -no-undefined
15  LinuxSampler_la_LIBADD = $(top_builddir)/src/liblinuxsampler.la  LinuxSampler_la_LIBADD = $(top_builddir)/src/liblinuxsampler.la
16    
 EXTRA_DIST = PluginVst.def  
   
17  if HAVE_WINDOWS  if HAVE_WINDOWS
18  LinuxSampler_la_LDFLAGS += -Wl,PluginVst.def  LinuxSampler_la_LDFLAGS += -Wl,$(srcdir)/PluginVst.def -Wl,-s
19  LinuxSampler_la_LIBADD += -lws2_32  LinuxSampler_la_LIBADD += -lws2_32
20  else  else
21  LinuxSampler_la_CPPFLAGS = -D__cdecl=  LinuxSampler_la_CPPFLAGS = -D__cdecl=
22    if LINUX
23    LinuxSampler_la_LDFLAGS += -Wl,--defsym -Wl,main=VSTPluginMain -Wl,-s
24    endif
25  endif  endif
26    
27    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 mkdir -p $(MAC_PLUGIN_INSTALL_DIR)/VST && \
42            test -w $(MAC_PLUGIN_INSTALL_DIR)/VST ; then \
43            cp -r LinuxSampler.vst $(MAC_PLUGIN_INSTALL_DIR)/VST/ ; \
44            if test -n "$(INSTALL_STRIP_FLAG)" ; then $(STRIP) -x $(MAC_PLUGIN_INSTALL_DIR)/VST/LinuxSampler.vst/Contents/MacOS/LinuxSampler ; fi ; fi
45    
46    uninstall-hook:
47            rm -rf $(MAC_PLUGIN_INSTALL_DIR)/VST/LinuxSampler.vst
48  endif  endif
49    
50    endif
51    
52    EXTRA_DIST = PluginVst.def PkgInfo Info.plist

Legend:
Removed from v.1842  
changed lines
  Added in v.2208

  ViewVC Help
Powered by ViewVC