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.

1022 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)/juce_events.a
  49. ALL_LIBS += $(MODULEDIR)/lilv.a
  50. ALL_LIBS += $(MODULEDIR)/rtmempool.a
  51. ifeq ($(HAVE_DGL),true)
  52. ALL_LIBS += $(MODULEDIR)/dgl.a
  53. endif
  54. ifeq ($(HAVE_HYLIA),true)
  55. ALL_LIBS += $(MODULEDIR)/hylia.a
  56. endif
  57. ifeq ($(MACOS_OR_WIN32),true)
  58. ALL_LIBS += $(MODULEDIR)/juce_audio_devices.a
  59. ALL_LIBS += $(MODULEDIR)/juce_audio_processors.a
  60. ALL_LIBS += $(MODULEDIR)/juce_data_structures.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)/juce_events.posix32.a
  126. LIBS_POSIX32 += $(MODULEDIR)/lilv.posix32.a
  127. LIBS_POSIX32 += $(MODULEDIR)/rtmempool.posix32.a
  128. ifeq ($(MACOS),true)
  129. LIBS_POSIX32 += $(MODULEDIR)/juce_audio_processors.posix32.a
  130. LIBS_POSIX32 += $(MODULEDIR)/juce_data_structures.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)/juce_events.posix64.a
  144. LIBS_POSIX64 += $(MODULEDIR)/lilv.posix64.a
  145. LIBS_POSIX64 += $(MODULEDIR)/rtmempool.posix64.a
  146. ifeq ($(MACOS),true)
  147. LIBS_POSIX64 += $(MODULEDIR)/juce_audio_processors.posix64.a
  148. LIBS_POSIX64 += $(MODULEDIR)/juce_data_structures.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)/carla
  340. install -d $(DESTDIR)$(LIBDIR)/pkgconfig
  341. install -d $(DESTDIR)$(LIBDIR)/python3/dist-packages
  342. install -d $(DESTDIR)$(DATADIR)/carla
  343. install -d $(DESTDIR)$(DATADIR)/carla/resources
  344. install -d $(DESTDIR)$(INCLUDEDIR)/carla
  345. install -d $(DESTDIR)$(INCLUDEDIR)/carla/includes
  346. install -d $(DESTDIR)$(INCLUDEDIR)/carla/utils
  347. ifeq ($(HAVE_PYQT),true)
  348. # Create directories (gui)
  349. install -d $(DESTDIR)$(LIBDIR)/carla/styles
  350. install -d $(DESTDIR)$(DATADIR)/applications
  351. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  352. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  353. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  354. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  355. install -d $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  356. install -d $(DESTDIR)$(DATADIR)/mime/packages
  357. endif
  358. ifeq ($(EXPERIMENTAL_PLUGINS),true)
  359. # Create directories (experimental plugins)
  360. install -d $(DESTDIR)$(DATADIR)/carla/resources/at1
  361. install -d $(DESTDIR)$(DATADIR)/carla/resources/bls1
  362. install -d $(DESTDIR)$(DATADIR)/carla/resources/rev1
  363. endif
  364. ifeq ($(HAVE_ZYN_DEPS),true)
  365. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  366. # Create directories (zynaddsubfx)
  367. install -d $(DESTDIR)$(DATADIR)/carla/resources/zynaddsubfx
  368. endif
  369. endif
  370. # --------------------------------------------------------------------------------------------------------------------
  371. # Install script files (non-gui)
  372. install -m 755 \
  373. data/carla-single \
  374. $(DESTDIR)$(BINDIR)
  375. # Adjust PREFIX value in script files (non-gui)
  376. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  377. $(DESTDIR)$(BINDIR)/carla-single
  378. # Install backend libs
  379. install -m 644 \
  380. bin/libcarla_*.* \
  381. $(DESTDIR)$(LIBDIR)/carla
  382. # Install other binaries
  383. install -m 755 \
  384. bin/*bridge-* \
  385. bin/carla-discovery-* \
  386. $(DESTDIR)$(LIBDIR)/carla
  387. # Install pkg-config files
  388. install -m 644 \
  389. data/*.pc \
  390. $(DESTDIR)$(LIBDIR)/pkgconfig
  391. # Adjust PREFIX, LIBDIR and INCLUDEDIR in pkg-config files
  392. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  393. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  394. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  395. sed -i 's?X-LIBDIR-X?$(LIBDIR)?' \
  396. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  397. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  398. sed -i 's?X-INCLUDEDIR-X?$(INCLUDEDIR)?' \
  399. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
  400. $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
  401. # Install python code (dist-packages)
  402. install -m 644 \
  403. source/carla_backend.py \
  404. source/carla_utils.py \
  405. $(DESTDIR)$(LIBDIR)/python3/dist-packages
  406. # Install headers
  407. install -m 644 \
  408. source/backend/CarlaBackend.h \
  409. source/backend/CarlaHost.h \
  410. source/backend/CarlaUtils.h \
  411. source/backend/CarlaEngine.hpp \
  412. source/backend/CarlaPlugin.hpp \
  413. source/includes/CarlaNative.h \
  414. $(DESTDIR)$(INCLUDEDIR)/carla
  415. install -m 644 \
  416. source/includes/CarlaDefines.h \
  417. source/includes/CarlaMIDI.h \
  418. $(DESTDIR)$(INCLUDEDIR)/carla/includes
  419. install -m 644 \
  420. source/utils/CarlaUtils.hpp \
  421. source/utils/CarlaJuceUtils.hpp \
  422. source/utils/CarlaMathUtils.hpp \
  423. source/utils/CarlaPipeUtils.hpp \
  424. source/utils/CarlaPipeUtils.cpp \
  425. source/utils/CarlaExternalUI.hpp \
  426. source/utils/CarlaMutex.hpp \
  427. source/utils/CarlaString.hpp \
  428. $(DESTDIR)$(INCLUDEDIR)/carla/utils
  429. # --------------------------------------------------------------------------------------------------------------------
  430. ifeq ($(HAVE_PYQT),true)
  431. # Install script files (gui)
  432. install -m 755 \
  433. data/carla \
  434. data/carla-database \
  435. data/carla-jack-multi \
  436. data/carla-jack-single \
  437. data/carla-patchbay \
  438. data/carla-rack \
  439. data/carla-settings \
  440. $(DESTDIR)$(BINDIR)
  441. # Adjust PREFIX value in script files (gui)
  442. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  443. $(DESTDIR)$(BINDIR)/carla \
  444. $(DESTDIR)$(BINDIR)/carla-database \
  445. $(DESTDIR)$(BINDIR)/carla-jack-multi \
  446. $(DESTDIR)$(BINDIR)/carla-jack-single \
  447. $(DESTDIR)$(BINDIR)/carla-patchbay \
  448. $(DESTDIR)$(BINDIR)/carla-rack \
  449. $(DESTDIR)$(BINDIR)/carla-settings
  450. ifeq ($(HAVE_LIBLO),true)
  451. install -m 755 \
  452. data/carla-control \
  453. $(DESTDIR)$(BINDIR)
  454. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  455. $(DESTDIR)$(BINDIR)/carla-control
  456. endif
  457. # Install the real modgui bridge
  458. install -m 755 \
  459. data/carla-bridge-lv2-modgui \
  460. $(DESTDIR)$(LIBDIR)/carla
  461. # Adjust PREFIX value in modgui bridge
  462. sed -i 's?X-PREFIX-X?$(PREFIX)?' \
  463. $(DESTDIR)$(LIBDIR)/carla/carla-bridge-lv2-modgui
  464. # Install python code (gui)
  465. install -m 644 \
  466. source/carla \
  467. source/carla-control \
  468. source/carla-jack-multi \
  469. source/carla-jack-single \
  470. source/carla-patchbay \
  471. source/carla-rack \
  472. source/*.py \
  473. $(DESTDIR)$(DATADIR)/carla
  474. # Adjust LIBDIR and DATADIR value in python code
  475. sed -i 's?X_LIBDIR_X = None?X_LIBDIR_X = "$(LIBDIR)"?' \
  476. $(DESTDIR)$(DATADIR)/carla/carla_shared.py
  477. sed -i 's?X_DATADIR_X = None?X_DATADIR_X = "$(DATADIR)"?' \
  478. $(DESTDIR)$(DATADIR)/carla/carla_shared.py
  479. # Install resources (gui)
  480. install -m 755 \
  481. bin/resources/carla-plugin \
  482. bin/resources/carla-plugin-patchbay \
  483. bin/resources/*-ui \
  484. $(DESTDIR)$(DATADIR)/carla/resources
  485. ifeq ($(HAVE_THEME),true)
  486. # Install theme
  487. install -m 644 \
  488. bin/styles/* \
  489. $(DESTDIR)$(LIBDIR)/carla/styles
  490. endif
  491. # Install desktop files
  492. install -m 644 data/carla.desktop $(DESTDIR)$(DATADIR)/applications
  493. ifeq ($(HAVE_LIBLO),true)
  494. install -m 644 data/carla-control.desktop $(DESTDIR)$(DATADIR)/applications
  495. endif
  496. # Install mime package
  497. install -m 644 data/carla.xml $(DESTDIR)$(DATADIR)/mime/packages
  498. # Install icons, 16x16
  499. install -m 644 resources/16x16/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  500. install -m 644 resources/16x16/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/16x16/apps
  501. # Install icons, 48x48
  502. install -m 644 resources/48x48/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  503. install -m 644 resources/48x48/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/48x48/apps
  504. # Install icons, 128x128
  505. install -m 644 resources/128x128/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  506. install -m 644 resources/128x128/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/128x128/apps
  507. # Install icons, 256x256
  508. install -m 644 resources/256x256/carla.png $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  509. install -m 644 resources/256x256/carla-control.png $(DESTDIR)$(DATADIR)/icons/hicolor/256x256/apps
  510. # Install icons, scalable
  511. install -m 644 resources/scalable/carla.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  512. install -m 644 resources/scalable/carla-control.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps
  513. # Install resources (re-use python files)
  514. $(LINK) $(DATADIR)/carla/carla_app.py $(DESTDIR)$(DATADIR)/carla/resources
  515. $(LINK) $(DATADIR)/carla/carla_backend.py $(DESTDIR)$(DATADIR)/carla/resources
  516. $(LINK) $(DATADIR)/carla/carla_backend_qt.py $(DESTDIR)$(DATADIR)/carla/resources
  517. $(LINK) $(DATADIR)/carla/carla_config.py $(DESTDIR)$(DATADIR)/carla/resources
  518. $(LINK) $(DATADIR)/carla/carla_control.py $(DESTDIR)$(DATADIR)/carla/resources
  519. $(LINK) $(DATADIR)/carla/carla_database.py $(DESTDIR)$(DATADIR)/carla/resources
  520. $(LINK) $(DATADIR)/carla/carla_host.py $(DESTDIR)$(DATADIR)/carla/resources
  521. $(LINK) $(DATADIR)/carla/carla_modgui.py $(DESTDIR)$(DATADIR)/carla/resources
  522. $(LINK) $(DATADIR)/carla/carla_settings.py $(DESTDIR)$(DATADIR)/carla/resources
  523. $(LINK) $(DATADIR)/carla/carla_skin.py $(DESTDIR)$(DATADIR)/carla/resources
  524. $(LINK) $(DATADIR)/carla/carla_shared.py $(DESTDIR)$(DATADIR)/carla/resources
  525. $(LINK) $(DATADIR)/carla/carla_utils.py $(DESTDIR)$(DATADIR)/carla/resources
  526. $(LINK) $(DATADIR)/carla/carla_widgets.py $(DESTDIR)$(DATADIR)/carla/resources
  527. $(LINK) $(DATADIR)/carla/canvaspreviewframe.py $(DESTDIR)$(DATADIR)/carla/resources
  528. $(LINK) $(DATADIR)/carla/digitalpeakmeter.py $(DESTDIR)$(DATADIR)/carla/resources
  529. $(LINK) $(DATADIR)/carla/draggablegraphicsview.py $(DESTDIR)$(DATADIR)/carla/resources
  530. $(LINK) $(DATADIR)/carla/externalui.py $(DESTDIR)$(DATADIR)/carla/resources
  531. $(LINK) $(DATADIR)/carla/ledbutton.py $(DESTDIR)$(DATADIR)/carla/resources
  532. $(LINK) $(DATADIR)/carla/paramspinbox.py $(DESTDIR)$(DATADIR)/carla/resources
  533. $(LINK) $(DATADIR)/carla/patchcanvas.py $(DESTDIR)$(DATADIR)/carla/resources
  534. $(LINK) $(DATADIR)/carla/patchcanvas_theme.py $(DESTDIR)$(DATADIR)/carla/resources
  535. $(LINK) $(DATADIR)/carla/pianoroll.py $(DESTDIR)$(DATADIR)/carla/resources
  536. $(LINK) $(DATADIR)/carla/pixmapbutton.py $(DESTDIR)$(DATADIR)/carla/resources
  537. $(LINK) $(DATADIR)/carla/pixmapdial.py $(DESTDIR)$(DATADIR)/carla/resources
  538. $(LINK) $(DATADIR)/carla/pixmapkeyboard.py $(DESTDIR)$(DATADIR)/carla/resources
  539. $(LINK) $(DATADIR)/carla/racklistwidget.py $(DESTDIR)$(DATADIR)/carla/resources
  540. $(LINK) $(DATADIR)/carla/resources_rc.py $(DESTDIR)$(DATADIR)/carla/resources
  541. $(LINK) $(DATADIR)/carla/ui_carla_about.py $(DESTDIR)$(DATADIR)/carla/resources
  542. $(LINK) $(DATADIR)/carla/ui_carla_about_juce.py $(DESTDIR)$(DATADIR)/carla/resources
  543. $(LINK) $(DATADIR)/carla/ui_carla_database.py $(DESTDIR)$(DATADIR)/carla/resources
  544. $(LINK) $(DATADIR)/carla/ui_carla_edit.py $(DESTDIR)$(DATADIR)/carla/resources
  545. $(LINK) $(DATADIR)/carla/ui_carla_host.py $(DESTDIR)$(DATADIR)/carla/resources
  546. $(LINK) $(DATADIR)/carla/ui_carla_parameter.py $(DESTDIR)$(DATADIR)/carla/resources
  547. $(LINK) $(DATADIR)/carla/ui_carla_plugin_calf.py $(DESTDIR)$(DATADIR)/carla/resources
  548. $(LINK) $(DATADIR)/carla/ui_carla_plugin_classic.py $(DESTDIR)$(DATADIR)/carla/resources
  549. $(LINK) $(DATADIR)/carla/ui_carla_plugin_compact.py $(DESTDIR)$(DATADIR)/carla/resources
  550. $(LINK) $(DATADIR)/carla/ui_carla_plugin_default.py $(DESTDIR)$(DATADIR)/carla/resources
  551. $(LINK) $(DATADIR)/carla/ui_carla_plugin_presets.py $(DESTDIR)$(DATADIR)/carla/resources
  552. $(LINK) $(DATADIR)/carla/ui_carla_refresh.py $(DESTDIR)$(DATADIR)/carla/resources
  553. $(LINK) $(DATADIR)/carla/ui_carla_settings.py $(DESTDIR)$(DATADIR)/carla/resources
  554. $(LINK) $(DATADIR)/carla/ui_carla_settings_driver.py $(DESTDIR)$(DATADIR)/carla/resources
  555. $(LINK) $(DATADIR)/carla/ui_inputdialog_value.py $(DESTDIR)$(DATADIR)/carla/resources
  556. $(LINK) $(DATADIR)/carla/ui_midipattern.py $(DESTDIR)$(DATADIR)/carla/resources
  557. endif
  558. # --------------------------------------------------------------------------------------------------------------------
  559. ifeq ($(EXPERIMENTAL_PLUGINS),true)
  560. # Install resources (experimental plugins)
  561. install -m 644 \
  562. bin/resources/at1/*.png \
  563. $(DESTDIR)$(DATADIR)/carla/resources/at1
  564. install -m 644 \
  565. bin/resources/bls1/*.png \
  566. $(DESTDIR)$(DATADIR)/carla/resources/bls1
  567. install -m 644 \
  568. bin/resources/rev1/*.png \
  569. $(DESTDIR)$(DATADIR)/carla/resources/rev1
  570. install -m 755 \
  571. bin/resources/at1-ui \
  572. bin/resources/bls1-ui \
  573. bin/resources/rev1-ui \
  574. $(DESTDIR)$(DATADIR)/carla/resources
  575. endif
  576. ifeq ($(HAVE_ZYN_DEPS),true)
  577. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  578. # Install resources (zynaddsubfx)
  579. install -m 644 \
  580. bin/resources/zynaddsubfx/*.png \
  581. $(DESTDIR)$(DATADIR)/carla/resources/zynaddsubfx
  582. install -m 755 \
  583. bin/resources/zynaddsubfx-ui \
  584. $(DESTDIR)$(DATADIR)/carla/resources
  585. endif
  586. endif
  587. # --------------------------------------------------------------------------------------------------------------------
  588. # Install lv2 plugin
  589. install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  590. install -m 644 \
  591. bin/carla.lv2/carla.* \
  592. bin/carla.lv2/*.ttl \
  593. $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  594. # Link binaries for lv2 plugin
  595. @for i in `find $(DESTDIR)$(LIBDIR)/carla/ -maxdepth 1 -type f -exec basename {} ';'`; do \
  596. $(LINK) $(LIBDIR)/carla/$$i $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/$$i; \
  597. done
  598. rm -f $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/libcarla_standalone2.*
  599. # Link resources for lv2 plugin
  600. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/resources
  601. $(LINK) $(DATADIR)/carla/resources $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/resources
  602. ifeq ($(HAVE_PYQT),true)
  603. # Link styles for lv2 plugin
  604. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/styles
  605. $(LINK) $(LIBDIR)/carla/styles $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/styles
  606. endif
  607. # --------------------------------------------------------------------------------------------------------------------
  608. ifeq ($(LINUX),true)
  609. ifeq ($(HAVE_X11),true)
  610. ifeq ($(HAVE_PYQT),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. endif
  631. # --------------------------------------------------------------------------------------------------------------------
  632. ifneq ($(HAVE_PYQT),true)
  633. # Remove gui files for non-gui build
  634. rm $(DESTDIR)$(LIBDIR)/carla/carla-bridge-lv2-modgui
  635. rm $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/carla-bridge-lv2-modgui
  636. endif
  637. # ----------------------------------------------------------------------------------------------------------------------------
  638. uninstall:
  639. rm -f $(DESTDIR)$(BINDIR)/carla*
  640. rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc
  641. rm -f $(DESTDIR)$(DATADIR)/applications/carla.desktop
  642. rm -f $(DESTDIR)$(DATADIR)/applications/carla-control.desktop
  643. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/*/apps/carla.png
  644. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/*/apps/carla-control.png
  645. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/carla.svg
  646. rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/carla-control.svg
  647. rm -f $(DESTDIR)$(DATADIR)/mime/packages/carla.xml
  648. rm -rf $(DESTDIR)$(LIBDIR)/carla
  649. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla.lv2
  650. rm -rf $(DESTDIR)$(LIBDIR)/lv2/carla-native.lv2
  651. rm -rf $(DESTDIR)$(LIBDIR)/vst/carla.vst
  652. rm -rf $(DESTDIR)$(DATADIR)/carla
  653. rm -rf $(DESTDIR)$(INCLUDEDIR)/carla
  654. # ----------------------------------------------------------------------------------------------------------------------------
  655. USE_COLORS=true
  656. ifeq ($(HAIKU),true)
  657. USE_COLORS=false
  658. endif
  659. ifeq ($(USE_COLORS),true)
  660. ANS_NO=\033[31m NO \033[0m
  661. ANS_YES=\033[32m YES \033[0m
  662. mS=\033[33m[
  663. mZ=\033[30;1m[
  664. mE=]\033[0m
  665. tS=\033[36m
  666. tE=\033[0m
  667. else
  668. ANS_NO=" NO "
  669. ANS_YES=" YES "
  670. endif
  671. ifeq ($(DEFAULT_QT),4)
  672. FEV="Qt4"
  673. else
  674. FEV="Qt5"
  675. endif
  676. features:
  677. @echo "$(tS)---> Main features $(tE)"
  678. ifeq ($(HAVE_PYQT),true)
  679. @echo "Front-End: $(ANS_YES)(Using $(FEV))"
  680. ifneq ($(WIN32),true)
  681. @echo "LV2 plugin: $(ANS_YES)"
  682. else
  683. @echo "LV2 plugin: $(ANS_NO) $(mZ)Not available for Windows$(mE)"
  684. endif
  685. ifeq ($(LINUX),true)
  686. ifeq ($(HAVE_X11),true)
  687. @echo "VST plugin: $(ANS_YES)"
  688. else # HAVE_X11
  689. @echo "VST plugin: $(ANS_NO) $(mS)X11 missing$(mE)"
  690. endif
  691. else # LINUX
  692. @echo "VST plugin: $(ANS_NO) $(mZ)Linux only$(mE)"
  693. endif
  694. else
  695. @echo "Front-End: $(ANS_NO) $(mS)Missing PyQt$(mE)"
  696. @echo "LV2 plugin: $(ANS_NO) $(mS)No front-end$(mE)"
  697. @echo "VST plugin: $(ANS_NO) $(mS)No front-end$(mE)"
  698. endif
  699. ifeq ($(HAVE_HYLIA),true)
  700. @echo "Link support:$(ANS_YES)"
  701. else
  702. @echo "Link support:$(ANS_NO) $(mZ)Linux, MacOS and Windows only$(mE)"
  703. endif
  704. ifeq ($(HAVE_LIBLO),true)
  705. @echo "OSC support: $(ANS_YES)"
  706. else
  707. @echo "OSC support: $(ANS_NO) $(mS)Missing liblo$(mE)"
  708. endif
  709. @echo ""
  710. @echo "$(tS)---> Engine drivers $(tE)"
  711. @echo "JACK: $(ANS_YES)"
  712. ifeq ($(LINUX),true)
  713. ifeq ($(HAVE_ALSA),true)
  714. @echo "ALSA: $(ANS_YES)"
  715. else
  716. @echo "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)"
  717. endif
  718. ifeq ($(HAVE_PULSEAUDIO),true)
  719. @echo "PulseAudio: $(ANS_YES)"
  720. else
  721. @echo "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)"
  722. endif
  723. else
  724. @echo "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)"
  725. @echo "PulseAudio: $(ANS_NO) $(mZ)Linux only$(mE)"
  726. endif
  727. ifeq ($(MACOS),true)
  728. @echo "CoreAudio: $(ANS_YES)"
  729. else
  730. @echo "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)"
  731. endif
  732. ifeq ($(WIN32),true)
  733. @echo "ASIO: $(ANS_YES)"
  734. @echo "DirectSound:$(ANS_YES)"
  735. else
  736. @echo "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)"
  737. @echo "DirectSound:$(ANS_NO) $(mZ)Windows only$(mE)"
  738. endif
  739. @echo ""
  740. @echo "$(tS)---> Plugin formats: $(tE)"
  741. @echo "Internal:$(ANS_YES)"
  742. @echo "LADSPA: $(ANS_YES)"
  743. @echo "DSSI: $(ANS_YES)"
  744. @echo "LV2: $(ANS_YES)"
  745. ifeq ($(MACOS_OR_WIN32),true)
  746. @echo "VST: $(ANS_YES)(with UI)"
  747. else
  748. ifeq ($(LINUX),true)
  749. ifeq ($(HAVE_X11),true)
  750. @echo "VST: $(ANS_YES)(with UI)"
  751. else
  752. @echo "VST: $(ANS_YES)(without UI) $(mS)Missing X11$(mE)"
  753. endif
  754. else # LINUX
  755. @echo "VST: $(ANS_YES)(without UI) $(mZ)Linux, Mac and Windows only$(mE)"
  756. endif
  757. endif
  758. ifeq ($(MACOS_OR_WIN32),true)
  759. @echo "VST3: $(ANS_YES)"
  760. else
  761. @echo "VST3: $(ANS_NO) $(mZ)Windows and MacOS only$(mE)"
  762. endif
  763. ifeq ($(MACOS),true)
  764. @echo "AU: $(ANS_YES)"
  765. else
  766. @echo "AU: $(ANS_NO) $(mZ)MacOS only$(mE)"
  767. endif
  768. @echo ""
  769. @echo "$(tS)---> LV2 UI toolkit support: $(tE)"
  770. @echo "External:$(ANS_YES)(direct)"
  771. ifeq ($(LINUX),true)
  772. ifeq ($(HAVE_GTK2),true)
  773. @echo "Gtk2: $(ANS_YES)(bridge)"
  774. else
  775. @echo "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)"
  776. endif
  777. ifeq ($(HAVE_GTK3),true)
  778. @echo "Gtk3: $(ANS_YES)(bridge)"
  779. else
  780. @echo "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)"
  781. endif
  782. ifeq ($(HAVE_QT4),true)
  783. @echo "Qt4: $(ANS_YES)(bridge)"
  784. else
  785. @echo "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)"
  786. endif
  787. ifeq ($(HAVE_QT5),true)
  788. @echo "Qt5: $(ANS_YES)(bridge)"
  789. else
  790. @echo "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)"
  791. endif
  792. ifeq ($(HAVE_X11),true)
  793. @echo "X11: $(ANS_YES)(direct+bridge)"
  794. else
  795. @echo "X11: $(ANS_NO) $(mS)X11 missing$(mE)"
  796. endif
  797. else # LINUX
  798. @echo "Gtk2: $(ANS_NO) $(mZ)Linux only$(mE)"
  799. @echo "Gtk3: $(ANS_NO) $(mZ)Linux only$(mE)"
  800. @echo "Qt4: $(ANS_NO) $(mZ)Linux only$(mE)"
  801. @echo "Qt5: $(ANS_NO) $(mZ)Linux only$(mE)"
  802. @echo "X11: $(ANS_NO) $(mZ)Linux only$(mE)"
  803. endif # LINUX
  804. ifeq ($(MACOS),true)
  805. @echo "Cocoa: $(ANS_YES)(direct+bridge)"
  806. else
  807. @echo "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)"
  808. endif
  809. ifeq ($(WIN32),true)
  810. @echo "Windows: $(ANS_YES)(direct+bridge)"
  811. else
  812. @echo "Windows: $(ANS_NO) $(mZ)Windows only$(mE)"
  813. endif
  814. @echo ""
  815. @echo "$(tS)---> File formats: $(tE)"
  816. ifeq ($(HAVE_LINUXSAMPLER),true)
  817. @echo "GIG:$(ANS_YES)"
  818. else
  819. @echo "GIG:$(ANS_NO) $(mS)LinuxSampler missing or too old$(mE)"
  820. endif
  821. ifeq ($(HAVE_FLUIDSYNTH),true)
  822. @echo "SF2:$(ANS_YES)"
  823. else
  824. @echo "SF2:$(ANS_NO) $(mS)FluidSynth missing$(mE)"
  825. endif
  826. ifeq ($(HAVE_LINUXSAMPLER),true)
  827. @echo "SFZ:$(ANS_YES)"
  828. else
  829. @echo "SFZ:$(ANS_NO) $(mS)LinuxSampler missing or too old$(mE)"
  830. endif
  831. @echo ""
  832. @echo "$(tS)---> Internal plugins: $(tE)"
  833. ifneq ($(WIN32),true)
  834. @echo "Carla-Patchbay: $(ANS_YES)"
  835. @echo "Carla-Rack: $(ANS_YES)"
  836. else
  837. @echo "Carla-Patchbay: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  838. @echo "Carla-Rack: $(ANS_NO) $(mS)Not available for Windows$(mE)"
  839. endif
  840. ifeq ($(HAVE_DGL),true)
  841. @echo "DISTRHO Plugins:$(ANS_YES)(with UI)"
  842. ifneq ($(HAVE_PROJECTM),true)
  843. @echo "DISTRHO ProM: $(ANS_YES)"
  844. else
  845. @echo "DISTRHO ProM: $(ANS_NO) (missing libprojectM)"
  846. endif
  847. else
  848. @echo "DISTRHO Plugins:$(ANS_YES)(without UI)"
  849. @echo "DISTRHO ProM: $(ANS_NO) (missing OpenGL)"
  850. endif
  851. ifeq ($(HAVE_ZYN_DEPS),true)
  852. ifeq ($(HAVE_ZYN_UI_DEPS),true)
  853. ifeq ($(HAVE_NTK),true)
  854. @echo "ZynAddSubFX: $(ANS_YES)(with NTK UI)"
  855. else
  856. @echo "ZynAddSubFX: $(ANS_YES)(with FLTK UI)"
  857. endif
  858. else
  859. @echo "ZynAddSubFX: $(ANS_YES)(without UI) $(mS)FLTK or NTK missing$(mE)"
  860. endif
  861. else
  862. @echo "ZynAddSubFX: $(ANS_NO) $(mS)fftw3, mxml or zlib missing$(mE)"
  863. endif
  864. # ----------------------------------------------------------------------------------------------------------------------------
  865. .FORCE:
  866. .PHONY: .FORCE
  867. # ----------------------------------------------------------------------------------------------------------------------------