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.

55 lines
1.5KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-backend #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. ifeq ($(CWD),)
  7. CWD=../..
  8. endif
  9. include $(CWD)/Makefile.deps
  10. include $(CWD)/Makefile.mk
  11. # ----------------------------------------------------------------------------------------------------------------------------
  12. BUILD_CXX_FLAGS += -I. -I.. -I$(CWD)/includes -I$(CWD)/utils -isystem $(CWD)/modules
  13. BUILD_CXX_FLAGS += $(LIBLO_FLAGS)
  14. # ----------------------------------------------------------------------------------------------------------------------------
  15. BUILD_CXX_FLAGS += -DWANT_NATIVE
  16. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  17. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST
  18. ifeq ($(MACOS),true)
  19. BUILD_CXX_FLAGS += -DWANT_AU
  20. endif
  21. ifeq ($(MACOS_OR_WIN32),true)
  22. BUILD_CXX_FLAGS += -DWANT_VST3
  23. endif
  24. ifeq ($(CARLA_VESTIGE_HEADER),true)
  25. BUILD_CXX_FLAGS += -DVESTIGE_HEADER
  26. endif
  27. endif
  28. # ----------------------------------------------------------------------------------------------------------------------------
  29. ifeq ($(HAVE_CSOUND),true)
  30. BUILD_CXX_FLAGS += -DWANT_CSOUND
  31. endif
  32. ifeq ($(HAVE_FLUIDSYNTH),true)
  33. BUILD_CXX_FLAGS += -DWANT_FLUIDSYNTH
  34. endif
  35. ifeq ($(HAVE_LINUXSAMPLER),true)
  36. BUILD_CXX_FLAGS += -DWANT_LINUXSAMPLER
  37. endif
  38. # ----------------------------------------------------------------------------------------------------------------------------
  39. BUILD_CXX_FLAGS += $(NATIVE_PLUGINS_FLAGS)
  40. # ----------------------------------------------------------------------------------------------------------------------------