#
# Copyright (C) 2026 Linux Studio Plugins Project <https://lsp-plug.in/>
#           (C) 2026 Vladimir Sadovnikov <sadko4u@gmail.com>
#
# This file is part of lsp-plugin-fw
#
# lsp-plugin-fw is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# lsp-plugin-fw is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with lsp-plugin-fw.  If not, see <https://www.gnu.org/licenses/>.
#

#------------------------------------------------------------------------------
# Features enabled by default
DEFAULT_FEATURES = clap doc ladspa lv2 ui vst2 vst3 xdg

#------------------------------------------------------------------------------
# Plugin dependencies
DEPENDENCIES_COMMON = \
  LSP_AUDIO_IFACE \
  LSP_COMMON_LIB \
  LSP_DSP_LIB \
  LSP_DSP_UNITS \
  LSP_LLTL_LIB \
  LSP_RUNTIME_LIB \
  LSP_PLUGIN_FW \
  LSP_3RD_PARTY

DEPENDENCIES_COMMON_UI = \
  LSP_R3D_BASE_LIB \
  LSP_R3D_IFACE \
  LSP_TK_LIB \
  LSP_WS_LIB

DEPENDENCIES_BIN =

DEPENDENCIES_UI_BIN =

# Testing
TEST_DEPENDENCIES = \
  LSP_TEST_FW

TEST_DEPENDENCIES_UI = \
  LSP_R3D_COMMON_LIB \
  LSP_TEST_FW

# Launcher tool
DEPENDENCIES_LAUNCHER = \
  $(DEPENDENCIES_COMMON) \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_LAUNCHER_BIN =

# CLAP dependencies
DEPENDENCIES_CLAP = \
  $(DEPENDENCIES_COMMON)

DEPENDENCIES_CLAP_UI = \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_CLAP_BIN =

DEPENDENCIES_CLAP_UI_BIN =

# GStreamer dependencies
DEPENDENCIES_GST = \
  $(DEPENDENCIES_COMMON)

DEPENDENCIES_GST_WRAP = \
  LSP_COMMON_LIB

DEPENDENCIES_GST_BIN = 

# Stanadalone dependencies
DEPENDENCIES_STANDALONE = \
  $(DEPENDENCIES_COMMON)

DEPENDENCIES_STANDALONE_UI = \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_STANDALONE_WRAP = \
  LSP_COMMON_LIB

DEPENDENCIES_STANDALONE_BIN =

DEPENDENCIES_STANDALONE_UI_BIN =

DEPENDENCIES_STANDALONE_ALL = \
  $(DEPENDENCIES_STANDALONE) \
  $(DEPENDENCIES_STANDALONE_WRAP) \
  $(DEPENDENCIES_STANDALONE_BIN)
  
DEPENDENCIES_STANDALONE_UI_ALL = \
  $(DEPENDENCIES_STANDALONE_UI) \
  $(DEPENDENCIES_STANDALONE_UI_BIN)

# LADSPA dependencies
DEPENDENCIES_LADSPA = \
  $(DEPENDENCIES_COMMON)

DEPENDENCIES_LADSPA_BIN =

# LV2 dependencies
DEPENDENCIES_LV2 = \
  $(DEPENDENCIES_COMMON)

DEPENDENCIES_LV2_UI = \
  $(DEPENDENCIES_COMMON) \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_LV2TTL_GEN = \
  LIBPTHREAD \
  LIBDL \
  LSP_COMMON_LIB
  
DEPENDENCIES_LV2_BIN =

DEPENDENCIES_LV2_UI_BIN =

# VST2 dependencies
DEPENDENCIES_VST2 = \
  $(DEPENDENCIES_COMMON)
  
DEPENDENCIES_VST2_UI = \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_VST2_WRAP = \
  LSP_COMMON_LIB \
  LSP_3RD_PARTY

DEPENDENCIES_VST2_BIN =

DEPENDENCIES_VST2_UI_BIN =

# VST3 dependencies
DEPENDENCIES_VST3 = \
  $(DEPENDENCIES_COMMON)
  
DEPENDENCIES_VST3_UI = \
  $(DEPENDENCIES_COMMON_UI)

DEPENDENCIES_VST3_BIN =

DEPENDENCIES_VST3_UI_BIN =

#------------------------------------------------------------------------------
# Linux-specific dependencies
LINUX_DEPENDENCIES_COMMON =

LINUX_DEPENDENCIES_COMMON_UI =

LINUX_DEPENDENCIES_BIN =

LINUX_DEPENDENCIES_UI_BIN =

# Testing
LINUX_TEST_DEPENDENCIES = \
  LSP_AUDIO_JACK_LIB \
  LSP_AUDIO_PIPEWIRE_LIB

LINUX_TEST_DEPENDENCIES_UI = \
  LSP_R3D_GLX_LIB \
  LIBGL

# Launcher tool
LINUX_DEPENDENCIES_LAUNCHER = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR
  
LINUX_DEPENDENCIES_LAUNCHER_BIN = \
  LSP_R3D_GLX_LIB

# CLAP dependencies
LINUX_DEPENDENCIES_CLAP = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE

LINUX_DEPENDENCIES_CLAP_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

LINUX_DEPENDENCIES_CLAP_BIN =

LINUX_DEPENDENCIES_CLAP_UI_BIN = \
  LSP_R3D_GLX_LIB

# GStreamer dependencies 
LINUX_DEPENDENCIES_GST = \
  LIBDL \
  LIBGSTREAMER_AUDIO \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE

LINUX_DEPENDENCIES_GST_WRAP = \
  LIBDL \
  LIBGSTREAMER_AUDIO
  
LINUX_DEPENDENCIES_GST_BIN =

# Standalone dependencies
LINUX_DEPENDENCIES_STANDALONE = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  $(call fcheck,test,$(BUILD_FEATURES), \
    $(call fcheck,jack,$(BUILD_FEATURES),LIBJACK) \
    $(call fcheck,pipewire,$(BUILD_FEATURES),LIBPIPEWIRE) \
  )

LINUX_DEPENDENCIES_STANDALONE_OPT = \
  LIBJACK \
  LIBPIPEWIRE

LINUX_DEPENDENCIES_STANDALONE_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

LINUX_DEPENDENCIES_STANDALONE_WRAP = \
  LIBDL

LINUX_DEPENDENCIES_STANDALONE_WRAP_OPT =

