diff --git a/mach/arm/liboc/.distr b/mach/arm/liboc/.distr new file mode 100644 index 000000000..37100a8aa --- /dev/null +++ b/mach/arm/liboc/.distr @@ -0,0 +1,2 @@ +Makefile +compmodule diff --git a/mach/arm/liboc/Makefile b/mach/arm/liboc/Makefile new file mode 100644 index 000000000..a95885bd1 --- /dev/null +++ b/mach/arm/liboc/Makefile @@ -0,0 +1,20 @@ +SUF=so +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=arm" "SUF=$(SUF)" +PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib" + +install: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tailcp + +cmp: + make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) tail + -../../compare tail_ocm + +clean: + -rm -f *.old *.[ce$(SUF)] tail* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/arm/liboc/compmodule b/mach/arm/liboc/compmodule new file mode 100755 index 000000000..ef488b788 --- /dev/null +++ b/mach/arm/liboc/compmodule @@ -0,0 +1,6 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.so +else + exit 1 +fi