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.

107 lines
2.6KB

  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_ZYN_DEPS
  18. DEFINES += HAVE_ZYN_UI_DEPS
  19. PKGCONFIG += liblo
  20. PKGCONFIG += fftw3
  21. PKGCONFIG += fluidsynth
  22. PKGCONFIG += mxml
  23. PKGCONFIG += zlib
  24. SOURCES = \
  25. # Backend (main)
  26. backend/CarlaStandalone.cpp \
  27. # Backend (engine)
  28. backend/engine/CarlaEngine.cpp \
  29. backend/engine/CarlaEngineClient.cpp \
  30. backend/engine/CarlaEngineData.cpp \
  31. backend/engine/CarlaEngineInternal.cpp \
  32. backend/engine/CarlaEngineGraph.cpp \
  33. backend/engine/CarlaEngineJack.cpp \
  34. backend/engine/CarlaEngineJuce.cpp \
  35. backend/engine/CarlaEngineNative.cpp \
  36. backend/engine/CarlaEngineOsc.cpp \
  37. backend/engine/CarlaEngineOscSend.cpp \
  38. backend/engine/CarlaEnginePorts.cpp \
  39. backend/engine/CarlaEngineThread.cpp \
  40. # Backend (plugins)
  41. backend/plugin/CarlaPlugin.cpp \
  42. backend/plugin/CarlaPluginAU.cpp \
  43. backend/plugin/CarlaPluginBridge.cpp \
  44. backend/plugin/CarlaPluginDSSI.cpp \
  45. backend/plugin/CarlaPluginFluidSynth.cpp \
  46. backend/plugin/CarlaPluginInternal.cpp \
  47. backend/plugin/CarlaPluginJuce.cpp \
  48. backend/plugin/CarlaPluginLADSPA.cpp \
  49. backend/plugin/CarlaPluginLV2.cpp \
  50. backend/plugin/CarlaPluginNative.cpp \
  51. backend/plugin/CarlaPluginVST2.cpp
  52. HEADERS = \
  53. # C API
  54. backend/CarlaBackend.h \
  55. backend/CarlaHost.h \
  56. backend/CarlaUtils.h \
  57. # C++ API
  58. backend/CarlaEngine.hpp \
  59. backend/CarlaPlugin.hpp
  60. INCLUDEPATH = \
  61. backend \
  62. includes \
  63. modules \
  64. utils
  65. LIBS = \
  66. # Pre-Compiled modules
  67. ../build/modules/Debug/jackbridge.a \
  68. ../build/modules/Debug/juce_core.a \
  69. ../build/modules/Debug/lilv.a \
  70. ../build/modules/Debug/native-plugins.a \
  71. ../build/modules/Debug/rtmempool.a
  72. #mac {
  73. LIBS += \
  74. # Pre-Compiled modules (OSX only)
  75. ../build/modules/Debug/juce_gui_extra.a \
  76. # OSX frameworks
  77. -framework Accelerate \
  78. -framework AppKit \
  79. -framework AudioToolbox \
  80. -framework AudioUnit \
  81. -framework Cocoa \
  82. -framework CoreAudio \
  83. -framework CoreAudioKit \
  84. -framework CoreFoundation \
  85. -framework CoreMIDI \
  86. -framework IOKit \
  87. -framework OpenGL \
  88. -framework QuartzCore
  89. #}
  90. #unix {
  91. LIBS += \
  92. -lmagic
  93. #}
  94. QMAKE_CFLAGS *= -std=gnu99
  95. QMAKE_CXXFLAGS *= -std=gnu++0x