summaryrefslogtreecommitdiff
path: root/plugin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/Makefile.am')
-rw-r--r--plugin/Makefile.am26
1 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)
#######