1984-05-21 16:33:30 +00:00
|
|
|
# $Header$
|
1984-05-21 16:30:36 +00:00
|
|
|
d=../../..
|
|
|
|
h=$d/h
|
|
|
|
PEM=$d/lib/pc_pem
|
|
|
|
PEM_OUT=$d/lib/pc_pem.out
|
|
|
|
|
|
|
|
HEAD=$h/em_spec.h $h/em_pseu.h $h/em_mnem.h $h/em_mes.h $h/pc_size.h
|
|
|
|
LDFLAG=-i
|
|
|
|
|
|
|
|
all: pem pem.out
|
|
|
|
|
|
|
|
pem.out: pem.m
|
|
|
|
apc -mint --t -o pem.out pem.m
|
|
|
|
|
|
|
|
pem: pem.m
|
|
|
|
apc $(LDFLAG) -o pem pem.m
|
|
|
|
|
1984-05-21 16:33:30 +00:00
|
|
|
# pem.m is system dependent and may NOT be distributed
|
1984-05-21 16:30:36 +00:00
|
|
|
pem.m: pem.p $(HEAD)
|
|
|
|
-rm -f pem.m
|
|
|
|
-if apc -I$h -O -c.m pem.p ; then :; else \
|
1984-07-16 15:29:48 +00:00
|
|
|
acc -o move move.c ; move ; rm -f move move.[oskm] ; \
|
1984-05-21 16:30:36 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
cmp: pem
|
|
|
|
cmp pem $(PEM)
|
|
|
|
|
|
|
|
install: pem
|
|
|
|
cp pem $(PEM)
|
|
|
|
|
|
|
|
distr:
|
1985-02-04 02:53:18 +00:00
|
|
|
rm -f pem22.p ; ln pem.p pem22.p
|
|
|
|
apc -mpdp -c.m -I$h pem22.p ; rm -f pem22.p
|
|
|
|
rm -f pem24.p ; ln pem.p pem24.p
|
|
|
|
apc -mvax2 -c.m -I$h pem24.p ; rm -f pem24.p
|
1984-05-21 16:30:36 +00:00
|
|
|
clean:
|
|
|
|
-rm -f pem pem.out *.[os] *.old
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr pem.p
|
|
|
|
|
|
|
|
xref:
|
|
|
|
xref pem.p^pr -h "XREF PEM.P"
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr ^ opr
|