Skip to content

Commit

Permalink
Allow to set which formats to build
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed May 12, 2017
1 parent 6f52e70 commit b6a9b3d
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
11 changes: 10 additions & 1 deletion plugins/AmplitudeImposer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,35 @@ include ../Makefile.mk
# --------------------------------------------------------------
# Enable all possible plugin types

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
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)

Expand Down
11 changes: 10 additions & 1 deletion plugins/CycleShifter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,35 @@ include ../Makefile.mk
# --------------------------------------------------------------
# Enable all possible plugin types

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
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)

Expand Down
11 changes: 11 additions & 0 deletions plugins/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 10 additions & 1 deletion plugins/SoulForce/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,35 @@ include ../Makefile.mk
# --------------------------------------------------------------
# Enable all possible plugin types

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
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)

Expand Down

0 comments on commit b6a9b3d

Please sign in to comment.