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.

Makefile.mk 4.5KB

11 years ago
10 years ago
10 years ago
10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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 -DWANT_VST -DWANT_VST3 -DWANT_REWIRE
  14. ifeq ($(MACOS),true)
  15. BUILD_CXX_FLAGS += -DWANT_AU
  16. endif
  17. ifeq ($(CARLA_VESTIGE_HEADER),true)
  18. BUILD_CXX_FLAGS += -DVESTIGE_HEADER
  19. endif
  20. endif
  21. # ----------------------------------------------------------------------------------------------------------------------------
  22. # ifeq ($(HAVE_CSOUND),true)
  23. # BUILD_CXX_FLAGS += -DWANT_CSOUND
  24. # endif
  25. ifeq ($(HAVE_FLUIDSYNTH),true)
  26. BUILD_CXX_FLAGS += -DWANT_FLUIDSYNTH
  27. endif
  28. ifeq ($(HAVE_LINUXSAMPLER),true)
  29. BUILD_CXX_FLAGS += -DWANT_LINUXSAMPLER
  30. endif
  31. # ----------------------------------------------------------------------------------------------------------------------------
  32. ifeq ($(HAVE_AF_DEPS),true)
  33. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  34. endif
  35. ifeq ($(HAVE_MF_DEPS),true)
  36. BUILD_CXX_FLAGS += -DWANT_MIDIFILE
  37. endif
  38. ifeq ($(HAVE_ZYN_DEPS),true)
  39. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  40. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  41. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX_UI
  42. endif
  43. endif
  44. # ----------------------------------------------------------------------------------------------------------------------------
  45. CARLA_DEFINES_H = ../../includes/CarlaDefines.h
  46. CARLA_MIDI_H = ../../includes/CarlaMIDI.h
  47. CARLA_BACKEND_H = ../CarlaBackend.h $(CARLA_DEFINES_H)
  48. CARLA_HOST_H = ../CarlaHost.h $(CARLA_BACKEND_H)
  49. CARLA_ENGINE_HPP = ../CarlaEngine.hpp $(CARLA_BACKEND_H)
  50. CARLA_PLUGIN_HPP = ../CarlaPlugin.hpp $(CARLA_BACKEND_H)
  51. CARLA_UTILS_HPP = ../../utils/CarlaUtils.hpp $(CARLA_DEFINES_H)
  52. CARLA_JUCE_UTILS_HPP = ../../utils/CarlaJuceUtils.hpp $(CARLA_UTILS_HPP)
  53. CARLA_LIB_UTILS_HPP = ../../utils/CarlaLibUtils.hpp $(CARLA_UTILS_HPP)
  54. CARLA_OSC_UTILS_HPP = ../../utils/CarlaOscUtils.hpp $(CARLA_UTILS_HPP)
  55. CARLA_MUTEX_HPP = ../../utils/CarlaMutex.hpp $(CARLA_UTILS_HPP)
  56. CARLA_RING_BUFFER_HPP = ../../utils/CarlaRingBuffer.hpp $(CARLA_UTILS_HPP)
  57. CARLA_STRING_HPP = ../../utils/CarlaString.hpp $(CARLA_JUCE_UTILS_HPP)
  58. CARLA_THREAD_HPP = ../../utils/CarlaThread.hpp $(CARLA_MUTEX_HPP) $(CARLA_STRING_HPP)
  59. LV2_ATOM_QUEUE_HPP = ../../utils/Lv2AtomQueue.hpp $(CARLA_MUTEX_HPP) $(CARLA_RING_BUFFER_HPP)
  60. LINKED_LIST_HPP = ../../utils/LinkedList.hpp $(CARLA_UTILS_HPP)
  61. RT_LINKED_LIST_HPP = ../../utils/RtLinkedList.hpp $(LINKED_LIST_HPP)
  62. CARLA_BACKEND_UTILS_HPP = ../../utils/CarlaBackendUtils.hpp $(CARLA_BACKEND_H) $(CARLA_HOST_H) $(CARLA_STRING_HPP)
  63. CARLA_BRIDGE_UTILS_HPP = ../../utils/CarlaBridgeUtils.hpp $(CARLA_BACKEND_H) $(CARLA_RING_BUFFER_HPP)
  64. CARLA_ENGINE_UTILS_HPP = ../../utils/CarlaEngineUtils.hpp $(CARLA_ENGINE_HPP) $(CARLA_UTILS_HPP)
  65. CARLA_LIB_COUNTER_HPP = ../../utils/CarlaLibCounter.hpp $(CARLA_LIB_UTILS_HPP) $(CARLA_MUTEX_HPP) $(LINKED_LIST_HPP)
  66. CARLA_MATH_UTILS_HPP = ../../utils/CarlaMathUtils.hpp $(CARLA_UTILS_HPP)
  67. CARLA_PIPE_UTILS_HPP = ../../utils/CarlaPipeUtils.hpp $(CARLA_STRING_HPP)
  68. CARLA_SHM_UTILS_HPP = ../../utils/CarlaShmUtils.hpp $(CARLA_UTILS_HPP)
  69. CARLA_STATE_UTILS_HPP = ../../utils/CarlaStateUtils.hpp $(LINKED_LIST_HPP)
  70. CARLA_STATE_UTILS_CPP = ../../utils/CarlaStateUtils.cpp $(CARLA_STATE_UTILS_HPP) $(CARLA_BACKEND_UTILS_HPP) $(CARLA_MATH_UTILS_HPP) $(CARLA_MIDI_H)
  71. CARLA_LADSPA_UTILS_HPP = ../../utils/CarlaLadspaUtils.hpp $(CARLA_UTILS_HPP)
  72. CARLA_DSSI_UTILS_HPP = ../../utils/CarlaDssiUtils.hpp $(CARLA_LADSPA_UTILS_HPP)
  73. CARLA_LV2_UTILS_HPP = ../../utils/CarlaLv2Utils.hpp $(CARLA_UTILS_HPP)
  74. CARLA_VST_UTILS_HPP = ../../utils/CarlaVstUtils.hpp $(CARLA_UTILS_HPP)
  75. CARLA_NATIVE_H = ../../modules/CarlaNative.h
  76. CARLA_NATIVE_HPP = ../../modules/CarlaNative.hpp $(CARLA_NATIVE_H) $(CARLA_MIDI_H) $(CARLA_JUCE_UTILS_HPP)
  77. JACK_BRIDGE_HPP = ../../modules/jackbridge/JackBridge.hpp $(CARLA_DEFINES_H)
  78. RTAUDIO_HPP = ../../modules/rtaudio/RtAudio.h
  79. RTMIDI_HPP = ../../modules/rtmidi/RtMidi.h $(CARLA_DEFINES_H)
  80. # ----------------------------------------------------------------------------------------------------------------------------