| version 1.1, 1993/03/21 09:45:37 |
version 1.2, 1993/03/22 08:09:36 |
|
|
| obj: |
obj: |
| .else |
.else |
| obj: |
obj: |
| @cd ${.CURDIR}; rm -rf obj; \ |
@cd ${.CURDIR}; \ |
| here=`pwd`; dest=/usr/obj/`echo $$here | sed 's,/usr/src/,,'`; \ |
here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \ |
| echo "$$here -> $$dest"; ln -s $$dest obj; \ |
if test $$here != $$subdir ; then \ |
| if test -d /usr/obj -a ! -d $$dest; then \ |
rm -rf obj; \ |
| mkdir -p $$dest; \ |
dest=/usr/obj/$$subdir ; \ |
| |
echo "$$here -> $$dest"; ln -s $$dest obj; \ |
| |
if test -d /usr/obj -a ! -d $$dest; then \ |
| |
mkdir -p $$dest; \ |
| |
else \ |
| |
true; \ |
| |
fi; \ |
| else \ |
else \ |
| true; \ |
true ; \ |
| |
dest=$$here/obj ; \ |
| |
/bin/rm -f $$dest 2> /dev/null || true; \ |
| |
echo "making $$here/obj" ; \ |
| |
if test ! -d obj ; then \ |
| |
mkdir $$here/obj; \ |
| |
fi; \ |
| fi; |
fi; |
| .endif |
.endif |
| .endif |
.endif |