#!/usr/bin/ksh# Begin Module Header ==============================================================================##------# Name:#------## make_links_for_mda_global_tclprocs.ksh##---------# Purpose:#---------## Create all the $HCIROOT/tclprocs symbolic links for all *.tcl file in the mda_global site.##-------# Notes:#-------## will remove any existing links in the $HCIROOT/tclprocs directory and# will remove $HCIROOT/mda_global/tclprocs/tclIndex if it exists and# will do mktclindex for the $HCIROOT/tclprocs directory##---------# History:#---------## 2000.08.22 Russ Ross# - wrote initial version## 2003.01.08 Russ Ross# - modified to create absolute paths in the links to adhere to team standard## End of Module Header =============================================================================#-------------------------------------------------------------# remove any existing links in the $HCIROOT/tclprocs directory# and chmod -rw-rw-r-- all the mda_global TCL files#-------------------------------------------------------------echo ==========cd $HCIROOT/tclprocschmod 664 *mda_global_link_list=`ls -l | grep ^l | awk '{print $9}'`for mda_global_link in $mda_global_link_list; do echo Deleting link $mda_global_link rm $mda_global_linkdone#----------------------------------------------------------# get list of tcl file that will need links created and# remove $HCIROOT/mda_global/tclprocs/tclIndex if it exists#----------------------------------------------------------cd $HCIROOT/mda_global/tclprocstcl_file_list=`ls *.tcl|sort`rm -f tclIndex#-------------------------------------------# create the symbolic links#-------------------------------------------echo ==========cd $HCIROOT/tclprocsfor tcl_file in $tcl_file_list; do echo creating link for $tcl_file ln -s $HCIROOT/mda_global/tclprocs/$tcl_file $tcl_filedone#--------------------------------------------------# do mktclindex for the $HCIROOT/tclprocs directory#--------------------------------------------------echo ==========echo Making TCL index filemktclindex
set auto_index(cljTPS) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(cljXLTStrings) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(cljXLTObjects) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(cljTrxid) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetStrings_grm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetStrings_xpm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetObjects_grm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetObjects_xpm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetString_grm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetString_xpm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetObject_grm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(Rm_GetObject_xpm) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(SpliceStacks) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(jtpsRun) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(jtpsStart) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(jtpsTime) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]set auto_index(jtrxidProcess) [list SourceFilter [file join $dir ../tcl/lib/tfc/cloverleafJava.tcl]]