From: ceriel Date: Fri, 6 Sep 1991 11:33:09 +0000 (+0000) Subject: New installation mechanism X-Git-Tag: release-5-5~925 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=607a2393a0784c2f752717c31426ef766af7a0de;p=ack.git New installation mechanism --- diff --git a/mach/sun3/libce/.distr b/mach/sun3/libce/.distr index 168bedb1f..4c51a90db 100644 --- a/mach/sun3/libce/.distr +++ b/mach/sun3/libce/.distr @@ -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 index 000000000..b8f4d9f69 --- /dev/null +++ b/mach/sun3/libce/proto.make @@ -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