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.

662 lines
18KB

  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. ALL_LIBS += source/modules/juce_audio_basics.a
  35. ALL_LIBS += source/modules/juce_audio_devices.a
  36. ALL_LIBS += source/modules/juce_audio_formats.a
  37. ALL_LIBS += source/modules/juce_audio_processors.a
  38. ALL_LIBS += source/modules/juce_core.a
  39. ALL_LIBS += source/modules/juce_events.a
  40. ifeq ($(HAVE_JUCE_UI),true)
  41. ALL_LIBS += source/modules/juce_data_structures.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. source/backend/CarlaEngine.hpp \
  308. source/backend/CarlaPlugin.hpp \
  309. source/modules/CarlaNative.h \
  310. $(DESTDIR)$(PREFIX)/include/carla/
  311. install -m 644 \
  312. source/includes/CarlaDefines.h \
  313. $(DESTDIR)$(PREFIX)/include/carla/includes/
  314. # Install resources (main)
  315. install -m 755 \
  316. bin/resources/carla-plugin \
  317. bin/resources/*-ui \
  318. $(DESTDIR)$(PREFIX)/share/carla/resources/
  319. install -m 644 \
  320. bin/resources/nekofilter/*.png \
  321. $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
  322. install -m 644 \
  323. bin/resources/zynaddsubfx/*.png \
  324. $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
  325. # Install resources (re-use python files)
  326. cd $(DESTDIR)$(PREFIX)/share/carla/resources/ && \
  327. $(LINK) ../*.py .
  328. cd $(CURDIR)
  329. # Link resources for lv2 plugin
  330. rm -rf $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources
  331. $(LINK) $(PREFIX)/share/carla/resources/ $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  332. # Adjust PREFIX value in script files
  333. sed -i "s?X-PREFIX-X?$(PREFIX)?" \
  334. $(DESTDIR)$(PREFIX)/bin/carla \
  335. $(DESTDIR)$(PREFIX)/bin/carla-database \
  336. $(DESTDIR)$(PREFIX)/bin/carla-patchbay \
  337. $(DESTDIR)$(PREFIX)/bin/carla-rack \
  338. $(DESTDIR)$(PREFIX)/bin/carla-settings \
  339. $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  340. # $(DESTDIR)$(PREFIX)/bin/carla-single \
  341. # $(DESTDIR)$(PREFIX)/bin/carla-control \
  342. # --------------------------------------------------------------
  343. uninstall:
  344. rm -f $(DESTDIR)$(PREFIX)/bin/carla*
  345. rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  346. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla.desktop
  347. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla-control.desktop
  348. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla.png
  349. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla-control.png
  350. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla.svg
  351. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla-control.svg
  352. rm -f $(DESTDIR)$(PREFIX)/share/mime/packages/carla.xml
  353. rm -rf $(DESTDIR)$(PREFIX)/include/carla/
  354. rm -rf $(DESTDIR)$(PREFIX)/lib/carla/
  355. rm -rf $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  356. rm -rf $(DESTDIR)$(PREFIX)/share/carla/
  357. # --------------------------------------------------------------
  358. USE_COLORS=true
  359. USE_VST3=false
  360. ifeq ($(HAIKU),true)
  361. USE_COLORS=false
  362. endif
  363. ifeq ($(MACOS),true)
  364. USE_VST3=true
  365. endif
  366. ifeq ($(WIN32),true)
  367. USE_VST3=true
  368. endif
  369. ifeq ($(USE_COLORS),true)
  370. ANS_NO=\033[31m NO \033[0m
  371. ANS_YES=\033[32m YES \033[0m
  372. mS=\033[33m[
  373. mZ=\033[30;1m[
  374. mE=]\033[0m
  375. tS=\033[36m
  376. tE=\033[0m
  377. else
  378. ANS_NO=" NO "
  379. ANS_YES=" YES "
  380. endif
  381. features:
  382. @echo "$(tS)---> Engine driver $(tE)"
  383. @echo "JACK: $(ANS_YES)"
  384. ifeq ($(LINUX),true)
  385. ifeq ($(HAVE_ALSA),true)
  386. @echo "ALSA: $(ANS_YES)"
  387. else
  388. @echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
  389. endif
  390. ifeq ($(HAVE_PULSEAUDIO),true)
  391. @echo "PulseAudio: $(ANS_YES)"
  392. else
  393. @echo "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)"
  394. endif
  395. else
  396. @echo "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)"
  397. @echo "PulseAudio: $(ANS_NO) $(mZ)Linux only$(mE)"
  398. endif
  399. ifeq ($(MACOS),true)
  400. @echo "CoreAudio: $(ANS_YES)"
  401. else
  402. @echo "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)"
  403. endif
  404. ifeq ($(WIN32),true)
  405. @echo "ASIO: $(ANS_YES)"
  406. @echo "DirectSound:$(ANS_YES)"
  407. else
  408. @echo "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)"
  409. @echo "DirectSound:$(ANS_NO) $(mZ)Windows only$(mE)"
  410. endif
  411. @echo ""
  412. @echo "$(tS)---> Plugin formats: $(tE)"
  413. @echo "Internal:$(ANS_YES)"
  414. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  415. @echo "LADSPA: $(ANS_YES)"
  416. @echo "DSSI: $(ANS_YES)"
  417. @echo "LV2: $(ANS_YES)"
  418. @echo "VST: $(ANS_YES)"
  419. ifeq ($(USE_VST3),true)
  420. @echo "VST3: $(ANS_YES)"
  421. else
  422. @echo "VST3: $(ANS_NO) $(mZ)Windows and MacOS only$(mE)"
  423. endif
  424. ifeq ($(MACOS),true)
  425. @echo "AU: $(ANS_YES)"
  426. else
  427. @echo "AU: $(ANS_NO) $(mZ)MacOS only$(mE)"
  428. endif
  429. else
  430. @echo "LADSPA: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  431. @echo "DSSI: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  432. @echo "LV2: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  433. @echo "VST: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  434. @echo "VST3: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  435. @echo "AU: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  436. endif
  437. @echo ""
  438. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  439. @echo "$(tS)---> LV2 UI toolkit support: $(tE)"
  440. # @echo "External:$(ANS_YES) (direct+bridge)"
  441. ifeq ($(HAVE_GTK2),true)
  442. @echo "Gtk2: $(ANS_YES) (bridge)"
  443. else
  444. @echo "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)"
  445. endif
  446. ifeq ($(HAVE_GTK3),true)
  447. @echo "Gtk3: $(ANS_YES) (bridge)"
  448. else
  449. @echo "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)"
  450. endif
  451. ifeq ($(HAVE_QT4),true)
  452. @echo "Qt4: $(ANS_YES) (bridge)"
  453. else
  454. @echo "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)"
  455. endif
  456. ifeq ($(HAVE_QT5),true)
  457. @echo "Qt5: $(ANS_YES) (bridge)"
  458. else
  459. @echo "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)"
  460. endif
  461. ifeq ($(HAVE_X11),true)
  462. @echo "X11: $(ANS_YES) (direct+bridge)"
  463. else
  464. @echo "X11: $(ANS_NO) $(mS)X11 missing$(mE)"
  465. endif
  466. # ifeq ($(MACOS),true)
  467. # @echo "Cocoa: $(ANS_YES) (direct+bridge)"
  468. # else
  469. # @echo "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)"
  470. # endif
  471. # ifeq ($(WIN32),true)
  472. # @echo "Windows: $(ANS_YES) (direct+bridge)"
  473. # else
  474. # @echo "Windows: $(ANS_NO) $(mZ)Windows only$(mE)"
  475. # endif
  476. @echo ""
  477. endif
  478. @echo "$(tS)---> File formats: $(tE)"
  479. ifeq ($(CARLA_CSOUND_SUPPORT),true)
  480. @echo "CSD:$(ANS_YES)"
  481. else
  482. @echo "CSD:$(ANS_NO) $(mS)CSound disabled$(mE)"
  483. endif
  484. ifeq ($(CARLA_SAMPLERS_SUPPORT),true)
  485. ifeq ($(HAVE_LINUXSAMPLER),true)
  486. @echo "GIG:$(ANS_YES)"
  487. else
  488. @echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  489. endif
  490. ifeq ($(HAVE_FLUIDSYNTH),true)
  491. @echo "SF2:$(ANS_YES)"
  492. else
  493. @echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
  494. endif
  495. ifeq ($(HAVE_LINUXSAMPLER),true)
  496. @echo "SFZ:$(ANS_YES)"
  497. else
  498. @echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  499. endif
  500. else
  501. @echo "GIG:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  502. @echo "SF2:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  503. @echo "SFZ:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  504. endif
  505. @echo ""
  506. @echo "$(tS)---> Internal plugins: $(tE)"
  507. ifeq ($(HAVE_AF_DEPS),true)
  508. ifeq ($(HAVE_FFMPEG),true)
  509. @echo "AudioFile: $(ANS_YES) (with ffmpeg)"
  510. else
  511. @echo "AudioFile: $(ANS_YES) (without ffmpeg) $(mS)ffmpeg/libav missing$(mE)"
  512. endif
  513. else
  514. @echo "AudioFile: $(ANS_NO) $(mS)libsndfile missing$(mE)"
  515. endif
  516. ifeq ($(HAVE_MF_DEPS),true)
  517. @echo "MidiFile: $(ANS_YES)"
  518. else
  519. @echo "MidiFile: $(ANS_NO) $(mS)LibSMF missing$(mE)"
  520. endif
  521. ifeq ($(HAVE_PM_DEPS),true)
  522. @echo "ProjectM: $(ANS_YES)"
  523. else
  524. @echo "ProjectM: $(ANS_NO) $(mS)ProjectM missing$(mE)"
  525. endif
  526. ifneq ($(WIN32),true)
  527. @echo "Carla-Rack: $(ANS_YES)"
  528. else
  529. @echo "Carla-Rack: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  530. endif
  531. @echo "DPF Stuff: $(ANS_YES)"
  532. ifeq ($(HAVE_JUCE),true)
  533. @echo "Juce Stuff: $(ANS_YES)"
  534. else
  535. @echo "Juce Stuff: $(ANS_NO) $(mS)Juce deps missing or unavailable$(mE)"
  536. endif
  537. ifeq ($(HAVE_ZYN_DEPS),true)
  538. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  539. @echo "ZynAddSubFX:$(ANS_YES) (with UI)"
  540. else
  541. @echo "ZynAddSubFX:$(ANS_YES) (without UI) $(mS)NTK missing$(mE)"
  542. endif
  543. else
  544. @echo "ZynAddSubFX:$(ANS_NO) $(mS)fftw3, mxml or zlib missing$(mE)"
  545. endif
  546. # --------------------------------------------------------------
  547. .FORCE:
  548. .PHONY: .FORCE
  549. # --------------------------------------------------------------