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.

60 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 = -pthread -fvisibility=hidden -fPIC -I. -I.. -I../../includes
  9. BACKEND_FLAGS += $(shell pkg-config --cflags gl)
  10. BUILD_C_FLAGS += $(BACKEND_FLAGS)
  11. BUILD_CXX_FLAGS += $(BACKEND_FLAGS) -I../../libs -I../../libs/distrho -I../../utils
  12. LINK_FLAGS += $(shell pkg-config --libs gl) -lpthread
  13. # --------------------------------------------------------------
  14. BUILD_CXX_FLAGS += -DWANT_NATIVE
  15. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  16. BUILD_C_FLAGS += -DWANT_LV2
  17. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -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_AF_DEPS),true)
  39. BUILD_CXX_FLAGS += -DWANT_AUDIOFILE
  40. endif
  41. ifeq ($(HAVE_ZYN_DEPS),true)
  42. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  43. endif