2 # Makefile for carla-bridges-plugin #
3 # --------------------------------- #
8 MODULENAME
=carla-bridge
9 include $(CWD
)/Makefile.mk
13 BUILD_CXX_FLAGS
+= -pthread
17 # ---------------------------------------------------------------------------------------------------------------------
19 BINDIR
:= $(CWD
)/..
/bin
22 OBJDIR
:= $(CWD
)/..
/build
/bridges-plugin
/Debug
23 MODULEDIR
:= $(CWD
)/..
/build
/modules
/Debug
25 OBJDIR
:= $(CWD
)/..
/build
/bridges-plugin
/Release
26 MODULEDIR
:= $(CWD
)/..
/build
/modules
/Release
29 # ---------------------------------------------------------------------------------------------------------------------
31 BUILD_CXX_FLAGS
+= -DBUILD_BRIDGE
-I.
-I
$(CWD
) -I
$(CWD
)/backend
-I
$(CWD
)/includes
-I
$(CWD
)/modules
-I
$(CWD
)/utils
32 BUILD_CXX_FLAGS
+= -I
$(CWD
)/backend
/engine
-I
$(CWD
)/backend
/plugin
34 BUILD_CXX_FLAGS
+= -UHAVE_SDL
35 BUILD_CXX_FLAGS
+= -UUSING_RTAUDIO
37 32BIT_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
38 64BIT_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
39 ARM32_FLAGS
+= -DBUILD_BRIDGE_ALTERNATIVE_ARCH
41 # ---------------------------------------------------------------------------------------------------------------------
43 LIBS_native
= $(MODULEDIR
)/jackbridge.a
44 LIBS_arm32
= $(MODULEDIR
)/jackbridge.arm32.a
45 LIBS_posix32
= $(MODULEDIR
)/jackbridge.posix32.a
46 LIBS_posix64
= $(MODULEDIR
)/jackbridge.posix64.a
47 ifeq ($(BUILDING_FOR_WINE
),true
)
48 LIBS_win32
= $(MODULEDIR
)/jackbridge.win32e.a
49 LIBS_win64
= $(MODULEDIR
)/jackbridge.win64e.a
51 LIBS_win32
= $(MODULEDIR
)/jackbridge.win32.a
52 LIBS_win64
= $(MODULEDIR
)/jackbridge.win64.a
54 LINK_FLAGS
+= $(JACKBRIDGE_LIBS
)
56 LIBS_native
+= $(MODULEDIR
)/lilv.a
57 LIBS_arm32
+= $(MODULEDIR
)/lilv.arm32.a
58 LIBS_posix32
+= $(MODULEDIR
)/lilv.posix32.a
59 LIBS_posix64
+= $(MODULEDIR
)/lilv.posix64.a
60 LIBS_win32
+= $(MODULEDIR
)/lilv.win32.a
61 LIBS_win64
+= $(MODULEDIR
)/lilv.win64.a
62 LINK_FLAGS
+= $(LILV_LIBS
)
64 LIBS_native
+= $(MODULEDIR
)/rtmempool.a
65 LIBS_arm32
+= $(MODULEDIR
)/rtmempool.arm32.a
66 LIBS_posix32
+= $(MODULEDIR
)/rtmempool.posix32.a
67 LIBS_posix64
+= $(MODULEDIR
)/rtmempool.posix64.a
68 LIBS_win32
+= $(MODULEDIR
)/rtmempool.win32.a
69 LIBS_win64
+= $(MODULEDIR
)/rtmempool.win64.a
70 LINK_FLAGS
+= $(RTMEMPOOL_LIBS
)
72 LIBS_native
+= $(MODULEDIR
)/water.a
73 LIBS_arm32
+= $(MODULEDIR
)/water.arm32.a
74 LIBS_posix32
+= $(MODULEDIR
)/water.posix32.a
75 LIBS_posix64
+= $(MODULEDIR
)/water.posix64.a
76 LIBS_win32
+= $(MODULEDIR
)/water.win32.a
77 LIBS_win64
+= $(MODULEDIR
)/water.win64.a
78 LINK_FLAGS
+= $(WATER_LIBS
)
80 ifeq ($(HAVE_YSFX
),true
)
81 LIBS_native
+= $(MODULEDIR
)/ysfx.a
82 LINK_FLAGS
+= $(YSFX_GRAPHICS_LIBS
)
85 ifeq ($(JACKBRIDGE_DIRECT
),true
)
86 LINK_FLAGS
+= $(JACK_LIBS
)
89 LINK_FLAGS
+= $(X11_LIBS
)
91 # ---------------------------------------------------------------------------------------------------------------------
93 NATIVE_BUILD_FLAGS
= $(NATIVE_PLUGINS_FLAGS
)
94 NATIVE_LINK_FLAGS
= $(NATIVE_PLUGINS_LIBS
)
96 NATIVE_BUILD_FLAGS
+= $(LIBLO_FLAGS
)
97 NATIVE_LINK_FLAGS
+= $(LIBLO_LIBS
)
99 NATIVE_BUILD_FLAGS
+= $(FLUIDSYNTH_FLAGS
)
100 NATIVE_LINK_FLAGS
+= $(FLUIDSYNTH_LIBS
)
102 NATIVE_LINK_FLAGS
+= $(MAGIC_LIBS
)
104 LIBS_native
+= $(MODULEDIR
)/audio_decoder.a
105 LIBS_native
+= $(MODULEDIR
)/native-plugins.a
106 ifneq ($(STATIC_PLUGIN_TARGET
),true
)
107 LIBS_native
+= $(MODULEDIR
)/sfzero.a
109 LIBS_native
+= $(MODULEDIR
)/zita-resampler.a
111 ifeq ($(HAVE_DGL
),true
)
112 ifneq ($(USING_CUSTOM_DPF
),true
)
113 LIBS_native
+= $(MODULEDIR
)/dgl.a
115 LIBS_native
+= $(CUSTOM_DPF_PATH
)/build
/libdgl-opengl.a
119 ifeq ($(WINDOWS
),true
)
120 EXTRA_LINK_FLAGS
+= -lole32
-lssp
-mwindows
123 # ---------------------------------------------------------------------------------------------------------------------
126 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o \
127 $(OBJDIR
)/CarlaEngine.
cpp.o \
128 $(OBJDIR
)/CarlaEngineClient.
cpp.o \
129 $(OBJDIR
)/CarlaEngineData.
cpp.o \
130 $(OBJDIR
)/CarlaEngineDummy.
cpp.o \
131 $(OBJDIR
)/CarlaEngineGraph.
cpp.o \
132 $(OBJDIR
)/CarlaEngineInternal.
cpp.o \
133 $(OBJDIR
)/CarlaEngineNative.
cpp.o \
134 $(OBJDIR
)/CarlaEngineOscSend.
cpp.o \
135 $(OBJDIR
)/CarlaEnginePorts.
cpp.o \
136 $(OBJDIR
)/CarlaEngineRunner.
cpp.o \
137 $(OBJDIR
)/CarlaEngineJack.
cpp.o \
138 $(OBJDIR
)/CarlaEngineBridge.
cpp.o \
139 $(OBJDIR
)/CarlaPlugin.
cpp.o \
140 $(OBJDIR
)/CarlaPluginBridge.
cpp.o \
141 $(OBJDIR
)/CarlaPluginInternal.
cpp.o \
142 $(OBJDIR
)/CarlaPluginJack.
cpp.o \
143 $(OBJDIR
)/CarlaPluginNative.
cpp.o \
144 $(OBJDIR
)/CarlaPluginCLAP.
cpp.o \
145 $(OBJDIR
)/CarlaPluginLADSPADSSI.
cpp.o \
146 $(OBJDIR
)/CarlaPluginLV2.
cpp.o \
147 $(OBJDIR
)/CarlaPluginVST2.
cpp.o \
148 $(OBJDIR
)/CarlaPluginVST3.
cpp.o \
149 $(OBJDIR
)/CarlaPluginAU.
cpp.o \
150 $(OBJDIR
)/CarlaPluginJSFX.
cpp.o \
151 $(OBJDIR
)/CarlaPluginFluidSynth.
cpp.o \
152 $(OBJDIR
)/CarlaPluginSFZero.
cpp.o \
153 $(OBJDIR
)/CarlaStandalone.
cpp.o
155 OBJS_lv2
= $(OBJS_native
) \
156 $(OBJDIR
)/CarlaBridgeSingleLV2.
cpp.o
159 $(OBJDIR
)/CarlaBridgePlugin.
cpp.arch.o \
160 $(OBJDIR
)/CarlaEngine.
cpp.arch.o \
161 $(OBJDIR
)/CarlaEngineClient.
cpp.arch.o \
162 $(OBJDIR
)/CarlaEngineData.
cpp.arch.o \
163 $(OBJDIR
)/CarlaEngineInternal.
cpp.arch.o \
164 $(OBJDIR
)/CarlaEnginePorts.
cpp.arch.o \
165 $(OBJDIR
)/CarlaEngineRunner.
cpp.arch.o \
166 $(OBJDIR
)/CarlaEngineJack.
cpp.arch.o \
167 $(OBJDIR
)/CarlaEngineBridge.
cpp.arch.o \
168 $(OBJDIR
)/CarlaPlugin.
cpp.arch.o \
169 $(OBJDIR
)/CarlaPluginBridge.
cpp.arch.o \
170 $(OBJDIR
)/CarlaPluginInternal.
cpp.arch.o \
171 $(OBJDIR
)/CarlaPluginCLAP.
cpp.arch.o \
172 $(OBJDIR
)/CarlaPluginLADSPADSSI.
cpp.arch.o \
173 $(OBJDIR
)/CarlaPluginLV2.
cpp.arch.o \
174 $(OBJDIR
)/CarlaPluginVST2.
cpp.arch.o \
175 $(OBJDIR
)/CarlaPluginVST3.
cpp.arch.o \
176 $(OBJDIR
)/CarlaPluginAU.
cpp.arch.o \
177 $(OBJDIR
)/CarlaStandalone.
cpp.arch.o
179 OBJS_arm32
= $(OBJS_arch
:%.arch.o
=%.arm32.o
)
180 OBJS_posix32
= $(OBJS_arch
:%.arch.o
=%.posix32.o
)
181 OBJS_posix64
= $(OBJS_arch
:%.arch.o
=%.posix64.o
)
182 OBJS_win32
= $(OBJS_arch
:%.arch.o
=%.win32.o
)
183 OBJS_win64
= $(OBJS_arch
:%.arch.o
=%.win64.o
)
185 # ---------------------------------------------------------------------------------------------------------------------
189 # ---------------------------------------------------------------------------------------------------------------------
193 rm -f
$(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
)
194 rm -f
$(BINDIR
)/$(MODULENAME
)-posix32
195 rm -f
$(BINDIR
)/$(MODULENAME
)-posix64
196 rm -f
$(BINDIR
)/$(MODULENAME
)-win
*.exe
201 # ---------------------------------------------------------------------------------------------------------------------
203 native
: $(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
) $(BINDIR
)/$(MODULENAME
)-lv2
$(LIB_EXT
)
204 arm32
: $(BINDIR
)/$(MODULENAME
)-arm32
205 posix32
: $(BINDIR
)/$(MODULENAME
)-posix32
206 posix64
: $(BINDIR
)/$(MODULENAME
)-posix64
207 win32
: $(BINDIR
)/$(MODULENAME
)-win32.exe
208 win64
: $(BINDIR
)/$(MODULENAME
)-win64.exe
210 # ---------------------------------------------------------------------------------------------------------------------
213 $(BINDIR
)/$(MODULENAME
)-native
$(APP_EXT
): $(OBJS_native
) $(LIBS_native
)
215 @echo
"Linking $(MODULENAME)-native$(APP_EXT)"
216 $(SILENT
)$(CXX
) $(OBJS_native
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_native
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(NATIVE_LINK_FLAGS
) -o
$@
218 $(BINDIR
)/$(MODULENAME
)-lv2
$(LIB_EXT
): $(OBJS_lv2
) $(LIBS_native
)
220 @echo
"Linking $(MODULENAME)-lv2$(LIB_EXT)"
221 $(SILENT
)$(CXX
) $(OBJS_lv2
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_native
) $(LIBS_END
) $(SHARED
) $(LINK_FLAGS
) $(NATIVE_LINK_FLAGS
) -o
$@
223 $(BINDIR
)/$(MODULENAME
)-arm32
: $(OBJS_arm32
) $(LIBS_arm32
)
225 @echo
"Linking $(MODULENAME)-arm32"
226 $(SILENT
)$(CXX
) $(OBJS_arm32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_arm32
) $(LIBS_END
) $(LINK_FLAGS
) $(ARM32_FLAGS
) -o
$@
228 $(BINDIR
)/$(MODULENAME
)-posix32
: $(OBJS_posix32
) $(LIBS_posix32
)
230 @echo
"Linking $(MODULENAME)-posix32"
231 $(SILENT
)$(CXX
) $(OBJS_posix32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_posix32
) $(LIBS_END
) $(LINK_FLAGS
) $(32BIT_FLAGS
) -o
$@
233 $(BINDIR
)/$(MODULENAME
)-posix64
: $(OBJS_posix64
) $(LIBS_posix64
)
235 @echo
"Linking $(MODULENAME)-posix64"
236 $(SILENT
)$(CXX
) $(OBJS_posix64
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_posix64
) $(LIBS_END
) $(LINK_FLAGS
) $(64BIT_FLAGS
) -o
$@
238 $(BINDIR
)/$(MODULENAME
)-win32.exe
: $(OBJS_win32
) $(LIBS_win32
)
240 @echo
"Linking $(MODULENAME)-win32.exe"
241 $(SILENT
)$(CXX
) $(OBJS_win32
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_win32
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(32BIT_FLAGS
) -o
$@
243 $(BINDIR
)/$(MODULENAME
)-win64.exe
: $(OBJS_win64
) $(LIBS_win64
)
245 @echo
"Linking $(MODULENAME)-win64.exe"
246 $(SILENT
)$(CXX
) $(OBJS_win64
) $(BUILD_CXX_FLAGS
) $(LIBS_START
) $(LIBS_win64
) $(LIBS_END
) $(LINK_FLAGS
) $(EXTRA_LINK_FLAGS
) $(64BIT_FLAGS
) -o
$@
248 # ---------------------------------------------------------------------------------------------------------------------
251 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o
: CarlaBridgePlugin.
cpp
254 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
256 $(OBJDIR
)/CarlaBridgeSingleLV2.
cpp.o
: CarlaBridgeSingleLV2.
cpp
259 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
261 $(OBJDIR
)/CarlaStandalone.
cpp.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
263 @echo
"Compiling CarlaStandalone.cpp (bridge)"
264 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
266 $(OBJDIR
)/CarlaPlug
%.
cpp.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
268 @echo
"Compiling CarlaPlug$*.cpp (bridge)"
269 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
271 $(OBJDIR
)/CarlaEng
%.
cpp.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
273 @echo
"Compiling CarlaEng$*.cpp (bridge)"
274 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(NATIVE_BUILD_FLAGS
) -c
-o
$@
276 $(OBJDIR
)/CarlaPluginJSFX.
cpp.o
: BUILD_CXX_FLAGS
+= $(YSFX_FLAGS
)
279 $(OBJDIR
)/CarlaPluginCLAP.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
281 $(OBJDIR
)/CarlaPluginVST2.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
283 $(OBJDIR
)/CarlaPluginVST3.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
285 $(OBJDIR
)/CarlaStandalone.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
287 $(OBJDIR
)/CarlaBridgePlugin.
cpp.o
: BUILD_CXX_FLAGS
+= -ObjC
++
290 # ---------------------------------------------------------------------------------------------------------------------
293 $(OBJDIR
)/CarlaBridgePlugin.
cpp.arm32.o
: CarlaBridgePlugin.
cpp
295 @echo
"Compiling $< (arm32 bridge)"
296 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
298 $(OBJDIR
)/CarlaStandalone.
cpp.arm32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
300 @echo
"Compiling CarlaStandalone.cpp (arm32 bridge)"
301 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
303 $(OBJDIR
)/CarlaEng
%.
cpp.arm32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
305 @echo
"Compiling CarlaEng$*.cpp (arm32 bridge)"
306 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
308 $(OBJDIR
)/CarlaPlug
%.
cpp.arm32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
310 @echo
"Compiling CarlaPlug$*.cpp (arm32 bridge)"
311 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(ARM32_FLAGS
) -c
-o
$@
313 # ----------------------------------------------------------------------------------------------------------------------
317 $(OBJDIR
)/CarlaPluginVST2.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST2.
cpp
319 @echo
"Compiling CarlaPluginVST2.cpp (posix32 bridge)"
320 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
322 $(OBJDIR
)/CarlaPluginVST3.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST3.
cpp
324 @echo
"Compiling CarlaPluginVST3.cpp (posix32 bridge)"
325 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
327 $(OBJDIR
)/CarlaPluginCLAP.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPluginCLAP.
cpp
329 @echo
"Compiling CarlaPluginCLAP.cpp (posix32 bridge)"
330 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
332 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix32.o
: CarlaBridgePlugin.
cpp
334 @echo
"Compiling $< (posix32 bridge)"
335 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
337 $(OBJDIR
)/CarlaStandalone.
cpp.posix32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
339 @echo
"Compiling CarlaStandalone.cpp (posix32 bridge)"
340 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -ObjC
++ -c
-o
$@
342 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix32.o
: CarlaBridgePlugin.
cpp
344 @echo
"Compiling $< (posix32 bridge)"
345 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
347 $(OBJDIR
)/CarlaStandalone.
cpp.posix32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
349 @echo
"Compiling CarlaStandalone.cpp (posix32 bridge)"
350 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
353 $(OBJDIR
)/CarlaEng
%.
cpp.posix32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
355 @echo
"Compiling CarlaEng$*.cpp (posix32 bridge)"
356 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
358 $(OBJDIR
)/CarlaPlug
%.
cpp.posix32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
360 @echo
"Compiling CarlaPlug$*.cpp (posix32 bridge)"
361 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
363 # ---------------------------------------------------------------------------------------------------------------------
367 $(OBJDIR
)/CarlaPluginVST2.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST2.
cpp
369 @echo
"Compiling CarlaPluginVST2.cpp (posix64 bridge)"
370 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
372 $(OBJDIR
)/CarlaPluginVST3.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginVST3.
cpp
374 @echo
"Compiling CarlaPluginVST3.cpp (posix64 bridge)"
375 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
377 $(OBJDIR
)/CarlaPluginCLAP.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPluginCLAP.
cpp
379 @echo
"Compiling CarlaPluginCLAP.cpp (posix64 bridge)"
380 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
382 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix64.o
: CarlaBridgePlugin.
cpp
384 @echo
"Compiling $< (posix64 bridge)"
385 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
387 $(OBJDIR
)/CarlaStandalone.
cpp.posix64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
389 @echo
"Compiling CarlaStandalone.cpp (posix64 bridge)"
390 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -ObjC
++ -c
-o
$@
392 $(OBJDIR
)/CarlaBridgePlugin.
cpp.posix64.o
: CarlaBridgePlugin.
cpp
394 @echo
"Compiling $< (posix64 bridge)"
395 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
397 $(OBJDIR
)/CarlaStandalone.
cpp.posix64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
399 @echo
"Compiling CarlaStandalone.cpp (posix64 bridge)"
400 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
403 $(OBJDIR
)/CarlaEng
%.
cpp.posix64.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
405 @echo
"Compiling CarlaEng$*.cpp (posix64 bridge)"
406 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
408 $(OBJDIR
)/CarlaPlug
%.
cpp.posix64.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
410 @echo
"Compiling CarlaPlug$*.cpp (posix64 bridge)"
411 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
413 # ---------------------------------------------------------------------------------------------------------------------
416 $(OBJDIR
)/CarlaBridgePlugin.
cpp.win32.o
: CarlaBridgePlugin.
cpp
418 @echo
"Compiling $< (win32 bridge)"
419 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
421 $(OBJDIR
)/CarlaStandalone.
cpp.win32.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
423 @echo
"Compiling CarlaStandalone.cpp (win32 bridge)"
424 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
426 $(OBJDIR
)/CarlaEng
%.
cpp.win32.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
428 @echo
"Compiling CarlaEng$*.cpp (win32 bridge)"
429 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
431 $(OBJDIR
)/CarlaPlug
%.
cpp.win32.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
433 @echo
"Compiling CarlaPlug$*.cpp (win32 bridge)"
434 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(32BIT_FLAGS
) -c
-o
$@
436 # ---------------------------------------------------------------------------------------------------------------------
439 $(OBJDIR
)/CarlaBridgePlugin.
cpp.win64.o
: CarlaBridgePlugin.
cpp
441 @echo
"Compiling $< (win64 bridge)"
442 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
444 $(OBJDIR
)/CarlaStandalone.
cpp.win64.o
: $(CWD
)/backend
/CarlaStandalone.
cpp
446 @echo
"Compiling CarlaStandalone.cpp (win64 bridge)"
447 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
449 $(OBJDIR
)/CarlaEng
%.
cpp.win64.o
: $(CWD
)/backend
/engine
/CarlaEng
%.
cpp
451 @echo
"Compiling CarlaEng$*.cpp (win64 bridge)"
452 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
454 $(OBJDIR
)/CarlaPlug
%.
cpp.win64.o
: $(CWD
)/backend
/plugin
/CarlaPlug
%.
cpp
456 @echo
"Compiling CarlaPlug$*.cpp (win64 bridge)"
457 $(SILENT
)$(CXX
) $< $(BUILD_CXX_FLAGS
) $(64BIT_FLAGS
) -c
-o
$@
459 # ---------------------------------------------------------------------------------------------------------------------
461 -include $(OBJS_lv2
:%.o
=%.d
)
462 -include $(OBJS_arm32
:%.o
=%.d
)
463 -include $(OBJS_posix32
:%.o
=%.d
)
464 -include $(OBJS_posix64
:%.o
=%.d
)
465 -include $(OBJS_win32
:%.o
=%.d
)
466 -include $(OBJS_win64
:%.o
=%.d
)
468 # ---------------------------------------------------------------------------------------------------------------------