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