version 1.2, 1996/03/05 11:12:53 |
version 1.3, 1996/04/22 01:28:34 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
# $NetBSD: bsd.obj.mk,v 1.8 1996/02/21 10:02:00 pk Exp $ |
# $NetBSD: bsd.obj.mk,v 1.9 1996/04/10 21:08:05 thorpej 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=$${here#${BSDSRCDIR}/}; \ |
here=`/bin/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"; \ |