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.

72 lines
1.5KB

  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. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_VST
  18. endif
  19. ifeq ($(CARLA_RTAUDIO_SUPPORT),true)
  20. BUILD_CXX_FLAGS += -DWANT_RTAUDIO
  21. endif
  22. # --------------------------------------------------------------
  23. ifeq ($(HAVE_JACK),true)
  24. BUILD_CXX_FLAGS += -DWANT_JACK
  25. endif
  26. ifeq ($(HAVE_JACK_LATENCY),true)
  27. BUILD_CXX_FLAGS += -DWANT_JACK_LATENCY
  28. endif
  29. ifeq ($(HAVE_JACK2),true)
  30. BUILD_CXX_FLAGS += -DWANT_JACK_PORT_RENAME
  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. ifeq ($(HAVE_OPENGL),true)
  39. BUILD_CXX_FLAGS += -DWANT_OPENGL
  40. endif
  41. ifeq ($(HAVE_AF_DEPS),true)
  42. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  43. endif
  44. ifeq ($(HAVE_MF_DEPS),true)
  45. BUILD_CXX_FLAGS += -DWANT_MIDIFILE
  46. endif
  47. ifeq ($(HAVE_ZYN_DEPS),true)
  48. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  49. endif
  50. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  51. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX_UI
  52. endif