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 18KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 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
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
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
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
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
10 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
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
10 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
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
10 years ago
10 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. #!/usr/bin/make -f
  2. # Makefile for Carla #
  3. # ------------------ #
  4. # Created by falkTX
  5. #
  6. include source/Makefile.mk
  7. # --------------------------------------------------------------
  8. PREFIX = /usr/local
  9. DESTDIR =
  10. LINK = ln -sf
  11. ifeq ($(DEFAULT_QT),4)
  12. PYUIC ?= pyuic4 -w
  13. PYRCC ?= pyrcc4 -py3
  14. else
  15. PYUIC ?= pyuic5
  16. PYRCC ?= pyrcc5
  17. endif
  18. # --------------------------------------------------------------
  19. all: BIN RES UI WIDGETS
  20. # --------------------------------------------------------------
  21. # Binaries (native)
  22. BIN: libs backend bridges discovery plugin theme
  23. # --------------------------------------------------------------
  24. ALL_LIBS += source/backend/carla_engine.a
  25. ALL_LIBS += source/backend/carla_engine_plugin.a
  26. ALL_LIBS += source/backend/carla_plugin.a
  27. ifeq ($(HAVE_AF_DEPS),true)
  28. ALL_LIBS += source/modules/audio_decoder.a
  29. endif
  30. ifeq ($(HAVE_DGL),true)
  31. ALL_LIBS += source/modules/dgl.a
  32. endif
  33. ALL_LIBS += source/modules/jackbridge.a
  34. ifeq ($(HAVE_JUCE),true)
  35. ALL_LIBS += source/modules/juce_audio_basics.a
  36. ALL_LIBS += source/modules/juce_audio_devices.a
  37. ALL_LIBS += source/modules/juce_audio_formats.a
  38. ALL_LIBS += source/modules/juce_audio_processors.a
  39. ALL_LIBS += source/modules/juce_core.a
  40. ALL_LIBS += source/modules/juce_data_structures.a
  41. ALL_LIBS += source/modules/juce_events.a
  42. ALL_LIBS += source/modules/juce_graphics.a
  43. ALL_LIBS += source/modules/juce_gui_basics.a
  44. ALL_LIBS += source/modules/juce_gui_extra.a
  45. endif
  46. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  47. ALL_LIBS += source/modules/lilv.a
  48. endif
  49. ALL_LIBS += source/modules/native-plugins.a
  50. ALL_LIBS += source/modules/rtaudio.a
  51. ALL_LIBS += source/modules/rtmempool.a
  52. ALL_LIBS += source/modules/rtmidi.a
  53. ifeq ($(HAVE_QT4),true)
  54. ALL_LIBS += source/modules/theme.qt4.a
  55. endif
  56. ifeq ($(HAVE_QT5),true)
  57. ALL_LIBS += source/modules/theme.qt5.a
  58. endif
  59. libs: $(ALL_LIBS)
  60. source/backend/carla_%_plugin.a: .FORCE
  61. $(MAKE) -C source/backend/$* ../carla_$*_plugin.a
  62. source/backend/carla_%.a: .FORCE
  63. $(MAKE) -C source/backend/$* ../carla_$*.a
  64. source/modules/%.qt4.a: .FORCE
  65. $(MAKE) -C source/modules/$* ../$*.qt4.a
  66. source/modules/%.qt5.a: .FORCE
  67. $(MAKE) -C source/modules/$* ../$*.qt5.a
  68. source/modules/%.a: .FORCE
  69. $(MAKE) -C source/modules/$* ../$*.a
  70. # --------------------------------------------------------------
  71. backend: bin/libcarla_standalone2$(LIB_EXT)
  72. bin/libcarla_standalone2$(LIB_EXT): libs .FORCE
  73. $(MAKE) -C source/backend
  74. # --------------------------------------------------------------
  75. bridges: bin/carla-bridge-native$(APP_EXT)
  76. bin/carla-bridge-native$(APP_EXT): libs .FORCE
  77. $(MAKE) -C source/bridges
  78. # --------------------------------------------------------------
  79. discovery: bin/carla-discovery-native$(APP_EXT)
  80. bin/carla-discovery-native$(APP_EXT): libs .FORCE
  81. $(MAKE) -C source/discovery
  82. # --------------------------------------------------------------
  83. plugin: bin/carla-native.lv2/manifest.ttl
  84. bin/carla-native.lv2/carla-native$(LIB_EXT): backend .FORCE
  85. $(MAKE) -C source/plugin ../../$@
  86. bin/carla-native.lv2/manifest.ttl: bin/carla-native-lv2-export$(APP_EXT) bridges discovery .FORCE
  87. cd bin && ./carla-native-lv2-export$(APP_EXT); cd ..
  88. cd bin/carla-native.lv2 && $(LINK) ../*bridge-* ../carla-discovery-* .; cd ..
  89. bin/carla-native-lv2-export$(APP_EXT): bin/carla-native.lv2/carla-native$(LIB_EXT) .FORCE
  90. $(MAKE) -C source/plugin ../../$@
  91. # --------------------------------------------------------------
  92. theme: bin/styles/carlastyle$(LIB_EXT)
  93. bin/styles/carlastyle$(LIB_EXT): .FORCE
  94. $(MAKE) -C source/modules/theme
  95. # --------------------------------------------------------------
  96. # Binaries (variants)
  97. posix32:
  98. $(MAKE) -C source/bridges posix32
  99. $(MAKE) -C source/discovery posix32
  100. posix64:
  101. $(MAKE) -C source/bridges posix64
  102. $(MAKE) -C source/discovery posix64
  103. win32:
  104. $(MAKE) -C source/bridges win32
  105. $(MAKE) -C source/discovery win32
  106. win64:
  107. $(MAKE) -C source/bridges win64
  108. $(MAKE) -C source/discovery win64
  109. wine32:
  110. $(MAKE) -C source/modules jackbridge-wine32
  111. $(LINK) source/modules/jackbridge-win32.dll.so source/bridges/jackbridge-win32.dll
  112. wine64:
  113. $(MAKE) -C source/modules jackbridge-wine64
  114. $(LINK) source/modules/jackbridge-win64.dll.so source/bridges/jackbridge-win64.dll
  115. # --------------------------------------------------------------
  116. # Resources
  117. RES = \
  118. bin/resources/carla_backend.py \
  119. bin/resources/carla_config.py \
  120. bin/resources/carla_database.py \
  121. bin/resources/carla_host.py \
  122. bin/resources/carla_rack.py \
  123. bin/resources/carla_settings.py \
  124. bin/resources/carla_skin.py \
  125. bin/resources/carla_shared.py \
  126. bin/resources/carla_style.py \
  127. bin/resources/carla_widgets.py \
  128. bin/resources/canvaspreviewframe.py \
  129. bin/resources/digitalpeakmeter.py \
  130. bin/resources/externalui.py \
  131. bin/resources/ledbutton.py \
  132. bin/resources/paramspinbox.py \
  133. bin/resources/patchcanvas.py \
  134. bin/resources/patchcanvas_theme.py \
  135. bin/resources/pixmapbutton.py \
  136. bin/resources/pixmapdial.py \
  137. bin/resources/pixmapkeyboard.py \
  138. bin/resources/resources_rc.py \
  139. bin/resources/ui_carla_about.py \
  140. bin/resources/ui_carla_database.py \
  141. bin/resources/ui_carla_edit.py \
  142. bin/resources/ui_carla_host.py \
  143. bin/resources/ui_carla_parameter.py \
  144. bin/resources/ui_carla_plugin_basic_fx.py \
  145. bin/resources/ui_carla_plugin_calf.py \
  146. bin/resources/ui_carla_plugin_default.py \
  147. bin/resources/ui_carla_plugin_zita.py \
  148. bin/resources/ui_carla_plugin_zynfx.py \
  149. bin/resources/ui_carla_refresh.py \
  150. bin/resources/ui_carla_settings.py \
  151. bin/resources/ui_carla_settings_driver.py \
  152. bin/resources/ui_inputdialog_value.py \
  153. source/carla_config.py \
  154. source/resources_rc.py
  155. RES: $(RES)
  156. source/carla_config.py:
  157. @echo "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n" > $@
  158. ifeq ($(DEFAULT_QT),5)
  159. @echo "config_UseQt5 = True" >> $@
  160. else
  161. @echo "config_UseQt5 = False" >> $@
  162. endif
  163. source/resources_rc.py: resources/resources.qrc resources/*/*.png resources/*/*.svg
  164. $(PYRCC) $< -o $@
  165. bin/resources/%.py: source/%.py
  166. $(LINK) $(CURDIR)/source/$*.py bin/resources/
  167. # --------------------------------------------------------------
  168. # UI code
  169. UIs = \
  170. source/ui_carla_control.py \
  171. source/ui_carla_about.py \
  172. source/ui_carla_database.py \
  173. source/ui_carla_edit.py \
  174. source/ui_carla_host.py \
  175. source/ui_carla_parameter.py \
  176. source/ui_carla_plugin_basic_fx.py \
  177. source/ui_carla_plugin_default.py \
  178. source/ui_carla_plugin_calf.py \
  179. source/ui_carla_plugin_zita.py \
  180. source/ui_carla_plugin_zynfx.py \
  181. source/ui_carla_refresh.py \
  182. source/ui_carla_settings.py \
  183. source/ui_carla_settings_driver.py \
  184. source/ui_inputdialog_value.py
  185. UI: $(UIs)
  186. source/ui_%.py: resources/ui/%.ui
  187. $(PYUIC) $< -o $@
  188. # --------------------------------------------------------------
  189. # Widgets
  190. WIDGETS = \
  191. source/canvaspreviewframe.py \
  192. source/digitalpeakmeter.py \
  193. source/ledbutton.py \
  194. source/paramspinbox.py \
  195. source/pixmapbutton.py \
  196. source/pixmapdial.py \
  197. source/pixmapkeyboard.py \
  198. source/qgraphicsembedscene.py
  199. WIDGETS: $(WIDGETS)
  200. source/%.py: source/widgets/%.py
  201. $(LINK) widgets/$*.py $@
  202. # --------------------------------------------------------------
  203. clean:
  204. $(MAKE) clean -C source/backend
  205. $(MAKE) clean -C source/bridges
  206. $(MAKE) clean -C source/discovery
  207. $(MAKE) clean -C source/modules
  208. $(MAKE) clean -C source/plugin
  209. rm -f $(RES)
  210. rm -f $(UIs)
  211. rm -f $(WIDGETS)
  212. rm -f *~ source/*~ source/*.pyc source/*_rc.py source/ui_*.py
  213. debug:
  214. $(MAKE) DEBUG=true
  215. doxygen:
  216. $(MAKE) doxygen -C source/backend
  217. # --------------------------------------------------------------
  218. install:
  219. # Create directories
  220. install -d $(DESTDIR)$(PREFIX)/bin/
  221. install -d $(DESTDIR)$(PREFIX)/lib/carla/
  222. install -d $(DESTDIR)$(PREFIX)/lib/carla/styles/
  223. install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  224. install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/styles/
  225. install -d $(DESTDIR)$(PREFIX)/lib/pkgconfig/
  226. install -d $(DESTDIR)$(PREFIX)/include/carla/
  227. install -d $(DESTDIR)$(PREFIX)/include/carla/includes/
  228. install -d $(DESTDIR)$(PREFIX)/share/applications/
  229. install -d $(DESTDIR)$(PREFIX)/share/carla/
  230. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/
  231. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
  232. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
  233. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  234. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  235. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  236. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  237. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  238. install -d $(DESTDIR)$(PREFIX)/share/mime/packages/
  239. # Install script files
  240. install -m 755 \
  241. data/carla \
  242. data/carla-database \
  243. data/carla-patchbay \
  244. data/carla-rack \
  245. data/carla-settings \
  246. $(DESTDIR)$(PREFIX)/bin/
  247. # data/carla-control \
  248. # data/carla-single \
  249. # Install desktop files
  250. install -m 644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications/
  251. # Install icons, 16x16
  252. install -m 644 resources/16x16/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  253. install -m 644 resources/16x16/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  254. # Install icons, 48x48
  255. install -m 644 resources/48x48/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  256. install -m 644 resources/48x48/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  257. # Install icons, 128x128
  258. install -m 644 resources/128x128/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  259. install -m 644 resources/128x128/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  260. # Install icons, 256x256
  261. install -m 644 resources/256x256/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  262. install -m 644 resources/256x256/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  263. # Install icons, scalable
  264. install -m 644 resources/scalable/carla.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  265. install -m 644 resources/scalable/carla-control.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  266. # Install mime package
  267. install -m 644 data/carla.xml $(DESTDIR)$(PREFIX)/share/mime/packages/
  268. # Install pkg-config file
  269. install -m 644 data/carla-standalone.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/
  270. # Install backend
  271. install -m 644 \
  272. bin/libcarla_standalone2.* \
  273. $(DESTDIR)$(PREFIX)/lib/carla/
  274. # Install lv2 plugin
  275. install -m 644 \
  276. bin/carla-native.lv2/carla-native.* \
  277. bin/carla-native.lv2/*.ttl \
  278. $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  279. # Install binaries (backend)
  280. install -m 755 \
  281. bin/*bridge-* \
  282. bin/carla-discovery-* \
  283. $(DESTDIR)$(PREFIX)/lib/carla/
  284. # Install binaries (lv2 plugin)
  285. install -m 755 \
  286. bin/*bridge-* \
  287. bin/carla-discovery-* \
  288. $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  289. # Install theme
  290. install -m 644 \
  291. bin/styles/* \
  292. $(DESTDIR)$(PREFIX)/lib/carla/styles/
  293. install -m 644 \
  294. bin/styles/* \
  295. $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/styles/
  296. # Install python code
  297. install -m 644 \
  298. source/carla \
  299. source/carla-patchbay \
  300. source/carla-rack \
  301. source/*.py \
  302. $(DESTDIR)$(PREFIX)/share/carla/
  303. # Install headers
  304. install -m 644 \
  305. source/backend/CarlaBackend.h \
  306. source/backend/CarlaHost.h \
  307. $(DESTDIR)$(PREFIX)/include/carla/
  308. install -m 644 \
  309. source/includes/CarlaDefines.h \
  310. $(DESTDIR)$(PREFIX)/include/carla/includes/
  311. # Install resources (main)
  312. install -m 755 \
  313. bin/resources/carla-plugin \
  314. bin/resources/*-ui \
  315. $(DESTDIR)$(PREFIX)/share/carla/resources/
  316. install -m 644 \
  317. bin/resources/nekofilter/*.png \
  318. $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
  319. install -m 644 \
  320. bin/resources/zynaddsubfx/*.png \
  321. $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
  322. # Install resources (re-use python files)
  323. cd $(DESTDIR)$(PREFIX)/share/carla/resources/ && \
  324. $(LINK) ../*.py .
  325. cd $(CURDIR)
  326. # Link resources for lv2 plugin
  327. $(LINK) $(PREFIX)/share/carla/resources/ $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  328. # Adjust PREFIX value in script files
  329. sed -i "s?X-PREFIX-X?$(PREFIX)?" \
  330. $(DESTDIR)$(PREFIX)/bin/carla \
  331. $(DESTDIR)$(PREFIX)/bin/carla-database \
  332. $(DESTDIR)$(PREFIX)/bin/carla-patchbay \
  333. $(DESTDIR)$(PREFIX)/bin/carla-rack \
  334. $(DESTDIR)$(PREFIX)/bin/carla-settings \
  335. $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  336. # $(DESTDIR)$(PREFIX)/bin/carla-single \
  337. # $(DESTDIR)$(PREFIX)/bin/carla-control \
  338. # --------------------------------------------------------------
  339. uninstall:
  340. rm -f $(DESTDIR)$(PREFIX)/bin/carla*
  341. rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  342. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla.desktop
  343. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla-control.desktop
  344. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla.png
  345. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla-control.png
  346. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla.svg
  347. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla-control.svg
  348. rm -f $(DESTDIR)$(PREFIX)/share/mime/packages/carla.xml
  349. rm -rf $(DESTDIR)$(PREFIX)/include/carla/
  350. rm -rf $(DESTDIR)$(PREFIX)/lib/carla/
  351. rm -rf $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  352. rm -rf $(DESTDIR)$(PREFIX)/share/carla/
  353. # --------------------------------------------------------------
  354. USE_COLORS=true
  355. USE_VST3=false
  356. ifeq ($(HAIKU),true)
  357. USE_COLORS=false
  358. endif
  359. ifeq ($(MACOS),true)
  360. USE_VST3=true
  361. endif
  362. ifeq ($(WIN32),true)
  363. USE_VST3=true
  364. endif
  365. ifeq ($(USE_COLORS),true)
  366. ANS_NO=\033[31m NO \033[0m
  367. ANS_YES=\033[32m YES \033[0m
  368. mS=\033[33m[
  369. mZ=\033[30;1m[
  370. mE=]\033[0m
  371. tS=\033[36m
  372. tE=\033[0m
  373. else
  374. ANS_NO=" NO "
  375. ANS_YES=" YES "
  376. endif
  377. features:
  378. @echo "$(tS)---> Engine driver $(tE)"
  379. @echo "JACK: $(ANS_YES)"
  380. ifeq ($(LINUX),true)
  381. ifeq ($(HAVE_ALSA),true)
  382. @echo "ALSA: $(ANS_YES)"
  383. else
  384. @echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
  385. endif
  386. ifeq ($(HAVE_PULSEAUDIO),true)
  387. @echo "PulseAudio: $(ANS_YES)"
  388. else
  389. @echo "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)"
  390. endif
  391. else
  392. @echo "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)"
  393. @echo "PulseAudio: $(ANS_NO) $(mZ)Linux only$(mE)"
  394. endif
  395. ifeq ($(MACOS),true)
  396. @echo "CoreAudio: $(ANS_YES)"
  397. else
  398. @echo "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)"
  399. endif
  400. ifeq ($(WIN32),true)
  401. @echo "ASIO: $(ANS_YES)"
  402. @echo "DirectSound:$(ANS_YES)"
  403. else
  404. @echo "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)"
  405. @echo "DirectSound:$(ANS_NO) $(mZ)Windows only$(mE)"
  406. endif
  407. @echo ""
  408. @echo "$(tS)---> Plugin formats: $(tE)"
  409. @echo "Internal:$(ANS_YES)"
  410. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  411. @echo "LADSPA: $(ANS_YES)"
  412. @echo "DSSI: $(ANS_YES)"
  413. @echo "LV2: $(ANS_YES)"
  414. @echo "VST: $(ANS_YES)"
  415. ifeq ($(USE_VST3),true)
  416. @echo "VST3: $(ANS_YES)"
  417. else
  418. @echo "VST3: $(ANS_NO) $(mZ)Windows and MacOS only$(mE)"
  419. endif
  420. ifeq ($(MACOS),true)
  421. @echo "AU: $(ANS_YES)"
  422. else
  423. @echo "AU: $(ANS_NO) $(mZ)MacOS only$(mE)"
  424. endif
  425. else
  426. @echo "LADSPA: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  427. @echo "DSSI: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  428. @echo "LV2: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  429. @echo "VST: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  430. @echo "VST3: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  431. @echo "AU: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  432. endif
  433. @echo ""
  434. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  435. @echo "$(tS)---> LV2 UI toolkit support: $(tE)"
  436. # @echo "External:$(ANS_YES) (direct+bridge)"
  437. ifeq ($(HAVE_GTK2),true)
  438. @echo "Gtk2: $(ANS_YES) (bridge)"
  439. else
  440. @echo "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)"
  441. endif
  442. ifeq ($(HAVE_GTK3),true)
  443. @echo "Gtk3: $(ANS_YES) (bridge)"
  444. else
  445. @echo "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)"
  446. endif
  447. ifeq ($(HAVE_QT4),true)
  448. @echo "Qt4: $(ANS_YES) (bridge)"
  449. else
  450. @echo "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)"
  451. endif
  452. ifeq ($(HAVE_QT5),true)
  453. @echo "Qt5: $(ANS_YES) (bridge)"
  454. else
  455. @echo "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)"
  456. endif
  457. ifeq ($(HAVE_X11),true)
  458. @echo "X11: $(ANS_YES) (direct+bridge)"
  459. else
  460. @echo "X11: $(ANS_NO) $(mS)X11 missing$(mE)"
  461. endif
  462. # ifeq ($(MACOS),true)
  463. # @echo "Cocoa: $(ANS_YES) (direct+bridge)"
  464. # else
  465. # @echo "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)"
  466. # endif
  467. # ifeq ($(WIN32),true)
  468. # @echo "Windows: $(ANS_YES) (direct+bridge)"
  469. # else
  470. # @echo "Windows: $(ANS_NO) $(mZ)Windows only$(mE)"
  471. # endif
  472. @echo ""
  473. endif
  474. @echo "$(tS)---> File formats: $(tE)"
  475. ifeq ($(CARLA_CSOUND_SUPPORT),true)
  476. @echo "CSD:$(ANS_YES)"
  477. else
  478. @echo "CSD:$(ANS_NO) $(mS)CSound disabled$(mE)"
  479. endif
  480. ifeq ($(CARLA_SAMPLERS_SUPPORT),true)
  481. ifeq ($(HAVE_LINUXSAMPLER),true)
  482. @echo "GIG:$(ANS_YES)"
  483. else
  484. @echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  485. endif
  486. ifeq ($(HAVE_FLUIDSYNTH),true)
  487. @echo "SF2:$(ANS_YES)"
  488. else
  489. @echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
  490. endif
  491. ifeq ($(HAVE_LINUXSAMPLER),true)
  492. @echo "SFZ:$(ANS_YES)"
  493. else
  494. @echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  495. endif
  496. else
  497. @echo "GIG:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  498. @echo "SF2:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  499. @echo "SFZ:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  500. endif
  501. @echo ""
  502. @echo "$(tS)---> Internal plugins: $(tE)"
  503. ifeq ($(HAVE_AF_DEPS),true)
  504. ifeq ($(HAVE_FFMPEG),true)
  505. @echo "AudioFile: $(ANS_YES) (with ffmpeg)"
  506. else
  507. @echo "AudioFile: $(ANS_YES) (without ffmpeg) $(mS)ffmpeg/libav missing$(mE)"
  508. endif
  509. else
  510. @echo "AudioFile: $(ANS_NO) $(mS)libsndfile missing$(mE)"
  511. endif
  512. ifeq ($(HAVE_MF_DEPS),true)
  513. @echo "MidiFile: $(ANS_YES)"
  514. else
  515. @echo "MidiFile: $(ANS_NO) $(mS)LibSMF missing$(mE)"
  516. endif
  517. ifeq ($(HAVE_PM_DEPS),true)
  518. @echo "ProjectM: $(ANS_YES)"
  519. else
  520. @echo "ProjectM: $(ANS_NO) $(mS)ProjectM missing$(mE)"
  521. endif
  522. ifneq ($(WIN32),true)
  523. @echo "Carla-Rack: $(ANS_YES)"
  524. else
  525. @echo "Carla-Rack: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  526. endif
  527. @echo "DPF Stuff: $(ANS_YES)"
  528. ifeq ($(HAVE_JUCE),true)
  529. @echo "Juce Stuff: $(ANS_YES)"
  530. else
  531. @echo "Juce Stuff: $(ANS_NO) $(mS)Juce deps missing or unavailable$(mE)"
  532. endif
  533. ifeq ($(HAVE_ZYN_DEPS),true)
  534. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  535. @echo "ZynAddSubFX:$(ANS_YES) (with UI)"
  536. else
  537. @echo "ZynAddSubFX:$(ANS_YES) (without UI) $(mS)NTK missing$(mE)"
  538. endif
  539. else
  540. @echo "ZynAddSubFX:$(ANS_NO) $(mS)fftw3, mxml or zlib missing$(mE)"
  541. endif
  542. # --------------------------------------------------------------
  543. .FORCE:
  544. .PHONY: .FORCE
  545. # --------------------------------------------------------------