|
|
@@ -13,6 +13,11 @@ all: dgl plugins resources gen |
|
|
PREFIX ?= /usr/local |
|
|
PREFIX ?= /usr/local |
|
|
DESTDIR ?= |
|
|
DESTDIR ?= |
|
|
|
|
|
|
|
|
|
|
|
# -------------------------------------------------------------- |
|
|
|
|
|
# Check for system-wide projectM |
|
|
|
|
|
|
|
|
|
|
|
HAVE_PROJECTM = $(shell pkg-config --exists libprojectM && echo true) |
|
|
|
|
|
|
|
|
# -------------------------------------------------------------- |
|
|
# -------------------------------------------------------------- |
|
|
|
|
|
|
|
|
ifneq ($(CROSS_COMPILING),true) |
|
|
ifneq ($(CROSS_COMPILING),true) |
|
|
@@ -65,6 +70,7 @@ endif # HAVE_OPENGL |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_OPENGL),true) |
|
|
ifeq ($(HAVE_OPENGL),true) |
|
|
resources: gen |
|
|
resources: gen |
|
|
|
|
|
ifneq ($(HAVE_PROJECTM),true) |
|
|
# LV2 fonts |
|
|
# LV2 fonts |
|
|
install -d bin/ProM.lv2/resources/fonts |
|
|
install -d bin/ProM.lv2/resources/fonts |
|
|
ln -sf $(CURDIR)/plugins/ProM/projectM/fonts/*.ttf bin/ProM.lv2/resources/fonts/ |
|
|
ln -sf $(CURDIR)/plugins/ProM/projectM/fonts/*.ttf bin/ProM.lv2/resources/fonts/ |
|
|
@@ -94,6 +100,7 @@ endif |
|
|
# VST3 presets |
|
|
# VST3 presets |
|
|
install -d bin/ProM.vst3/Contents/Resources/presets |
|
|
install -d bin/ProM.vst3/Contents/Resources/presets |
|
|
ln -sf $(CURDIR)/plugins/ProM/projectM/presets/presets_* bin/ProM.vst3/Contents/Resources/presets/ |
|
|
ln -sf $(CURDIR)/plugins/ProM/projectM/presets/presets_* bin/ProM.vst3/Contents/Resources/presets/ |
|
|
|
|
|
endif |
|
|
else |
|
|
else |
|
|
resources: |
|
|
resources: |
|
|
endif |
|
|
endif |
|
|
|