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.

1017 lines
32KB

  1. #!/usr/bin/make -f
  2. # Makefile for Carla #
  3. # ------------------ #
  4. # Created by falkTX
  5. #
  6. include source/Makefile.mk
  7. # ----------------------------------------------------------------------------------------------------------------------------
  8. LINK := ln -sf
  9. ifeq ($(DEFAULT_QT),4)
  10. PYUIC ?= pyuic4 -w
  11. PYRCC ?= pyrcc4 -py3
  12. ifeq ($(HAVE_QT4),true)
  13. HAVE_THEME = true
  14. endif
  15. else
  16. PYUIC ?= pyuic5
  17. PYRCC ?= pyrcc5
  18. ifeq ($(HAVE_QT5),true)
  19. HAVE_THEME = true
  20. endif
  21. endif
  22. # ----------------------------------------------------------------------------------------------------------------------------
  23. PREFIX := /usr/local
  24. BINDIR := $(PREFIX)/bin
  25. LIBDIR := $(PREFIX)/lib
  26. DATADIR := $(PREFIX)/share
  27. INCLUDEDIR := $(PREFIX)/include
  28. DESTDIR :=
  29. ifeq ($(DEBUG),true)
  30. MODULEDIR := $(CURDIR)/build/modules/Debug
  31. else
  32. MODULEDIR := $(CURDIR)/build/modules/Release
  33. endif
  34. # ----------------------------------------------------------------------------------------------------------------------------
  35. all: BIN RES UI WIDGETS
  36. # ----------------------------------------------------------------------------------------------------------------------------
  37. # Binaries (native)
  38. BIN: backend discovery bridges-plugin bridges-ui interposer plugin theme
  39. # ----------------------------------------------------------------------------------------------------------------------------
  40. ALL_LIBS = $(MODULEDIR)/carla_engine.a
  41. ALL_LIBS += $(MODULEDIR)/carla_engine_plugin.a
  42. ALL_LIBS += $(MODULEDIR)/carla_plugin.a
  43. ALL_LIBS += $(MODULEDIR)/jackbridge.a
  44. ALL_LIBS += $(MODULEDIR)/native-plugins.a
  45. ALL_LIBS += $(MODULEDIR)/juce_audio_basics.a
  46. ALL_LIBS += $(MODULEDIR)/juce_audio_formats.a
  47. ALL_LIBS += $(MODULEDIR)/juce_core.a
  48. ALL_LIBS += $(MODULEDIR)/lilv.a
  49. ALL_LIBS += $(MODULEDIR)/rtmempool.a
  50. ifeq ($(HAVE_DGL),true)
  51. ALL_LIBS += $(MODULEDIR)/dgl.a
  52. endif
  53. ifeq ($(HAVE_HYLIA),true)
  54. ALL_LIBS += $(MODULEDIR)/hylia.a
  55. endif
  56. ifeq ($(MACOS_OR_WIN32),true)
  57. ALL_LIBS += $(MODULEDIR)/juce_audio_devices.a
  58. ALL_LIBS += $(MODULEDIR)/juce_audio_processors.a
  59. ALL_LIBS += $(MODULEDIR)/juce_data_structures.a
  60. ALL_LIBS += $(MODULEDIR)/juce_events.a
  61. ALL_LIBS += $(MODULEDIR)/juce_graphics.a
  62. ALL_LIBS += $(MODULEDIR)/juce_gui_basics.a
  63. ifeq ($(MACOS),true)
  64. ALL_LIBS += $(MODULEDIR)/juce_gui_extra.a
  65. endif
  66. else
  67. ALL_LIBS += $(MODULEDIR)/rtaudio.a
  68. ALL_LIBS += $(MODULEDIR)/rtmidi.a
  69. endif
  70. ifeq ($(HAVE_QT4),true)
  71. ALL_LIBS += $(MODULEDIR)/theme.qt4.a
  72. endif
  73. ifeq ($(HAVE_QT5),true)
  74. ALL_LIBS += $(MODULEDIR)/theme.qt5.a
  75. endif
  76. libs: $(ALL_LIBS)
  77. $(MODULEDIR)/carla_engine.a: .FORCE
  78. @$(MAKE) -C source/backend/engine
  79. $(MODULEDIR)/carla_engine_plugin.a: $(MODULEDIR)/carla_engine.a
  80. @$(MAKE) -C source/backend/engine
  81. $(MODULEDIR)/carla_plugin.a: .FORCE
  82. @$(MAKE) -C source/backend/plugin
  83. $(MODULEDIR)/jackbridge.a: .FORCE
  84. @$(MAKE) -C source/jackbridge
  85. $(MODULEDIR)/jackbridge.%.a: .FORCE
  86. @$(MAKE) -C source/jackbridge $*
  87. $(MODULEDIR)/native-plugins.a: .FORCE
  88. @$(MAKE) -C source/native-plugins
  89. $(MODULEDIR)/theme.a: .FORCE
  90. @$(MAKE) -C source/theme
  91. $(MODULEDIR)/theme.qt4.a: .FORCE
  92. @$(MAKE) -C source/theme qt4
  93. $(MODULEDIR)/theme.qt5.a: .FORCE
  94. @$(MAKE) -C source/theme qt5
  95. $(MODULEDIR)/%.posix32.a: .FORCE
  96. @$(MAKE) -C source/modules/$* posix32
  97. $(MODULEDIR)/%.posix64.a: .FORCE
  98. @$(MAKE) -C source/modules/$* posix64
  99. $(MODULEDIR)/%.win32.a: .FORCE
  100. @$(MAKE) -C source/modules/$* win32
  101. $(MODULEDIR)/%.win64.a: .FORCE
  102. @$(MAKE) -C source/modules/$* win64
  103. $(MODULEDIR)/%.a: .FORCE
  104. @$(MAKE) -C source/modules/$*
  105. # ----------------------------------------------------------------------------------------------------------------------------
  106. backend: libs
  107. @$(MAKE) -C source/backend
  108. bridges-plugin: libs
  109. @$(MAKE) -C source/bridges-plugin
  110. bridges-ui: libs
  111. @$(MAKE) -C source/bridges-ui
  112. discovery: libs
  113. @$(MAKE) -C source/discovery
  114. interposer:
  115. @$(MAKE) -C source/interposer
  116. plugin: backend bridges-plugin bridges-ui discovery
  117. @$(MAKE) -C source/plugin
  118. theme: libs
  119. @$(MAKE) -C source/theme
  120. # ----------------------------------------------------------------------------------------------------------------------------
  121. # Binaries (posix32)
  122. LIBS_POSIX32 = $(MODULEDIR)/jackbridge.posix32.a
  123. LIBS_POSIX32 += $(MODULEDIR)/juce_audio_basics.posix32.a
  124. LIBS_POSIX32 += $(MODULEDIR)/juce_core.posix32.a
  125. LIBS_POSIX32 += $(MODULEDIR)/lilv.posix32.a
  126. LIBS_POSIX32 += $(MODULEDIR)/rtmempool.posix32.a
  127. ifeq ($(MACOS),true)
  128. LIBS_POSIX32 += $(MODULEDIR)/juce_audio_processors.posix32.a
  129. LIBS_POSIX32 += $(MODULEDIR)/juce_data_structures.posix32.a
  130. LIBS_POSIX32 += $(MODULEDIR)/juce_events.posix32.a
  131. LIBS_POSIX32 += $(MODULEDIR)/juce_graphics.posix32.a
  132. LIBS_POSIX32 += $(MODULEDIR)/juce_gui_basics.posix32.a
  133. LIBS_POSIX32 += $(MODULEDIR)/juce_gui_extra.posix32.a
  134. endif
  135. posix32: $(LIBS_POSIX32)
  136. $(MAKE) -C source/bridges-plugin posix32
  137. $(MAKE) -C source/discovery posix32
  138. # ----------------------------------------------------------------------------------------------------------------------------
  139. # Binaries (posix64)
  140. LIBS_POSIX64 = $(MODULEDIR)/jackbridge.posix64.a
  141. LIBS_POSIX64 += $(MODULEDIR)/juce_audio_basics.posix64.a
  142. LIBS_POSIX64 += $(MODULEDIR)/juce_core.posix64.a
  143. LIBS_POSIX64 += $(MODULEDIR)/lilv.posix64.a
  144. LIBS_POSIX64 += $(MODULEDIR)/rtmempool.posix64.a
  145. ifeq ($(MACOS),true)
  146. LIBS_POSIX64 += $(MODULEDIR)/juce_audio_processors.posix64.a
  147. LIBS_POSIX64 += $(MODULEDIR)/juce_data_structures.posix64.a
  148. LIBS_POSIX64 += $(MODULEDIR)/juce_events.posix64.a
  149. LIBS_POSIX64 += $(MODULEDIR)/juce_graphics.posix64.a
  150. LIBS_POSIX64 += $(MODULEDIR)/juce_gui_basics.posix64.a
  151. LIBS_POSIX64 += $(MODULEDIR)/juce_gui_extra.posix64.a
  152. endif
  153. posix64: $(LIBS_POSIX64)
  154. $(MAKE) -C source/bridges-plugin posix64
  155. $(MAKE) -C source/discovery posix64
  156. # ----------------------------------------------------------------------------------------------------------------------------
  157. # Binaries (win32)
  158. ifeq ($(BUILDING_FOR_WINDOWS),true)
  159. LIBS_WIN32 = $(MODULEDIR)/jackbridge.win32.a
  160. else
  161. LIBS_WIN32 = $(MODULEDIR)/jackbridge.win32e.a
  162. endif
  163. LIBS_WIN32 += $(MODULEDIR)/juce_audio_basics.win32.a
  164. LIBS_WIN32 += $(MODULEDIR)/juce_audio_processors.win32.a
  165. LIBS_WIN32 += $(MODULEDIR)/juce_core.win32.a
  166. LIBS_WIN32 += $(MODULEDIR)/juce_data_structures.win32.a
  167. LIBS_WIN32 += $(MODULEDIR)/juce_events.win32.a
  168. LIBS_WIN32 += $(MODULEDIR)/juce_graphics.win32.a
  169. LIBS_WIN32 += $(MODULEDIR)/juce_gui_basics.win32.a
  170. LIBS_WIN32 += $(MODULEDIR)/lilv.win32.a
  171. LIBS_WIN32 += $(MODULEDIR)/rtmempool.win32.a
  172. win32: $(LIBS_WIN32)
  173. $(MAKE) -C source/bridges-plugin win32
  174. $(MAKE) -C source/discovery win32
  175. # ----------------------------------------------------------------------------------------------------------------------------
  176. # Binaries (win64)
  177. ifeq ($(BUILDING_FOR_WINDOWS),true)
  178. LIBS_WIN64 = $(MODULEDIR)/jackbridge.win64.a
  179. else
  180. LIBS_WIN64 = $(MODULEDIR)/jackbridge.win64e.a
  181. endif
  182. LIBS_WIN64 += $(MODULEDIR)/juce_audio_basics.win64.a
  183. LIBS_WIN64 += $(MODULEDIR)/juce_audio_processors.win64.a
  184. LIBS_WIN64 += $(MODULEDIR)/juce_core.win64.a
  185. LIBS_WIN64 += $(MODULEDIR)/juce_data_structures.win64.a
  186. LIBS_WIN64 += $(MODULEDIR)/juce_events.win64.a
  187. LIBS_WIN64 += $(MODULEDIR)/juce_graphics.win64.a
  188. LIBS_WIN64 += $(MODULEDIR)/juce_gui_basics.win64.a
  189. LIBS_WIN64 += $(MODULEDIR)/lilv.win64.a
  190. LIBS_WIN64 += $(MODULEDIR)/rtmempool.win64.a
  191. win64: $(LIBS_WIN64)
  192. $(MAKE) -C source/bridges-plugin win64
  193. $(MAKE) -C source/discovery win64
  194. # ----------------------------------------------------------------------------------------------------------------------------
  195. # Binaries (wine)
  196. wine32:
  197. $(MAKE) -C source/jackbridge wine32
  198. cp -f $(MODULEDIR)/jackbridge-wine32.dll.so $(CURDIR)/bin/jackbridge-wine32.dll
  199. wine64:
  200. $(MAKE) -C source/jackbridge wine64
  201. cp -f $(MODULEDIR)/jackbridge-wine64.dll.so $(CURDIR)/bin/jackbridge-wine64.dll
  202. # ----------------------------------------------------------------------------------------------------------------------------
  203. # Resources
  204. ifeq ($(HAVE_PYQT),true)
  205. RES = \
  206. bin/resources/carla_app.py \
  207. bin/resources/carla_backend.py \
  208. bin/resources/carla_backend_qt.py \
  209. bin/resources/carla_config.py \
  210. bin/resources/carla_control.py \
  211. bin/resources/carla_database.py \
  212. bin/resources/carla_host.py \
  213. bin/resources/carla_settings.py \
  214. bin/resources/carla_skin.py \
  215. bin/resources/carla_shared.py \
  216. bin/resources/carla_utils.py \
  217. bin/resources/carla_widgets.py \
  218. bin/resources/canvaspreviewframe.py \
  219. bin/resources/digitalpeakmeter.py \
  220. bin/resources/draggablegraphicsview.py \
  221. bin/resources/externalui.py \
  222. bin/resources/ledbutton.py \
  223. bin/resources/paramspinbox.py \
  224. bin/resources/patchcanvas.py \
  225. bin/resources/patchcanvas_theme.py \
  226. bin/resources/pianoroll.py \
  227. bin/resources/pixmapbutton.py \
  228. bin/resources/pixmapdial.py \
  229. bin/resources/pixmapkeyboard.py \
  230. bin/resources/racklistwidget.py \
  231. bin/resources/resources_rc.py \
  232. bin/resources/ui_carla_about.py \
  233. bin/resources/ui_carla_about_juce.py \
  234. bin/resources/ui_carla_database.py \
  235. bin/resources/ui_carla_edit.py \
  236. bin/resources/ui_carla_host.py \
  237. bin/resources/ui_carla_parameter.py \
  238. bin/resources/ui_carla_plugin_calf.py \
  239. bin/resources/ui_carla_plugin_classic.py \
  240. bin/resources/ui_carla_plugin_compact.py \
  241. bin/resources/ui_carla_plugin_default.py \
  242. bin/resources/ui_carla_plugin_presets.py \
  243. bin/resources/ui_carla_refresh.py \
  244. bin/resources/ui_carla_settings.py \
  245. bin/resources/ui_carla_settings_driver.py \
  246. bin/resources/ui_inputdialog_value.py \
  247. bin/resources/ui_midipattern.py \
  248. source/carla_config.py \
  249. source/resources_rc.py
  250. RES: $(RES)
  251. source/carla_config.py:
  252. @echo "#!/usr/bin/env python3" > $@
  253. @echo "# -*- coding: utf-8 -*-" >> $@
  254. ifeq ($(DEFAULT_QT),4)
  255. @echo "config_UseQt5 = False" >> $@
  256. else
  257. @echo "config_UseQt5 = True" >> $@
  258. endif
  259. source/resources_rc.py: resources/resources.qrc resources/*/*.png resources/*/*.svg
  260. $(PYRCC) $< -o $@
  261. bin/resources/%.py: source/%.py
  262. $(LINK) $(CURDIR)/source/$*.py bin/resources/
  263. else
  264. RES:
  265. endif
  266. # ----------------------------------------------------------------------------------------------------------------------------
  267. # UI code
  268. ifeq ($(HAVE_PYQT),true)
  269. UIs = \
  270. source/ui_carla_about.py \
  271. source/ui_carla_about_juce.py \
  272. source/ui_carla_database.py \
  273. source/ui_carla_edit.py \
  274. source/ui_carla_host.py \
  275. source/ui_carla_parameter.py \
  276. source/ui_carla_plugin_calf.py \
  277. source/ui_carla_plugin_classic.py \
  278. source/ui_carla_plugin_compact.py \
  279. source/ui_carla_plugin_default.py \
  280. source/ui_carla_plugin_presets.py \
  281. source/ui_carla_refresh.py \
  282. source/ui_carla_settings.py \
  283. source/ui_carla_settings_driver.py \
  284. source/ui_inputdialog_value.py \
  285. source/ui_midipattern.py
  286. UI: $(UIs)
  287. source/ui_%.py: resources/ui/%.ui
  288. $(PYUIC) $< -o $@
  289. else
  290. UI:
  291. endif
  292. # ----------------------------------------------------------------------------------------------------------------------------
  293. # Widgets
  294. WIDGETS = \
  295. source/canvaspreviewframe.py \
  296. source/digitalpeakmeter.py \
  297. source/draggablegraphicsview.py \
  298. source/ledbutton.py \
  299. source/paramspinbox.py \
  300. source/pianoroll.py \
  301. source/pixmapbutton.py \
  302. source/pixmapdial.py \
  303. source/pixmapkeyboard.py \
  304. source/racklistwidget.py
  305. WIDGETS: $(WIDGETS)
  306. source/%.py: source/widgets/%.py
  307. $(LINK) widgets/$*.py $@
  308. # ----------------------------------------------------------------------------------------------------------------------------
  309. clean:
  310. $(MAKE) clean -C source/backend
  311. $(MAKE) clean -C source/bridges-plugin
  312. $(MAKE) clean -C source/bridges-ui
  313. $(MAKE) clean -C source/discovery
  314. $(MAKE) clean -C source/modules
  315. $(MAKE) clean -C source/native-plugins
  316. $(MAKE) clean -C source/plugin
  317. $(MAKE) clean -C source/theme
  318. rm -f $(RES)
  319. rm -f $(UIs)
  320. rm -f $(WIDGETS)
  321. rm -f *~ source/*~ source/*.pyc source/*_rc.py source/ui_*.py
  322. distclean: clean
  323. rm -f bin/*.exe bin/*.dll bin/*.dylib bin/*.so
  324. rm -rf build build-lv2
  325. debug:
  326. $(MAKE) DEBUG=true
  327. doxygen:
  328. $(MAKE) doxygen -C source/backend
  329. stoat:
  330. stoat --recursive ./build/ --suppression ./data/stoat-supression.txt --whitelist ./data/stoat-whitelist.txt --graph-view ./data/stoat-callgraph.png
  331. # stoat --recursive ./build/ \
  332. # --suppression ./data/stoat-supression.txt \
  333. # --whitelist ./data/stoat-whitelist.txt \
  334. # --graph-view ./data/stoat-callgraph.png
  335. # ----------------------------------------------------------------------------------------------------------------------------
  336. install:
  337. # Create directories
  338. install -d $(DESTDIR)$(BINDIR)
  339. install -d $(DESTDIR)$(LIBDIR)
  340. install -d $(DESTDIR)$(LIBDIR)/carla
  341. install -d $(DESTDIR)$(LIBDIR)/pkgconfig
  342. install -d $(DESTDIR)$(LIBDIR)/python3/dist-packages
  343. install -d $(DESTDIR)$(DATADIR)
  344. install -d $(DESTDIR)$(DATADIR)/carla
  345. install -d $(DESTDIR)$(INCLUDEDIR)
  346. install -d $(DESTDIR)$(INCLUDEDIR)/carla
  347. install -d $(DESTDIR)$(INCLUDEDIR)/carla/includes
  348. install -d $(DESTDIR)$(INCLUDEDIR)/carla/utils
  349. ifeq ($(HAVE_PYQT),true)
  350. # Create directories (gui)
  351. install -d $(DESTDIR)$(LIBDIR)/carla/styles
  352. install -d $(DESTDIR)$(DATADIR)/applications
  353. install -d $(DESTDIR)$(DATADIR)/carla/resources
  354. install -d $(DESTDIR)$(DATADIR)/icons
  355. install -d $(DESTDIR)$(DATADIR)/icons/hicolor
  356. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/16x16
  357. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  358. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/48x48
  359. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  360. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/128x128
  361. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  362. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/256x256
  363. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  364. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/scalable
  365. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  366. install -d $(DESTDIR)$(DATADIR)/mime
  367. install -d $(DESTDIR)$(DATADIR)/mime/packages
  368. endif
  369. ifeq ($(EXPERIMENTAL_PLUGINS),true)
  370. # Create directories (experimental plugins)
  371. install -d $(DESTDIR)$(DATADIR)/carla/resources/at1
  372. install -d $(DESTDIR)$(DATADIR)/carla/resources/bls1
  373. install -d $(DESTDIR)$(DATADIR)/carla/resources/rev1
  374. endif
  375. ifeq ($(HAVE_ZYN_DEPS),true)
  376. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  377. # Create directories (zynaddsubfx)
  378. install -d $(DESTDIR)$(DATADIR)/carla/resources/zynaddsubfx
  379. endif
  380. endif
  381. # --------------------------------------------------------------------------------------------------------------------
  382. # Install script files (non-gui)
  383. install -m 755 \
  384. data/carla-single \
  385. $(DESTDIR)$(BINDIR)
  386. # Adjust PREFIX value in script files (non-gui)
  387. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  388. $(DESTDIR)$(BINDIR)/carla-single
  389. # Install backend libs
  390. install -m 644 \
  391. bin/libcarla_*.* \
  392. $(DESTDIR)$(LIBDIR)/carla
  393. # Install other binaries
  394. install -m 755 \
  395. bin/*bridge-* \
  396. bin/carla-discovery-* \
  397. $(DESTDIR)$(LIBDIR)/carla
  398. # Install pkg-config files
  399. install -m 644 \
  400. data/*.pc \
  401. $(DESTDIR)$(LIBDIR)/pkgconfig
  402. # Adjust PREFIX, LIBDIR and INCLUDEDIR in pkg-config files
  403. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  404. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  405. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  406. sed -i 's?X-LIBDIR-X?$(LIBDIR)?' \
  407. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  408. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  409. sed -i 's?X-INCLUDEDIR-X?$(INCLUDEDIR)?' \
  410. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  411. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  412. # Install python code (dist-packages)
  413. install -m 644 \
  414. source/carla_backend.py \
  415. source/carla_utils.py \
  416. $(DESTDIR)$(LIBDIR)/python3/dist-packages
  417. # Install headers
  418. install -m 644 \
  419. source/backend/CarlaBackend.h \
  420. source/backend/CarlaHost.h \
  421. source/backend/CarlaUtils.h \
  422. source/backend/CarlaEngine.hpp \
  423. source/backend/CarlaPlugin.hpp \
  424. source/includes/CarlaNative.h \
  425. $(DESTDIR)$(INCLUDEDIR)/carla
  426. install -m 644 \
  427. source/includes/CarlaDefines.h \
  428. source/includes/CarlaMIDI.h \
  429. $(DESTDIR)$(INCLUDEDIR)/carla/includes
  430. install -m 644 \
  431. source/utils/CarlaUtils.hpp \
  432. source/utils/CarlaJuceUtils.hpp \
  433. source/utils/CarlaMathUtils.hpp \
  434. source/utils/CarlaPipeUtils.hpp \
  435. source/utils/CarlaPipeUtils.cpp \
  436. source/utils/CarlaExternalUI.hpp \
  437. source/utils/CarlaMutex.hpp \
  438. source/utils/CarlaString.hpp \
  439. $(DESTDIR)$(INCLUDEDIR)/carla/utils
  440. # --------------------------------------------------------------------------------------------------------------------
  441. ifeq ($(HAVE_PYQT),true)
  442. # Install script files (gui)
  443. install -m 755 \
  444. data/carla \
  445. data/carla-control \
  446. data/carla-database \
  447. data/carla-jack-multi \
  448. data/carla-jack-single \
  449. data/carla-patchbay \
  450. data/carla-rack \
  451. data/carla-settings \
  452. $(DESTDIR)$(BINDIR)
  453. # Adjust PREFIX value in script files (gui)
  454. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  455. $(DESTDIR)$(BINDIR)/carla \
  456. $(DESTDIR)$(BINDIR)/carla-control \
  457. $(DESTDIR)$(BINDIR)/carla-database \
  458. $(DESTDIR)$(BINDIR)/carla-jack-multi \
  459. $(DESTDIR)$(BINDIR)/carla-jack-single \
  460. $(DESTDIR)$(BINDIR)/carla-patchbay \
  461. $(DESTDIR)$(BINDIR)/carla-rack \
  462. $(DESTDIR)$(BINDIR)/carla-settings
  463. # Install the real modgui bridge
  464. install -m 755 \
  465. data/carla-bridge-lv2-modgui \
  466. $(DESTDIR)$(LIBDIR)/carla
  467. # Adjust PREFIX value in modgui bridge
  468. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  469. $(DESTDIR)$(LIBDIR)/carla/carla-bridge-lv2-modgui
  470. # Install python code (gui)
  471. install -m 644 \
  472. source/carla \
  473. source/carla-control \
  474. source/carla-jack-multi \
  475. source/carla-jack-single \
  476. source/carla-patchbay \
  477. source/carla-rack \
  478. source/*.py \
  479. $(DESTDIR)$(DATADIR)/carla
  480. # Adjust LIBDIR and DATADIR value in python code
  481. sed -i 's?X_LIBDIR_X = None?X_LIBDIR_X = "$(LIBDIR)"?' \
  482. $(DESTDIR)$(DATADIR)/carla/carla_shared.py
  483. sed -i 's?X_DATADIR_X = None?X_DATADIR_X = "$(DATADIR)"?' \
  484. $(DESTDIR)$(DATADIR)/carla/carla_shared.py
  485. # Install resources (gui)
  486. install -m 755 \
  487. bin/resources/carla-plugin \
  488. bin/resources/carla-plugin-patchbay \
  489. bin/resources/*-ui \
  490. $(DESTDIR)$(DATADIR)/carla/resources
  491. ifeq ($(HAVE_THEME),true)
  492. # Install theme
  493. install -m 644 \
  494. bin/styles/* \
  495. $(DESTDIR)$(LIBDIR)/carla/styles
  496. endif
  497. # Install desktop files
  498. install -m 644 data/*.desktop $(DESTDIR)$(DATADIR)/applications
  499. # Install mime package
  500. install -m 644 data/carla.xml $(DESTDIR)$(DATADIR)/mime/packages
  501. # Install icons, 16x16
  502. install -m 644 resources/16x16/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  503. install -m 644 resources/16x16/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  504. # Install icons, 48x48
  505. install -m 644 resources/48x48/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  506. install -m 644 resources/48x48/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  507. # Install icons, 128x128
  508. install -m 644 resources/128x128/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  509. install -m 644 resources/128x128/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  510. # Install icons, 256x256
  511. install -m 644 resources/256x256/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  512. install -m 644 resources/256x256/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  513. # Install icons, scalable
  514. install -m 644 resources/scalable/carla.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  515. install -m 644 resources/scalable/carla-control.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  516. # Install resources (re-use python files)
  517. $(LINK) $(DATADIR)/carla/carla_app.py $(DESTDIR)$(DATADIR)/carla/resources
  518. $(LINK) $(DATADIR)/carla/carla_backend.py $(DESTDIR)$(DATADIR)/carla/resources
  519. $(LINK) $(DATADIR)/carla/carla_backend_qt.py $(DESTDIR)$(DATADIR)/carla/resources
  520. $(LINK) $(DATADIR)/carla/carla_config.py $(DESTDIR)$(DATADIR)/carla/resources
  521. $(LINK) $(DATADIR)/carla/carla_control.py $(DESTDIR)$(DATADIR)/carla/resources
  522. $(LINK) $(DATADIR)/carla/carla_database.py $(DESTDIR)$(DATADIR)/carla/resources
  523. $(LINK) $(DATADIR)/carla/carla_host.py $(DESTDIR)$(DATADIR)/carla/resources
  524. $(LINK) $(DATADIR)/carla/carla_modgui.py $(DESTDIR)$(DATADIR)/carla/resources
  525. $(LINK) $(DATADIR)/carla/carla_settings.py $(DESTDIR)$(DATADIR)/carla/resources
  526. $(LINK) $(DATADIR)/carla/carla_skin.py $(DESTDIR)$(DATADIR)/carla/resources
  527. $(LINK) $(DATADIR)/carla/carla_shared.py $(DESTDIR)$(DATADIR)/carla/resources
  528. $(LINK) $(DATADIR)/carla/carla_utils.py $(DESTDIR)$(DATADIR)/carla/resources
  529. $(LINK) $(DATADIR)/carla/carla_widgets.py $(DESTDIR)$(DATADIR)/carla/resources
  530. $(LINK) $(DATADIR)/carla/canvaspreviewframe.py $(DESTDIR)$(DATADIR)/carla/resources
  531. $(LINK) $(DATADIR)/carla/digitalpeakmeter.py $(DESTDIR)$(DATADIR)/carla/resources
  532. $(LINK) $(DATADIR)/carla/draggablegraphicsview.py $(DESTDIR)$(DATADIR)/carla/resources
  533. $(LINK) $(DATADIR)/carla/externalui.py $(DESTDIR)$(DATADIR)/carla/resources
  534. $(LINK) $(DATADIR)/carla/ledbutton.py $(DESTDIR)$(DATADIR)/carla/resources
  535. $(LINK) $(DATADIR)/carla/paramspinbox.py $(DESTDIR)$(DATADIR)/carla/resources
  536. $(LINK) $(DATADIR)/carla/patchcanvas.py $(DESTDIR)$(DATADIR)/carla/resources
  537. $(LINK) $(DATADIR)/carla/patchcanvas_theme.py $(DESTDIR)$(DATADIR)/carla/resources
  538. $(LINK) $(DATADIR)/carla/pianoroll.py $(DESTDIR)$(DATADIR)/carla/resources
  539. $(LINK) $(DATADIR)/carla/pixmapbutton.py $(DESTDIR)$(DATADIR)/carla/resources
  540. $(LINK) $(DATADIR)/carla/pixmapdial.py $(DESTDIR)$(DATADIR)/carla/resources
  541. $(LINK) $(DATADIR)/carla/pixmapkeyboard.py $(DESTDIR)$(DATADIR)/carla/resources
  542. $(LINK) $(DATADIR)/carla/racklistwidget.py $(DESTDIR)$(DATADIR)/carla/resources
  543. $(LINK) $(DATADIR)/carla/resources_rc.py $(DESTDIR)$(DATADIR)/carla/resources
  544. $(LINK) $(DATADIR)/carla/ui_carla_about.py $(DESTDIR)$(DATADIR)/carla/resources
  545. $(LINK) $(DATADIR)/carla/ui_carla_about_juce.py $(DESTDIR)$(DATADIR)/carla/resources
  546. $(LINK) $(DATADIR)/carla/ui_carla_database.py $(DESTDIR)$(DATADIR)/carla/resources
  547. $(LINK) $(DATADIR)/carla/ui_carla_edit.py $(DESTDIR)$(DATADIR)/carla/resources
  548. $(LINK) $(DATADIR)/carla/ui_carla_host.py $(DESTDIR)$(DATADIR)/carla/resources
  549. $(LINK) $(DATADIR)/carla/ui_carla_parameter.py $(DESTDIR)$(DATADIR)/carla/resources
  550. $(LINK) $(DATADIR)/carla/ui_carla_plugin_calf.py $(DESTDIR)$(DATADIR)/carla/resources
  551. $(LINK) $(DATADIR)/carla/ui_carla_plugin_classic.py $(DESTDIR)$(DATADIR)/carla/resources
  552. $(LINK) $(DATADIR)/carla/ui_carla_plugin_compact.py $(DESTDIR)$(DATADIR)/carla/resources
  553. $(LINK) $(DATADIR)/carla/ui_carla_plugin_default.py $(DESTDIR)$(DATADIR)/carla/resources
  554. $(LINK) $(DATADIR)/carla/ui_carla_plugin_presets.py $(DESTDIR)$(DATADIR)/carla/resources
  555. $(LINK) $(DATADIR)/carla/ui_carla_refresh.py $(DESTDIR)$(DATADIR)/carla/resources
  556. $(LINK) $(DATADIR)/carla/ui_carla_settings.py $(DESTDIR)$(DATADIR)/carla/resources
  557. $(LINK) $(DATADIR)/carla/ui_carla_settings_driver.py $(DESTDIR)$(DATADIR)/carla/resources
  558. $(LINK) $(DATADIR)/carla/ui_inputdialog_value.py $(DESTDIR)$(DATADIR)/carla/resources
  559. $(LINK) $(DATADIR)/carla/ui_midipattern.py $(DESTDIR)$(DATADIR)/carla/resources
  560. endif
  561. # --------------------------------------------------------------------------------------------------------------------
  562. ifeq ($(EXPERIMENTAL_PLUGINS),true)
  563. # Install resources (experimental plugins)
  564. install -m 644 \
  565. bin/resources/at1/*.png \
  566. $(DESTDIR)$(DATADIR)/carla/resources/at1
  567. install -m 644 \
  568. bin/resources/bls1/*.png \
  569. $(DESTDIR)$(DATADIR)/carla/resources/bls1
  570. install -m 644 \
  571. bin/resources/rev1/*.png \
  572. $(DESTDIR)$(DATADIR)/carla/resources/rev1
  573. install -m 755 \
  574. bin/resources/at1-ui \
  575. bin/resources/bls1-ui \
  576. bin/resources/rev1-ui \
  577. $(DESTDIR)$(DATADIR)/carla/resources
  578. endif
  579. ifeq ($(HAVE_ZYN_DEPS),true)
  580. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  581. # Install resources (zynaddsubfx)
  582. install -m 644 \
  583. bin/resources/zynaddsubfx/*.png \
  584. $(DESTDIR)$(DATADIR)/carla/resources/zynaddsubfx
  585. install -m 755 \
  586. bin/resources/zynaddsubfx-ui \
  587. $(DESTDIR)$(DATADIR)/carla/resources
  588. endif
  589. endif
  590. # --------------------------------------------------------------------------------------------------------------------
  591. # Install lv2 plugin
  592. install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  593. install -m 644 \
  594. bin/carla.lv2/carla.* \
  595. bin/carla.lv2/*.ttl \
  596. $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  597. # Link binaries for lv2 plugin
  598. @for i in `find $(DESTDIR)$(LIBDIR)/carla/ -maxdepth 1 -type f -exec basename {} ';'`; do \
  599. $(LINK) $(LIBDIR)/carla/$$i $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/$$i; \
  600. done
  601. rm -f $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/libcarla_standalone2.*
  602. # Link resources for lv2 plugin
  603. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/resources
  604. $(LINK) $(DATADIR)/carla/resources $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/resources
  605. # Link styles for lv2 plugin
  606. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/styles
  607. $(LINK) $(LIBDIR)/carla/styles $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/styles
  608. # --------------------------------------------------------------------------------------------------------------------
  609. ifeq ($(LINUX),true)
  610. ifeq ($(HAVE_X11),true)
  611. # Install vst plugin
  612. install -d $(DESTDIR)$(LIBDIR)/vst/carla.vst
  613. install -m 644 \
  614. bin/CarlaRack*.* \
  615. bin/CarlaPatchbay*.* \
  616. $(DESTDIR)$(LIBDIR)/vst/carla.vst
  617. # Link binaries for vst plugin
  618. @for i in `find $(DESTDIR)$(LIBDIR)/carla/ -maxdepth 1 -type f -exec basename {} ';'`; do \
  619. $(LINK) $(LIBDIR)/carla/$$i $(DESTDIR)$(LIBDIR)/vst/carla.vst/$$i; \
  620. done
  621. rm -f $(DESTDIR)$(LIBDIR)/vst/carla.vst/libcarla_standalone2.*
  622. # Link resources for vst plugin
  623. rm -rf $(DESTDIR)$(LIBDIR)/vst/carla.vst/resources
  624. $(LINK) $(DATADIR)/carla/resources $(DESTDIR)$(LIBDIR)/vst/carla.vst/resources
  625. # Link styles for vst plugin
  626. rm -rf $(DESTDIR)$(LIBDIR)/vst/carla.vst/styles
  627. $(LINK) $(LIBDIR)/carla/styles $(DESTDIR)$(LIBDIR)/vst/carla.vst/styles
  628. endif
  629. endif
  630. # --------------------------------------------------------------------------------------------------------------------
  631. ifneq ($(HAVE_PYQT),true)
  632. # Remove gui files for non-gui build
  633. rm $(DESTDIR)$(LIBDIR)/carla/carla-bridge-lv2-modgui
  634. endif
  635. # ----------------------------------------------------------------------------------------------------------------------------
  636. uninstall:
  637. rm -f $(DESTDIR)$(BINDIR)/carla*
  638. rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc
  639. rm -f $(DESTDIR)$(DATADIR)/applications/carla.desktop
  640. rm -f $(DESTDIR)$(DATADIR)/applications/carla-control.desktop
  641. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/*/apps/carla.png
  642. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/*/apps/carla-control.png
  643. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/carla.svg
  644. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/carla-control.svg
  645. rm -f $(DESTDIR)$(DATADIR)/mime/packages/carla.xml
  646. rm -rf $(DESTDIR)$(LIBDIR)/carla
  647. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  648. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla-native.lv2
  649. rm -rf $(DESTDIR)$(LIBDIR)/vst/carla.vst
  650. rm -rf $(DESTDIR)$(DATADIR)/carla
  651. rm -rf $(DESTDIR)$(INCLUDEDIR)/carla
  652. # ----------------------------------------------------------------------------------------------------------------------------
  653. USE_COLORS=true
  654. ifeq ($(HAIKU),true)
  655. USE_COLORS=false
  656. endif
  657. ifeq ($(USE_COLORS),true)
  658. ANS_NO=\033[31m NO \033[0m
  659. ANS_YES=\033[32m YES \033[0m
  660. mS=\033[33m[
  661. mZ=\033[30;1m[
  662. mE=]\033[0m
  663. tS=\033[36m
  664. tE=\033[0m
  665. else
  666. ANS_NO=" NO "
  667. ANS_YES=" YES "
  668. endif
  669. ifeq ($(DEFAULT_QT),4)
  670. FEV="Qt4"
  671. else
  672. FEV="Qt5"
  673. endif
  674. features:
  675. @echo "$(tS)---> Main features $(tE)"
  676. ifeq ($(HAVE_PYQT),true)
  677. @echo "Front-End: $(ANS_YES)(Using $(FEV))"
  678. ifneq ($(WIN32),true)
  679. @echo "LV2 plugin: $(ANS_YES)"
  680. else
  681. @echo "LV2 plugin: $(ANS_NO) $(mZ)Not available for Windows$(mE)"
  682. endif
  683. ifeq ($(LINUX),true)
  684. ifeq ($(HAVE_X11),true)
  685. @echo "VST plugin: $(ANS_YES)"
  686. else # HAVE_X11
  687. @echo "VST plugin: $(ANS_NO) $(mS)X11 missing$(mE)"
  688. endif
  689. else # LINUX
  690. @echo "VST plugin: $(ANS_NO) $(mZ)Linux only$(mE)"
  691. endif
  692. else
  693. @echo "Front-End: $(ANS_NO) $(mS)Missing PyQt$(mE)"
  694. @echo "LV2 plugin: $(ANS_NO) $(mS)No front-end$(mE)"
  695. @echo "VST plugin: $(ANS_NO) $(mS)No front-end$(mE)"
  696. endif
  697. ifeq ($(HAVE_HYLIA),true)
  698. @echo "Link support:$(ANS_YES)"
  699. else
  700. @echo "Link support:$(ANS_NO) $(mZ)Linux, MacOS and Windows only$(mE)"
  701. endif
  702. ifeq ($(HAVE_LIBLO),true)
  703. @echo "OSC support: $(ANS_YES)"
  704. else
  705. @echo "OSC support: $(ANS_NO) $(mS)Missing liblo$(mE)"
  706. endif
  707. @echo ""
  708. @echo "$(tS)---> Engine drivers $(tE)"
  709. @echo "JACK: $(ANS_YES)"
  710. ifeq ($(LINUX),true)
  711. ifeq ($(HAVE_ALSA),true)
  712. @echo "ALSA: $(ANS_YES)"
  713. else
  714. @echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
  715. endif
  716. ifeq ($(HAVE_PULSEAUDIO),true)
  717. @echo "PulseAudio: $(ANS_YES)"
  718. else
  719. @echo "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)"
  720. endif
  721. else
  722. @echo "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)"
  723. @echo "PulseAudio: $(ANS_NO) $(mZ)Linux only$(mE)"
  724. endif
  725. ifeq ($(MACOS),true)
  726. @echo "CoreAudio: $(ANS_YES)"
  727. else
  728. @echo "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)"
  729. endif
  730. ifeq ($(WIN32),true)
  731. @echo "ASIO: $(ANS_YES)"
  732. @echo "DirectSound:$(ANS_YES)"
  733. else
  734. @echo "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)"
  735. @echo "DirectSound:$(ANS_NO) $(mZ)Windows only$(mE)"
  736. endif
  737. @echo ""
  738. @echo "$(tS)---> Plugin formats: $(tE)"
  739. @echo "Internal:$(ANS_YES)"
  740. @echo "LADSPA: $(ANS_YES)"
  741. @echo "DSSI: $(ANS_YES)"
  742. @echo "LV2: $(ANS_YES)"
  743. ifeq ($(MACOS_OR_WIN32),true)
  744. @echo "VST: $(ANS_YES)(with UI)"
  745. else
  746. ifeq ($(LINUX),true)
  747. ifeq ($(HAVE_X11),true)
  748. @echo "VST: $(ANS_YES)(with UI)"
  749. else
  750. @echo "VST: $(ANS_YES)(without UI) $(mS)Missing X11$(mE)"
  751. endif
  752. else # LINUX
  753. @echo "VST: $(ANS_YES)(without UI) $(mZ)Linux, Mac and Windows only$(mE)"
  754. endif
  755. endif
  756. ifeq ($(MACOS_OR_WIN32),true)
  757. @echo "VST3: $(ANS_YES)"
  758. else
  759. @echo "VST3: $(ANS_NO) $(mZ)Windows and MacOS only$(mE)"
  760. endif
  761. ifeq ($(MACOS),true)
  762. @echo "AU: $(ANS_YES)"
  763. else
  764. @echo "AU: $(ANS_NO) $(mZ)MacOS only$(mE)"
  765. endif
  766. @echo ""
  767. @echo "$(tS)---> LV2 UI toolkit support: $(tE)"
  768. @echo "External:$(ANS_YES)(direct)"
  769. ifeq ($(LINUX),true)
  770. ifeq ($(HAVE_GTK2),true)
  771. @echo "Gtk2: $(ANS_YES)(bridge)"
  772. else
  773. @echo "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)"
  774. endif
  775. ifeq ($(HAVE_GTK3),true)
  776. @echo "Gtk3: $(ANS_YES)(bridge)"
  777. else
  778. @echo "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)"
  779. endif
  780. ifeq ($(HAVE_QT4),true)
  781. @echo "Qt4: $(ANS_YES)(bridge)"
  782. else
  783. @echo "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)"
  784. endif
  785. ifeq ($(HAVE_QT5),true)
  786. @echo "Qt5: $(ANS_YES)(bridge)"
  787. else
  788. @echo "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)"
  789. endif
  790. ifeq ($(HAVE_X11),true)
  791. @echo "X11: $(ANS_YES)(direct+bridge)"
  792. else
  793. @echo "X11: $(ANS_NO) $(mS)X11 missing$(mE)"
  794. endif
  795. else # LINUX
  796. @echo "Gtk2: $(ANS_NO) $(mZ)Linux only$(mE)"
  797. @echo "Gtk3: $(ANS_NO) $(mZ)Linux only$(mE)"
  798. @echo "Qt4: $(ANS_NO) $(mZ)Linux only$(mE)"
  799. @echo "Qt5: $(ANS_NO) $(mZ)Linux only$(mE)"
  800. @echo "X11: $(ANS_NO) $(mZ)Linux only$(mE)"
  801. endif # LINUX
  802. ifeq ($(MACOS),true)
  803. @echo "Cocoa: $(ANS_YES)(direct+bridge)"
  804. else
  805. @echo "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)"
  806. endif
  807. ifeq ($(WIN32),true)
  808. @echo "Windows: $(ANS_YES)(direct+bridge)"
  809. else
  810. @echo "Windows: $(ANS_NO) $(mZ)Windows only$(mE)"
  811. endif
  812. @echo ""
  813. @echo "$(tS)---> File formats: $(tE)"
  814. ifeq ($(HAVE_LINUXSAMPLER),true)
  815. @echo "GIG:$(ANS_YES)"
  816. else
  817. @echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing or too old$(mE)"
  818. endif
  819. ifeq ($(HAVE_FLUIDSYNTH),true)
  820. @echo "SF2:$(ANS_YES)"
  821. else
  822. @echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
  823. endif
  824. ifeq ($(HAVE_LINUXSAMPLER),true)
  825. @echo "SFZ:$(ANS_YES)"
  826. else
  827. @echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing or too old$(mE)"
  828. endif
  829. @echo ""
  830. @echo "$(tS)---> Internal plugins: $(tE)"
  831. ifneq ($(WIN32),true)
  832. @echo "Carla-Patchbay: $(ANS_YES)"
  833. @echo "Carla-Rack: $(ANS_YES)"
  834. else
  835. @echo "Carla-Patchbay: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  836. @echo "Carla-Rack: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  837. endif
  838. ifeq ($(HAVE_DGL),true)
  839. @echo "DISTRHO Plugins:$(ANS_YES)(with UI)"
  840. else
  841. @echo "DISTRHO Plugins:$(ANS_YES)(without UI)"
  842. endif
  843. ifeq ($(HAVE_PROJECTM),true)
  844. @echo "DISTRHO ProM: $(ANS_YES)"
  845. else
  846. @echo "DISTRHO ProM: $(ANS_NO) (missing libprojectM)"
  847. endif
  848. ifeq ($(HAVE_ZYN_DEPS),true)
  849. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  850. ifeq ($(HAVE_NTK),true)
  851. @echo "ZynAddSubFX: $(ANS_YES)(with NTK UI)"
  852. else
  853. @echo "ZynAddSubFX: $(ANS_YES)(with FLTK UI)"
  854. endif
  855. else
  856. @echo "ZynAddSubFX: $(ANS_YES)(without UI) $(mS)FLTK or NTK missing$(mE)"
  857. endif
  858. else
  859. @echo "ZynAddSubFX: $(ANS_NO) $(mS)fftw3, mxml or zlib missing$(mE)"
  860. endif
  861. # ----------------------------------------------------------------------------------------------------------------------------
  862. .FORCE:
  863. .PHONY: .FORCE
  864. # ----------------------------------------------------------------------------------------------------------------------------