summaryrefslogtreecommitdiff
path: root/vst/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-10-12 21:19:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-10-12 21:19:48 +0200
commitadc6d371af2cf356578fee6be0711d6db7f31288 (patch)
tree969a2b081f5089168a798dd945a8e0b287d02f8d /vst/Makefile.am
parentfafc815d3b2f525e703ab9482a008201097ab90d (diff)
parent32d9c872e7abdaedb497e7403a44470676838ecb (diff)
Merge in from master.
Diffstat (limited to 'vst/Makefile.am')
-rw-r--r--vst/Makefile.am46
1 files changed, 45 insertions, 1 deletions
diff --git a/vst/Makefile.am b/vst/Makefile.am
index 9a448a2..e2a920c 100644
--- a/vst/Makefile.am
+++ b/vst/Makefile.am
@@ -1,3 +1,15 @@
+include $(top_srcdir)/plugingui/Makefile.am.plugingui
+include $(top_srcdir)/src/Makefile.am.drumgizmo
+
+VST_BASE = ${VST_SOURCE_PATH}
+VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/
+VST_SOURCES = \
+ ${VST_SRC_BASE}/audioeffectx.cpp \
+ ${VST_SRC_BASE}/audioeffect.cpp \
+ ${VST_SRC_BASE}/vstplugmain.cpp
+
+AM_CPPFLAGS = -I$(top_srcdir)/hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX
+
EXTRA_DIST = \
Makefile.mingw32 \
constants.h \
@@ -6,4 +18,36 @@ EXTRA_DIST = \
input_vst.cc \
input_vst.h \
output_vst.cc \
- output_vst.h \ No newline at end of file
+ output_vst.h
+
+plugindir = $(prefix)/vst
+plugin_LTLIBRARIES =
+
+if ENABLE_VST
+plugin_LTLIBRARIES += libdrumgizmo_vst.la
+noinst_LTLIBRARIES = libdg.la
+endif
+
+libdg_la_SOURCES = \
+ $(DRUMGIZMO_SOURCES) \
+ $(PLUGIN_GUI_SOURCES)
+
+libdg_la_LDFLAGS = -all-static -static -static-libgcc
+libdg_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS)
+libdg_la_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/plugingui \
+ -I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
+ $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(VST_CPPFLAGS) \
+ $(PLUGIN_GUI_CFLAGS) $(SSEFLAGS)\
+ -DUSE_THREAD $(SAMPLERATE_CFLAGS)
+
+libdrumgizmo_vst_la_SOURCES = \
+ $(VST_SOURCES) \
+ drumgizmo_vst.cc \
+ input_vst.cc \
+ output_vst.cc
+
+libdrumgizmo_vst_la_LDFLAGS = -no-undefined -shared
+libdrumgizmo_vst_la_LIBADD = libdg.la
+libdrumgizmo_vst_la_CXXFLAGS = -w $(VST_CPPFLAGS) \
+ -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/plugingui
+