Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc Make the local "tags" target an absolute path, ${.O...
details: https://anonhg.NetBSD.org/src/rev/0a752528919f
branches: trunk
changeset: 749697:0a752528919f
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Dec 06 06:30:52 2009 +0000
description:
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.
diffstat:
lib/libc/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r ed8fa11dad34 -r 0a752528919f lib/libc/Makefile
--- a/lib/libc/Makefile Sun Dec 06 05:34:42 2009 +0000
+++ b/lib/libc/Makefile Sun Dec 06 06:30:52 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index