summaryrefslogtreecommitdiff
path: root/plugins/ZamGateX2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamGateX2/Makefile')
-rw-r--r--plugins/ZamGateX2/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/plugins/ZamGateX2/Makefile b/plugins/ZamGateX2/Makefile
index 50803ad..479f1d4 100644
--- a/plugins/ZamGateX2/Makefile
+++ b/plugins/ZamGateX2/Makefile
@@ -27,10 +27,29 @@ include ../Makefile.mk
# --------------------------------------------------------------
# Enable all possible plugin types
+ifeq ($(HAVE_DGL),true)
+ifeq ($(HAVE_JACK),true)
+TARGETS += jack
+endif
+endif
+
ifeq ($(LINUX),true)
-all: jack ladspa dssi lv2_sep vst
+TARGETS += ladspa
+ifeq ($(HAVE_DGL),true)
+ifeq ($(HAVE_LIBLO),true)
+TARGETS += dssi
+endif
+endif
+endif
+
+ifeq ($(HAVE_DGL),true)
+TARGETS += lv2_sep
else
-all: ladspa vst
+TARGETS += lv2_dsp
endif
+TARGETS += vst
+
+all: $(TARGETS)
+
# --------------------------------------------------------------