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 fix tools build. Why doesn't .PARSEDIR w...



details:   https://anonhg.NetBSD.org/src/rev/11b291ade125
branches:  trunk
changeset: 761680:11b291ade125
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 05 03:09:46 2011 +0000

description:
fix tools build. Why doesn't .PARSEDIR work?

diffstat:

 usr.bin/xlint/lint1/Makefile.ops-c |  4 ++--
 usr.bin/xlint/lint1/Makefile.ops-h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 58fb5c41ddca -r 11b291ade125 usr.bin/xlint/lint1/Makefile.ops-c
--- a/usr.bin/xlint/lint1/Makefile.ops-c        Sat Feb 05 01:22:12 2011 +0000
+++ b/usr.bin/xlint/lint1/Makefile.ops-c        Sat Feb 05 03:09:46 2011 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile.ops-c,v 1.1 2011/02/04 23:32:44 christos Exp $
+#      $NetBSD: Makefile.ops-c,v 1.2 2011/02/05 03:09:46 christos Exp $
 
 ops.c: ops.def
        ${_MKTARGET_CREATE}
-       AWK=${TOOL_AWK:Q} ${HOST_SH} ${.CURDIR}/mkops -c ${.ALLSRC} > ${.TARGET}
+       AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -c ${.ALLSRC} > ${.TARGET}
 
 SRCS+=         ops.c
 CLEANFILES+=   ops.c
diff -r 58fb5c41ddca -r 11b291ade125 usr.bin/xlint/lint1/Makefile.ops-h
--- a/usr.bin/xlint/lint1/Makefile.ops-h        Sat Feb 05 01:22:12 2011 +0000
+++ b/usr.bin/xlint/lint1/Makefile.ops-h        Sat Feb 05 03:09:46 2011 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile.ops-h,v 1.1 2011/02/04 23:32:44 christos Exp $
+#      $NetBSD: Makefile.ops-h,v 1.2 2011/02/05 03:09:46 christos Exp $
 
 ops.h: ops.def
        ${_MKTARGET_CREATE}
-       AWK=${TOOL_AWK:Q} ${HOST_SH} ${.CURDIR}/mkops -h ${.ALLSRC} > ${.TARGET}
+       AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -h ${.ALLSRC} > ${.TARGET}
 
 CLEANFILES+=   ops.h
 



Home | Main Index | Thread Index | Old Index