Commit | Line | Data |
---|---|---|
120e0954 KB |
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.3 (Berkeley) %G% | |
7 | # | |
8 | CFLAGS= -O | |
9 | LIBC= /lib/libc.a | |
10 | SRCS= t0.c t1.c t2.c t3.c t4.c t5.c t6.c t7.c t8.c t9.c tb.c tc.c te.c \ | |
11 | tf.c tg.c ti.c tm.c ts.c tt.c tu.c tv.c | |
12 | OBJS= t0.o t1.o t2.o t3.o t4.o t5.o t6.o t7.o t8.o t9.o tb.o tc.o te.o \ | |
13 | tf.o tg.o ti.o tm.o ts.o tt.o tu.o tv.o | |
384c3460 | 14 | |
120e0954 | 15 | all: tbl |
384c3460 | 16 | |
120e0954 KB |
17 | tbl: ${OBJS} ${LIBC} |
18 | ${CC} -o $@ ${CFLAGS} ${OBJS} | |
384c3460 | 19 | |
120e0954 KB |
20 | clean: FRC |
21 | rm -f ${OBJS} core tbl | |
384c3460 | 22 | |
120e0954 KB |
23 | depend: FRC |
24 | mkdep ${CFLAGS} ${SRCS} | |
25 | ||
26 | install: FRC | |
27 | install -s -o bin -g bin -m 755 tbl ${DESTDIR}/usr/bin/tbl | |
28 | ||
29 | lint: FRC | |
30 | lint ${CFLAGS} ${SRCS} | |
31 | ||
32 | tags: FRC | |
33 | ctags ${SRCS} | |
384c3460 BS |
34 | |
35 | test: | |
36 | sh compr sample01 | |
37 | sh compr sample02 | |
38 | sh compr sample03 | |
39 | sh compr sample04 | |
40 | sh compr sample05 | |
41 | sh compr sample06 | |
42 | sh compr sample07 | |
43 | sh compr sample08 | |
44 | sh compeq sample09 | |
45 | sh compeq sample10 | |
46 | sh compeq sample11 | |
47 | sh compr sample12 | |
48 | sh compr sample13 | |
49 | sh compr sample14 | |
50 | sh compr sample15 | |
51 | sh compr sample16 | |
52 | sh compr sample17 | |
53 | sh compr sample18 | |
54 | sh compr sample19 | |
55 | sh compr sample20 | |
56 | sh compr sample21 | |
57 | sh compr sample22 | |
58 | sh compr sample23 | |
59 | sh compms sample24 | |
60 | sh compr sample25 | |
61 | sh compr sample26 | |
62 | sh compr sample27 | |
63 | sh compr sample28 | |
64 | sh compr sample29 | |
65 | sh compr sample30 | |
66 | sh compr sample31 | |
67 | sh compr sample32 | |
68 | sh compr sample33 | |
69 | sh compms sample34 | |
70 | sh compeq sample35 | |
71 | sh compeq sample36 | |
72 | sh compnr sample37 | |
73 | sh compr sample38 | |
74 | sh compr sample39 | |
75 | sh compr sample40 | |
76 | sh compr sample41 | |
77 | sh compr sample42 | |
78 | sh compr sample43 | |
79 | sh compr sample44 | |
80 | sh compms sample45 | |
81 | sh compms sample46 | |
82 | sh compr sample47 | |
83 | sh compnr sample48 | |
84 | sh compeq /usr/doc/mel/tables | |
120e0954 | 85 | |
384c3460 BS |
86 | ichk: /usr/bin/tbl |
87 | /usr/bin/tbl sample1 >junk1 | |
88 | cmp -s junk1 out1 | |
120e0954 KB |
89 | FRC: |
90 | ||
91 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
92 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
93 | ||
94 | t0.o: t0.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
95 | t1.o: t1.c t..c /usr/include/stdio.h /usr/include/ctype.h /usr/include/signal.h | |
96 | t2.o: t2.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
97 | t3.o: t3.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
98 | t4.o: t4.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
99 | t5.o: t5.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
100 | t6.o: t6.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
101 | t7.o: t7.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
102 | t8.o: t8.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
103 | t9.o: t9.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
104 | tb.o: tb.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
105 | tc.o: tc.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
106 | te.o: te.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
107 | tf.o: tf.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
108 | tg.o: tg.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
109 | ti.o: ti.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
110 | tm.o: tm.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
111 | ts.o: ts.c | |
112 | tt.o: tt.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
113 | tu.o: tu.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
114 | tv.o: tv.c t..c /usr/include/stdio.h /usr/include/ctype.h | |
a8629c9c | 115 | |
120e0954 | 116 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |