From 9b6fea43f0c77660e11b5c41fe0b63b2030867d9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 19 Jul 2019 20:00:21 +0200 Subject: Make UIClass controllable from commandline. --- plugin/Makefile.am | 26 +++++++++++++++++++++++++- plugin/plugingizmo | 2 +- 2 files changed, 26 insertions(+), 2 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 index 0068464..995bbf3 160000 --- a/plugin/plugingizmo +++ b/plugin/plugingizmo @@ -1 +1 @@ -Subproject commit 0068464609cc5c2e6690ff9ffd8ebba2f3b90011 +Subproject commit 995bbf3352134f19aff227be26c38a55942527eb -- cgit v1.2.3