LINUX_DEPENDENCIES_STANDALONE_BIN = \
  $(call fcheck,jack,$(BUILD_FEATURES), LSP_AUDIO_JACK_LIB) \
  $(call fcheck,pipewire,$(BUILD_FEATURES), LSP_AUDIO_PIPEWIRE_LIB)

LINUX_DEPENDENCIES_STANDALONE_BIN_OPT = \
  LSP_AUDIO_JACK_LIB \
  LSP_AUDIO_PIPEWIRE_LIB

LINUX_DEPENDENCIES_STANDALONE_UI_BIN = \
  LSP_R3D_GLX_LIB

LINUX_DEPENDENCIES_STANDALONE_ALL = \
  $(LINUX_DEPENDENCIES_STANDALONE) \
  $(LINUX_DEPENDENCIES_STANDALONE_OPT) \
  $(LINUX_DEPENDENCIES_STANDALONE_WRAP) \
  $(LINUX_DEPENDENCIES_STANDALONE_WRAP_OPT) \
  $(LINUX_DEPENDENCIES_STANDALONE_BIN) \
  $(LINUX_DEPENDENCIES_STANDALONE_BIN_OPT) \

LINUX_DEPENDENCIES_STANDALONE_UI_ALL = \
  $(LINUX_DEPENDENCIES_STANDALONE_UI) \
  $(LINUX_DEPENDENCIES_STANDALONE_UI_BIN)

# LADSPA dependencies
LINUX_DEPENDENCIES_LADSPA = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE
  
LINUX_DEPENDENCIES_LADSPA_BIN =

# LV2 dependencies
LINUX_DEPENDENCIES_LV2 = \
  LIBCAIRO \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE
    
LINUX_DEPENDENCIES_LV2_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

LINUX_DEPENDENCIES_LV2_BIN =

LINUX_DEPENDENCIES_LV2_UI_BIN = \
  LSP_R3D_GLX_LIB

# VST2 dependencies
LINUX_DEPENDENCIES_VST2 = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE
  
LINUX_DEPENDENCIES_VST2_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

LINUX_DEPENDENCIES_VST2_WRAP = \
  LIBDL

LINUX_DEPENDENCIES_VST2_BIN =

LINUX_DEPENDENCIES_VST2_UI_BIN = \
  LSP_R3D_GLX_LIB

# VST3 dependencies
LINUX_DEPENDENCIES_VST3 = \
  LIBPTHREAD \
  LIBDL \
  LIBRT \
  LIBSNDFILE

LINUX_DEPENDENCIES_VST3_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

LINUX_DEPENDENCIES_VST3_BIN =

LINUX_DEPENDENCIES_VST3_UI_BIN = \
  LSP_R3D_GLX_LIB

ifeq ($(PLATFORM),Linux)
  DEFAULT_FEATURES                 += standalone
  
  DEPENDENCIES_COMMON              += $(LINUX_DEPENDENCIES_COMMON)
  DEPENDENCIES_COMMON_UI           += $(LINUX_DEPENDENCIES_COMMON_UI)
  DEPENDENCIES_BIN                 += $(LINUX_DEPENDENCIES_BIN)
  DEPENDENCIES_UI_BIN              += $(LINUX_DEPENDENCIES_UI_BIN)
  TEST_DEPENDENCIES                += $(LINUX_TEST_DEPENDENCIES)
  TEST_DEPENDENCIES_UI             += $(LINUX_TEST_DEPENDENCIES_UI)
  
  DEPENDENCIES_LAUNCHER            += $(LINUX_DEPENDENCIES_LAUNCHER)
  DEPENDENCIES_LAUNCHER_BIN        += $(LINUX_DEPENDENCIES_LAUNCHER_BIN)

  DEPENDENCIES_CLAP                += $(LINUX_DEPENDENCIES_CLAP)
  DEPENDENCIES_CLAP_UI             += $(LINUX_DEPENDENCIES_CLAP_UI)
  DEPENDENCIES_CLAP_BIN            += $(LINUX_DEPENDENCIES_CLAP_BIN)
  DEPENDENCIES_CLAP_UI_BIN         += $(LINUX_DEPENDENCIES_CLAP_UI_BIN)
  
  DEPENDENCIES_GST                 += $(LINUX_DEPENDENCIES_GST)
  DEPENDENCIES_GST_WRAP            += $(LINUX_DEPENDENCIES_GST_WRAP)
  DEPENDENCIES_GST_BIN             += $(LINUX_DEPENDENCIES_GST_BIN)

  DEPENDENCIES_STANDALONE          += $(LINUX_DEPENDENCIES_STANDALONE)
  DEPENDENCIES_STANDALONE_UI       += $(LINUX_DEPENDENCIES_STANDALONE_UI)
  DEPENDENCIES_STANDALONE_WRAP     += $(LINUX_DEPENDENCIES_STANDALONE_WRAP)
  DEPENDENCIES_STANDALONE_BIN      += $(LINUX_DEPENDENCIES_STANDALONE_BIN)
  DEPENDENCIES_STANDALONE_UI_BIN   += $(LINUX_DEPENDENCIES_STANDALONE_UI_BIN)
  DEPENDENCIES_STANDALONE_ALL      += $(LINUX_DEPENDENCIES_STANDALONE_ALL)
  DEPENDENCIES_STANDALONE_UI_ALL   += $(LINUX_DEPENDENCIES_STANDALONE_UI_ALL)
  
  DEPENDENCIES_LADSPA              += $(LINUX_DEPENDENCIES_LADSPA)
  DEPENDENCIES_LADSPA_BIN          += $(LINUX_DEPENDENCIES_LADSPA_BIN)
  
  DEPENDENCIES_LV2                 += $(LINUX_DEPENDENCIES_LV2)
  DEPENDENCIES_LV2_UI              += $(LINUX_DEPENDENCIES_LV2_UI)
  DEPENDENCIES_LV2_BIN             += $(LINUX_DEPENDENCIES_LV2_BIN)
  DEPENDENCIES_LV2_UI_BIN          += $(LINUX_DEPENDENCIES_LV2_UI_BIN)
  
  DEPENDENCIES_VST2                += $(LINUX_DEPENDENCIES_VST2)
  DEPENDENCIES_VST2_UI             += $(LINUX_DEPENDENCIES_VST2_UI)
  DEPENDENCIES_VST2_WRAP           += $(LINUX_DEPENDENCIES_VST2_WRAP)
  DEPENDENCIES_VST2_BIN            += $(LINUX_DEPENDENCIES_VST2_BIN)
  DEPENDENCIES_VST2_UI_BIN         += $(LINUX_DEPENDENCIES_VST2_UI_BIN)
  
  DEPENDENCIES_VST3                += $(LINUX_DEPENDENCIES_VST3)
  DEPENDENCIES_VST3_UI             += $(LINUX_DEPENDENCIES_VST3_UI)
  DEPENDENCIES_VST3_BIN            += $(LINUX_DEPENDENCIES_VST3_BIN)
  DEPENDENCIES_VST3_UI_BIN         += $(LINUX_DEPENDENCIES_VST3_UI_BIN)
