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.

104 lines
3.4KB

  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. # ----------------------------------------------------------------------------------------------------------------------------
  27. TARGET = ../carla_plugin.a
  28. # ----------------------------------------------------------------------------------------------------------------------------
  29. all: $(TARGET)
  30. clean:
  31. $(RM) *.o $(TARGET)
  32. debug:
  33. $(MAKE) DEBUG=true
  34. # ----------------------------------------------------------------------------------------------------------------------------
  35. $(TARGET): $(OBJS)
  36. $(RM) $@
  37. $(AR) crs $@ $^
  38. # ----------------------------------------------------------------------------------------------------------------------------
  39. CarlaPlugin.cpp.o: CarlaPlugin.cpp $(CARLA_PLUGIN_CPP_DEPS)
  40. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) $(QTXML_FLAGS) -c -o $@
  41. CarlaPluginInternal.cpp.o: CarlaPluginInternal.cpp $(CARLA_PLUGIN_INTERNAL_CPP_DEPS)
  42. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  43. CarlaPluginThread.cpp.o: CarlaPluginThread.cpp $(CARLA_PLUGIN_THREAD_CPP_DEPS)
  44. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  45. CarlaPluginUi.cpp.o: CarlaPluginUi.cpp $(CARLA_PLUGIN_UI_CPP_DEPS)
  46. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  47. NativePlugin.cpp.o: NativePlugin.cpp $(NATIVE_PLUGIN_CPP_DEPS)
  48. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  49. BridgePlugin.cpp.o: BridgePlugin.cpp $(BRIDGE_PLUGIN_CPP_DEPS)
  50. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  51. LadspaPlugin.cpp.o: LadspaPlugin.cpp $(LADSPA_PLUGIN_CPP_DEPS)
  52. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  53. DssiPlugin.cpp.o: DssiPlugin.cpp $(DSSI_PLUGIN_CPP_DEPS)
  54. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  55. Lv2Plugin.cpp.o: Lv2Plugin.cpp $(LV2_PLUGIN_CPP_DEPS)
  56. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  57. VstPlugin.cpp.o: VstPlugin.cpp $(VST_PLUGIN_CPP_DEPS)
  58. $(CXX) $< $(BUILD_CXX_FLAGS) $(QTCORE_FLAGS) -c -o $@
  59. Vst3Plugin.cpp.o: Vst3Plugin.cpp $(VST3_PLUGIN_CPP_DEPS)
  60. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  61. AuPlugin.cpp.o: AuPlugin.cpp $(AU_PLUGIN_CPP_DEPS)
  62. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  63. ReWirePlugin.cpp.o: ReWirePlugin.cpp $(REWIRE_PLUGIN_CPP_DEPS)
  64. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  65. CsoundPlugin.cpp.o: CsoundPlugin.cpp $(CSOUND_PLUGIN_CPP_DEPS)
  66. $(CXX) $< $(BUILD_CXX_FLAGS) $(CSOUND_FLAGS) -c -o $@
  67. JucePlugin.cpp.o: JucePlugin.cpp $(JUCE_PLUGIN_CPP_DEPS)
  68. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  69. FluidSynthPlugin.cpp.o: FluidSynthPlugin.cpp $(FLUIDSYNTH_PLUGIN_CPP_DEPS)
  70. $(CXX) $< $(BUILD_CXX_FLAGS) $(FLUIDSYNTH_FLAGS) $(QTCORE_FLAGS) -c -o $@
  71. LinuxSamplerPlugin.cpp.o: LinuxSamplerPlugin.cpp $(LINUXSAMPLER_PLUGIN_CPP_DEPS)
  72. $(CXX) $< $(BUILD_CXX_FLAGS) $(LINUXSAMPLER_FLAGS) $(QTCORE_FLAGS) -c -o $@
  73. # ----------------------------------------------------------------------------------------------------------------------------