Browse Source

Add jack standalone target

pull/5/head
falkTX 11 years ago
parent
commit
7d9575c49c
2 changed files with 17 additions and 7 deletions
  1. +1
    -1
      dpf
  2. +16
    -6
      plugins/Makefile.mk

+ 1
- 1
dpf

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

+ 16
- 6
plugins/Makefile.mk View File

@@ -19,16 +19,17 @@ 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

dssi_dsp = $(TARGET_DIR)/$(NAME)-dssi.$(EXT)
dssi_ui = $(TARGET_DIR)/$(NAME)-dssi/$(NAME)_ui
lv2_dsp = $(TARGET_DIR)/$(NAME).lv2/$(NAME).$(EXT)
lv2_ui = $(TARGET_DIR)/$(NAME).lv2/$(NAME)_ui.$(EXT)
vst = $(TARGET_DIR)/$(NAME)-vst.$(EXT)
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)
lv2_ui = $(TARGET_DIR)/$(NAME).lv2/$(NAME)_ui.$(EXT)
vst = $(TARGET_DIR)/$(NAME)-vst.$(EXT)

ifeq ($(WIN32),true)
dssi_ui += .exe
@@ -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



Loading…
Cancel
Save