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.

106 lines
2.9KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-engine #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. OBJS = \
  9. CarlaEngine.cpp.o \
  10. CarlaEngineClient.cpp.o \
  11. CarlaEngineData.cpp.o \
  12. CarlaEngineGraph.cpp.o \
  13. CarlaEngineInternal.cpp.o \
  14. CarlaEngineOsc.cpp.o \
  15. CarlaEngineOscSend.cpp.o \
  16. CarlaEnginePorts.cpp.o \
  17. CarlaEngineThread.cpp.o
  18. OBJSa = $(OBJS) \
  19. CarlaEngineJack.cpp.o \
  20. CarlaEngineJuce.cpp.o \
  21. CarlaEngineRtAudio.cpp.o
  22. ifneq ($(WIN32),true)
  23. OBJSa += \
  24. CarlaEngineNative.cpp.o
  25. OBJSp = $(OBJS) \
  26. CarlaEngineNative.cpp.exp.o
  27. endif
  28. TARGETS = \
  29. ../carla_engine.a \
  30. ../carla_engine_plugin.a
  31. # --------------------------------------------------------------
  32. all: $(TARGETS)
  33. # --------------------------------------------------------------
  34. clean:
  35. $(RM) $(OBJSa) $(OBJSp)
  36. $(RM) $(TARGETS)
  37. debug:
  38. $(MAKE) DEBUG=true
  39. # --------------------------------------------------------------
  40. ../carla_engine.a: $(OBJSa)
  41. $(RM) $@
  42. $(AR) crs $@ $^
  43. ../carla_engine_plugin.a: $(OBJSp)
  44. $(RM) $@
  45. $(AR) crs $@ $^
  46. # --------------------------------------------------------------
  47. CarlaEngine.cpp.o: CarlaEngine.cpp $(CARLA_ENGINE_CPP_DEPS)
  48. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  49. CarlaEngineClient.cpp.o: CarlaEngineClient.cpp $(CARLA_ENGINE_CLIENT_CPP_DEPS)
  50. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  51. CarlaEngineData.cpp.o: CarlaEngineData.cpp $(CARLA_ENGINE_DATA_CPP_DEPS)
  52. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  53. CarlaEngineGraph.cpp.o: CarlaEngineGraph.cpp $(CARLA_ENGINE_GRAPH_CPP_DEPS)
  54. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  55. CarlaEngineInternal.cpp.o: CarlaEngineInternal.cpp $(CARLA_ENGINE_INTERNAL_CPP_DEPS)
  56. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  57. CarlaEngineOsc.cpp.o: CarlaEngineOsc.cpp $(CARLA_ENGINE_OSC_CPP_DEPS)
  58. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  59. CarlaEngineOscSend.cpp.o: CarlaEngineOscSend.cpp $(CARLA_ENGINE_OSC_SEND_CPP_DEPS)
  60. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  61. CarlaEnginePorts.cpp.o: CarlaEnginePorts.cpp $(CARLA_ENGINE_PORTS_CPP_DEPS)
  62. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  63. CarlaEngineThread.cpp.o: CarlaEngineThread.cpp $(CARLA_ENGINE_THREAD_CPP_DEPS)
  64. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  65. CarlaEngineJack.cpp.o: CarlaEngineJack.cpp $(CARLA_ENGINE_JACK_CPP_DEPS)
  66. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  67. CarlaEngineRtAudio.cpp.o: CarlaEngineRtAudio.cpp $(CARLA_ENGINE_RTAUDIO_CPP_DEPS)
  68. $(CXX) $< $(BUILD_CXX_FLAGS) $(RTAUDIO_FLAGS) $(RTMIDI_FLAGS) -c -o $@
  69. CarlaEngineJuce.cpp.o: CarlaEngineJuce.cpp $(CARLA_ENGINE_JUCE_CPP_DEPS)
  70. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  71. CarlaEngineNative.cpp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  72. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  73. CarlaEngineNative.cpp.exp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  74. $(CXX) $< $(BUILD_CXX_FLAGS) -DCARLA_PLUGIN_EXPORT -c -o $@
  75. # --------------------------------------------------------------