Copied from vax2, takes its info on which files
to use in which order from LIST.
This commit is contained in:
parent
c8e426ffb8
commit
52d0f32e32
1 changed files with 17 additions and 21 deletions
|
@ -1,34 +1,30 @@
|
||||||
TAILSRC=tail_em.a
|
# $Header$
|
||||||
|
install: cp
|
||||||
|
|
||||||
install: head_em tail_em
|
cp: all
|
||||||
../../install head_em
|
../../install head_em
|
||||||
../../install tail_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 head_em
|
||||||
-../../compare tail_em
|
-../../compare tail_em
|
||||||
|
rm -f head_em tail_em
|
||||||
|
|
||||||
head_em: head_em.s system.h
|
all: head_em tail_em
|
||||||
vax4 -c -I../../../h head_em.s
|
|
||||||
mv head_em.o head_em
|
|
||||||
|
|
||||||
tail_em: $(TAILSRC) system.h
|
head_em: head_em.s
|
||||||
arch x $(TAILSRC) ;\
|
vax4 -I../../../h -c head_em.s ; mv head_em.o head_em
|
||||||
ALL= ; \
|
|
||||||
for i in `arch t $(TAILSRC)` ; do \
|
tail_em:
|
||||||
BN=`basename $$i .s`.o ; \
|
ASAR=ar ; export ASAR ;\
|
||||||
vax4 -I../../../h -c $$i ; \
|
RANLIB=ranlib ; export RANLIB ;\
|
||||||
RM="$$RM $$i" ; \
|
march . tail_em
|
||||||
ALL="$$ALL $$BN" ; \
|
|
||||||
done ; \
|
|
||||||
ar r tail_em $$ALL ; rm -f $$RM $$ALL
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f `arch t $(TAILSRC)` *.old *.o
|
rm -f *.o
|
||||||
|
|
||||||
opr:
|
opr:
|
||||||
make pr | opr
|
make pr | opr
|
||||||
|
|
||||||
pr:
|
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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue