From 0894c93aa851826b712c51a36d2390fe030d1073 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 5 Jun 2014 18:53:20 +0200 Subject: Experimentally add VST to autotools (probably highly broken) --- vst/Makefile.am | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'vst/Makefile.am') diff --git a/vst/Makefile.am b/vst/Makefile.am index 9a448a2..427c3dd 100644 --- a/vst/Makefile.am +++ b/vst/Makefile.am @@ -1,3 +1,20 @@ +include $(top_srcdir)/plugingui/Makefile.am.plugingui +include $(top_srcdir)/src/Makefile.am.drumgizmo + +VST_BASE = vstsdk2.4 +VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/ +VST_SRC = \ + ${VST_SRC_BASE}/audioeffectx.cpp \ + ${VST_SRC_BASE}/audioeffect.cpp \ + ${VST_SRC_BASE}/vstplugmain.cpp +VST_CPPFLAGS=-I$(VST_BASE) + +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) + EXTRA_DIST = \ Makefile.mingw32 \ constants.h \ @@ -6,4 +23,22 @@ EXTRA_DIST = \ input_vst.cc \ input_vst.h \ output_vst.cc \ - output_vst.h \ No newline at end of file + output_vst.h + +plugin_LTLIBRARIES = + +if ENABLE_VST +plugin_LTLIBRARIES += drumgizmo.la +endif + +drumgizmo_la_SOURCES = \ + $(VST_SOURCES) \ + $(DRUMGIZMO_SOURCES) \ + $(PLUGIN_GUI_SOURCES) \ + drumgizmo_vst.cc \ + input_vst.cc \ + output_vst.cc + +drumgizmo_la_LDFLAGS = -static -static-libgcc -mno-cygwin -module -avoid-version +drumgizmo_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS) + -- cgit v1.2.3