version 1.1.1.1, 1993/03/21 09:45:37 |
version 1.3, 1993/03/23 07:26:55 |
Line 153 lint: ${SRCS} _PROGSUBDIR |
|
Line 153 lint: ${SRCS} _PROGSUBDIR |
|
obj: _PROGSUBDIR |
obj: _PROGSUBDIR |
.else |
.else |
obj: _PROGSUBDIR |
obj: _PROGSUBDIR |
@cd ${.CURDIR}; rm -rf obj; \ |
@cd ${.CURDIR}; rm -f obj > /dev/null 2>&1 || true; \ |
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 \ |
dest=/usr/obj/$$subdir ; \ |
mkdir -p $$dest; \ |
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 ; \ |
|
echo "making $$here/obj" ; \ |
|
if test ! -d obj ; then \ |
|
mkdir $$here/obj; \ |
|
fi ; \ |
fi; |
fi; |
.endif |
.endif |
.endif |
.endif |