From 489f75a1049d030940e6333fd14f0e89ddb7ad33 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 00000000..54288d34 --- /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 00000000..8dba8a44 --- /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 00000000..6c55f94d --- /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 00000000..8b30d1fd --- /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 00000000..1b91894b --- /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 00000000..8b30d1fd --- /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 00000000..647303d2 --- /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 00000000..8b30d1fd --- /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 00000000..68eb6a2c --- /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 00000000..6327cb99 --- /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 00000000..17324df5 --- /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 00000000..6327cb99 --- /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 00000000..6c34fdbd --- /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 00000000..b985fb35 --- /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 00000000..6327cb99 --- /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 00000000..2b4f9059 --- /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 00000000..6327cb99 --- /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 00000000..1da3ddb9 --- /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 00000000..6327cb99 --- /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 00000000..28ecb4bb --- /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 00000000..6327cb99 --- /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 00000000..3447c000 --- /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 00000000..6327cb99 --- /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 00000000..5d0f79d6 --- /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 00000000..6327cb99 --- /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 00000000..47930326 --- /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 00000000..8dba8a44 --- /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