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.

647 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. 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_%.a: .FORCE
  61. $(MAKE) -C source/backend/$* ../carla_$*.a
  62. source/backend/carla_%_plugin.a: .FORCE
  63. $(MAKE) -C source/backend/$* ../carla_$*_plugin.a
  64. source/modules/%.a: .FORCE
  65. $(MAKE) -C source/modules/$* ../$*.a
  66. source/modules/%.qt4.a: .FORCE
  67. $(MAKE) -C source/modules/$* ../$*.qt4.a
  68. source/modules/%.qt5.a: .FORCE
  69. $(MAKE) -C source/modules/$* ../$*.qt5.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/resources/
  225. # install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
  226. # install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/
  227. install -d $(DESTDIR)$(PREFIX)/lib/pkgconfig/
  228. install -d $(DESTDIR)$(PREFIX)/include/carla/
  229. install -d $(DESTDIR)$(PREFIX)/include/carla/includes/
  230. install -d $(DESTDIR)$(PREFIX)/share/applications/
  231. install -d $(DESTDIR)$(PREFIX)/share/carla/
  232. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/
  233. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
  234. install -d $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
  235. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  236. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  237. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  238. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  239. install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  240. install -d $(DESTDIR)$(PREFIX)/share/mime/packages/
  241. # Install script files
  242. install -m 755 \
  243. data/carla \
  244. data/carla-database \
  245. data/carla-patchbay \
  246. data/carla-rack \
  247. data/carla-settings \
  248. $(DESTDIR)$(PREFIX)/bin/
  249. # data/carla-control \
  250. # data/carla-single \
  251. # Install desktop files
  252. install -m 644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications/
  253. # Install icons, 16x16
  254. install -m 644 resources/16x16/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  255. install -m 644 resources/16x16/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
  256. # Install icons, 48x48
  257. install -m 644 resources/48x48/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  258. install -m 644 resources/48x48/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
  259. # Install icons, 128x128
  260. install -m 644 resources/128x128/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  261. install -m 644 resources/128x128/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
  262. # Install icons, 256x256
  263. install -m 644 resources/256x256/carla.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  264. install -m 644 resources/256x256/carla-control.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/
  265. # Install icons, scalable
  266. install -m 644 resources/scalable/carla.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  267. install -m 644 resources/scalable/carla-control.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/
  268. # Install mime package
  269. install -m 644 data/carla.xml $(DESTDIR)$(PREFIX)/share/mime/packages/
  270. # Install pkg-config file
  271. install -m 644 data/carla-standalone.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/
  272. # Install backend
  273. install -m 644 \
  274. bin/libcarla_standalone2.* \
  275. $(DESTDIR)$(PREFIX)/lib/carla/
  276. # Install binaries
  277. install -m 755 \
  278. bin/*bridge-* \
  279. bin/carla-discovery-* \
  280. $(DESTDIR)$(PREFIX)/lib/carla/
  281. # Install binaries for lv2 plugin, TODO
  282. # install -m 755 \
  283. # source/bridges/*bridge-* \
  284. # source/discovery/carla-discovery-* \
  285. # $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
  286. # Install lv2 plugin, TODO
  287. # install -m 644 \
  288. # source/plugin/carla-native.lv2/*.so \
  289. # source/plugin/carla-native.lv2/*.ttl \
  290. # $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  291. # Install python code
  292. install -m 644 source/*.py $(DESTDIR)$(PREFIX)/share/carla/
  293. # Install python "binaries"
  294. install -m 644 \
  295. source/carla \
  296. source/carla-patchbay \
  297. source/carla-rack \
  298. $(DESTDIR)$(PREFIX)/share/carla/
  299. # Install headers
  300. install -m 644 source/backend/CarlaBackend.h $(DESTDIR)$(PREFIX)/include/carla/
  301. install -m 644 source/backend/CarlaHost.h $(DESTDIR)$(PREFIX)/include/carla/
  302. install -m 644 source/includes/CarlaDefines.h $(DESTDIR)$(PREFIX)/include/carla/includes/
  303. # Install resources (main)
  304. install -m 755 bin/resources/carla-plugin $(DESTDIR)$(PREFIX)/share/carla/resources/
  305. install -m 755 bin/resources/*-ui $(DESTDIR)$(PREFIX)/share/carla/resources/
  306. install -m 644 bin/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
  307. install -m 644 bin/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
  308. # Install resources (re-use python files)
  309. cd $(DESTDIR)$(PREFIX)/share/carla/resources/ && \
  310. $(LINK) ../*.py .
  311. cd $(CURDIR)
  312. # Install resources (lv2 plugin), TODO
  313. # install -m 755 source/modules/native-plugins/resources/carla-plugin $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
  314. # install -m 755 source/modules/native-plugins/resources/*-ui $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
  315. # install -m 644 source/modules/native-plugins/resources/*.py $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
  316. # install -m 644 source/modules/native-plugins/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
  317. # install -m 644 source/modules/native-plugins/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/
  318. # Install theme
  319. install -m 644 bin/styles/* $(DESTDIR)$(PREFIX)/lib/carla/styles/
  320. # $(MAKE) STYLES_DIR=$(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/styles install-main -C source/modules/theme
  321. # Adjust PREFIX value in script files
  322. sed -i "s?X-PREFIX-X?$(PREFIX)?" \
  323. $(DESTDIR)$(PREFIX)/bin/carla \
  324. $(DESTDIR)$(PREFIX)/bin/carla-database \
  325. $(DESTDIR)$(PREFIX)/bin/carla-patchbay \
  326. $(DESTDIR)$(PREFIX)/bin/carla-rack \
  327. $(DESTDIR)$(PREFIX)/bin/carla-settings \
  328. $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  329. # $(DESTDIR)$(PREFIX)/bin/carla-single \
  330. # $(DESTDIR)$(PREFIX)/bin/carla-control \
  331. # --------------------------------------------------------------
  332. uninstall:
  333. rm -f $(DESTDIR)$(PREFIX)/bin/carla*
  334. rm -f $(DESTDIR)$(PREFIX)/lib/pkgconfig/carla-standalone.pc
  335. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla.desktop
  336. rm -f $(DESTDIR)$(PREFIX)/share/applications/carla-control.desktop
  337. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla.png
  338. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/*/apps/carla-control.png
  339. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla.svg
  340. rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/carla-control.svg
  341. rm -f $(DESTDIR)$(PREFIX)/share/mime/packages/carla.xml
  342. rm -rf $(DESTDIR)$(PREFIX)/include/carla/
  343. rm -rf $(DESTDIR)$(PREFIX)/lib/carla/
  344. rm -rf $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
  345. rm -rf $(DESTDIR)$(PREFIX)/share/carla/
  346. # --------------------------------------------------------------
  347. USE_COLORS=true
  348. USE_VST3=false
  349. ifeq ($(HAIKU),true)
  350. USE_COLORS=false
  351. endif
  352. ifeq ($(MACOS),true)
  353. USE_VST3=true
  354. endif
  355. ifeq ($(WIN32),true)
  356. USE_VST3=true
  357. endif
  358. ifeq ($(USE_COLORS),true)
  359. ANS_NO=\033[31m NO \033[0m
  360. ANS_YES=\033[32m YES \033[0m
  361. mS=\033[33m[
  362. mZ=\033[30;1m[
  363. mE=]\033[0m
  364. tS=\033[36m
  365. tE=\033[0m
  366. else
  367. ANS_NO=" NO "
  368. ANS_YES=" YES "
  369. endif
  370. features:
  371. @echo "$(tS)---> Engine driver $(tE)"
  372. @echo "JACK: $(ANS_YES)"
  373. ifeq ($(LINUX),true)
  374. ifeq ($(HAVE_ALSA),true)
  375. @echo "ALSA: $(ANS_YES)"
  376. else
  377. @echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
  378. endif
  379. ifeq ($(HAVE_PULSEAUDIO),true)
  380. @echo "PulseAudio: $(ANS_YES)"
  381. else
  382. @echo "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)"
  383. endif
  384. else
  385. @echo "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)"
  386. @echo "PulseAudio: $(ANS_NO) $(mZ)Linux only$(mE)"
  387. endif
  388. ifeq ($(MACOS),true)
  389. @echo "CoreAudio: $(ANS_YES)"
  390. else
  391. @echo "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)"
  392. endif
  393. ifeq ($(WIN32),true)
  394. @echo "ASIO: $(ANS_YES)"
  395. @echo "DirectSound:$(ANS_YES)"
  396. else
  397. @echo "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)"
  398. @echo "DirectSound:$(ANS_NO) $(mZ)Windows only$(mE)"
  399. endif
  400. @echo ""
  401. @echo "$(tS)---> Plugin formats: $(tE)"
  402. @echo "Internal:$(ANS_YES)"
  403. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  404. @echo "LADSPA: $(ANS_YES)"
  405. @echo "DSSI: $(ANS_YES)"
  406. @echo "LV2: $(ANS_YES)"
  407. @echo "VST: $(ANS_YES)"
  408. ifeq ($(USE_VST3),true)
  409. @echo "VST3: $(ANS_YES)"
  410. else
  411. @echo "VST3: $(ANS_NO) $(mZ)Windows and MacOS only$(mE)"
  412. endif
  413. ifeq ($(MACOS),true)
  414. @echo "AU: $(ANS_YES)"
  415. else
  416. @echo "AU: $(ANS_NO) $(mZ)MacOS only$(mE)"
  417. endif
  418. else
  419. @echo "LADSPA: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  420. @echo "DSSI: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  421. @echo "LV2: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  422. @echo "VST: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  423. @echo "VST3: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  424. @echo "AU: $(ANS_NO) $(mS)Plugins disabled$(mE)"
  425. endif
  426. @echo ""
  427. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  428. @echo "$(tS)---> LV2 UI toolkit support: $(tE)"
  429. # @echo "External:$(ANS_YES) (direct+bridge)"
  430. ifeq ($(HAVE_GTK2),true)
  431. @echo "Gtk2: $(ANS_YES) (bridge)"
  432. else
  433. @echo "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)"
  434. endif
  435. ifeq ($(HAVE_GTK3),true)
  436. @echo "Gtk3: $(ANS_YES) (bridge)"
  437. else
  438. @echo "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)"
  439. endif
  440. ifeq ($(HAVE_QT4),true)
  441. @echo "Qt4: $(ANS_YES) (bridge)"
  442. else
  443. @echo "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)"
  444. endif
  445. ifeq ($(HAVE_QT5),true)
  446. @echo "Qt5: $(ANS_YES) (bridge)"
  447. else
  448. @echo "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)"
  449. endif
  450. ifeq ($(HAVE_X11),true)
  451. @echo "X11: $(ANS_YES) (direct+bridge)"
  452. else
  453. @echo "X11: $(ANS_NO) $(mS)X11 missing$(mE)"
  454. endif
  455. # ifeq ($(MACOS),true)
  456. # @echo "Cocoa: $(ANS_YES) (direct+bridge)"
  457. # else
  458. # @echo "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)"
  459. # endif
  460. # ifeq ($(WIN32),true)
  461. # @echo "Windows: $(ANS_YES) (direct+bridge)"
  462. # else
  463. # @echo "Windows: $(ANS_NO) $(mZ)Windows only$(mE)"
  464. # endif
  465. @echo ""
  466. endif
  467. @echo "$(tS)---> File formats: $(tE)"
  468. ifeq ($(CARLA_CSOUND_SUPPORT),true)
  469. @echo "CSD:$(ANS_YES)"
  470. else
  471. @echo "CSD:$(ANS_NO) $(mS)CSound disabled$(mE)"
  472. endif
  473. ifeq ($(CARLA_SAMPLERS_SUPPORT),true)
  474. ifeq ($(HAVE_LINUXSAMPLER),true)
  475. @echo "GIG:$(ANS_YES)"
  476. else
  477. @echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  478. endif
  479. ifeq ($(HAVE_FLUIDSYNTH),true)
  480. @echo "SF2:$(ANS_YES)"
  481. else
  482. @echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
  483. endif
  484. ifeq ($(HAVE_LINUXSAMPLER),true)
  485. @echo "SFZ:$(ANS_YES)"
  486. else
  487. @echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing$(mE)"
  488. endif
  489. else
  490. @echo "GIG:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  491. @echo "SF2:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  492. @echo "SFZ:$(ANS_NO) $(mS)Samplers disabled$(mE)"
  493. endif
  494. @echo ""
  495. @echo "$(tS)---> Internal plugins: $(tE)"
  496. ifeq ($(HAVE_AF_DEPS),true)
  497. ifeq ($(HAVE_FFMPEG),true)
  498. @echo "AudioFile: $(ANS_YES) (with ffmpeg)"
  499. else
  500. @echo "AudioFile: $(ANS_YES) (without ffmpeg) $(mS)ffmpeg/libav missing$(mE)"
  501. endif
  502. else
  503. @echo "AudioFile: $(ANS_NO) $(mS)libsndfile missing$(mE)"
  504. endif
  505. ifeq ($(HAVE_MF_DEPS),true)
  506. @echo "MidiFile: $(ANS_YES)"
  507. else
  508. @echo "MidiFile: $(ANS_NO) $(mS)LibSMF missing$(mE)"
  509. endif
  510. ifeq ($(HAVE_PM_DEPS),true)
  511. @echo "ProjectM: $(ANS_YES)"
  512. else
  513. @echo "ProjectM: $(ANS_NO) $(mS)ProjectM missing$(mE)"
  514. endif
  515. ifneq ($(WIN32),true)
  516. @echo "Carla-Rack: $(ANS_YES)"
  517. else
  518. @echo "Carla-Rack: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  519. endif
  520. @echo "DPF Stuff: $(ANS_YES)"
  521. ifeq ($(HAVE_JUCE),true)
  522. @echo "Juce Stuff: $(ANS_YES)"
  523. else
  524. @echo "Juce Stuff: $(ANS_NO) $(mS)Juce deps missing or unavailable$(mE)"
  525. endif
  526. ifeq ($(HAVE_ZYN_DEPS),true)
  527. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  528. @echo "ZynAddSubFX:$(ANS_YES) (with UI)"
  529. else
  530. @echo "ZynAddSubFX:$(ANS_YES) (without UI) $(mS)NTK missing$(mE)"
  531. endif
  532. else
  533. @echo "ZynAddSubFX:$(ANS_NO) $(mS)fftw3, mxml or zlib missing$(mE)"
  534. endif
  535. # --------------------------------------------------------------
  536. .FORCE:
  537. .PHONY: .FORCE
  538. # --------------------------------------------------------------