#!/bin/csh -fv

# The sources for the tftp and rarp daemons are under V/tools

mv unix/tools V/tools
set START=$cwd
ln -s $cwd/usr.V /usr/V
ln -s $cwd/V /V
test -f /usr/stanford
if ($status == 0) then
	echo /usr/stanford is a file !
endif
test -d /usr/stanford
if ($status != 0) mkdir /usr/stanford
test -d  /usr/stanford/bin
if ($status != 0) mkdir /usr/stanford/bin
cd unix/cc68.vax
foreach i(*)
	ln -s $i /usr/stanford/bin
end

cd $START/unix
ln -s etc /etc/V

cd $START/V/tools/shscripts
make -f buildfile install

cd $START/V/tools
make -f buildfile install
