Mercurial > audlegacy-plugins
annotate buildsys.mk.in @ 2782:c5005707a575
added basic search functionality
author | Calin Crisan ccrisan@gmail.com |
---|---|
date | Sun, 06 Jul 2008 20:50:01 +0300 |
parents | 0bd07451d1d1 |
children | ea4e97a98914 |
rev | line source |
---|---|
1763 | 1 # |
2147 | 2 # Copyright (c) 2007, Jonathan Schleifer <js-buildsys@webkeks.org> |
1763 | 3 # |
2378
e7d59a6ed443
Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2374
diff
changeset
|
4 # https://webkeks.org/hg/buildsys/ |
e7d59a6ed443
Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2374
diff
changeset
|
5 # |
1763 | 6 # Permission to use, copy, modify, and/or distribute this software for any |
7 # purpose with or without fee is hereby granted, provided that the above | |
8 # copyright notice and this permission notice is present in all copies. | |
9 # | |
10 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
11 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
12 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
13 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | |
14 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
15 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
16 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
17 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
18 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
19 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
20 # POSSIBILITY OF SUCH DAMAGE. | |
21 # | |
22 | |
23 PACKAGE = @PACKAGE@ | |
24 CC = @CC@ | |
25 CXX = @CXX@ | |
26 CPP = @CPP@ | |
27 DC = @DC@ | |
28 ERLC = @ERLC@ | |
29 OBJC = @OBJC@ | |
30 AR = @AR@ | |
31 LD = ${CC} | |
32 CFLAGS = @CFLAGS@ | |
33 CXXFLAGS = @CXXFLAGS@ | |
34 CPPFLAGS = @CPPFLAGS@ | |
35 DFLAGS = @DFLAGS@ | |
36 ERLCFLAGS = @ERLCFLAGS@ | |
37 OBJCFLAGS = @OBJCFLAGS@ | |
38 LDFLAGS = @LDFLAGS@ | |
39 LIBS = @LIBS@ | |
1909 | 40 PROG_IMPLIB_NEEDED = @PROG_IMPLIB_NEEDED@ |
41 PROG_IMPLIB_LDFLAGS = @PROG_IMPLIB_LDFLAGS@ | |
1879
81cdc01db60e
Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents:
1877
diff
changeset
|
42 PROG_SUFFIX = @EXEEXT@ |
1763 | 43 LIB_CPPFLAGS = @LIB_CPPFLAGS@ |
44 LIB_CFLAGS = @LIB_CFLAGS@ | |
45 LIB_LDFLAGS = @LIB_LDFLAGS@ | |
46 LIB_PREFIX = @LIB_PREFIX@ | |
47 LIB_SUFFIX = @LIB_SUFFIX@ | |
48 PLUGIN_CPPFLAGS = @PLUGIN_CPPFLAGS@ | |
49 PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ | |
50 PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ | |
51 PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ | |
52 INSTALL_LIB = @INSTALL_LIB@ | |
53 UNINSTALL_LIB = @UNINSTALL_LIB@ | |
54 CLEAN_LIB = @CLEAN_LIB@ | |
55 LN_S = @LN_S@ | |
56 MKDIR_P = mkdir -p | |
1863 | 57 INSTALL = install |
1763 | 58 SHELL = @SHELL@ |
59 prefix = @prefix@ | |
60 exec_prefix = @exec_prefix@ | |
61 bindir = @bindir@ | |
62 libdir = @libdir@ | |
2034
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
63 plugindir ?= ${libdir}/${PACKAGE} |
1763 | 64 datarootdir = @datarootdir@ |
65 datadir = @datadir@ | |
66 includedir = @includedir@ | |
67 includesubdir ?= ${PACKAGE} | |
68 mandir = @mandir@ | |
69 mansubdir ?= man1 | |
70 | |
71 OBJS1 = ${SRCS:.c=.o} | |
72 OBJS2 = ${OBJS1:.cc=.o} | |
73 OBJS3 = ${OBJS2:.cxx=.o} | |
74 OBJS4 = ${OBJS3:.d=.o} | |
75 OBJS5 = ${OBJS4:.erl=.beam} | |
76 OBJS += ${OBJS5:.m=.o} | |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
77 DEPS += ${OBJS:.o=.dep} |
1763 | 78 |
79 .SILENT: | |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
80 .SUFFIXES: .beam .c .cc .cxx .d .dep .erl .m |
1909 | 81 .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean |
1763 | 82 |
1826
d7709de0882c
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
1815
diff
changeset
|
83 all: |
1868 | 84 for i in subdirs depend ${STATIC_LIB} ${STATIC_LIB_NOINST} ${LIB} ${LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${PROG} ${PROG_NOINST}; do \ |
1845 | 85 ${MAKE} ${MFLAGS} $$i || exit 1; \ |
1826
d7709de0882c
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
1815
diff
changeset
|
86 done |
1763 | 87 |
88 subdirs: | |
89 for i in ${SUBDIRS}; do \ | |
90 ${DIR_ENTER}; \ | |
91 ${MAKE} ${MFLAGS} || exit 1; \ | |
92 ${DIR_LEAVE}; \ | |
93 done | |
94 | |
95 depend: pre-depend ${SRCS} | |
96 regen=0; \ | |
2034
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
97 test -f .deps || regen=1; \ |
1865 | 98 for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \ |
2373
77cd6da06def
Fix possible infinite loop in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2372
diff
changeset
|
99 if test x"$$regen" = x"1" -a x"${DEPS}" != "x"; then \ |
1815 | 100 ${DEPEND_STATUS}; \ |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
101 rm -f .deps; \ |
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
102 if ${MAKE} ${MFLAGS} ${DEPS}; then \ |
2374
179821cb7dca
Fix a possible bug in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2373
diff
changeset
|
103 cat ${DEPS} >.deps; \ |
179821cb7dca
Fix a possible bug in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2373
diff
changeset
|
104 rm -f ${DEPS}; \ |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
105 ${DEPEND_OK}; \ |
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
106 else \ |
2374
179821cb7dca
Fix a possible bug in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2373
diff
changeset
|
107 rm -f .deps ${DEPS}; \ |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
108 ${DEPEND_FAILED}; \ |
1826
d7709de0882c
Fix dependencies and other parallel stuff.
Jonathan Schleifer <js@h3c.de>
parents:
1815
diff
changeset
|
109 fi; \ |
1763 | 110 fi |
111 | |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
112 .c.dep .cc.dep .cxx.dep .m.dep: |
2374
179821cb7dca
Fix a possible bug in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2373
diff
changeset
|
113 ${CPP} ${CPPFLAGS} -M $< >$@ |
2372
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
114 |
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
115 .d.dep: |
3799c5a932a9
Make dependency generation threaded.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2148
diff
changeset
|
116 |
1763 | 117 pre-depend: |
118 | |
1815 | 119 ${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS} |
1763 | 120 ${LINK_STATUS} |
121 if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \ | |
122 ${LINK_OK}; \ | |
123 else \ | |
124 ${LINK_FAILED}; \ | |
125 fi | |
126 | |
127 ${LIB} ${LIB_NOINST}: ${EXT_DEPS} ${OBJS} | |
128 ${LINK_STATUS} | |
129 if ${LD} -o $@ ${OBJS} ${LIB_LDFLAGS} ${LDFLAGS} ${LIBS}; then \ | |
130 ${LINK_OK}; \ | |
131 else \ | |
132 ${LINK_FAILED}; \ | |
133 fi | |
134 | |
2529
0bd07451d1d1
buildsys.mk.in: Fixed typo.
Jonathan Schleifer <js@webkeks.org>
parents:
2378
diff
changeset
|
135 ${PLUGIN} ${PLUGIN_NOINST}: ${EXT_DEPS} ${OBJS} |
1763 | 136 ${LINK_STATUS} |
137 if ${LD} -o $@ ${OBJS} ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}; then \ | |
138 ${LINK_OK}; \ | |
139 else \ | |
140 ${LINK_FAILED}; \ | |
141 fi | |
142 | |
143 ${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS} | |
144 ${LINK_STATUS} | |
145 if ${AR} cr $@ ${OBJS}; then \ | |
146 ${LINK_OK}; \ | |
147 else \ | |
148 ${LINK_FAILED}; \ | |
149 fi | |
150 | |
151 .c.o: | |
152 ${COMPILE_STATUS} | |
153 if ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
154 ${COMPILE_OK}; \ | |
155 else \ | |
156 ${COMPILE_FAILED}; \ | |
157 fi | |
158 | |
159 .cc.o .cxx.o: | |
160 ${COMPILE_STATUS} | |
161 if ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
162 ${COMPILE_OK}; \ | |
163 else \ | |
164 ${COMPILE_FAILED}; \ | |
165 fi | |
166 | |
167 .d.o: | |
168 ${COMPILE_STATUS} | |
1865 | 169 if test x"$(basename ${DC})" = x"dmd"; then \ |
1763 | 170 if ${DC} ${DFLAGS} -c -of$@ $<; then \ |
171 ${COMPILE_OK}; \ | |
172 else \ | |
173 ${COMPILE_FAILED}; \ | |
174 fi \ | |
175 else \ | |
176 if ${DC} ${DFLAGS} -c -o $@ $<; then \ | |
177 ${COMPILE_OK}; \ | |
178 else \ | |
179 ${COMPILE_FAILED}; \ | |
180 fi \ | |
181 fi | |
182 | |
183 .erl.beam: | |
184 ${COMPILE_STATUS} | |
185 if ${ERLC} ${ERLCFLAGS} -o $@ $<; then \ | |
186 ${COMPILE_OK}; \ | |
187 else \ | |
188 ${COMPILE_FAILED}; \ | |
189 fi | |
190 | |
191 .m.o: | |
192 ${COMPILE_STATUS} | |
193 if ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c -o $@ $<; then \ | |
194 ${COMPILE_OK}; \ | |
195 else \ | |
196 ${COMPILE_FAILED}; \ | |
197 fi | |
198 | |
199 install: ${LIB} ${STATIC_LIB} ${PLUGIN} ${PROG} install-extra | |
200 for i in ${SUBDIRS}; do \ | |
201 ${DIR_ENTER}; \ | |
202 ${MAKE} ${MFLAGS} install || exit 1; \ | |
203 ${DIR_LEAVE}; \ | |
204 done | |
205 | |
206 for i in ${LIB}; do \ | |
207 ${INSTALL_STATUS}; \ | |
208 if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL_LIB}; then \ | |
209 ${INSTALL_OK}; \ | |
210 else \ | |
211 ${INSTALL_FAILED}; \ | |
212 fi \ | |
213 done | |
214 | |
215 for i in ${STATIC_LIB}; do \ | |
216 ${INSTALL_STATUS}; \ | |
1909 | 217 if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/$$i; then \ |
1763 | 218 ${INSTALL_OK}; \ |
219 else \ | |
220 ${INSTALL_FAILED}; \ | |
221 fi \ | |
222 done | |
223 | |
224 for i in ${PLUGIN}; do \ | |
225 ${INSTALL_STATUS}; \ | |
2006
a56a26a5f233
Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2003
diff
changeset
|
226 if ${MKDIR_P} ${DESTDIR}${plugindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${plugindir}/$$i; then \ |
1763 | 227 ${INSTALL_OK}; \ |
228 else \ | |
229 ${INSTALL_FAILED}; \ | |
230 fi \ | |
231 done | |
232 | |
233 for i in ${DATA}; do \ | |
234 ${INSTALL_STATUS}; \ | |
235 if ${MKDIR_P} $$(dirname ${DESTDIR}${datadir}/${PACKAGE}/$$i) && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ | |
236 ${INSTALL_OK}; \ | |
237 else \ | |
238 ${INSTALL_FAILED}; \ | |
239 fi \ | |
240 done | |
241 | |
242 for i in ${PROG}; do \ | |
243 ${INSTALL_STATUS}; \ | |
1877 | 244 if ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i; then \ |
1763 | 245 ${INSTALL_OK}; \ |
246 else \ | |
247 ${INSTALL_FAILED}; \ | |
248 fi \ | |
249 done | |
250 | |
251 for i in ${INCLUDES}; do \ | |
252 ${INSTALL_STATUS}; \ | |
253 if ${MKDIR_P} ${DESTDIR}${includedir}/${includesubdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ | |
254 ${INSTALL_OK}; \ | |
255 else \ | |
256 ${INSTALL_FAILED}; \ | |
257 fi \ | |
258 done | |
259 | |
260 for i in ${MAN}; do \ | |
261 ${INSTALL_STATUS}; \ | |
262 if ${MKDIR_P} ${DESTDIR}${mandir}/${mansubdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ | |
263 ${INSTALL_OK}; \ | |
264 else \ | |
265 ${INSTALL_FAILED}; \ | |
266 fi \ | |
267 done | |
268 | |
269 install-extra: | |
270 | |
271 uninstall: uninstall-extra | |
272 for i in ${SUBDIRS}; do \ | |
273 ${DIR_ENTER}; \ | |
274 ${MAKE} ${MFLAGS} uninstall || exit 1; \ | |
275 ${DIR_LEAVE}; \ | |
276 done | |
277 | |
278 for i in ${LIB}; do \ | |
1865 | 279 if test -f ${DESTDIR}${libdir}/$$i; then \ |
1763 | 280 if ${UNINSTALL_LIB}; then \ |
281 ${DELETE_OK}; \ | |
282 else \ | |
283 ${DELETE_FAILED}; \ | |
284 fi \ | |
285 fi; \ | |
286 done | |
287 | |
288 for i in ${STATIC_LIB}; do \ | |
1865 | 289 if test -f ${DESTDIR}${libdir}/$$i; then \ |
1763 | 290 if rm -f ${DESTDIR}${libdir}/$$i; then \ |
291 ${DELETE_OK}; \ | |
292 else \ | |
293 ${DELETE_FAILED}; \ | |
294 fi \ | |
295 fi \ | |
296 done | |
297 | |
298 for i in ${PLUGIN}; do \ | |
2006
a56a26a5f233
Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2003
diff
changeset
|
299 if test -f ${DESTDIR}${plugindir}/$$i; then \ |
a56a26a5f233
Revised the plugindir logic.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2003
diff
changeset
|
300 if rm -f ${DESTDIR}${plugindir}/$$i; then \ |
1763 | 301 ${DELETE_OK}; \ |
302 else \ | |
303 ${DELETE_FAILED}; \ | |
304 fi \ | |
305 fi \ | |
306 done | |
2034
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
307 -rmdir ${DESTDIR}${plugindir} >/dev/null 2>&1 |
1763 | 308 |
309 for i in ${DATA}; do \ | |
1865 | 310 if test -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ |
1763 | 311 if rm -f ${DESTDIR}${datadir}/${PACKAGE}/$$i; then \ |
312 ${DELETE_OK}; \ | |
313 else \ | |
314 ${DELETE_FAILED}; \ | |
315 fi \ | |
316 fi \ | |
317 done | |
318 | |
319 for i in ${PROG}; do \ | |
1865 | 320 if test -f ${DESTDIR}${bindir}/$$i; then \ |
1763 | 321 if rm -f ${DESTDIR}${bindir}/$$i; then \ |
322 ${DELETE_OK}; \ | |
323 else \ | |
324 ${DELETE_FAILED}; \ | |
325 fi \ | |
326 fi \ | |
327 done | |
328 | |
329 for i in ${INCLUDES}; do \ | |
1865 | 330 if test -f ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ |
1763 | 331 if rm -f ${DESTDIR}${includedir}/${includesubdir}/$$i; then \ |
332 ${DELETE_OK}; \ | |
333 else \ | |
334 ${DELETE_FAILED}; \ | |
335 fi \ | |
336 fi \ | |
337 done | |
338 -rmdir ${DESTDIR}${includedir}/${includesubdir} >/dev/null 2>&1 | |
339 | |
340 for i in ${MAN}; do \ | |
1865 | 341 if test -f ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ |
1763 | 342 if rm -f ${DESTDIR}${mandir}/${mansubdir}/$$i; then \ |
343 ${DELETE_OK}; \ | |
344 else \ | |
345 ${DELETE_FAILED}; \ | |
346 fi \ | |
347 fi \ | |
348 done | |
349 | |
350 uninstall-extra: | |
351 | |
352 clean: | |
353 for i in ${SUBDIRS}; do \ | |
354 ${DIR_ENTER}; \ | |
355 ${MAKE} ${MFLAGS} clean || exit 1; \ | |
356 ${DIR_LEAVE}; \ | |
357 done | |
358 | |
2374
179821cb7dca
Fix a possible bug in dependency generation.
Jonathan Schleifer <js-audacious@webkeks.org>
parents:
2373
diff
changeset
|
359 for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps ${DEPS}; do \ |
1865 | 360 if test -f $$i -o -d $$i; then \ |
1763 | 361 if rm -fr $$i; then \ |
362 ${DELETE_OK}; \ | |
363 else \ | |
364 ${DELETE_FAILED}; \ | |
365 fi \ | |
366 fi \ | |
367 done | |
368 | |
369 distclean: clean | |
370 for i in ${SUBDIRS}; do \ | |
371 ${DIR_ENTER}; \ | |
372 ${MAKE} ${MFLAGS} distclean || exit 1; \ | |
373 ${DIR_LEAVE}; \ | |
374 done | |
375 | |
1973
f86cb7fc1d4f
Add -pipe -Wall if gcc and fix a few warnings.
Jonathan Schleifer <js@h3c.de>
parents:
1918
diff
changeset
|
376 for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} *~; do \ |
1865 | 377 if test -f $$i -o -d $$i; then \ |
1763 | 378 if rm -fr $$i; then \ |
379 ${DELETE_OK}; \ | |
380 else \ | |
381 ${DELETE_FAILED}; \ | |
382 fi \ | |
383 fi \ | |
384 done | |
385 | |
2034
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
386 DIR_ENTER = printf "\033[K\033[0;36mEntering directory \033[1;36m$$i\033[0;36m.\033[0m\n"; cd $$i || exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
387 DIR_LEAVE = printf "\033[K\033[0;36mLeaving directory \033[1;36m$$i\033[0;36m.\033[0m\n"; cd .. || exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
388 DEPEND_STATUS = printf "\033[K\033[0;33mGenerating dependencies...\033[0m\r" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
389 DEPEND_OK = printf "\033[K\033[0;32mSuccessfully generated dependencies.\033[0m\n" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
390 DEPEND_FAILED = printf "\033[K\033[0;31mFailed to generate dependencies!\033[0m\n"; exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
391 COMPILE_STATUS = printf "\033[K\033[0;33mCompiling \033[1;33m$<\033[0;33m...\033[0m\r" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
392 COMPILE_OK = printf "\033[K\033[0;32mSuccessfully compiled \033[1;32m$<\033[0;32m.\033[0m\n" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
393 COMPILE_FAILED = printf "\033[K\033[0;31mFailed to compile \033[1;31m$<\033[0;31m!\033[0m\n"; exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
394 LINK_STATUS = printf "\033[K\033[0;33mLinking \033[1;33m$@\033[0;33m...\033[0m\r" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
395 LINK_OK = printf "\033[K\033[0;32mSuccessfully linked \033[1;32m$@\033[0;32m.\033[0m\n" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
396 LINK_FAILED = printf "\033[K\033[0;31mFailed to link \033[1;31m$@\033[0;31m!\033[0m\n"; exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
397 INSTALL_STATUS = printf "\033[K\033[0;33mInstalling \033[1;33m$$i\033[0;33m...\033[0m\r" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
398 INSTALL_OK = printf "\033[K\033[0;32mSuccessfully installed \033[1;32m$$i\033[0;32m.\033[0m\n" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
399 INSTALL_FAILED = printf "\033[K\033[0;31mFailed to install \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1 |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
400 DELETE_OK = printf "\033[K\033[0;34mDeleted \033[1;34m$$i\033[0;34m.\033[0m\n" |
a21cc1e45080
Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents:
2015
diff
changeset
|
401 DELETE_FAILED = printf "\033[K\033[0;31mFailed to delete \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1 |
1763 | 402 |
403 -include .deps |