]> Zhao Yanbai Git Server - minix.git/commitdiff
core is not cleaned in libraries
authorTomas Hruby <tom@minix3.org>
Wed, 6 Feb 2013 16:11:03 +0000 (16:11 +0000)
committerLionel Sambuc <lionel@minix3.org>
Mon, 25 Mar 2013 15:51:25 +0000 (16:51 +0100)
- according to Lionel, no such files are generated

- it conflicts with the core subdirectory in liblwip

share/mk/bsd.lib.mk

index 622b7a916749d1d46b06d4ec4c9a5e7b7550641a..2e329665f5b421c72702663bfe03af9d0e7a4fcb 100644 (file)
@@ -640,7 +640,11 @@ libclean2: .PHONY .MADE __cleanuse LIBCLEANFILES2
 libclean3: .PHONY .MADE __cleanuse LIBCLEANFILES3
 libclean4: .PHONY .MADE __cleanuse LIBCLEANFILES4
 libclean5: .PHONY .MADE __cleanuse LIBCLEANFILES5
-CLEANFILES+= a.out [Ee]rrs mklog core *.core
+CLEANFILES+= a.out [Ee]rrs mklog *.core
+# core conflicts with core/ in lib/liblwip
+.if !defined(__MINIX)
+CLEANFILES+=core
+.endif
 LIBCLEANFILES1+= lib${LIB}.a   ${STOBJS} ${STOBJS:=.tmp}
 LIBCLEANFILES2+= lib${LIB}_p.a ${POBJS}  ${POBJS:=.tmp}
 LIBCLEANFILES3+= lib${LIB}_g.a ${GOBJS}  ${GOBJS:=.tmp}