endif

#------------------------------------------------------------------------------
# BSD-specific dependencies
BSD_DEPENDENCIES_COMMON = \
  LIBICONV

BSD_DEPENDENCIES_COMMON_UI =

BSD_DEPENDENCIES_BIN =

BSD_DEPENDENCIES_UI_BIN =

# Testing
BSD_TEST_DEPENDENCIES = \
  LSP_AUDIO_JACK_LIB \
  LSP_AUDIO_PIPEWIRE_LIB

BSD_TEST_DEPENDENCIES_UI = \
  LSP_R3D_GLX_LIB \
  LIBGL

# Launcher tool
BSD_DEPENDENCIES_LAUNCHER = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

BSD_DEPENDENCIES_LAUNCHER_BIN = \
  LSP_R3D_GLX_LIB

# CLAP dependencies
BSD_DEPENDENCIES_CLAP = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE

BSD_DEPENDENCIES_CLAP_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

BSD_DEPENDENCIES_CLAP_BIN =

BSD_DEPENDENCIES_CLAP_UI_BIN = \
  LSP_R3D_GLX_LIB

# GStreamer dependencies 
BSD_DEPENDENCIES_GST = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBGSTREAMER_AUDIO

BSD_DEPENDENCIES_GST_WRAP = \
  LIBDL \
  LIBGSTREAMER_AUDIO

BSD_DEPENDENCIES_GST_BIN =

# Standalone dependencies
BSD_DEPENDENCIES_STANDALONE = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  $(call fcheck,test,$(BUILD_FEATURES), \
    $(call fcheck,jack,$(BUILD_FEATURES),LIBJACK) \
    $(call fcheck,pipewire,$(BUILD_FEATURES),LIBPIPEWIRE) \
  )

BSD_DEPENDENCIES_STANDALONE_OPT = \
  LIBJACK \
  LIBPIPEWIRE

BSD_DEPENDENCIES_STANDALONE_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

BSD_DEPENDENCIES_STANDALONE_WRAP = \
  LIBDL

BSD_DEPENDENCIES_STANDALONE_WRAP_OPT =

BSD_DEPENDENCIES_STANDALONE_BIN = \
  $(call fcheck,jack,$(BUILD_FEATURES),LSP_AUDIO_JACK_LIB) \
  $(call fcheck,pipewire,$(BUILD_FEATURES),LSP_AUDIO_PIPEWIRE_LIB)
  
BSD_DEPENDENCIES_STANDALONE_BIN_OPT = \
  LSP_AUDIO_JACK_LIB \
  LSP_AUDIO_PIPEWIRE_LIB

BSD_DEPENDENCIES_STANDALONE_UI_BIN = \
  LSP_R3D_GLX_LIB

BSD_DEPENDENCIES_STANDALONE_ALL = \
  $(BSD_DEPENDENCIES_STANDALONE) \
  $(BSD_DEPENDENCIES_STANDALONE_OPT) \
  $(BSD_DEPENDENCIES_STANDALONE_WRAP) \
  $(BSD_DEPENDENCIES_STANDALONE_WRAP_OPT) \
  $(BSD_DEPENDENCIES_STANDALONE_BIN) \
  $(BSD_DEPENDENCIES_STANDALONE_BIN_OPT) \

BSD_DEPENDENCIES_STANDALONE_UI_ALL = \
  $(BSD_DEPENDENCIES_STANDALONE_UI) \
  $(BSD_DEPENDENCIES_STANDALONE_UI_BIN)

# LADSPA dependencies
BSD_DEPENDENCIES_LADSPA = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE

BSD_DEPENDENCIES_LADSPA_BIN =

# LV2 dependencies
BSD_DEPENDENCIES_LV2 = \
  LIBCAIRO \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE
    
BSD_DEPENDENCIES_LV2_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

BSD_DEPENDENCIES_LV2_BIN =

BSD_DEPENDENCIES_LV2_UI_BIN = \
  LSP_R3D_GLX_LIB

# VST2 dependencies
BSD_DEPENDENCIES_VST2 = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE

BSD_DEPENDENCIES_VST2_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR

BSD_DEPENDENCIES_VST2_WRAP = \
  LIBDL

BSD_DEPENDENCIES_VST2_BIN = \

BSD_DEPENDENCIES_VST2_UI_BIN = \
  LSP_R3D_GLX_LIB

# VST3 dependencies
BSD_DEPENDENCIES_VST3 = \
  LIBDL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE
  
BSD_DEPENDENCIES_VST3_UI = \
  LIBCAIRO \
  LIBDL \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBGL \
  LIBPTHREAD \
  LIBRT \
  LIBSNDFILE \
  LIBX11 \
  LIBXRANDR \

BSD_DEPENDENCIES_VST3_BIN =

BSD_DEPENDENCIES_VST3_UI_BIN = \
  LSP_R3D_GLX_LIB

