summaryrefslogtreecommitdiff
path: root/examples/CairoUI/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CairoUI/Makefile')
-rw-r--r--examples/CairoUI/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/examples/CairoUI/Makefile b/examples/CairoUI/Makefile
new file mode 100644
index 00000000..fc339040
--- /dev/null
+++ b/examples/CairoUI/Makefile
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+# Makefile for DISTRHO Plugins #
+# ---------------------------- #
+# Created by falkTX
+#
+
+# --------------------------------------------------------------
+# Project name, used for binaries
+
+NAME = d_cairoui
+
+# --------------------------------------------------------------
+# Files to build
+
+FILES_DSP = \
+ PluginMain.cc
+
+FILES_UI = \
+ DemoWidgetBanner.cc \
+ DemoWidgetClickable.cc \
+ PluginUI.cc
+
+# --------------------------------------------------------------
+# Do some magic
+
+UI_TYPE = cairo
+include ../../Makefile.plugins.mk
+
+# --------------------------------------------------------------
+# Enable all possible plugin types
+
+ifeq ($(HAVE_JACK),true)
+ifeq ($(HAVE_CAIRO),true)
+TARGETS += jack
+endif
+endif
+
+ifeq ($(LINUX),true)
+ifeq ($(HAVE_CAIRO),true)
+ifeq ($(HAVE_LIBLO),true)
+TARGETS += dssi
+endif
+endif
+endif
+
+ifeq ($(HAVE_CAIRO),true)
+TARGETS += lv2_sep
+else
+TARGETS += lv2_dsp
+endif
+
+TARGETS += vst
+
+all: $(TARGETS)
+
+# --------------------------------------------------------------