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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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_FRONTEND),true)
  26. @printf -- "Front-End: $(ANS_YES) (Qt$(FRONTEND_TYPE))\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 Qt and/or 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. @printf -- "Link support: $(ANS_NO) $(mZ)Linux, MacOS and Windows only$(mE)\n"
  42. endif
  43. ifeq ($(HAVE_LIBLO),true)
  44. @printf -- "OSC support: $(ANS_YES)\n"
  45. else
  46. @printf -- "OSC support: $(ANS_NO) $(mS)Missing liblo$(mE)\n"
  47. endif
  48. ifeq ($(WINDOWS),true)
  49. @printf -- "Binary detect: $(ANS_YES)\n"
  50. else ifeq ($(HAVE_LIBMAGIC),true)
  51. @printf -- "Binary detect: $(ANS_YES)\n"
  52. else
  53. @printf -- "Binary detect: $(ANS_NO) $(mS)Missing libmagic/file$(mE)\n"
  54. endif
  55. @printf -- "\n"
  56. @printf -- "$(tS)---> Engine drivers $(tE)\n"
  57. @printf -- "JACK: $(ANS_YES)\n"
  58. ifeq ($(LINUX),true)
  59. ifeq ($(HAVE_ALSA),true)
  60. @printf -- "ALSA: $(ANS_YES)\n"
  61. else
  62. @printf -- "ALSA: $(ANS_NO) $(mS)Missing ALSA$(mE)\n"
  63. endif
  64. else
  65. @printf -- "ALSA: $(ANS_NO) $(mZ)Linux only$(mE)\n"
  66. endif
  67. ifeq ($(UNIX),true)
  68. ifneq ($(MACOS),true)
  69. ifeq ($(HAVE_PULSEAUDIO),true)
  70. @printf -- "PulseAudio: $(ANS_YES)\n"
  71. else
  72. @printf -- "PulseAudio: $(ANS_NO) $(mS)Missing PulseAudio$(mE)\n"
  73. endif
  74. else
  75. @printf -- "PulseAudio: $(ANS_NO) $(mZ)Not available for MacOS$(mE)\n"
  76. endif
  77. else
  78. @printf -- "PulseAudio: $(ANS_NO) $(mZ)Only available for Unix systems$(mE)\n"
  79. endif
  80. ifeq ($(MACOS),true)
  81. @printf -- "CoreAudio: $(ANS_YES)\n"
  82. else
  83. @printf -- "CoreAudio: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  84. endif
  85. ifeq ($(WINDOWS),true)
  86. @printf -- "DirectSound: $(ANS_YES)\n"
  87. @printf -- "WASAPI: $(ANS_YES)\n"
  88. else
  89. @printf -- "DirectSound: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  90. @printf -- "WASAPI: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  91. endif
  92. ifeq ($(HAVE_SDL),true)
  93. @printf -- "SDL: $(ANS_YES)\n"
  94. else
  95. @printf -- "SDL: $(ANS_NO) $(mS)Missing SDL$(mE)\n"
  96. endif
  97. @printf -- "\n"
  98. @printf -- "$(tS)---> Plugin formats: $(tE)\n"
  99. @printf -- "Internal: $(ANS_YES)\n"
  100. @printf -- "LADSPA: $(ANS_YES)\n"
  101. @printf -- "DSSI: $(ANS_YES)\n"
  102. @printf -- "LV2: $(ANS_YES)\n"
  103. @printf -- "CLAP: $(ANS_YES)\n"
  104. ifeq ($(MACOS_OR_WINDOWS),true)
  105. @printf -- "VST2: $(ANS_YES) (with UI)\n"
  106. @printf -- "VST3: $(ANS_YES) (with UI)\n"
  107. else ifeq ($(HAIKU),true)
  108. @printf -- "VST2: $(ANS_YES) (without UI)\n"
  109. @printf -- "VST3: $(ANS_YES) (without UI)\n"
  110. else ifeq ($(HAVE_X11),true)
  111. @printf -- "VST2: $(ANS_YES) (with UI)\n"
  112. @printf -- "VST3: $(ANS_YES) (with UI)\n"
  113. else
  114. @printf -- "VST2: $(ANS_YES) (without UI) $(mS)Missing X11$(mE)\n"
  115. @printf -- "VST3: $(ANS_YES) (without UI) $(mS)Missing X11$(mE)\n"
  116. endif
  117. ifeq ($(MACOS),true)
  118. @printf -- "AU: $(ANS_YES) (with UI)\n"
  119. else # MACOS
  120. @printf -- "AU: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  121. endif # MACOS
  122. @printf -- "\n"
  123. @printf -- "$(tS)---> LV2 UI toolkit support: $(tE)\n"
  124. @printf -- "External: $(ANS_YES) (direct)\n"
  125. @printf -- "Gtk2: $(ANS_YES) (bridge)\n"
  126. @printf -- "Gtk3: $(ANS_YES) (bridge)\n"
  127. ifneq ($(MACOS_OR_WINDOWS),true)
  128. ifeq ($(HAVE_QT4),true)
  129. @printf -- "Qt4: $(ANS_YES) (bridge)\n"
  130. else
  131. @printf -- "Qt4: $(ANS_NO) $(mS)Qt4 missing$(mE)\n"
  132. endif
  133. ifeq ($(HAVE_QT5),true)
  134. @printf -- "Qt5: $(ANS_YES) (bridge)\n"
  135. else
  136. @printf -- "Qt5: $(ANS_NO) $(mS)Qt5 missing$(mE)\n"
  137. endif
  138. ifeq ($(HAVE_X11),true)
  139. @printf -- "X11: $(ANS_YES) (direct+bridge)\n"
  140. else
  141. @printf -- "X11: $(ANS_NO) $(mS)X11 missing$(mE)\n"
  142. endif
  143. else # !MACOS_OR_WINDOWS
  144. @printf -- "Qt4: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  145. @printf -- "Qt5: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  146. @printf -- "X11: $(ANS_NO) $(mZ)Not available for Windows or MacOS$(mE)\n"
  147. endif # !MACOS_OR_WINDOWS
  148. ifeq ($(MACOS),true)
  149. @printf -- "Cocoa: $(ANS_YES) (direct+bridge)\n"
  150. else
  151. @printf -- "Cocoa: $(ANS_NO) $(mZ)MacOS only$(mE)\n"
  152. endif
  153. ifeq ($(WINDOWS),true)
  154. @printf -- "Windows: $(ANS_YES) (direct+bridge)\n"
  155. else
  156. @printf -- "Windows: $(ANS_NO) $(mZ)Windows only$(mE)\n"
  157. endif
  158. @printf -- "\n"
  159. @printf -- "$(tS)---> File formats: $(tE)\n"
  160. ifeq ($(HAVE_SNDFILE),true)
  161. @printf -- "Basic: $(ANS_YES)\n"
  162. else
  163. @printf -- "Basic: $(ANS_NO) $(mS)libsndfile missing$(mE)\n"
  164. endif
  165. @printf -- "MP3: $(ANS_YES)\n"
  166. ifeq ($(HAVE_FFMPEG),true)
  167. @printf -- "Extra: $(ANS_YES)\n"
  168. else
  169. @printf -- "Extra: $(ANS_NO) $(mS)FFmpeg missing or too new$(mE)\n"
  170. endif
  171. # ifeq ($(HAVE_FLUIDSYNTH_INSTPATCH),true)
  172. # @printf -- "DLS: $(ANS_YES)\n"
  173. # else
  174. # @printf -- "DLS: $(ANS_NO) $(mS)FluidSynth/instpatch missing or too old$(mE)\n"
  175. # endif
  176. ifeq ($(HAVE_FLUIDSYNTH),true)
  177. @printf -- "SF2/3: $(ANS_YES)\n"
  178. else
  179. @printf -- "SF2/3: $(ANS_NO) $(mS)FluidSynth missing or too old$(mE)\n"
  180. endif
  181. @printf -- "SFZ: $(ANS_YES)\n"
  182. @printf -- "\n"
  183. @printf -- "$(tS)---> Internal plugins: $(tE)\n"
  184. @printf -- "Basic Plugins: $(ANS_YES)\n"
  185. @printf -- "Carla-Patchbay: $(ANS_YES)\n"
  186. @printf -- "Carla-Rack: $(ANS_YES)\n"
  187. ifeq ($(EXTERNAL_PLUGINS),true)
  188. @printf -- "External Plugins: $(ANS_YES)\n"
  189. else
  190. @printf -- "External Plugins: $(ANS_NO)\n"
  191. endif
  192. ifneq ($(EXTERNAL_PLUGINS),true)
  193. features_print_external_plugins:
  194. endif
  195. features: features_print_main features_print_external_plugins
  196. # ---------------------------------------------------------------------------------------------------------------------