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.

62 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-backend #
  3. # -------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BACKEND_FLAGS = -fvisibility=hidden -fPIC
  9. BACKEND_FLAGS += -I. -I.. -I../../includes -I../../libs -I../../utils
  10. BUILD_C_FLAGS += $(BACKEND_FLAGS)
  11. BUILD_CXX_FLAGS += $(BACKEND_FLAGS)
  12. # --------------------------------------------------------------
  13. BUILD_CXX_FLAGS += -DWANT_NATIVE
  14. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  15. BUILD_C_FLAGS += -DWANT_LV2
  16. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST
  17. endif
  18. ifeq ($(CARLA_RTAUDIO_SUPPORT),true)
  19. BUILD_CXX_FLAGS += -DWANT_RTAUDIO
  20. endif
  21. # --------------------------------------------------------------
  22. ifeq ($(HAVE_FLUIDSYNTH),true)
  23. BUILD_CXX_FLAGS += -DWANT_FLUIDSYNTH
  24. endif
  25. ifeq ($(HAVE_LINUXSAMPLER),true)
  26. BUILD_CXX_FLAGS += -DWANT_LINUXSAMPLER
  27. endif
  28. ifeq ($(HAVE_OPENGL),true)
  29. BUILD_CXX_FLAGS += -DWANT_OPENGL
  30. endif
  31. ifeq ($(HAVE_AF_DEPS),true)
  32. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  33. ifeq ($(HAVE_FFMPEG),true)
  34. BUILD_CXX_FLAGS += -DHAVE_FFMPEG
  35. endif
  36. endif
  37. ifeq ($(HAVE_MF_DEPS),true)
  38. BUILD_CXX_FLAGS += -DWANT_MIDIFILE
  39. endif
  40. ifeq ($(HAVE_ZYN_DEPS),true)
  41. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  42. endif
  43. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  44. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX_UI
  45. endif