Collection of tools useful for audio production
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.

64 lines
1.4KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-plugin #
  3. # ------------------------------------ #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += -fvisibility=hidden -fPIC
  9. BUILD_CXX_FLAGS += -I. -I../carla-backend -I../carla-engine -I../carla-includes -I../carla-native -I../carla-utils
  10. BUILD_CXX_FLAGS += $(shell pkg-config --cflags liblo QtCore QtGui)
  11. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  12. BUILD_CXX_FLAGS += -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST
  13. endif
  14. ifeq ($(HAVE_ZYN_DEPS),true)
  15. BUILD_CXX_FLAGS += -DWANT_ZYNADDSUBFX
  16. endif
  17. ifeq ($(HAVE_SUIL),true)
  18. BUILD_CXX_FLAGS += $(shell pkg-config --cflags suil-0) -DWANT_SUIL
  19. endif
  20. ifeq ($(HAVE_FLUIDSYNTH),true)
  21. BUILD_CXX_FLAGS += $(shell pkg-config --cflags fluidsynth) -DWANT_FLUIDSYNTH
  22. endif
  23. ifeq ($(HAVE_LINUXSAMPLER),true)
  24. BUILD_CXX_FLAGS += $(shell pkg-config --cflags linuxsampler) -DWANT_LINUXSAMPLER
  25. endif
  26. OBJS = \
  27. carla_plugin.o \
  28. carla_plugin_thread.o \
  29. carla_bridge.o \
  30. native.o \
  31. ladspa.o \
  32. dssi.o \
  33. lv2.o \
  34. vst.o \
  35. fluidsynth.o \
  36. linuxsampler.o
  37. # --------------------------------------------------------------
  38. all: carla_plugin.a
  39. doxygen: carla_plugin.doxygen
  40. doxygen $<
  41. carla_plugin.a: $(OBJS)
  42. $(AR) rs $@ $^
  43. # --------------------------------------------------------------
  44. .cpp.o:
  45. $(CXX) -c $< $(BUILD_CXX_FLAGS) -o $@
  46. clean:
  47. rm -f *.a $(OBJS)