Initial revision
authorceriel <none@none>
Wed, 25 Feb 1987 19:16:28 +0000 (19:16 +0000)
committerceriel <none@none>
Wed, 25 Feb 1987 19:16:28 +0000 (19:16 +0000)
mach/vax4/liboc/Makefile [new file with mode: 0644]
mach/vax4/liboc/compmodule [new file with mode: 0755]

diff --git a/mach/vax4/liboc/Makefile b/mach/vax4/liboc/Makefile
new file mode 100644 (file)
index 0000000..3bed223
--- /dev/null
@@ -0,0 +1,21 @@
+SUF=o
+MAKEFILE=../../proto/libg/Makefile
+MACHDEF="MACH=vax4" "SUF=$(SUF)" "ASAR=ar"
+PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
+
+install:
+       RANLIB=ranlib ; export RANLIB ;\
+       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/vax4/liboc/compmodule b/mach/vax4/liboc/compmodule
new file mode 100755 (executable)
index 0000000..6327cb9
--- /dev/null
@@ -0,0 +1,6 @@
+if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
+then
+       echo `basename $1 $2`.o
+else
+       exit 1
+fi