add -w to ctags. got finally tired of looking at all those dup error messages

that nobody will ever fix.
This commit is contained in:
christos 2000-08-13 22:43:28 +00:00
parent cd1db4529e
commit 0aee707a3b
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.89 2000/06/02 23:11:05 fvdl Exp $
# $NetBSD: Makefile,v 1.90 2000/08/13 22:43:28 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94
#
# All library objects contain sccsid strings by default; they may be
@ -23,6 +23,8 @@ LIB= c
CPPFLAGS+= -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS \
-D_REENTRANT -I${.CURDIR}/include
CPPFLAGS+= -DINET6
# Set lint to exit on warnings and ignore 'empty translation unit' warnings.
LINTFLAGS+= -w -X 272
ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/}
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR}
@ -106,7 +108,7 @@ rm-from-libkern:
realall: ${.OBJDIR}/tags
${.OBJDIR}/tags: ${SRCS}
ctags ${.ALLSRC:M*.c}
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}