|
|
@@ -32,6 +32,14 @@ else |
|
|
|
SYSDEPS ?= false |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(LINUX),true) |
|
|
|
VST3_SUPPORTED = true |
|
|
|
else ifeq ($(MACOS),true) |
|
|
|
VST3_SUPPORTED = true |
|
|
|
else ifeq ($(WINDOWS),true) |
|
|
|
VST3_SUPPORTED = true |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------- |
|
|
|
# Carla config |
|
|
|
|
|
|
@@ -249,9 +257,11 @@ install: |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/lv2/CardinalSynth.lv2 |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.vst |
|
|
|
ifeq ($(VST3_SUPPORTED),true) |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/vst3/Cardinal.vst3/Contents |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents |
|
|
|
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents |
|
|
|
endif |
|
|
|
install -d $(DESTDIR)$(PREFIX)/share/cardinal |
|
|
|
install -d $(DESTDIR)$(PREFIX)/share/doc/cardinal/docs |
|
|
|
|
|
|
@@ -262,9 +272,11 @@ install: |
|
|
|
install -m 644 bin/CardinalFX.vst/*.* $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst/ |
|
|
|
install -m 644 bin/CardinalSynth.vst/*.* $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.vst/ |
|
|
|
|
|
|
|
ifeq ($(VST3_SUPPORTED),true) |
|
|
|
cp -rL bin/Cardinal.vst3/Contents/*-* $(DESTDIR)$(PREFIX)/lib/vst3/Cardinal.vst3/Contents/ |
|
|
|
cp -rL bin/CardinalFX.vst3/Contents/*-* $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents/ |
|
|
|
cp -rL bin/CardinalSynth.vst3/Contents/*-* $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents/ |
|
|
|
endif |
|
|
|
|
|
|
|
install -m 755 bin/Cardinal$(APP_EXT) $(DESTDIR)$(PREFIX)/bin/ |
|
|
|
cp -rL bin/Cardinal.lv2/resources/* $(DESTDIR)$(PREFIX)/share/cardinal/ |
|
|
@@ -279,9 +291,11 @@ install: |
|
|
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst/resources |
|
|
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.vst/resources |
|
|
|
|
|
|
|
ifeq ($(VST3_SUPPORTED),true) |
|
|
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst3/Cardinal.vst3/Contents/Resources |
|
|
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents/Resources |
|
|
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents/Resources |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------- |
|
|
|
# Tarball step, for releases |
|
|
|