ifeq ($(PLATFORM),BSD)
  DEFAULT_FEATURES                 += standalone
  
  DEPENDENCIES_COMMON              += $(BSD_DEPENDENCIES_COMMON)
  DEPENDENCIES_COMMON_UI           += $(BSD_DEPENDENCIES_COMMON_UI)
  DEPENDENCIES_BIN                 += $(BSD_DEPENDENCIES_BIN)
  DEPENDENCIES_UI_BIN              += $(BSD_DEPENDENCIES_UI_BIN)
  TEST_DEPENDENCIES                += $(BSD_TEST_DEPENDENCIES)
  TEST_DEPENDENCIES_UI             += $(BSD_TEST_DEPENDENCIES_UI)

  DEPENDENCIES_LAUNCHER            += $(BSD_DEPENDENCIES_LAUNCHER)
  DEPENDENCIES_LAUNCHER_BIN        += $(BSD_DEPENDENCIES_LAUNCHER_BIN)

  DEPENDENCIES_CLAP                += $(BSD_DEPENDENCIES_CLAP)
  DEPENDENCIES_CLAP_UI             += $(BSD_DEPENDENCIES_CLAP_UI)
  DEPENDENCIES_CLAP_BIN            += $(BSD_DEPENDENCIES_CLAP_BIN)
  DEPENDENCIES_CLAP_UI_BIN         += $(BSD_DEPENDENCIES_CLAP_UI_BIN)
  
  DEPENDENCIES_GST                 += $(BSD_DEPENDENCIES_GST)
  DEPENDENCIES_GST_WRAP            += $(BSD_DEPENDENCIES_GST_WRAP)
  DEPENDENCIES_GST_BIN             += $(BSD_DEPENDENCIES_GST_BIN)

  DEPENDENCIES_STANDALONE          += $(BSD_DEPENDENCIES_STANDALONE)
  DEPENDENCIES_STANDALONE_UI       += $(BSD_DEPENDENCIES_STANDALONE_UI)
  DEPENDENCIES_STANDALONE_WRAP     += $(BSD_DEPENDENCIES_STANDALONE_WRAP)
  DEPENDENCIES_STANDALONE_BIN      += $(BSD_DEPENDENCIES_STANDALONE_BIN)
  DEPENDENCIES_STANDALONE_UI_BIN   += $(BSD_DEPENDENCIES_STANDALONE_UI_BIN)
  DEPENDENCIES_STANDALONE_ALL      += $(BSD_DEPENDENCIES_STANDALONE_ALL)
  DEPENDENCIES_STANDALONE_UI_ALL   += $(BSD_DEPENDENCIES_STANDALONE_UI_ALL)
  
  DEPENDENCIES_LADSPA              += $(BSD_DEPENDENCIES_LADSPA)
  DEPENDENCIES_LADSPA_BIN          += $(BSD_DEPENDENCIES_LADSPA_BIN)
  
  DEPENDENCIES_LV2                 += $(BSD_DEPENDENCIES_LV2)
  DEPENDENCIES_LV2_UI              += $(BSD_DEPENDENCIES_LV2_UI)
  DEPENDENCIES_LV2_BIN             += $(BSD_DEPENDENCIES_LV2_BIN)
  DEPENDENCIES_LV2_UI_BIN          += $(BSD_DEPENDENCIES_LV2_UI_BIN)
  
  DEPENDENCIES_VST2                += $(BSD_DEPENDENCIES_VST2)
  DEPENDENCIES_VST2_UI             += $(BSD_DEPENDENCIES_VST2_UI)
  DEPENDENCIES_VST2_WRAP           += $(BSD_DEPENDENCIES_VST2_WRAP)
  DEPENDENCIES_VST2_BIN            += $(BSD_DEPENDENCIES_VST2_BIN)
  DEPENDENCIES_VST2_UI_BIN         += $(BSD_DEPENDENCIES_VST2_UI_BIN)
  
  DEPENDENCIES_VST3                += $(BSD_DEPENDENCIES_VST3)
  DEPENDENCIES_VST3_UI             += $(BSD_DEPENDENCIES_VST3_UI)
  DEPENDENCIES_VST3_BIN            += $(BSD_DEPENDENCIES_VST3_BIN)
  DEPENDENCIES_VST3_UI_BIN         += $(BSD_DEPENDENCIES_VST3_UI_BIN)
endif

#------------------------------------------------------------------------------
# Windows-specific dependencies
WINDOWS_DEPENDENCIES_COMMON = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR

WINDOWS_DEPENDENCIES_COMMON_UI = \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID

WINDOWS_DEPENDENCIES_BIN =

WINDOWS_DEPENDENCIES_UI_BIN =

# Testing
WINDOWS_TEST_DEPENDENCIES = 

WINDOWS_TEST_DEPENDENCIES_UI = \
  LSP_R3D_WGL_LIB \
  LIBOPENGL32

# Launcher tool
WINDOWS_DEPENDENCIES_LAUNCHER = \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID
  
WINDOWS_DEPENDENCIES_LAUNCHER_BIN = \
  LSP_R3D_WGL_LIB

# CLAP dependencies
WINDOWS_DEPENDENCIES_CLAP = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBOLE \
  LIBWINCODEC \
  LIBUUID

WINDOWS_DEPENDENCIES_CLAP_UI = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBOLE \
  LIBWINCODEC \
  LIBUUID \
  LIBGDI32 \
  LIBD2D1 \
  LIBDWRITE

WINDOWS_DEPENDENCIES_CLAP_BIN =

WINDOWS_DEPENDENCIES_CLAP_UI_BIN = \
  LSP_R3D_WGL_LIB

# GStreamer dependencies 
WINDOWS_DEPENDENCIES_GST = 

WINDOWS_DEPENDENCIES_GST_WRAP =

WINDOWS_DEPENDENCIES_GST_BIN =

# Standalone dependencies
WINDOWS_DEPENDENCIES_STANDALONE = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR

WINDOWS_DEPENDENCIES_STANDALONE_OPT =

WINDOWS_DEPENDENCIES_STANDALONE_UI = \
  LSP_R3D_WGL_LIB \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID

WINDOWS_DEPENDENCIES_STANDALONE_WRAP =

WINDOWS_DEPENDENCIES_STANDALONE_WRAP_OPT =

WINDOWS_DEPENDENCIES_STANDALONE_BIN =

WINDOWS_DEPENDENCIES_STANDALONE_BIN_OPT =

WINDOWS_DEPENDENCIES_STANDALONE_UI_BIN = \
  LSP_R3D_WGL_LIB

WINDOWS_DEPENDENCIES_STANDALONE_ALL = \
  $(WINDOWS_DEPENDENCIES_STANDALONE) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_OPT) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_WRAP) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_WRAP_OPT) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_BIN) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_BIN_OPT) \

WINDOWS_DEPENDENCIES_STANDALONE_UI_ALL = \
  $(WINDOWS_DEPENDENCIES_STANDALONE_UI) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_UI_BIN)

# LADSPA dependencies
WINDOWS_DEPENDENCIES_LADSPA = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR

WINDOWS_DEPENDENCIES_LADSPA_BIN =

# LV2 dependencies
WINDOWS_DEPENDENCIES_LV2 = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID
    
WINDOWS_DEPENDENCIES_LV2_UI = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID

WINDOWS_DEPENDENCIES_LV2_BIN = \

WINDOWS_DEPENDENCIES_LV2_UI_BIN = \
  LSP_R3D_WGL_LIB

# VST2 dependencies
WINDOWS_DEPENDENCIES_VST2 = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBOLE \
  LIBWINCODEC \
  LIBUUID
  
