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