Browse Source

Print needed libs for "make config"

tags/1.9.4
falkTX 11 years ago
parent
commit
cd0bc3337f
3 changed files with 67 additions and 23 deletions
  1. +3
    -2
      source/Makefile.mk
  2. +63
    -20
      source/backend/Makefile
  3. +1
    -1
      source/widgets/Makefile

+ 3
- 2
source/Makefile.mk View File

@@ -13,14 +13,15 @@ STRIP ?= strip

DEBUG ?= false

BASE_FLAGS = -Wall -Wextra -fPIC
BASE_FLAGS = -Wall -Wextra -fPIC -fvisibility=hidden
BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -mfpmath=sse

ifeq ($(DEBUG),true)
BASE_FLAGS += -O0 -g
BASE_FLAGS += -DDEBUG
STRIP = true # FIXME
else
BASE_FLAGS += -O2 -ffast-math -mtune=generic -msse -mfpmath=sse
BASE_FLAGS += $(BASE_OPTS)
BASE_FLAGS += -DNDEBUG
endif



+ 63
- 20
source/backend/Makefile View File

@@ -36,23 +36,60 @@ doc: CarlaBackend.doxygen

ANS_NO=\033[31m NO \033[0m
ANS_YES=\033[32m YES \033[0m
mS=\033[33m[
mE=]\033[0m

config:
@echo "\033[33m||| Engine drivers: \033[0m"
ifeq ($(MACOS),true)
# --- MacOS ---
@echo "\033[36m||| Engine drivers: (MacOS)\033[0m"
@echo "JACK: $(ANS_YES)"
ifeq ($(CARLA_RTAUDIO_SUPPORT),true)
@echo "CoreAudio: $(ANS_YES)"
else
@echo "CoreAudio: $(ANS_NO) $(mS)RtAudio disabled$(mE)"
endif
@echo ""
# --- MacOS ---
else
# --- Win32 ---
ifeq ($(WIN32),true)
@echo "\033[36m||| Engine drivers: (Windows)\033[0m"
@echo "JACK: $(ANS_YES)"
ifeq ($(CARLA_RTAUDIO_SUPPORT),true)
@echo "ASIO: $(ANS_YES)"
@echo "DirectSound: $(ANS_YES)"
else
@echo "ASIO: $(ANS_NO) $(mS)RtAudio disabled$(mE)"
@echo "DirectSound: $(ANS_NO) $(mS)RtAudio disabled$(mE)"
endif
@echo ""
# --- Win32 ---
else
# --- Others ---
@echo "\033[36m||| Engine drivers: \033[0m"
@echo "JACK: $(ANS_YES)"
ifeq ($(CARLA_RTAUDIO_SUPPORT),true)
ifeq ($(HAVE_ALSA),true)
@echo "ALSA: $(ANS_YES)"
else
@echo "ALSA: $(ANS_NO)"
@echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
endif
@echo "JACK: $(ANS_YES)"
ifeq ($(HAVE_PULSEAUDIO),true)
@echo "PulseAudio:$(ANS_YES)"
else
@echo "PulseAudio:$(ANS_NO)"
@echo "PulseAudio:$(ANS_NO) $(mS)Missing PulseAudio$(mE)"
endif
else
@echo "ALSA: $(ANS_NO) $(mS)RtAudio disabled$(mE)"
@echo "PulseAudio:$(ANS_NO) $(mS)RtAudio disabled$(mE)"
endif
@echo ""
# --- Others ---
endif
endif

@echo "\033[33m||| Plugin formats: \033[0m"
@echo "\033[36m---> Plugin formats: \033[0m"
@echo "Internal:$(ANS_YES)"
ifeq ($(CARLA_PLUGIN_SUPPORT),true)
@echo "LADSPA: $(ANS_YES)"
@@ -60,60 +97,66 @@ ifeq ($(CARLA_PLUGIN_SUPPORT),true)
@echo "LV2: $(ANS_YES)"
@echo "VST: $(ANS_YES)"
else
@echo "LADSPA: $(ANS_NO)"
@echo "DSSI: $(ANS_NO)"
@echo "LV2: $(ANS_NO)"
@echo "VST: $(ANS_NO)"
@echo "LADSPA: $(ANS_NO) $(mS)Plugins disabled$(mE)"
@echo "DSSI: $(ANS_NO) $(mS)Plugins disabled$(mE)"
@echo "LV2: $(ANS_NO) $(mS)Plugins disabled$(mE)"
@echo "VST: $(ANS_NO) $(mS)Plugins disabled$(mE)"
endif
@echo ""

@echo "\033[33m||| Sample formats: \033[0m"
@echo "\033[36m---> Sample formats: \033[0m"
ifeq ($(CARLA_SAMPLERS_SUPPORT),true)
ifeq ($(HAVE_LINUXSAMPLER),true)
@echo "GIG:$(ANS_YES)"
else
@echo "GIG:$(ANS_NO)"
@echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
endif
ifeq ($(HAVE_FLUIDSYNTH),true)
@echo "SF2:$(ANS_YES)"
else
@echo "SF2:$(ANS_NO)"
@echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
endif
ifeq ($(HAVE_LINUXSAMPLER),true)
@echo "SFZ:$(ANS_YES)"
else
@echo "SFZ:$(ANS_NO)"
@echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
endif
else
@echo "GIG:$(ANS_NO) $(mS)Samplers disabled$(mE)"
@echo "SF2:$(ANS_NO) $(mS)Samplers disabled$(mE)"
@echo "SFZ:$(ANS_NO) $(mS)Samplers disabled$(mE)"
endif
@echo ""

@echo "\033[33m||| Internal plugins: \033[0m"
@echo "\033[36m---> Internal plugins: \033[0m"
ifeq ($(HAVE_AF_DEPS),true)
ifeq ($(HAVE_FFMPEG),true)
@echo "AudioFile: $(ANS_YES) (with ffmpeg)"
else
@echo "AudioFIle: $(ANS_YES) (without ffmpeg)"
@echo "AudioFIle: $(ANS_YES) (without ffmpeg) $(mS)ffmpeg/libav missing$(mE)"
endif
else
@echo "AudioFIle: $(ANS_NO)"
@echo "AudioFIle: $(ANS_NO) $(mS)libsndfile missing$(mE)"
endif

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

ifeq ($(HAVE_OPENGL),true)
@echo "DISTRHO: $(ANS_YES)"
else
@echo "DISTRHO: $(ANS_NO)"
@echo "DISTRHO: $(ANS_NO) $(mS)OpenGL missing$(mE)"
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)"
@echo "ZynAddSubFX:$(ANS_YES) (without UI) $(mS)NTK missing$(mE)"
endif
else
@echo "ZynAddSubFX:$(ANS_NO)"
@echo "ZynAddSubFX:$(ANS_NO) $(mS)fftw-3, mxml or zlib missing$(mE)"
endif

+ 1
- 1
source/widgets/Makefile View File

@@ -8,7 +8,7 @@ include ../Makefile.mk

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

BUILD_CXX_FLAGS += -fvisibility=hidden -I. -I../includes
BUILD_CXX_FLAGS += -I. -I../includes

ifeq ($(HAVE_QT5),true)
BUILD_CXX_FLAGS += $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)


Loading…
Cancel
Save