2 # Makefile for carla-bridges-plugin #
3 # --------------------------------- #
8 MODULENAME
=carla-bridge
9 include $(CWD
)/Makefile.mk
12 ifeq ($(TESTBUILD
),true
)
13 ifeq ($(USING_JUCE
),true
)
14 BUILD_CXX_FLAGS
+= -Wno-undef
16 BUILD_CXX_FLAGS
+= -Wno-deprecated-declarations
22 BUILD_CXX_FLAGS
+= -pthread
26 # ---------------------------------------------------------------------------------------------------------------------
28 BINDIR
:= $(CWD
)/..
/bin
31 OBJDIR
:= $(CWD
)/..
/build
/bridges-plugin
/Debug
32 MODULEDIR
:= $(CWD
)/..
/build
/modules
/Debug
34 OBJDIR
:= $(CWD
)/..
/build
/bridges-plugin
/Release
35 MODULEDIR
:= $(CWD
)/..
/build
/modules
/Release
38 # ---------------------------------------------------------------------------------------------------------------------
40 BUILD_CXX_FLAGS
+= -DBUILD_BRIDGE
-I.
-I
$(CWD
) -I
$(CWD
)/backend
-I
$(CWD
)/includes
-I
$(CWD
)/modules
-I
$(CWD
)/utils
41 BUILD_CXX_FLAGS
+= -I
$(CWD
)/backend
/engine
-I
$(CWD
)/backend
/plugin
43 BUILD_CXX_FLAGS
+= -UHAVE_SDL
44 BUILD_CXX_FLAGS
+= -UUSING_JUCE_AUDIO_DEVICES
45 BUILD_CXX_FLAGS
+= -UUSING_RTAUDIO
47 32BIT_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
48 64BIT_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
49 ARM32_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
51 # ---------------------------------------------------------------------------------------------------------------------
53 LIBS_native
= $(MODULEDIR
)/jackbridge.a
54 LIBS_arm32
= $(MODULEDIR
)/jackbridge.arm32.a
55 LIBS_posix32
= $(MODULEDIR
)/jackbridge.posix32.a
56 LIBS_posix64
= $(MODULEDIR
)/jackbridge.posix64.a
57 ifeq ($(BUILDING_FOR_WINE
),true
)
58 LIBS_win32
= $(MODULEDIR
)/jackbridge.win32e.a
59 LIBS_win64
= $(MODULEDIR
)/jackbridge.win64e.a
61 LIBS_win32
= $(MODULEDIR
)/jackbridge.win32.a
62 LIBS_win64
= $(MODULEDIR
)/jackbridge.win64.a
64 LINK_FLAGS
+= $(JACKBRIDGE_LIBS
)
66 LIBS_native
+= $(MODULEDIR
)/lilv.a
67 LIBS_arm32
+= $(MODULEDIR
)/lilv.arm32.a
68 LIBS_posix32
+= $(MODULEDIR
)/lilv.posix32.a
69 LIBS_posix64
+= $(MODULEDIR
)/lilv.posix64.a
70 LIBS_win32
+= $(MODULEDIR
)/lilv.win32.a
71 LIBS_win64
+= $(MODULEDIR
)/lilv.win64.a
72 LINK_FLAGS
+= $(LILV_LIBS
)
74 LIBS_native
+= $(MODULEDIR
)/rtmempool.a
75 LIBS_arm32
+= $(MODULEDIR
)/rtmempool.arm32.a
76 LIBS_posix32
+= $(MODULEDIR
)/rtmempool.posix32.a
77 LIBS_posix64
+= $(MODULEDIR
)/rtmempool.posix64.a
78 LIBS_win32
+= $(MODULEDIR
)/rtmempool.win32.a
79 LIBS_win64
+= $(MODULEDIR
)/rtmempool.win64.a
80 LINK_FLAGS
+= $(RTMEMPOOL_LIBS
)
82 LIBS_native
+= $(MODULEDIR
)/water.a
83 LIBS_arm32
+= $(MODULEDIR
)/water.arm32.a
84 LIBS_posix32
+= $(MODULEDIR
)/water.posix32.a
85 LIBS_posix64
+= $(MODULEDIR
)/water.posix64.a
86 LIBS_win32
+= $(MODULEDIR
)/water.win32.a
87 LIBS_win64
+= $(MODULEDIR
)/water.win64.a
88 LINK_FLAGS
+= $(WATER_LIBS
)
90 ifeq ($(HAVE_YSFX
),true
)
91 LIBS_native
+= $(MODULEDIR
)/ysfx.a
92 LINK_FLAGS
+= $(YSFX_GRAPHICS_LIBS
)
95 ifeq ($(USING_JUCE
),true
)
96 LIBS_native
+= $(MODULEDIR
)/carla_juce.a
97 LIBS_native
+= $(MODULEDIR
)/juce_audio_basics.a
98 LIBS_native
+= $(MODULEDIR
)/juce_audio_processors.a
99 LIBS_native
+= $(MODULEDIR
)/juce_core.a
100 LIBS_native
+= $(MODULEDIR
)/juce_data_structures.a
101 LIBS_native
+= $(MODULEDIR
)/juce_events.a
102 LIBS_native
+= $(MODULEDIR
)/juce_graphics.a
103 LIBS_native
+= $(MODULEDIR
)/juce_gui_basics.a
104 LIBS_native
+= $(MODULEDIR
)/juce_gui_extra.a
106 LINK_FLAGS
+= $(JUCE_AUDIO_BASICS_LIBS
)
107 LINK_FLAGS
+= $(JUCE_AUDIO_PROCESSORS_LIBS
)
108 LINK_FLAGS
+= $(JUCE_CORE_LIBS
)
109 LINK_FLAGS
+= $(JUCE_DATA_STRUCTURES_LIBS
)
110 LINK_FLAGS
+= $(JUCE_EVENTS_LIBS
)
111 LINK_FLAGS
+= $(JUCE_GRAPHICS_LIBS
)
112 LINK_FLAGS
+= $(JUCE_GUI_BASICS_LIBS
)
113 LINK_FLAGS
+= $(JUCE_GUI_EXTRA_LIBS
)
116 ifeq ($(JACKBRIDGE_DIRECT
),true
)
117 LINK_FLAGS
+= $(JACK_LIBS
)
120 LINK_FLAGS
+= $(X11_LIBS
)
122 # ---------------------------------------------------------------------------------------------------------------------
124 NATIVE_BUILD_FLAGS
= $(NATIVE_PLUGINS_FLAGS
)
125 NATIVE_LINK_FLAGS
= $(NATIVE_PLUGINS_LIBS
)
127 NATIVE_BUILD_FLAGS
+= $(LIBLO_FLAGS
)
128 NATIVE_LINK_FLAGS
+= $(LIBLO_LIBS
)
130 NATIVE_BUILD_FLAGS
+= $(FLUIDSYNTH_FLAGS
)
131 NATIVE_LINK_FLAGS
+= $(FLUIDSYNTH_LIBS
)
133 NATIVE_LINK_FLAGS
+= $(MAGIC_LIBS
)
135 LIBS_native
+= $(MODULEDIR
)/audio_decoder.a
136 LIBS_native
+= $(MODULEDIR
)/native-plugins.a
137 ifneq ($(STATIC_PLUGIN_TARGET
),true
)
138 LIBS_native
+= $(MODULEDIR
)/sfzero.a
140 LIBS_native
+= $(MODULEDIR
)/zita-resampler.a
142 ifeq ($(HAVE_DGL
),true
)
143 ifneq ($(USING_CUSTOM_DPF
),true
)
144 LIBS_native
+= $(MODULEDIR
)/dgl.a
146 LIBS_native
+= $(CUSTOM_DPF_PATH
)/build
/libdgl-opengl.a
150 ifeq ($(WINDOWS
),true
)
151 EXTRA_LINK_FLAGS
+= -lole32
-lssp
-mwindows
154 # ---------------------------------------------------------------------------------------------------------------------
157 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o \
158 $(OBJDIR
)/CarlaEngine.
cpp.o \
159 $(OBJDIR
)/CarlaEngineClient.
cpp.o \
160 $(OBJDIR
)/CarlaEngineData.
cpp.o \
161 $(OBJDIR
)/CarlaEngineDummy.
cpp.o \
162 $(OBJDIR
)/CarlaEngineGraph.
cpp.o \
163 $(OBJDIR
)/CarlaEngineInternal.
cpp.o \
164 $(OBJDIR
)/CarlaEngineNative.
cpp.o \
165 $(OBJDIR
)/CarlaEngineOscSend.
cpp.o \
166 $(OBJDIR
)/CarlaEnginePorts.
cpp.o \
167 $(OBJDIR
)/CarlaEngineRunner.
cpp.o \
168 $(OBJDIR
)/CarlaEngineJack.
cpp.o \
169 $(OBJDIR
)/CarlaEngineBridge.
cpp.o \
170 $(OBJDIR
)/CarlaPlugin.
cpp.o \
171 $(OBJDIR
)/CarlaPluginBridge.
cpp.o \
172 $(OBJDIR
)/CarlaPluginInternal.
cpp.o \
173 $(OBJDIR
)/CarlaPluginJack.
cpp.o \
174 $(OBJDIR
)/CarlaPluginNative.
cpp.o \
175 $(OBJDIR
)/CarlaPluginCLAP.
cpp.o \
176 $(OBJDIR
)/CarlaPluginLADSPADSSI.
cpp.o \
177 $(OBJDIR
)/CarlaPluginLV2.
cpp.o \
178 $(OBJDIR
)/CarlaPluginVST2.
cpp.o \
179 $(OBJDIR
)/CarlaPluginVST3.
cpp.o \
180 $(OBJDIR
)/CarlaPluginAU.
cpp.o \
181 $(OBJDIR
)/CarlaPluginJSFX.
cpp.o \
182 $(OBJDIR
)/CarlaPluginJuce.
cpp.o \
183 $(OBJDIR
)/CarlaPluginFluidSynth.
cpp.o \
184 $(OBJDIR
)/CarlaPluginSFZero.
cpp.o \
185 $(OBJDIR
)/CarlaStandalone.
cpp.o
187 OBJS_lv2
= $(OBJS_native
) \
188 $(OBJDIR
)/CarlaBridgeSingleLV2.
cpp.o
191 $(OBJDIR
)/CarlaBridgePlugin.
cpp.arch.o \
192 $(OBJDIR
)/CarlaEngine.
cpp.arch.o \
193 $(OBJDIR
)/CarlaEngineClient.
cpp.arch.o \
194 $(OBJDIR
)/CarlaEngineData.
cpp.arch.o \
195 $(OBJDIR
)/CarlaEngineInternal.
cpp.arch.o \
196 $(OBJDIR
)/CarlaEnginePorts.
cpp.arch.o \
197 $(OBJDIR
)/CarlaEngineRunner.
cpp.arch.o \
198 $(OBJDIR
)/CarlaEngineJack.
cpp.arch.o \
199 $(OBJDIR
)/CarlaEngineBridge.
cpp.arch.o \
200 $(OBJDIR
)/CarlaPlugin.
cpp.arch.o \
201 $(OBJDIR
)/CarlaPluginBridge.
cpp.arch.o \
202 $(OBJDIR
)/CarlaPluginInternal.
cpp.arch.o \
203 $(OBJDIR
)/CarlaPluginCLAP.
cpp.arch.o \
204 $(OBJDIR
)/CarlaPluginLADSPADSSI.
cpp.arch.o \
205 $(OBJDIR
)/CarlaPluginLV2.
cpp.arch.o \
206 $(OBJDIR
)/CarlaPluginVST2.
cpp.arch.o \
207 $(OBJDIR
)/CarlaPluginVST3.
cpp.arch.o \
208 $(OBJDIR
)/CarlaPluginAU.
cpp.arch.o \
209 $(OBJDIR
)/CarlaStandalone.
cpp.arch.o
211 OBJS_arm32
= $(OBJS_arch
:%.arch.o
=%.arm32.o
)
212 OBJS_posix32
= $(OBJS_arch
:%.arch.o
=%.posix32.o
)
213 OBJS_posix64
= $(OBJS_arch
:%.arch.o
=%.posix64.o
)
214 OBJS_win32
= $(OBJS_arch
:%.arch.o
=%.win32.o
)
215 OBJS_win64
= $(OBJS_arch
:%.arch.o
=%.win64.o
)
217 # ---------------------------------------------------------------------------------------------------------------------
221 # ---------------------------------------------------------------------------------------------------------------------
225 rm -f
$(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
)
226 rm -f
$(BINDIR
)/$(MODULENAME
)-posix32
227 rm -f
$(BINDIR
)/$(MODULENAME
)-posix64
228 rm -f
$(BINDIR
)/$(MODULENAME
)-win
*.exe
233 # ---------------------------------------------------------------------------------------------------------------------
235 native
: $(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
) $(BINDIR
)/$(MODULENAME
)-lv2
$(LIB_EXT
)
236 arm32
: $(BINDIR
)/$(MODULENAME
)-arm32
237 posix32
: $(BINDIR
)/$(MODULENAME
)-posix32
238 posix64
: $(BINDIR
)/$(MODULENAME
)-posix64
239 win32
: $(BINDIR
)/$(MODULENAME
)-win32.exe
240 win64
: $(BINDIR
)/$(MODULENAME
)-win64.exe
242 # ---------------------------------------------------------------------------------------------------------------------
245 $(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
): $(OBJS_native
) $(LIBS_native
)
247 @echo
"Linking $(MODULENAME)-native$(APP_EXT)"
248 $(SILENT
)$(CXX
) $(OBJS_native
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_native
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(NATIVE_LINK_FLAGS
) -o
$@
250 $(BINDIR
)/$(MODULENAME
)-lv2
$(LIB_EXT
): $(OBJS_lv2
) $(LIBS_native
)
252 @echo
"Linking $(MODULENAME)-lv2$(LIB_EXT)"
253 $(SILENT
)$(CXX
) $(OBJS_lv2
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_native
) $(LIBS_END
) $(SHARED
) $(LINK_FLAGS
) $(NATIVE_LINK_FLAGS
) -o
$@
255 $(BINDIR
)/$(MODULENAME
)-arm32
: $(OBJS_arm32
) $(LIBS_arm32
)
257 @echo
"Linking $(MODULENAME)-arm32"
258 $(SILENT
)$(CXX
) $(OBJS_arm32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_arm32
) $(LIBS_END
) $(LINK_FLAGS
) $(ARM32_FLAGS
) -o
$@
260 $(BINDIR
)/$(MODULENAME
)-posix32
: $(OBJS_posix32
) $(LIBS_posix32
)
262 @echo
"Linking $(MODULENAME)-posix32"
263 $(SILENT
)$(CXX
) $(OBJS_posix32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_posix32
) $(LIBS_END
) $(LINK_FLAGS
) $(32BIT_FLAGS
) -o
$@
265 $(BINDIR
)/$(MODULENAME
)-posix64
: $(OBJS_posix64
) $(LIBS_posix64
)
267 @echo
"Linking $(MODULENAME)-posix64"
268 $(SILENT
)$(CXX
) $(OBJS_posix64
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_posix64
) $(LIBS_END
) $(LINK_FLAGS
) $(64BIT_FLAGS
) -o
$@
270 $(BINDIR
)/$(MODULENAME
)-win32.exe
: $(OBJS_win32
) $(LIBS_win32
)
272 @echo
"Linking $(MODULENAME)-win32.exe"
273 $(SILENT
)$(CXX
) $(OBJS_win32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_win32
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(32BIT_FLAGS
) -o
$@
275 $(BINDIR
)/$(MODULENAME
)-win64.exe
: $(OBJS_win64
) $(LIBS_win64
)
277 @echo
"Linking $(MODULENAME)-win64.exe"
278 $(SILENT
)$(CXX
) $(OBJS_win64
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_win64
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(64BIT_FLAGS
) -o
$@
280 # ---------------------------------------------------------------------------------------------------------------------
283 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o
: CarlaBridgePlugin.
cpp
286 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
288 $(OBJDIR
)/CarlaBridgeSingleLV2.
cpp.o
: CarlaBridgeSingleLV2.
cpp
291 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
293 $(OBJDIR
)/CarlaStandalone.
cpp.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
295 @echo
"Compiling CarlaStandalone.cpp (bridge)"
296 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
298 $(OBJDIR
)/CarlaPlug
%.
cpp.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
300 @echo
"Compiling CarlaPlug$*.cpp (bridge)"
301 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
303 $(OBJDIR
)/CarlaEng
%.
cpp.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
305 @echo
"Compiling CarlaEng$*.cpp (bridge)"
306 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
308 $(OBJDIR
)/CarlaPluginJSFX.
cpp.o
: BUILD_CXX_FLAGS
+= $(YSFX_FLAGS
)
310 $(OBJDIR
)/CarlaPluginJuce.
cpp.o
: BUILD_CXX_FLAGS
+= -std
=gnu
++14
313 $(OBJDIR
)/CarlaPluginCLAP.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
315 $(OBJDIR
)/CarlaPluginJuce.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
317 $(OBJDIR
)/CarlaPluginVST2.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
319 $(OBJDIR
)/CarlaPluginVST3.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
321 $(OBJDIR
)/CarlaStandalone.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
323 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
326 # ---------------------------------------------------------------------------------------------------------------------
329 $(OBJDIR
)/CarlaBridgePlugin.
cpp.arm32.o
: CarlaBridgePlugin.
cpp
331 @echo
"Compiling $< (arm32 bridge)"
332 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
334 $(OBJDIR
)/CarlaStandalone.
cpp.arm32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
336 @echo
"Compiling CarlaStandalone.cpp (arm32 bridge)"
337 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
339 $(OBJDIR
)/CarlaEng
%.
cpp.arm32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
341 @echo
"Compiling CarlaEng$*.cpp (arm32 bridge)"
342 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
344 $(OBJDIR
)/CarlaPlug
%.
cpp.arm32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
346 @echo
"Compiling CarlaPlug$*.cpp (arm32 bridge)"
347 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
349 # ----------------------------------------------------------------------------------------------------------------------
353 $(OBJDIR
)/CarlaPluginVST2.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST2.
cpp
355 @echo
"Compiling CarlaPluginVST2.cpp (posix32 bridge)"
356 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
358 $(OBJDIR
)/CarlaPluginVST3.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST3.
cpp
360 @echo
"Compiling CarlaPluginVST3.cpp (posix32 bridge)"
361 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
363 $(OBJDIR
)/CarlaPluginCLAP.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginCLAP.
cpp
365 @echo
"Compiling CarlaPluginCLAP.cpp (posix32 bridge)"
366 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
368 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix32.o
: CarlaBridgePlugin.
cpp
370 @echo
"Compiling $< (posix32 bridge)"
371 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
373 $(OBJDIR
)/CarlaStandalone.
cpp.posix32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
375 @echo
"Compiling CarlaStandalone.cpp (posix32 bridge)"
376 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
378 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix32.o
: CarlaBridgePlugin.
cpp
380 @echo
"Compiling $< (posix32 bridge)"
381 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
383 $(OBJDIR
)/CarlaStandalone.
cpp.posix32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
385 @echo
"Compiling CarlaStandalone.cpp (posix32 bridge)"
386 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
389 $(OBJDIR
)/CarlaEng
%.
cpp.posix32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
391 @echo
"Compiling CarlaEng$*.cpp (posix32 bridge)"
392 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
394 $(OBJDIR
)/CarlaPlug
%.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
396 @echo
"Compiling CarlaPlug$*.cpp (posix32 bridge)"
397 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
399 # ---------------------------------------------------------------------------------------------------------------------
403 $(OBJDIR
)/CarlaPluginVST2.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST2.
cpp
405 @echo
"Compiling CarlaPluginVST2.cpp (posix64 bridge)"
406 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
408 $(OBJDIR
)/CarlaPluginVST3.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST3.
cpp
410 @echo
"Compiling CarlaPluginVST3.cpp (posix64 bridge)"
411 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
413 $(OBJDIR
)/CarlaPluginCLAP.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginCLAP.
cpp
415 @echo
"Compiling CarlaPluginCLAP.cpp (posix64 bridge)"
416 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
418 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix64.o
: CarlaBridgePlugin.
cpp
420 @echo
"Compiling $< (posix64 bridge)"
421 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
423 $(OBJDIR
)/CarlaStandalone.
cpp.posix64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
425 @echo
"Compiling CarlaStandalone.cpp (posix64 bridge)"
426 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
428 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix64.o
: CarlaBridgePlugin.
cpp
430 @echo
"Compiling $< (posix64 bridge)"
431 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
433 $(OBJDIR
)/CarlaStandalone.
cpp.posix64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
435 @echo
"Compiling CarlaStandalone.cpp (posix64 bridge)"
436 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
439 $(OBJDIR
)/CarlaEng
%.
cpp.posix64.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
441 @echo
"Compiling CarlaEng$*.cpp (posix64 bridge)"
442 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
444 $(OBJDIR
)/CarlaPlug
%.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
446 @echo
"Compiling CarlaPlug$*.cpp (posix64 bridge)"
447 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
449 # ---------------------------------------------------------------------------------------------------------------------
452 $(OBJDIR
)/CarlaBridgePlugin.
cpp.win32.o
: CarlaBridgePlugin.
cpp
454 @echo
"Compiling $< (win32 bridge)"
455 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
457 $(OBJDIR
)/CarlaStandalone.
cpp.win32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
459 @echo
"Compiling CarlaStandalone.cpp (win32 bridge)"
460 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
462 $(OBJDIR
)/CarlaEng
%.
cpp.win32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
464 @echo
"Compiling CarlaEng$*.cpp (win32 bridge)"
465 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
467 $(OBJDIR
)/CarlaPlug
%.
cpp.win32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
469 @echo
"Compiling CarlaPlug$*.cpp (win32 bridge)"
470 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
472 # ---------------------------------------------------------------------------------------------------------------------
475 $(OBJDIR
)/CarlaBridgePlugin.
cpp.win64.o
: CarlaBridgePlugin.
cpp
477 @echo
"Compiling $< (win64 bridge)"
478 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
480 $(OBJDIR
)/CarlaStandalone.
cpp.win64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
482 @echo
"Compiling CarlaStandalone.cpp (win64 bridge)"
483 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
485 $(OBJDIR
)/CarlaEng
%.
cpp.win64.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
487 @echo
"Compiling CarlaEng$*.cpp (win64 bridge)"
488 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
490 $(OBJDIR
)/CarlaPlug
%.
cpp.win64.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
492 @echo
"Compiling CarlaPlug$*.cpp (win64 bridge)"
493 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
495 # ---------------------------------------------------------------------------------------------------------------------
497 -include $(OBJS_lv2
:%.o
=%.d
)
498 -include $(OBJS_arm32
:%.o
=%.d
)
499 -include $(OBJS_posix32
:%.o
=%.d
)
500 -include $(OBJS_posix64
:%.o
=%.d
)
501 -include $(OBJS_win32
:%.o
=%.d
)
502 -include $(OBJS_win64
:%.o
=%.d
)
504 # ---------------------------------------------------------------------------------------------------------------------