| 1 | # Don't edit Makefile! Use conf-* for configuration. |
| 2 | |
| 3 | SHELL=/bin/sh |
| 4 | |
| 5 | default: it |
| 6 | |
| 7 | alloc.a: \ |
| 8 | makelib alloc.o alloc_re.o |
| 9 | ./makelib alloc.a alloc.o alloc_re.o |
| 10 | |
| 11 | alloc.o: \ |
| 12 | compile alloc.c alloc.h error.h |
| 13 | ./compile alloc.c |
| 14 | |
| 15 | alloc_re.o: \ |
| 16 | compile alloc_re.c alloc.h byte.h |
| 17 | ./compile alloc_re.c |
| 18 | |
| 19 | auto-ccld.sh: \ |
| 20 | conf-cc conf-ld warn-auto.sh |
| 21 | ( cat warn-auto.sh; \ |
| 22 | echo CC=\'`head -1 conf-cc`\'; \ |
| 23 | echo LD=\'`head -1 conf-ld`\' \ |
| 24 | ) > auto-ccld.sh |
| 25 | |
| 26 | auto-str: \ |
| 27 | load auto-str.o substdio.a error.a str.a |
| 28 | ./load auto-str substdio.a error.a str.a |
| 29 | |
| 30 | auto-str.o: \ |
| 31 | compile auto-str.c substdio.h readwrite.h exit.h |
| 32 | ./compile auto-str.c |
| 33 | |
| 34 | auto_qmail.c: \ |
| 35 | auto-str conf-qmail |
| 36 | ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c |
| 37 | |
| 38 | auto_qmail.o: \ |
| 39 | compile auto_qmail.c |
| 40 | ./compile auto_qmail.c |
| 41 | |
| 42 | byte_chr.o: \ |
| 43 | compile byte_chr.c byte.h |
| 44 | ./compile byte_chr.c |
| 45 | |
| 46 | byte_copy.o: \ |
| 47 | compile byte_copy.c byte.h |
| 48 | ./compile byte_copy.c |
| 49 | |
| 50 | byte_cr.o: \ |
| 51 | compile byte_cr.c byte.h |
| 52 | ./compile byte_cr.c |
| 53 | |
| 54 | byte_diff.o: \ |
| 55 | compile byte_diff.c byte.h |
| 56 | ./compile byte_diff.c |
| 57 | |
| 58 | case.a: \ |
| 59 | makelib case_lowerb.o |
| 60 | ./makelib case.a case_lowerb.o |
| 61 | |
| 62 | case_lowerb.o: \ |
| 63 | compile case_lowerb.c case.h |
| 64 | ./compile case_lowerb.c |
| 65 | |
| 66 | cdb.a: \ |
| 67 | makelib cdb_hash.o cdb_unpack.o cdb_seek.o |
| 68 | ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o |
| 69 | |
| 70 | cdb_hash.o: \ |
| 71 | compile cdb_hash.c cdb.h uint32.h |
| 72 | ./compile cdb_hash.c |
| 73 | |
| 74 | cdb_seek.o: \ |
| 75 | compile cdb_seek.c cdb.h uint32.h |
| 76 | ./compile cdb_seek.c |
| 77 | |
| 78 | cdb_unpack.o: \ |
| 79 | compile cdb_unpack.c cdb.h uint32.h |
| 80 | ./compile cdb_unpack.c |
| 81 | |
| 82 | cdbmake.a: \ |
| 83 | makelib cdbmake_pack.o cdbmake_hash.o cdbmake_add.o |
| 84 | ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ |
| 85 | cdbmake_add.o |
| 86 | |
| 87 | cdbmake_add.o: \ |
| 88 | compile cdbmake_add.c cdbmake.h uint32.h |
| 89 | ./compile cdbmake_add.c |
| 90 | |
| 91 | cdbmake_hash.o: \ |
| 92 | compile cdbmake_hash.c cdbmake.h uint32.h |
| 93 | ./compile cdbmake_hash.c |
| 94 | |
| 95 | cdbmake_pack.o: \ |
| 96 | compile cdbmake_pack.c cdbmake.h uint32.h |
| 97 | ./compile cdbmake_pack.c |
| 98 | |
| 99 | cdbmss.o: \ |
| 100 | compile cdbmss.c readwrite.h seek.h alloc.h cdbmss.h cdbmake.h \ |
| 101 | uint32.h substdio.h |
| 102 | ./compile cdbmss.c |
| 103 | |
| 104 | check: \ |
| 105 | it instcheck |
| 106 | ./instcheck |
| 107 | |
| 108 | coe.o: \ |
| 109 | compile coe.c coe.h |
| 110 | ./compile coe.c |
| 111 | |
| 112 | compile: \ |
| 113 | make-compile warn-auto.sh systype |
| 114 | ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ |
| 115 | compile |
| 116 | chmod 755 compile |
| 117 | |
| 118 | control.o: \ |
| 119 | compile control.c readwrite.h open.h getln.h stralloc.h gen_alloc.h \ |
| 120 | substdio.h error.h control.h alloc.h scan.h |
| 121 | ./compile control.c |
| 122 | |
| 123 | env.a: \ |
| 124 | makelib envread.o |
| 125 | ./makelib env.a envread.o |
| 126 | |
| 127 | envread.o: \ |
| 128 | compile envread.c env.h str.h |
| 129 | ./compile envread.c |
| 130 | |
| 131 | error.a: \ |
| 132 | makelib error.o error_str.o |
| 133 | ./makelib error.a error.o error_str.o |
| 134 | |
| 135 | error.o: \ |
| 136 | compile error.c error.h |
| 137 | ./compile error.c |
| 138 | |
| 139 | error_str.o: \ |
| 140 | compile error_str.c error.h |
| 141 | ./compile error_str.c |
| 142 | |
| 143 | fastforward: \ |
| 144 | load fastforward.o slurpclose.o coe.o strset.o qmail.o auto_qmail.o \ |
| 145 | getopt.a cdb.a env.a strerr.a substdio.a stralloc.a alloc.a error.a \ |
| 146 | case.a str.a fs.a sig.a wait.a seek.a open.a fd.a |
| 147 | ./load fastforward slurpclose.o coe.o strset.o qmail.o \ |
| 148 | auto_qmail.o getopt.a cdb.a env.a strerr.a substdio.a \ |
| 149 | stralloc.a alloc.a error.a case.a str.a fs.a sig.a wait.a \ |
| 150 | seek.a open.a fd.a |
| 151 | |
| 152 | fastforward.0: \ |
| 153 | fastforward.1 |
| 154 | nroff -man fastforward.1 > fastforward.0 |
| 155 | |
| 156 | fastforward.o: \ |
| 157 | compile fastforward.c stralloc.h gen_alloc.h substdio.h subfd.h \ |
| 158 | substdio.h strset.h uint32.h sgetopt.h subgetopt.h readwrite.h exit.h \ |
| 159 | strerr.h env.h sig.h qmail.h substdio.h fmt.h case.h alloc.h coe.h \ |
| 160 | seek.h wait.h fork.h |
| 161 | ./compile fastforward.c |
| 162 | |
| 163 | fd.a: \ |
| 164 | makelib fd_copy.o fd_move.o |
| 165 | ./makelib fd.a fd_copy.o fd_move.o |
| 166 | |
| 167 | fd_copy.o: \ |
| 168 | compile fd_copy.c fd.h |
| 169 | ./compile fd_copy.c |
| 170 | |
| 171 | fd_move.o: \ |
| 172 | compile fd_move.c fd.h |
| 173 | ./compile fd_move.c |
| 174 | |
| 175 | find-systype: \ |
| 176 | find-systype.sh auto-ccld.sh |
| 177 | cat auto-ccld.sh find-systype.sh > find-systype |
| 178 | chmod 755 find-systype |
| 179 | |
| 180 | fmt_ulong.o: \ |
| 181 | compile fmt_ulong.c fmt.h |
| 182 | ./compile fmt_ulong.c |
| 183 | |
| 184 | fork.h: \ |
| 185 | compile load tryvfork.c fork.h1 fork.h2 |
| 186 | ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ |
| 187 | 2>&1 \ |
| 188 | && cat fork.h2 || cat fork.h1 ) > fork.h |
| 189 | rm -f tryvfork.o tryvfork |
| 190 | |
| 191 | fs.a: \ |
| 192 | makelib fmt_ulong.o scan_ulong.o |
| 193 | ./makelib fs.a fmt_ulong.o scan_ulong.o |
| 194 | |
| 195 | getln.a: \ |
| 196 | makelib getln.o getln2.o |
| 197 | ./makelib getln.a getln.o getln2.o |
| 198 | |
| 199 | getln.o: \ |
| 200 | compile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h |
| 201 | ./compile getln.c |
| 202 | |
| 203 | getln2.o: \ |
| 204 | compile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h |
| 205 | ./compile getln2.c |
| 206 | |
| 207 | getopt.a: \ |
| 208 | makelib subgetopt.o sgetopt.o |
| 209 | ./makelib getopt.a subgetopt.o sgetopt.o |
| 210 | |
| 211 | hassgact.h: \ |
| 212 | trysgact.c compile load |
| 213 | ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ |
| 214 | 2>&1 \ |
| 215 | && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h |
| 216 | rm -f trysgact.o trysgact |
| 217 | |
| 218 | haswaitp.h: \ |
| 219 | trywaitp.c compile load |
| 220 | ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ |
| 221 | 2>&1 \ |
| 222 | && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h |
| 223 | rm -f trywaitp.o trywaitp |
| 224 | |
| 225 | hier.o: \ |
| 226 | compile hier.c auto_qmail.h |
| 227 | ./compile hier.c |
| 228 | |
| 229 | install: \ |
| 230 | load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \ |
| 231 | str.a |
| 232 | ./load install hier.o auto_qmail.o strerr.a substdio.a \ |
| 233 | error.a open.a str.a |
| 234 | |
| 235 | install.o: \ |
| 236 | compile install.c substdio.h strerr.h error.h open.h readwrite.h \ |
| 237 | exit.h |
| 238 | ./compile install.c |
| 239 | |
| 240 | instcheck: \ |
| 241 | load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \ |
| 242 | str.a |
| 243 | ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \ |
| 244 | error.a str.a |
| 245 | |
| 246 | instcheck.o: \ |
| 247 | compile instcheck.c strerr.h error.h readwrite.h exit.h |
| 248 | ./compile instcheck.c |
| 249 | |
| 250 | it: \ |
| 251 | prog man |
| 252 | |
| 253 | load: \ |
| 254 | make-load warn-auto.sh systype |
| 255 | ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load |
| 256 | chmod 755 load |
| 257 | |
| 258 | make-compile: \ |
| 259 | make-compile.sh auto-ccld.sh |
| 260 | cat auto-ccld.sh make-compile.sh > make-compile |
| 261 | chmod 755 make-compile |
| 262 | |
| 263 | make-load: \ |
| 264 | make-load.sh auto-ccld.sh |
| 265 | cat auto-ccld.sh make-load.sh > make-load |
| 266 | chmod 755 make-load |
| 267 | |
| 268 | make-makelib: \ |
| 269 | make-makelib.sh auto-ccld.sh |
| 270 | cat auto-ccld.sh make-makelib.sh > make-makelib |
| 271 | chmod 755 make-makelib |
| 272 | |
| 273 | makelib: \ |
| 274 | make-makelib warn-auto.sh systype |
| 275 | ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ |
| 276 | makelib |
| 277 | chmod 755 makelib |
| 278 | |
| 279 | man: \ |
| 280 | fastforward.0 printforward.0 setforward.0 newaliases.0 \ |
| 281 | printmaillist.0 setmaillist.0 newinclude.0 |
| 282 | |
| 283 | newaliases: \ |
| 284 | load newaliases.o auto_qmail.o token822.o control.o cdbmss.o \ |
| 285 | cdbmake.a strerr.a getln.a substdio.a stralloc.a alloc.a error.a \ |
| 286 | str.a fs.a seek.a open.a case.a |
| 287 | ./load newaliases auto_qmail.o token822.o control.o \ |
| 288 | cdbmss.o cdbmake.a strerr.a getln.a substdio.a stralloc.a \ |
| 289 | alloc.a error.a str.a fs.a seek.a open.a case.a |
| 290 | |
| 291 | newaliases.0: \ |
| 292 | newaliases.1 |
| 293 | nroff -man newaliases.1 > newaliases.0 |
| 294 | |
| 295 | newaliases.o: \ |
| 296 | compile newaliases.c substdio.h strerr.h stralloc.h gen_alloc.h \ |
| 297 | getln.h open.h readwrite.h token822.h gen_alloc.h control.h \ |
| 298 | auto_qmail.h case.h cdbmss.h cdbmake.h uint32.h substdio.h |
| 299 | ./compile newaliases.c |
| 300 | |
| 301 | newinclude: \ |
| 302 | load newinclude.o auto_qmail.o token822.o control.o getln.a strerr.a \ |
| 303 | stralloc.a env.a alloc.a substdio.a error.a str.a fs.a open.a wait.a \ |
| 304 | fd.a |
| 305 | ./load newinclude auto_qmail.o token822.o control.o \ |
| 306 | getln.a strerr.a stralloc.a env.a alloc.a substdio.a \ |
| 307 | error.a str.a fs.a open.a wait.a fd.a |
| 308 | |
| 309 | newinclude.0: \ |
| 310 | newinclude.1 |
| 311 | nroff -man newinclude.1 > newinclude.0 |
| 312 | |
| 313 | newinclude.o: \ |
| 314 | compile newinclude.c substdio.h strerr.h stralloc.h gen_alloc.h \ |
| 315 | getln.h open.h readwrite.h token822.h gen_alloc.h control.h \ |
| 316 | auto_qmail.h env.h |
| 317 | ./compile newinclude.c |
| 318 | |
| 319 | open.a: \ |
| 320 | makelib open_read.o open_trunc.o |
| 321 | ./makelib open.a open_read.o open_trunc.o |
| 322 | |
| 323 | open_read.o: \ |
| 324 | compile open_read.c open.h |
| 325 | ./compile open_read.c |
| 326 | |
| 327 | open_trunc.o: \ |
| 328 | compile open_trunc.c open.h |
| 329 | ./compile open_trunc.c |
| 330 | |
| 331 | printforward: \ |
| 332 | load printforward.o cdb.a strerr.a substdio.a stralloc.a alloc.a \ |
| 333 | error.a str.a |
| 334 | ./load printforward cdb.a strerr.a substdio.a stralloc.a \ |
| 335 | alloc.a error.a str.a |
| 336 | |
| 337 | printforward.0: \ |
| 338 | printforward.1 |
| 339 | nroff -man printforward.1 > printforward.0 |
| 340 | |
| 341 | printforward.o: \ |
| 342 | compile printforward.c substdio.h subfd.h substdio.h strerr.h \ |
| 343 | stralloc.h gen_alloc.h cdb.h uint32.h |
| 344 | ./compile printforward.c |
| 345 | |
| 346 | printmaillist: \ |
| 347 | load printmaillist.o getln.a strerr.a substdio.a stralloc.a alloc.a \ |
| 348 | error.a str.a |
| 349 | ./load printmaillist getln.a strerr.a substdio.a \ |
| 350 | stralloc.a alloc.a error.a str.a |
| 351 | |
| 352 | printmaillist.0: \ |
| 353 | printmaillist.1 |
| 354 | nroff -man printmaillist.1 > printmaillist.0 |
| 355 | |
| 356 | printmaillist.o: \ |
| 357 | compile printmaillist.c substdio.h subfd.h substdio.h strerr.h \ |
| 358 | stralloc.h gen_alloc.h getln.h |
| 359 | ./compile printmaillist.c |
| 360 | |
| 361 | prog: \ |
| 362 | fastforward printforward setforward newaliases printmaillist \ |
| 363 | setmaillist newinclude |
| 364 | |
| 365 | qmail.o: \ |
| 366 | compile qmail.c substdio.h readwrite.h wait.h exit.h fork.h fd.h \ |
| 367 | qmail.h substdio.h auto_qmail.h |
| 368 | ./compile qmail.c |
| 369 | |
| 370 | scan_ulong.o: \ |
| 371 | compile scan_ulong.c scan.h |
| 372 | ./compile scan_ulong.c |
| 373 | |
| 374 | seek.a: \ |
| 375 | makelib seek_set.o |
| 376 | ./makelib seek.a seek_set.o |
| 377 | |
| 378 | seek_set.o: \ |
| 379 | compile seek_set.c seek.h |
| 380 | ./compile seek_set.c |
| 381 | |
| 382 | setforward: \ |
| 383 | load setforward.o cdbmss.o cdbmake.a strerr.a substdio.a stralloc.a \ |
| 384 | alloc.a error.a str.a seek.a open.a case.a |
| 385 | ./load setforward cdbmss.o cdbmake.a strerr.a substdio.a \ |
| 386 | stralloc.a alloc.a error.a str.a seek.a open.a case.a |
| 387 | |
| 388 | setforward.0: \ |
| 389 | setforward.1 |
| 390 | nroff -man setforward.1 > setforward.0 |
| 391 | |
| 392 | setforward.o: \ |
| 393 | compile setforward.c substdio.h subfd.h substdio.h strerr.h \ |
| 394 | stralloc.h gen_alloc.h open.h case.h readwrite.h cdbmss.h cdbmake.h \ |
| 395 | uint32.h substdio.h |
| 396 | ./compile setforward.c |
| 397 | |
| 398 | setmaillist: \ |
| 399 | load setmaillist.o getln.a strerr.a substdio.a stralloc.a alloc.a \ |
| 400 | error.a str.a open.a |
| 401 | ./load setmaillist getln.a strerr.a substdio.a stralloc.a \ |
| 402 | alloc.a error.a str.a open.a |
| 403 | |
| 404 | setmaillist.0: \ |
| 405 | setmaillist.1 |
| 406 | nroff -man setmaillist.1 > setmaillist.0 |
| 407 | |
| 408 | setmaillist.o: \ |
| 409 | compile setmaillist.c substdio.h subfd.h substdio.h strerr.h \ |
| 410 | stralloc.h gen_alloc.h getln.h open.h readwrite.h |
| 411 | ./compile setmaillist.c |
| 412 | |
| 413 | setup: \ |
| 414 | it install |
| 415 | ./install |
| 416 | |
| 417 | sgetopt.o: \ |
| 418 | compile sgetopt.c substdio.h subfd.h substdio.h sgetopt.h subgetopt.h \ |
| 419 | subgetopt.h |
| 420 | ./compile sgetopt.c |
| 421 | |
| 422 | sig.a: \ |
| 423 | makelib sig_catch.o sig_pipe.o |
| 424 | ./makelib sig.a sig_catch.o sig_pipe.o |
| 425 | |
| 426 | sig_catch.o: \ |
| 427 | compile sig_catch.c sig.h hassgact.h |
| 428 | ./compile sig_catch.c |
| 429 | |
| 430 | sig_pipe.o: \ |
| 431 | compile sig_pipe.c sig.h |
| 432 | ./compile sig_pipe.c |
| 433 | |
| 434 | slurpclose.o: \ |
| 435 | compile slurpclose.c stralloc.h gen_alloc.h readwrite.h slurpclose.h \ |
| 436 | error.h |
| 437 | ./compile slurpclose.c |
| 438 | |
| 439 | str.a: \ |
| 440 | makelib str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o \ |
| 441 | str_rchr.o byte_chr.o byte_diff.o byte_copy.o byte_cr.o |
| 442 | ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \ |
| 443 | str_chr.o str_rchr.o byte_chr.o byte_diff.o byte_copy.o \ |
| 444 | byte_cr.o |
| 445 | |
| 446 | str_chr.o: \ |
| 447 | compile str_chr.c str.h |
| 448 | ./compile str_chr.c |
| 449 | |
| 450 | str_cpy.o: \ |
| 451 | compile str_cpy.c str.h |
| 452 | ./compile str_cpy.c |
| 453 | |
| 454 | str_diff.o: \ |
| 455 | compile str_diff.c str.h |
| 456 | ./compile str_diff.c |
| 457 | |
| 458 | str_diffn.o: \ |
| 459 | compile str_diffn.c str.h |
| 460 | ./compile str_diffn.c |
| 461 | |
| 462 | str_len.o: \ |
| 463 | compile str_len.c str.h |
| 464 | ./compile str_len.c |
| 465 | |
| 466 | str_rchr.o: \ |
| 467 | compile str_rchr.c str.h |
| 468 | ./compile str_rchr.c |
| 469 | |
| 470 | stralloc.a: \ |
| 471 | makelib stralloc_eady.o stralloc_pend.o stralloc_copy.o \ |
| 472 | stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o \ |
| 473 | stralloc_catb.o stralloc_arts.o |
| 474 | ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ |
| 475 | stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ |
| 476 | stralloc_cat.o stralloc_cats.o stralloc_catb.o \ |
| 477 | stralloc_arts.o |
| 478 | |
| 479 | stralloc_arts.o: \ |
| 480 | compile stralloc_arts.c byte.h str.h stralloc.h gen_alloc.h |
| 481 | ./compile stralloc_arts.c |
| 482 | |
| 483 | stralloc_cat.o: \ |
| 484 | compile stralloc_cat.c byte.h stralloc.h gen_alloc.h |
| 485 | ./compile stralloc_cat.c |
| 486 | |
| 487 | stralloc_catb.o: \ |
| 488 | compile stralloc_catb.c stralloc.h gen_alloc.h byte.h |
| 489 | ./compile stralloc_catb.c |
| 490 | |
| 491 | stralloc_cats.o: \ |
| 492 | compile stralloc_cats.c byte.h str.h stralloc.h gen_alloc.h |
| 493 | ./compile stralloc_cats.c |
| 494 | |
| 495 | stralloc_copy.o: \ |
| 496 | compile stralloc_copy.c byte.h stralloc.h gen_alloc.h |
| 497 | ./compile stralloc_copy.c |
| 498 | |
| 499 | stralloc_eady.o: \ |
| 500 | compile stralloc_eady.c alloc.h stralloc.h gen_alloc.h \ |
| 501 | gen_allocdefs.h |
| 502 | ./compile stralloc_eady.c |
| 503 | |
| 504 | stralloc_opyb.o: \ |
| 505 | compile stralloc_opyb.c stralloc.h gen_alloc.h byte.h |
| 506 | ./compile stralloc_opyb.c |
| 507 | |
| 508 | stralloc_opys.o: \ |
| 509 | compile stralloc_opys.c byte.h str.h stralloc.h gen_alloc.h |
| 510 | ./compile stralloc_opys.c |
| 511 | |
| 512 | stralloc_pend.o: \ |
| 513 | compile stralloc_pend.c alloc.h stralloc.h gen_alloc.h \ |
| 514 | gen_allocdefs.h |
| 515 | ./compile stralloc_pend.c |
| 516 | |
| 517 | strerr.a: \ |
| 518 | makelib strerr_sys.o strerr_die.o |
| 519 | ./makelib strerr.a strerr_sys.o strerr_die.o |
| 520 | |
| 521 | strerr_die.o: \ |
| 522 | compile strerr_die.c substdio.h subfd.h substdio.h exit.h strerr.h |
| 523 | ./compile strerr_die.c |
| 524 | |
| 525 | strerr_sys.o: \ |
| 526 | compile strerr_sys.c error.h strerr.h |
| 527 | ./compile strerr_sys.c |
| 528 | |
| 529 | strset.o: \ |
| 530 | compile strset.c strset.h uint32.h str.h byte.h |
| 531 | ./compile strset.c |
| 532 | |
| 533 | subfderr.o: \ |
| 534 | compile subfderr.c readwrite.h substdio.h subfd.h substdio.h |
| 535 | ./compile subfderr.c |
| 536 | |
| 537 | subfdins.o: \ |
| 538 | compile subfdins.c readwrite.h substdio.h subfd.h substdio.h |
| 539 | ./compile subfdins.c |
| 540 | |
| 541 | subfdouts.o: \ |
| 542 | compile subfdouts.c readwrite.h substdio.h subfd.h substdio.h |
| 543 | ./compile subfdouts.c |
| 544 | |
| 545 | subgetopt.o: \ |
| 546 | compile subgetopt.c subgetopt.h |
| 547 | ./compile subgetopt.c |
| 548 | |
| 549 | substdi.o: \ |
| 550 | compile substdi.c substdio.h byte.h error.h |
| 551 | ./compile substdi.c |
| 552 | |
| 553 | substdio.a: \ |
| 554 | makelib substdio.o substdi.o substdo.o subfderr.o subfdouts.o \ |
| 555 | subfdins.o substdio_copy.o |
| 556 | ./makelib substdio.a substdio.o substdi.o substdo.o \ |
| 557 | subfderr.o subfdouts.o subfdins.o substdio_copy.o |
| 558 | |
| 559 | substdio.o: \ |
| 560 | compile substdio.c substdio.h |
| 561 | ./compile substdio.c |
| 562 | |
| 563 | substdio_copy.o: \ |
| 564 | compile substdio_copy.c substdio.h |
| 565 | ./compile substdio_copy.c |
| 566 | |
| 567 | substdo.o: \ |
| 568 | compile substdo.c substdio.h str.h byte.h error.h |
| 569 | ./compile substdo.c |
| 570 | |
| 571 | systype: \ |
| 572 | find-systype trycpp.c |
| 573 | ./find-systype > systype |
| 574 | |
| 575 | token822.o: \ |
| 576 | compile token822.c stralloc.h gen_alloc.h alloc.h str.h token822.h \ |
| 577 | gen_alloc.h gen_allocdefs.h |
| 578 | ./compile token822.c |
| 579 | |
| 580 | uint32.h: \ |
| 581 | tryulong32.c compile load uint32.h1 uint32.h2 |
| 582 | ( ( ./compile tryulong32.c && ./load tryulong32 && \ |
| 583 | ./tryulong32 ) >/dev/null 2>&1 \ |
| 584 | && cat uint32.h2 || cat uint32.h1 ) > uint32.h |
| 585 | rm -f tryulong32.o tryulong32 |
| 586 | |
| 587 | wait.a: \ |
| 588 | makelib wait_pid.o |
| 589 | ./makelib wait.a wait_pid.o |
| 590 | |
| 591 | wait_pid.o: \ |
| 592 | compile wait_pid.c error.h haswaitp.h |
| 593 | ./compile wait_pid.c |