version 1.1, 1995/10/18 08:44:46 |
version 1.2, 1996/03/05 11:12:53 |
|
|
# $NetBSD: bsd.obj.mk,v 1.7 1995/06/10 20:46:35 mycroft Exp $ |
# $OpenBSD$ |
|
# $NetBSD: bsd.obj.mk,v 1.8 1996/02/21 10:02:00 pk Exp $ |
|
|
.if !target(obj) |
.if !target(obj) |
.if defined(NOOBJ) |
.if defined(NOOBJ) |
|
|
|
|
obj: _SUBDIRUSE |
obj: _SUBDIRUSE |
@cd ${.CURDIR}; rm -f ${__objdir} > /dev/null 2>&1 || true; \ |
@cd ${.CURDIR}; rm -f ${__objdir} > /dev/null 2>&1 || true; \ |
here=`pwd`; subdir=`echo $$here | sed 's,^${BSDSRCDIR}/,,'`; \ |
here=`pwd`; subdir=$${here#${BSDSRCDIR}/}; \ |
if test $$here != $$subdir ; then \ |
if test $$here != $$subdir ; then \ |
dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \ |
dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \ |
echo "$$here/${__objdir} -> $$dest"; \ |
echo "$$here/${__objdir} -> $$dest"; \ |