Copied from vax2, takes its info on which files
authorem <none@none>
Tue, 5 Feb 1985 14:52:02 +0000 (14:52 +0000)
committerem <none@none>
Tue, 5 Feb 1985 14:52:02 +0000 (14:52 +0000)
to use in which order from LIST.

mach/vax4/libem/Makefile

index 920bd5f..d50c1ba 100644 (file)
@@ -1,34 +1,30 @@
-TAILSRC=tail_em.a
+# $Header$
+install:       cp
 
-install:       head_em tail_em
+cp:             all
                ../../install head_em
                ../../install tail_em
-               -rm -f head_em tail_em
+               rm -f head_em tail_em
 
-cmp:           head_em tail_em
+cmp:            all
                -../../compare head_em
                -../../compare tail_em
+               rm -f head_em tail_em
 
-head_em:        head_em.s system.h
-               vax4 -c -I../../../h head_em.s
-               mv head_em.o head_em
+all:            head_em tail_em
 
-tail_em:        $(TAILSRC) system.h
-               arch x $(TAILSRC) ;\
-               ALL= ; \
-               for i in `arch t $(TAILSRC)` ; do \
-                       BN=`basename $$i .s`.o ; \
-                       vax4 -I../../../h -c $$i ; \
-                       RM="$$RM $$i" ; \
-                       ALL="$$ALL $$BN" ; \
-               done ; \
-               ar r tail_em $$ALL ; rm -f $$RM $$ALL
+head_em:        head_em.s
+               vax4 -I../../../h -c head_em.s ; mv head_em.o head_em
 
-clean:
-               -rm -f `arch t $(TAILSRC)` *.old *.o
+tail_em:
+               ASAR=ar ; export ASAR ;\
+               RANLIB=ranlib ; export RANLIB ;\
+               march . tail_em
 
+clean:
+               rm -f *.o
 opr:
                make pr | opr
-
 pr:
-               @(pr head_em.s ; arch pv $(TAILSRC) | pr -h "vax4/libem" )
+               @pr `pwd`/Makefile `pwd`/head_em.s
+               @pr -l33 `tail +1 LIST|sort`