-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
2141 lines (1750 loc) · 60.2 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Don't edit Makefile! Use conf-* for configuration.
SHELL=/bin/sh
default: it
addresses.0: \
addresses.5
nroff -man addresses.5 > addresses.0
alloc.a: \
makelib alloc.o alloc_re.o
./makelib alloc.a alloc.o alloc_re.o
alloc.o: \
compile alloc.c alloc.h error.h
./compile alloc.c
alloc_re.o: \
compile alloc_re.c alloc.h byte.h
./compile alloc_re.c
auto-ccld.sh: \
conf-cc conf-ld warn-auto.sh
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
auto-gid: \
load auto-gid.o substdio.a error.a str.a fs.a
./load auto-gid substdio.a error.a str.a fs.a
auto-gid.o: \
compile auto-gid.c subfd.h substdio.h substdio.h readwrite.h exit.h \
scan.h fmt.h
./compile auto-gid.c
auto-int: \
load auto-int.o substdio.a error.a str.a fs.a
./load auto-int substdio.a error.a str.a fs.a
auto-int.o: \
compile auto-int.c substdio.h readwrite.h exit.h scan.h fmt.h
./compile auto-int.c
auto-int8: \
load auto-int8.o substdio.a error.a str.a fs.a
./load auto-int8 substdio.a error.a str.a fs.a
auto-int8.o: \
compile auto-int8.c substdio.h readwrite.h exit.h scan.h fmt.h
./compile auto-int8.c
auto-str: \
load auto-str.o substdio.a error.a str.a
./load auto-str substdio.a error.a str.a
auto-str.o: \
compile auto-str.c substdio.h readwrite.h exit.h
./compile auto-str.c
auto-uid: \
load auto-uid.o substdio.a error.a str.a fs.a
./load auto-uid substdio.a error.a str.a fs.a
auto-uid.o: \
compile auto-uid.c subfd.h substdio.h substdio.h readwrite.h exit.h \
scan.h fmt.h
./compile auto-uid.c
auto_break.c: \
auto-str conf-break
./auto-str auto_break \
"`head -1 conf-break`" > auto_break.c
auto_break.o: \
compile auto_break.c
./compile auto_break.c
auto_patrn.c: \
auto-int8 conf-patrn
./auto-int8 auto_patrn `head -1 conf-patrn` > auto_patrn.c
auto_patrn.o: \
compile auto_patrn.c
./compile auto_patrn.c
auto_qmail.c: \
auto-str conf-qmail
./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
auto_qmail.o: \
compile auto_qmail.c
./compile auto_qmail.c
auto_spawn.c: \
auto-int conf-spawn
./auto-int auto_spawn `head -1 conf-spawn` > auto_spawn.c
auto_spawn.o: \
compile auto_spawn.c
./compile auto_spawn.c
auto_split.c: \
auto-int conf-split
./auto-int auto_split `head -1 conf-split` > auto_split.c
auto_split.o: \
compile auto_split.c
./compile auto_split.c
auto_uids.c: \
auto-uid auto-gid conf-users conf-groups
( ./auto-uid auto_uida `head -1 conf-users` \
&&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
&&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
&&./auto-uid auto_uido `head -4 conf-users | tail -1` \
&&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
&&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
&&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
&&./auto-uid auto_uids `head -8 conf-users | tail -1` \
&&./auto-gid auto_gidq `head -1 conf-groups` \
&&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
auto_uids.o: \
compile auto_uids.c
./compile auto_uids.c
auto_usera.c: \
auto-str conf-users
./auto-str auto_usera `head -1 conf-users` > auto_usera.c
auto_usera.o: \
compile auto_usera.c
./compile auto_usera.c
binm1: \
binm1.sh conf-qmail
cat binm1.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1
chmod 755 binm1
binm1+df: \
binm1+df.sh conf-qmail
cat binm1+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1+df
chmod 755 binm1+df
binm2: \
binm2.sh conf-qmail
cat binm2.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2
chmod 755 binm2
binm2+df: \
binm2+df.sh conf-qmail
cat binm2+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2+df
chmod 755 binm2+df
binm3: \
binm3.sh conf-qmail
cat binm3.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3
chmod 755 binm3
binm3+df: \
binm3+df.sh conf-qmail
cat binm3+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3+df
chmod 755 binm3+df
bouncesaying: \
load bouncesaying.o strerr.a error.a substdio.a str.a wait.a
./load bouncesaying strerr.a error.a substdio.a str.a \
wait.a
bouncesaying.0: \
bouncesaying.1
nroff -man bouncesaying.1 > bouncesaying.0
bouncesaying.o: \
compile bouncesaying.c fork.h strerr.h error.h wait.h sig.h exit.h
./compile bouncesaying.c
byte_chr.o: \
compile byte_chr.c byte.h
./compile byte_chr.c
byte_copy.o: \
compile byte_copy.c byte.h
./compile byte_copy.c
byte_cr.o: \
compile byte_cr.c byte.h
./compile byte_cr.c
byte_diff.o: \
compile byte_diff.c byte.h
./compile byte_diff.c
byte_rchr.o: \
compile byte_rchr.c byte.h
./compile byte_rchr.c
byte_zero.o: \
compile byte_zero.c byte.h
./compile byte_zero.c
case.a: \
makelib case_diffb.o case_diffs.o case_lowerb.o case_lowers.o \
case_starts.o
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
case_diffb.o: \
compile case_diffb.c case.h
./compile case_diffb.c
case_diffs.o: \
compile case_diffs.c case.h
./compile case_diffs.c
case_lowerb.o: \
compile case_lowerb.c case.h
./compile case_lowerb.c
case_lowers.o: \
compile case_lowers.c case.h
./compile case_lowers.c
case_starts.o: \
compile case_starts.c case.h
./compile case_starts.c
cdb.a: \
makelib cdb_hash.o cdb_unpack.o cdb_seek.o
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
cdb_hash.o: \
compile cdb_hash.c cdb.h uint32.h
./compile cdb_hash.c
cdb_seek.o: \
compile cdb_seek.c cdb.h uint32.h
./compile cdb_seek.c
cdb_unpack.o: \
compile cdb_unpack.c cdb.h uint32.h
./compile cdb_unpack.c
cdbmake.a: \
makelib cdbmake_pack.o cdbmake_hash.o cdbmake_add.o
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
cdbmake_add.o: \
compile cdbmake_add.c cdbmake.h alloc.h uint32.h
./compile cdbmake_add.c
cdbmake_hash.o: \
compile cdbmake_hash.c cdbmake.h uint32.h
./compile cdbmake_hash.c
cdbmake_pack.o: \
compile cdbmake_pack.c cdbmake.h uint32.h
./compile cdbmake_pack.c
cdbmss.o: \
compile cdbmss.c readwrite.h seek.h alloc.h cdbmss.h cdbmake.h \
uint32.h substdio.h
./compile cdbmss.c
check: \
it man
./instcheck
chkshsgr: \
load chkshsgr.o
./load chkshsgr
chkshsgr.o: \
compile chkshsgr.c exit.h
./compile chkshsgr.c
chkspawn: \
load chkspawn.o substdio.a error.a str.a fs.a auto_spawn.o
./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o
chkspawn.o: \
compile chkspawn.c substdio.h subfd.h substdio.h fmt.h select.h \
exit.h auto_spawn.h
./compile chkspawn.c
clean: \
TARGETS
rm -f `cat TARGETS`
coe.o: \
compile coe.c coe.h
./compile coe.c
commands.o: \
compile commands.c commands.h substdio.h stralloc.h gen_alloc.h str.h \
case.h
./compile commands.c
compile: \
make-compile warn-auto.sh systype
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
condredirect: \
load condredirect.o qmail.o strerr.a fd.a sig.a wait.a seek.a env.a \
substdio.a error.a str.a fs.a auto_qmail.o
./load condredirect qmail.o strerr.a fd.a sig.a wait.a \
seek.a env.a substdio.a error.a str.a fs.a auto_qmail.o
condredirect.0: \
condredirect.1
nroff -man condredirect.1 > condredirect.0
condredirect.o: \
compile condredirect.c sig.h readwrite.h exit.h env.h error.h fork.h \
wait.h seek.h qmail.h substdio.h strerr.h substdio.h fmt.h
./compile condredirect.c
config: \
warn-auto.sh config.sh conf-qmail conf-break conf-split
cat warn-auto.sh config.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config
chmod 755 config
config-fast: \
warn-auto.sh config-fast.sh conf-qmail conf-break conf-split
cat warn-auto.sh config-fast.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config-fast
chmod 755 config-fast
constmap.o: \
compile constmap.c constmap.h alloc.h case.h
./compile constmap.c
control.o: \
compile control.c readwrite.h open.h getln.h stralloc.h gen_alloc.h \
substdio.h error.h control.h alloc.h scan.h
./compile control.c
date822fmt.o: \
compile date822fmt.c datetime.h fmt.h date822fmt.h
./compile date822fmt.c
datemail: \
warn-auto.sh datemail.sh conf-qmail conf-break conf-split
cat warn-auto.sh datemail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> datemail
chmod 755 datemail
datetime.a: \
makelib datetime.o datetime_un.o
./makelib datetime.a datetime.o datetime_un.o
datetime.o: \
compile datetime.c datetime.h
./compile datetime.c
datetime_un.o: \
compile datetime_un.c datetime.h
./compile datetime_un.c
direntry.h: \
compile trydrent.c direntry.h1 direntry.h2
( ./compile trydrent.c >/dev/null 2>&1 \
&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
rm -f trydrent.o
dns.lib: \
tryrsolv.c compile load socket.lib dns.o ipalloc.o ip.o stralloc.a \
alloc.a error.a fs.a str.a
( ( ./compile tryrsolv.c && ./load tryrsolv dns.o \
ipalloc.o ip.o stralloc.a alloc.a error.a fs.a str.a \
-lresolv `cat socket.lib` ) >/dev/null 2>&1 \
&& echo -lresolv || exit 0 ) > dns.lib
rm -f tryrsolv.o tryrsolv
dns.o: \
compile dns.c ip.h ipalloc.h ip.h gen_alloc.h fmt.h alloc.h str.h \
stralloc.h gen_alloc.h dns.h case.h
./compile dns.c
dnscname: \
load dnscname.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a dns.lib socket.lib
./load dnscname dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
dnscname.o: \
compile dnscname.c substdio.h subfd.h substdio.h stralloc.h \
gen_alloc.h dns.h dnsdoe.h readwrite.h exit.h
./compile dnscname.c
dnsdoe.o: \
compile dnsdoe.c substdio.h subfd.h substdio.h exit.h dns.h dnsdoe.h
./compile dnsdoe.c
dnsfq: \
load dnsfq.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a dns.lib socket.lib
./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
dnsfq.o: \
compile dnsfq.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h exit.h
./compile dnsfq.c
dnsip: \
load dnsip.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a dns.lib socket.lib
./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
dnsip.o: \
compile dnsip.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h exit.h
./compile dnsip.c
dnsmxip: \
load dnsmxip.o dns.o dnsdoe.o ip.o ipalloc.o now.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a dns.lib socket.lib
./load dnsmxip dns.o dnsdoe.o ip.o ipalloc.o now.o \
stralloc.a alloc.a substdio.a error.a str.a fs.a `cat \
dns.lib` `cat socket.lib`
dnsmxip.o: \
compile dnsmxip.c substdio.h subfd.h substdio.h stralloc.h \
gen_alloc.h fmt.h dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h \
now.h datetime.h exit.h
./compile dnsmxip.c
dnsptr: \
load dnsptr.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a dns.lib socket.lib
./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
dnsptr.o: \
compile dnsptr.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
str.h scan.h dns.h dnsdoe.h ip.h exit.h
./compile dnsptr.c
dot-qmail.0: \
dot-qmail.5
nroff -man dot-qmail.5 > dot-qmail.0
dot-qmail.5: \
dot-qmail.9 conf-break conf-spawn
cat dot-qmail.9 \
| sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPAWN}"`head -1 conf-spawn`"}g \
> dot-qmail.5
elq: \
warn-auto.sh elq.sh conf-qmail conf-break conf-split
cat warn-auto.sh elq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> elq
chmod 755 elq
env.a: \
makelib env.o envread.o
./makelib env.a env.o envread.o
env.o: \
compile env.c str.h alloc.h env.h
./compile env.c
envelopes.0: \
envelopes.5
nroff -man envelopes.5 > envelopes.0
envread.o: \
compile envread.c env.h str.h
./compile envread.c
error.a: \
makelib error.o error_str.o error_temp.o
./makelib error.a error.o error_str.o error_temp.o
error.o: \
compile error.c error.h
./compile error.c
error_str.o: \
compile error_str.c error.h
./compile error_str.c
error_temp.o: \
compile error_temp.c error.h
./compile error_temp.c
except: \
load except.o strerr.a error.a substdio.a str.a wait.a
./load except strerr.a error.a substdio.a str.a wait.a
except.0: \
except.1
nroff -man except.1 > except.0
except.o: \
compile except.c fork.h strerr.h wait.h error.h exit.h
./compile except.c
fd.a: \
makelib fd_copy.o fd_move.o
./makelib fd.a fd_copy.o fd_move.o
fd_copy.o: \
compile fd_copy.c fd.h
./compile fd_copy.c
fd_move.o: \
compile fd_move.c fd.h
./compile fd_move.c
fifo.o: \
compile fifo.c hasmkffo.h fifo.h
./compile fifo.c
find-systype: \
find-systype.sh auto-ccld.sh
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
fmt_str.o: \
compile fmt_str.c fmt.h
./compile fmt_str.c
fmt_strn.o: \
compile fmt_strn.c fmt.h
./compile fmt_strn.c
fmt_uint.o: \
compile fmt_uint.c fmt.h
./compile fmt_uint.c
fmt_uint0.o: \
compile fmt_uint0.c fmt.h
./compile fmt_uint0.c
fmt_ulong.o: \
compile fmt_ulong.c fmt.h
./compile fmt_ulong.c
fmtqfn.o: \
compile fmtqfn.c fmtqfn.h fmt.h auto_split.h
./compile fmtqfn.c
forgeries.0: \
forgeries.7
nroff -man forgeries.7 > forgeries.0
fork.h: \
compile load tryvfork.c fork.h1 fork.h2
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
forward: \
load forward.o qmail.o strerr.a alloc.a fd.a wait.a sig.a env.a \
substdio.a error.a str.a fs.a auto_qmail.o
./load forward qmail.o strerr.a alloc.a fd.a wait.a sig.a \
env.a substdio.a error.a str.a fs.a auto_qmail.o
forward.0: \
forward.1
nroff -man forward.1 > forward.0
forward.o: \
compile forward.c sig.h readwrite.h exit.h env.h qmail.h substdio.h \
strerr.h substdio.h fmt.h
./compile forward.c
fs.a: \
makelib fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
scan_ulong.o scan_8long.o
./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o scan_ulong.o scan_8long.o
getln.a: \
makelib getln.o getln2.o
./makelib getln.a getln.o getln2.o
getln.o: \
compile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
./compile getln.c
getln2.o: \
compile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h
./compile getln2.c
getopt.a: \
makelib subgetopt.o sgetopt.o
./makelib getopt.a subgetopt.o sgetopt.o
gfrom.o: \
compile gfrom.c str.h gfrom.h
./compile gfrom.c
hasflock.h: \
tryflock.c compile load
( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
2>&1 \
&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
rm -f tryflock.o tryflock
hasmkffo.h: \
trymkffo.c compile load
( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
2>&1 \
&& echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
rm -f trymkffo.o trymkffo
hasnpbg1.h: \
trynpbg1.c compile load open.h open.a fifo.h fifo.o select.h
( ( ./compile trynpbg1.c \
&& ./load trynpbg1 fifo.o open.a && ./trynpbg1 ) \
>/dev/null 2>&1 \
&& echo \#define HASNAMEDPIPEBUG1 1 || exit 0 ) > \
hasnpbg1.h
rm -f trynpbg1.o trynpbg1
hassalen.h: \
trysalen.c compile
( ./compile trysalen.c >/dev/null 2>&1 \
&& echo \#define HASSALEN 1 || exit 0 ) > hassalen.h
rm -f trysalen.o
hassgact.h: \
trysgact.c compile load
( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
2>&1 \
&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
rm -f trysgact.o trysgact
hassgprm.h: \
trysgprm.c compile load
( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \
2>&1 \
&& echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
rm -f trysgprm.o trysgprm
hasshsgr.h: \
chkshsgr warn-shsgr tryshsgr.c compile load
./chkshsgr || ( cat warn-shsgr; exit 1 )
( ( ./compile tryshsgr.c \
&& ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \
&& echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \
hasshsgr.h
rm -f tryshsgr.o tryshsgr
haswaitp.h: \
trywaitp.c compile load
( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
2>&1 \
&& echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
rm -f trywaitp.o trywaitp
headerbody.o: \
compile headerbody.c stralloc.h gen_alloc.h substdio.h getln.h \
hfield.h headerbody.h
./compile headerbody.c
hfield.o: \
compile hfield.c hfield.h
./compile hfield.c
hier.o: \
compile hier.c auto_qmail.h auto_split.h auto_uids.h fmt.h fifo.h
./compile hier.c
home: \
home.sh conf-qmail
cat home.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home
chmod 755 home
home+df: \
home+df.sh conf-qmail
cat home+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home+df
chmod 755 home+df
hostname: \
load hostname.o substdio.a error.a str.a dns.lib socket.lib
./load hostname substdio.a error.a str.a `cat dns.lib` \
`cat socket.lib`
hostname.o: \
compile hostname.c substdio.h subfd.h substdio.h readwrite.h exit.h
./compile hostname.c
idedit: \
load idedit.o strerr.a substdio.a error.a str.a fs.a wait.a open.a \
seek.a
./load idedit strerr.a substdio.a error.a str.a fs.a \
wait.a open.a seek.a
idedit.o: \
compile idedit.c readwrite.h exit.h scan.h fmt.h strerr.h open.h \
seek.h fork.h
./compile idedit.c
install: \
load install.o fifo.o hier.o auto_qmail.o auto_split.o auto_uids.o \
strerr.a substdio.a open.a error.a str.a fs.a
./load install fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a
install-big: \
load install-big.o fifo.o install.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a
./load install-big fifo.o install.o auto_qmail.o \
auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \
str.a fs.a
install-big.o: \
compile install-big.c auto_qmail.h auto_split.h auto_uids.h fmt.h \
fifo.h
./compile install-big.c
install.o: \
compile install.c substdio.h strerr.h error.h open.h readwrite.h \
exit.h
./compile install.c
instcheck: \
load instcheck.o fifo.o hier.o auto_qmail.o auto_split.o auto_uids.o \
strerr.a substdio.a error.a str.a fs.a
./load instcheck fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a error.a str.a fs.a
instcheck.o: \
compile instcheck.c strerr.h error.h readwrite.h exit.h
./compile instcheck.c
ip.o: \
compile ip.c fmt.h scan.h ip.h
./compile ip.c
ipalloc.o: \
compile ipalloc.c alloc.h gen_allocdefs.h ip.h ipalloc.h ip.h \
gen_alloc.h
./compile ipalloc.c
ipme.o: \
compile ipme.c hassalen.h byte.h ip.h ipalloc.h ip.h gen_alloc.h \
stralloc.h gen_alloc.h ipme.h ip.h ipalloc.h
./compile ipme.c
ipmeprint: \
load ipmeprint.o ipme.o ip.o ipalloc.o stralloc.a alloc.a substdio.a \
error.a str.a fs.a socket.lib
./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a `cat socket.lib`
ipmeprint.o: \
compile ipmeprint.c subfd.h substdio.h substdio.h ip.h ipme.h ip.h \
ipalloc.h ip.h gen_alloc.h exit.h
./compile ipmeprint.c
it: \
qmail-local qmail-lspawn qmail-getpw qmail-remote qmail-rspawn \
qmail-clean qmail-send qmail-start splogger qmail-queue qmail-inject \
predate datemail mailsubj qmail-upq qmail-showctl qmail-newu \
qmail-pw2u qmail-qread qmail-qstat qmail-tcpto qmail-tcpok \
qmail-pop3d qmail-popup qmail-qmqpc qmail-qmqpd qmail-qmtpd \
qmail-smtpd sendmail tcp-env qmail-newmrh config config-fast dnscname \
dnsptr dnsip dnsmxip dnsfq hostname ipmeprint qreceipt qsmhook qbiff \
forward preline condredirect bouncesaying except maildirmake \
maildir2mbox maildirwatch qail elq pinq idedit install-big install \
instcheck home home+df proc proc+df binm1 binm1+df binm2 binm2+df \
binm3 binm3+df
load: \
make-load warn-auto.sh systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
lock.a: \
makelib lock_ex.o lock_exnb.o lock_un.o
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
lock_ex.o: \
compile lock_ex.c hasflock.h lock.h
./compile lock_ex.c
lock_exnb.o: \
compile lock_exnb.c hasflock.h lock.h
./compile lock_exnb.c
lock_un.o: \
compile lock_un.c hasflock.h lock.h
./compile lock_un.c
maildir.0: \
maildir.5
nroff -man maildir.5 > maildir.0
maildir.o: \
compile maildir.c prioq.h datetime.h gen_alloc.h env.h stralloc.h \
gen_alloc.h direntry.h datetime.h now.h datetime.h str.h maildir.h \
strerr.h
./compile maildir.c
maildir2mbox: \
load maildir2mbox.o maildir.o prioq.o now.o myctime.o gfrom.o lock.a \
getln.a env.a open.a strerr.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a datetime.a
./load maildir2mbox maildir.o prioq.o now.o myctime.o \
gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a datetime.a
maildir2mbox.0: \
maildir2mbox.1
nroff -man maildir2mbox.1 > maildir2mbox.0
maildir2mbox.o: \
compile maildir2mbox.c readwrite.h prioq.h datetime.h gen_alloc.h \
env.h stralloc.h gen_alloc.h subfd.h substdio.h substdio.h getln.h \
error.h open.h lock.h gfrom.h str.h exit.h myctime.h maildir.h \
strerr.h
./compile maildir2mbox.c
maildirmake: \
load maildirmake.o strerr.a substdio.a error.a str.a
./load maildirmake strerr.a substdio.a error.a str.a
maildirmake.0: \
maildirmake.1
nroff -man maildirmake.1 > maildirmake.0
maildirmake.o: \
compile maildirmake.c strerr.h exit.h
./compile maildirmake.c
maildirwatch: \
load maildirwatch.o hfield.o headerbody.o maildir.o prioq.o now.o \
getln.a env.a open.a strerr.a stralloc.a alloc.a substdio.a error.a \
str.a
./load maildirwatch hfield.o headerbody.o maildir.o \
prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a
maildirwatch.0: \
maildirwatch.1
nroff -man maildirwatch.1 > maildirwatch.0
maildirwatch.o: \
compile maildirwatch.c getln.h substdio.h subfd.h substdio.h prioq.h \
datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h exit.h hfield.h \
readwrite.h open.h headerbody.h maildir.h strerr.h
./compile maildirwatch.c
mailsubj: \
warn-auto.sh mailsubj.sh conf-qmail conf-break conf-split
cat warn-auto.sh mailsubj.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> mailsubj
chmod 755 mailsubj
mailsubj.0: \
mailsubj.1
nroff -man mailsubj.1 > mailsubj.0
make-compile: \
make-compile.sh auto-ccld.sh
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
make-load: \
make-load.sh auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
make-makelib: \
make-makelib.sh auto-ccld.sh
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
makelib: \
make-makelib warn-auto.sh systype
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
man: \
qmail-local.0 qmail-lspawn.0 qmail-getpw.0 qmail-remote.0 \
qmail-rspawn.0 qmail-clean.0 qmail-send.0 qmail-start.0 splogger.0 \
qmail-queue.0 qmail-inject.0 mailsubj.0 qmail-showctl.0 qmail-newu.0 \
qmail-pw2u.0 qmail-qread.0 qmail-qstat.0 qmail-tcpto.0 qmail-tcpok.0 \
qmail-pop3d.0 qmail-popup.0 qmail-qmqpc.0 qmail-qmqpd.0 qmail-qmtpd.0 \
qmail-smtpd.0 tcp-env.0 qmail-newmrh.0 qreceipt.0 qbiff.0 forward.0 \
preline.0 condredirect.0 bouncesaying.0 except.0 maildirmake.0 \
maildir2mbox.0 maildirwatch.0 qmail.0 qmail-limits.0 qmail-log.0 \
qmail-control.0 qmail-header.0 qmail-users.0 dot-qmail.0 \
qmail-command.0 tcp-environ.0 maildir.0 mbox.0 addresses.0 \
envelopes.0 forgeries.0
mbox.0: \
mbox.5
nroff -man mbox.5 > mbox.0
myctime.o: \
compile myctime.c datetime.h fmt.h myctime.h
./compile myctime.c
ndelay.a: \
makelib ndelay.o ndelay_off.o
./makelib ndelay.a ndelay.o ndelay_off.o
ndelay.o: \
compile ndelay.c ndelay.h
./compile ndelay.c
ndelay_off.o: \
compile ndelay_off.c ndelay.h
./compile ndelay_off.c
newfield.o: \
compile newfield.c fmt.h datetime.h stralloc.h gen_alloc.h \
date822fmt.h newfield.h stralloc.h
./compile newfield.c
now.o: \
compile now.c datetime.h now.h datetime.h
./compile now.c
open.a: \
makelib open_append.o open_excl.o open_read.o open_trunc.o \
open_write.o
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
open_append.o: \
compile open_append.c open.h
./compile open_append.c
open_excl.o: \
compile open_excl.c open.h
./compile open_excl.c
open_read.o: \
compile open_read.c open.h
./compile open_read.c
open_trunc.o: \
compile open_trunc.c open.h
./compile open_trunc.c
open_write.o: \
compile open_write.c open.h
./compile open_write.c
pinq: \
warn-auto.sh pinq.sh conf-qmail conf-break conf-split
cat warn-auto.sh pinq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \