Initial revision

This commit is contained in:
ceriel 1987-10-08 11:34:19 +00:00
parent f19ffa5328
commit 2401ca127e
3 changed files with 34 additions and 0 deletions

2
mach/i86/libm2/.distr Normal file
View file

@ -0,0 +1,2 @@
Makefile
compmodule

28
mach/i86/libm2/Makefile Normal file
View file

@ -0,0 +1,28 @@
SUF=o
EMHOME=../../..
MAKEFILE=$(EMHOME)/mach/proto/libg/Makefile
MACHDEF="MACH=i86" "SUF=$(SUF)" "ASAR=aal"
M2LIB = lang/m2/libm2
MOD="PREF=m2" "SUB=" "SRC=$(M2LIB)"
install: cpmod
cpmod:
make -f $(MAKEFILE) $(MOD) $(MACHDEF) cp
cmp: cmpmod
cmpmod:
make -f $(MAKEFILE) $(MOD) $(MACHDEF) tail
-$(EMHOME)/mach/compare tail_m2
make -f $(MAKEFILE) $(MOD) $(MACHDEF) head
-$(EMHOME)/mach/compare head_m2
clean:
-rm -f *.old *.[ce$(SUF)] tail* head*
opr:
make pr | opr
pr:
@pr Makefile

4
mach/i86/libm2/compmodule Executable file
View file

@ -0,0 +1,4 @@
if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
then echo `basename $1 $2`.o
else exit 1
fi