|
|
@@ -7,7 +7,7 @@ |
|
|
|
CWD=source |
|
|
|
include source/Makefile.mk |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
LINK := ln -sf |
|
|
|
|
|
|
@@ -25,7 +25,7 @@ HAVE_THEME = true |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
PREFIX := /usr/local |
|
|
|
BINDIR := $(PREFIX)/bin |
|
|
@@ -40,16 +40,16 @@ else |
|
|
|
MODULEDIR := $(CURDIR)/build/modules/Release |
|
|
|
endif |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
all: BIN RES UI WIDGETS |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (native) |
|
|
|
|
|
|
|
BIN: backend discovery bridges-plugin bridges-ui interposer libjack plugin theme |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
ALL_LIBS += $(MODULEDIR)/carla_engine.a |
|
|
|
ALL_LIBS += $(MODULEDIR)/carla_engine_plugin.a |
|
|
@@ -116,7 +116,7 @@ $(MODULEDIR)/%.win64.a: .FORCE |
|
|
|
$(MODULEDIR)/%.a: .FORCE |
|
|
|
@$(MAKE) -C source/modules/$* |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
backend: libs |
|
|
|
@$(MAKE) -C source/backend |
|
|
@@ -142,7 +142,7 @@ plugin: backend bridges-plugin bridges-ui discovery |
|
|
|
theme: libs |
|
|
|
@$(MAKE) -C source/theme |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (posix32) |
|
|
|
|
|
|
|
LIBS_POSIX32 = $(MODULEDIR)/jackbridge.posix32.a |
|
|
@@ -154,7 +154,7 @@ posix32: $(LIBS_POSIX32) |
|
|
|
$(MAKE) -C source/bridges-plugin posix32 |
|
|
|
$(MAKE) -C source/discovery posix32 |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (posix64) |
|
|
|
|
|
|
|
LIBS_POSIX64 = $(MODULEDIR)/jackbridge.posix64.a |
|
|
@@ -166,7 +166,7 @@ posix64: $(LIBS_POSIX64) |
|
|
|
$(MAKE) -C source/bridges-plugin posix64 |
|
|
|
$(MAKE) -C source/discovery posix64 |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (win32) |
|
|
|
|
|
|
|
ifeq ($(BUILDING_FOR_WINDOWS),true) |
|
|
@@ -182,7 +182,7 @@ win32: $(LIBS_WIN32) |
|
|
|
$(MAKE) -C source/bridges-plugin win32 |
|
|
|
$(MAKE) -C source/discovery win32 |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (win64) |
|
|
|
|
|
|
|
ifeq ($(BUILDING_FOR_WINDOWS),true) |
|
|
@@ -198,7 +198,7 @@ win64: $(LIBS_WIN64) |
|
|
|
$(MAKE) -C source/bridges-plugin win64 |
|
|
|
$(MAKE) -C source/discovery win64 |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Binaries (wine) |
|
|
|
|
|
|
|
wine32: |
|
|
@@ -209,7 +209,7 @@ wine64: |
|
|
|
$(MAKE) -C source/jackbridge wine64 |
|
|
|
cp -f $(MODULEDIR)/jackbridge-wine64.dll.so $(CURDIR)/bin/jackbridge-wine64.dll |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Resources |
|
|
|
|
|
|
|
ifeq ($(HAVE_PYQT),true) |
|
|
@@ -279,7 +279,7 @@ else |
|
|
|
RES: |
|
|
|
endif |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# UI code |
|
|
|
|
|
|
|
ifeq ($(HAVE_PYQT),true) |
|
|
@@ -309,7 +309,7 @@ else |
|
|
|
UI: |
|
|
|
endif |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# Widgets |
|
|
|
|
|
|
|
WIDGETS = \ |
|
|
@@ -329,7 +329,7 @@ WIDGETS: $(WIDGETS) |
|
|
|
source/%.py: source/widgets/%.py |
|
|
|
$(LINK) widgets/$*.py $@ |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
clean: |
|
|
|
$(MAKE) clean -C source/backend |
|
|
@@ -365,7 +365,7 @@ stoat: |
|
|
|
# --whitelist ./data/stoat-whitelist.txt \ |
|
|
|
# --graph-view ./data/stoat-callgraph.png |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
install_main: |
|
|
|
# Create directories |
|
|
@@ -405,7 +405,7 @@ ifeq ($(HAVE_ZYN_UI_DEPS),true) |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------------------------- |
|
|
|
# ------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
# Install script files (non-gui) |
|
|
|
install -m 755 \ |
|
|
@@ -484,7 +484,7 @@ endif |
|
|
|
source/utils/CarlaString.hpp \ |
|
|
|
$(DESTDIR)$(INCLUDEDIR)/carla/utils |
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------------------------- |
|
|
|
# ------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
ifeq ($(HAVE_PYQT),true) |
|
|
|
# Install script files (gui) |
|
|
@@ -633,7 +633,7 @@ endif |
|
|
|
$(LINK) $(DATADIR)/carla/ui_midipattern.py $(DESTDIR)$(DATADIR)/carla/resources |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------------------------- |
|
|
|
# ------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
# Install lv2 plugin |
|
|
|
install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2 |
|
|
@@ -659,7 +659,7 @@ ifeq ($(HAVE_PYQT),true) |
|
|
|
$(LINK) $(LIBDIR)/carla/styles $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/styles |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------------------------- |
|
|
|
# ------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
ifeq ($(LINUX),true) |
|
|
|
ifeq ($(HAVE_X11),true) |
|
|
@@ -689,7 +689,7 @@ endif |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------------------------- |
|
|
|
# ------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
ifneq ($(HAVE_PYQT),true) |
|
|
|
# Remove gui files for non-gui build |
|
|
@@ -703,7 +703,7 @@ endif |
|
|
|
|
|
|
|
install: install_main install_external_plugins |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
uninstall: |
|
|
|
rm -f $(DESTDIR)$(BINDIR)/carla* |
|
|
@@ -931,9 +931,9 @@ endif |
|
|
|
|
|
|
|
features: features_print_main features_print_external_plugins |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
.FORCE: |
|
|
|
.PHONY: .FORCE |
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |