@@ -27,14 +27,17 @@ include ../Makefile.mk | |||||
# -------------------------------------------------------------- | # -------------------------------------------------------------- | ||||
# Enable all possible plugin types | # Enable all possible plugin types | ||||
ifeq ($(HAVE_DGL),true) | |||||
ifeq ($(BUILD_JACK),true) | |||||
ifeq ($(HAVE_JACK),true) | ifeq ($(HAVE_JACK),true) | ||||
TARGETS += jack | TARGETS += jack | ||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(LINUX),true) | |||||
ifeq ($(BUILD_LADSPA),true) | |||||
TARGETS += ladspa | TARGETS += ladspa | ||||
endif | |||||
ifeq ($(BUILD_DSSI),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
ifeq ($(HAVE_LIBLO),true) | ifeq ($(HAVE_LIBLO),true) | ||||
TARGETS += dssi | TARGETS += dssi | ||||
@@ -42,13 +45,17 @@ endif | |||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(BUILD_LV2),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
TARGETS += lv2_sep | TARGETS += lv2_sep | ||||
else | else | ||||
TARGETS += lv2_dsp | TARGETS += lv2_dsp | ||||
endif | endif | ||||
endif | |||||
ifeq ($(BUILD_VST),true) | |||||
TARGETS += vst | TARGETS += vst | ||||
endif | |||||
all: $(TARGETS) | all: $(TARGETS) | ||||
@@ -27,14 +27,17 @@ include ../Makefile.mk | |||||
# -------------------------------------------------------------- | # -------------------------------------------------------------- | ||||
# Enable all possible plugin types | # Enable all possible plugin types | ||||
ifeq ($(HAVE_DGL),true) | |||||
ifeq ($(BUILD_JACK),true) | |||||
ifeq ($(HAVE_JACK),true) | ifeq ($(HAVE_JACK),true) | ||||
TARGETS += jack | TARGETS += jack | ||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(LINUX),true) | |||||
ifeq ($(BUILD_LADSPA),true) | |||||
TARGETS += ladspa | TARGETS += ladspa | ||||
endif | |||||
ifeq ($(BUILD_DSSI),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
ifeq ($(HAVE_LIBLO),true) | ifeq ($(HAVE_LIBLO),true) | ||||
TARGETS += dssi | TARGETS += dssi | ||||
@@ -42,13 +45,17 @@ endif | |||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(BUILD_LV2),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
TARGETS += lv2_sep | TARGETS += lv2_sep | ||||
else | else | ||||
TARGETS += lv2_dsp | TARGETS += lv2_dsp | ||||
endif | endif | ||||
endif | |||||
ifeq ($(BUILD_VST),true) | |||||
TARGETS += vst | TARGETS += vst | ||||
endif | |||||
all: $(TARGETS) | all: $(TARGETS) | ||||
@@ -12,6 +12,17 @@ ifeq ($(OBJS_UI),) | |||||
HAVE_DGL = false | HAVE_DGL = false | ||||
endif | 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 | # Basic setup | ||||
@@ -27,14 +27,17 @@ include ../Makefile.mk | |||||
# -------------------------------------------------------------- | # -------------------------------------------------------------- | ||||
# Enable all possible plugin types | # Enable all possible plugin types | ||||
ifeq ($(HAVE_DGL),true) | |||||
ifeq ($(BUILD_JACK),true) | |||||
ifeq ($(HAVE_JACK),true) | ifeq ($(HAVE_JACK),true) | ||||
TARGETS += jack | TARGETS += jack | ||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(LINUX),true) | |||||
ifeq ($(BUILD_LADSPA),true) | |||||
TARGETS += ladspa | TARGETS += ladspa | ||||
endif | |||||
ifeq ($(BUILD_DSSI),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
ifeq ($(HAVE_LIBLO),true) | ifeq ($(HAVE_LIBLO),true) | ||||
TARGETS += dssi | TARGETS += dssi | ||||
@@ -42,13 +45,17 @@ endif | |||||
endif | endif | ||||
endif | endif | ||||
ifeq ($(BUILD_LV2),true) | |||||
ifeq ($(HAVE_DGL),true) | ifeq ($(HAVE_DGL),true) | ||||
TARGETS += lv2_sep | TARGETS += lv2_sep | ||||
else | else | ||||
TARGETS += lv2_dsp | TARGETS += lv2_dsp | ||||
endif | endif | ||||
endif | |||||
ifeq ($(BUILD_VST),true) | |||||
TARGETS += vst | TARGETS += vst | ||||
endif | |||||
all: $(TARGETS) | all: $(TARGETS) | ||||