Browse Source

Add 'make config' option, which will print available features

tags/1.9.4
falkTX 11 years ago
parent
commit
0218f8e885
3 changed files with 94 additions and 1 deletions
  1. +5
    -0
      Makefile
  2. +88
    -0
      source/backend/Makefile
  3. +1
    -1
      source/backend/Makefile.mk

+ 5
- 0
Makefile View File

@@ -124,6 +124,11 @@ clean:

# -------------------------------------------------------------------------------------------------------------------------------------

config:
$(MAKE) config -C source/backend

# -------------------------------------------------------------------------------------------------------------------------------------

debug:
$(MAKE) DEBUG=true



+ 88
- 0
source/backend/Makefile View File

@@ -4,6 +4,8 @@
# Created by falkTX
#

include ../Makefile.mk

# --------------------------------------------------------------

all:
@@ -29,3 +31,89 @@ debug:

doc: CarlaBackend.doxygen
doxygen $^

# --------------------------------------------------------------

ANS_NO=\033[31m NO \033[0m
ANS_YES=\033[32m YES \033[0m

config:
@echo "\033[33m||| Engine drivers: \033[0m"
ifeq ($(HAVE_ALSA),true)
@echo "ALSA: $(ANS_YES)"
else
@echo "ALSA: $(ANS_NO)"
endif
ifeq ($(HAVE_JACK),true)
@echo "JACK: $(ANS_YES)"
else
@echo "JACK: $(ANS_NO)"
endif
ifeq ($(HAVE_PULSEAUDIO),true)
@echo "PulseAudio:$(ANS_YES)"
else
@echo "PulseAudio:$(ANS_NO)"
endif
@echo ""

@echo "\033[33m||| Plugin formats: \033[0m"
@echo "Internal:$(ANS_YES)"
ifeq ($(CARLA_PLUGIN_SUPPORT),true)
@echo "LADSPA: $(ANS_YES)"
@echo "DSSI: $(ANS_YES)"
@echo "LV2: $(ANS_NO) (to be re-implemented soon)"
@echo "VST: $(ANS_YES)"
else
@echo "LADSPA: $(ANS_NO)"
@echo "DSSI: $(ANS_NO)"
@echo "LV2: $(ANS_NO)"
@echo "VST: $(ANS_NO)"
endif
@echo ""

@echo "\033[33m||| Sample formats: \033[0m"
ifeq ($(HAVE_LINUXSAMPLER),true)
@echo "GIG:$(ANS_YES)"
else
@echo "GIG:$(ANS_NO)"
endif
ifeq ($(HAVE_FLUIDSYNTH),true)
@echo "SF2:$(ANS_YES)"
else
@echo "SF2:$(ANS_NO)"
endif
ifeq ($(HAVE_LINUXSAMPLER),true)
@echo "SFZ:$(ANS_YES)"
else
@echo "SFZ:$(ANS_NO)"
endif
@echo ""

@echo "\033[33m||| Internal plugins: \033[0m"
ifeq ($(HAVE_AF_DEPS),true)
@echo "AudioFile: $(ANS_YES)"
else
@echo "AudioFIle: $(ANS_NO)"
endif

ifeq ($(HAVE_MF_DEPS),true)
@echo "MidiFile: $(ANS_YES)"
else
@echo "MidiFile: $(ANS_NO)"
endif

ifeq ($(HAVE_OPENGL),true)
@echo "DISTRHO: $(ANS_YES)"
else
@echo "DISTRHO: $(ANS_NO)"
endif

ifeq ($(HAVE_ZYN_DEPS),true)
ifeq ($(HAVE_ZYN_UI_DEPS),true)
@echo "ZynAddSubFX:$(ANS_YES) (with UI)"
else
@echo "ZynAddSubFX:$(ANS_YES) (without UI)"
endif
else
@echo "ZynAddSubFX:$(ANS_NO)"
endif

+ 1
- 1
source/backend/Makefile.mk View File

@@ -35,7 +35,7 @@ BUILD_CXX_FLAGS += -DWANT_JACK
endif

ifeq ($(HAVE_JACK_LATENCY),true)
BUILD_CXX_FLAGS += -DWANT_JACK_LATENCY
# BUILD_CXX_FLAGS += -DWANT_JACK_LATENCY # unfinished
endif

ifeq ($(HAVE_JACK2),true)


Loading…
Cancel
Save