Add jack standalone target

This commit is contained in:
falkTX 2014-05-16 01:24:00 +01:00
parent f5988bece7
commit 7d9575c49c
2 changed files with 17 additions and 7 deletions

2
dpf

@ -1 +1 @@
Subproject commit c36e40930ffa64c6ab413c3104a0b947e1bc179b
Subproject commit b4ac0311058bd1626d00e83824ec98a23651d873

View File

@ -19,11 +19,12 @@ BUILD_CXX_FLAGS += -I. -I../../dpf/distrho -I../../dpf/dgl
# --------------------------------------------------------------
# Enable all possible plugin types
all: dssi lv2 vst
all: jack dssi lv2 vst
# --------------------------------------------------------------
# Set plugin binary file targets
jack = $(TARGET_DIR)/$(NAME)
dssi_dsp = $(TARGET_DIR)/$(NAME)-dssi.$(EXT)
dssi_ui = $(TARGET_DIR)/$(NAME)-dssi/$(NAME)_ui
lv2_dsp = $(TARGET_DIR)/$(NAME).lv2/$(NAME).$(EXT)
@ -55,6 +56,15 @@ clean:
rm -f *.o
rm -rf $(TARGET_DIR)/$(NAME)-* $(TARGET_DIR)/$(NAME).lv2/
# --------------------------------------------------------------
# JACK
jack: $(jack)
$(jack): $(OBJS_DSP) $(OBJS_UI) $(DISTRHO_PLUGIN_FILES) $(DISTRHO_UI_FILES)
mkdir -p $(shell dirname $@)
$(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) $(DGL_LIBS) $(shell pkg-config --libs jack) -lpthread -DDISTRHO_PLUGIN_TARGET_JACK -o $@
# --------------------------------------------------------------
# DSSI