|
|
@@ -1405,6 +1405,11 @@ ifneq ($(HEADLESS),true) |
|
|
|
$(MAKE) HEADLESS=true plugins-mini-headless.a |
|
|
|
endif |
|
|
|
|
|
|
|
mini: plugins-mini$(TARGET_SUFFIX).a |
|
|
|
ifneq ($(HEADLESS),true) |
|
|
|
$(MAKE) HEADLESS=true plugins-mini-headless.a |
|
|
|
endif |
|
|
|
|
|
|
|
clean: |
|
|
|
rm -f *.a |
|
|
|
rm -rf $(BUILD_DIR) |
|
|
@@ -1793,31 +1798,37 @@ MINIRESOURCE_FILES += surgext/res/xt/glyphs/lt_7.svg |
|
|
|
# MOD builds only have LV2 main and FX variant |
|
|
|
ifeq ($(MOD_BUILD),true) |
|
|
|
|
|
|
|
LV2_RESOURCES = $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json) |
|
|
|
MINI_RESOURCES = $(MINIPLUGIN_LIST:%=../bin/CardinalMini.lv2/resources/PluginManifests/%.json) |
|
|
|
MINI_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
LV2_RESOURCES = $(MINI_RESOURCES) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalFX.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(MINIPLUGIN_LIST:%=../bin/CardinalMini.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/Cardinal.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalFX.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
# MOD builds only have LV2 FX variant for now |
|
|
|
else ifeq ($(WASM),true) |
|
|
|
|
|
|
|
LV2_RESOURCES = $(PLUGIN_LIST:%=../bin/CardinalNative.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(MINIPLUGIN_LIST:%=../bin/CardinalMini.lv2/resources/PluginManifests/%.json) |
|
|
|
MINI_RESOURCES = $(MINIPLUGIN_LIST:%=../bin/CardinalMini.lv2/resources/PluginManifests/%.json) |
|
|
|
MINI_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
LV2_RESOURCES = $(MINI_RESOURCES) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalNative.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalNative.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
LV2_RESOURCES = $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalFX.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(MINIPLUGIN_LIST:%=../bin/CardinalMini.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
LV2_RESOURCES = $(MINI_RESOURCES) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/Cardinal.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalFX.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(PLUGIN_LIST:%=../bin/CardinalSynth.lv2/resources/PluginManifests/%.json) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/Cardinal.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalFX.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(RESOURCE_FILES:%=../bin/CardinalSynth.lv2/resources/%) |
|
|
|
LV2_RESOURCES += $(MINIRESOURCE_FILES:%=../bin/CardinalMini.lv2/resources/%) |
|
|
|
|
|
|
|
ifeq ($(MACOS),true) |
|
|
|
VST2_RESOURCES = $(PLUGIN_LIST:%=../bin/CardinalFX.vst/Contents/Resources/PluginManifests/%.json) |
|
|
@@ -1848,6 +1859,8 @@ endif |
|
|
|
|
|
|
|
resources: $(JACK_RESOURCES) $(LV2_RESOURCES) $(VST2_RESOURCES) $(VST3_RESOURCES) $(CLAP_RESOURCES) |
|
|
|
|
|
|
|
mini-resources: $(MINI_RESOURCES) |
|
|
|
|
|
|
|
../bin/Cardinal.lv2/resources/%: % |
|
|
|
-@mkdir -p "$(shell dirname $@)" |
|
|
|
$(SILENT)ln -sf $(abspath $<) $@ |
|
|
|