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.
This commit is contained in:
lukem 2003-11-24 05:44:59 +00:00
parent 0457f27ac6
commit 185c65a241

View File

@ -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 @@ _MKMSG_YACC?= ${_MKMSG} " yacc "
_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_)