|
@@ -202,7 +202,10 @@ HAVE_HYLIA = true |
|
|
endif |
|
|
endif |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
ifneq ($(MACOS_OR_WIN32),true) |
|
|
|
|
|
|
|
|
ifeq ($(MACOS_OR_WIN32),true) |
|
|
|
|
|
HAVE_DGL = true |
|
|
|
|
|
else |
|
|
|
|
|
HAVE_DGL = $(shell pkg-config --exists gl x11 && echo true) |
|
|
HAVE_GTK2 = $(shell pkg-config --exists gtk+-2.0 && echo true) |
|
|
HAVE_GTK2 = $(shell pkg-config --exists gtk+-2.0 && echo true) |
|
|
HAVE_GTK3 = $(shell pkg-config --exists gtk+-3.0 && echo true) |
|
|
HAVE_GTK3 = $(shell pkg-config --exists gtk+-3.0 && echo true) |
|
|
HAVE_X11 = $(shell pkg-config --exists x11 && echo true) |
|
|
HAVE_X11 = $(shell pkg-config --exists x11 && echo true) |
|
@@ -307,8 +310,9 @@ endif |
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
# Set base defines |
|
|
# Set base defines |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_PYQT),true) |
|
|
|
|
|
BASE_FLAGS += -DHAVE_PYQT |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_DGL),true) |
|
|
|
|
|
BASE_FLAGS += -DHAVE_DGL |
|
|
|
|
|
BASE_FLAGS += -DDGL_NAMESPACE=CarlaDGL -DDGL_FILE_BROWSER_DISABLED -DDGL_NO_SHARED_RESOURCES |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_FLUIDSYNTH),true) |
|
|
ifeq ($(HAVE_FLUIDSYNTH),true) |
|
@@ -331,6 +335,10 @@ ifeq ($(HAVE_LIBMAGIC),true) |
|
|
BASE_FLAGS += -DHAVE_LIBMAGIC |
|
|
BASE_FLAGS += -DHAVE_LIBMAGIC |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(HAVE_PYQT),true) |
|
|
|
|
|
BASE_FLAGS += -DHAVE_PYQT |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_SNDFILE),true) |
|
|
ifeq ($(HAVE_SNDFILE),true) |
|
|
BASE_FLAGS += -DHAVE_SNDFILE |
|
|
BASE_FLAGS += -DHAVE_SNDFILE |
|
|
endif |
|
|
endif |
|
@@ -346,11 +354,31 @@ ifeq ($(LINUX_OR_MACOS),true) |
|
|
LIBDL_LIBS = -ldl |
|
|
LIBDL_LIBS = -ldl |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(HAVE_DGL),true) |
|
|
|
|
|
ifeq ($(MACOS),true) |
|
|
|
|
|
DGL_LIBS = -framework OpenGL -framework Cocoa |
|
|
|
|
|
endif |
|
|
|
|
|
ifeq ($(WIN32),true) |
|
|
|
|
|
DGL_LIBS = -lopengl32 -lgdi32 |
|
|
|
|
|
endif |
|
|
|
|
|
ifneq ($(MACOS_OR_WIN32),true) |
|
|
|
|
|
DGL_FLAGS = $(shell pkg-config --cflags gl x11) |
|
|
|
|
|
DGL_LIBS = $(shell pkg-config --libs gl x11) |
|
|
|
|
|
endif |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_LIBLO),true) |
|
|
ifeq ($(HAVE_LIBLO),true) |
|
|
LIBLO_FLAGS = $(shell pkg-config --cflags liblo) |
|
|
LIBLO_FLAGS = $(shell pkg-config --cflags liblo) |
|
|
LIBLO_LIBS = $(shell pkg-config --libs liblo) |
|
|
LIBLO_LIBS = $(shell pkg-config --libs liblo) |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(HAVE_LIBMAGIC),true) |
|
|
|
|
|
MAGIC_LIBS += -lmagic |
|
|
|
|
|
ifeq ($(LINUX_OR_MACOS),true) |
|
|
|
|
|
MAGIC_LIBS += -lz |
|
|
|
|
|
endif |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_FFMPEG),true) |
|
|
ifeq ($(HAVE_FFMPEG),true) |
|
|
FFMPEG_FLAGS = $(shell pkg-config --cflags libavcodec libavformat libavutil) |
|
|
FFMPEG_FLAGS = $(shell pkg-config --cflags libavcodec libavformat libavutil) |
|
|
FFMPEG_LIBS = $(shell pkg-config --libs libavcodec libavformat libavutil) |
|
|
FFMPEG_LIBS = $(shell pkg-config --libs libavcodec libavformat libavutil) |
|
@@ -371,13 +399,6 @@ X11_FLAGS = $(shell pkg-config --cflags x11) |
|
|
X11_LIBS = $(shell pkg-config --libs x11) |
|
|
X11_LIBS = $(shell pkg-config --libs x11) |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(HAVE_LIBMAGIC),true) |
|
|
|
|
|
MAGIC_LIBS += -lmagic |
|
|
|
|
|
ifeq ($(LINUX_OR_MACOS),true) |
|
|
|
|
|
MAGIC_LIBS += -lz |
|
|
|
|
|
endif |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
# Set libs stuff (part 2) |
|
|
# Set libs stuff (part 2) |
|
|
|
|
|
|
|
@@ -459,6 +480,7 @@ endif |
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
NATIVE_PLUGINS_LIBS += $(DGL_LIBS) |
|
|
NATIVE_PLUGINS_LIBS += $(FFMPEG_LIBS) |
|
|
NATIVE_PLUGINS_LIBS += $(FFMPEG_LIBS) |
|
|
NATIVE_PLUGINS_LIBS += $(SNDFILE_LIBS) |
|
|
NATIVE_PLUGINS_LIBS += $(SNDFILE_LIBS) |
|
|
|
|
|
|
|
|