diff --git a/Action b/Action new file mode 100644 index 000000000..c3c03fc0a --- /dev/null +++ b/Action @@ -0,0 +1,131 @@ +name "System definition" +dir first +action did_first +failure "You have to run the shell script first in the directory first" +fatal +end +name "EM definition" +dir etc +end +name "C preprocessor" +dir util/cpp +end +name "EM definition library" +dir util/data +end +name "Encode/Decode" +dir util/misc +end +name "Shell files in bin" +dir util/shf +end +name "EM assembler" +dir util/ass +end +name "EM Peephole optimizer" +dir util/opt +end +name "ACK archiver" +dir util/arch +end +name "Program 'ack'" +dir util/ack +end +name "Bootstrap for backend tables" +dir util/cgg +end +name "LL(1) Parser generator" +dir util/LLgen +end +name "Bootstrap for newest form of backend tables" +dir util/ncgg +end +name "C frontend" +dir lang/cem/comp +end +name "Basic frontend" +dir lang/basic/src +end +name "Intel 8086 support" +dir mach/i86 +indir +end +name "MSC6500 support" +dir mach/6500 +indir +end +name "Motorola 6800 support" +dir mach/6800 +indir +end +name "Motorola 6805 support" +dir mach/6805 +indir +end +name "Motorola 6809 support" +dir mach/6809 +indir +end +name "Intel 8080 support" +dir mach/8080 +indir +end +name "2-2 Interpreter support" +dir mach/int22 +indir +end +name "2-4 Interpreter support" +dir mach/int24 +indir +end +name "4-4 Interpreter support" +dir mach/int44 +indir +end +name "IBM PC/IX support" +dir mach/ix +indir +end +name "Motorola 68000 2-4 support" +dir mach/m68k2 +indir +end +name "NS16032 support" +dir mach/ns +indir +end +name "PDP 11 support" +dir mach/pdp +indir +end +name "PMDS support" +dir mach/pmds +indir +end +name "Signetics 2650 support" +dir mach/s2650 +indir +end +name "Vax 2-4 support" +dir mach/vax2 +indir +end +name "Vax 4-4 support" +dir mach/vax4 +indir +end +name "Z80 support" +dir mach/z80 +indir +end +name "Zilog Z8000 support" +dir mach/z8000 +indir +end +name "Nascom support" +dir mach/z80a +indir +end +name "Pascal frontend" +dir lang/pc/pem +end diff --git a/DistrAction b/DistrAction new file mode 100755 index 000000000..e36bee440 --- /dev/null +++ b/DistrAction @@ -0,0 +1 @@ +exec sh TakeAction distr distr/Action diff --git a/README b/README new file mode 100644 index 000000000..58e870f24 --- /dev/null +++ b/README @@ -0,0 +1,2 @@ +Before starting installation you should read +the file doc/install.pr diff --git a/TakeAction b/TakeAction new file mode 100755 index 000000000..7902f2937 --- /dev/null +++ b/TakeAction @@ -0,0 +1,102 @@ +case $# in +0) PAR=install ; CMD=Action ;; +1) PAR="$1" ; CMD=Action ;; +2) PAR="$1" ; CMD="$2" ;; +*) echo Syntax: "$0" [param [file]] ; exit 1 ;; +esac +if test -r "$CMD" +then : +else + case "$CMD" in + Action) echo No Action file present ;; + *) echo No Action file "($CMD)" present ;; + esac +fi +THISFILE=`pwd`/$0 +SYS= +RETC=0 +{ while read LINE +do + eval set $LINE + case x"$1" in + x#*) ;; + xname) SYS="$2" + ACTION='make $PAR' + DIR=. + FAIL='Failed for $SYS, see $DIR/Out' + SUCC='$SYS -- done' + ATYPE= + FATAL=no + DOIT=yes + ;; + xfatal) FATAL=yes ;; + xaction|xindir) case x$ATYPE in + x) ACTION=$2 ; ATYPE=$1 ;; + *) echo Already specified an $ATYPE for this name + RETC=-1 ;; + esac ;; + xfailure) FAIL="$2" ;; + xsuccess) SUCC="$2" ;; + xdir) DIR="$2" ;; + xsystem) case `ack_sys` in + $2) ;; + *) echo "Sorry, $SYS can only be made on $2 systems" + DOIT=no + ;; + esac ;; + xend) case $DOIT in + no) continue ;; + esac + case x$SYS in + x) echo Missing name line; RETC=-1 ;; + *) if test -d $DIR + then ( + cd $DIR + X= + case $ATYPE in + indir) + if sh $THISFILE $PAR $ACTION + then eval echo $SUCC + else RETC=2 ; eval echo $FAIL + fi ;; + *) + if eval "$ACTION >Out 2>&1 /dev/null 1>&- 1>&3 + exit $RETC + ) + case $? in + 0) ;; + *) case $RETC in + 0) RETC=$? ;; + esac ;; + esac + else + echo Directory $DIR for $SYS is inaccessible + RETC=-2 + fi ;; + esac + case $FATAL$RETC in + yes0) ;; + yes*) echo Fatal error, installation stopped. + exit $RETC ;; + esac + SYS= + ;; + *) echo Unknown keyword "$1" + RETC=-3 ;; + esac +done +} <$CMD +RETX=$? +case $RETX in +0) exit $RETC ;; +*) exit $RETX ;; +esac diff --git a/mach/6500/Action b/mach/6500/Action new file mode 100644 index 000000000..f44879f1f --- /dev/null +++ b/mach/6500/Action @@ -0,0 +1,21 @@ +name "MSC6500 assembler" +dir as +end +name "MSC6500 backend" +dir cg +end +name "MSC6500 download program(s)" +dir dl +end +name "MSC6500 C libraries" +dir libcc +end +name "MSC6500 EM library" +dir libem +end +name "MSC6500 Pascal library" +dir libpc +end +name "MSC6500 Basic library" +dir libbc +end diff --git a/mach/6800/Action b/mach/6800/Action new file mode 100644 index 000000000..a135c187f --- /dev/null +++ b/mach/6800/Action @@ -0,0 +1,3 @@ +name "Motorola 6800 assembler" +dir as +end diff --git a/mach/6805/Action b/mach/6805/Action new file mode 100644 index 000000000..7f523c9d8 --- /dev/null +++ b/mach/6805/Action @@ -0,0 +1,3 @@ +name "Motorola 6805 assembler" +dir as +end diff --git a/mach/6809/Action b/mach/6809/Action new file mode 100644 index 000000000..68967f01e --- /dev/null +++ b/mach/6809/Action @@ -0,0 +1,3 @@ +name "Motorola 6809 assembler" +dir as +end diff --git a/mach/em22/Action b/mach/em22/Action new file mode 100644 index 000000000..afe328032 --- /dev/null +++ b/mach/em22/Action @@ -0,0 +1,9 @@ +name "2-2 Interpreter C libraries" +dir libcc +end +name "2-2 Interpreter Pascal library" +dir libpc +end +name "2-2 Interpreter Basic library" +dir libbc +end diff --git a/mach/em24/Action b/mach/em24/Action new file mode 100644 index 000000000..d29cd5936 --- /dev/null +++ b/mach/em24/Action @@ -0,0 +1,9 @@ +name "2-4 Interpreter C libraries" +dir libcc +end +name "2-4 Interpreter Pascal library" +dir libpc +end +name "2-4 Interpreter Basic library" +dir libbc +end diff --git a/mach/em44/Action b/mach/em44/Action new file mode 100644 index 000000000..e507c1128 --- /dev/null +++ b/mach/em44/Action @@ -0,0 +1,9 @@ +name "4-4 Interpreter C libraries" +dir libcc +end +name "4-4 Interpreter Pascal library" +dir libpc +end +name "4-4 Interpreter Basic library" +dir libbc +end diff --git a/mach/i80/Action b/mach/i80/Action new file mode 100644 index 000000000..2687f7bef --- /dev/null +++ b/mach/i80/Action @@ -0,0 +1,3 @@ +name "Intel 8080 assembler" +dir as +end diff --git a/mach/i86/Action b/mach/i86/Action new file mode 100644 index 000000000..9c24923d3 --- /dev/null +++ b/mach/i86/Action @@ -0,0 +1,24 @@ +name "Intel 8086 assembler" +dir as +end +name "Intel 8086 backend" +dir cg +end +name "Intel 8086 download program(s)" +dir dl +end +name "Intel 8086 C libraries" +dir libcc +end +name "Intel 8086 EM library" +dir libem +end +name "Intel 8086 Pascal library" +dir libpc +end +name "Intel 8086 Stand-alone io library" +dir saio +end +name "Intel 8086 Basic library" +dir libbc +end diff --git a/mach/m68k2/Action b/mach/m68k2/Action new file mode 100644 index 000000000..c2572c9a2 --- /dev/null +++ b/mach/m68k2/Action @@ -0,0 +1,29 @@ +name "Motorola 68000 2-4 assembler" +dir as +end +name "Motorola 68000 2-4 backend" +dir cg +end +name "Motorola 68000 interpreters" +system m68* +dir int +end +name "Motorola 68000 2-4 download program(s)" +failure "Sorry, the m68k? conversion program has to be translated on the target machine" +dir dl +end +name "Motorola 68000 2-4 C libraries" +dir libcc +end +name "Motorola 68000 2-4 EM library" +dir libem +end +name "Motorola 68000 2-4 Pascal library" +dir libpc +end +name "Motorola 68000 2-4 System library" +dir libsys +end +name "Motorola 68000 2-4 Basic library" +dir libbc +end diff --git a/mach/m68k4/Action b/mach/m68k4/Action new file mode 100644 index 000000000..d0b3e384a --- /dev/null +++ b/mach/m68k4/Action @@ -0,0 +1,13 @@ +name "M68000 4-4 backend" +dir cg +end +lib +name "M68000 4-4 C libraries" +dir libcc +end +name "M68000 4-4 EM library" +dir libem +end +name "M68000 4-4 Pascal library" +dir libpc +end diff --git a/mach/ns/Action b/mach/ns/Action new file mode 100644 index 000000000..ba12d9fed --- /dev/null +++ b/mach/ns/Action @@ -0,0 +1,3 @@ +name "NS16032 assembler" +dir as +end diff --git a/mach/pdp/Action b/mach/pdp/Action new file mode 100644 index 000000000..fbe1967a1 --- /dev/null +++ b/mach/pdp/Action @@ -0,0 +1,26 @@ +name "PDP 11 assembler" +dir as +end +name "PDP 11 backend" +dir cg +end +name "PDP 11 interpreter" +system pdp* +dir int +end +name "PDP 11 C libraries" +system pdp* +dir libcc +end +name "PDP 11 EM library" +system pdp* +dir libem +end +name "PDP 11 Pascal library" +system pdp* +dir libpc +end +name "PDP 11 Basic library" +system pdp* +dir libbc +end diff --git a/mach/pmds/Action b/mach/pmds/Action new file mode 100644 index 000000000..42ad47251 --- /dev/null +++ b/mach/pmds/Action @@ -0,0 +1,6 @@ +name "PMDS download program(s)" +dir dl +end +name "PMDS EM library" +dir libem +end diff --git a/mach/s2650/Action b/mach/s2650/Action new file mode 100644 index 000000000..85f97117d --- /dev/null +++ b/mach/s2650/Action @@ -0,0 +1,3 @@ +name "Signetics 6502 assembler" +dir as +end diff --git a/mach/vax4/Action b/mach/vax4/Action new file mode 100644 index 000000000..0e68d9c2c --- /dev/null +++ b/mach/vax4/Action @@ -0,0 +1,19 @@ +name "Vax 4-4 backend" +dir cg +end +name "Vax 4-4 C libraries" +system vax* +dir libcc +end +name "Vax 4-4 EM library" +system vax* +dir libem +end +name "Vax 4-4 Pascal library" +system vax* +dir libpc +end +name "Vax 4-4 Basic library" +system vax* +dir libbc +end diff --git a/mach/z80/Action b/mach/z80/Action new file mode 100644 index 000000000..8e96d285b --- /dev/null +++ b/mach/z80/Action @@ -0,0 +1,3 @@ +name "Z80 assembler" +dir as +end diff --git a/mach/z8000/Action b/mach/z8000/Action new file mode 100644 index 000000000..6134c9476 --- /dev/null +++ b/mach/z8000/Action @@ -0,0 +1,18 @@ +name "Zilog Z8000 assembler" +dir as +end +name "Zilog Z8000 backend" +dir cg +end +name "Zilog Z8000 C libraries" +dir libcc +end +name "Zilog Z8000 EM library" +dir libem +end +name "Zilog Z8000 Pascal library" +dir libpc +end +name "Zilog Z8000 Basic library" +dir libbc +end