Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Don't even put Lint*.c in DPSRCS if MKLINT=no.



details:   https://anonhg.NetBSD.org/src/rev/8717416cf2c9
branches:  trunk
changeset: 521390:8717416cf2c9
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Jan 29 19:01:18 2002 +0000

description:
Don't even put Lint*.c in DPSRCS if MKLINT=no.

diffstat:

 lib/libc/sys/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 685813b0b5e8 -r 8717416cf2c9 lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Tue Jan 29 18:53:01 2002 +0000
+++ b/lib/libc/sys/Makefile.inc Tue Jan 29 19:01:18 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.123 2002/01/14 00:55:57 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.124 2002/01/29 19:01:18 tv Exp $
 #      @(#)Makefile.inc        8.3 (Berkeley) 10/24/94
 
 # sys sources
@@ -15,8 +15,10 @@
        Lint_setlogin.c Lint___sigreturn14.c Lint_syscall.c Lint___syscall.c \
        LintSysNormal.c LintSysNoerr.c LintSysPseudoNoerr.c
 
+.if ${MKLINT} != "no"
 LSRCS+=        ${_LSRC}
 DPSRCS+=${_LSRC:MLintSys*.c}
+.endif
 
 # glue to provide compatibility between GCC 1.X and 2.X and for compat
 # with old syscall interfaces.



Home | Main Index | Thread Index | Old Index