WINDOWS_DEPENDENCIES_VST2_UI = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID

WINDOWS_DEPENDENCIES_VST2_WRAP = \
  LIBADVAPI

WINDOWS_DEPENDENCIES_VST2_BIN =

WINDOWS_DEPENDENCIES_VST2_UI_BIN = \
  LSP_R3D_WGL_LIB

# VST3 dependencies
WINDOWS_DEPENDENCIES_VST3 = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBOLE \
  LIBWINCODEC \
  LIBUUID
  
WINDOWS_DEPENDENCIES_VST3_UI = \
  LIBSHLWAPI \
  LIBWINMM \
  LIBMSACM \
  LIBMPR \
  LIBGDI32 \
  LIBD2D1 \
  LIBOLE \
  LIBWINCODEC \
  LIBDWRITE \
  LIBUUID

WINDOWS_DEPENDENCIES_VST3_BIN =

WINDOWS_DEPENDENCIES_VST3_UI_BIN = \
  LSP_R3D_WGL_LIB

ifeq ($(PLATFORM),Windows)
  DEPENDENCIES_COMMON              += $(WINDOWS_DEPENDENCIES_COMMON)
  DEPENDENCIES_COMMON_UI           += $(WINDOWS_DEPENDENCIES_COMMON_UI)
  DEPENDENCIES_BIN                 += $(WINDOWS_DEPENDENCIES_BIN)
  DEPENDENCIES_UI_BIN              += $(WINDOWS_DEPENDENCIES_UI_BIN)
  TEST_DEPENDENCIES                += $(WINDOWS_TEST_DEPENDENCIES)
  TEST_DEPENDENCIES_UI             += $(WINDOWS_TEST_DEPENDENCIES_UI)
  
  DEPENDENCIES_LAUNCHER            += $(WINDOWS_DEPENDENCIES_LAUNCHER)
  DEPENDENCIES_LAUNCHER_BIN        += $(WINDOWS_DEPENDENCIES_LAUNCHER_BIN)

  DEPENDENCIES_CLAP                += $(WINDOWS_DEPENDENCIES_CLAP)
  DEPENDENCIES_CLAP_UI             += $(WINDOWS_DEPENDENCIES_CLAP_UI)
  DEPENDENCIES_CLAP_BIN            += $(WINDOWS_DEPENDENCIES_CLAP_BIN)
  DEPENDENCIES_CLAP_UI_BIN         += $(WINDOWS_DEPENDENCIES_CLAP_UI_BIN)
  
  DEPENDENCIES_GST                 += $(WINDOWS_DEPENDENCIES_GST)
  DEPENDENCIES_GST_WRAP            += $(WINDOWS_DEPENDENCIES_GST_WRAP)
  DEPENDENCIES_GST_BIN             += $(WINDOWS_DEPENDENCIES_GST_BIN)

  DEPENDENCIES_STANDALONE          += $(WINDOWS_DEPENDENCIES_STANDALONE)
  DEPENDENCIES_STANDALONE_UI       += $(WINDOWS_DEPENDENCIES_STANDALONE_UI)
  DEPENDENCIES_STANDALONE_WRAP     += $(WINDOWS_DEPENDENCIES_STANDALONE_WRAP)
  DEPENDENCIES_STANDALONE_BIN      += $(WINDOWS_DEPENDENCIES_STANDALONE_BIN)
  DEPENDENCIES_STANDALONE_UI_BIN   += $(WINDOWS_DEPENDENCIES_STANDALONE_UI_BIN)
  DEPENDENCIES_STANDALONE_ALL      += $(WINDOWS_DEPENDENCIES_STANDALONE_ALL)
  DEPENDENCIES_STANDALONE_UI_ALL   += $(WINDOWS_DEPENDENCIES_STANDALONE_UI_ALL)
  
  DEPENDENCIES_LADSPA              += $(WINDOWS_DEPENDENCIES_LADSPA)
  DEPENDENCIES_LADSPA_BIN          += $(WINDOWS_DEPENDENCIES_LADSPA_BIN)
  
  DEPENDENCIES_LV2                 += $(WINDOWS_DEPENDENCIES_LV2)
  DEPENDENCIES_LV2_UI              += $(WINDOWS_DEPENDENCIES_LV2_UI)
  DEPENDENCIES_LV2_BIN             += $(WINDOWS_DEPENDENCIES_LV2_BIN)
  DEPENDENCIES_LV2_UI_BIN          += $(WINDOWS_DEPENDENCIES_LV2_UI_BIN)
  
  DEPENDENCIES_VST2                += $(WINDOWS_DEPENDENCIES_VST2)
  DEPENDENCIES_VST2_UI             += $(WINDOWS_DEPENDENCIES_VST2_UI)
  DEPENDENCIES_VST2_WRAP           += $(WINDOWS_DEPENDENCIES_VST2_WRAP)
  DEPENDENCIES_VST2_BIN            += $(WINDOWS_DEPENDENCIES_VST2_BIN)
  DEPENDENCIES_VST2_UI_BIN         += $(WINDOWS_DEPENDENCIES_VST2_UI_BIN)
  
  DEPENDENCIES_VST3                += $(WINDOWS_DEPENDENCIES_VST3)
  DEPENDENCIES_VST3_UI             += $(WINDOWS_DEPENDENCIES_VST3_UI)
  DEPENDENCIES_VST3_BIN            += $(WINDOWS_DEPENDENCIES_VST3_BIN)
  DEPENDENCIES_VST3_UI_BIN         += $(WINDOWS_DEPENDENCIES_VST3_UI_BIN)
endif


#------------------------------------------------------------------------------
# MacOS-specific dependencies
MACOS_DEPENDENCIES_COMMON = \
  LIBICONV

MACOS_DEPENDENCIES_COMMON_UI = \
  LIBCOREFOUNDATION \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBCOCOA \
  LIBCAIRO 

MACOS_DEPENDENCIES_BIN =

MACOS_DEPENDENCIES_UI_BIN =

# Testing
MACOS_TEST_DEPENDENCIES = 

MACOS_TEST_DEPENDENCIES_UI =

# Launcher tool
MACOS_DEPENDENCIES_LAUNCHER = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION
  
MACOS_DEPENDENCIES_LAUNCHER_BIN =

# CLAP dependencies
MACOS_DEPENDENCIES_CLAP = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION

MACOS_DEPENDENCIES_CLAP_UI = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION 

