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.

637 lines
19KB

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