make the "tags" target non-.PHONY because it reflects a real file,
and remove some nonsense in libc Makefile which caused that a "tags" file was written in my source tree
This commit is contained in:
parent
7f0da11c1a
commit
53cdf0b54e
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.144 2011/03/09 23:10:06 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.145 2011/05/27 17:06:55 drochner Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
|
@ -123,15 +123,14 @@ 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: ${.OBJDIR}/tags
|
||||
${.OBJDIR}/tags: ${SRCS}
|
||||
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= ${.OBJDIR}/tags
|
||||
FILES= tags
|
||||
FILESNAME= libc.tags
|
||||
FILESDIR= /var/db
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.own.mk,v 1.668 2011/05/20 16:02:23 plunky Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.669 2011/05/27 17:06:54 drochner Exp $
|
||||
|
||||
# This needs to be before bsd.init.mk
|
||||
.if defined(BSD_MK_COMPAT_FILE)
|
||||
|
@ -653,7 +653,7 @@ RUMPKMOD= # defined
|
|||
TARGETS+= all clean cleandir depend dependall includes \
|
||||
install lint obj regress tags html
|
||||
PHONY_NOTMAIN = all clean cleandir depend dependall distclean includes \
|
||||
install lint obj regress tags beforedepend afterdepend \
|
||||
install lint obj regress beforedepend afterdepend \
|
||||
beforeinstall afterinstall realinstall realdepend realall \
|
||||
html subdir-all subdir-install subdir-depend
|
||||
.PHONY: ${PHONY_NOTMAIN}
|
||||
|
|
Loading…
Reference in New Issue