/[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 2420 - (hide annotations) (download)
Sun Feb 24 08:59:25 2013 UTC (11 years, 1 month ago) by persson
File size: 1727 byte(s)
* removed usage of deprecated Automake variable INCLUDES
* ASIO driver: removed compiler warnings

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

  ViewVC Help
Powered by ViewVC