Mercurial > audlegacy
annotate buildsys.mk.in @ 3922:23e5b148ae7c
to get rid of annoying side effects, an independent function for playlist serial increment has been provided.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 10 Nov 2007 00:47:40 +0900 |
parents | b5c8a7e2215d |
children | efb49258f4f0 |
rev | line source |
---|---|
3535 | 1 # |
3877 | 2 # Copyright (c) 2007, Jonathan Schleifer <js-buildsys@webkeks.org> |
3535 | 3 # |
4 # Permission to use, copy, modify, and/or distribute this software for any | |
5 # purpose with or without fee is hereby granted, provided that the above | |
6 # copyright notice and this permission notice is present in all copies. | |
7 # | |
8 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
9 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
10 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
11 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | |
12 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
13 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
14 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
15 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
16 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
17 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
18 # POSSIBILITY OF SUCH DAMAGE. | |
19 # | |
20 | |
21 PACKAGE = @PACKAGE@ | |
22 CC = @CC@ | |
23 CXX = @CXX@ | |
24 CPP = @CPP@ | |
25 DC = @DC@ | |
26 ERLC = @ERLC@ | |
27 OBJC = @OBJC@ | |
28 AR = @AR@ | |
29 LD = ${CC} | |
30 CFLAGS = @CFLAGS@ | |
31 CXXFLAGS = @CXXFLAGS@ | |
32 CPPFLAGS = @CPPFLAGS@ | |
33 DFLAGS = @DFLAGS@ | |
34 ERLCFLAGS = @ERLCFLAGS@ | |
35 OBJCFLAGS = @OBJCFLAGS@ | |
36 LDFLAGS = @LDFLAGS@ | |
37 LIBS = @LIBS@ | |
3656
db04d0916c22
implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents:
3653
diff
changeset
|
38 PROG_IMPLIB_NEEDED = @PROG_IMPLIB_NEEDED@ |
db04d0916c22
implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents:
3653
diff
changeset
|
39 PROG_IMPLIB_LDFLAGS = @PROG_IMPLIB_LDFLAGS@ |
3641
12500701b6dd
Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents:
3632
diff
changeset
|
40 PROG_SUFFIX = @EXEEXT@ |
3535 | 41 LIB_CPPFLAGS = @LIB_CPPFLAGS@ |
42 LIB_CFLAGS = @LIB_CFLAGS@ | |
43 LIB_LDFLAGS = @LIB_LDFLAGS@ | |
44 LIB_PREFIX = @LIB_PREFIX@ | |
45 LIB_SUFFIX = @LIB_SUFFIX@ | |
3861
1902ce57b333
Fix installation of libaudid3tag in ${plugindir}.
Vitaly Lipatov <lav@etersoft.ru>
parents:
3795
diff
changeset
|
46 LIBDIR ?= ${libdir} |
3535 | 47 PLUGIN_CPPFLAGS = @PLUGIN_CPPFLAGS@ |
48 PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ | |
49 PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ | |
50 PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ | |
51 INSTALL_LIB = @INSTALL_LIB@ | |
52 UNINSTALL_LIB = @UNINSTALL_LIB@ | |
3594
fa49ef305f59
Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents:
3593
diff
changeset
|
53 CLEAN_LIB = @CLEAN_LIB@ |
3535 | 54 LN_S = @LN_S@ |
55 MKDIR_P = mkdir -p | |
3616 | 56 INSTALL = install |
3535 | 57 SHELL = @SHELL@ |
58 prefix = @prefix@ | |
59 exec_prefix = @exec_prefix@ | |
60 bindir = @bindir@ | |
61 libdir = @libdir@ | |
3725 | 62 plugindir ?= ${libdir}/${PACKAGE} |
3535 | 63 datarootdir = @datarootdir@ |
64 datadir = @datadir@ | |
65 includedir = @includedir@ | |
66 includesubdir ?= ${PACKAGE} | |
67 mandir = @mandir@ | |
68 mansubdir ?= man1 | |
69 | |
70 OBJS1 = ${SRCS:.c=.o} | |
71 OBJS2 = ${OBJS1:.cc=.o} | |
72 OBJS3 = ${OBJS2:.cxx=.o} | |
73 OBJS4 = ${OBJS3:.d=.o} | |
74 OBJS5 = ${OBJS4:.erl=.beam} | |
75 OBJS += ${OBJS5:.m=.o} | |
76 | |
77 .SILENT: | |
78 .SUFFIXES: .beam .c .cc .cxx .d .erl .m | |
3660
c54dfcdc839e
Add missing targets to .PHONY.
Jonathan Schleifer <js@h3c.de>
parents:
3657
diff
changeset
|
79 .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean |
3535 | 80 |
3611
6d055449020a
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
3610
diff
changeset
|
81 all: |
3630 | 82 for i in subdirs depend ${STATIC_LIB} ${STATIC_LIB_NOINST} ${LIB} ${LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${PROG} ${PROG_NOINST}; do \ |
3614 | 83 ${MAKE} ${MFLAGS} $$i || exit 1; \ |
3611
6d055449020a
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
3610
diff
changeset
|
84 done |
3535 | 85 |
86 subdirs: | |
87 for i in ${SUBDIRS}; do \ | |
88 ${DIR_ENTER}; \ | |
3575 | 89 ${MAKE} ${MFLAGS} || exit 1; \ |
3535 | 90 ${DIR_LEAVE}; \ |
91 done | |
92 | |
3593
85a49369c95f
Actually, the last patch was wrong. depend has to depend on ${SRCS}.
Jonathan Schleifer <js@h3c.de>
parents:
3586
diff
changeset
|
93 depend: pre-depend ${SRCS} |
3535 | 94 regen=0; \ |
3725 | 95 test -f .deps || regen=1; \ |
3619 | 96 for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \ |
97 if test x"$$regen" = x"1"; then \ | |
3646
4caed047a58f
Optimize dependency generation.
Jonathan Schleifer <js@h3c.de>
parents:
3641
diff
changeset
|
98 list=""; \ |
3610 | 99 ${DEPEND_STATUS}; \ |
3535 | 100 for i in ${SRCS}; do \ |
101 case $${i##*.} in \ | |
102 c|cc|cxx|m) \ | |
3646
4caed047a58f
Optimize dependency generation.
Jonathan Schleifer <js@h3c.de>
parents:
3641
diff
changeset
|
103 list="$$list $$i"; \ |
3611
6d055449020a
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
3610
diff
changeset
|
104 ;; \ |
3535 | 105 esac; \ |
106 done; \ | |
3651
a5a81f8d6fd7
Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents:
3646
diff
changeset
|
107 if test x"$$list" != "x"; then \ |
3795
a0e4a85a6778
Synchronize build system with audacious-plugins.
William Pitcock <nenolod@atheme.org>
parents:
3725
diff
changeset
|
108 if ${CC} ${CPPFLAGS} -M $$list >.deps; then \ |
3651
a5a81f8d6fd7
Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents:
3646
diff
changeset
|
109 ${DEPEND_OK}; \ |
a5a81f8d6fd7
Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents:
3646
diff
changeset
|
110 else \ |
a5a81f8d6fd7
Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents:
3646
diff
changeset
|
111 ${DEPEND_FAILED}; \ |
a5a81f8d6fd7
Update buildsys + small fixes.
Jonathan Schleifer <js@h3c.de>
parents:
3646
diff
changeset
|
112 fi; \ |
3611
6d055449020a
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
3610
diff
changeset
|
113 fi; \ |
3535 | 114 fi |
115 | |
3586
ddb15c329985
Update audacious to latest rev of build system.
Jonathan Schleifer <js@h3c.de>
parents:
3575
diff
changeset
|
116 pre-depend: |
ddb15c329985
Update audacious to latest rev of build system.
Jonathan Schleifer <js@h3c.de>
parents:
3575
diff
changeset
|
117 |
3610 | 118 ${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS} |
3535 | 119 ${LINK_STATUS} |
3586
ddb15c329985
Update audacious to latest rev of build system.
Jonathan Schleifer <js@h3c.de>
parents:
3575
diff
changeset
|
120 if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \ |
3535 | 121 ${LINK_OK}; \ |
122 else \ | |
123 ${LINK_FAILED}; \ | |
124 fi | |
125 | |
126 ${LIB} ${LIB_NOINST}: ${EXT_DEPS} ${OBJS} | |
127 ${LINK_STATUS} | |
128 if ${LD} -o $@ ${OBJS} ${LIB_LDFLAGS} ${LDFLAGS} ${LIBS}; then \ | |
129 ${LINK_OK}; \ | |
130 else \ | |
131 ${LINK_FAILED}; \ | |
132 fi | |
133 | |
134 ${PLUGIN} ${PLUGIN_NONST}: ${EXT_DEPS} ${OBJS} | |
135 ${LINK_STATUS} | |
136 if ${LD} -o $@ ${OBJS} ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}; then \ | |
137 ${LINK_OK}; \ | |
138 else \ | |
139 ${LINK_FAILED}; \ | |
140 fi | |
141 | |
142 ${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS} | |
143 ${LINK_STATUS} | |
3595
c72f82b2182b
Use ar cr instead of ar cq.
Jonathan Schleifer <js@h3c.de>
parents:
3594
diff
changeset
|
144 if ${AR} cr $@ ${OBJS}; then \ |
3535 | 145 ${LINK_OK}; \ |
146 else \ | |
147 ${LINK_FAILED}; \ | |
148 fi | |
149 | |
150 .c.o: | |
151 ${COMPILE_STATUS} | |
152 if ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
153 ${COMPILE_OK}; \ | |
154 else \ | |
155 ${COMPILE_FAILED}; \ | |
156 fi | |
157 | |
158 .cc.o .cxx.o: | |
159 ${COMPILE_STATUS} | |
160 if ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
161 ${COMPILE_OK}; \ | |
162 else \ | |
163 ${COMPILE_FAILED}; \ | |
164 fi | |
165 | |
166 .d.o: | |
167 ${COMPILE_STATUS} | |
3619 | 168 if test x"$(basename ${DC})" = x"dmd"; then \ |
3535 | 169 if ${DC} ${DFLAGS} -c -of$@ $<; then \ |
170 ${COMPILE_OK}; \ | |
171 else \ | |
172 ${COMPILE_FAILED}; \ | |
173 fi \ | |
174 else \ | |
175 if ${DC} ${DFLAGS} -c -o $@ $<; then \ | |
176 ${COMPILE_OK}; \ | |
177 else \ | |
178 ${COMPILE_FAILED}; \ | |
179 fi \ | |
180 fi | |
181 | |
182 .erl.beam: | |
183 ${COMPILE_STATUS} | |
184 if ${ERLC} ${ERLCFLAGS} -o $@ $<; then \ | |
185 ${COMPILE_OK}; \ | |
186 else \ | |
187 ${COMPILE_FAILED}; \ | |
188 fi | |
189 | |
190 .m.o: | |
191 ${COMPILE_STATUS} | |
192 if ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
193 ${COMPILE_OK}; \ | |
194 else \ | |
195 ${COMPILE_FAILED}; \ | |
196 fi | |
197 | |
198 install: ${LIB} ${STATIC_LIB} ${PLUGIN} ${PROG} install-extra | |
199 for i in ${SUBDIRS}; do \ | |
200 ${DIR_ENTER}; \ | |
3575 | 201 ${MAKE} ${MFLAGS} install || exit 1; \ |
3535 | 202 ${DIR_LEAVE}; \ |
203 done | |
204 | |
205 for i in ${LIB}; do \ | |
206 ${INSTALL_STATUS}; \ | |
3861
1902ce57b333
Fix installation of libaudid3tag in ${plugindir}.
Vitaly Lipatov <lav@etersoft.ru>
parents:
3795
diff
changeset
|
207 if ${MKDIR_P} ${DESTDIR}${LIBDIR} && ${INSTALL_LIB}; then \ |
3535 | 208 ${INSTALL_OK}; \ |
209 else \ | |
210 ${INSTALL_FAILED}; \ | |
211 fi \ | |
212 done | |
213 | |
214 for i in ${STATIC_LIB}; do \ | |
215 ${INSTALL_STATUS}; \ | |
3657 | 216 if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/$$i; then \ |
3535 | 217 ${INSTALL_OK}; \ |
218 else \ | |
219 ${INSTALL_FAILED}; \ | |
220 fi \ | |
221 done | |
222 | |
223 for i in ${PLUGIN}; do \ | |
224 ${INSTALL_STATUS}; \ | |
3725 | 225 if ${MKDIR_P} ${DESTDIR}${plugindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${plugindir}/$$i; then \ |
3535 | 226 ${INSTALL_OK}; \ |
227 else \ | |
228 ${INSTALL_FAILED}; \ | |
229 fi \ | |
230 done | |
231 | |
232 for i in ${DATA}; do \ | |
233 ${INSTALL_STATUS}; \ | |
3572 | 234 if ${MKDIR_P} $$(dirname ${DESTDIR}${datadir}/${PACKAGE}/$$i) && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ |
3535 | 235 ${INSTALL_OK}; \ |
236 else \ | |
237 ${INSTALL_FAILED}; \ | |
238 fi \ | |
239 done | |
240 | |
241 for i in ${PROG}; do \ | |
242 ${INSTALL_STATUS}; \ | |
3632
ffe7a2346055
Seems like I forgot to remove -s for ${PROG}.
Jonathan Schleifer <js@h3c.de>
parents:
3630
diff
changeset
|
243 if ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i; then \ |
3535 | 244 ${INSTALL_OK}; \ |
245 else \ | |
246 ${INSTALL_FAILED}; \ | |
247 fi \ | |
248 done | |
249 | |
250 for i in ${INCLUDES}; do \ | |
251 ${INSTALL_STATUS}; \ | |
252 if ${MKDIR_P} ${DESTDIR}${includedir}/${includesubdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ | |
253 ${INSTALL_OK}; \ | |
254 else \ | |
255 ${INSTALL_FAILED}; \ | |
256 fi \ | |
257 done | |
258 | |
259 for i in ${MAN}; do \ | |
260 ${INSTALL_STATUS}; \ | |
261 if ${MKDIR_P} ${DESTDIR}${mandir}/${mansubdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ | |
262 ${INSTALL_OK}; \ | |
263 else \ | |
264 ${INSTALL_FAILED}; \ | |
265 fi \ | |
266 done | |
267 | |
268 install-extra: | |
269 | |
270 uninstall: uninstall-extra | |
271 for i in ${SUBDIRS}; do \ | |
272 ${DIR_ENTER}; \ | |
3575 | 273 ${MAKE} ${MFLAGS} uninstall || exit 1; \ |
3535 | 274 ${DIR_LEAVE}; \ |
275 done | |
276 | |
277 for i in ${LIB}; do \ | |
3619 | 278 if test -f ${DESTDIR}${libdir}/$$i; then \ |
3535 | 279 if ${UNINSTALL_LIB}; then \ |
280 ${DELETE_OK}; \ | |
281 else \ | |
282 ${DELETE_FAILED}; \ | |
283 fi \ | |
284 fi; \ | |
285 done | |
286 | |
287 for i in ${STATIC_LIB}; do \ | |
3619 | 288 if test -f ${DESTDIR}${libdir}/$$i; then \ |
3535 | 289 if rm -f ${DESTDIR}${libdir}/$$i; then \ |
290 ${DELETE_OK}; \ | |
291 else \ | |
292 ${DELETE_FAILED}; \ | |
293 fi \ | |
294 fi \ | |
295 done | |
296 | |
297 for i in ${PLUGIN}; do \ | |
3725 | 298 if test -f ${DESTDIR}${plugindir}/$$i; then \ |
299 if rm -f ${DESTDIR}${plugindir}/$$i; then \ | |
3535 | 300 ${DELETE_OK}; \ |
301 else \ | |
302 ${DELETE_FAILED}; \ | |
303 fi \ | |
304 fi \ | |
305 done | |
3725 | 306 -rmdir ${DESTDIR}${plugindir} >/dev/null 2>&1 |
3535 | 307 |
308 for i in ${DATA}; do \ | |
3619 | 309 if test -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ |
3535 | 310 if rm -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ |
311 ${DELETE_OK}; \ | |
312 else \ | |
313 ${DELETE_FAILED}; \ | |
314 fi \ | |
315 fi \ | |
316 done | |
317 | |
318 for i in ${PROG}; do \ | |
3619 | 319 if test -f ${DESTDIR}${bindir}/$$i; then \ |
3535 | 320 if rm -f ${DESTDIR}${bindir}/$$i; then \ |
321 ${DELETE_OK}; \ | |
322 else \ | |
323 ${DELETE_FAILED}; \ | |
324 fi \ | |
325 fi \ | |
326 done | |
327 | |
328 for i in ${INCLUDES}; do \ | |
3619 | 329 if test -f ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ |
3535 | 330 if rm -f ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ |
331 ${DELETE_OK}; \ | |
332 else \ | |
333 ${DELETE_FAILED}; \ | |
334 fi \ | |
335 fi \ | |
336 done | |
337 -rmdir ${DESTDIR}${includedir}/${includesubdir} >/dev/null 2>&1 | |
338 | |
339 for i in ${MAN}; do \ | |
3619 | 340 if test -f ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ |
3535 | 341 if rm -f ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ |
342 ${DELETE_OK}; \ | |
343 else \ | |
344 ${DELETE_FAILED}; \ | |
345 fi \ | |
346 fi \ | |
347 done | |
348 | |
349 uninstall-extra: | |
350 | |
351 clean: | |
352 for i in ${SUBDIRS}; do \ | |
353 ${DIR_ENTER}; \ | |
3575 | 354 ${MAKE} ${MFLAGS} clean || exit 1; \ |
3535 | 355 ${DIR_LEAVE}; \ |
356 done | |
357 | |
3632
ffe7a2346055
Seems like I forgot to remove -s for ${PROG}.
Jonathan Schleifer <js@h3c.de>
parents:
3630
diff
changeset
|
358 for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps; do \ |
3619 | 359 if test -f $$i -o -d $$i; then \ |
3535 | 360 if rm -fr $$i; then \ |
361 ${DELETE_OK}; \ | |
362 else \ | |
363 ${DELETE_FAILED}; \ | |
364 fi \ | |
365 fi \ | |
366 done | |
367 | |
368 distclean: clean | |
369 for i in ${SUBDIRS}; do \ | |
370 ${DIR_ENTER}; \ | |
3575 | 371 ${MAKE} ${MFLAGS} distclean || exit 1; \ |
3535 | 372 ${DIR_LEAVE}; \ |
373 done | |
374 | |
3725 | 375 for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} *~; do \ |
3619 | 376 if test -f $$i -o -d $$i; then \ |
3535 | 377 if rm -fr $$i; then \ |
378 ${DELETE_OK}; \ | |
379 else \ | |
380 ${DELETE_FAILED}; \ | |
381 fi \ | |
382 fi \ | |
383 done | |
384 | |
3725 | 385 DIR_ENTER = printf "\033[K\033[0;36mEntering directory \033[1;36m$$i\033[0;36m.\033[0m\n"; cd $$i || exit 1 |
386 DIR_LEAVE = printf "\033[K\033[0;36mLeaving directory \033[1;36m$$i\033[0;36m.\033[0m\n"; cd .. || exit 1 | |
387 DEPEND_STATUS = printf "\033[K\033[0;33mGenerating dependencies...\033[0m\r" | |
388 DEPEND_OK = printf "\033[K\033[0;32mSuccessfully generated dependencies.\033[0m\n" | |
389 DEPEND_FAILED = printf "\033[K\033[0;31mFailed to generate dependencies!\033[0m\n"; exit 1 | |
390 COMPILE_STATUS = printf "\033[K\033[0;33mCompiling \033[1;33m$<\033[0;33m...\033[0m\r" | |
391 COMPILE_OK = printf "\033[K\033[0;32mSuccessfully compiled \033[1;32m$<\033[0;32m.\033[0m\n" | |
392 COMPILE_FAILED = printf "\033[K\033[0;31mFailed to compile \033[1;31m$<\033[0;31m!\033[0m\n"; exit 1 | |
393 LINK_STATUS = printf "\033[K\033[0;33mLinking \033[1;33m$@\033[0;33m...\033[0m\r" | |
394 LINK_OK = printf "\033[K\033[0;32mSuccessfully linked \033[1;32m$@\033[0;32m.\033[0m\n" | |
395 LINK_FAILED = printf "\033[K\033[0;31mFailed to link \033[1;31m$@\033[0;31m!\033[0m\n"; exit 1 | |
396 INSTALL_STATUS = printf "\033[K\033[0;33mInstalling \033[1;33m$$i\033[0;33m...\033[0m\r" | |
397 INSTALL_OK = printf "\033[K\033[0;32mSuccessfully installed \033[1;32m$$i\033[0;32m.\033[0m\n" | |
398 INSTALL_FAILED = printf "\033[K\033[0;31mFailed to install \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1 | |
399 DELETE_OK = printf "\033[K\033[0;34mDeleted \033[1;34m$$i\033[0;34m.\033[0m\n" | |
400 DELETE_FAILED = printf "\033[K\033[0;31mFailed to delete \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1 | |
3535 | 401 |
402 -include .deps |