1 # Don't edit Makefile! Use conf-* for configuration.
8 makelib alloc.o alloc_re.o
9 ./makelib alloc.a alloc.o alloc_re.o
12 compile alloc.c alloc.h error.h
16 compile alloc_re.c alloc.h byte.h
20 conf-cc conf-ld warn-auto.sh
22 echo CC=\'`head -1 conf-cc`\'; \
23 echo LD=\'`head -1 conf-ld`\' \
27 load auto-str.o substdio.a error.a str.a
28 ./load auto-str substdio.a error.a str.a
31 compile auto-str.c substdio.h readwrite.h exit.h
36 ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
40 ./compile auto_qmail.c
43 compile byte_chr.c byte.h
47 compile byte_copy.c byte.h
51 compile byte_cr.c byte.h
56 ./makelib case.a case_diffb.o
59 compile case_diffb.c case.h
60 ./compile case_diffb.c
67 make-compile warn-auto.sh systype
68 ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
73 compile control.c readwrite.h open.h getln.h stralloc.h gen_alloc.h \
74 substdio.h error.h control.h alloc.h scan.h
78 load dot-forward.o control.o qmail.o auto_qmail.o token822.o env.a \
79 getln.a getopt.a strerr.a error.a substdio.a stralloc.a alloc.a \
80 case.a str.a sig.a seek.a open.a wait.a fd.a fs.a
81 ./load dot-forward control.o qmail.o auto_qmail.o \
82 token822.o env.a getln.a getopt.a strerr.a error.a \
83 substdio.a stralloc.a alloc.a case.a str.a sig.a seek.a \
84 open.a wait.a fd.a fs.a
88 nroff -man dot-forward.1 > dot-forward.0
91 compile dot-forward.c sgetopt.h subgetopt.h substdio.h readwrite.h \
92 stralloc.h gen_alloc.h getln.h strerr.h error.h exit.h open.h wait.h \
93 seek.h env.h str.h fmt.h token822.h gen_alloc.h control.h qmail.h \
94 substdio.h auto_qmail.h
95 ./compile dot-forward.c
99 ./makelib env.a envread.o
102 compile envread.c env.h str.h
106 makelib error.o error_str.o
107 ./makelib error.a error.o error_str.o
110 compile error.c error.h
114 compile error_str.c error.h
115 ./compile error_str.c
118 makelib fd_copy.o fd_move.o
119 ./makelib fd.a fd_copy.o fd_move.o
122 compile fd_copy.c fd.h
126 compile fd_move.c fd.h
130 find-systype.sh auto-ccld.sh
131 cat auto-ccld.sh find-systype.sh > find-systype
132 chmod 755 find-systype
135 compile fmt_ulong.c fmt.h
136 ./compile fmt_ulong.c
139 compile load tryvfork.c fork.h1 fork.h2
140 ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
142 && cat fork.h2 || cat fork.h1 ) > fork.h
143 rm -f tryvfork.o tryvfork
146 makelib fmt_ulong.o scan_ulong.o
147 ./makelib fs.a fmt_ulong.o scan_ulong.o
150 makelib getln.o getln2.o
151 ./makelib getln.a getln.o getln2.o
154 compile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
158 compile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h
162 makelib subgetopt.o sgetopt.o
163 ./makelib getopt.a subgetopt.o sgetopt.o
166 trysgact.c compile load
167 ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
169 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
170 rm -f trysgact.o trysgact
173 trywaitp.c compile load
174 ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
176 && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
177 rm -f trywaitp.o trywaitp
180 compile hier.c auto_qmail.h
184 load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
186 ./load install hier.o auto_qmail.o strerr.a substdio.a \
190 compile install.c substdio.h strerr.h error.h open.h readwrite.h \
195 load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
197 ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
201 compile instcheck.c strerr.h error.h readwrite.h exit.h
202 ./compile instcheck.c
208 make-load warn-auto.sh systype
209 ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
213 make-compile.sh auto-ccld.sh
214 cat auto-ccld.sh make-compile.sh > make-compile
215 chmod 755 make-compile
218 make-load.sh auto-ccld.sh
219 cat auto-ccld.sh make-load.sh > make-load
223 make-makelib.sh auto-ccld.sh
224 cat auto-ccld.sh make-makelib.sh > make-makelib
225 chmod 755 make-makelib
228 make-makelib warn-auto.sh systype
229 ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
237 makelib open_read.o open_trunc.o
238 ./makelib open.a open_read.o open_trunc.o
241 compile open_read.c open.h
242 ./compile open_read.c
245 compile open_trunc.c open.h
246 ./compile open_trunc.c
252 compile qmail.c substdio.h readwrite.h wait.h exit.h fork.h fd.h \
253 qmail.h substdio.h auto_qmail.h
257 compile scan_ulong.c scan.h
258 ./compile scan_ulong.c
262 ./makelib seek.a seek_set.o
265 compile seek_set.c seek.h
273 compile sgetopt.c substdio.h subfd.h substdio.h sgetopt.h subgetopt.h \
278 makelib sig_catch.o sig_pipe.o
279 ./makelib sig.a sig_catch.o sig_pipe.o
282 compile sig_catch.c sig.h hassgact.h
283 ./compile sig_catch.c
286 compile sig_pipe.c sig.h
290 makelib str_len.o str_diffn.o byte_chr.o byte_copy.o byte_cr.o
291 ./makelib str.a str_len.o str_diffn.o byte_chr.o \
292 byte_copy.o byte_cr.o
295 compile str_diffn.c str.h
296 ./compile str_diffn.c
299 compile str_len.c str.h
303 makelib stralloc_eady.o stralloc_pend.o stralloc_copy.o \
304 stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o \
306 ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
307 stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
308 stralloc_cat.o stralloc_cats.o stralloc_catb.o
311 compile stralloc_cat.c byte.h stralloc.h gen_alloc.h
312 ./compile stralloc_cat.c
315 compile stralloc_catb.c stralloc.h gen_alloc.h byte.h
316 ./compile stralloc_catb.c
319 compile stralloc_cats.c byte.h str.h stralloc.h gen_alloc.h
320 ./compile stralloc_cats.c
323 compile stralloc_copy.c byte.h stralloc.h gen_alloc.h
324 ./compile stralloc_copy.c
327 compile stralloc_eady.c alloc.h stralloc.h gen_alloc.h \
329 ./compile stralloc_eady.c
332 compile stralloc_opyb.c stralloc.h gen_alloc.h byte.h
333 ./compile stralloc_opyb.c
336 compile stralloc_opys.c byte.h str.h stralloc.h gen_alloc.h
337 ./compile stralloc_opys.c
340 compile stralloc_pend.c alloc.h stralloc.h gen_alloc.h \
342 ./compile stralloc_pend.c
345 makelib strerr_sys.o strerr_die.o
346 ./makelib strerr.a strerr_sys.o strerr_die.o
349 compile strerr_die.c substdio.h subfd.h substdio.h exit.h strerr.h
350 ./compile strerr_die.c
353 compile strerr_sys.c error.h strerr.h
354 ./compile strerr_sys.c
357 compile subfderr.c readwrite.h substdio.h subfd.h substdio.h
361 compile subgetopt.c subgetopt.h
362 ./compile subgetopt.c
365 compile substdi.c substdio.h byte.h error.h
369 makelib substdio.o substdi.o substdo.o subfderr.o substdio_copy.o
370 ./makelib substdio.a substdio.o substdi.o substdo.o \
371 subfderr.o substdio_copy.o
374 compile substdio.c substdio.h
378 compile substdio_copy.c substdio.h
379 ./compile substdio_copy.c
382 compile substdo.c substdio.h str.h byte.h error.h
386 find-systype trycpp.c
387 ./find-systype > systype
390 compile token822.c stralloc.h gen_alloc.h alloc.h str.h token822.h \
391 gen_alloc.h gen_allocdefs.h
396 ./makelib wait.a wait_pid.o
399 compile wait_pid.c error.h haswaitp.h