Source-Changes-HG archive

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

[src/trunk]: src/share/mk use ${.PREFIX} instead of ${.TARGET:R}



details:   https://anonhg.NetBSD.org/src/rev/2a0b4bb6b144
branches:  trunk
changeset: 554509:2a0b4bb6b144
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Oct 29 02:10:57 2003 +0000

description:
use ${.PREFIX} instead of ${.TARGET:R}

diffstat:

 share/mk/bsd.sys.mk |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 5806ab681cf9 -r 2a0b4bb6b144 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Wed Oct 29 02:02:05 2003 +0000
+++ b/share/mk/bsd.sys.mk       Wed Oct 29 02:10:57 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.105 2003/10/21 16:36:58 lukem Exp $
+#      $NetBSD: bsd.sys.mk,v 1.106 2003/10/29 02:10:57 lukem Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -194,9 +194,9 @@
 .l.o: # remove to force use of .l.c->.c.o transforms
 .l:
        ${_MKTARGET_LEX}
-       ${LEX.l} -o${.TARGET:R}.${LPREFIX}.c ${.IMPSRC}
-       ${LINK.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -o ${.TARGET} ${.TARGET:R}.${LPREFIX}.c ${LDLIBS} -ll
-       rm -f ${.TARGET:R}.${LPREFIX}.c
+       ${LEX.l} -o${.PREFIX}.${LPREFIX}.c ${.IMPSRC}
+       ${LINK.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -o ${.TARGET} ${.PREFIX}.${LPREFIX}.c ${LDLIBS} -ll
+       rm -f ${.PREFIX}.${LPREFIX}.c
 .l.c:
        ${_MKTARGET_LEX}
        ${LEX.l} -o${.TARGET} ${.IMPSRC}
@@ -207,9 +207,9 @@
 .y.o: # remove to force use of .y.c->.c.o transforms
 .y:
        ${_MKTARGET_YACC}
-       ${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
-       ${LINK.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -o ${.TARGET} ${.TARGET:R}.tab.c ${LDLIBS}
-       rm -f ${.TARGET:R}.tab.[ch]
+       ${YACC.y} -b ${.PREFIX} ${.IMPSRC}
+       ${LINK.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -o ${.TARGET} ${.PREFIX}.tab.c ${LDLIBS}
+       rm -f ${.PREFIX}.tab.[ch]
 .y.c:
        ${_MKTARGET_YACC}
        ${YACC.y} -o ${.TARGET} ${.IMPSRC}



Home | Main Index | Thread Index | Old Index