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 3.3KB

11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #!/usr/bin/make -f
  2. # Makefile for carla-backend #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. CWD=..
  7. include Makefile.mk
  8. # --------------------------------------------------------------
  9. STANDALONE_LIBS = carla_engine.a
  10. STANDALONE_LIBS += carla_plugin.a
  11. STANDALONE_LIBS += ../modules/jackbridge.a
  12. STANDALONE_LIBS += ../modules/juce_audio_basics.a
  13. STANDALONE_LIBS += ../modules/juce_audio_devices.a
  14. STANDALONE_LIBS += ../modules/juce_audio_formats.a
  15. STANDALONE_LIBS += ../modules/juce_audio_processors.a
  16. STANDALONE_LIBS += ../modules/juce_core.a
  17. STANDALONE_LIBS += ../modules/juce_events.a
  18. STANDALONE_LIBS += ../modules/native-plugins.a
  19. STANDALONE_LIBS += ../modules/rtaudio.a
  20. STANDALONE_LIBS += ../modules/rtmempool.a
  21. STANDALONE_LIBS += ../modules/rtmidi.a
  22. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  23. STANDALONE_LIBS += ../modules/lilv.a
  24. endif
  25. ifeq ($(HAVE_AF_DEPS),true)
  26. STANDALONE_LIBS += ../modules/audio_decoder.a
  27. endif
  28. ifeq ($(HAVE_DGL),true)
  29. STANDALONE_LIBS += ../modules/dgl.a
  30. endif
  31. ifeq ($(HAVE_JUCE_UI),true)
  32. STANDALONE_LIBS += ../modules/juce_data_structures.a
  33. STANDALONE_LIBS += ../modules/juce_graphics.a
  34. STANDALONE_LIBS += ../modules/juce_gui_basics.a
  35. STANDALONE_LIBS += ../modules/juce_gui_extra.a
  36. endif
  37. # --------------------------------------------------------------
  38. STANDALONE_FLAGS = $(LIBLO_LIBS)
  39. STANDALONE_FLAGS += $(QTCORE_LIBS)
  40. STANDALONE_FLAGS += $(JACKBRIDGE_LIBS)
  41. STANDALONE_FLAGS += $(JUCE_CORE_LIBS)
  42. STANDALONE_FLAGS += $(JUCE_AUDIO_BASICS_LIBS)
  43. STANDALONE_FLAGS += $(JUCE_AUDIO_DEVICES_LIBS)
  44. STANDALONE_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS)
  45. STANDALONE_FLAGS += $(JUCE_EVENTS_LIBS)
  46. STANDALONE_FLAGS += $(NATIVE_PLUGINS_LIBS)
  47. STANDALONE_FLAGS += $(RTAUDIO_LIBS)
  48. STANDALONE_FLAGS += $(RTMEMPOOL_LIBS)
  49. STANDALONE_FLAGS += $(RTMIDI_LIBS)
  50. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  51. STANDALONE_FLAGS += $(LILV_LIBS)
  52. endif
  53. ifeq ($(HAVE_FLUIDSYNTH),true)
  54. STANDALONE_FLAGS += $(FLUIDSYNTH_LIBS)
  55. endif
  56. ifeq ($(HAVE_LINUXSAMPLER),true)
  57. STANDALONE_FLAGS += $(LINUXSAMPLER_LIBS)
  58. endif
  59. ifeq ($(HAVE_JUCE_UI),true)
  60. STANDALONE_FLAGS += $(JUCE_AUDIO_PROCESSORS_LIBS)
  61. STANDALONE_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS)
  62. STANDALONE_FLAGS += $(JUCE_GRAPHICS_LIBS)
  63. STANDALONE_FLAGS += $(JUCE_GUI_BASICS_LIBS)
  64. STANDALONE_FLAGS += $(JUCE_GUI_EXTRA_LIBS)
  65. endif
  66. # --------------------------------------------------------------
  67. OBJS = \
  68. CarlaStandalone.cpp.o
  69. TARGETS = \
  70. ../../bin/libcarla_standalone2$(LIB_EXT)
  71. # --------------------------------------------------------------
  72. all: $(TARGETS)
  73. # --------------------------------------------------------------
  74. clean:
  75. $(RM) $(OBJS)
  76. $(RM) $(TARGETS)
  77. $(MAKE) clean -C engine
  78. $(MAKE) clean -C plugin
  79. debug:
  80. $(MAKE) DEBUG=true
  81. doxygen: CarlaBackend.doxygen
  82. doxygen $^
  83. # --------------------------------------------------------------
  84. CarlaStandalone.cpp.o: CarlaStandalone.cpp $(CARLA_STANDALONE_CPP_DEPS)
  85. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  86. # --------------------------------------------------------------
  87. ../../bin/libcarla_standalone2$(LIB_EXT): $(OBJS) $(STANDALONE_LIBS)
  88. $(CXX) $< $(LIBS_START) $(STANDALONE_LIBS) $(LIBS_END) $(LINK_FLAGS) $(STANDALONE_FLAGS) $(SHARED) -o $@
  89. # --------------------------------------------------------------
  90. carla_%.a:
  91. $(MAKE) -C $* ../carla_$*.a
  92. ../modules/%.a:
  93. $(MAKE) -C ../modules/$* ../$*.a
  94. # --------------------------------------------------------------