Module Name: src
Committed By: christos
Date: Sat Feb 5 19:13:48 UTC 2011
Modified Files:
src/usr.bin/xlint/lint1: Makefile.ops-c Makefile.ops-h
Log Message:
better dependency handling
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/xlint/lint1/Makefile.ops-c \
src/usr.bin/xlint/lint1/Makefile.ops-h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/Makefile.ops-c
diff -u src/usr.bin/xlint/lint1/Makefile.ops-c:1.2 src/usr.bin/xlint/lint1/Makefile.ops-c:1.3
--- src/usr.bin/xlint/lint1/Makefile.ops-c:1.2 Fri Feb 4 22:09:46 2011
+++ src/usr.bin/xlint/lint1/Makefile.ops-c Sat Feb 5 14:13:48 2011
@@ -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
Index: src/usr.bin/xlint/lint1/Makefile.ops-h
diff -u src/usr.bin/xlint/lint1/Makefile.ops-h:1.2 src/usr.bin/xlint/lint1/Makefile.ops-h:1.3
--- src/usr.bin/xlint/lint1/Makefile.ops-h:1.2 Fri Feb 4 22:09:46 2011
+++ src/usr.bin/xlint/lint1/Makefile.ops-h Sat Feb 5 14:13:48 2011
@@ -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