From 89d263e08cfe28f3e267beb7f9368c06ee950b27 Mon Sep 17 00:00:00 2001 From: cas Date: Fri, 6 Jul 2001 18:20:43 +0000 Subject: [PATCH] No comments --- src/WOKStepsDef/FRONTAL.edl | 215 ++++++++++++++++++++++++++++++++++++ 1 file changed, 215 insertions(+) diff --git a/src/WOKStepsDef/FRONTAL.edl b/src/WOKStepsDef/FRONTAL.edl index d48982f..aab013c 100755 --- a/src/WOKStepsDef/FRONTAL.edl +++ b/src/WOKStepsDef/FRONTAL.edl @@ -1,3 +1,109 @@ +@template FRONTAL_NewFrontalScript(%InterpretorFile, %CCLFile, %CoreFile) is +$#!/bin/csh -f +$## this is a template file for Frontal Building +$## lines added by umake : +$# +$set CCL_INTERPRETOR=%InterpretorFile +$set CCL_FILE=%CCLFile +$setenv CCL_BIN %CoreFile +$# +$setenv CSF_VERBOSE 0 +$set CCL_DEBUGGER="exec" +$set LOGFILE=0 +$# +$set i = 1 +$while ($i <= $#argv) +$ set c = $argv[$i] +$ set i = `expr $i + 1` +$ if (`expr $c = -h`) then +$ echo "-f " +$ echo "-v : set verbose mode" +$ echo "-w : print stack on error" +$ echo "-d : start a debug session on error" +$ echo "-record : record a session" +$ echo "-play : play a record session" +$ echo "-reference : set reference directory for record session" +$ echo "-result : set result directory for record session" +$ echo "-trace : outputs shareable images loading and diagnostics" +$ echo "-debug : start CCL with debug" +$ echo "-log : outputs in file" +$ exit(0) +$ endif +$ if (`expr $c = -f`) then +$ setenv CCL_FILE $argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -showcode`) then +$ setenv CCL_CODE 1 +$ endif +$ if (`expr $c = -v`) then +$ setenv CCL_VERBOSE 1 +$ endif +$ if (`expr $c = -w`) then +$ setenv CCL_WHERE 1 +$ endif +$ if (`expr $c = -d`) then +$ setenv CCL_DEBUG 1 +$ endif +$ if (`expr $c = -util`) then +$ setenv CCL_UTIL 1 +$ endif +$ if (`expr $c = -trace`) then +$ setenv CSF_VERBOSE 1 +$ endif +$ if (`expr $c = -record`) then +$ setenv TR_Status record +$ setenv TR_File $argv[$i] +$ set i = `expr $i + 1` +$ setenv TR_Comment $argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -play`) then +$ setenv TR_Status play +$ setenv TR_File $argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -reference`) then +$ setenv TR_RefDir $argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -result`) then +$ setenv TR_ResDir $argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -log`) then +$ set LOGFILE=$argv[$i] +$ set i = `expr $i + 1` +$ endif +$ if (`expr $c = -debug`) then +$ set CCL_DEBUGGER="dbx" +$ if (`expr $STATION = ao1` ) then +$ set CCL_DEBUGGER="decladebug" +$ endif +$ if (`expr $STATION = sil` ) then +$ set CCL_DEBUGGER="cvd" +$ setenv TRAP_FPE "UNDERFL=FLUSH_ZERO;OVERFL=DEFAULT;DIVZERO=DEFAULT;INT_OVERFL=DEFAULT" +$ endif +$ if (`expr $STATION = hp` ) then +$ set CCL_DEBUGGER="dde" +$ endif +$ echo "$CCL_FILE -call session-make-bin" +$ endif +$end +$if (`expr $CCL_DEBUGGER = exec` ) then +$ if (`expr $LOGFILE = 0` ) then +$ exec $CCL_INTERPRETOR $CCL_FILE -call session-make-bin +$ else +$ exec $CCL_INTERPRETOR $CCL_FILE -call session-make-bin > $LOGFILE +$ endif +$else +$ $CCL_DEBUGGER $CCL_INTERPRETOR +$endif +$ +@end; + + + @template FRONTAL_FrontalScript(%LeLispFile, %CoreFile) is $#!/bin/csh -f $## this is a template file for Frontal Building @@ -102,6 +208,7 @@ $ @end; + @if (%Station == "wnt") then @template FRONTAL_CCLScript(%CCLFile,%MsgFile,%MsgCmpFile) is @@ -298,4 +405,112 @@ $ $CCL_DEBUGGER `which CCLinterpretor` $endif @end; +@template FRONTAL_BINScript(%BINFile,%MsgFile,%MsgCmpFile) is +$#!/bin/csh -f +$## this is a template file for Frontal Building +$## lines built by umake : +$# +$setenv CSF_VERBOSE 0 +$set CCL_DEBUGGER="exec" +$set LOGFILE=0 +$set BIN_FILE=%BINFile +$ +$set i = 1 +$set opts = "" +$while ($i <= $#argv) +$ set c = $argv[$i] +$ set i = `expr $i + 1` +$ set treated = 0 +$ if (`expr $c = -h`) then +$ echo "-play : play a record session" +$ echo "-record : record a session" +$ echo "-reference : set reference directory for record session" +$ echo "-result : set result directory for record session" +$ echo "-f : load a file" +$ echo "-v : set verbose mode" +$ echo "-w : print stack on error" +$ echo "-d : start a debug session on error" +$ echo "-spy : trace macros, commands and all engine requests" +$ echo "-call : call the macro (start is default)" +$ echo "-trace : outputs shareable images loading and diagnostics" +$ echo "-log : outputs in a file" +$ echo "-debug : start CCL with debugger" +$ echo " ... : load these files" +$ exit(0) +$ endif +$ if (`expr $c = -record`) then +$ setenv TR_Status record +$ setenv TR_File $argv[$i] +$ set i = `expr $i + 1` +$ setenv TR_Comment $argv[$i] +$ set i = `expr $i + 1` +$ set treated = 1 +$ endif +$ if (`expr $c = -play`) then +$ setenv TR_Status play +$ setenv TR_File $argv[$i] +$ set i = `expr $i + 1` +$ set treated = 1 +$ endif +$ if (`expr $c = -reference`) then +$ setenv TR_RefDir $argv[$i] +$ set i = `expr $i + 1` +$ set treated = 1 +$ endif +$ if (`expr $c = -result`) then +$ setenv TR_ResDir $argv[$i] +$ set i = `expr $i + 1` +$ set treated = 1 +$ endif +$ if (`expr $c = -f`) then +$ set treated = 1 +$ endif +$ if (`expr $c = -trace`) then +$ setenv CSF_VERBOSE 1 +$ set treated = 1 +$ endif +$ if (`expr $c = -log`) then +$ set LOGFILE=$argv[$i] +$ set i = `expr $i + 1` +$ set treated = 1 +$ endif +$ if (`expr $c = -debug`) then +$ set treated = 1 +$ set CCL_DEBUGGER="dbx" +$ if (`expr $STATION = ao1`) then +$ set CCL_DEBUGGER="decladebug" +$ endif +$ if (`expr $STATION = sil`) then +$ set CCL_DEBUGGER="cvd" +$ setenv TRAP_FPE "UNDERFL=FLUSH_ZERO;OVERFL=DEFAULT;DIVZERO=DEFAULT;INT_OVERFL=DEFAULT" +$ endif +$ if (`expr $STATION = hp`) then +$ set CCL_DEBUGGER="dde" +$ endif +$ endif +$ if ($treated == 0) then +$ set opts = "$opts $c" +$ endif +$end +$ +$if ( ! $?CSF_MESSAGE ) then +$ if (-x %MsgCmpFile) then +$ setenv CSF_MESSAGE %MsgCmpFile +$ else +$ setenv CSF_MESSAGE %MsgFile +$ endif +$endif +$ +$if (`expr $CCL_DEBUGGER = exec`) then +$ if (`expr $LOGFILE = 0`) then +$ CCLinterpretor -session $BIN_FILE $opts -call start +$ else +$ CCLinterpretor -session $BIN_FILE $opts -call start >$LOGFILE +$ endif +$else +$ echo " -session $BIN_FILE $opts -call start" +$ $CCL_DEBUGGER `which CCLinterpretor` +$endif +@end; + @endif; -- 2.39.5