Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / makefiles / RCS / sbr,v
1 head    2.21;
2 access;
3 symbols;
4 locks; strict;
5
6
7 2.21
8 date    93.02.26.19.01.31;      author jromine; state Exp;
9 branches;
10 next    2.20;
11
12 2.20
13 date    93.02.26.18.51.23;      author jromine; state Exp;
14 branches;
15 next    2.19;
16
17 2.19
18 date    92.11.12.22.47.24;      author jromine; state Exp;
19 branches;
20 next    2.18;
21
22 2.18
23 date    92.10.30.06.53.37;      author jromine; state Exp;
24 branches;
25 next    2.17;
26
27 2.17
28 date    92.10.28.18.03.08;      author jromine; state Exp;
29 branches;
30 next    2.16;
31
32 2.16
33 date    92.10.20.23.00.26;      author jromine; state Exp;
34 branches;
35 next    2.15;
36
37 2.15
38 date    92.05.12.22.07.43;      author jromine; state Exp;
39 branches;
40 next    2.14;
41
42 2.14
43 date    92.02.07.19.12.32;      author jromine; state Exp;
44 branches;
45 next    2.13;
46
47 2.13
48 date    92.02.04.17.43.29;      author jromine; state Exp;
49 branches;
50 next    2.12;
51
52 2.12
53 date    92.01.30.16.36.16;      author jromine; state Exp;
54 branches;
55 next    2.11;
56
57 2.11
58 date    92.01.29.00.18.53;      author jromine; state Exp;
59 branches;
60 next    2.10;
61
62 2.10
63 date    92.01.27.17.33.42;      author jromine; state Exp;
64 branches;
65 next    2.9;
66
67 2.9
68 date    90.04.08.22.00.14;      author sources; state Exp;
69 branches;
70 next    2.8;
71
72 2.8
73 date    90.04.08.20.23.18;      author sources; state Exp;
74 branches;
75 next    2.7;
76
77 2.7
78 date    90.04.05.15.18.10;      author sources; state Exp;
79 branches;
80 next    2.6;
81
82 2.6
83 date    90.03.21.22.21.35;      author sources; state Exp;
84 branches;
85 next    2.5;
86
87 2.5
88 date    90.03.15.16.11.41;      author sources; state Exp;
89 branches;
90 next    2.4;
91
92 2.4
93 date    90.03.12.11.29.03;      author sources; state Exp;
94 branches;
95 next    2.3;
96
97 2.3
98 date    90.02.23.17.55.46;      author sources; state Exp;
99 branches;
100 next    2.2;
101
102 2.2
103 date    90.02.21.16.59.43;      author sources; state Exp;
104 branches;
105 next    2.1;
106
107 2.1
108 date    90.02.06.12.51.25;      author sources; state Exp;
109 branches;
110 next    2.0;
111
112 2.0
113 date    89.11.17.15.56.41;      author sources; state Exp;
114 branches;
115 next    1.1;
116
117 1.1
118 date    89.11.17.15.44.20;      author sources; state Exp;
119 branches;
120 next    ;
121
122
123 desc
124 @@
125
126
127 2.21
128 log
129 @add NORUSERPASS for 386BSD
130 @
131 text
132 @##############################################################################
133 #    Instructions to Make, for compilation of MH modules
134 #
135 #       @@(MHWARNING)
136 # @@(#)$Id: sbr,v 2.20 1993/02/26 18:51:23 jromine Exp jromine $
137 ##############################################################################
138
139 OPTIONS =       @@(MHOPTIONS)
140
141 CC      =       @@(MHCOMPILER)
142 @@BEGIN: OPTIM
143 CFLAGS  =       $(OPTIONS)
144 @@END: OPTIM
145 @@BEGIN: DEBUG
146 CFLAGS  =            $(OPTIONS)
147 @@END: DEBUG
148 LINT    =       lint
149 LFLAGS  =       -bhu $(OPTIONS)
150 LLIBS   =
151
152
153 @@BEGIN: STDLIB
154 LIBS    =       libmh.a
155 @@END: STDLIB
156 @@BEGIN: SHAREDLIB
157 @@BEGIN: SUN4SHLIB
158 LIBSA   =       libmh.sa
159 @@END: SUN4SHLIB
160 LIBS     =      shared libmh.a libmh.so $(LIBSA)
161 SLIBVER =       @@(SLIBVER)
162 SLIBDIR =       $(DESTDIR)@@(SLIBDIR)
163 SLFLAGS=        @@(SLFLAGS)
164 @@END: SHAREDLIB
165
166 PGMPROT =       0755
167
168 CFILES  =       add.c adios.c admonish.c addrsbr.c advertise.c advise.c \
169                 ambigsw.c atooi.c brkstring.c closefds.c concat.c copy.c \
170                 copyip.c cpydata.c cpydgst.c discard.c done.c fdcompare.c \
171                 gans.c getans.c getanswer.c getcpy.c help.c fmtcompile.c \
172                 formataddr.c formatsbr.c m_atoi.c m_backup.c m_convert.c \
173                 m_delete.c m_draft.c m_find.c m_fmsg.c m_foil.c m_getdefs.c \
174                 m_getfld.c m_getfolder.c m_gmprot.c m_gmsg.c m_maildir.c \
175                 m_name.c m_readefs.c m_remsg.c m_replace.c m_scratch.c \
176                 m_seq.c m_seqbits.c m_seqflag.c m_seqnew.c m_setcur.c \
177                 m_setseq.c m_setvis.c m_sync.c m_tmpfil.c m_update.c \
178                 makedir.c path.c peekc.c pidwait.c pidstatus.c \
179                 printsw.c push.c putenv.c pwd.c refile.c remdir.c r1bindex.c \
180 @@BEGIN: NORUSERPASS
181                 ruserpass.c \
182 @@END: NORUSERPASS
183                 showfile.c smatch.c sprintb.c ssequal.c strindex.c trimcpy.c \
184                 uleq.c uprf.c vfgets.c formatdef.c m_msgdef.c
185
186
187 OFILES  =       add.o adios.o admonish.o addrsbr.o advertise.o advise.o \
188                 ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o \
189                 copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o \
190                 gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o \
191                 formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o \
192                 m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o \
193                 m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o \
194                 m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o \
195                 m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o \
196                 m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o \
197                 makedir.o path.o peekc.o pidwait.o pidstatus.o \
198                 printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o \
199 @@BEGIN: NORUSERPASS
200                 ruserpass.o \
201 @@END: NORUSERPASS
202                 showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o \
203                 uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o
204
205 @@BEGIN: SHAREDLIB
206 ODEFS   =       formatdef.o m_msgdef.o
207 @@END: SHAREDLIB
208
209 @@BEGIN: OPTIM
210 ##############################################################################
211 #       Generation Rules
212 ##############################################################################
213
214 .c.o:
215 @@BEGIN: SHAREDLIB
216                 -rm -f $@@ shared/$@@
217                 $(CC) $(CFLAGS) -c $(SLFLAGS) $*.c
218                 mv $@@ shared/$@@
219                 -rm -f $@@
220 @@END: SHAREDLIB
221                 $(CC) $(CFLAGS) -c $*.c
222 @@BEGIN: NEWLOAD
223                 -ld -x -r $@@
224                 mv a.out $@@
225 @@END: NEWLOAD
226 @@BEGIN: OLDLOAD
227                 cc -s -o $@@
228 @@END: OLDLOAD
229
230 @@END: OPTIM
231 ##############################################################################
232 #       Generate MH subroutine library
233 ##############################################################################
234
235 all:            $(LIBS)
236
237 libmh.a:        $(OFILES)
238                 -mv $@@ z$@@
239 @@BEGIN: RANLIB
240                 ar r $@@ $(OFILES); ranlib $@@
241 @@END: RANLIB
242 @@BEGIN: LORDER
243                 ar r $@@ `lorder $(OFILES) | tsort`
244 @@END: LORDER
245                 -@@ls -l $@@
246                 -@@echo "MH library built normally"
247
248 @@BEGIN: SHAREDLIB
249 libmh.so:       $(OFILES)
250                 -mv -f $@@ z$@@
251 @@BEGIN: SUN4SHLIB
252                 (cd shared; ld -o ../$@@ -assert pure-text $(OFILES))
253 @@END: SUN4SHLIB
254 @@BEGIN: SYS5SHLIB
255                 (cd shared; ld -G -o ../$@@ -h $@@.$(SLIBVER) $(OFILES))
256 @@END: SYS5SHLIB
257                 -@@rm -f $@@.$(SLIBVER)
258                 ln $@@ $@@.$(SLIBVER)
259                 -@@ls -l $@@*
260                 -@@echo "MH shared library built normally"
261
262 @@BEGIN: SUN4SHLIB
263 libmh.sa:       $(ODEFS)
264                 -mv $@@ z$@@
265 @@BEGIN: RANLIB
266                 ar r $@@ $(ODEFS); ranlib $@@
267 @@END: RANLIB
268 @@BEGIN: LORDER
269                 ar r $@@ `lorder $(ODEFS) | tsort`
270 @@END: LORDER
271                 -@@rm -f $@@.$(SLIBVER)
272                 ln $@@ $@@.$(SLIBVER)
273                 -@@ls -l $@@*
274                 -@@echo "MH data interface description built normally"
275 @@END: SUN4SHLIB
276
277 shared:;        @@if [ -d shared ]; then exit 0; else set -x; mkdir shared; fi
278 @@END: SHAREDLIB
279
280 ##############################################################################
281 #       Miscellaneous tasks
282 ##############################################################################
283
284 @@BEGIN: SHAREDLIB
285 inst-lib:       libmh.so $(LIBSA)
286                 -rm -f $(SLIBDIR)/libmh.so.$(SLIBVER)
287                 cp libmh.so.$(SLIBVER) $(SLIBDIR)/libmh.so.$(SLIBVER)
288                 -@@chmod $(PGMPROT) $(SLIBDIR)/libmh.so.$(SLIBVER)
289                 -@@ls -l $(SLIBDIR)/libmh.so.*
290                 -@@echo "Shared library installed normally"
291                 -@@echo ""
292 @@BEGIN: SUN4SHLIB
293                 -rm -f $(SLIBDIR)/libmh.sa.$(SLIBVER)
294                 cp libmh.sa.$(SLIBVER) $(SLIBDIR)/libmh.sa.$(SLIBVER)
295                 -@@chmod $(PGMPROT) $(SLIBDIR)/libmh.sa.$(SLIBVER)
296 @@BEGIN: RANLIB
297                 cd $(SLIBDIR); ranlib libmh.sa.$(SLIBVER)
298 @@END: RANLIB
299                 -@@ls -l $(SLIBDIR)/libmh.sa.*
300                 -@@echo "Data interface description installed normally"
301                 -@@echo ""
302 @@END: SUN4SHLIB
303 @@END: SHAREDLIB
304 @@BEGIN: STDLIB
305 inst-lib:;
306 @@END: STDLIB
307
308 lint:;          $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
309
310 unconfig:       distribution
311                 -rm -f Makefile
312                 -rm -rf shared
313
314 distribution:   clean
315                 -rm -f version
316
317 clean:          unclean
318                 -rm -f *.o libmh.*
319 @@BEGIN: SHAREDLIB
320                 -rm -f shared/*.o
321 @@END: SHAREDLIB
322
323 unclean:;       -rm -f zlibmh.* _* :* core eddep makedep
324
325
326 ##############################################################################
327 #  MODIFICATIONS -- Adding a new routine (e.g., pickle)
328 ##############################################################################
329
330 #
331 #    Add any new .c files to CFILES
332 #    Add any new .o files to OFILES
333 #
334 #
335 #    Under the "Dependencies" section, add a line for pickle.o
336 #       pickle.o:       ../h/mh.h
337 #
338 #    If other includes are read, modify this rule to reflect this
339 #    Of course, if pickle.c doesn't include ../h/mh.h (or any
340 #    other includes), you can leave this line out altogether
341
342
343 ##############################################################################
344 #       Dependencies
345 ##############################################################################
346
347 MODULES =       $(CFILES)
348
349 depend:;        for m in $(MODULES); do ( \
350                     i=`basename $$m .c`; \
351                     echo $$i.o: $$i.c >> makedep; \
352                     grep '^#[   ]*include' $$i.c | \
353                         sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
354                             -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
355                             -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
356                         >> makedep \
357                 ); done
358                 echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
359                 echo '$$r makedep' >> eddep
360                 echo 'w' >> eddep
361                 cp Makefile _Makefile
362                 ed - Makefile < eddep
363                 rm eddep makedep
364                 echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
365                 echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
366
367 # DO NOT DELETE THIS LINE
368 # DEPENDENCIES START HERE
369 add.o: add.c
370 add.o: ../h/mh.h
371 #add.o: /usr/include/stdio.h
372 adios.o: adios.c
373 adios.o: ../h/mh.h
374 admonish.o: admonish.c
375 admonish.o: ../h/mh.h
376 addrsbr.o: addrsbr.c
377 addrsbr.o: ../h/mh.h
378 addrsbr.o: ../h/addrsbr.h
379 addrsbr.o: ../zotnet/mf.h
380 #addrsbr.o: /usr/include/stdio.h
381 #addrsbr.o: /usr/include/ctype.h
382 advertise.o: advertise.c
383 advertise.o: ../h/mh.h
384 #advertise.o: /usr/include/stdio.h
385 #advertise.o: /usr/include/sys/types.h
386 #advertise.o: /usr/include/sys/uio.h
387 advise.o: advise.c
388 advise.o: ../h/mh.h
389 ambigsw.o: ambigsw.c
390 ambigsw.o: ../h/mh.h
391 #ambigsw.o: /usr/include/stdio.h
392 atooi.o: atooi.c
393 brkstring.o: brkstring.c
394 brkstring.o: ../h/mh.h
395 closefds.o: closefds.c
396 closefds.o: ../h/mh.h
397 #closefds.o: /usr/include/stdio.h
398 concat.o: concat.c
399 concat.o: ../h/mh.h
400 #concat.o: /usr/include/stdio.h
401 #concat.o: /usr/include/varargs.h
402 copy.o: copy.c
403 copyip.o: copyip.c
404 cpydata.o: cpydata.c
405 cpydata.o: ../h/mh.h
406 #cpydata.o: /usr/include/stdio.h
407 cpydgst.o: cpydgst.c
408 cpydgst.o: ../h/mh.h
409 #cpydgst.o: /usr/include/stdio.h
410 discard.o: discard.c
411 discard.o: ../h/mh.h
412 #discard.o: /usr/include/stdio.h
413 #discard.o: /usr/include/sgtty.h
414 #discard.o: /usr/include/sys/types.h
415 #discard.o: /usr/include/termio.h
416 #discard.o: /usr/include/sys/ioctl.h
417 done.o: done.c
418 done.o: ../h/mh.h
419 fdcompare.o: fdcompare.c
420 fdcompare.o: ../h/mh.h
421 #fdcompare.o: /usr/include/stdio.h
422 gans.o: gans.c
423 gans.o: ../h/mh.h
424 #gans.o: /usr/include/stdio.h
425 getans.o: getans.c
426 getans.o: ../h/mh.h
427 #getans.o: /usr/include/setjmp.h
428 #getans.o: /usr/include/signal.h
429 #getans.o: /usr/include/stdio.h
430 getanswer.o: getanswer.c
431 getanswer.o: ../h/mh.h
432 #getanswer.o: /usr/include/stdio.h
433 getcpy.o: getcpy.c
434 getcpy.o: ../h/mh.h
435 #getcpy.o: /usr/include/stdio.h
436 help.o: help.c
437 help.o: ../h/mh.h
438 #help.o: /usr/include/stdio.h
439 formatsbr.o: formatsbr.c
440 formatsbr.o: ../h/mh.h
441 formatsbr.o: ../h/addrsbr.h
442 formatsbr.o: ../h/formatsbr.h
443 formatsbr.o: ../zotnet/tws.h
444 formatsbr.o: ../h/fmtcompile.h
445 #formatsbr.o: /usr/include/ctype.h
446 #formatsbr.o: /usr/include/stdio.h
447 #formatsbr.o: /usr/include/sys/types.h
448 #formatsbr.o: /usr/include/sys/stat.h
449 fmtcompile.o: fmtcompile.c
450 fmtcompile.o: ../h/mh.h
451 fmtcompile.o: ../h/addrsbr.h
452 fmtcompile.o: ../h/formatsbr.h
453 fmtcompile.o: ../zotnet/tws.h
454 fmtcompile.o: ../h/fmtcompile.h
455 #fmtcompile.o: /usr/include/ctype.h
456 #fmtcompile.o: /usr/include/stdio.h
457 #fmtcompile.o: /usr/include/sys/types.h
458 #fmtcompile.o: /usr/include/sys/stat.h
459 formataddr.o: formataddr.c
460 formataddr.o: ../h/mh.h
461 formataddr.o: ../h/addrsbr.h
462 formataddr.o: ../h/formatsbr.h
463 #formataddr.o: /usr/include/ctype.h
464 #formataddr.o: /usr/include/stdio.h
465 m_atoi.o: m_atoi.c
466 m_atoi.o: ../h/mh.h
467 m_backup.o: m_backup.c
468 m_backup.o: ../h/mh.h
469 #m_backup.o: /usr/include/stdio.h
470 m_convert.o: m_convert.c
471 m_convert.o: ../h/mh.h
472 #m_convert.o: /usr/include/stdio.h
473 #m_convert.o: /usr/include/ctype.h
474 m_delete.o: m_delete.c
475 m_delete.o: ../h/mh.h
476 #m_delete.o: /usr/include/stdio.h
477 m_draft.o: m_draft.c
478 m_draft.o: ../h/mh.h
479 #m_draft.o: /usr/include/errno.h
480 #m_draft.o: /usr/include/stdio.h
481 #m_draft.o: /usr/include/sys/types.h
482 #m_draft.o: /usr/include/sys/stat.h
483 m_find.o: m_find.c
484 m_find.o: ../h/mh.h
485 #m_find.o: /usr/include/stdio.h
486 m_fmsg.o: m_fmsg.c
487 m_fmsg.o: ../h/mh.h
488 #m_fmsg.o: /usr/include/stdio.h
489 m_foil.o: m_foil.c
490 m_foil.o: ../h/mh.h
491 #m_foil.o: /usr/include/stdio.h
492 m_getdefs.o: m_getdefs.c
493 m_getdefs.o: ../h/mh.h
494 #m_getdefs.o: /usr/include/stdio.h
495 #m_getdefs.o: /usr/include/errno.h
496 #m_getdefs.o: /usr/include/sys/types.h
497 #m_getdefs.o: /usr/include/sys/stat.h
498 #m_getdefs.o: /usr/include/pwd.h
499 m_getfld.o: m_getfld.c
500 m_getfld.o: ../h/mh.h
501 #m_getfld.o: /usr/include/stdio.h
502 m_getfld.o: ../zotnet/mts.h
503 #m_getfld.o: /usr/include/ctype.h
504 m_getfolder.o: m_getfolder.c
505 m_getfolder.o: ../h/mh.h
506 #m_getfolder.o: /usr/include/stdio.h
507 m_gmprot.o: m_gmprot.c
508 m_gmprot.o: ../h/mh.h
509 #m_gmprot.o: /usr/include/stdio.h
510 m_gmsg.o: m_gmsg.c
511 m_gmsg.o: ../h/mh.h
512 m_gmsg.o: ../h/local.h
513 #m_gmsg.o: /usr/include/stdio.h
514 #m_gmsg.o: /usr/include/sys/types.h
515 #m_gmsg.o: /usr/include/sys/stat.h
516 #m_gmsg.o: /usr/include/ndir.h
517 #m_gmsg.o: /usr/include/dir.h
518 #m_gmsg.o: /usr/include/sys/dir.h
519 m_maildir.o: m_maildir.c
520 m_maildir.o: ../h/mh.h
521 #m_maildir.o: /usr/include/stdio.h
522 m_name.o: m_name.c
523 m_name.o: ../h/mh.h
524 #m_name.o: /usr/include/stdio.h
525 m_readefs.o: m_readefs.c
526 m_readefs.o: ../h/mh.h
527 #m_readefs.o: /usr/include/stdio.h
528 m_remsg.o: m_remsg.c
529 m_remsg.o: ../h/mh.h
530 #m_remsg.o: /usr/include/stdio.h
531 m_replace.o: m_replace.c
532 m_replace.o: ../h/mh.h
533 #m_replace.o: /usr/include/stdio.h
534 m_scratch.o: m_scratch.c
535 m_scratch.o: ../h/mh.h
536 #m_scratch.o: /usr/include/stdio.h
537 m_seq.o: m_seq.c
538 m_seq.o: ../h/mh.h
539 #m_seq.o: /usr/include/stdio.h
540 m_seqbits.o: m_seqbits.c
541 m_seqbits.o: ../h/mh.h
542 #m_seqbits.o: /usr/include/stdio.h
543 m_seqflag.o: m_seqflag.c
544 m_seqflag.o: ../h/mh.h
545 m_seqnew.o: m_seqnew.c
546 m_seqnew.o: ../h/mh.h
547 #m_seqnew.o: /usr/include/ctype.h
548 #m_seqnew.o: /usr/include/stdio.h
549 m_setcur.o: m_setcur.c
550 m_setcur.o: ../h/mh.h
551 #m_setcur.o: /usr/include/stdio.h
552 m_setseq.o: m_setseq.c
553 m_setseq.o: ../h/mh.h
554 #m_setseq.o: /usr/include/stdio.h
555 m_setvis.o: m_setvis.c
556 m_setvis.o: ../h/mh.h
557 #m_setvis.o: /usr/include/stdio.h
558 m_sync.o: m_sync.c
559 m_sync.o: ../h/mh.h
560 #m_sync.o: /usr/include/stdio.h
561 m_tmpfil.o: m_tmpfil.c
562 m_tmpfil.o: ../h/mh.h
563 #m_tmpfil.o: /usr/include/stdio.h
564 m_update.o: m_update.c
565 m_update.o: ../h/mh.h
566 #m_update.o: /usr/include/stdio.h
567 #m_update.o: /usr/include/signal.h
568 makedir.o: makedir.c
569 makedir.o: ../h/mh.h
570 #makedir.o: /usr/include/stdio.h
571 path.o: path.c
572 path.o: ../h/mh.h
573 #path.o: /usr/include/stdio.h
574 peekc.o: peekc.c
575 peekc.o: ../h/mh.h
576 #peekc.o: /usr/include/stdio.h
577 pidwait.o: pidwait.c
578 pidwait.o: ../h/mh.h
579 #pidwait.o: /usr/include/signal.h
580 #pidwait.o: /usr/include/stdio.h
581 #pidwait.o: /usr/include/sys/wait.h
582 pidstatus.o: pidstatus.c
583 pidstatus.o: ../h/mh.h
584 #pidstatus.o: /usr/include/signal.h
585 #pidstatus.o: /usr/include/stdio.h
586 printsw.o: printsw.c
587 printsw.o: ../h/mh.h
588 push.o: push.c
589 push.o: ../h/mh.h
590 #push.o: /usr/include/stdio.h
591 #push.o: /usr/include/signal.h
592 putenv.o: putenv.c
593 putenv.o: ../h/mh.h
594 #putenv.o: /usr/include/stdio.h
595 pwd.o: pwd.c
596 pwd.o: ../h/mh.h
597 pwd.o: ../h/local.h
598 #pwd.o: /usr/include/stdio.h
599 #pwd.o: /usr/include/sys/types.h
600 #pwd.o: /usr/include/sys/stat.h
601 #pwd.o: /usr/include/ndir.h
602 #pwd.o: /usr/include/dir.h
603 refile.o: refile.c
604 refile.o: ../h/mh.h
605 #refile.o: /usr/include/stdio.h
606 remdir.o: remdir.c
607 remdir.o: ../h/mh.h
608 #remdir.o: /usr/include/stdio.h
609 r1bindex.o: r1bindex.c
610 showfile.o: showfile.c
611 showfile.o: ../h/mh.h
612 #showfile.o: /usr/include/stdio.h
613 smatch.o: smatch.c
614 smatch.o: ../h/mh.h
615 sprintb.o: sprintb.c
616 sprintb.o: ../h/mh.h
617 #sprintb.o: /usr/include/stdio.h
618 ssequal.o: ssequal.c
619 strindex.o: strindex.c
620 trimcpy.o: trimcpy.c
621 trimcpy.o: ../h/mh.h
622 #trimcpy.o: /usr/include/ctype.h
623 #trimcpy.o: /usr/include/stdio.h
624 uleq.o: uleq.c
625 uprf.o: uprf.c
626 vfgets.o: vfgets.c
627 vfgets.o: ../h/mh.h
628 #vfgets.o: /usr/include/stdio.h
629 # DEPENDENCIES MUST END AT END OF FILE
630 # IF YOU PUT STUFF HERE IT WILL GO AWAY
631 @
632
633
634 2.20
635 log
636 @use DESTDIR when installing lib
637 @
638 text
639 @d5 1
640 a5 1
641 # @@(#)$Id: sbr,v 2.19 1992/11/12 22:47:24 jromine Exp jromine $
642 d49 3
643 d68 3
644 @
645
646
647 2.19
648 log
649 @add SLFLAGS
650 @
651 text
652 @d5 1
653 a5 1
654 # @@(#)$Id: sbr,v 2.18 1992/10/30 06:53:37 jromine Exp jromine $
655 d31 1
656 a31 1
657 SLIBDIR =       @@(SLIBDIR)
658 @
659
660
661 2.18
662 log
663 @for ranlib libmh.sa, cd to slibdir first
664 @
665 text
666 @d5 1
667 a5 1
668 # @@(#)$Id: sbr,v 2.17 1992/10/28 18:03:08 jromine Exp jromine $
669 d32 1
670 d80 1
671 a80 1
672                 $(CC) $(CFLAGS) -c -pic $*.c
673 d118 1
674 a118 1
675                 (cd shared; ls -G -o ../$@@ -h $@@.$(SLIBVER) $(OFILES))
676 @
677
678
679 2.17
680 log
681 @ranlib libmh.sa after installation
682 @
683 text
684 @d5 1
685 a5 1
686 # @@(#)$Id: sbr,v 2.16 1992/10/20 23:00:26 jromine Exp jromine $
687 d159 1
688 a159 1
689                 ranlib $(SLIBDIR)/libmh.sa.$(SLIBVER)
690 @
691
692
693 2.16
694 log
695 @move "rm -f tws/tws.h" from sbr to zotnet Makefile (error)
696 @
697 text
698 @d5 1
699 a5 1
700 # @@(#)$Id: sbr,v 2.15 1992/05/12 22:07:43 jromine Exp jromine $
701 d158 3
702 @
703
704
705 2.15
706 log
707 @fixup duplicate tws.h files
708 @
709 text
710 @d5 1
711 a5 1
712 # @@(#)$Id: sbr,v 2.14 1992/02/07 19:12:32 jromine Exp jromine $
713 a173 2
714                 -rm -f tws/tws.h
715                 ln tws.h tws/tws.h
716 @
717
718
719 2.14
720 log
721 @add SYS5 shared libs
722 @
723 text
724 @d5 1
725 a5 1
726 # @@(#)$Id: sbr,v 2.13 1992/02/04 17:43:29 jromine Exp jromine $
727 d174 2
728 @
729
730
731 2.13
732 log
733 @move sbr/m_whatnow.c to uip/whatnowproc.c
734 for shared libs
735 @
736 text
737 @d5 1
738 a5 1
739 # @@(#)$Id: sbr,v 2.12 1992/01/30 16:36:16 jromine Exp jromine $
740 d26 4
741 a29 1
742 LIBS     =      shared libmh.a libmh.so libmh.sa
743 d113 1
744 d115 4
745 d124 1
746 d137 1
747 d147 1
748 a147 1
749 inst-lib:       libmh.so libmh.sa
750 d154 1
751 d161 1
752 @
753
754
755 2.12
756 log
757 @typo
758 @
759 text
760 @d5 1
761 a5 1
762 # @@(#)$Id: sbr,v 2.11 1992/01/29 00:18:53 jromine Exp jromine $
763 d43 1
764 a43 1
765                 m_whatnow.c makedir.c path.c peekc.c pidwait.c pidstatus.c \
766 d59 1
767 a59 1
768                 m_whatnow.o makedir.o path.o peekc.o pidwait.o pidstatus.o \
769 a414 3
770 m_whatnow.o: m_whatnow.c
771 m_whatnow.o: ../h/mh.h
772 #m_whatnow.o: /usr/include/stdio.h
773 @
774
775
776 2.11
777 log
778 @typo
779 @
780 text
781 @d5 1
782 a5 1
783 # @@(#)$Id: sbr,v 2.10 1992/01/27 17:33:42 jromine Exp jromine $
784 a67 1
785
786 a87 1
787
788 @
789
790
791 2.10
792 log
793 @shared libs changes
794 @
795 text
796 @d5 1
797 a5 1
798 # @@(#)$Id: sbr,v 2.9 1990/04/08 22:00:14 sources Exp jromine $
799 d141 1
800 a141 1
801                 cp $(LIB) $(SLIBDIR)/libmh.so.$(SLIBVER)
802 d147 1
803 a147 1
804                 cp $(LIB) $(SLIBDIR)/$(LIB).$(SLIBVER)
805 @
806
807
808 2.9
809 log
810 @remove version for "make distribution"
811 @
812 text
813 @d5 1
814 a5 1
815 # @@(#)$Id: sbr,v 2.8 90/04/08 20:23:18 sources Exp Locker: sources $
816 d23 1
817 a23 1
818 LIB     =       libmh.a
819 d26 2
820 a27 1
821 LIB     =       libmh.so
822 d46 1
823 a46 1
824                 uleq.c uprf.c vfgets.c
825 d48 1
826 d62 1
827 a62 1
828                 uleq.o uprf.o vfgets.o
829 d64 3
830 d68 1
831 d74 1
832 d76 4
833 a79 1
834 .c.o:;          $(CC) $(CFLAGS) -c $*.c -pic
835 d81 1
836 a81 2
837 @@BEGIN: STDLIB
838 .c.o:;          $(CC) $(CFLAGS) -c $*.c
839 a88 1
840 @@END: STDLIB
841 d96 1
842 a96 1
843 all:            version $(LIB)
844 d98 1
845 a98 1
846 $(LIB):         $(OFILES)
847 a99 1
848 @@BEGIN: STDLIB
849 d108 1
850 a108 1
851 @@END: STDLIB
852 d110 5
853 a114 3
854                 ld -o $@@ $(OFILES)
855                 -@@rm -f $@@.`cat version`
856                 ln $@@ $@@.`cat version`
857 a116 1
858 @@END: SHAREDLIB
859 d118 12
860 a129 2
861 version:        $(CFILES)
862                 @@/bin/sh version.sh @@(MHRELEASE)
863 d131 2
864 d139 6
865 a144 6
866 inst-lib:       $(LIB)
867                 -rm -f $(SLIBDIR)/$(LIB)
868                 cp $(LIB) $(SLIBDIR)/$(LIB).`cat version`
869                 -@@chmod $(PGMPROT) $(SLIBDIR)/$(LIB).`cat version`
870                 -@@ls -l $(SLIBDIR)/$(LIB)*
871                 -@@echo "Library installed normally"
872 d146 6
873 d161 1
874 d168 3
875 d172 1
876 a172 1
877 unclean:;       -rm -f z$(LIB) _* :* core eddep makedep
878 @
879
880
881 2.8
882 log
883 @*** empty log message ***
884 @
885 text
886 @d5 1
887 a5 1
888 # @@(#)$Id: sbr,v 2.7 90/04/05 15:18:10 sources Exp Locker: sources $
889 d137 1
890 @
891
892
893 2.7
894 log
895 @add ID
896 @
897 text
898 @d5 1
899 a5 1
900 # @@(#)$Id:$
901 d111 1
902 a111 1
903                 @@/bin/sh version.sh
904 @
905
906
907 2.6
908 log
909 @add PGMPROT
910 @
911 text
912 @d5 1
913 @
914
915
916 2.5
917 log
918 @don't use "install"
919 @
920 text
921 @d29 2
922 @
923
924
925 2.4
926 log
927 @remove -O (put in mhconfig)
928 @
929 text
930 @d117 4
931 a120 2
932                 install -m 755 $(LIB).`cat version` $(SLIBDIR)
933                 -@@ls $(SLIBDIR)/$(LIB)*
934 d122 1
935 @
936
937
938 2.3
939 log
940 @version.sh changes
941 @
942 text
943 @d11 1
944 a11 1
945 CFLAGS  =       -O   $(OPTIONS)
946 @
947
948
949 2.2
950 log
951 @make unconfig changes
952 @
953 text
954 @d85 1
955 a85 1
956 all:            $(LIB)
957 d107 2
958 d110 1
959 a119 2
960                 -@@echo "Updating version"
961                 @@./version.sh
962 @
963
964
965 2.1
966 log
967 @ANSI Compilance
968 @
969 text
970 @d126 2
971 a127 1
972 unconfig distribution:   clean
973 d129 2
974 d132 1
975 a132 6
976 @@BEGIN: STDLIB
977                 -rm -f *.o $(LIB)
978 @@END: STDLIB
979 @@BEGIN: SHAREDLIB
980                 -rm -f *.o $(LIB)*
981 @@END: SHAREDLIB
982 @
983
984
985 2.0
986 log
987 @changes for SUN40 shared libraries and NNTP under bbc
988 @
989 text
990 @d9 1
991 a9 1
992 CC      =       cc
993 @
994
995
996 1.1
997 log
998 @Initial revision
999 @
1000 text
1001 @d21 1
1002 d23 5
1003 d65 4
1004 d77 1
1005 d89 1
1006 d98 8
1007 d112 12
1008 d126 1
1009 a126 1
1010 distribution:   clean
1011 d129 1
1012 d131 4
1013 @