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.
This commit is contained in:
parent
f0d2ed931c
commit
c1fa6bf05b
@ -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 @@ LSRCS := ${LSRCS} ${unwanted_file}
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user