Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 better dependency handling
details: https://anonhg.NetBSD.org/src/rev/371238896161
branches: trunk
changeset: 761709:371238896161
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 05 19:13:48 2011 +0000
description:
better dependency handling
diffstat:
usr.bin/xlint/lint1/Makefile.ops-c | 7 +++----
usr.bin/xlint/lint1/Makefile.ops-h | 8 ++++----
2 files changed, 7 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 0d85f3bf8c5c -r 371238896161 usr.bin/xlint/lint1/Makefile.ops-c
--- a/usr.bin/xlint/lint1/Makefile.ops-c Sat Feb 05 19:10:40 2011 +0000
+++ b/usr.bin/xlint/lint1/Makefile.ops-c Sat Feb 05 19:13:48 2011 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile.ops-c,v 1.2 2011/02/05 03:09:46 christos Exp $
+# $NetBSD: Makefile.ops-c,v 1.3 2011/02/05 19:13:48 christos Exp $
-ops.c: ops.def
+ops.c: mkops ops.def Makefile.ops-c
${_MKTARGET_CREATE}
- AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -c ${.ALLSRC} > ${.TARGET}
+ AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -c ${.ALLSRC:M*ops.def} > ${.TARGET}
SRCS+= ops.c
CLEANFILES+= ops.c
-DPSRCS+= ops.c
diff -r 0d85f3bf8c5c -r 371238896161 usr.bin/xlint/lint1/Makefile.ops-h
--- a/usr.bin/xlint/lint1/Makefile.ops-h Sat Feb 05 19:10:40 2011 +0000
+++ b/usr.bin/xlint/lint1/Makefile.ops-h Sat Feb 05 19:13:48 2011 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.ops-h,v 1.2 2011/02/05 03:09:46 christos Exp $
+# $NetBSD: Makefile.ops-h,v 1.3 2011/02/05 19:13:48 christos Exp $
-ops.h: ops.def
+ops.h: ops.def mkops Makefile.ops-h
${_MKTARGET_CREATE}
- AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -h ${.ALLSRC} > ${.TARGET}
+ AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -h ${.ALLSRC:M*ops.def} > ${.TARGET}
CLEANFILES+= ops.h
+DPSRCS+= ops.h
op.h: ops.h
-.BEGIN: ops.h
Home |
Main Index |
Thread Index |
Old Index