From 143abc2420e8be88dee1c05dd5f2c7b72c7f5e99 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 8 Feb 1989 15:12:03 +0000 Subject: [PATCH] Initial revision --- mach/i386/libcc/Makefile | 44 ++++++++++++++++++++++++++++++++++++++ mach/i386/libcc/compmodule | 6 ++++++ mach/i386/libm2/Makefile | 30 ++++++++++++++++++++++++++ mach/i386/libm2/compmodule | 4 ++++ mach/i386/liboc/Makefile | 20 +++++++++++++++++ mach/i386/liboc/compmodule | 6 ++++++ mach/i386/libpc/Makefile | 21 ++++++++++++++++++ mach/i386/libpc/compmodule | 6 ++++++ 8 files changed, 137 insertions(+) create mode 100644 mach/i386/libcc/Makefile create mode 100755 mach/i386/libcc/compmodule create mode 100644 mach/i386/libm2/Makefile create mode 100755 mach/i386/libm2/compmodule create mode 100644 mach/i386/liboc/Makefile create mode 100755 mach/i386/liboc/compmodule create mode 100644 mach/i386/libpc/Makefile create mode 100755 mach/i386/libpc/compmodule diff --git a/mach/i386/libcc/Makefile b/mach/i386/libcc/Makefile new file mode 100644 index 000000000..350b2d57d --- /dev/null +++ b/mach/i386/libcc/Makefile @@ -0,0 +1,44 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" +STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio" +GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen" +MON="PREF=mon" "SRC=lang/cem/libcc/mon" +LIBM="PREF=m" "SRC=lang/cem/libcc/math" + +install: cpstdio cpgen cpmath + +cpstdio: + make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tailcp +cpgen: + make -f $(MAKEFILE) $(GEN) $(MACHDEF) cp +cpmon: + make -f $(MAKEFILE) $(MON) $(MACHDEF) tailcp +cpmath: + make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tailcp + +cmp: cmpstdio cmpgen cmpmath + +cmpstdio: + make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tail + -../../compare tail_cc.1s +cmpgen: + make -f $(MAKEFILE) $(GEN) $(MACHDEF) head + -../../compare head_cc + make -f $(MAKEFILE) $(GEN) $(MACHDEF) tail + -../../compare tail_cc.2g +cmpmon: + make -f $(MAKEFILE) $(MON) $(MACHDEF) tail + -../../compare tail_mon +cmpmath: + make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tail + -../../compare tail_m + +clean: + -rm -f *.old *.[ce$(SUF)] tail* head* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/i386/libcc/compmodule b/mach/i386/libcc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/i386/libcc/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/i386/libm2/Makefile b/mach/i386/libm2/Makefile new file mode 100644 index 000000000..472ea9ebc --- /dev/null +++ b/mach/i386/libm2/Makefile @@ -0,0 +1,30 @@ +SUF=o +EMHOME=../../.. +MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile +MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" +M2LIB = lang/m2/libm2 +MOD="PREF=m2" "SUB=" "SRC=$(M2LIB)" + +all: + make -f $(MAKEFILE) $(MOD) $(MACHDEF) all + +install: cpmod + +cpmod: + make -f $(MAKEFILE) $(MOD) $(MACHDEF) cp + +cmp: cmpmod + +cmpmod: + make -f $(MAKEFILE) $(MOD) $(MACHDEF) all + -$(EMHOME)/mach/compare tail_m2 + -$(EMHOME)/mach/compare head_m2 + +clean: + -rm -f *.old *.[ce$(SUF)] tail* head* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/i386/libm2/compmodule b/mach/i386/libm2/compmodule new file mode 100755 index 000000000..a794a2257 --- /dev/null +++ b/mach/i386/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.o +else exit 1 +fi diff --git a/mach/i386/liboc/Makefile b/mach/i386/liboc/Makefile new file mode 100644 index 000000000..7f7e63ae6 --- /dev/null +++ b/mach/i386/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=i386" "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/i386/liboc/compmodule b/mach/i386/liboc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/i386/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/i386/libpc/Makefile b/mach/i386/libpc/Makefile new file mode 100644 index 000000000..f8f1e5e9c --- /dev/null +++ b/mach/i386/libpc/Makefile @@ -0,0 +1,21 @@ +SUF=o +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=i386" "SUF=$(SUF)" "ASAR=aal" +PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) cp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) all + -../../compare head_pc + -../../compare tail_pc + +clean: + -rm -f *.old *.[ce$(SUF)] tail* head* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/i386/libpc/compmodule b/mach/i386/libpc/compmodule new file mode 100755 index 000000000..6327cb991 --- /dev/null +++ b/mach/i386/libpc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi -- 2.34.1