diff --git a/lib/libc/Makefile b/lib/libc/Makefile index c5462da99715..772f2d9edbd1 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -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}