Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
4.4KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-backend #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # ----------------------------------------------------------------------------------------------------------------------------
  8. BUILD_CXX_FLAGS += -I. -I.. -I../../includes -I../../utils -isystem ../../modules
  9. BUILD_CXX_FLAGS += $(LIBLO_FLAGS)
  10. # ----------------------------------------------------------------------------------------------------------------------------
  11. BUILD_CXX_FLAGS += -DWANT_NATIVE
  12. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  13. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2
  14. # -DWANT_VST
  15. # ifeq ($(CARLA_VESTIGE_HEADER),true)
  16. # BUILD_CXX_FLAGS += -DVESTIGE_HEADER
  17. # endif
  18. endif
  19. # ----------------------------------------------------------------------------------------------------------------------------
  20. # ifeq ($(HAVE_CSOUND),true)
  21. # BUILD_CXX_FLAGS += -DWANT_CSOUND
  22. # endif
  23. ifeq ($(HAVE_FLUIDSYNTH),true)
  24. BUILD_CXX_FLAGS += -DWANT_FLUIDSYNTH
  25. endif
  26. ifeq ($(HAVE_LINUXSAMPLER),true)
  27. BUILD_CXX_FLAGS += -DWANT_LINUXSAMPLER
  28. endif
  29. # ----------------------------------------------------------------------------------------------------------------------------
  30. ifeq ($(HAVE_AF_DEPS),true)
  31. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  32. endif
  33. ifeq ($(HAVE_MF_DEPS),true)
  34. BUILD_CXX_FLAGS += -DWANT_MIDIFILE
  35. endif
  36. ifeq ($(HAVE_ZYN_DEPS),true)
  37. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  38. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  39. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX_UI
  40. endif
  41. endif
  42. # ----------------------------------------------------------------------------------------------------------------------------
  43. CARLA_DEFINES_H = ../../includes/CarlaDefines.h
  44. CARLA_MIDI_H = ../../includes/CarlaMIDI.h
  45. CARLA_BACKEND_H = ../CarlaBackend.h $(CARLA_DEFINES_H)
  46. CARLA_HOST_H = ../CarlaHost.h $(CARLA_BACKEND_H)
  47. CARLA_ENGINE_HPP = ../CarlaEngine.hpp $(CARLA_BACKEND_H)
  48. CARLA_PLUGIN_HPP = ../CarlaPlugin.hpp $(CARLA_BACKEND_H)
  49. CARLA_UTILS_HPP = ../../utils/CarlaUtils.hpp $(CARLA_DEFINES_H)
  50. CARLA_JUCE_UTILS_HPP = ../../utils/CarlaJuceUtils.hpp $(CARLA_UTILS_HPP)
  51. CARLA_LIB_UTILS_HPP = ../../utils/CarlaLibUtils.hpp $(CARLA_UTILS_HPP)
  52. CARLA_OSC_UTILS_HPP = ../../utils/CarlaOscUtils.hpp $(CARLA_UTILS_HPP)
  53. CARLA_MUTEX_HPP = ../../utils/CarlaMutex.hpp $(CARLA_UTILS_HPP)
  54. CARLA_RING_BUFFER_HPP = ../../utils/CarlaRingBuffer.hpp $(CARLA_UTILS_HPP)
  55. CARLA_STRING_HPP = ../../utils/CarlaString.hpp $(CARLA_JUCE_UTILS_HPP)
  56. CARLA_THREAD_HPP = ../../utils/CarlaThread.hpp $(CARLA_MUTEX_HPP) $(CARLA_STRING_HPP)
  57. LV2_ATOM_QUEUE_HPP = ../../utils/Lv2AtomQueue.hpp $(CARLA_MUTEX_HPP) $(CARLA_RING_BUFFER_HPP)
  58. LINKED_LIST_HPP = ../../utils/LinkedList.hpp $(CARLA_UTILS_HPP)
  59. RT_LINKED_LIST_HPP = ../../utils/RtLinkedList.hpp $(LINKED_LIST_HPP)
  60. CARLA_BACKEND_UTILS_HPP = ../../utils/CarlaBackendUtils.hpp $(CARLA_BACKEND_H) $(CARLA_HOST_H) $(CARLA_STRING_HPP)
  61. CARLA_BRIDGE_UTILS_HPP = ../../utils/CarlaBridgeUtils.hpp $(CARLA_RING_BUFFER_HPP)
  62. CARLA_ENGINE_UTILS_HPP = ../../utils/CarlaEngineUtils.hpp $(CARLA_ENGINE_HPP) $(CARLA_UTILS_HPP)
  63. CARLA_LIB_COUNTER_HPP = ../../utils/CarlaLibCounter.hpp $(CARLA_LIB_UTILS_HPP) $(CARLA_MUTEX_HPP) $(LINKED_LIST_HPP)
  64. CARLA_MATH_UTILS_HPP = ../../utils/CarlaMathUtils.hpp $(CARLA_UTILS_HPP)
  65. CARLA_PIPE_UTILS_HPP = ../../utils/CarlaPipeUtils.hpp $(CARLA_STRING_HPP)
  66. CARLA_SHM_UTILS_HPP = ../../utils/CarlaShmUtils.hpp $(CARLA_UTILS_HPP)
  67. CARLA_STATE_UTILS_HPP = ../../utils/CarlaStateUtils.hpp $(LINKED_LIST_HPP)
  68. CARLA_STATE_UTILS_CPP = ../../utils/CarlaStateUtils.cpp $(CARLA_STATE_UTILS_HPP) $(CARLA_BACKEND_UTILS_HPP) $(CARLA_MATH_UTILS_HPP) $(CARLA_MIDI_H)
  69. CARLA_LADSPA_UTILS_HPP = ../../utils/CarlaLadspaUtils.hpp $(CARLA_UTILS_HPP)
  70. CARLA_DSSI_UTILS_HPP = ../../utils/CarlaDssiUtils.hpp $(CARLA_LADSPA_UTILS_HPP)
  71. CARLA_LV2_UTILS_HPP = ../../utils/CarlaLv2Utils.hpp $(CARLA_UTILS_HPP)
  72. CARLA_VST_UTILS_HPP = ../../utils/CarlaVstUtils.hpp $(CARLA_UTILS_HPP)
  73. CARLA_NATIVE_H = ../../modules/CarlaNative.h
  74. CARLA_NATIVE_HPP = ../../modules/CarlaNative.hpp $(CARLA_NATIVE_H) $(CARLA_MIDI_H) $(CARLA_JUCE_UTILS_HPP)
  75. JACK_BRIDGE_HPP = ../../modules/jackbridge/JackBridge.hpp $(CARLA_DEFINES_H)
  76. RTAUDIO_HPP = ../../modules/rtaudio/RtAudio.h
  77. RTMIDI_HPP = ../../modules/rtmidi/RtMidi.h $(CARLA_DEFINES_H)
  78. # ----------------------------------------------------------------------------------------------------------------------------