From c5b98176f66d1c7bd284f758024074b33dd0bde4 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 13 Nov 1990 12:05:13 +0000 Subject: [PATCH] Albert Koelmans newest version --- mach/arm/libm2/.distr | 2 ++ mach/arm/libm2/Makefile | 22 ++++++++++++++++++++++ mach/arm/libm2/compmodule | 4 ++++ mach/arm/libpc/.distr | 3 +++ mach/arm/libpc/LOCAL_FILES | 12 ++++++++++++ mach/arm/libpc/Makefile | 21 +++++++++++++++++++++ mach/arm/libpc/compmodule | 4 ++++ 7 files changed, 68 insertions(+) create mode 100644 mach/arm/libm2/.distr create mode 100644 mach/arm/libm2/Makefile create mode 100755 mach/arm/libm2/compmodule create mode 100644 mach/arm/libpc/.distr create mode 100644 mach/arm/libpc/LOCAL_FILES create mode 100644 mach/arm/libpc/Makefile create mode 100755 mach/arm/libpc/compmodule diff --git a/mach/arm/libm2/.distr b/mach/arm/libm2/.distr new file mode 100644 index 000000000..37100a8aa --- /dev/null +++ b/mach/arm/libm2/.distr @@ -0,0 +1,2 @@ +Makefile +compmodule diff --git a/mach/arm/libm2/Makefile b/mach/arm/libm2/Makefile new file mode 100644 index 000000000..c2477dec7 --- /dev/null +++ b/mach/arm/libm2/Makefile @@ -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 diff --git a/mach/arm/libm2/compmodule b/mach/arm/libm2/compmodule new file mode 100755 index 000000000..e83203742 --- /dev/null +++ b/mach/arm/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.so +else exit 1 +fi diff --git a/mach/arm/libpc/.distr b/mach/arm/libpc/.distr new file mode 100644 index 000000000..abea6f095 --- /dev/null +++ b/mach/arm/libpc/.distr @@ -0,0 +1,3 @@ +LOCAL_FILES +Makefile +compmodule diff --git a/mach/arm/libpc/LOCAL_FILES b/mach/arm/libpc/LOCAL_FILES new file mode 100644 index 000000000..b76d29450 --- /dev/null +++ b/mach/arm/libpc/LOCAL_FILES @@ -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. diff --git a/mach/arm/libpc/Makefile b/mach/arm/libpc/Makefile new file mode 100644 index 000000000..bb50aaebb --- /dev/null +++ b/mach/arm/libpc/Makefile @@ -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 diff --git a/mach/arm/libpc/compmodule b/mach/arm/libpc/compmodule new file mode 100755 index 000000000..e83203742 --- /dev/null +++ b/mach/arm/libpc/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.so +else exit 1 +fi -- 2.34.1