#! /bin/csh
#
# MAKELINKS
#

set h = `arch`
set p = $PRO

set flinks = ( aedit annotddt annotedit annotview formview dbg dbgview display \
	disptype fprof transcript typeedit userio viewevent viewstack \
	viewtrace xref xrefview meadow flowview annottango annotdemo dbgtango \
	gdbgview gdbgtango gdbg codeview pseudoview codetango tangosetup stepview \
	cbrowse VT)

set binarys = ( ddt/bin.$h/ddt \
	ddt/bin.$h/ddtfilter \
	annot/bin.$h/fixannot \
	field/bin.$h/field \
	fprof/bin.$h/fieldgprof \
	msg/bin.$h/msgserver \
	xref/bin.$h/xrefdb \
	xref/bin.$h/xrefscan \
	xref/bin.$h/xrefcpscan \
	xref/bin.$h/xrefpscan )

rm -rf $h

mkdir $h

cd $h

foreach i ($binarys)
   ln -s ../../$i
end

foreach i ($flinks)
   ln -s field $i
end

ln -s ddt gddt
