summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-07-19 20:00:21 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-07-19 20:00:21 +0200
commit9b6fea43f0c77660e11b5c41fe0b63b2030867d9 (patch)
treef96cfdf9ecef47694895ebc1fe8e68814cd4177a
parenta031d63f1e86c2fd811c584c1cf7b0e4d5e23b20 (diff)
Make UIClass controllable from commandline.
-rw-r--r--plugin/Makefile.am26
m---------plugin/plugingizmo0
2 files changed, 25 insertions, 1 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 7751154..6c0d324 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -41,8 +41,32 @@ ttlgen_LDFLAGS = $(DL_LIBS)
ttlgen_SOURCES = \
$(top_srcdir)/plugin/plugingizmo/ttlgen.cc
+if ENABLE_X11
+UITYPE=X11UI
+endif
+
+if ENABLE_WIN32
+UITYPE=WindowsUI
+endif
+
+if ENABLE_COCOA
+UITYPE=CocoaUI
+endif
+
+if ENABLE_PUGL_X11
+UITYPE=X11UI
+endif
+
+if ENABLE_PUGL_WIN32
+UITYPE=WindowsUI
+endif
+
+if ENABLE_PUGL_COCOA
+UITYPE=CocoaUI
+endif
+
manifest.ttl : ttlgen drumgizmo.la
- ./ttlgen .libs/drumgizmo.so manifest.ttl
+ ./ttlgen .libs/drumgizmo.so manifest.ttl $(UITYPE)
#######
diff --git a/plugin/plugingizmo b/plugin/plugingizmo
-Subproject 0068464609cc5c2e6690ff9ffd8ebba2f3b9001
+Subproject 995bbf3352134f19aff227be26c38a55942527e