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.

67 lines
1.4KB

  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_JACK),true)
  23. BUILD_CXX_FLAGS += -DWANT_JACK
  24. endif
  25. ifeq ($(HAVE_JACK_LATENCY),true)
  26. BUILD_CXX_FLAGS += -DWANT_JACK_LATENCY
  27. endif
  28. ifeq ($(HAVE_JACK2),true)
  29. BUILD_CXX_FLAGS += -DWANT_JACK_PORT_RENAME
  30. endif
  31. ifeq ($(HAVE_FLUIDSYNTH),true)
  32. BUILD_CXX_FLAGS += -DWANT_FLUIDSYNTH
  33. endif
  34. ifeq ($(HAVE_LINUXSAMPLER),true)
  35. BUILD_CXX_FLAGS += -DWANT_LINUXSAMPLER
  36. endif
  37. ifeq ($(HAVE_OPENGL),true)
  38. BUILD_CXX_FLAGS += -DWANT_OPENGL
  39. endif
  40. ifeq ($(HAVE_AF_DEPS),true)
  41. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  42. endif
  43. ifeq ($(HAVE_ZYN_DEPS),true)
  44. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  45. endif
  46. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  47. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX_UI
  48. endif