Albert Koelmans newest version

This commit is contained in:
ceriel 1990-11-13 12:05:13 +00:00
parent f950727c44
commit c5b98176f6
7 changed files with 68 additions and 0 deletions

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

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

22
mach/arm/libm2/Makefile Normal file
View file

@ -0,0 +1,22 @@
SUF=so
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=arm" "SUF=$(SUF)"
PCDEF="PREF=m2" "SUB=" "SRC=lang/m2/libm2"
install:
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) cp
cmp:
make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) all
-../../compare head_m2
-../../compare tail_m2
clean:
-rm -f *.old *.[ce$(SUF)] tail* head*
opr:
make pr | opr
pr:
@pr Makefile

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

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

3
mach/arm/libpc/.distr Normal file
View file

@ -0,0 +1,3 @@
LOCAL_FILES
Makefile
compmodule

View file

@ -0,0 +1,12 @@
If you want to run pascal programs that use local files, you must create a
subdirectory called 'plf' in the current directory. This directory holds the
temporary files, and will NOT be automatically cleaned up when the program
exits.
This is the result of the fact that
1) a Unix absolute pathname is hard wired into the runtime libraries
2) Unix allows you to unlink open files, which RiscOs doesn't.
In other words, it is not my fault....
amk.

21
mach/arm/libpc/Makefile Normal file
View file

@ -0,0 +1,21 @@
SUF=so
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=arm" "SUF=$(SUF)"
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

4
mach/arm/libpc/compmodule Executable file
View file

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