0
|
1 ##############################################################################
|
|
2 # Instructions to Make, for compilation of MH modules
|
|
3 #
|
|
4 # This file is automatically generated. Do not edit!
|
12
|
5 # @(#)$Id: Makefile,v 1.2 2005/04/19 15:25:08 kono Exp $
|
0
|
6 ##############################################################################
|
|
7
|
16
|
8 OPT= -g -Wparentheses -Wimplicit-function-declaration -Wimplicit-int
|
|
9 OPTIONS = -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETMG -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop"' -DAPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/less"' -DNNTP -DMAILGROUP -DSENDMTS -DSMTP -DPOP -DSPRINTFTYPE=int -DTYPESIG=void $(OPT)
|
0
|
10
|
16
|
11 CC = clang
|
|
12 CPP = clang -E
|
0
|
13 CFLAGS = $(OPTIONS)
|
|
14 LINT = lint
|
|
15 LFLAGS = -bhu $(OPTIONS)
|
|
16 LLIBS =
|
|
17
|
|
18
|
|
19 LIBS = libmh.a
|
|
20
|
|
21
|
|
22 CFILES = add.c adios.c admonish.c addrsbr.c advertise.c advise.c \
|
|
23 ambigsw.c atooi.c brkstring.c closefds.c concat.c copy.c \
|
|
24 copyip.c cpydata.c cpydgst.c discard.c done.c fdcompare.c \
|
|
25 gans.c getans.c getanswer.c getcpy.c help.c fmtcompile.c \
|
|
26 formataddr.c formatsbr.c m_atoi.c m_backup.c m_convert.c \
|
|
27 m_delete.c m_draft.c m_find.c m_fmsg.c m_foil.c m_getdefs.c \
|
|
28 m_getfld.c m_getfolder.c m_gmprot.c m_gmsg.c m_maildir.c \
|
|
29 m_name.c m_readefs.c m_remsg.c m_replace.c m_scratch.c \
|
|
30 m_seq.c m_seqbits.c m_seqflag.c m_seqnew.c m_setcur.c \
|
|
31 m_setseq.c m_setvis.c m_sync.c m_tmpfil.c m_update.c \
|
|
32 ml_codeconv.c \
|
|
33 ml_exthdr.c \
|
|
34 makedir.c path.c peekc.c pidwait.c pidstatus.c \
|
|
35 printsw.c push.c putenv.c pwd.c refile.c remdir.c r1bindex.c \
|
|
36 ruserpass.c \
|
|
37 showfile.c smatch.c sprintb.c ssequal.c strindex.c trimcpy.c \
|
|
38 uleq.c uprf.c vfgets.c formatdef.c m_msgdef.c
|
|
39
|
|
40
|
|
41 OFILES = add.o adios.o admonish.o addrsbr.o advertise.o advise.o \
|
|
42 ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o \
|
|
43 copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o \
|
|
44 gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o \
|
|
45 formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o \
|
|
46 m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o \
|
|
47 m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o \
|
|
48 m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o \
|
|
49 m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o \
|
|
50 m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o \
|
|
51 ml_codeconv.o \
|
|
52 ml_exthdr.o \
|
|
53 makedir.o path.o peekc.o pidwait.o pidstatus.o \
|
|
54 printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o \
|
|
55 ruserpass.o \
|
|
56 showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o \
|
|
57 uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o
|
|
58
|
|
59
|
|
60 ##############################################################################
|
|
61 # Generation Rules
|
|
62 ##############################################################################
|
|
63
|
12
|
64
|
|
65
|
|
66
|
|
67
|
0
|
68
|
|
69 ##############################################################################
|
|
70 # Generate MH subroutine library
|
|
71 ##############################################################################
|
|
72
|
|
73 all: $(LIBS)
|
|
74
|
|
75 libmh.a: $(OFILES)
|
|
76 -if [ -f $@ ]; then \
|
|
77 mv $@ z$@; \
|
|
78 fi
|
|
79 ar r $@ $(OFILES); ranlib $@
|
|
80 -@ls -l $@
|
|
81 -@echo "MH library built normally"
|
|
82
|
|
83
|
|
84 ##############################################################################
|
|
85 # Miscellaneous tasks
|
|
86 ##############################################################################
|
|
87
|
|
88 inst-lib:;
|
|
89
|
|
90 lint:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
|
|
91
|
|
92 unconfig: distribution
|
|
93 -rm -f Makefile
|
|
94 -rm -rf shared
|
|
95
|
|
96 distribution: clean
|
|
97 -rm -f version
|
|
98
|
|
99 clean: unclean
|
|
100 -rm -f *.o libmh.*
|
|
101
|
|
102 unclean:; -rm -f zlibmh.* _* :* core *.core eddep makedep
|
|
103
|
|
104
|
|
105 ##############################################################################
|
|
106 # MODIFICATIONS -- Adding a new routine (e.g., pickle)
|
|
107 ##############################################################################
|
|
108
|
|
109 #
|
|
110 # Add any new .c files to CFILES
|
|
111 # Add any new .o files to OFILES
|
|
112 #
|
|
113 #
|
|
114 # Under the "Dependencies" section, add a line for pickle.o
|
|
115 # pickle.o: ../h/mh.h
|
|
116 #
|
|
117 # If other includes are read, modify this rule to reflect this
|
|
118 # Of course, if pickle.c doesn't include ../h/mh.h (or any
|
|
119 # other includes), you can leave this line out altogether
|
|
120
|
|
121
|
|
122 ##############################################################################
|
|
123 # Dependencies
|
|
124 ##############################################################################
|
|
125
|
|
126 MODULES = $(CFILES)
|
|
127
|
|
128 depend:
|
|
129 for m in $(MODULES); do ( \
|
|
130 i=`basename $$m .c`; \
|
|
131 $(CPP) -M $(OPTIONS) $$i.c >> makedep \
|
|
132 ); done
|
|
133 echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
|
|
134 echo '$$r makedep' >> eddep
|
|
135 echo 'w' >> eddep
|
|
136 cp Makefile _Makefile
|
|
137 ed - Makefile < eddep
|
|
138 rm eddep makedep
|
|
139 echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
|
|
140 echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
|
|
141
|
|
142 # DO NOT DELETE THIS LINE
|
|
143 # DEPENDENCIES START HERE
|
|
144 add.o: add.c
|
|
145 add.o: ../h/mh.h
|
|
146 #add.o: /usr/include/stdio.h
|
|
147 adios.o: adios.c
|
|
148 adios.o: ../h/mh.h
|
|
149 admonish.o: admonish.c
|
|
150 admonish.o: ../h/mh.h
|
|
151 addrsbr.o: addrsbr.c
|
|
152 addrsbr.o: ../h/mh.h
|
|
153 addrsbr.o: ../h/addrsbr.h
|
|
154 addrsbr.o: ../zotnet/mf.h
|
|
155 #addrsbr.o: /usr/include/stdio.h
|
|
156 #addrsbr.o: /usr/include/ctype.h
|
|
157 advertise.o: advertise.c
|
|
158 advertise.o: ../h/mh.h
|
|
159 #advertise.o: /usr/include/stdio.h
|
|
160 #advertise.o: /usr/include/sys/types.h
|
|
161 #advertise.o: /usr/include/sys/uio.h
|
|
162 advise.o: advise.c
|
|
163 advise.o: ../h/mh.h
|
|
164 ambigsw.o: ambigsw.c
|
|
165 ambigsw.o: ../h/mh.h
|
|
166 #ambigsw.o: /usr/include/stdio.h
|
|
167 atooi.o: atooi.c
|
|
168 brkstring.o: brkstring.c
|
|
169 brkstring.o: ../h/mh.h
|
|
170 closefds.o: closefds.c
|
|
171 closefds.o: ../h/mh.h
|
|
172 #closefds.o: /usr/include/stdio.h
|
|
173 concat.o: concat.c
|
|
174 concat.o: ../h/mh.h
|
|
175 #concat.o: /usr/include/stdio.h
|
|
176 #concat.o: /usr/include/varargs.h
|
|
177 copy.o: copy.c
|
|
178 copyip.o: copyip.c
|
|
179 cpydata.o: cpydata.c
|
|
180 cpydata.o: ../h/mh.h
|
|
181 #cpydata.o: /usr/include/stdio.h
|
|
182 cpydgst.o: cpydgst.c
|
|
183 cpydgst.o: ../h/mh.h
|
|
184 #cpydgst.o: /usr/include/stdio.h
|
|
185 discard.o: discard.c
|
|
186 discard.o: ../h/mh.h
|
|
187 #discard.o: /usr/include/stdio.h
|
|
188 #discard.o: /usr/include/sgtty.h
|
|
189 #discard.o: /usr/include/sys/types.h
|
|
190 #discard.o: /usr/include/termio.h
|
|
191 #discard.o: /usr/include/sys/ioctl.h
|
|
192 done.o: done.c
|
|
193 done.o: ../h/mh.h
|
|
194 fdcompare.o: fdcompare.c
|
|
195 fdcompare.o: ../h/mh.h
|
|
196 #fdcompare.o: /usr/include/stdio.h
|
|
197 gans.o: gans.c
|
|
198 gans.o: ../h/mh.h
|
|
199 #gans.o: /usr/include/stdio.h
|
|
200 getans.o: getans.c
|
|
201 getans.o: ../h/mh.h
|
|
202 #getans.o: /usr/include/setjmp.h
|
|
203 #getans.o: /usr/include/signal.h
|
|
204 #getans.o: /usr/include/stdio.h
|
|
205 getanswer.o: getanswer.c
|
|
206 getanswer.o: ../h/mh.h
|
|
207 #getanswer.o: /usr/include/stdio.h
|
|
208 getcpy.o: getcpy.c
|
|
209 getcpy.o: ../h/mh.h
|
|
210 #getcpy.o: /usr/include/stdio.h
|
|
211 help.o: help.c
|
|
212 help.o: ../h/mh.h
|
|
213 #help.o: /usr/include/stdio.h
|
|
214 formatsbr.o: formatsbr.c
|
|
215 formatsbr.o: ../h/mh.h
|
|
216 formatsbr.o: ../h/addrsbr.h
|
|
217 formatsbr.o: ../h/formatsbr.h
|
|
218 formatsbr.o: ../zotnet/tws.h
|
|
219 formatsbr.o: ../h/fmtcompile.h
|
|
220 #formatsbr.o: /usr/include/ctype.h
|
|
221 #formatsbr.o: /usr/include/stdio.h
|
|
222 #formatsbr.o: /usr/include/sys/types.h
|
|
223 #formatsbr.o: /usr/include/sys/stat.h
|
|
224 fmtcompile.o: fmtcompile.c
|
|
225 fmtcompile.o: ../h/mh.h
|
|
226 fmtcompile.o: ../h/addrsbr.h
|
|
227 fmtcompile.o: ../h/formatsbr.h
|
|
228 fmtcompile.o: ../zotnet/tws.h
|
|
229 fmtcompile.o: ../h/fmtcompile.h
|
|
230 #fmtcompile.o: /usr/include/ctype.h
|
|
231 #fmtcompile.o: /usr/include/stdio.h
|
|
232 #fmtcompile.o: /usr/include/sys/types.h
|
|
233 #fmtcompile.o: /usr/include/sys/stat.h
|
|
234 formataddr.o: formataddr.c
|
|
235 formataddr.o: ../h/mh.h
|
|
236 formataddr.o: ../h/addrsbr.h
|
|
237 formataddr.o: ../h/formatsbr.h
|
|
238 #formataddr.o: /usr/include/ctype.h
|
|
239 #formataddr.o: /usr/include/stdio.h
|
|
240 m_atoi.o: m_atoi.c
|
|
241 m_atoi.o: ../h/mh.h
|
|
242 m_backup.o: m_backup.c
|
|
243 m_backup.o: ../h/mh.h
|
|
244 #m_backup.o: /usr/include/stdio.h
|
|
245 m_convert.o: m_convert.c
|
|
246 m_convert.o: ../h/mh.h
|
|
247 #m_convert.o: /usr/include/stdio.h
|
|
248 #m_convert.o: /usr/include/ctype.h
|
|
249 m_delete.o: m_delete.c
|
|
250 m_delete.o: ../h/mh.h
|
|
251 #m_delete.o: /usr/include/stdio.h
|
|
252 m_draft.o: m_draft.c
|
|
253 m_draft.o: ../h/mh.h
|
|
254 #m_draft.o: /usr/include/errno.h
|
|
255 #m_draft.o: /usr/include/stdio.h
|
|
256 #m_draft.o: /usr/include/sys/types.h
|
|
257 #m_draft.o: /usr/include/sys/stat.h
|
|
258 m_find.o: m_find.c
|
|
259 m_find.o: ../h/mh.h
|
|
260 #m_find.o: /usr/include/stdio.h
|
|
261 m_fmsg.o: m_fmsg.c
|
|
262 m_fmsg.o: ../h/mh.h
|
|
263 #m_fmsg.o: /usr/include/stdio.h
|
|
264 m_foil.o: m_foil.c
|
|
265 m_foil.o: ../h/mh.h
|
|
266 #m_foil.o: /usr/include/stdio.h
|
|
267 m_getdefs.o: m_getdefs.c
|
|
268 m_getdefs.o: ../h/mh.h
|
|
269 #m_getdefs.o: /usr/include/stdio.h
|
|
270 #m_getdefs.o: /usr/include/errno.h
|
|
271 #m_getdefs.o: /usr/include/sys/types.h
|
|
272 #m_getdefs.o: /usr/include/sys/stat.h
|
|
273 #m_getdefs.o: /usr/include/pwd.h
|
|
274 m_getfld.o: m_getfld.c
|
|
275 m_getfld.o: ../h/mh.h
|
|
276 #m_getfld.o: /usr/include/stdio.h
|
|
277 m_getfld.o: ../zotnet/mts.h
|
|
278 #m_getfld.o: /usr/include/ctype.h
|
|
279 m_getfolder.o: m_getfolder.c
|
|
280 m_getfolder.o: ../h/mh.h
|
|
281 #m_getfolder.o: /usr/include/stdio.h
|
|
282 m_gmprot.o: m_gmprot.c
|
|
283 m_gmprot.o: ../h/mh.h
|
|
284 #m_gmprot.o: /usr/include/stdio.h
|
|
285 m_gmsg.o: m_gmsg.c
|
|
286 m_gmsg.o: ../h/mh.h
|
|
287 m_gmsg.o: ../h/local.h
|
|
288 #m_gmsg.o: /usr/include/stdio.h
|
|
289 #m_gmsg.o: /usr/include/sys/types.h
|
|
290 #m_gmsg.o: /usr/include/sys/stat.h
|
|
291 #m_gmsg.o: /usr/include/ndir.h
|
|
292 #m_gmsg.o: /usr/include/dir.h
|
|
293 #m_gmsg.o: /usr/include/sys/dir.h
|
|
294 m_maildir.o: m_maildir.c
|
|
295 m_maildir.o: ../h/mh.h
|
|
296 #m_maildir.o: /usr/include/stdio.h
|
|
297 m_name.o: m_name.c
|
|
298 m_name.o: ../h/mh.h
|
|
299 #m_name.o: /usr/include/stdio.h
|
|
300 m_readefs.o: m_readefs.c
|
|
301 m_readefs.o: ../h/mh.h
|
|
302 #m_readefs.o: /usr/include/stdio.h
|
|
303 m_remsg.o: m_remsg.c
|
|
304 m_remsg.o: ../h/mh.h
|
|
305 #m_remsg.o: /usr/include/stdio.h
|
|
306 m_replace.o: m_replace.c
|
|
307 m_replace.o: ../h/mh.h
|
|
308 #m_replace.o: /usr/include/stdio.h
|
|
309 m_scratch.o: m_scratch.c
|
|
310 m_scratch.o: ../h/mh.h
|
|
311 #m_scratch.o: /usr/include/stdio.h
|
|
312 m_seq.o: m_seq.c
|
|
313 m_seq.o: ../h/mh.h
|
|
314 #m_seq.o: /usr/include/stdio.h
|
|
315 m_seqbits.o: m_seqbits.c
|
|
316 m_seqbits.o: ../h/mh.h
|
|
317 #m_seqbits.o: /usr/include/stdio.h
|
|
318 m_seqflag.o: m_seqflag.c
|
|
319 m_seqflag.o: ../h/mh.h
|
|
320 m_seqnew.o: m_seqnew.c
|
|
321 m_seqnew.o: ../h/mh.h
|
|
322 #m_seqnew.o: /usr/include/ctype.h
|
|
323 #m_seqnew.o: /usr/include/stdio.h
|
|
324 m_setcur.o: m_setcur.c
|
|
325 m_setcur.o: ../h/mh.h
|
|
326 #m_setcur.o: /usr/include/stdio.h
|
|
327 m_setseq.o: m_setseq.c
|
|
328 m_setseq.o: ../h/mh.h
|
|
329 #m_setseq.o: /usr/include/stdio.h
|
|
330 m_setvis.o: m_setvis.c
|
|
331 m_setvis.o: ../h/mh.h
|
|
332 #m_setvis.o: /usr/include/stdio.h
|
|
333 m_sync.o: m_sync.c
|
|
334 m_sync.o: ../h/mh.h
|
|
335 #m_sync.o: /usr/include/stdio.h
|
|
336 m_tmpfil.o: m_tmpfil.c
|
|
337 m_tmpfil.o: ../h/mh.h
|
|
338 #m_tmpfil.o: /usr/include/stdio.h
|
|
339 m_update.o: m_update.c
|
|
340 m_update.o: ../h/mh.h
|
|
341 #m_update.o: /usr/include/stdio.h
|
|
342 #m_update.o: /usr/include/signal.h
|
|
343 makedir.o: makedir.c
|
|
344 makedir.o: ../h/mh.h
|
|
345 #makedir.o: /usr/include/stdio.h
|
|
346 path.o: path.c
|
|
347 path.o: ../h/mh.h
|
|
348 #path.o: /usr/include/stdio.h
|
|
349 peekc.o: peekc.c
|
|
350 peekc.o: ../h/mh.h
|
|
351 #peekc.o: /usr/include/stdio.h
|
|
352 pidwait.o: pidwait.c
|
|
353 pidwait.o: ../h/mh.h
|
|
354 #pidwait.o: /usr/include/signal.h
|
|
355 #pidwait.o: /usr/include/stdio.h
|
|
356 #pidwait.o: /usr/include/sys/wait.h
|
|
357 pidstatus.o: pidstatus.c
|
|
358 pidstatus.o: ../h/mh.h
|
|
359 #pidstatus.o: /usr/include/signal.h
|
|
360 #pidstatus.o: /usr/include/stdio.h
|
|
361 printsw.o: printsw.c
|
|
362 printsw.o: ../h/mh.h
|
|
363 push.o: push.c
|
|
364 push.o: ../h/mh.h
|
|
365 #push.o: /usr/include/stdio.h
|
|
366 #push.o: /usr/include/signal.h
|
|
367 putenv.o: putenv.c
|
|
368 putenv.o: ../h/mh.h
|
|
369 #putenv.o: /usr/include/stdio.h
|
|
370 pwd.o: pwd.c
|
|
371 pwd.o: ../h/mh.h
|
|
372 pwd.o: ../h/local.h
|
|
373 #pwd.o: /usr/include/stdio.h
|
|
374 #pwd.o: /usr/include/sys/types.h
|
|
375 #pwd.o: /usr/include/sys/stat.h
|
|
376 #pwd.o: /usr/include/ndir.h
|
|
377 #pwd.o: /usr/include/dir.h
|
|
378 refile.o: refile.c
|
|
379 refile.o: ../h/mh.h
|
|
380 #refile.o: /usr/include/stdio.h
|
|
381 remdir.o: remdir.c
|
|
382 remdir.o: ../h/mh.h
|
|
383 #remdir.o: /usr/include/stdio.h
|
|
384 r1bindex.o: r1bindex.c
|
|
385 showfile.o: showfile.c
|
|
386 showfile.o: ../h/mh.h
|
|
387 #showfile.o: /usr/include/stdio.h
|
|
388 smatch.o: smatch.c
|
|
389 smatch.o: ../h/mh.h
|
|
390 sprintb.o: sprintb.c
|
|
391 sprintb.o: ../h/mh.h
|
|
392 #sprintb.o: /usr/include/stdio.h
|
|
393 ssequal.o: ssequal.c
|
|
394 strindex.o: strindex.c
|
|
395 trimcpy.o: trimcpy.c
|
|
396 trimcpy.o: ../h/mh.h
|
|
397 #trimcpy.o: /usr/include/ctype.h
|
|
398 #trimcpy.o: /usr/include/stdio.h
|
|
399 uleq.o: uleq.c
|
|
400 uprf.o: uprf.c
|
|
401 vfgets.o: vfgets.c
|
|
402 vfgets.o: ../h/mh.h
|
|
403 #vfgets.o: /usr/include/stdio.h
|
|
404 ml_codeconv.o: ../h/mh.h
|
|
405 ml_exthdr.o: ../h/mh.h
|
|
406 # DEPENDENCIES MUST END AT END OF FILE
|
|
407 # IF YOU PUT STUFF HERE IT WILL GO AWAY
|