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

  1. #!/usr/bin/make -f
  2. # Makefile for carla-plugin #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. OBJS = \
  9. CarlaPlugin.cpp.o \
  10. CarlaPluginInternal.cpp.o \
  11. CarlaPluginThread.cpp.o \
  12. CarlaPluginUi.cpp.o \
  13. NativePlugin.cpp.o \
  14. BridgePlugin.cpp.o \
  15. LadspaPlugin.cpp.o \
  16. DssiPlugin.cpp.o \
  17. Lv2Plugin.cpp.o \
  18. VstPlugin.cpp.o \
  19. Vst3Plugin.cpp.o \
  20. AuPlugin.cpp.o \
  21. ReWirePlugin.cpp.o \
  22. CsoundPlugin.cpp.o \
  23. JucePlugin.cpp.o \
  24. FluidSynthPlugin.cpp.o \
  25. LinuxSamplerPlugin.cpp.o
  26. TARGETS = \
  27. ../carla_plugin.a
  28. # --------------------------------------------------------------
  29. all: $(TARGETS)
  30. # --------------------------------------------------------------
  31. clean:
  32. $(RM) $(OBJS)
  33. $(RM) $(TARGETS)
  34. debug:
  35. $(MAKE) DEBUG=true
  36. # --------------------------------------------------------------
  37. ../carla_plugin.a: $(OBJS)
  38. $(RM) $@
  39. $(AR) crs $@ $^
  40. # --------------------------------------------------------------
  41. CarlaPlugin.cpp.o: CarlaPlugin.cpp $(CARLA_PLUGIN_CPP_DEPS)
  42. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) $(QTXML_FLAGS) -c -o $@
  43. CarlaPluginInternal.cpp.o: CarlaPluginInternal.cpp $(CARLA_PLUGIN_INTERNAL_CPP_DEPS)
  44. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  45. CarlaPluginThread.cpp.o: CarlaPluginThread.cpp $(CARLA_PLUGIN_THREAD_CPP_DEPS)
  46. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  47. CarlaPluginUi.cpp.o: CarlaPluginUi.cpp $(CARLA_PLUGIN_UI_CPP_DEPS)
  48. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  49. NativePlugin.cpp.o: NativePlugin.cpp $(NATIVE_PLUGIN_CPP_DEPS)
  50. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  51. BridgePlugin.cpp.o: BridgePlugin.cpp $(BRIDGE_PLUGIN_CPP_DEPS)
  52. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  53. LadspaPlugin.cpp.o: LadspaPlugin.cpp $(LADSPA_PLUGIN_CPP_DEPS)
  54. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  55. DssiPlugin.cpp.o: DssiPlugin.cpp $(DSSI_PLUGIN_CPP_DEPS)
  56. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  57. Lv2Plugin.cpp.o: Lv2Plugin.cpp $(LV2_PLUGIN_CPP_DEPS)
  58. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  59. VstPlugin.cpp.o: VstPlugin.cpp $(VST_PLUGIN_CPP_DEPS)
  60. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  61. Vst3Plugin.cpp.o: Vst3Plugin.cpp $(VST3_PLUGIN_CPP_DEPS)
  62. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  63. AuPlugin.cpp.o: AuPlugin.cpp $(AU_PLUGIN_CPP_DEPS)
  64. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  65. ReWirePlugin.cpp.o: ReWirePlugin.cpp $(REWIRE_PLUGIN_CPP_DEPS)
  66. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  67. CsoundPlugin.cpp.o: CsoundPlugin.cpp $(CSOUND_PLUGIN_CPP_DEPS)
  68. $(CXX) $< $(BUILD_CXX_FLAGS) $(CSOUND_FLAGS) -c -o $@
  69. JucePlugin.cpp.o: JucePlugin.cpp $(JUCE_PLUGIN_CPP_DEPS)
  70. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  71. FluidSynthPlugin.cpp.o: FluidSynthPlugin.cpp $(FLUIDSYNTH_PLUGIN_CPP_DEPS)
  72. $(CXX) $< $(BUILD_CXX_FLAGS) $(FLUIDSYNTH_FLAGS) $(QTCORE_FLAGS) -c -o $@
  73. LinuxSamplerPlugin.cpp.o: LinuxSamplerPlugin.cpp $(LINUXSAMPLER_PLUGIN_CPP_DEPS)
  74. $(CXX) $< $(BUILD_CXX_FLAGS) $(LINUXSAMPLER_FLAGS) $(QTCORE_FLAGS) -c -o $@
  75. # --------------------------------------------------------------