diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-05 18:53:20 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-06-05 18:53:20 +0200 |
commit | 0894c93aa851826b712c51a36d2390fe030d1073 (patch) | |
tree | 1862221c8ce18180ec235808976b06f0e1c5ecd3 /vst/Makefile.am | |
parent | b91fe74814c2217072860611d0b9c2d645db6b9b (diff) |
Experimentally add VST to autotools (probably highly broken)
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) + |