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.4KB

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