From 7a611594be3262633f4689da08997219354dc9e7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 2 May 2022 19:14:08 +0100 Subject: [PATCH] Always build juce_gui_extra; Add new mingw std compat files Signed-off-by: falkTX --- Makefile | 10 ---------- source/Makefile.deps.mk | 8 -------- source/Makefile.mk | 4 ---- source/backend/Makefile | 4 ---- source/backend/engine/Makefile | 6 ++++++ source/backend/plugin/Makefile | 6 ++++++ source/backend/utils/Makefile | 4 ---- source/bridges-plugin/Makefile | 10 ++++++++-- source/discovery/Makefile | 10 +++++++--- source/modules/AppConfig.h | 7 +------ source/modules/carla_juce/Makefile | 4 ++++ source/modules/juce_audio_basics/Makefile | 4 ++++ source/modules/juce_audio_devices/Makefile | 4 ++++ source/modules/juce_audio_processors/Makefile | 4 ++++ source/modules/juce_core/Makefile | 4 ++++ source/modules/juce_data_structures/Makefile | 4 ++++ source/modules/juce_events/Makefile | 4 ++++ source/modules/juce_graphics/Makefile | 4 ++++ source/modules/juce_gui_basics/Makefile | 4 ++++ source/modules/juce_gui_extra/Makefile | 4 ++++ source/modules/mingw-std-threads/condition_variable | 3 +++ source/modules/mingw-std-threads/mutex | 3 +++ source/modules/mingw-std-threads/thread | 3 +++ source/plugin/Makefile | 4 ---- 24 files changed, 77 insertions(+), 45 deletions(-) create mode 100644 source/modules/mingw-std-threads/condition_variable create mode 100644 source/modules/mingw-std-threads/mutex create mode 100644 source/modules/mingw-std-threads/thread diff --git a/Makefile b/Makefile index a3e3b15d6..1414106b5 100644 --- a/Makefile +++ b/Makefile @@ -80,10 +80,8 @@ endif 3RD_LIBS += $(MODULEDIR)/juce_events.a 3RD_LIBS += $(MODULEDIR)/juce_graphics.a 3RD_LIBS += $(MODULEDIR)/juce_gui_basics.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) 3RD_LIBS += $(MODULEDIR)/juce_gui_extra.a endif -endif ifeq ($(USING_RTAUDIO),true) 3RD_LIBS += $(MODULEDIR)/rtaudio.a @@ -269,10 +267,8 @@ LIBS_POSIX32 += $(MODULEDIR)/juce_core.posix32.a LIBS_POSIX32 += $(MODULEDIR)/juce_events.posix32.a LIBS_POSIX32 += $(MODULEDIR)/juce_graphics.posix32.a LIBS_POSIX32 += $(MODULEDIR)/juce_gui_basics.posix32.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_POSIX32 += $(MODULEDIR)/juce_gui_extra.posix32.a endif -endif posix32: $(LIBS_POSIX32) $(MAKE) -C source/bridges-plugin posix32 @@ -295,10 +291,8 @@ LIBS_POSIX64 += $(MODULEDIR)/juce_core.posix64.a LIBS_POSIX64 += $(MODULEDIR)/juce_events.posix64.a LIBS_POSIX64 += $(MODULEDIR)/juce_graphics.posix64.a LIBS_POSIX64 += $(MODULEDIR)/juce_gui_basics.posix64.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_POSIX64 += $(MODULEDIR)/juce_gui_extra.posix64.a endif -endif posix64: $(LIBS_POSIX64) $(MAKE) -C source/bridges-plugin posix64 @@ -320,10 +314,8 @@ LIBS_WIN32 += $(MODULEDIR)/juce_core.win32.a LIBS_WIN32 += $(MODULEDIR)/juce_events.win32.a LIBS_WIN32 += $(MODULEDIR)/juce_graphics.win32.a LIBS_WIN32 += $(MODULEDIR)/juce_gui_basics.win32.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_WIN32 += $(MODULEDIR)/juce_gui_extra.win32.a endif -endif LIBS_WINE32 = $(LIBS_WIN32) $(MODULEDIR)/jackbridge.win32e.a LIBS_RWIN32 = $(LIBS_WIN32) $(MODULEDIR)/jackbridge.win32.a @@ -357,10 +349,8 @@ LIBS_WIN64 += $(MODULEDIR)/juce_core.win64.a LIBS_WIN64 += $(MODULEDIR)/juce_events.win64.a LIBS_WIN64 += $(MODULEDIR)/juce_graphics.win64.a LIBS_WIN64 += $(MODULEDIR)/juce_gui_basics.win64.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_WIN64 += $(MODULEDIR)/juce_gui_extra.win64.a endif -endif LIBS_WINE64 = $(LIBS_WIN64) $(MODULEDIR)/jackbridge.win64e.a LIBS_RWIN64 = $(LIBS_WIN64) $(MODULEDIR)/jackbridge.win64.a diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index af63b7131..13a3257cc 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -316,12 +316,6 @@ ifeq ($(HAVE_JUCE_LINUX_DEPS),true) USING_JUCE = true endif -ifeq ($(USING_JUCE),true) -ifeq ($(LINUX_OR_MACOS),true) -USING_JUCE_GUI_EXTRA = true -endif -endif - # --------------------------------------------------------------------------------------------------------------------- # Set USING_RTAUDIO @@ -559,10 +553,8 @@ STATIC_CARLA_PLUGIN_LIBS += $(JUCE_CORE_LIBS) STATIC_CARLA_PLUGIN_LIBS += $(JUCE_EVENTS_LIBS) STATIC_CARLA_PLUGIN_LIBS += $(JUCE_GRAPHICS_LIBS) STATIC_CARLA_PLUGIN_LIBS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) STATIC_CARLA_PLUGIN_LIBS += $(JUCE_GUI_EXTRA_LIBS) endif -endif ifeq ($(EXTERNAL_PLUGINS),true) ifneq ($(DEBUG),true) diff --git a/source/Makefile.mk b/source/Makefile.mk index 9727b673c..bb60b645f 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -224,10 +224,6 @@ ifeq ($(USING_JUCE_AUDIO_DEVICES),true) BASE_FLAGS += -DUSING_JUCE_AUDIO_DEVICES endif -ifeq ($(USING_JUCE_GUI_EXTRA),true) -BASE_FLAGS += -DUSING_JUCE_GUI_EXTRA -endif - ifeq ($(USING_RTAUDIO),true) BASE_FLAGS += -DUSING_RTAUDIO endif diff --git a/source/backend/Makefile b/source/backend/Makefile index 6b3f2a5ab..a027d179b 100644 --- a/source/backend/Makefile +++ b/source/backend/Makefile @@ -56,10 +56,8 @@ STANDALONE_LIBS += $(MODULEDIR)/juce_data_structures.a STANDALONE_LIBS += $(MODULEDIR)/juce_events.a STANDALONE_LIBS += $(MODULEDIR)/juce_graphics.a STANDALONE_LIBS += $(MODULEDIR)/juce_gui_basics.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) STANDALONE_LIBS += $(MODULEDIR)/juce_gui_extra.a endif -endif ifeq ($(USING_RTAUDIO),true) STANDALONE_LIBS += $(MODULEDIR)/rtaudio.a @@ -91,10 +89,8 @@ STANDALONE_LINK_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_EVENTS_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_GRAPHICS_LIBS) STANDALONE_LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) STANDALONE_LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif -endif ifeq ($(USING_RTAUDIO),true) STANDALONE_LINK_FLAGS += $(RTAUDIO_LIBS) diff --git a/source/backend/engine/Makefile b/source/backend/engine/Makefile index 2afe7a8bf..38df8311b 100644 --- a/source/backend/engine/Makefile +++ b/source/backend/engine/Makefile @@ -14,6 +14,12 @@ BUILD_CXX_FLAGS += -Wno-undef endif endif +ifeq ($(USING_JUCE),true) +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I$(CWD)/modules/mingw-std-threads +endif +endif + BUILD_CXX_FLAGS += $(MAGIC_FLAGS) # --------------------------------------------------------------------------------------------------------------------- diff --git a/source/backend/plugin/Makefile b/source/backend/plugin/Makefile index dcc663df3..fe6469eca 100644 --- a/source/backend/plugin/Makefile +++ b/source/backend/plugin/Makefile @@ -14,6 +14,12 @@ BUILD_CXX_FLAGS += -Wno-undef endif endif +ifeq ($(USING_JUCE),true) +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I$(CWD)/modules/mingw-std-threads +endif +endif + BUILD_CXX_FLAGS += $(MAGIC_FLAGS) # --------------------------------------------------------------------------------------------------------------------- diff --git a/source/backend/utils/Makefile b/source/backend/utils/Makefile index 3d8d7f76a..1fa82248c 100644 --- a/source/backend/utils/Makefile +++ b/source/backend/utils/Makefile @@ -37,10 +37,8 @@ LIBS += $(MODULEDIR)/juce_data_structures.a LIBS += $(MODULEDIR)/juce_events.a LIBS += $(MODULEDIR)/juce_graphics.a LIBS += $(MODULEDIR)/juce_gui_basics.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS += $(MODULEDIR)/juce_gui_extra.a endif -endif LINK_FLAGS += $(LILV_LIBS) LINK_FLAGS += $(WATER_LIBS) @@ -61,10 +59,8 @@ LINK_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS) LINK_FLAGS += $(JUCE_EVENTS_LIBS) LINK_FLAGS += $(JUCE_GRAPHICS_LIBS) LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif -endif # --------------------------------------------------------------------------------------------------------------------- diff --git a/source/bridges-plugin/Makefile b/source/bridges-plugin/Makefile index 37380c396..31f1726e9 100644 --- a/source/bridges-plugin/Makefile +++ b/source/bridges-plugin/Makefile @@ -34,6 +34,12 @@ endif BUILD_CXX_FLAGS += -DBUILD_BRIDGE -I. -I$(CWD) -I$(CWD)/backend -I$(CWD)/includes -I$(CWD)/modules -I$(CWD)/utils BUILD_CXX_FLAGS += -I$(CWD)/backend/engine -I$(CWD)/backend/plugin +ifeq ($(USING_JUCE),true) +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I$(CWD)/modules/mingw-std-threads +endif +endif + 32BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH 64BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH ARM32_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH @@ -133,13 +139,13 @@ LIBS_win32 += $(MODULEDIR)/juce_gui_basics.win32.a LIBS_win64 += $(MODULEDIR)/juce_gui_basics.win64.a LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_native += $(MODULEDIR)/juce_gui_extra.a LIBS_posix32 += $(MODULEDIR)/juce_gui_extra.posix32.a LIBS_posix64 += $(MODULEDIR)/juce_gui_extra.posix64.a +LIBS_win32 += $(MODULEDIR)/juce_gui_extra.win32.a +LIBS_win64 += $(MODULEDIR)/juce_gui_extra.win64.a LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif -endif ifeq ($(JACKBRIDGE_DIRECT),true) LINK_FLAGS += $(JACK_LIBS) diff --git a/source/discovery/Makefile b/source/discovery/Makefile index fb7e00e4d..04d114216 100644 --- a/source/discovery/Makefile +++ b/source/discovery/Makefile @@ -49,6 +49,12 @@ ifeq ($(USING_JUCE),true) BUILD_CXX_FLAGS += -std=gnu++14 endif +ifeq ($(USING_JUCE),true) +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I$(CWD)/modules/mingw-std-threads +endif +endif + 32BIT_FLAGS += -DBUILD_BRIDGE -DBUILD_BRIDGE_ALTERNATIVE_ARCH 64BIT_FLAGS += -DBUILD_BRIDGE -DBUILD_BRIDGE_ALTERNATIVE_ARCH ARM32_FLAGS += -DBUILD_BRIDGE -DBUILD_BRIDGE_ALTERNATIVE_ARCH @@ -138,14 +144,12 @@ LIBS_win32 += $(MODULEDIR)/juce_gui_basics.win32.a LIBS_win64 += $(MODULEDIR)/juce_gui_basics.win64.a LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS_native += $(MODULEDIR)/juce_gui_extra.a LIBS_posix32 += $(MODULEDIR)/juce_gui_extra.posix32.a LIBS_posix64 += $(MODULEDIR)/juce_gui_extra.posix64.a LIBS_win32 += $(MODULEDIR)/juce_gui_extra.win32.a LIBS_win64 += $(MODULEDIR)/juce_gui_extra.win64.a LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) -endif # USING_JUCE_GUI_EXTRA endif # USING_JUCE # --------------------------------------------------------------------------------------------------------------------- @@ -188,7 +192,7 @@ $(BINDIR)/$(MODULENAME)-native: $(OBJS_native) $(LIBS_native) $(BINDIR)/$(MODULENAME)-native.exe: $(OBJS_native) $(LIBS_native) -@mkdir -p $(BINDIR) @echo "Linking $(MODULENAME)-native.exe" - $(SILENT)$(CXX)$(OBJS_native)$(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@ + $(SILENT)$(CXX) $(OBJS_native) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@ $(BINDIR)/$(MODULENAME)-arm32: $(OBJS_arm32) $(LIBS_arm32) -@mkdir -p $(BINDIR) diff --git a/source/modules/AppConfig.h b/source/modules/AppConfig.h index 04cbede6c..dcba8dc6d 100644 --- a/source/modules/AppConfig.h +++ b/source/modules/AppConfig.h @@ -49,6 +49,7 @@ #define JUCE_MODULE_AVAILABLE_juce_events 1 #define JUCE_MODULE_AVAILABLE_juce_graphics 1 #define JUCE_MODULE_AVAILABLE_juce_gui_basics 1 +#define JUCE_MODULE_AVAILABLE_juce_gui_extra 1 // always disabled #define JUCE_MODULE_AVAILABLE_juce_audio_formats 0 @@ -65,12 +66,6 @@ # define JUCE_MODULE_AVAILABLE_juce_audio_devices 0 #endif -#ifdef USING_JUCE_GUI_EXTRA -# define JUCE_MODULE_AVAILABLE_juce_gui_extra 1 -#else -# define JUCE_MODULE_AVAILABLE_juce_gui_extra 0 -#endif - // misc #define JUCE_DISABLE_JUCE_VERSION_PRINTING 1 #define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1 diff --git a/source/modules/carla_juce/Makefile b/source/modules/carla_juce/Makefile index aac66854e..d1eb09613 100644 --- a/source/modules/carla_juce/Makefile +++ b/source/modules/carla_juce/Makefile @@ -12,6 +12,10 @@ include ../Makefile.mk BUILD_CXX_FLAGS += -I.. -std=gnu++14 +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_audio_basics/Makefile b/source/modules/juce_audio_basics/Makefile index 6e560239b..255932456 100644 --- a/source/modules/juce_audio_basics/Makefile +++ b/source/modules/juce_audio_basics/Makefile @@ -21,6 +21,10 @@ BUILD_CXX_FLAGS += $(JUCE_AUDIO_BASICS_FLAGS) -I.. -std=gnu++14 # endif # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_audio_devices/Makefile b/source/modules/juce_audio_devices/Makefile index e3720ee79..c52a8a77f 100644 --- a/source/modules/juce_audio_devices/Makefile +++ b/source/modules/juce_audio_devices/Makefile @@ -18,6 +18,10 @@ ifeq ($(WIN32),true) BUILD_CXX_FLAGS += -I$(CWD)/modules/rtaudio/include endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_audio_processors/Makefile b/source/modules/juce_audio_processors/Makefile index cdc55d386..66a867cc0 100644 --- a/source/modules/juce_audio_processors/Makefile +++ b/source/modules/juce_audio_processors/Makefile @@ -28,6 +28,10 @@ endif # endif # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_core/Makefile b/source/modules/juce_core/Makefile index 7f15f7631..1ec440a09 100644 --- a/source/modules/juce_core/Makefile +++ b/source/modules/juce_core/Makefile @@ -16,6 +16,10 @@ BUILD_CXX_FLAGS += $(JUCE_CORE_FLAGS) -I.. -std=gnu++14 # BUILD_CXX_FLAGS += -w # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_data_structures/Makefile b/source/modules/juce_data_structures/Makefile index c6b4a3b3d..5bc89e330 100644 --- a/source/modules/juce_data_structures/Makefile +++ b/source/modules/juce_data_structures/Makefile @@ -12,6 +12,10 @@ include ../Makefile.mk BUILD_CXX_FLAGS += $(JUCE_DATA_STRUCTURES_FLAGS) -I.. -std=gnu++14 +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_events/Makefile b/source/modules/juce_events/Makefile index d31818f40..f4f52396e 100644 --- a/source/modules/juce_events/Makefile +++ b/source/modules/juce_events/Makefile @@ -16,6 +16,10 @@ BUILD_CXX_FLAGS += $(JUCE_EVENTS_FLAGS) -I.. -std=gnu++14 # BUILD_CXX_FLAGS += -Wno-missing-field-initializers # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_graphics/Makefile b/source/modules/juce_graphics/Makefile index 765e2e4c6..e6c2c4426 100644 --- a/source/modules/juce_graphics/Makefile +++ b/source/modules/juce_graphics/Makefile @@ -19,6 +19,10 @@ endif # BUILD_CXX_FLAGS += -Wno-missing-field-initializers -Wno-strict-overflow # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_gui_basics/Makefile b/source/modules/juce_gui_basics/Makefile index 191e197eb..6fc87af30 100644 --- a/source/modules/juce_gui_basics/Makefile +++ b/source/modules/juce_gui_basics/Makefile @@ -21,6 +21,10 @@ BUILD_CXX_FLAGS += $(JUCE_GUI_BASICS_FLAGS) -I.. -std=gnu++14 # endif # endif +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/juce_gui_extra/Makefile b/source/modules/juce_gui_extra/Makefile index 8591e05c4..f9b2be239 100644 --- a/source/modules/juce_gui_extra/Makefile +++ b/source/modules/juce_gui_extra/Makefile @@ -12,6 +12,10 @@ include ../Makefile.mk BUILD_CXX_FLAGS += $(JUCE_GUI_EXTRA_FLAGS) -I.. -std=gnu++14 +ifeq ($(WIN32),true) +BUILD_CXX_FLAGS += -I../mingw-std-threads +endif + # --------------------------------------------------------------------------------------------------------------------- ifeq ($(MACOS),true) diff --git a/source/modules/mingw-std-threads/condition_variable b/source/modules/mingw-std-threads/condition_variable new file mode 100644 index 000000000..7f9970d63 --- /dev/null +++ b/source/modules/mingw-std-threads/condition_variable @@ -0,0 +1,3 @@ +#pragma once +#include_next +#include "mingw.condition_variable.h" diff --git a/source/modules/mingw-std-threads/mutex b/source/modules/mingw-std-threads/mutex new file mode 100644 index 000000000..69cd67506 --- /dev/null +++ b/source/modules/mingw-std-threads/mutex @@ -0,0 +1,3 @@ +#pragma once +#include_next +#include "mingw.mutex.h" diff --git a/source/modules/mingw-std-threads/thread b/source/modules/mingw-std-threads/thread new file mode 100644 index 000000000..640ddc70a --- /dev/null +++ b/source/modules/mingw-std-threads/thread @@ -0,0 +1,3 @@ +#pragma once +#include_next +#include "mingw.thread.h" diff --git a/source/plugin/Makefile b/source/plugin/Makefile index 548318108..01584913b 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -81,10 +81,8 @@ LIBS += $(MODULEDIR)/juce_data_structures.a LIBS += $(MODULEDIR)/juce_events.a LIBS += $(MODULEDIR)/juce_graphics.a LIBS += $(MODULEDIR)/juce_gui_basics.a -ifeq ($(USING_JUCE_GUI_EXTRA),true) LIBS += $(MODULEDIR)/juce_gui_extra.a endif -endif # --------------------------------------------------------------------------------------------------------------------- # Link flags @@ -110,10 +108,8 @@ LINK_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS) LINK_FLAGS += $(JUCE_EVENTS_LIBS) LINK_FLAGS += $(JUCE_GRAPHICS_LIBS) LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS) -ifeq ($(USING_JUCE_GUI_EXTRA),true) LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif -endif ifeq ($(MACOS),true) SYMBOLS_NATIVE = -Wl,-exported_symbol,_carla_get_native_rack_plugin