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

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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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/native-plugins.a
  13. STANDALONE_LIBS += ../modules/rtaudio.a
  14. STANDALONE_LIBS += ../modules/rtmempool.a
  15. STANDALONE_LIBS += ../modules/rtmidi.a
  16. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  17. STANDALONE_LIBS += ../modules/lilv.a
  18. endif
  19. ifeq ($(HAVE_AF_DEPS),true)
  20. STANDALONE_LIBS += ../modules/audio_decoder.a
  21. endif
  22. ifeq ($(HAVE_DGL),true)
  23. STANDALONE_LIBS += ../modules/dgl.a
  24. endif
  25. ifeq ($(HAVE_JUCE),true)
  26. STANDALONE_LIBS += ../modules/juce_audio_basics.a
  27. STANDALONE_LIBS += ../modules/juce_audio_devices.a
  28. STANDALONE_LIBS += ../modules/juce_audio_formats.a
  29. STANDALONE_LIBS += ../modules/juce_audio_processors.a
  30. STANDALONE_LIBS += ../modules/juce_core.a
  31. STANDALONE_LIBS += ../modules/juce_data_structures.a
  32. STANDALONE_LIBS += ../modules/juce_events.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 += $(QTXML_LIBS)
  41. STANDALONE_FLAGS += $(JACKBRIDGE_LIBS)
  42. STANDALONE_FLAGS += $(NATIVE_PLUGINS_LIBS)
  43. STANDALONE_FLAGS += $(RTAUDIO_LIBS)
  44. STANDALONE_FLAGS += $(RTMEMPOOL_LIBS)
  45. STANDALONE_FLAGS += $(RTMIDI_LIBS)
  46. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  47. STANDALONE_FLAGS += $(LILV_LIBS)
  48. endif
  49. ifeq ($(HAVE_CSOUND),true)
  50. STANDALONE_FLAGS += $(CSOUND_LIBS)
  51. endif
  52. ifeq ($(HAVE_FLUIDSYNTH),true)
  53. STANDALONE_FLAGS += $(FLUIDSYNTH_LIBS)
  54. endif
  55. ifeq ($(HAVE_LINUXSAMPLER),true)
  56. STANDALONE_FLAGS += $(LINUXSAMPLER_LIBS)
  57. endif
  58. ifeq ($(HAVE_JUCE),true)
  59. STANDALONE_FLAGS += $(JUCE_AUDIO_BASICS_LIBS)
  60. STANDALONE_FLAGS += $(JUCE_AUDIO_DEVICES_LIBS)
  61. STANDALONE_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS)
  62. STANDALONE_FLAGS += $(JUCE_AUDIO_PROCESSORS_LIBS)
  63. STANDALONE_FLAGS += $(JUCE_CORE_LIBS)
  64. STANDALONE_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS)
  65. STANDALONE_FLAGS += $(JUCE_EVENTS_LIBS)
  66. STANDALONE_FLAGS += $(JUCE_GRAPHICS_LIBS)
  67. STANDALONE_FLAGS += $(JUCE_GUI_BASICS_LIBS)
  68. STANDALONE_FLAGS += $(JUCE_GUI_EXTRA_LIBS)
  69. endif
  70. # --------------------------------------------------------------
  71. OBJS = \
  72. CarlaStandalone.cpp.o
  73. TARGETS = \
  74. ../../bin/libcarla_standalone2$(LIB_EXT)
  75. # --------------------------------------------------------------
  76. all: $(TARGETS)
  77. # --------------------------------------------------------------
  78. clean:
  79. $(RM) $(OBJS)
  80. $(RM) $(TARGETS)
  81. $(MAKE) clean -C engine
  82. $(MAKE) clean -C plugin
  83. debug:
  84. $(MAKE) DEBUG=true
  85. doxygen: CarlaBackend.doxygen
  86. doxygen $^
  87. # --------------------------------------------------------------
  88. CarlaStandalone.cpp.o: CarlaStandalone.cpp $(CARLA_STANDALONE_CPP_DEPS)
  89. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  90. # --------------------------------------------------------------
  91. ../../bin/libcarla_standalone2$(LIB_EXT): $(OBJS) $(STANDALONE_LIBS)
  92. $(CXX) $< $(LIBS_START) $(STANDALONE_LIBS) $(LIBS_END) $(LINK_FLAGS) $(STANDALONE_FLAGS) $(SHARED) -o $@
  93. # --------------------------------------------------------------
  94. carla_%.a:
  95. $(MAKE) -C $* ../carla_$*.a
  96. ../modules/%.a:
  97. $(MAKE) -C ../modules/$* ../$*.a
  98. # --------------------------------------------------------------