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.

Makefile.print.mk 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. #!/usr/bin/make -f
  2. # Makefile for Carla #
  3. # ------------------ #
  4. # Created by falkTX
  5. #
  6. # NOTE to be imported from main Makefile
  7. # ----------------------------------------------------------------------------------------------------------------------------
  8. ifneq ($(MAKE_TERMOUT),)
  9. ANS_NO=\033[31mNO\033[0m
  10. ANS_YES=\033[32mYES\033[0m
  11. mS=\033[33m[
  12. mZ=\033[30;1m[
  13. mE=]\033[0m
  14. tS=\033[36m
  15. tE=\033[0m
  16. else
  17. ANS_NO=NO
  18. ANS_YES=YES
  19. mS=[
  20. mZ=[
  21. mE=]
  22. endif
  23. features_print_main:
  24. @printf -- "$(tS)---> Main features $(tE)\n"
  25. ifeq ($(HAVE_PYQT),true)
  26. @printf -- "Front-End: $(ANS_YES)\n"
  27. @printf -- "LV2 plugin: $(ANS_YES)\n"
  28. ifneq ($(HAIKU),true)
  29. @printf -- "VST2 plugin: $(ANS_YES)\n"
  30. else
  31. @printf -- "VST2 plugin: $(ANS_NO) $(mZ)Not available for Haiku$(mE)\n"
  32. endif
  33. else
  34. @printf -- "Front-End: $(ANS_NO) $(mS)Missing PyQt$(mE)\n"
  35. @printf -- "LV2 plugin: $(ANS_NO) $(mS)No front-end$(mE)\n"
  36. @printf -- "VST2 plugin: $(ANS_NO) $(mS)No front-end$(mE)\n"
  37. endif
  38. ifeq ($(HAVE_HYLIA),true)
  39. @printf -- "Link support: $(ANS_YES)\n"
  40. else
  41. ifeq ($(MACOS_OLD),true)
  42. @printf -- "Link support: $(ANS_NO) $(mZ)MacOS >= 10.8 only$(mE)\n"
  43. else
  44. @printf -- "Link support: $(ANS_NO) $(mZ)Linux, MacOS and Windows only$(mE)\n"
  45. endif
  46. endif
  47. ifeq ($(HAVE_LIBLO),true)
  48. @printf -- "OSC support: $(ANS_YES)\n"
  49. else
  50. @printf -- "OSC support: $(ANS_NO) $(mS)Missing liblo$(mE)\n"
  51. endif
  52. ifeq ($(WIN32),true)
  53. @printf -- "Binary detect: $(ANS_YES)\n"
  54. else
  55. ifeq ($(HAVE_LIBMAGIC),true)
  56. @printf -- "Binary detect: $(ANS_YES)\n"
  57. else
  58. @printf -- "Binary detect: $(ANS_NO) $(mS)Missing libmagic/file$(mE)\n"
  59. endif
  60. endif
  61. @printf -- "\n"
  62. @printf -- "$(tS)---> Engine drivers $(tE)\n"
  63. @printf -- "JACK: $(ANS_YES)\n"
  64. ifeq ($(LINUX),true)
  65. ifeq ($(HAVE_ALSA),true)
  66. @printf -- "ALSA: $(ANS_YES)\n"
  67. else
  68. @printf -- "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)\n"
  69. endif
  70. else
  71. @printf -- "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)\n"
  72. endif
  73. ifeq ($(UNIX),true)
  74. ifneq ($(MACOS),true)
  75. ifeq ($(HAVE_PULSEAUDIO),true)
  76. @printf -- "PulseAudio: $(ANS_YES)\n"
  77. else
  78. @printf -- "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)\n"
  79. endif
  80. else
  81. @printf -- "PulseAudio: $(ANS_NO) $(mZ)Not available for MacOS$(mE)\n"
  82. endif
  83. else
  84. @printf -- "PulseAudio: $(ANS_NO) $(mZ)Only available for Unix systems$(mE)\n"
  85. endif
  86. ifeq ($(MACOS),true)
  87. @printf -- "CoreAudio: $(ANS_YES)\n"
  88. else
  89. @printf -- "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  90. endif
  91. ifeq ($(WIN32),true)
  92. @printf -- "ASIO: $(ANS_YES)\n"
  93. @printf -- "DirectSound: $(ANS_YES)\n"
  94. @printf -- "WASAPI: $(ANS_YES)\n"
  95. else
  96. @printf -- "ASIO: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  97. @printf -- "DirectSound: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  98. @printf -- "WASAPI: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  99. endif
  100. @printf -- "\n"
  101. @printf -- "$(tS)---> Plugin formats: $(tE)\n"
  102. @printf -- "Internal: $(ANS_YES)\n"
  103. @printf -- "LADSPA: $(ANS_YES)\n"
  104. @printf -- "DSSI: $(ANS_YES)\n"
  105. @printf -- "LV2: $(ANS_YES)\n"
  106. ifeq ($(MACOS_OR_WIN32),true)
  107. ifeq ($(USING_JUCE),true)
  108. @printf -- "VST2: $(ANS_YES) (with UI, using JUCE)\n"
  109. @printf -- "VST3: $(ANS_YES) (with UI, using JUCE)\n"
  110. else # USING_JUCE
  111. @printf -- "VST2: $(ANS_YES) (with UI)\n"
  112. @printf -- "VST3: $(ANS_NO)\n"
  113. endif # USING_JUCE
  114. else # MACOS_OR_WIN32
  115. ifeq ($(HAIKU),true)
  116. @printf -- "VST2: $(ANS_YES) (without UI)\n"
  117. @printf -- "VST3: $(ANS_NO)\n"
  118. else # HAIKU
  119. ifeq ($(HAVE_X11),true)
  120. @printf -- "VST2: $(ANS_YES) (with UI)\n"
  121. ifeq ($(USING_JUCE),true)
  122. @printf -- "VST3: $(ANS_YES) (with UI, using JUCE)\n"
  123. else # USING_JUCE
  124. @printf -- "VST3: $(ANS_NO)\n"
  125. endif # USING_JUCE
  126. else # HAVE_X11
  127. @printf -- "VST2: $(ANS_YES) (without UI) $(mS)Missing X11$(mE)\n"
  128. @printf -- "VST3: $(ANS_NO)\n"
  129. endif # HAVE_X11
  130. endif # HAIKU
  131. endif # MACOS_OR_WIN32
  132. ifeq ($(MACOS),true)
  133. ifeq ($(USING_JUCE),true)
  134. @printf -- "AU: $(ANS_YES) (with UI, using JUCE)\n"
  135. else # USING_JUCE
  136. @printf -- "AU: $(ANS_NO)\n"
  137. endif # USING_JUCE
  138. else # MACOS
  139. @printf -- "AU: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  140. endif # MACOS
  141. @printf -- "\n"
  142. @printf -- "$(tS)---> LV2 UI toolkit support: $(tE)\n"
  143. @printf -- "External: $(ANS_YES) (direct)\n"
  144. ifneq ($(MACOS_OR_WIN32),true)
  145. ifeq ($(HAVE_GTK2),true)
  146. @printf -- "Gtk2: $(ANS_YES) (bridge)\n"
  147. else
  148. @printf -- "Gtk2: $(ANS_NO) $(mS)Gtk2 missing$(mE)\n"
  149. endif
  150. ifeq ($(HAVE_GTK3),true)
  151. @printf -- "Gtk3: $(ANS_YES) (bridge)\n"
  152. else
  153. @printf -- "Gtk3: $(ANS_NO) $(mS)Gtk3 missing$(mE)\n"
  154. endif
  155. ifeq ($(HAVE_QT4),true)
  156. @printf -- "Qt4: $(ANS_YES) (bridge)\n"
  157. else
  158. @printf -- "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)\n"
  159. endif
  160. ifeq ($(HAVE_QT5),true)
  161. @printf -- "Qt5: $(ANS_YES) (bridge)\n"
  162. else
  163. @printf -- "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)\n"
  164. endif
  165. ifeq ($(HAVE_X11),true)
  166. @printf -- "X11: $(ANS_YES) (direct+bridge)\n"
  167. else
  168. @printf -- "X11: $(ANS_NO) $(mS)X11 missing$(mE)\n"
  169. endif
  170. else # LINUX
  171. @printf -- "Gtk2: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  172. @printf -- "Gtk3: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  173. @printf -- "Qt4: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  174. @printf -- "Qt5: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  175. @printf -- "X11: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  176. endif # LINUX
  177. ifeq ($(MACOS),true)
  178. @printf -- "Cocoa: $(ANS_YES) (direct+bridge)\n"
  179. else
  180. @printf -- "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  181. endif
  182. ifeq ($(WIN32),true)
  183. @printf -- "Windows: $(ANS_YES) (direct+bridge)\n"
  184. else
  185. @printf -- "Windows: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  186. endif
  187. @printf -- "\n"
  188. @printf -- "$(tS)---> File formats: $(tE)\n"
  189. ifeq ($(HAVE_SNDFILE),true)
  190. @printf -- "Basic: $(ANS_YES)\n"
  191. else
  192. @printf -- "Basic: $(ANS_NO) $(mS)libsndfile missing$(mE)\n"
  193. endif
  194. @printf -- "MP3: $(ANS_YES)\n"
  195. ifeq ($(HAVE_FFMPEG),true)
  196. @printf -- "Extra: $(ANS_YES)\n"
  197. else
  198. @printf -- "Extra: $(ANS_NO) $(mS)FFmpeg missing or too new$(mE)\n"
  199. endif
  200. # ifeq ($(HAVE_FLUIDSYNTH_INSTPATCH),true)
  201. # @printf -- "DLS: $(ANS_YES)\n"
  202. # else
  203. # @printf -- "DLS: $(ANS_NO) $(mS)FluidSynth/instpatch missing or too old$(mE)\n"
  204. # endif
  205. ifeq ($(HAVE_FLUIDSYNTH),true)
  206. @printf -- "SF2/3: $(ANS_YES)\n"
  207. else
  208. @printf -- "SF2/3: $(ANS_NO) $(mS)FluidSynth missing or too old$(mE)\n"
  209. endif
  210. @printf -- "SFZ: $(ANS_YES)\n"
  211. @printf -- "\n"
  212. @printf -- "$(tS)---> Internal plugins: $(tE)\n"
  213. @printf -- "Basic Plugins: $(ANS_YES)\n"
  214. @printf -- "Carla-Patchbay: $(ANS_YES)\n"
  215. @printf -- "Carla-Rack: $(ANS_YES)\n"
  216. ifeq ($(EXTERNAL_PLUGINS),true)
  217. @printf -- "External Plugins: $(ANS_YES)\n"
  218. else
  219. @printf -- "External Plugins: $(ANS_NO)\n"
  220. endif
  221. ifneq ($(EXTERNAL_PLUGINS),true)
  222. features_print_external_plugins:
  223. endif
  224. features: features_print_main features_print_external_plugins
  225. # ---------------------------------------------------------------------------------------------------------------------