summaryrefslogtreecommitdiff
path: root/lv2/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:37:57 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:37:57 +0100
commit8cd3f1729a417d933744cf64e2adf78dc07e265c (patch)
tree8d677dced9b5efcb670dd3b04d7426a56e1ff96d /lv2/Makefile.am
parent4a4d0a84bb1b80555052f59c1a4addc870ce5fda (diff)
Make plugin store its state. Connect state and GUI (and use GUI)
Diffstat (limited to 'lv2/Makefile.am')
-rw-r--r--lv2/Makefile.am31
1 files changed, 10 insertions, 21 deletions
diff --git a/lv2/Makefile.am b/lv2/Makefile.am
index a57fa97..b6d1263 100644
--- a/lv2/Makefile.am
+++ b/lv2/Makefile.am
@@ -1,7 +1,8 @@
if ENABLE_LV2
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
- $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(LV2_CFLAGS)
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/plugingui \
+ -I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
+ $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(LV2_CFLAGS) -DX11 -DSSE -msse -msse2 -msse3
plugindir = $(libdir)/lv2/drumgizmo.lv2
plugin_LTLIBRARIES = drumgizmo.la
@@ -14,29 +15,17 @@ EXTRA_DIST = \
lv2_event.h \
event-helpers.h
+include $(top_srcdir)/plugingui/Makefile.am.plugingui
+include $(top_srcdir)/src/Makefile.am.drumgizmo
drumgizmo_la_SOURCES = \
+ $(DRUMGIZMO_SOURCES) \
+ $(PLUGIN_GUI_SOURCES) \
lv2.cc \
+ lv2_gui.cc \
input_lv2.cc \
- output_lv2.cc \
- $(top_srcdir)/src/audiofile.cc \
- $(top_srcdir)/src/channel.cc \
- $(top_srcdir)/src/channelmixer.cc \
- $(top_srcdir)/src/configuration.cc \
- $(top_srcdir)/src/drumgizmo.cc \
- $(top_srcdir)/src/drumkit.cc \
- $(top_srcdir)/src/drumkitparser.cc \
- $(top_srcdir)/src/events.cc \
- $(top_srcdir)/src/instrument.cc \
- $(top_srcdir)/src/instrumentparser.cc \
- $(top_srcdir)/src/midimapparser.cc \
- $(top_srcdir)/src/midimapper.cc \
- $(top_srcdir)/src/mutex.cc \
- $(top_srcdir)/src/path.cc \
- $(top_srcdir)/src/sample.cc \
- $(top_srcdir)/src/saxparser.cc \
- $(top_srcdir)/src/velocity.cc
+ output_lv2.cc
drumgizmo_la_LDFLAGS = -module -avoid-version
-drumgizmo_la_LIBADD = $(SNDFILE_LIBS) $(EXPAT_LIBS) $(LV2_LIBS) -lX11
+drumgizmo_la_LIBADD = $(LV2_LIBS) $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS)
endif