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