MACOS_DEPENDENCIES_CLAP_BIN =

MACOS_DEPENDENCIES_CLAP_UI_BIN = 

# GStreamer dependencies 
MACOS_DEPENDENCIES_GST = 

MACOS_DEPENDENCIES_GST_WRAP =

MACOS_DEPENDENCIES_GST_BIN =

# Standalone dependencies
MACOS_DEPENDENCIES_STANDALONE = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION

MACOS_DEPENDENCIES_STANDALONE_OPT =

MACOS_DEPENDENCIES_STANDALONE_UI = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION

MACOS_DEPENDENCIES_STANDALONE_WRAP =

MACOS_DEPENDENCIES_STANDALONE_WRAP_OPT =

MACOS_DEPENDENCIES_STANDALONE_BIN =

MACOS_DEPENDENCIES_STANDALONE_BIN_OPT =

MACOS_DEPENDENCIES_STANDALONE_UI_BIN = 

MACOS_DEPENDENCIES_STANDALONE_ALL = \
  $(MACOS_DEPENDENCIES_STANDALONE) \
  $(MACOS_DEPENDENCIES_STANDALONE_OPT) \
  $(MACOS_DEPENDENCIES_STANDALONE_WRAP) \
  $(MACOS_DEPENDENCIES_STANDALONE_WRAP_OPT) \
  $(MACOS_DEPENDENCIES_STANDALONE_BIN) \
  $(MACOS_DEPENDENCIES_STANDALONE_BIN_OPT) \

MACOS_DEPENDENCIES_STANDALONE_UI_ALL = \
  $(MACOS_DEPENDENCIES_STANDALONE_UI) \
  $(MACOS_DEPENDENCIES_STANDALONE_UI_BIN)

# LADSPA dependencies
MACOS_DEPENDENCIES_LADSPA = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION

MACOS_DEPENDENCIES_LADSPA_BIN =

# LV2 dependencies
MACOS_DEPENDENCIES_LV2 = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION \
  LIBCAIRO
    
MACOS_DEPENDENCIES_LV2_UI = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBCOCOA \
  LIBCAIRO

MACOS_DEPENDENCIES_LV2_BIN = 

MACOS_DEPENDENCIES_LV2_UI_BIN = 

# VST2 dependencies
MACOS_DEPENDENCIES_VST2 = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION 
  
MACOS_DEPENDENCIES_VST2_UI = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION 

MACOS_DEPENDENCIES_VST2_WRAP = 

MACOS_DEPENDENCIES_VST2_BIN =

MACOS_DEPENDENCIES_VST2_UI_BIN = 

# VST3 dependencies
MACOS_DEPENDENCIES_VST3 = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBCOCOA \
  LIBCAIRO
  
MACOS_DEPENDENCIES_VST3_UI = \
  LIBAUDIOTOOLBOX \
  LIBCOREFOUNDATION \
  LIBFONTCONFIG \
  LIBFREETYPE \
  LIBCOCOA \
  LIBCAIRO

MACOS_DEPENDENCIES_VST3_BIN =

MACOS_DEPENDENCIES_VST3_UI_BIN = 

ifeq ($(PLATFORM),MacOS)
  DEPENDENCIES_COMMON              += $(MACOS_DEPENDENCIES_COMMON)
  DEPENDENCIES_COMMON_UI           += $(MACOS_DEPENDENCIES_COMMON_UI)
  DEPENDENCIES_BIN                 += $(MACOS_DEPENDENCIES_BIN)
  DEPENDENCIES_UI_BIN              += $(MACOS_DEPENDENCIES_UI_BIN)
  TEST_DEPENDENCIES                += $(MACOS_TEST_DEPENDENCIES)
  TEST_DEPENDENCIES_UI             += $(MACOS_TEST_DEPENDENCIES_UI)
  
  DEPENDENCIES_LAUNCHER            += $(MACOS_DEPENDENCIES_LAUNCHER)
  DEPENDENCIES_LAUNCHER_BIN        += $(MACOS_DEPENDENCIES_LAUNCHER_BIN)

  DEPENDENCIES_CLAP                += $(MACOS_DEPENDENCIES_CLAP)
  DEPENDENCIES_CLAP_UI             += $(MACOS_DEPENDENCIES_CLAP_UI)
  DEPENDENCIES_CLAP_BIN            += $(MACOS_DEPENDENCIES_CLAP_BIN)
  DEPENDENCIES_CLAP_UI_BIN         += $(MACOS_DEPENDENCIES_CLAP_UI_BIN)
  
  DEPENDENCIES_GST                 += $(MACOS_DEPENDENCIES_GST)
  DEPENDENCIES_GST_WRAP            += $(MACOS_DEPENDENCIES_GST_WRAP)
  DEPENDENCIES_GST_BIN             += $(MACOS_DEPENDENCIES_GST_BIN)

  DEPENDENCIES_STANDALONE          += $(MACOS_DEPENDENCIES_STANDALONE)
  DEPENDENCIES_STANDALONE_UI       += $(MACOS_DEPENDENCIES_STANDALONE_UI)
  DEPENDENCIES_STANDALONE_WRAP     += $(MACOS_DEPENDENCIES_STANDALONE_WRAP)
  DEPENDENCIES_STANDALONE_BIN      += $(MACOS_DEPENDENCIES_STANDALONE_BIN)
  DEPENDENCIES_STANDALONE_UI_BIN   += $(MACOS_DEPENDENCIES_STANDALONE_UI_BIN)
  DEPENDENCIES_STANDALONE_ALL      += $(MACOS_DEPENDENCIES_STANDALONE_ALL)
  DEPENDENCIES_STANDALONE_UI_ALL   += $(MACOS_DEPENDENCIES_STANDALONE_UI_ALL)
  
  DEPENDENCIES_LADSPA              += $(MACOS_DEPENDENCIES_LADSPA)
  DEPENDENCIES_LADSPA_BIN          += $(MACOS_DEPENDENCIES_LADSPA_BIN)
  
  DEPENDENCIES_LV2                 += $(MACOS_DEPENDENCIES_LV2)
  DEPENDENCIES_LV2_UI              += $(MACOS_DEPENDENCIES_LV2_UI)
  DEPENDENCIES_LV2_BIN             += $(MACOS_DEPENDENCIES_LV2_BIN)
  DEPENDENCIES_LV2_UI_BIN          += $(MACOS_DEPENDENCIES_LV2_UI_BIN)
  
  DEPENDENCIES_VST2                += $(MACOS_DEPENDENCIES_VST2)
  DEPENDENCIES_VST2_UI             += $(MACOS_DEPENDENCIES_VST2_UI)
  DEPENDENCIES_VST2_WRAP           += $(MACOS_DEPENDENCIES_VST2_WRAP)
  DEPENDENCIES_VST2_BIN            += $(MACOS_DEPENDENCIES_VST2_BIN)
  DEPENDENCIES_VST2_UI_BIN         += $(MACOS_DEPENDENCIES_VST2_UI_BIN)
  
  DEPENDENCIES_VST3                += $(MACOS_DEPENDENCIES_VST3)
  DEPENDENCIES_VST3_UI             += $(MACOS_DEPENDENCIES_VST3_UI)
  DEPENDENCIES_VST3_BIN            += $(MACOS_DEPENDENCIES_VST3_BIN)
  DEPENDENCIES_VST3_UI_BIN         += $(MACOS_DEPENDENCIES_VST3_UI_BIN)
