From 4beb60683f48095a8c8839815586c4065eff0e35 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 6 Apr 1988 15:12:11 +0000 Subject: [PATCH] Initial revision --- mach/6500/libm2/.distr | 2 ++ mach/6500/libm2/Makefile | 30 ++++++++++++++++++++++++++++++ mach/6500/libm2/compmodule | 4 ++++ 3 files changed, 36 insertions(+) create mode 100644 mach/6500/libm2/.distr create mode 100644 mach/6500/libm2/Makefile create mode 100755 mach/6500/libm2/compmodule diff --git a/mach/6500/libm2/.distr b/mach/6500/libm2/.distr new file mode 100644 index 000000000..37100a8aa --- /dev/null +++ b/mach/6500/libm2/.distr @@ -0,0 +1,2 @@ +Makefile +compmodule diff --git a/mach/6500/libm2/Makefile b/mach/6500/libm2/Makefile new file mode 100644 index 000000000..45da9bace --- /dev/null +++ b/mach/6500/libm2/Makefile @@ -0,0 +1,30 @@ +SUF=s +EMHOME=../../.. +MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile +MACHDEF="MACH=6500" "SUF=$(SUF)" "ASAR=arch" +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/6500/libm2/compmodule b/mach/6500/libm2/compmodule new file mode 100755 index 000000000..881f78da9 --- /dev/null +++ b/mach/6500/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.s +else exit 1 +fi