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