endif

#------------------------------------------------------------------------------
# List of dependencies
DEPENDENCIES = \
  $(DEPENDENCIES_PLUGINS) \
  $(DEPENDENCIES_CLAP) \
  $(DEPENDENCIES_CLAP_UI) \
  $(DEPENDENCIES_GST) \
  $(DEPENDENCIES_GST_WRAP) \
  $(DEPENDENCIES_STANDALONE) \
  $(DEPENDENCIES_STANDALONE_UI) \
  $(DEPENDENCIES_STANDALONE_WRAP) \
  $(DEPENDENCIES_LADSPA) \
  $(DEPENDENCIES_LV2) \
  $(DEPENDENCIES_LV2_UI) \
  $(DEPENDENCIES_LV2TTL_GEN) \
  $(DEPENDENCIES_VST2) \
  $(DEPENDENCIES_VST2_UI) \
  $(DEPENDENCIES_VST3) \
  $(DEPENDENCIES_VST3_UI)

#------------------------------------------------------------------------------
# All possible dependencies
ALL_DEPENDENCIES = \
  $(DEPENDENCIES_PLUGINS) \
  \
  $(DEPENDENCIES_COMMON) \
  $(DEPENDENCIES_COMMON_UI) \
  $(DEPENDENCIES_BIN) \
  $(DEPENDENCIES_UI_BIN) \
  $(TEST_DEPENDENCIES) \
  $(TEST_DEPENDENCIES_UI) \
  $(DEPENDENCIES_LAUNCHER) \
  $(DEPENDENCIES_LAUNCHER_BIN) \
  $(DEPENDENCIES_CLAP) \
  $(DEPENDENCIES_CLAP_UI) \
  $(DEPENDENCIES_CLAP_BIN) \
  $(DEPENDENCIES_CLAP_UI_BIN) \
  $(DEPENDENCIES_GST) \
  $(DEPENDENCIES_GST_BIN) \
  $(DEPENDENCIES_GST_WRAP) \
  $(DEPENDENCIES_STANDALONE_ALL) \
  $(DEPENDENCIES_STANDALONE_UI_ALL) \
  $(DEPENDENCIES_LADSPA) \
  $(DEPENDENCIES_LADSPA_BIN) \
  $(DEPENDENCIES_LV2) \
  $(DEPENDENCIES_LV2_UI) \
  $(DEPENDENCIES_LV2TTL_GEN) \
  $(DEPENDENCIES_LV2_BIN) \
  $(DEPENDENCIES_LV2_UI_BIN) \
  $(DEPENDENCIES_VST2) \
  $(DEPENDENCIES_VST2_UI) \
  $(DEPENDENCIES_VST2_BIN) \
  $(DEPENDENCIES_VST2_UI_BIN) \
  $(DEPENDENCIES_VST3) \
  $(DEPENDENCIES_VST3_UI) \
  $(DEPENDENCIES_VST3_BIN) \
  $(DEPENDENCIES_VST3_UI_BIN) \
  \
  $(LINUX_DEPENDENCIES_COMMON) \
  $(LINUX_DEPENDENCIES_COMMON_UI) \
  $(LINUX_DEPENDENCIES_BIN) \
  $(LINUX_TEST_DEPENDENCIES) \
  $(LINUX_TEST_DEPENDENCIES_UI) \
  $(LINUX_DEPENDENCIES_LAUNCHER) \
  $(LINUX_DEPENDENCIES_LAUNCHER_BIN) \
  $(LINUX_DEPENDENCIES_CLAP) \
  $(LINUX_DEPENDENCIES_CLAP_UI) \
  $(LINUX_DEPENDENCIES_CLAP_BIN) \
  $(LINUX_DEPENDENCIES_CLAP_UI_BIN) \
  $(LINUX_DEPENDENCIES_GST) \
  $(LINUX_DEPENDENCIES_GST_BIN) \
  $(LINUX_DEPENDENCIES_GST_WRAP) \
  $(LINUX_DEPENDENCIES_STANDALONE_ALL) \
  $(LINUX_DEPENDENCIES_STANDALONE_UI_ALL) \
  $(LINUX_DEPENDENCIES_LADSPA) \
  $(LINUX_DEPENDENCIES_LADSPA_BIN) \
  $(LINUX_DEPENDENCIES_LV2) \
  $(LINUX_DEPENDENCIES_LV2_UI) \
  $(LINUX_DEPENDENCIES_LV2TTL_GEN) \
  $(LINUX_DEPENDENCIES_LV2_BIN) \
  $(LINUX_DEPENDENCIES_LV2_UI_BIN) \
  $(LINUX_DEPENDENCIES_VST2) \
  $(LINUX_DEPENDENCIES_VST2_UI) \
  $(LINUX_DEPENDENCIES_VST2_BIN) \
  $(LINUX_DEPENDENCIES_VST2_UI_BIN) \
  $(LINUX_DEPENDENCIES_VST3) \
  $(LINUX_DEPENDENCIES_VST3_UI) \
  $(LINUX_DEPENDENCIES_VST3_BIN) \
  $(LINUX_DEPENDENCIES_VST3_UI_BIN) \
  \
  $(BSD_DEPENDENCIES_COMMON) \
  $(BSD_DEPENDENCIES_COMMON_UI) \
  $(BSD_DEPENDENCIES_BIN) \
  $(BSD_TEST_DEPENDENCIES) \
  $(BSD_TEST_DEPENDENCIES_UI) \
  $(BSD_DEPENDENCIES_LAUNCHER) \
  $(BSD_DEPENDENCIES_LAUNCHER_BIN) \
  $(BSD_DEPENDENCIES_CLAP) \
  $(BSD_DEPENDENCIES_CLAP_UI) \
  $(BSD_DEPENDENCIES_CLAP_BIN) \
  $(BSD_DEPENDENCIES_CLAP_UI_BIN) \
  $(BSD_DEPENDENCIES_GST) \
  $(BSD_DEPENDENCIES_GST_WRAP) \
  $(BSD_DEPENDENCIES_GST_BIN) \
  $(BSD_DEPENDENCIES_STANDALONE) \
  $(BSD_DEPENDENCIES_STANDALONE_UI) \
  $(BSD_DEPENDENCIES_STANDALONE_WRAP) \
  $(BSD_DEPENDENCIES_STANDALONE_BIN) \
  $(BSD_DEPENDENCIES_STANDALONE_UI_BIN) \
  $(BSD_DEPENDENCIES_STANDALONE_ALL) \
  $(BSD_DEPENDENCIES_STANDALONE_UI_ALL) \
  $(BSD_DEPENDENCIES_LADSPA) \
  $(BSD_DEPENDENCIES_LADSPA_BIN) \
  $(BSD_DEPENDENCIES_LV2) \
  $(BSD_DEPENDENCIES_LV2_UI) \
  $(BSD_DEPENDENCIES_LV2TTL_GEN) \
  $(BSD_DEPENDENCIES_LV2_BIN) \
  $(BSD_DEPENDENCIES_LV2_UI_BIN) \
  $(BSD_DEPENDENCIES_VST2) \
  $(BSD_DEPENDENCIES_VST2_UI) \
  $(BSD_DEPENDENCIES_VST2_BIN) \
  $(BSD_DEPENDENCIES_VST2_UI_BIN) \
  $(BSD_DEPENDENCIES_VST3) \
  $(BSD_DEPENDENCIES_VST3_UI) \
  $(BSD_DEPENDENCIES_VST3_BIN) \
  $(BSD_DEPENDENCIES_VST3_UI_BIN) \
  \
  $(WINDOWS_DEPENDENCIES_COMMON) \
  $(WINDOWS_DEPENDENCIES_COMMON_UI) \
  $(WINDOWS_DEPENDENCIES_BIN) \
  $(WINDOWS_TEST_DEPENDENCIES) \
  $(WINDOWS_TEST_DEPENDENCIES_UI) \
  $(WINDOWS_DEPENDENCIES_LAUNCHER) \
  $(WINDOWS_DEPENDENCIES_LAUNCHER_BIN) \
  $(WINDOWS_DEPENDENCIES_CLAP) \
  $(WINDOWS_DEPENDENCIES_CLAP_UI) \
  $(WINDOWS_DEPENDENCIES_CLAP_BIN) \
  $(WINDOWS_DEPENDENCIES_CLAP_UI_BIN) \
  $(WINDOWS_DEPENDENCIES_GST) \
  $(WINDOWS_DEPENDENCIES_GST_WRAP) \
  $(WINDOWS_DEPENDENCIES_GST_BIN) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_ALL) \
  $(WINDOWS_DEPENDENCIES_STANDALONE_UI_ALL) \
  $(WINDOWS_DEPENDENCIES_LADSPA) \
  $(WINDOWS_DEPENDENCIES_LADSPA_BIN) \
  $(WINDOWS_DEPENDENCIES_LV2) \
  $(WINDOWS_DEPENDENCIES_LV2_UI) \
  $(WINDOWS_DEPENDENCIES_LV2TTL_GEN) \
  $(WINDOWS_DEPENDENCIES_LV2_BIN) \
  $(WINDOWS_DEPENDENCIES_LV2_UI_BIN) \
  $(WINDOWS_DEPENDENCIES_VST2) \
  $(WINDOWS_DEPENDENCIES_VST2_UI) \
  $(WINDOWS_DEPENDENCIES_VST2_BIN) \
  $(WINDOWS_DEPENDENCIES_VST2_UI_BIN) \
  $(WINDOWS_DEPENDENCIES_VST3) \
  $(WINDOWS_DEPENDENCIES_VST3_UI) \
  $(WINDOWS_DEPENDENCIES_VST3_BIN) \
  $(WINDOWS_DEPENDENCIES_VST3_UI_BIN) \
  \
  $(MACOS_DEPENDENCIES_COMMON) \
  $(MACOS_DEPENDENCIES_COMMON_UI) \
  $(MACOS_DEPENDENCIES_BIN) \
  $(MACOS_TEST_DEPENDENCIES) \
  $(MACOS_TEST_DEPENDENCIES_UI) \
  $(MACOS_DEPENDENCIES_LAUNCHER) \
  $(MACOS_DEPENDENCIES_LAUNCHER_BIN) \
  $(MACOS_DEPENDENCIES_CLAP) \
  $(MACOS_DEPENDENCIES_CLAP_UI) \
  $(MACOS_DEPENDENCIES_CLAP_BIN) \
  $(MACOS_DEPENDENCIES_CLAP_UI_BIN) \
  $(MACOS_DEPENDENCIES_GST) \
  $(MACOS_DEPENDENCIES_GST_WRAP) \
  $(MACOS_DEPENDENCIES_GST_BIN) \
  $(MACOS_DEPENDENCIES_STANDALONE_ALL) \
  $(MACOS_DEPENDENCIES_STANDALONE_UI_ALL) \
  $(MACOS_DEPENDENCIES_LADSPA) \
  $(MACOS_DEPENDENCIES_LADSPA_BIN) \
  $(MACOS_DEPENDENCIES_LV2) \
  $(MACOS_DEPENDENCIES_LV2_UI) \
  $(MACOS_DEPENDENCIES_LV2TTL_GEN) \
  $(MACOS_DEPENDENCIES_LV2_BIN) \
  $(MACOS_DEPENDENCIES_LV2_UI_BIN) \
  $(MACOS_DEPENDENCIES_VST2) \
  $(MACOS_DEPENDENCIES_VST2_UI) \
  $(MACOS_DEPENDENCIES_VST2_BIN) \
  $(MACOS_DEPENDENCIES_VST2_UI_BIN) \
  $(MACOS_DEPENDENCIES_VST3) \
  $(MACOS_DEPENDENCIES_VST3_UI) \
  $(MACOS_DEPENDENCIES_VST3_BIN) \
  $(MACOS_DEPENDENCIES_VST3_UI_BIN)

  