SKIPPED: psi/makefile psi/psi.c psi/tecsdriv.c psi/tecsdriv.h psi/hardsup/makefile psi/tecs/coc_client.c psi/tecs/coc_util.c psi/tecs/coc_util.h psi/tecs/didi psi/tecs/instr_hosts.c psi/tecs/make_gen psi/tecs/makefile psi/tecs/makefile_linux psi/tecs/myc_time.h psi/tecs/six.c psi/tecs/tecs.c psi/tecs/tecs_cli.c psi/tecs/tecs_client.f psi/tecs/tecs_data.c psi/tecs/tecs_plot.f psi/tecs/tecs_serial.c psi/tecs/term.c psi/utils/makefile
39 lines
689 B
Tcsh
Executable File
39 lines
689 B
Tcsh
Executable File
#!/bin/tcsh
|
|
# create the version specific object tree
|
|
#
|
|
# M.Zolliker 08.2003
|
|
#
|
|
if ("$SICS_VERSION" == "") then
|
|
|
|
echo SICS_VERSION undefined
|
|
|
|
else
|
|
|
|
if (${0:h} != $0) then
|
|
cd ${0:h}
|
|
endif
|
|
set SICS_ROOT=$PWD
|
|
|
|
# determine object directory
|
|
set o="$SICS_ROOT/obj/$SICS_VERSION/$1"
|
|
|
|
# determine makefile
|
|
set m="$SICS_ROOT/$1/makefile_$SICS_VERSION"
|
|
|
|
if (-e $m) then
|
|
if (! -e $o) then
|
|
echo create directory $o
|
|
mkdir -p $o
|
|
else
|
|
echo $o exists
|
|
endif
|
|
rm -f $o/src
|
|
echo ln -s $SICS_ROOT/$1 $o/src
|
|
ln -s $SICS_ROOT/$1 $o/src
|
|
ln -s $o $SICS_ROOT/$1/$SICS_VERSION
|
|
rm -f $o/cd_obj
|
|
echo "cd $SICS_ROOT/$1" > $o/cd_obj
|
|
endif
|
|
endif
|
|
|