diff --git a/plugins/3BandEQ/Makefile b/plugins/3BandEQ/Makefile index 33c6f0f..4c6abb1 100644 --- a/plugins/3BandEQ/Makefile +++ b/plugins/3BandEQ/Makefile @@ -27,14 +27,17 @@ include ../Makefile.mk # -------------------------------------------------------------- # Enable all possible plugin types -ifeq ($(HAVE_DGL),true) +ifeq ($(BUILD_JACK),true) ifeq ($(HAVE_JACK),true) TARGETS += jack endif endif -ifeq ($(LINUX),true) +ifeq ($(BUILD_LADSPA),true) TARGETS += ladspa +endif + +ifeq ($(BUILD_DSSI),true) ifeq ($(HAVE_DGL),true) ifeq ($(HAVE_LIBLO),true) TARGETS += dssi @@ -42,13 +45,17 @@ endif endif endif +ifeq ($(BUILD_LV2),true) ifeq ($(HAVE_DGL),true) TARGETS += lv2_sep else TARGETS += lv2_dsp endif +endif +ifeq ($(BUILD_VST),true) TARGETS += vst +endif all: $(TARGETS) diff --git a/plugins/3BandSplitter/Makefile b/plugins/3BandSplitter/Makefile index 73a269b..224fcde 100644 --- a/plugins/3BandSplitter/Makefile +++ b/plugins/3BandSplitter/Makefile @@ -27,14 +27,17 @@ include ../Makefile.mk # -------------------------------------------------------------- # Enable all possible plugin types -ifeq ($(HAVE_DGL),true) +ifeq ($(BUILD_JACK),true) ifeq ($(HAVE_JACK),true) TARGETS += jack endif endif -ifeq ($(LINUX),true) +ifeq ($(BUILD_LADSPA),true) TARGETS += ladspa +endif + +ifeq ($(BUILD_DSSI),true) ifeq ($(HAVE_DGL),true) ifeq ($(HAVE_LIBLO),true) TARGETS += dssi @@ -42,13 +45,17 @@ endif endif endif +ifeq ($(BUILD_LV2),true) ifeq ($(HAVE_DGL),true) TARGETS += lv2_sep else TARGETS += lv2_dsp endif +endif +ifeq ($(BUILD_VST),true) TARGETS += vst +endif all: $(TARGETS) diff --git a/plugins/Makefile.mk b/plugins/Makefile.mk index 00d82fa..91c6828 100644 --- a/plugins/Makefile.mk +++ b/plugins/Makefile.mk @@ -12,6 +12,17 @@ ifeq ($(OBJS_UI),) HAVE_DGL = false endif +# -------------------------------------------------------------- +# Set which plugin formats to build + +BUILD_JACK = true +ifeq ($(LINUX),true) +BUILD_LADSPA = true +BUILD_DSSI = true +endif +BUILD_LV2 = true +BUILD_VST2 = true + # -------------------------------------------------------------- # Basic setup diff --git a/plugins/PingPongPan/Makefile b/plugins/PingPongPan/Makefile index 1e3cdcd..96059bf 100644 --- a/plugins/PingPongPan/Makefile +++ b/plugins/PingPongPan/Makefile @@ -27,14 +27,17 @@ include ../Makefile.mk # -------------------------------------------------------------- # Enable all possible plugin types -ifeq ($(HAVE_DGL),true) +ifeq ($(BUILD_JACK),true) ifeq ($(HAVE_JACK),true) TARGETS += jack endif endif -ifeq ($(LINUX),true) +ifeq ($(BUILD_LADSPA),true) TARGETS += ladspa +endif + +ifeq ($(BUILD_DSSI),true) ifeq ($(HAVE_DGL),true) ifeq ($(HAVE_LIBLO),true) TARGETS += dssi @@ -42,13 +45,17 @@ endif endif endif +ifeq ($(BUILD_LV2),true) ifeq ($(HAVE_DGL),true) TARGETS += lv2_sep else TARGETS += lv2_dsp endif +endif +ifeq ($(BUILD_VST),true) TARGETS += vst +endif all: $(TARGETS)