diff options
Diffstat (limited to 'vst/Makefile.am')
-rw-r--r-- | vst/Makefile.am | 37 |
1 files changed, 36 insertions, 1 deletions
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) + |