New installation mechanism
authorceriel <none@none>
Fri, 6 Sep 1991 11:33:09 +0000 (11:33 +0000)
committerceriel <none@none>
Fri, 6 Sep 1991 11:33:09 +0000 (11:33 +0000)
mach/sun3/libce/.distr
mach/sun3/libce/proto.make [new file with mode: 0644]

index 168bedb..4c51a90 100644 (file)
@@ -1,4 +1,4 @@
-Makefile
+proto.make
 adf4.s
 adf8.s
 cff.s
diff --git a/mach/sun3/libce/proto.make b/mach/sun3/libce/proto.make
new file mode 100644 (file)
index 0000000..b8f4d9f
--- /dev/null
@@ -0,0 +1,45 @@
+# $Header$
+
+#PARAMS                do not remove this line!
+
+SRC_DIR = $(SRC_HOME)/mach/sun3/libce
+
+EMOBJ =        aar.o cii.o cmi.o cms.o cmu.o csa.o csb.o cuu.o dia.o exg.o fat.o \
+       inn.o lar.o los.o mon.o nop.o sar.o set.o shp.o sts.o trp.o trpstr.o
+
+FOBJ = adf4.o adf8.o cff.o cfi.o cfu.o cif.o cmf4.o cmf8.o cuf.o dvf4.o \
+       dvf8.o fef4.o fef8.o fif4.o fif8.o mlf4.o mlf8.o sbf4.o sbf8.o vars.o
+
+OBJ =  $(EMOBJ) $(FOBJ)
+
+all:   libext.a head_em.sun.o
+
+libext.a:      $(OBJ)
+       for i in $(OBJ) ; do $(TARGET_HOME)/lib.bin/sun3/cv -u $$i $$i.X ; mv $$i.X $$i ; done
+       ar rv libext.a $(OBJ)
+       ranlib libext.a
+
+head_em.sun.o: head_em.o
+       $(TARGET_HOME)/lib.bin/sun3/cv -u head_em.o head_em.sun.o
+
+install:       all
+       cp libext.a $(TARGET_HOME)/lib/sun3/tail_ext
+       ranlib $(TARGET_HOME)/lib/sun3/tail_ext
+       cp head_em.sun.o $(TARGET_HOME)/lib/sun3/head_ext
+
+cmp:   all
+       -cmp libext.a $(TARGET_HOME)/lib/sun3/tail_ext
+       -cmp head_em.sun.o $(TARGET_HOME)/lib/sun3/head_ext
+
+clean:
+       rm -f *.[oa]
+
+pr:
+
+opr:
+
+$(EMOBJ):      $(TARGET_HOME)/lib/m68020/tail_em
+       aal x $(TARGET_HOME)/lib/m68020/tail_em $(EMOBJ)
+
+$(FOBJ) head_em.o:
+       for i in $(SRC_DIR)/*.s ; do sun3 -c $$i ; done