Source-Changes-HG archive

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

[src/trunk]: src/share/mk In _MKTARGET_*, use ${.CURDIR:T} instead of ${.OBJD...



details:   https://anonhg.NetBSD.org/src/rev/80d7679ac351
branches:  trunk
changeset: 555649:80d7679ac351
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Nov 24 05:44:59 2003 +0000

description:
In _MKTARGET_*, use ${.CURDIR:T} instead of ${.OBJDIR:T}, because that's more
useful when using actual 'obj' dirs.  Suggested by Alan Barrett, with some
tweaks by me.

diffstat:

 share/mk/bsd.own.mk |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r 31348bc28f0c -r 80d7679ac351 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Nov 24 04:59:24 2003 +0000
+++ b/share/mk/bsd.own.mk       Mon Nov 24 05:44:59 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.393 2003/11/22 21:53:28 lukem Exp $
+#      $NetBSD: bsd.own.mk,v 1.394 2003/11/24 05:44:59 lukem Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -758,14 +758,14 @@
 _MKSHMSG_CREATE?=      ${_MKSHMSG} " create "
 _MKSHMSG_INSTALL?=     ${_MKSHMSG} "install "
 
-_MKTARGET_BUILD?=      ${_MKMSG_BUILD} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_CREATE?=     ${_MKMSG_CREATE} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_COMPILE?=    ${_MKMSG_COMPILE} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_FORMAT?=     ${_MKMSG_FORMAT} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_INSTALL?=    ${_MKMSG_INSTALL} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_LINK?=       ${_MKMSG_LINK} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_LEX?=                ${_MKMSG_LEX} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_REMOVE?=     ${_MKMSG_REMOVE} ${.OBJDIR:T}/${.TARGET}
-_MKTARGET_YACC?=       ${_MKMSG_YACC} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_BUILD?=      ${_MKMSG_BUILD} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_CREATE?=     ${_MKMSG_CREATE} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_COMPILE?=    ${_MKMSG_COMPILE} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_FORMAT?=     ${_MKMSG_FORMAT} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_INSTALL?=    ${_MKMSG_INSTALL} ${.TARGET}
+_MKTARGET_LINK?=       ${_MKMSG_LINK} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_LEX?=                ${_MKMSG_LEX} ${.CURDIR:T}/${.TARGET}
+_MKTARGET_REMOVE?=     ${_MKMSG_REMOVE} ${.TARGET}
+_MKTARGET_YACC?=       ${_MKMSG_YACC} ${.CURDIR:T}/${.TARGET}
 
 .endif # !defined(_BSD_OWN_MK_)



Home | Main Index | Thread Index | Old Index