From 43c8fb156b618ba50865ca221502482fa3d67a9a Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 13 May 1987 16:13:52 +0000 Subject: [PATCH] Initial revision --- mach/em22/libm2/Makefile | 21 +++++++++++++++++++++ mach/em22/libm2/compmodule | 4 ++++ mach/em44/libm2/Makefile | 21 +++++++++++++++++++++ mach/em44/libm2/compmodule | 4 ++++ 4 files changed, 50 insertions(+) create mode 100644 mach/em22/libm2/Makefile create mode 100755 mach/em22/libm2/compmodule create mode 100644 mach/em44/libm2/Makefile create mode 100755 mach/em44/libm2/compmodule diff --git a/mach/em22/libm2/Makefile b/mach/em22/libm2/Makefile new file mode 100644 index 000000000..85eafbd16 --- /dev/null +++ b/mach/em22/libm2/Makefile @@ -0,0 +1,21 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int22" "SUF=$(SUF)" +M2DEF="PREF=pc" "SUB=" "SRC=lang/m2/libm2" + +install: + make -f $(MAKEFILE) $(M2DEF) $(MACHDEF) cp + +cmp: + make -f $(MAKEFILE) $(M2DEF) $(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/em22/libm2/compmodule b/mach/em22/libm2/compmodule new file mode 100755 index 000000000..1c3c2ecfb --- /dev/null +++ b/mach/em22/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2 +then echo `basename $1 $2`.m +else exit 1 +fi diff --git a/mach/em44/libm2/Makefile b/mach/em44/libm2/Makefile new file mode 100644 index 000000000..2c2249c0b --- /dev/null +++ b/mach/em44/libm2/Makefile @@ -0,0 +1,21 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int44" "SUF=$(SUF)" +M2DEF="PREF=pc" "SUB=" "SRC=lang/m2/libm2" + +install: + make -f $(MAKEFILE) $(M2DEF) $(MACHDEF) cp + +cmp: + make -f $(MAKEFILE) $(M2DEF) $(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/em44/libm2/compmodule b/mach/em44/libm2/compmodule new file mode 100755 index 000000000..1c3c2ecfb --- /dev/null +++ b/mach/em44/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2 +then echo `basename $1 $2`.m +else exit 1 +fi -- 2.34.1