summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-06-08 11:18:23 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-06-08 11:18:23 +0200
commitc932449877e7f591ecce1a814c2ce7a3b662a52d (patch)
tree56bcaef596120e1bcbc055042ec58ae011583690 /vst
parenta07c6a9c3850b039565a4394feed24a548739229 (diff)
Build vstsdk files without warnings turning to errors...
Diffstat (limited to 'vst')
-rw-r--r--vst/Makefile.am22
1 files changed, 15 insertions, 7 deletions
diff --git a/vst/Makefile.am b/vst/Makefile.am
index bfc7b65..a780840 100644
--- a/vst/Makefile.am
+++ b/vst/Makefile.am
@@ -8,11 +8,7 @@ VST_SOURCES = \
${VST_SRC_BASE}/audioeffect.cpp \
${VST_SRC_BASE}/vstplugmain.cpp
-AM_CPPFLAGS = -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)
+AM_CPPFLAGS = -I$(top_srcdir)/hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX
EXTRA_DIST = \
Makefile.mingw32 \
@@ -28,11 +24,18 @@ plugindir = $(prefix)/vst
plugin_LTLIBRARIES =
if ENABLE_VST
+noinst_LIBRARIES = libdgvst.a
plugin_LTLIBRARIES += libdrumgizmo.la
endif
+libdgvst_a_SOURCES = \
+ $(VST_SOURCES)
+
+libdgvst_a_CXXFLAGS = $(VST_CPPFLAGS) -Wno-error=write-strings
+
+
+
libdrumgizmo_la_SOURCES = \
- $(VST_SOURCES) \
$(DRUMGIZMO_SOURCES) \
$(PLUGIN_GUI_SOURCES) \
drumgizmo_vst.cc \
@@ -40,5 +43,10 @@ libdrumgizmo_la_SOURCES = \
output_vst.cc
libdrumgizmo_la_LDFLAGS = -shared -no-undefined
-libdrumgizmo_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS)
+libdrumgizmo_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS) libdgvst.a
+libdrumgizmo_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)