Module Name:    src
Committed By:   uebayasi
Date:           Sun Dec  6 06:30:52 UTC 2009

Modified Files:
        src/lib/libc: Makefile

Log Message:
Make the local "tags" target an absolute path, ${.OBJDIR}/tags, otherwise
it conflicts with the "tags" target defined in bsd.own.mk, which is .PHONY,
which causes you to re-build "tags" everytime you re-run make.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/lib/libc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/Makefile
diff -u src/lib/libc/Makefile:1.138 src/lib/libc/Makefile:1.139
--- src/lib/libc/Makefile:1.138	Tue Aug 11 17:29:04 2009
+++ src/lib/libc/Makefile	Sun Dec  6 06:30:52 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.138 2009/08/11 17:29:04 dsl Exp $
+#	$NetBSD: Makefile,v 1.139 2009/12/06 06:30:52 uebayasi Exp $
 #	@(#)Makefile	8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -114,15 +114,15 @@
 NLS=	C.msg Pig.msg ca.msg cs.msg de.msg es.msg fi.msg fr.msg nl.msg \
 	no.msg pl.msg sk.msg sv.msg
 
-realall: tags
-tags: ${SRCS}
+realall: ${.OBJDIR}/tags
+${.OBJDIR}/tags: ${SRCS}
 	${_MKTARGET_CREATE}
 	-${TOOL_CTAGS} -w ${.ALLSRC:M*.c}
 	-egrep "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /dev/null ${.ALLSRC:M*.S} | \
 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
 	    >> ${.TARGET}; sort -o ${.TARGET} ${.TARGET}
 
-FILES=		tags
+FILES=		${.OBJDIR}/tags
 FILESNAME=	libc.tags
 FILESDIR=	/var/db
 

Reply via email to