diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-05 17:54:56 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-05 18:59:46 +0100 |
commit | 83ac2a8d259bb07f8cc754d8eacd0a63217d713c (patch) | |
tree | ffe220c05372b237623b4e8211262ccd6437b82f /plugin | |
parent | 50d510c6e66673849ff1eabbe9a8d6f9e363b1fc (diff) |
Compile engine as a library.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/Makefile.am | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am index c6c9f1a..2b4ff3e 100644 --- a/plugin/Makefile.am +++ b/plugin/Makefile.am @@ -1,8 +1,5 @@ SUBDIRS = vst -#include $(top_srcdir)/plugingui/Makefile.am.plugingui -include $(top_srcdir)/src/Makefile.am.drumgizmo - ####### # LV2 @@ -14,18 +11,23 @@ lv2plugin_DATA = manifest.ttl drumgizmo.ttl endif drumgizmo_la_CXXFLAGS = -DLV2 -DLV2_PLUGIN_URI=\"http://drumgizmo.org/lv2\" \ - -I$(top_srcdir)/plugin/plugingizmo $(DRUMGIZMO_CPPFLAGS) \ - -I$(top_srcdir)/plugingui + $(LV2_CFLAGS) \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/plugin/plugingizmo \ + -I$(top_srcdir)/plugingui \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/hugin drumgizmo_la_SOURCES = \ - $(DRUMGIZMO_SOURCES) \ + $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginlv2.cc \ drumgizmo_plugin.cc drumgizmo_la_LDFLAGS = -shared -module -avoid-version -drumgizmo_la_LIBADD = $(LV2_LIBS) $(DRUMGIZMO_LIBS) \ - $(top_srcdir)/plugingui/libdggui.la +drumgizmo_la_LIBADD = $(LV2_LIBS) \ + $(top_srcdir)/plugingui/libdggui.la \ + $(top_srcdir)/src/libdg.la ####### @@ -38,18 +40,23 @@ vstplugin_DATA = endif drumgizmo_vst_la_CXXFLAGS = -DVST \ - -I$(top_srcdir)/plugin/plugingizmo $(DRUMGIZMO_CPPFLAGS) \ - $(VST_CPPFLAGS) -Ivst -I$(top_srcdir)/plugingui + -I$(top_srcdir)/include \ + -I$(top_srcdir)/plugin/plugingizmo \ + -I$(top_srcdir)/plugingui \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/hugin \ + $(VST_CPPFLAGS) -Ivst drumgizmo_vst_la_SOURCES = \ - $(DRUMGIZMO_SOURCES) \ + $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginvst.cc \ drumgizmo_plugin.cc drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version -drumgizmo_vst_la_LIBADD = vst/libvstsdk.la $(DRUMGIZMO_LIBS) \ - $(top_srcdir)/plugingui/libdggui.la +drumgizmo_vst_la_LIBADD = vst/libvstsdk.la \ + $(top_srcdir)/plugingui/libdggui.la \ + $(top_srcdir)/src/libdg.la install-exec-hook: |