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.

110 lines
2.7KB

  1. TARGET = carla_backend
  2. TEMPLATE = lib
  3. VERSION = 1.9.5
  4. mac {
  5. QT_CONFIG -= no-pkg-config
  6. PKG_CONFIG = PKG_CONFIG_PATH=/Users/falktx/builds/carla/lib/pkgconfig:/Users/falktx/builds/carla64/lib/pkgconfig /Users/falktx/builds/carla64/bin/pkg-config
  7. }
  8. CONFIG = debug
  9. CONFIG += link_pkgconfig shared warn_on
  10. DEFINES = DEBUG
  11. DEFINES += BUILDING_CARLA
  12. DEFINES += REAL_BUILD
  13. # DEFINES += HAVE_DGL
  14. DEFINES += HAVE_LIBLO
  15. DEFINES += HAVE_LIBMAGIC
  16. DEFINES += HAVE_FLUIDSYNTH
  17. DEFINES += HAVE_LINUXSAMPLER
  18. DEFINES += HAVE_ZYN_DEPS
  19. DEFINES += HAVE_ZYN_UI_DEPS
  20. PKGCONFIG += liblo
  21. PKGCONFIG += fftw3
  22. PKGCONFIG += fluidsynth
  23. PKGCONFIG += linuxsampler
  24. PKGCONFIG += mxml
  25. PKGCONFIG += zlib
  26. SOURCES = \
  27. # Backend (main)
  28. backend/CarlaStandalone.cpp \
  29. # Backend (engine)
  30. backend/engine/CarlaEngine.cpp \
  31. backend/engine/CarlaEngineClient.cpp \
  32. backend/engine/CarlaEngineData.cpp \
  33. backend/engine/CarlaEngineInternal.cpp \
  34. backend/engine/CarlaEngineGraph.cpp \
  35. backend/engine/CarlaEngineJack.cpp \
  36. backend/engine/CarlaEngineJuce.cpp \
  37. backend/engine/CarlaEngineNative.cpp \
  38. backend/engine/CarlaEngineOsc.cpp \
  39. backend/engine/CarlaEngineOscSend.cpp \
  40. backend/engine/CarlaEnginePorts.cpp \
  41. backend/engine/CarlaEngineThread.cpp \
  42. # Backend (plugins)
  43. backend/plugin/CarlaPlugin.cpp \
  44. backend/plugin/CarlaPluginAU.cpp \
  45. backend/plugin/CarlaPluginBridge.cpp \
  46. backend/plugin/CarlaPluginDSSI.cpp \
  47. backend/plugin/CarlaPluginFluidSynth.cpp \
  48. backend/plugin/CarlaPluginInternal.cpp \
  49. backend/plugin/CarlaPluginJuce.cpp \
  50. backend/plugin/CarlaPluginLADSPA.cpp \
  51. backend/plugin/CarlaPluginLinuxSampler.cpp \
  52. backend/plugin/CarlaPluginLV2.cpp \
  53. backend/plugin/CarlaPluginNative.cpp \
  54. backend/plugin/CarlaPluginVST2.cpp
  55. HEADERS = \
  56. # C API
  57. backend/CarlaBackend.h \
  58. backend/CarlaHost.h \
  59. backend/CarlaUtils.h \
  60. # C++ API
  61. backend/CarlaEngine.hpp \
  62. backend/CarlaPlugin.hpp
  63. INCLUDEPATH = \
  64. backend \
  65. includes \
  66. modules \
  67. utils
  68. LIBS = \
  69. # Pre-Compiled modules
  70. ../build/modules/Debug/jackbridge.a \
  71. ../build/modules/Debug/juce_core.a \
  72. ../build/modules/Debug/lilv.a \
  73. ../build/modules/Debug/native-plugins.a \
  74. ../build/modules/Debug/rtmempool.a
  75. #mac {
  76. LIBS += \
  77. # Pre-Compiled modules (OSX only)
  78. ../build/modules/Debug/juce_gui_extra.a \
  79. # OSX frameworks
  80. -framework Accelerate \
  81. -framework AppKit \
  82. -framework AudioToolbox \
  83. -framework AudioUnit \
  84. -framework Cocoa \
  85. -framework CoreAudio \
  86. -framework CoreAudioKit \
  87. -framework CoreFoundation \
  88. -framework CoreMIDI \
  89. -framework IOKit \
  90. -framework OpenGL \
  91. -framework QuartzCore
  92. #}
  93. #unix {
  94. LIBS += \
  95. -lmagic
  96. #}
  97. QMAKE_CFLAGS *= -std=gnu99
  98. QMAKE_CXXFLAGS *= -std=gnu++0x