summaryrefslogtreecommitdiff
path: root/plugin/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-13 17:36:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-13 17:36:07 +0100
commit0e6d94e02e754a6448e90fa139221f1f660d8a0d (patch)
tree4b879b518b75833c4e8c97266d49b7dcb70683d0 /plugin/Makefile.am
parent948e2a04f446109c369e28580c6193027685d3e8 (diff)
Initial version of DG plugin with plugingizmo wrapper code. So far only for LV2.
Diffstat (limited to 'plugin/Makefile.am')
-rw-r--r--plugin/Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
new file mode 100644
index 0000000..21cd9eb
--- /dev/null
+++ b/plugin/Makefile.am
@@ -0,0 +1,37 @@
+include $(top_srcdir)/plugingui/Makefile.am.plugingui
+include $(top_srcdir)/src/Makefile.am.drumgizmo
+
+plugindir = $(libdir)/lv2/drumgizmo.lv2
+
+if ENABLE_LV2
+plugin_LTLIBRARIES = drumgizmo.la
+endif
+
+plugin_DATA = manifest.ttl drumgizmo.ttl
+
+EXTRA_DIST = \
+ $(plugin_DATA) \
+ input_lv2.h \
+ output_lv2.h \
+ lv2_event.h \
+ lv2_gui.h \
+ lv2_instance.h
+
+drumgizmo_la_CXXFLAGS = -I$(top_srcdir)/plugin/plugingizmo -I$(top_srcdir)/src \
+ -I$(top_srcdir)/plugingui \
+ -DLV2 -DX11 -DLV2_PLUGIN_URI=\"http://drumgizmo.org/lv2\" \
+ -I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
+ $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(LV2_CFLAGS) \
+ $(PLUGIN_GUI_CFLAGS) $(SSEFLAGS) $(ZITA_CPPFLAGS) \
+ -DUSE_THREAD $(SAMPLERATE_CFLAGS)
+
+drumgizmo_la_SOURCES = \
+ $(DRUMGIZMO_SOURCES) \
+ $(PLUGIN_GUI_SOURCES) \
+ $(top_srcdir)/plugin/plugingizmo/midievent.cc \
+ $(top_srcdir)/plugin/plugingizmo/pluginlv2.cc \
+ drumgizmo_plugin.cc
+
+drumgizmo_la_LDFLAGS = -module -avoid-version
+drumgizmo_la_LIBADD = $(LV2_LIBS) $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS)
+