|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837 |
- #!/usr/bin/make -f
- # Makefile for carla-bridges #
- # -------------------------- #
- # Created by falkTX
- #
-
- include ../Makefile.mk
-
- # --------------------------------------------------------------
- # Common
-
- BUILD_CXX_FLAGS += -DBUILD_BRIDGE
- BUILD_CXX_FLAGS += -I. -I../backend -I../includes -I../utils -isystem ../modules
- BUILD_CXX_FLAGS += $(LIBLO_FLAGS)
- LINK_FLAGS += $(LIBLO_LIBS)
-
- # --------------------------------------------------------------
- # Plugin bridges
-
- BUILD_PLUGIN_FLAGS = $(BUILD_CXX_FLAGS) -DBUILD_BRIDGE_PLUGIN
- BUILD_PLUGIN_FLAGS += -I../backend/engine -I../backend/plugin
- BUILD_PLUGIN_FLAGS += $(QTCORE_FLAGS) $(QTXML_FLAGS)
-
- LINK_PLUGIN_FLAGS = $(LINK_FLAGS)
- LINK_PLUGIN_FLAGS += $(QTCORE_LIBS) $(QTXML_LIBS)
-
- ifeq ($(CARLA_PLUGIN_SUPPORT),true)
- BUILD_PLUGIN_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DWANT_VST3 -DWANT_REWIRE
- ifeq ($(MACOS),true)
- BUILD_CXX_FLAGS += -DWANT_AU
- endif
- ifeq ($(CARLA_VESTIGE_HEADER),true)
- BUILD_PLUGIN_FLAGS += -DVESTIGE_HEADER
- endif
- endif
-
- ifeq ($(HAVE_JUCE),true)
- LINK_PLUGIN_FLAGS += $(JUCE_AUDIO_BASICS_LIBS)
- LINK_PLUGIN_FLAGS += $(JUCE_CORE_LIBS)
- endif
-
- # --------------------------------------------------------------
- # Plugin bridges (POSIX)
-
- POSIX_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS)
- POSIX_32BIT_FLAGS = $(32BIT_FLAGS)
- POSIX_64BIT_FLAGS = $(64BIT_FLAGS)
- POSIX_LINK_FLAGS = $(LINK_PLUGIN_FLAGS)
-
- ifneq ($(HAIKU),true)
- POSIX_LINK_FLAGS += -ldl -lpthread
- endif
-
- ifeq ($(LINUX),true)
- POSIX_32BIT_FLAGS += -L/usr/lib32 -L/usr/lib/i386-linux-gnu
- POSIX_64BIT_FLAGS += -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu
- endif
-
- # --------------------------------------------------------------
- # Plugin bridges (Windows)
-
- WIN_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS) -DJACKBRIDGE_EXPORT
- WIN_32BIT_FLAGS = $(32BIT_FLAGS)
- WIN_64BIT_FLAGS = $(64BIT_FLAGS)
- WIN_LINK_FLAGS = $(LINK_PLUGIN_FLAGS) -L../modules
-
- # --------------------------------------------------------------
- # Plugin bridges (Native)
-
- NATIVE_BUILD_FLAGS = $(POSIX_BUILD_FLAGS) -DWANT_NATIVE
- NATIVE_LINK_FLAGS = $(POSIX_LINK_FLAGS)
-
- ifeq ($(HAVE_DGL),true)
- NATIVE_LINK_FLAGS += $(DGL_LIBS)
- endif
-
- ifeq ($(HAVE_JUCE),true)
- LINK_PLUGIN_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS)
- LINK_PLUGIN_FLAGS += $(JUCE_EVENTS_LIBS)
- LINK_PLUGIN_FLAGS += $(JUCE_GRAPHICS_LIBS)
- LINK_PLUGIN_FLAGS += $(JUCE_GUI_BASICS_LIBS)
- endif
-
- # ifeq ($(HAVE_CSOUND),true)
- # NATIVE_BUILD_FLAGS += -DWANT_CSOUND
- # NATIVE_BUILD_FLAGS += $(CSOUND_FLAGS)
- # NATIVE_LINK_FLAGS += $(CSOUND_LIBS)
- # endif
-
- ifeq ($(HAVE_FLUIDSYNTH),true)
- NATIVE_BUILD_FLAGS += -DWANT_FLUIDSYNTH
- NATIVE_BUILD_FLAGS += $(FLUIDSYNTH_FLAGS)
- NATIVE_LINK_FLAGS += $(FLUIDSYNTH_LIBS)
- endif
-
- ifeq ($(HAVE_LINUXSAMPLER),true)
- NATIVE_BUILD_FLAGS += -DWANT_LINUXSAMPLER
- NATIVE_BUILD_FLAGS += $(LINUXSAMPLER_FLAGS)
- NATIVE_LINK_FLAGS += $(LINUXSAMPLER_LIBS)
- endif
-
- ifeq ($(HAVE_AF_DEPS),true)
- NATIVE_BUILD_FLAGS += -DWANT_AUDIOFILE
- endif
-
- ifeq ($(HAVE_MF_DEPS),true)
- NATIVE_BUILD_FLAGS += -DWANT_MIDIFILE
- endif
-
- ifeq ($(HAVE_ZYN_DEPS),true)
- NATIVE_BUILD_FLAGS += -DWANT_ZYNADDSUBFX
- ifeq ($(HAVE_ZYN_UI_DEPS),true)
- NATIVE_LINK_FLAGS += -DWANT_ZYNADDSUBFX_UI
- endif
- endif
-
- NATIVE_LINK_FLAGS += $(NATIVE_PLUGINS_LIBS)
-
- # --------------------------------------------------------------
-
- TARGETS = native
-
- # --------------------------------------------------------------
- # UI bridges
-
- ifeq ($(CARLA_PLUGIN_SUPPORT),true)
-
- BUILD_UI_FLAGS = $(BUILD_CXX_FLAGS) -DBUILD_BRIDGE_UI
- LINK_UI_FLAGS = $(LINK_FLAGS)
-
- BUILD_UI_LV2_FLAGS = $(BUILD_UI_FLAGS) -DBRIDGE_LV2
- BUILD_UI_VST_FLAGS = $(BUILD_UI_FLAGS) -DBRIDGE_VST
-
- ifeq ($(CARLA_VESTIGE_HEADER),true)
- BUILD_UI_VST_FLAGS += -DVESTIGE_HEADER
- endif
-
- # --------------------------------------------------------------
-
- BUILD_UI_LV2_GTK2_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_GTK2 -DBRIDGE_LV2_GTK2 $(shell pkg-config --cflags gtk+-2.0) $(QTCORE_FLAGS)
- LINK_UI_LV2_GTK2_FLAGS = $(LINK_UI_FLAGS) $(shell pkg-config --libs gtk+-2.0) $(QTCORE_LIBS) -ldl
-
- BUILD_UI_LV2_GTK3_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_GTK3 -DBRIDGE_LV2_GTK3 $(shell pkg-config --cflags gtk+-3.0) $(QTCORE_FLAGS)
- LINK_UI_LV2_GTK3_FLAGS = $(LINK_UI_FLAGS) $(shell pkg-config --libs gtk+-3.0) $(QTCORE_LIBS) -ldl
-
- BUILD_UI_LV2_QT4_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_QT4 -DBRIDGE_LV2_QT4 $(shell pkg-config --cflags QtCore QtGui)
- LINK_UI_LV2_QT4_FLAGS = $(LINK_UI_FLAGS) $(shell pkg-config --libs QtCore QtGui) -ldl
-
- BUILD_UI_LV2_QT5_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_QT5 -DBRIDGE_LV2_QT5 $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)
- LINK_UI_LV2_QT5_FLAGS = $(LINK_UI_FLAGS) $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets) -ldl
-
- BUILD_UI_LV2_COCOA_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_COCOA -DBRIDGE_LV2_COCOA
- LINK_UI_LV2_COCOA_FLAGS = $(LINK_UI_FLAGS) -ldl
-
- BUILD_UI_LV2_HWND_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_HWND -DBRIDGE_LV2_HWND
- LINK_UI_LV2_HWND_FLAGS = $(LINK_FLAGS) $(EXTRA_LIBS) -static -mwindows
-
- BUILD_UI_LV2_X11_FLAGS = $(BUILD_UI_LV2_FLAGS) -DBRIDGE_X11 -DBRIDGE_LV2_X11
- LINK_UI_LV2_X11_FLAGS = $(LINK_UI_FLAGS) -ldl
-
- # --------------------------------------------------------------
-
- BUILD_UI_VST_CARBON_FLAGS = $(BUILD_UI_VST_FLAGS) -DBRIDGE_CARBON -DBRIDGE_VST_CARBON
- LINK_UI_VST_CARBON_FLAGS = $(LINK_UI_FLAGS) -ldl
-
- BUILD_UI_VST_COCOA_FLAGS = $(BUILD_UI_VST_FLAGS) -DBRIDGE_COCOA -DBRIDGE_VST_COCOA
- LINK_UI_VST_COCOA_FLAGS = $(LINK_UI_FLAGS) -ldl
-
- BUILD_UI_VST_HWND_FLAGS = $(BUILD_UI_VST_FLAGS) -DBRIDGE_HWND -DBRIDGE_VST_HWND
- LINK_UI_VST_HWND_FLAGS = $(LINK_FLAGS) $(EXTRA_LIBS) -static -mwindows
-
- BUILD_UI_VST_X11_FLAGS = $(BUILD_UI_VST_FLAGS) -DBRIDGE_X11 -DBRIDGE_VST_X11
- LINK_UI_VST_X11_FLAGS = $(LINK_UI_FLAGS) -ldl
-
- # --------------------------------------------------------------
-
- ifeq ($(HAVE_GTK2),true)
- TARGETS += ui_lv2-gtk2
- endif
-
- ifeq ($(HAVE_GTK3),true)
- TARGETS += ui_lv2-gtk3
- endif
-
- ifeq ($(HAVE_QT4),true)
- TARGETS += ui_lv2-qt4
- endif
-
- ifeq ($(HAVE_QT5),true)
- TARGETS += ui_lv2-qt5
- endif
-
- ifeq ($(HAVE_X11),true)
- # TARGETS += ui_lv2-x11
- # TARGETS += ui_vst-x11
- endif
-
- ifeq ($(MACOS),true)
- # TARGETS += ui_lv2-cocoa
- # TARGETS += ui_vst-carbon
- # TARGETS += ui_vst-cocoa
- endif
-
- ifeq ($(WIN32),true)
- # TARGETS += ui_lv2-windows
- # TARGETS += ui_vst-hwnd
- endif
-
- endif # CARLA_PLUGIN_SUPPORT
-
- # --------------------------------------------------------------
-
- all: $(TARGETS)
-
- ui_lv2-gtk2: carla-bridge-lv2-gtk2
- ui_lv2-gtk3: carla-bridge-lv2-gtk3
- ui_lv2-qt4: carla-bridge-lv2-qt4
- ui_lv2-qt5: carla-bridge-lv2-qt5
-
- ui_lv2-cocoa: carla-bridge-lv2-cocoa
- ui_lv2-windows: carla-bridge-lv2-windows.exe
- ui_lv2-x11: carla-bridge-lv2-x11
-
- ui_vst-carbon: carla-bridge-vst-carbon
- ui_vst-cocoa: carla-bridge-vst-cocoa
- ui_vst-hwnd: carla-bridge-vst-hwnd.exe
- ui_vst-x11: carla-bridge-vst-x11
-
- # --------------------------------------------------------------
-
- jackplugin: jackplugin/libjack.so.0
-
- # --------------------------------------------------------------
-
- native: carla-bridge-native
- posix32: carla-bridge-posix32
- posix64: carla-bridge-posix64
- win32: carla-bridge-win32.exe
- win64: carla-bridge-win64.exe
-
- # --------------------------------------------------------------
- # UI common
-
- OBJS_UI_LV2_LIBS = \
- ../modules/lilv.a
-
- OBJS_UI_VST_LIBS =
-
- %__lv2.o: %.cpp
- $(CXX) $< $(BUILD_UI_LV2_FLAGS) -c -o $@
-
- %__vst.o: %.cpp
- $(CXX) $< $(BUILD_UI_VST_FLAGS) -c -o $@
-
- resources.qt4.cpp: ../../resources/resources-theme.qrc
- $(RCC_QT4) $< -o $@
-
- resources.qt5.cpp: ../../resources/resources-theme.qrc
- $(RCC_QT5) $< -o $@
-
- CarlaBridgeToolkitQt4.moc: CarlaBridgeToolkitQt.cpp
- $(MOC_QT4) $< -DMOC_PARSING -o $@
-
- CarlaBridgeToolkitQt5.moc: CarlaBridgeToolkitQt.cpp
- $(MOC_QT5) $< -DMOC_PARSING -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-gtk2
-
- OBJS_UI_LV2_GTK2 = CarlaBridgeUI-LV2__lv2-gtk2.o \
- CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitGtk__lv2-gtk2.o
-
- carla-bridge-lv2-gtk2: $(OBJS_UI_LV2_GTK2) $(OBJS_UI_LV2_LIBS)
- $(CXX) $^ $(LINK_UI_LV2_GTK2_FLAGS) -o $@
-
- %__lv2-gtk2.o: %.cpp
- $(CXX) $< $(BUILD_UI_LV2_GTK2_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-gtk3
-
- OBJS_UI_LV2_GTK3 = CarlaBridgeUI-LV2__lv2-gtk3.o \
- CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitGtk__lv2-gtk3.o
-
- carla-bridge-lv2-gtk3: $(OBJS_UI_LV2_GTK3) $(OBJS_UI_LV2_LIBS)
- $(CXX) $^ $(LINK_UI_LV2_GTK3_FLAGS) -o $@
-
- %__lv2-gtk3.o: %.cpp
- $(CXX) $< $(BUILD_UI_LV2_GTK3_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-qt4
-
- OBJS_UI_LV2_QT4 = CarlaBridgeUI-LV2__lv2-qt4.o \
- CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitQt__lv2-qt4.o
-
- carla-bridge-lv2-qt4: $(OBJS_UI_LV2_QT4) $(OBJS_UI_LV2_LIBS) ../modules/theme.qt4.a
- $(CXX) $^ $(LINK_UI_LV2_QT4_FLAGS) -o $@
-
- %__lv2-qt4.o: %.cpp CarlaBridgeToolkitQt4.moc resources.qt4.cpp
- $(CXX) $< $(BUILD_UI_LV2_QT4_FLAGS) -I../modules/theme -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-qt5
-
- OBJS_UI_LV2_QT5 = CarlaBridgeUI-LV2__lv2-qt5.o \
- CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitQt__lv2-qt5.o
-
- carla-bridge-lv2-qt5: $(OBJS_UI_LV2_QT5) $(OBJS_UI_LV2_LIBS) ../modules/theme.qt5.a
- $(CXX) $^ $(LINK_UI_LV2_QT5_FLAGS) -o $@
-
- %__lv2-qt5.o: %.cpp CarlaBridgeToolkitQt5.moc resources.qt5.cpp
- $(CXX) $< $(BUILD_UI_LV2_QT5_FLAGS) -I../modules/theme -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-cocoa
-
- # OBJS_UI_LV2_COCOA = CarlaBridgeUI-LV2__lv2-cocoa.o \
- # CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- # CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitQt__lv2-cocoa.o
- #
- # carla-bridge-lv2-cocoa: $(OBJS_UI_LV2_COCOA) $(OBJS_UI_LV2_LIBS)
- # $(CXX) $^ $(LINK_UI_LV2_COCOA_FLAGS) -o $@
- #
- # %__lv2-cocoa.o: %.cpp
- # $(CXX) $< $(BUILD_UI_LV2_COCOA_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-windows
-
- # OBJS_UI_LV2_WIN32 = CarlaBridgeUI-LV2__lv2-windows.o \
- # CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- # CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitQt__lv2-windows.o
- #
- # carla-bridge-lv2-windows.exe: $(OBJS_UI_LV2_WIN32) $(OBJS_UI_LV2_LIBS)
- # $(CXX) $^ $(LINK_UI_LV2_WIN32_FLAGS) -o $@
- #
- # %__lv2-windows.o: %.cpp
- # $(CXX) $< $(BUILD_UI_LV2_WIN32_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_lv2-x11
-
- # OBJS_UI_LV2_X11 = CarlaBridgeUI-LV2__lv2-x11.o \
- # CarlaBridgeClient__lv2.o CarlaBridgeOsc__lv2.o \
- # CarlaBridgeToolkit__lv2.o CarlaBridgeToolkitQt__lv2-x11.o
- #
- # carla-bridge-lv2-x11: $(OBJS_UI_LV2_X11) $(OBJS_UI_LV2_LIBS)
- # $(CXX) $^ $(LINK_UI_LV2_X11_FLAGS) -o $@
- #
- # %__lv2-x11.o: %.cpp
- # $(CXX) $< $(BUILD_UI_LV2_X11_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_vst-mac
-
- # OBJS_UI_VST_MAC = CarlaBridgeUI-VST__vst-mac.o \
- # CarlaBridgeClient__vst.o CarlaBridgeOsc__vst.o \
- # CarlaBridgeToolkit__vst.o CarlaBridgeToolkitQt__vst-mac.o
- #
- # carla-bridge-vst-mac: $(OBJS_UI_VST_MAC) $(OBJS_UI_VST_LIBS) ../modules/theme.a
- # $(CXX) $^ $(LINK_UI_VST_MAC_FLAGS) -o $@
- #
- # %__vst-mac.o: %.cpp
- # $(CXX) $< $(BUILD_UI_VST_MAC_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_vst-hwnd
-
- # OBJS_UI_VST_HWND = CarlaBridgeUI-VST__vst-hwnd.o \
- # CarlaBridgeClient__vst.o CarlaBridgeOsc__vst.o \
- # CarlaBridgeToolkit__vst.o CarlaBridgeToolkitQt__vst-hwnd.o
- #
- # carla-bridge-vst-hwnd.exe: $(OBJS_UI_VST_HWND) $(OBJS_UI_VST_LIBS) ../modules/theme.a
- # $(CXX) $^ $(LINK_UI_VST_HWND_FLAGS) -o $@
- #
- # %__vst-hwnd.o: %.cpp
- # $(CXX) $< $(BUILD_UI_VST_HWND_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # ui_vst-x11
-
- # OBJS_UI_VST_X11 = CarlaBridgeUI-VST__vst-x11.o \
- # CarlaBridgeClient__vst.o CarlaBridgeOsc__vst.o \
- # CarlaBridgeToolkit__vst.o CarlaBridgeToolkitQt__vst-x11.o
- #
- # carla-bridge-vst-x11: $(OBJS_UI_VST_X11) $(OBJS_UI_VST_LIBS) ../modules/theme.a
- # $(CXX) $^ $(LINK_UI_VST_X11_FLAGS) -o $@
- #
- # %__vst-x11.o: %.cpp
- # $(CXX) $< $(BUILD_UI_VST_X11_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # native
-
- OBJS_PLUGIN = \
- jackplugin/CarlaJackPlugin__plugin.o \
- CarlaBridgeClient__plugin.o \
- CarlaBridgeOsc__plugin.o \
- ../backend/engine/CarlaEngine__native.o \
- ../backend/engine/CarlaEngineInternal__native.o \
- ../backend/engine/CarlaEngineOsc__native.o \
- ../backend/engine/CarlaEngineThread__native.o \
- ../backend/engine/CarlaEngineJack__native.o \
- ../backend/engine/CarlaEngineBridge__native.o \
- ../backend/plugin/CarlaPlugin__native.o \
- ../backend/plugin/CarlaPluginInternal__native.o \
- ../backend/plugin/CarlaPluginThread__native.o \
- ../backend/plugin/CarlaPluginUi__native.o \
- ../backend/plugin/NativePlugin__native.o \
- ../backend/plugin/LadspaPlugin__native.o \
- ../backend/plugin/DssiPlugin__native.o \
- ../backend/plugin/Lv2Plugin__native.o \
- ../backend/plugin/VstPlugin__native.o \
- ../backend/plugin/Vst3Plugin__native.o \
- ../backend/plugin/AuPlugin__native.o \
- ../backend/plugin/ReWirePlugin__native.o \
- ../backend/plugin/CsoundPlugin__native.o \
- ../backend/plugin/JucePlugin__native.o \
- ../backend/plugin/FluidSynthPlugin__native.o \
- ../backend/plugin/LinuxSamplerPlugin__native.o \
- ../backend/standalone/CarlaStandalone__native.o
-
- LIBS_PLUGIN = \
- ../modules/jackbridge.a \
- ../modules/rtmempool.a
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_PLUGIN += \
- ../modules/juce_audio_basics.a \
- ../modules/juce_audio_processors.a \
- ../modules/juce_core.a \
- ../modules/juce_data_structures.a \
- ../modules/juce_events.a \
- ../modules/juce_data_structures.a \
- ../modules/juce_graphics.a \
- ../modules/juce_gui_basics.a \
- ../modules/juce_gui_extra.a
- endif
-
- ifeq ($(CARLA_PLUGIN_SUPPORT),true)
- LIBS_PLUGIN += \
- ../modules/lilv.a
- endif
-
- jackplugin/libjack.so.0: $(OBJS_PLUGIN) $(LIBS_PLUGIN)
- $(CXX) $(OBJS_PLUGIN) -Wl,--start-group $(LIBS_PLUGIN) -Wl,--end-group $(NATIVE_LINK_FLAGS) -shared -o $@
-
- %__plugin.o: %.cpp
- $(CXX) $< $(NATIVE_BUILD_FLAGS) -DBRIDGE_JACK -DJACKBRIDGE_EXPORT -c -o $@
-
- # $(NATIVE_LINK_FLAGS)
-
- # --------------------------------------------------------------
- # native
-
- OBJS_NATIVE = CarlaBridgePlugin__native.o \
- CarlaBridgeClient__native.o CarlaBridgeOsc__native.o
-
- # carla-engine
- OBJS_NATIVE += \
- ../backend/engine/CarlaEngine__native.o \
- ../backend/engine/CarlaEngineInternal__native.o \
- ../backend/engine/CarlaEngineOsc__native.o \
- ../backend/engine/CarlaEngineThread__native.o \
- ../backend/engine/CarlaEngineJack__native.o \
- ../backend/engine/CarlaEngineBridge__native.o
-
- # carla-plugin
- OBJS_NATIVE += \
- ../backend/plugin/CarlaPlugin__native.o \
- ../backend/plugin/CarlaPluginInternal__native.o \
- ../backend/plugin/CarlaPluginThread__native.o \
- ../backend/plugin/CarlaPluginUi__native.o \
- ../backend/plugin/NativePlugin__native.o \
- ../backend/plugin/LadspaPlugin__native.o \
- ../backend/plugin/DssiPlugin__native.o \
- ../backend/plugin/Lv2Plugin__native.o \
- ../backend/plugin/VstPlugin__native.o \
- ../backend/plugin/Vst3Plugin__native.o \
- ../backend/plugin/AuPlugin__native.o \
- ../backend/plugin/ReWirePlugin__native.o \
- ../backend/plugin/CsoundPlugin__native.o \
- ../backend/plugin/JucePlugin__native.o \
- ../backend/plugin/FluidSynthPlugin__native.o \
- ../backend/plugin/LinuxSamplerPlugin__native.o
-
- # carla-standalone
- OBJS_NATIVE += \
- ../backend/standalone/CarlaStandalone__native.o
-
- # libs
- LIBS_NATIVE = \
- ../modules/native-plugins.a \
- ../modules/jackbridge.a \
- ../modules/rtmempool.a
-
- ifeq ($(HAVE_DGL),true)
- LIBS_NATIVE += \
- ../modules/dgl.a
- endif
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_NATIVE += \
- ../modules/juce_audio_basics.a \
- ../modules/juce_audio_processors.a \
- ../modules/juce_core.a \
- ../modules/juce_data_structures.a \
- ../modules/juce_events.a \
- ../modules/juce_data_structures.a \
- ../modules/juce_graphics.a \
- ../modules/juce_gui_basics.a \
- ../modules/juce_gui_extra.a
- endif
-
- ifeq ($(HAVE_AF_DEPS),true)
- LIBS_NATIVE += \
- ../modules/audio_decoder.a
- endif
-
- ifeq ($(CARLA_PLUGIN_SUPPORT),true)
- LIBS_NATIVE += \
- ../modules/lilv.a
- endif
-
- carla-bridge-native: $(OBJS_NATIVE) $(LIBS_NATIVE)
- $(CXX) $(OBJS_NATIVE) -Wl,--start-group $(LIBS_NATIVE) -Wl,--end-group $(NATIVE_LINK_FLAGS) -o $@
-
- %__native.o: %.cpp
- $(CXX) $< $(NATIVE_BUILD_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # posix32
-
- OBJS_POSIX32 = CarlaBridgePlugin__posix32.o \
- CarlaBridgeClient__posix32.o CarlaBridgeOsc__posix32.o
-
- # carla-engine
- OBJS_POSIX32 += \
- ../backend/engine/CarlaEngine__posix32.o \
- ../backend/engine/CarlaEngineInternal__posix32.o \
- ../backend/engine/CarlaEngineOsc__posix32.o \
- ../backend/engine/CarlaEngineThread__posix32.o \
- ../backend/engine/CarlaEngineJack__posix32.o \
- ../backend/engine/CarlaEngineBridge__posix32.o
-
- # carla-plugin
- OBJS_POSIX32 += \
- ../backend/plugin/CarlaPlugin__posix32.o \
- ../backend/plugin/CarlaPluginInternal__posix32.o \
- ../backend/plugin/CarlaPluginThread__posix32.o \
- ../backend/plugin/CarlaPluginUi__posix32.o \
- ../backend/plugin/NativePlugin__posix32.o \
- ../backend/plugin/LadspaPlugin__posix32.o \
- ../backend/plugin/DssiPlugin__posix32.o \
- ../backend/plugin/Lv2Plugin__posix32.o \
- ../backend/plugin/VstPlugin__posix32.o \
- ../backend/plugin/Vst3Plugin__posix32.o \
- ../backend/plugin/AuPlugin__posix32.o \
- ../backend/plugin/ReWirePlugin__posix32.o \
- ../backend/plugin/CsoundPlugin__posix32.o \
- ../backend/plugin/JucePlugin__posix32.o \
- ../backend/plugin/FluidSynthPlugin__posix32.o \
- ../backend/plugin/LinuxSamplerPlugin__posix32.o
-
- # carla-standalone
- OBJS_POSIX32 += \
- ../backend/standalone/CarlaStandalone__posix32.o
-
- # libs
- LIBS_POSIX32 = \
- ../modules/lilv.posix32.a \
- ../modules/rtmempool.posix32.a
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_POSIX32 += \
- ../modules/juce_audio_basics.posix32.a \
- ../modules/juce_audio_processors.posix32.a \
- ../modules/juce_core.posix32.a \
- ../modules/juce_data_structures.posix32.a \
- ../modules/juce_events.posix32.a \
- ../modules/juce_graphics.posix32.a \
- ../modules/juce_gui_basics.posix32.a
- endif
-
- carla-bridge-posix32: $(OBJS_POSIX32) $(LIBS_POSIX32)
- $(CXX) $(OBJS_POSIX32) -Wl,--start-group $(LIBS_POSIX32) -Wl,--end-group $(POSIX_LINK_FLAGS) $(POSIX_32BIT_FLAGS) -o $@
-
- %__posix32.o: %.cpp
- $(CXX) $< $(POSIX_BUILD_FLAGS) $(POSIX_32BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # posix64
-
- OBJS_POSIX64 = CarlaBridgePlugin__posix64.o \
- CarlaBridgeClient__posix64.o CarlaBridgeOsc__posix64.o
-
- # carla-engine
- OBJS_POSIX64 += \
- ../backend/engine/CarlaEngine__posix64.o \
- ../backend/engine/CarlaEngineInternal__posix64.o \
- ../backend/engine/CarlaEngineOsc__posix64.o \
- ../backend/engine/CarlaEngineThread__posix64.o \
- ../backend/engine/CarlaEngineJack__posix64.o \
- ../backend/engine/CarlaEngineBridge__posix64.o
-
- # carla-plugin
- OBJS_POSIX64 += \
- ../backend/plugin/CarlaPlugin__posix64.o \
- ../backend/plugin/CarlaPluginInternal__posix64.o \
- ../backend/plugin/CarlaPluginThread__posix64.o \
- ../backend/plugin/CarlaPluginUi__posix64.o \
- ../backend/plugin/NativePlugin__posix64.o \
- ../backend/plugin/LadspaPlugin__posix64.o \
- ../backend/plugin/DssiPlugin__posix64.o \
- ../backend/plugin/Lv2Plugin__posix64.o \
- ../backend/plugin/VstPlugin__posix64.o \
- ../backend/plugin/Vst3Plugin__posix64.o \
- ../backend/plugin/AuPlugin__posix32.o \
- ../backend/plugin/ReWirePlugin__posix64.o \
- ../backend/plugin/CsoundPlugin__posix64.o \
- ../backend/plugin/JucePlugin__posix64.o \
- ../backend/plugin/FluidSynthPlugin__posix64.o \
- ../backend/plugin/LinuxSamplerPlugin__posix64.o
-
- # carla-standalone
- OBJS_POSIX64 += \
- ../backend/standalone/CarlaStandalone__posix64.o
-
- # libs
- LIBS_POSIX64 = \
- ../modules/lilv.posix64.a \
- ../modules/rtmempool.posix64.a
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_POSIX64 += \
- ../modules/juce_audio_basics.posix64.a \
- ../modules/juce_audio_processors.posix64.a \
- ../modules/juce_core.posix64.a \
- ../modules/juce_data_structures.posix64.a \
- ../modules/juce_events.posix64.a \
- ../modules/juce_graphics.posix64.a \
- ../modules/juce_gui_basics.posix64.a
- endif
-
- carla-bridge-posix64: $(OBJS_POSIX64) $(LIBS_POSIX64)
- $(CXX) $(OBJS_POSIX64) -Wl,--start-group $(LIBS_POSIX64) -Wl,--end-group $(POSIX_LINK_FLAGS) $(POSIX_64BIT_FLAGS) -o $@
-
- %__posix64.o: %.cpp
- $(CXX) $< $(POSIX_BUILD_FLAGS) $(POSIX_64BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # win32
-
- OBJS_WIN32 = CarlaBridgePlugin__win32.o \
- CarlaBridgeClient__win32.o CarlaBridgeOsc__win32.o
-
- # carla-engine
- OBJS_WIN32 += \
- ../backend/engine/CarlaEngine__win32.o \
- ../backend/engine/CarlaEngineInternal__win32.o \
- ../backend/engine/CarlaEngineOsc__win32.o \
- ../backend/engine/CarlaEngineThread__win32.o \
- ../backend/engine/CarlaEngineBridge__win32.o \
- ../backend/engine/CarlaEngineJack__win32.o
-
- # carla-plugin
- OBJS_WIN32 += \
- ../backend/plugin/CarlaPlugin__win32.o \
- ../backend/plugin/CarlaPluginInternal__win32.o \
- ../backend/plugin/CarlaPluginThread__win32.o \
- ../backend/plugin/CarlaPluginUi__win32.o \
- ../backend/plugin/NativePlugin__win32.o \
- ../backend/plugin/LadspaPlugin__win32.o \
- ../backend/plugin/DssiPlugin__win32.o \
- ../backend/plugin/Lv2Plugin__win32.o \
- ../backend/plugin/VstPlugin__win32.o \
- ../backend/plugin/Vst3Plugin__win32.o \
- ../backend/plugin/AuPlugin__win32.o \
- ../backend/plugin/ReWirePlugin__win32.o \
- ../backend/plugin/CsoundPlugin__win32.o \
- ../backend/plugin/JucePlugin__win32.o \
- ../backend/plugin/FluidSynthPlugin__win32.o \
- ../backend/plugin/LinuxSamplerPlugin__win32.o
-
- # carla-standalone
- OBJS_WIN32 += \
- ../backend/standalone/CarlaStandalone__win32.o
-
- # libs
- LIBS_WIN32 = \
- ../modules/lilv.win32.a \
- ../modules/rtmempool.win32.a
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_WIN32 += \
- ../modules/juce_audio_basics.win32.a \
- ../modules/juce_audio_processors.win32.a \
- ../modules/juce_core.win32.a \
- ../modules/juce_data_structures.win32.a \
- ../modules/juce_events.win32.a \
- ../modules/juce_graphics.win32.a \
- ../modules/juce_gui_basics.win32.a
- endif
-
- carla-bridge-win32.exe: $(OBJS_WIN32) $(LIBS_WIN32) ../modules/jackbridge-win32.dll
- $(CXX) $(OBJS_WIN32) -Wl,--start-group $(LIBS_WIN32) -Wl,--end-group $(WIN_LINK_FLAGS) $(WIN_32BIT_FLAGS) -ljackbridge-win32 -o $@
-
- %__win32.o: %.cpp
- $(CXX) $< $(WIN_BUILD_FLAGS) $(WIN_32BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
- # win64
-
- OBJS_WIN64 = CarlaBridgePlugin__win64.o \
- CarlaBridgeClient__win64.o CarlaBridgeOsc__win64.o
-
- # carla-engine
- OBJS_WIN64 += \
- ../backend/engine/CarlaEngine__win64.o \
- ../backend/engine/CarlaEngineInternal__win64.o \
- ../backend/engine/CarlaEngineOsc__win64.o \
- ../backend/engine/CarlaEngineThread__win64.o \
- ../backend/engine/CarlaEngineBridge__win64.o \
- ../backend/engine/CarlaEngineJack__win64.o
-
- # carla-plugin
- OBJS_WIN64 += \
- ../backend/plugin/CarlaPlugin__win64.o \
- ../backend/plugin/CarlaPluginInternal__win64.o \
- ../backend/plugin/CarlaPluginThread__win64.o \
- ../backend/plugin/CarlaPluginUi__win64.o \
- ../backend/plugin/NativePlugin__win64.o \
- ../backend/plugin/LadspaPlugin__win64.o \
- ../backend/plugin/DssiPlugin__win64.o \
- ../backend/plugin/Lv2Plugin__win64.o \
- ../backend/plugin/VstPlugin__win64.o \
- ../backend/plugin/Vst3Plugin__win64.o \
- ../backend/plugin/AuPlugin__win64.o \
- ../backend/plugin/ReWirePlugin__win64.o \
- ../backend/plugin/CsoundPlugin__win64.o \
- ../backend/plugin/JucePlugin__win64.o \
- ../backend/plugin/FluidSynthPlugin__win64.o \
- ../backend/plugin/LinuxSamplerPlugin__win64.o
-
- # carla-standalone
- OBJS_WIN64 += \
- ../backend/standalone/CarlaStandalone__win64.o
-
- # libs
- LIBS_WIN64 = \
- ../modules/lilv.win64.a \
- ../modules/rtmempool.win64.a
-
- ifeq ($(HAVE_JUCE),true)
- LIBS_WIN64 += \
- ../modules/juce_audio_basics.win64.a \
- ../modules/juce_audio_processors.win64.a \
- ../modules/juce_core.win64.a \
- ../modules/juce_data_structures.win64.a \
- ../modules/juce_events.win64.a \
- ../modules/juce_graphics.win64.a \
- ../modules/juce_gui_basics.win64.a
- endif
-
- carla-bridge-win64.exe: $(OBJS_WIN64) $(LIBS_WIN64) ../modules/jackbridge-win64.dll
- $(CXX) $(OBJS_WIN64) -Wl,--start-group $(LIBS_WIN64) -Wl,--end-group $(WIN_LINK_FLAGS) $(WIN_64BIT_FLAGS) -ljackbridge-win64 -o $@
-
- %__win64.o: %.cpp
- $(CXX) $< $(WIN_BUILD_FLAGS) $(WIN_64BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
-
- clean:
- rm -f *.moc *.o *.dll *.dylib *.so *.exe
- rm -f resources.*.cpp
- rm -f carla-bridge-lv2-gtk2 carla-bridge-lv2-gtk3 carla-bridge-lv2-qt4 carla-bridge-lv2-qt5 carla-bridge-lv2-cocoa carla-bridge-lv2-x11
- rm -f carla-bridge-vst-carbon carla-bridge-vst-cocoa carla-bridge-vst-x11
- rm -f carla-bridge-native carla-bridge-posix32 carla-bridge-posix64
- rm -f $(OBJS_NATIVE)
- rm -f $(OBJS_POSIX32)
- rm -f $(OBJS_POSIX64)
- rm -f $(OBJS_WIN32)
- rm -f $(OBJS_WIN64)
-
- debug:
- $(MAKE) DEBUG=true
-
- doxygen: carla_bridge.doxygen
- doxygen $<
-
- # --------------------------------------------------------------
-
- .FORCE:
- .PHONY: .FORCE
-
- ../modules/jackbridge-%.dll: .FORCE
- $(MAKE) -C ../modules jackbridge-$*e
-
- ../modules/juce_audio_basics.%.a: .FORCE
- $(MAKE) -C ../modules juce_audio_basics_$*
-
- ../modules/juce_audio_processors.%.a: .FORCE
- $(MAKE) -C ../modules juce_audio_processors_$*
-
- ../modules/juce_core.%.a: .FORCE
- $(MAKE) -C ../modules juce_core_$*
-
- ../modules/juce_data_structures.%.a: .FORCE
- $(MAKE) -C ../modules juce_data_structures_$*
-
- ../modules/juce_events.%.a: .FORCE
- $(MAKE) -C ../modules juce_events_$*
-
- ../modules/juce_graphics.%.a: .FORCE
- $(MAKE) -C ../modules juce_graphics_$*
-
- ../modules/juce_gui_basics.%.a: .FORCE
- $(MAKE) -C ../modules juce_gui_basics_$*
-
- ../modules/lilv.%.a: .FORCE
- $(MAKE) -C ../modules lilv_$*
-
- ../modules/rtmempool.%.a: .FORCE
- $(MAKE) -C ../modules rtmempool_$*
-
- ../modules/%.a: .FORCE
- $(MAKE) -C ../modules $*
-
- ../modules/%.dll:
- $(MAKE) -C ../modules $*
-
- # --------------------------------------------------------------
|