|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 4.7 (Berkeley) 6/18/87
7: #
8: # Possible options:
9: # make compile source for all terminal tables below
10: # make <term> compile table for a specific <term>
11: # make install move tables to ${DEST}
12: # make clean remove tab*.o files lying around
13: CFLAGS= -O
14: LIBC= /lib/libc.a
15: DEST= ${DESTDIR}/usr/lib/term
16: SRCS= tab300-12.c tab300.c tab302-12.c tab302.c tab37.c tab382-12.c \
17: tab382.c tab450-12.c tab450.c tab833-12.c tab833.c tabepson.c \
18: tabitoh.c tabitoh12.c tablpr.c tabnec-t.c tabnec.c tabnec12.c \
19: tabnec25-t.c tabqume.c tabqume12.c tabx-ecs.c tabx-ecs12.c \
20: tabxerox.c tabxerox12.c
21: OBJS= tab300-12.o tab300.o tab302-12.o tab302.o tab37.o tab382-12.o \
22: tab382.o tab450-12.o tab450.o tab833-12.o tab833.o tabepson.o \
23: tabitoh.o tabitoh12.o tablpr.o tabnec-t.o tabnec.o tabnec12.o \
24: tabnec25-t.o tabqume.o tabqume12.o tabx-ecs.o tabx-ecs12.o \
25: tabxerox.o tabxerox12.o
26: ALL= 37 lpr 300 300-12 302 302-12 382 382-12 450 450-12 833 833-12 \
27: epson itoh itoh12 nec nec12 nec-t nec25-t qume qume12 xerox \
28: xerox12 x-ecs x-ecs12
29:
30: all: ${ALL}
31:
32: 37: tab37.o
33: lpr: tablpr.o
34: 300: tab300.o
35: 300-12: tab300-12.o
36: 302: tab302.o
37: 302-12: tab302-12.o
38: 382: tab382.o
39: 382-12: tab382-12.o
40: 450: tab450.o
41: 450-12: tab450-12.o
42: 833: tab833.o
43: 833-12: tab833-12.o
44: epson: tabepson.o
45: itoh: tabitoh.o
46: itoh12: tabitoh12.o
47: nec: tabnec.o
48: nec12: tabnec12.o
49: nec-t: tabnec-t.o
50: nec25-t: tabnec25-t.o
51: qume: tabqume.o
52: qume12: tabqume12.o
53: xerox: tabxerox.o
54: xerox12: tabxerox12.o
55: x-ecs: tabx-ecs.o
56: x-ecs12: tabx-ecs12.o
57:
58: clean: FRC
59: rm -f ${OBJS} core
60:
61: depend: FRC
62: mkdep ${CFLAGS} ${SRCS}
63:
64: install: FRC
65: for file in tab*.o; do \
66: install -s -o bin -g bin -m 755 $$file ${DEST}/`basename $$file .o`; \
67: done
68: rm -f ${DEST}/tabtn300; ln ${DEST}/tablpr ${DEST}/tabtn300
69: rm -f ${DEST}/tabcrt; ln ${DEST}/tablpr ${DEST}/tabcrt
70: rm -f ${DEST}/tab300s; ln ${DEST}/tab302 ${DEST}/tab300s
71: rm -f ${DEST}/tab300s-12; ln ${DEST}/tab302-12 ${DEST}/tab300s-12
72: rm -f ${DEST}/tabdtc; ln ${DEST}/tab302 ${DEST}/tabdtc
73: rm -f ${DEST}/tabdtc12; ln ${DEST}/tab302-12 ${DEST}/tabdtc12
74: rm -f ${DEST}/tabipsi; ln ${DEST}/tab450 ${DEST}/tabipsi
75: rm -f ${DEST}/tabipsi12; ln ${DEST}/tab450-12 ${DEST}/tabipsi12
76: install -c -o bin -g bin -m 644 README ${DEST}/README
77:
78: lint: FRC
79: lint ${CFLAGS} ${SRCS}
80:
81: tags: FRC
82: ctags ${SRCS}
83:
84: FRC:
85:
86: # DO NOT DELETE THIS LINE -- mkdep uses it.
87: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
88:
89: tab300-12.o: tab300-12.c code.300
90: tab300.o: tab300.c code.300
91: tab302-12.o: tab302-12.c code.300
92: tab302.o: tab302.c code.300
93: tab37.o: tab37.c
94: tab382-12.o: tab382-12.c code.300
95: tab382.o: tab382.c code.300
96: tab450-12.o: tab450-12.c code.300
97: tab450.o: tab450.c code.300
98: tab833-12.o: tab833-12.c code.aj833
99: tab833.o: tab833.c code.aj833
100: tabepson.o: tabepson.c
101: tabitoh.o: tabitoh.c code.itoh
102: tabitoh12.o: tabitoh12.c code.itoh
103: tablpr.o: tablpr.c
104: tabnec-t.o: tabnec-t.c
105: tabnec.o: tabnec.c code.nec
106: tabnec12.o: tabnec12.c code.nec
107: tabnec25-t.o: tabnec25-t.c
108: tabqume.o: tabqume.c
109: tabqume12.o: tabqume12.c
110: tabx-ecs.o: tabx-ecs.c code.x-ecs
111: tabx-ecs12.o: tabx-ecs12.c code.x-ecs
112: tabxerox.o: tabxerox.c code.xerox
113: tabxerox12.o: tabxerox12.c code.xerox
114:
115: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.