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.

119 lines
3.2KB

  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. backend/plugin/CarlaPluginVST3.cpp
  56. HEADERS = \
  57. # C API
  58. backend/CarlaBackend.h \
  59. backend/CarlaHost.h \
  60. backend/CarlaUtils.h \
  61. # C++ API
  62. backend/CarlaEngine.hpp \
  63. backend/CarlaPlugin.hpp
  64. INCLUDEPATH = \
  65. backend \
  66. includes \
  67. modules \
  68. utils
  69. LIBS = \
  70. # Pre-Compiled modules
  71. ../build/modules/Debug/jackbridge.a \
  72. ../build/modules/Debug/juce_audio_basics.a \
  73. ../build/modules/Debug/juce_audio_devices.a \
  74. ../build/modules/Debug/juce_audio_formats.a \
  75. ../build/modules/Debug/juce_audio_processors.a \
  76. ../build/modules/Debug/juce_core.a \
  77. ../build/modules/Debug/juce_data_structures.a \
  78. ../build/modules/Debug/juce_events.a \
  79. ../build/modules/Debug/juce_graphics.a \
  80. ../build/modules/Debug/juce_gui_basics.a \
  81. ../build/modules/Debug/lilv.a \
  82. ../build/modules/Debug/native-plugins.a \
  83. ../build/modules/Debug/rtmempool.a
  84. #mac {
  85. LIBS += \
  86. # Pre-Compiled modules (OSX only)
  87. ../build/modules/Debug/juce_gui_extra.a \
  88. # OSX frameworks
  89. -framework Accelerate \
  90. -framework AppKit \
  91. -framework AudioToolbox \
  92. -framework AudioUnit \
  93. -framework Cocoa \
  94. -framework CoreAudio \
  95. -framework CoreAudioKit \
  96. -framework CoreFoundation \
  97. -framework CoreMIDI \
  98. -framework IOKit \
  99. -framework OpenGL \
  100. -framework QuartzCore
  101. #}
  102. #unix {
  103. LIBS += \
  104. -lmagic
  105. #}
  106. QMAKE_CFLAGS *= -std=gnu99
  107. QMAKE_CXXFLAGS *= -std=gnu++0x