]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/subs/Makefile
Create new mh-format function %(ordinal)
[nmh] / docs / historical / mh-jun-1982 / subs / Makefile
1 #
2 # Proprietary Rand Corporation, 1981.
3 # Further distribution of this software
4 # subject to the terms of the Rand
5 # license agreement.
6 #
7
8 CFLAGS = -O -I/usr/include -I../support # -m
9 LIB = subs.a
10 OFILES =\
11 add.o \
12 ambigsw.o \
13 atooi.o \
14 brkstring.o \
15 cdate.o \
16 cndfree.o \
17 concat.o \
18 copy.o \
19 copyip.o \
20 cputc.o \
21 done.o \
22 fdcompare.o \
23 gans.o \
24 getans.o \
25 getcpy.o \
26 help.o \
27 locv.o \
28 m_convert.o \
29 m_delete.o \
30 m_edit.o \
31 m_file.o \
32 m_find.o \
33 m_getcur.o \
34 m_getdefs.o \
35 m_getfld.o \
36 m_getfolder.o \
37 m_gmprot.o \
38 m_gmsg.o \
39 m_maildir.o \
40 m_name.o \
41 m_replace.o \
42 m_send.o \
43 m_setcur.o \
44 m_update.o \
45 makedir.o \
46 makename.o \
47 mu_atoi.o \
48 path.o \
49 peekc.o \
50 pr_array.o \
51 printsw.o \
52 putenv.o \
53 pwd.o \
54 r1bindex.o \
55 showfile.o \
56 smatch.o \
57 ssequal.o \
58 trimcpy.o \
59 type.o \
60 uleq.o
61
62 CFILES =\
63 add.c \
64 ambigsw.c \
65 atooi.c \
66 brkstring.c \
67 cdate.c \
68 cndfree.c \
69 concat.c \
70 copy.c \
71 copyip.c \
72 cputc.c \
73 done.c \
74 fdcompare.c \
75 gans.c \
76 getans.c \
77 getcpy.c \
78 help.c \
79 locv.c \
80 m_convert.c \
81 m_delete.c \
82 m_edit.c \
83 m_file.c \
84 m_find.c \
85 m_getcur.c \
86 m_getdefs.c \
87 m_getfld.c \
88 m_getfolder.c \
89 m_gmprot.c \
90 m_gmsg.c \
91 m_maildir.c \
92 m_name.c \
93 m_replace.c \
94 m_send.c \
95 m_setcur.c \
96 m_update.c \
97 makedir.c \
98 makename.c \
99 mu_atoi.c \
100 path.c \
101 peekc.c \
102 pr_array.c \
103 printsw.c \
104 putenv.c \
105 pwd.c \
106 r1bindex.c \
107 showfile.c \
108 smatch.c \
109 ssequal.c \
110 trimcpy.c \
111 type.c \
112 uleq.c
113
114 $(LIB): $(OFILES)
115 -rm -f $(LIB)
116 ar cr $(LIB) `lorder $(OFILES) | tsort`
117 ranlib $(LIB)
118
119 .c.o:
120 $(CC) $(CFLAGS) -c -O $*.c
121 -@ld -x -r $@
122 @mv a.out $@
123
124 lint:
125 -lint $(CFILES) subs-lc
126
127 distribution: clean
128 -rm -f $(LIB)
129
130 clean:
131 -rm -f $(OFILES)
132
133 depend:
134 ../misc/depend.sh $(CFILES)
135
136 ###DEPENDENCIES Follow. Do not delete this line
137 add.o: /usr/include/stdio.h
138 add.o: ../mh.h
139 ambigsw.o: /usr/include/stdio.h
140 ambigsw.o: ../mh.h
141 concat.o: ../mh.h
142 cputc.o: /usr/include/stdio.h
143 fdcompare.o: ../mh.h
144 gans.o: ../mh.h
145 gans.o: /usr/include/stdio.h
146 getans.o: ../mh.h
147 getans.o: /usr/include/signal.h
148 getans.o: /usr/include/stdio.h
149 getcpy.o: ../mh.h
150 help.o: ../mh.h
151 locv.o: /usr/include/stdio.h
152 m_convert.o: ../mh.h
153 m_convert.o: /usr/include/stdio.h
154 m_convert.o: /usr/include/ctype.h
155 m_delete.o: ../mh.h
156 m_edit.o: ../mh.h
157 m_edit.o: /usr/include/sys/types.h
158 m_edit.o: /usr/include/sys/stat.h
159 m_edit.o: /usr/include/signal.h
160 m_edit.o: /usr/include/stdio.h
161 #m_edit.o: /usr/include/strings.h
162 m_file.o: ../mh.h
163 m_file.o: ../folder.h
164 m_file.o: /usr/include/stdio.h
165 m_file.o: /usr/include/sys/types.h
166 m_file.o: /usr/include/sys/stat.h
167 m_file.o: /usr/include/errno.h
168 m_find.o: ../mh.h
169 m_find.o: /usr/include/stdio.h
170 m_getcur.o: /usr/include/stdio.h
171 m_getcur.o: ../mh.h
172 m_getdefs.o: ../mh.h
173 m_getdefs.o: /usr/include/stdio.h
174 m_getfld.o: ../mh.h
175 m_getfld.o: /usr/include/stdio.h
176 m_getfolder.o: ../mh.h
177 m_getfolder.o: /usr/include/stdio.h
178 m_gmprot.o: ../mh.h
179 m_gmprot.o: /usr/include/stdio.h
180 m_gmsg.o: ../mh.h
181 m_gmsg.o: /usr/include/stdio.h
182 m_maildir.o: ../mh.h
183 m_maildir.o: /usr/include/stdio.h
184 m_name.o: ../mh.h
185 m_replace.o: ../mh.h
186 m_send.o: ../mh.h
187 m_send.o: /usr/include/stdio.h
188 m_setcur.o: ../mh.h
189 m_setcur.o: /usr/include/stdio.h
190 m_update.o: ../mh.h
191 m_update.o: /usr/include/stdio.h
192 m_update.o: /usr/include/signal.h
193 makedir.o: ../mh.h
194 makedir.o: /usr/include/stdio.h
195 makename.o: ../mh.h
196 makename.o: /usr/include/stdio.h
197 mu_atoi.o: ../mh.h
198 path.o: ../mh.h
199 peekc.o: /usr/include/stdio.h
200 peekc.o: ../mh.h
201 printsw.o: ../mh.h
202 putenv.o: /usr/include/stdio.h
203 pwd.o: /usr/include/stdio.h
204 #pwd.o: /usr/include/strings.h
205 showfile.o: ../mh.h
206 showfile.o: /usr/include/signal.h
207 showfile.o: /usr/include/stdio.h
208 smatch.o: ../mh.h
209 type.o: /usr/include/stdio.h