From 4922093f24a89a3084b338432f2bdbc1db7b237b Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 25 Feb 1987 19:45:17 +0000 Subject: [PATCH] Initial revision --- mach/6500/liboc/Makefile | 20 ++++++++++++++++++++ mach/6500/liboc/compmodule | 6 ++++++ mach/em22/liboc/Makefile | 20 ++++++++++++++++++++ mach/em22/liboc/compmodule | 6 ++++++ mach/em24/liboc/Makefile | 20 ++++++++++++++++++++ mach/em24/liboc/compmodule | 6 ++++++ mach/em44/liboc/Makefile | 20 ++++++++++++++++++++ mach/em44/liboc/compmodule | 6 ++++++ mach/i80/liboc/Makefile | 20 ++++++++++++++++++++ mach/i80/liboc/compmodule | 6 ++++++ mach/i86/liboc/Makefile | 20 ++++++++++++++++++++ mach/i86/liboc/compmodule | 6 ++++++ mach/m68020/Action | 24 ++++++++++++++++++++++++ mach/m68020/liboc/Makefile | 20 ++++++++++++++++++++ mach/m68020/liboc/compmodule | 6 ++++++ mach/m68k2/liboc/Makefile | 20 ++++++++++++++++++++ mach/m68k2/liboc/compmodule | 6 ++++++ mach/m68k4/liboc/Makefile | 20 ++++++++++++++++++++ mach/m68k4/liboc/compmodule | 6 ++++++ mach/ns/liboc/Makefile | 20 ++++++++++++++++++++ mach/ns/liboc/compmodule | 6 ++++++ mach/pdp/liboc/Makefile | 21 +++++++++++++++++++++ mach/pdp/liboc/compmodule | 6 ++++++ mach/z80/liboc/Makefile | 20 ++++++++++++++++++++ mach/z80/liboc/compmodule | 6 ++++++ mach/z8000/liboc/Makefile | 20 ++++++++++++++++++++ mach/z8000/liboc/compmodule | 6 ++++++ 27 files changed, 363 insertions(+) create mode 100644 mach/6500/liboc/Makefile create mode 100755 mach/6500/liboc/compmodule create mode 100644 mach/em22/liboc/Makefile create mode 100755 mach/em22/liboc/compmodule create mode 100644 mach/em24/liboc/Makefile create mode 100755 mach/em24/liboc/compmodule create mode 100644 mach/em44/liboc/Makefile create mode 100755 mach/em44/liboc/compmodule create mode 100644 mach/i80/liboc/Makefile create mode 100755 mach/i80/liboc/compmodule create mode 100644 mach/i86/liboc/Makefile create mode 100755 mach/i86/liboc/compmodule create mode 100644 mach/m68020/Action create mode 100644 mach/m68020/liboc/Makefile create mode 100755 mach/m68020/liboc/compmodule create mode 100644 mach/m68k2/liboc/Makefile create mode 100755 mach/m68k2/liboc/compmodule create mode 100644 mach/m68k4/liboc/Makefile create mode 100755 mach/m68k4/liboc/compmodule create mode 100644 mach/ns/liboc/Makefile create mode 100755 mach/ns/liboc/compmodule create mode 100644 mach/pdp/liboc/Makefile create mode 100755 mach/pdp/liboc/compmodule create mode 100644 mach/z80/liboc/Makefile create mode 100755 mach/z80/liboc/compmodule create mode 100644 mach/z8000/liboc/Makefile create mode 100755 mach/z8000/liboc/compmodule diff --git a/mach/6500/liboc/Makefile b/mach/6500/liboc/Makefile new file mode 100644 index 000000000..54288d34f --- /dev/null +++ b/mach/6500/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=s +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=6500" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/6500/liboc/compmodule b/mach/6500/liboc/compmodule new file mode 100755 index 000000000..8dba8a441 --- /dev/null +++ b/mach/6500/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.s +else + exit 1 +fi diff --git a/mach/em22/liboc/Makefile b/mach/em22/liboc/Makefile new file mode 100644 index 000000000..6c55f94d6 --- /dev/null +++ b/mach/em22/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int22" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/em22/liboc/compmodule b/mach/em22/liboc/compmodule new file mode 100755 index 000000000..8b30d1fdf --- /dev/null +++ b/mach/em22/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.m +else + exit 1 +fi diff --git a/mach/em24/liboc/Makefile b/mach/em24/liboc/Makefile new file mode 100644 index 000000000..1b91894b4 --- /dev/null +++ b/mach/em24/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int24" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/em24/liboc/compmodule b/mach/em24/liboc/compmodule new file mode 100755 index 000000000..8b30d1fdf --- /dev/null +++ b/mach/em24/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.m +else + exit 1 +fi diff --git a/mach/em44/liboc/Makefile b/mach/em44/liboc/Makefile new file mode 100644 index 000000000..647303d21 --- /dev/null +++ b/mach/em44/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int44" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/em44/liboc/compmodule b/mach/em44/liboc/compmodule new file mode 100755 index 000000000..8b30d1fdf --- /dev/null +++ b/mach/em44/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.m +else + exit 1 +fi diff --git a/mach/i80/liboc/Makefile b/mach/i80/liboc/Makefile new file mode 100644 index 000000000..68eb6a2c4 --- /dev/null +++ b/mach/i80/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=i80" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/i80/liboc/compmodule b/mach/i80/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/i80/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/i86/liboc/Makefile b/mach/i86/liboc/Makefile new file mode 100644 index 000000000..17324df53 --- /dev/null +++ b/mach/i86/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=i86" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/i86/liboc/compmodule b/mach/i86/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/i86/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/m68020/Action b/mach/m68020/Action new file mode 100644 index 000000000..6c34fdbd8 --- /dev/null +++ b/mach/m68020/Action @@ -0,0 +1,24 @@ +name "M68020 assembler" +dir as +end +name "M68020 backend" +dir ncg +end +name "M68020 EM library" +dir libem +end +name "M68020 system call library" +dir libsys +end +name "M68020 C libraries" +dir libcc +end +name "M68020 PC library" +dir libpc +end +name "M68020 Basic library" +dir libbc +end +name "M68020 Occam library" +dir liboc +end diff --git a/mach/m68020/liboc/Makefile b/mach/m68020/liboc/Makefile new file mode 100644 index 000000000..b985fb35f --- /dev/null +++ b/mach/m68020/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=m68020" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/m68020/liboc/compmodule b/mach/m68020/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/m68020/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/m68k2/liboc/Makefile b/mach/m68k2/liboc/Makefile new file mode 100644 index 000000000..2b4f9059c --- /dev/null +++ b/mach/m68k2/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=m68k2" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/m68k2/liboc/compmodule b/mach/m68k2/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/m68k2/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/m68k4/liboc/Makefile b/mach/m68k4/liboc/Makefile new file mode 100644 index 000000000..1da3ddb9e --- /dev/null +++ b/mach/m68k4/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=m68k4" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/m68k4/liboc/compmodule b/mach/m68k4/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/m68k4/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/ns/liboc/Makefile b/mach/ns/liboc/Makefile new file mode 100644 index 000000000..28ecb4bbe --- /dev/null +++ b/mach/ns/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=ns" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/ns/liboc/compmodule b/mach/ns/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/ns/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/pdp/liboc/Makefile b/mach/pdp/liboc/Makefile new file mode 100644 index 000000000..3447c0003 --- /dev/null +++ b/mach/pdp/liboc/Makefile @@ -0,0 +1,21 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=pdp" "SUF=$(SUF)" "ASAR=ar" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + RANLIB=ranlib ; export RANLIB ;\ + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/pdp/liboc/compmodule b/mach/pdp/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/pdp/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/z80/liboc/Makefile b/mach/z80/liboc/Makefile new file mode 100644 index 000000000..5d0f79d6c --- /dev/null +++ b/mach/z80/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/z80/liboc/compmodule b/mach/z80/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/z80/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi diff --git a/mach/z8000/liboc/Makefile b/mach/z8000/liboc/Makefile new file mode 100644 index 000000000..47930326a --- /dev/null +++ b/mach/z8000/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=s +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=z8000" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/z8000/liboc/compmodule b/mach/z8000/liboc/compmodule new file mode 100755 index 000000000..8dba8a441 --- /dev/null +++ b/mach/z8000/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.s +else + exit 1 +fi -- 2.34.1