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.

Makefile 1.6KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 += $(shell pkg-config --cflags liblo) -I../engine
  9. ifeq ($(HAVE_QT5),true)
  10. BUILD_CXX_FLAGS += $(shell pkg-config --cflags Qt5Core Qt5Xml Qt5Widgets)
  11. else
  12. BUILD_CXX_FLAGS += $(shell pkg-config --cflags QtCore QtGui QtXml)
  13. endif
  14. # --------------------------------------------------------------
  15. ifeq ($(HAVE_FLUIDSYNTH),true)
  16. BUILD_CXX_FLAGS += $(shell pkg-config --cflags fluidsynth)
  17. endif
  18. ifeq ($(HAVE_LINUXSAMPLER),true)
  19. BUILD_CXX_FLAGS += $(shell pkg-config --cflags linuxsampler)
  20. endif
  21. # --------------------------------------------------------------
  22. OBJS = \
  23. CarlaPlugin.cpp.o \
  24. CarlaPluginGui.cpp.o \
  25. CarlaPluginThread.cpp.o \
  26. BridgePlugin.cpp.o \
  27. NativePlugin.cpp.o \
  28. LadspaPlugin.cpp.o \
  29. DssiPlugin.cpp.o \
  30. Lv2Plugin.cpp.o \
  31. VstPlugin.cpp.o \
  32. Vst3Plugin.cpp.o \
  33. FluidSynthPlugin.cpp.o \
  34. LinuxSamplerPlugin.cpp.o
  35. FILES = \
  36. moc_CarlaPluginGui.cpp
  37. TARGET = ../libcarla_plugin.a
  38. # --------------------------------------------------------------
  39. all: $(TARGET)
  40. clean:
  41. rm -f $(OBJS) $(FILES) $(TARGET)
  42. debug:
  43. $(MAKE) DEBUG=true
  44. # --------------------------------------------------------------
  45. %.cpp.o: %.cpp moc_CarlaPluginGui.cpp ../CarlaBackend.hpp ../CarlaEngine.hpp ../CarlaPlugin.hpp CarlaPluginGui.hpp CarlaPluginInternal.hpp CarlaPluginThread.hpp
  46. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  47. moc_%.cpp: %.hpp
  48. $(MOC) $< -DMOC_PARSING -o $@
  49. $(TARGET): $(OBJS)
  50. $(AR) rs $@ $^