Allow to set which formats to build

This commit is contained in:
falkTX 2017-05-12 19:29:05 +01:00
parent 085172b25a
commit b4e124bd6c
2 changed files with 16 additions and 2 deletions

View File

@ -12,6 +12,16 @@ ifeq ($(OBJS_UI),)
HAVE_DGL = false HAVE_DGL = false
endif endif
# --------------------------------------------------------------
# Set which plugin formats to build
BUILD_JACK = true
ifeq ($(LINUX),true)
BUILD_DSSI = true
endif
BUILD_LV2 = true
BUILD_VST2 = true
# -------------------------------------------------------------- # --------------------------------------------------------------
# Basic setup # Basic setup

View File

@ -27,13 +27,13 @@ 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_DSSI),true)
TARGETS += dssi_dsp TARGETS += dssi_dsp
ifeq ($(HAVE_DGL),true) ifeq ($(HAVE_DGL),true)
ifeq ($(HAVE_LIBLO),true) ifeq ($(HAVE_LIBLO),true)
@ -42,13 +42,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)