Do not build VST3 for currently unsupported systems
This commit is contained in:
parent
eb95b5990c
commit
b7d4847e19
1 changed files with 14 additions and 0 deletions
14
Makefile
14
Makefile
|
@ -32,6 +32,14 @@ else
|
||||||
SYSDEPS ?= false
|
SYSDEPS ?= false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(LINUX),true)
|
||||||
|
VST3_SUPPORTED = true
|
||||||
|
else ifeq ($(MACOS),true)
|
||||||
|
VST3_SUPPORTED = true
|
||||||
|
else ifeq ($(WINDOWS),true)
|
||||||
|
VST3_SUPPORTED = true
|
||||||
|
endif
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Carla config
|
# Carla config
|
||||||
|
|
||||||
|
@ -249,9 +257,11 @@ install:
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/lv2/CardinalSynth.lv2
|
install -d $(DESTDIR)$(PREFIX)/lib/lv2/CardinalSynth.lv2
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst
|
install -d $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.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/Cardinal.vst3/Contents
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents
|
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents
|
install -d $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents
|
||||||
|
endif
|
||||||
install -d $(DESTDIR)$(PREFIX)/share/cardinal
|
install -d $(DESTDIR)$(PREFIX)/share/cardinal
|
||||||
install -d $(DESTDIR)$(PREFIX)/share/doc/cardinal/docs
|
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/CardinalFX.vst/*.* $(DESTDIR)$(PREFIX)/lib/vst/CardinalFX.vst/
|
||||||
install -m 644 bin/CardinalSynth.vst/*.* $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.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/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/CardinalFX.vst3/Contents/*-* $(DESTDIR)$(PREFIX)/lib/vst3/CardinalFX.vst3/Contents/
|
||||||
cp -rL bin/CardinalSynth.vst3/Contents/*-* $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.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/
|
install -m 755 bin/Cardinal$(APP_EXT) $(DESTDIR)$(PREFIX)/bin/
|
||||||
cp -rL bin/Cardinal.lv2/resources/* $(DESTDIR)$(PREFIX)/share/cardinal/
|
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/CardinalFX.vst/resources
|
||||||
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst/CardinalSynth.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/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/CardinalFX.vst3/Contents/Resources
|
||||||
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents/Resources
|
ln -sf $(PREFIX)/share/cardinal $(DESTDIR)$(PREFIX)/lib/vst3/CardinalSynth.vst3/Contents/Resources
|
||||||
|
endif
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Tarball step, for releases
|
# Tarball step, for releases
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue