|
|
1.1 root 1: # Makefile 4.2 83/08/15
2: #
3: # Possible options:
4: # make compile source for terminal tables below
5: # make <term> compile table for a specific <term>
6: # make install move tables to ${DEST}
7: # make links make links for ease of documentation
8: # make clean remove tab*.o files lying around
9: ALL= 37 lpr 300 300-12 302 302-12 382 382-12 450 450-12 833 833-12 \
10: itoh itoh12 nec nec12 nec-t qume qume12 xerox xerox12 \
11: x-ecs x-ecs12
12:
13: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
14: DESTDIR=
15: DEST= ${DESTDIR}/usr/lib/term
16:
17: all: ${ALL}
18:
19: 37: tab37.o
20: lpr: tablpr.o
21: 300: tab300.o code.300
22: 300-12: tab300-12.o code.300
23: 302: tab302.o code.300
24: 302-12: tab302-12.o code.300
25: 382: tab382.o code.300
26: 382-12: tab382-12.o code.300
27: 450: tab450.o code.300
28: 450-12: tab450-12.o code.300
29: 833: tab833.o code.aj833
30: 833-12: tab833-12.o code.aj833
31: itoh: tabitoh.o code.itoh
32: itoh12: tabitoh12.o code.itoh
33: nec: tabnec.o code.nec
34: nec12: tabnec12.o code.nec
35: nec-t: tabnec-t.o
36: qume: tabqume.o
37: qume12: tabqume12.o
38: xerox: tabxerox.o code.xerox
39: xerox12:tabxerox12.o code.xerox
40: x-ecs: tabx-ecs.o code.x-ecs
41: x-ecs12:tabx-ecs12.o code.x-ecs
42:
43: install: all
44: for file in tab*.o; do \
45: install -s -m 755 $$file ${DEST}/`basename $$file .o`;\
46: done
47: -if test ! -f ${DEST}/tabtn300; \
48: then \
49: make ${MAKEPARAM} links; \
50: fi
51: install -c -m 644 README ${DEST}/README
52:
53: links:
54: rm -f ${DEST}/tabtn300; ln ${DEST}/tablpr ${DEST}/tabtn300
55: rm -f ${DEST}/tabcrt; ln ${DEST}/tablpr ${DEST}/tabcrt
56: rm -f ${DEST}/tab300s; ln ${DEST}/tab302 ${DEST}/tab300s
57: rm -f ${DEST}/tab300s-12; ln ${DEST}/tab302-12 ${DEST}/tab300s-12
58: rm -f ${DEST}/tabdtc; ln ${DEST}/tab302 ${DEST}/tabdtc
59: rm -f ${DEST}/tabdtc12; ln ${DEST}/tab302-12 ${DEST}/tabdtc12
60: rm -f ${DEST}/tabipsi; ln ${DEST}/tab450 ${DEST}/tabipsi
61: rm -f ${DEST}/tabipsi12; ln ${DEST}/tab450-12 ${DEST}/tabipsi12
62:
63: clean:
64: rm -f tab*.o errs
65:
66: cleansrc:
67: rm -f *.c code* chartst README Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.