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.

94 lines
2.5KB

  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. NativePlugin.cpp.o \
  13. BridgePlugin.cpp.o \
  14. LadspaPlugin.cpp.o \
  15. DssiPlugin.cpp.o \
  16. Lv2Plugin.cpp.o \
  17. VstPlugin.cpp.o \
  18. Vst3Plugin.cpp.o \
  19. AuPlugin.cpp.o \
  20. JucePlugin.cpp.o \
  21. FluidSynthPlugin.cpp.o \
  22. LinuxSamplerPlugin.cpp.o
  23. TARGETS = \
  24. ../carla_plugin.a
  25. # --------------------------------------------------------------
  26. all: $(TARGETS)
  27. # --------------------------------------------------------------
  28. clean:
  29. $(RM) $(OBJS)
  30. $(RM) $(TARGETS)
  31. debug:
  32. $(MAKE) DEBUG=true
  33. # --------------------------------------------------------------
  34. ../carla_plugin.a: $(OBJS)
  35. $(RM) $@
  36. $(AR) crs $@ $^
  37. # --------------------------------------------------------------
  38. CarlaPlugin.cpp.o: CarlaPlugin.cpp $(CARLA_PLUGIN_CPP_DEPS)
  39. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  40. CarlaPluginInternal.cpp.o: CarlaPluginInternal.cpp $(CARLA_PLUGIN_INTERNAL_CPP_DEPS)
  41. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  42. CarlaPluginThread.cpp.o: CarlaPluginThread.cpp $(CARLA_PLUGIN_THREAD_CPP_DEPS)
  43. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  44. NativePlugin.cpp.o: NativePlugin.cpp $(NATIVE_PLUGIN_CPP_DEPS)
  45. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  46. BridgePlugin.cpp.o: BridgePlugin.cpp $(BRIDGE_PLUGIN_CPP_DEPS)
  47. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  48. LadspaPlugin.cpp.o: LadspaPlugin.cpp $(LADSPA_PLUGIN_CPP_DEPS)
  49. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  50. DssiPlugin.cpp.o: DssiPlugin.cpp $(DSSI_PLUGIN_CPP_DEPS)
  51. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  52. Lv2Plugin.cpp.o: Lv2Plugin.cpp $(LV2_PLUGIN_CPP_DEPS)
  53. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  54. VstPlugin.cpp.o: VstPlugin.cpp $(VST_PLUGIN_CPP_DEPS)
  55. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  56. Vst3Plugin.cpp.o: Vst3Plugin.cpp $(VST3_PLUGIN_CPP_DEPS)
  57. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  58. AuPlugin.cpp.o: AuPlugin.cpp $(AU_PLUGIN_CPP_DEPS)
  59. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  60. JucePlugin.cpp.o: JucePlugin.cpp $(JUCE_PLUGIN_CPP_DEPS)
  61. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  62. FluidSynthPlugin.cpp.o: FluidSynthPlugin.cpp $(FLUIDSYNTH_PLUGIN_CPP_DEPS)
  63. $(CXX) $< $(BUILD_CXX_FLAGS) $(FLUIDSYNTH_FLAGS) -c -o $@
  64. LinuxSamplerPlugin.cpp.o: LinuxSamplerPlugin.cpp $(LINUXSAMPLER_PLUGIN_CPP_DEPS)
  65. $(CXX) $< $(BUILD_CXX_FLAGS) $(LINUXSAMPLER_FLAGS) -c -o $@
  66. # --------------------------------------------------------------