|
|
1.1 ! root 1: note # # make abstract machine file generated from Makefile # # ! 2: setv AS as ! 3: setv ASFLAGS ! 4: setv AR ar ! 5: setv ARFLAGS cr ! 6: setv CC cc ! 7: setv CCFLAGS "-O" ! 8: setv CPP "$CC -E" ! 9: setv CPIO cpio ! 10: setv CPIOFLAGS ! 11: setv F77 f77 ! 12: setv INSTALLROOT $HOME ! 13: setv LD ld ! 14: setv LDFLAGS ! 15: setv LEX lex ! 16: setv LEXFLAGS ! 17: setv LPR lpr ! 18: setv LPRFLAGS ! 19: setv M4FLAGS ! 20: setv MAKE nmake ! 21: setv MAKEFLAGS ! 22: setv PR pr ! 23: setv PRFLAGS ! 24: setv TAR tar ! 25: setv YACC yacc ! 26: setv YACCFLAGS -d ! 27: make install ! 28: make all ! 29: make libx.a ! 30: attr arch ! 31: make opendir.o ! 32: make dir/opendir.c ! 33: attr perm ! 34: attr scan ! 35: make /usr/include/errno.h ! 36: attr perm ! 37: attr scan ! 38: attr impl ! 39: make /usr/include/sys/errno.h ! 40: attr perm ! 41: attr scan ! 42: attr impl ! 43: done /usr/include/sys/errno.h ! 44: done /usr/include/errno.h ! 45: make dir/dirlib.h ! 46: attr perm ! 47: attr scan ! 48: attr impl ! 49: make include/hash.h ! 50: attr perm ! 51: attr scan ! 52: attr impl ! 53: done include/hash.h ! 54: make limits.h ! 55: make mkhdr ! 56: make port/mkhdr.sh ! 57: attr perm ! 58: attr scan ! 59: done port/mkhdr.sh ! 60: prev port/mkhdr.sh ! 61: exec case '' in ! 62: .... "") cp port/mkhdr.sh mkhdr ! 63: .... ;; ! 64: .... *) { ! 65: .... i=`(read x; echo $x) < port/mkhdr.sh` ! 66: .... case $i in ! 67: .... \#!*) echo $i ;; ! 68: .... esac ! 69: .... echo ! 70: .... cat port/mkhdr.sh ! 71: .... } > mkhdr ! 72: .... ;; ! 73: .... esac ! 74: .... chmod u+w,+x mkhdr ! 75: done mkhdr ! 76: make genhdr ! 77: make genhdr.o ! 78: make port/genhdr.c ! 79: attr perm ! 80: attr scan ! 81: make lclstdio.h ! 82: prev mkhdr ! 83: exec mkhdr lclstdio "" "$CC" $CCFLAGS > lclstdio.h ! 84: attr scan ! 85: attr impl ! 86: done lclstdio.h ! 87: make lcldirent.h ! 88: prev mkhdr ! 89: exec mkhdr lcldirent "" "$CC" $CCFLAGS > lcldirent.h ! 90: attr scan ! 91: attr impl ! 92: done lcldirent.h ! 93: make lclparam.h ! 94: prev mkhdr ! 95: exec mkhdr lclparam "" "$CC" $CCFLAGS > lclparam.h ! 96: attr scan ! 97: attr impl ! 98: done lclparam.h ! 99: make lcllimits.h ! 100: prev mkhdr ! 101: exec mkhdr lcllimits "" "$CC" $CCFLAGS > lcllimits.h ! 102: attr scan ! 103: attr impl ! 104: done lcllimits.h ! 105: make FEATURE/getdents ! 106: exec : generate local FEATURE information for getdents ! 107: .... set - ! 108: .... if test ! -d FEATURE ! 109: .... then rm -rf FEATURE ! 110: .... mkdir FEATURE ! 111: .... fi ! 112: .... { ! 113: .... echo '/* local info for getdents */' ! 114: .... case "getdents" in ! 115: .... *.*) f=getdents ! 116: .... i=getdents ! 117: .... ;; ! 118: .... *) f=getdents ! 119: .... i=getdents ! 120: .... echo "#undef $i ! 121: .... int $i;" > x.${!-$$}.c ! 122: .... cmd=: ! 123: .... opt= ! 124: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 125: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 126: .... then opt=-Bstatic ! 127: .... else cmd=x.${!-$$}.x ! 128: .... fi ! 129: .... fi ! 130: .... echo "#undef $i ! 131: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 132: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 133: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 134: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 135: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 136: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 137: .... fi ! 138: .... fi ! 139: .... ;; ! 140: .... esac ! 141: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 142: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 143: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 144: .... fi ! 145: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 146: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 147: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 148: .... fi ! 149: .... for j in / /usr/ ! 150: .... do for i in bin etc ucb ! 151: .... do if test -f $j$i/$f ! 152: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 153: .... break 2 ! 154: .... fi ! 155: .... done ! 156: .... done ! 157: .... } > FEATURE/getdents ! 158: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 159: attr scan ! 160: attr impl ! 161: done FEATURE/getdents ! 162: make FEATURE/dir ! 163: exec : generate local FEATURE information for dir ! 164: .... set - ! 165: .... if test ! -d FEATURE ! 166: .... then rm -rf FEATURE ! 167: .... mkdir FEATURE ! 168: .... fi ! 169: .... { ! 170: .... echo '/* local info for dir */' ! 171: .... case "dir" in ! 172: .... *.*) f=dir ! 173: .... i=dir ! 174: .... ;; ! 175: .... *) f=dir ! 176: .... i=dir ! 177: .... echo "#undef $i ! 178: .... int $i;" > x.${!-$$}.c ! 179: .... cmd=: ! 180: .... opt= ! 181: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 182: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 183: .... then opt=-Bstatic ! 184: .... else cmd=x.${!-$$}.x ! 185: .... fi ! 186: .... fi ! 187: .... echo "#undef $i ! 188: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 189: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 190: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 191: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 192: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 193: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 194: .... fi ! 195: .... fi ! 196: .... ;; ! 197: .... esac ! 198: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 199: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 200: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 201: .... fi ! 202: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 203: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 204: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 205: .... fi ! 206: .... for j in / /usr/ ! 207: .... do for i in bin etc ucb ! 208: .... do if test -f $j$i/$f ! 209: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 210: .... break 2 ! 211: .... fi ! 212: .... done ! 213: .... done ! 214: .... } > FEATURE/dir ! 215: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 216: attr scan ! 217: attr impl ! 218: done FEATURE/dir ! 219: done port/genhdr.c ! 220: prev port/genhdr.c ! 221: exec $CC $CCFLAGS -I. -c port/genhdr.c ! 222: done genhdr.o ! 223: exec $CC $CCFLAGS $LDFLAGS -o genhdr genhdr.o ! 224: done genhdr ! 225: exec mkhdr limits " genhdr" "$CC" $CCFLAGS > limits.h ! 226: attr scan ! 227: attr impl ! 228: prev lcllimits.h ! 229: done limits.h ! 230: make dirent.h ! 231: prev mkhdr ! 232: prev genhdr ! 233: exec mkhdr dirent " genhdr" "$CC" $CCFLAGS > dirent.h ! 234: attr scan ! 235: attr impl ! 236: prev lcldirent.h ! 237: done dirent.h ! 238: make fsinfo.h ! 239: prev mkhdr ! 240: prev genhdr ! 241: exec mkhdr fsinfo " genhdr" "$CC" $CCFLAGS > fsinfo.h ! 242: attr scan ! 243: attr impl ! 244: done fsinfo.h ! 245: prev lclparam.h ! 246: make preroot.h ! 247: prev mkhdr ! 248: exec mkhdr preroot "" "$CC" $CCFLAGS > preroot.h ! 249: attr scan ! 250: attr impl ! 251: done preroot.h ! 252: done dir/dirlib.h ! 253: done dir/opendir.c ! 254: prev dir/opendir.c ! 255: exec $CC $CCFLAGS -I. -Idir -Iinclude -c dir/opendir.c ! 256: done opendir.o ! 257: make readdir.o ! 258: make dir/readdir.c ! 259: attr perm ! 260: attr scan ! 261: prev dir/dirlib.h ! 262: done dir/readdir.c ! 263: prev dir/readdir.c ! 264: exec $CC $CCFLAGS -I. -Idir -Iinclude -c dir/readdir.c ! 265: done readdir.o ! 266: make rewinddir.o ! 267: make dir/rewinddir.c ! 268: attr perm ! 269: attr scan ! 270: prev dir/dirlib.h ! 271: done dir/rewinddir.c ! 272: prev dir/rewinddir.c ! 273: exec $CC $CCFLAGS -I. -Idir -Iinclude -c dir/rewinddir.c ! 274: done rewinddir.o ! 275: make seekdir.o ! 276: make dir/seekdir.c ! 277: attr perm ! 278: attr scan ! 279: prev dir/dirlib.h ! 280: done dir/seekdir.c ! 281: prev dir/seekdir.c ! 282: exec $CC $CCFLAGS -I. -Idir -Iinclude -c dir/seekdir.c ! 283: done seekdir.o ! 284: make telldir.o ! 285: make dir/telldir.c ! 286: attr perm ! 287: attr scan ! 288: prev dir/dirlib.h ! 289: done dir/telldir.c ! 290: prev dir/telldir.c ! 291: exec $CC $CCFLAGS -I. -Idir -Iinclude -c dir/telldir.c ! 292: done telldir.o ! 293: make getcwd.o ! 294: make misc/getcwd.c ! 295: attr perm ! 296: attr scan ! 297: prev limits.h ! 298: prev /usr/include/errno.h ! 299: prev dirent.h ! 300: make /usr/include/sys/stat.h ! 301: done /usr/include/sys/stat.h ! 302: make /usr/include/sys/types.h ! 303: done /usr/include/sys/types.h ! 304: done misc/getcwd.c ! 305: prev misc/getcwd.c ! 306: exec $CC $CCFLAGS -I. -c misc/getcwd.c ! 307: done getcwd.o ! 308: make setcwd.o ! 309: make misc/setcwd.c ! 310: attr perm ! 311: attr scan ! 312: prev /usr/include/errno.h ! 313: prev limits.h ! 314: done misc/setcwd.c ! 315: prev misc/setcwd.c ! 316: setv DEBUG -UDEBUG ! 317: exec $CC $CCFLAGS -I. "$DEBUG" -c misc/setcwd.c ! 318: done setcwd.o ! 319: make getshell.o ! 320: make misc/getshell.c ! 321: attr perm ! 322: attr scan ! 323: done misc/getshell.c ! 324: prev misc/getshell.c ! 325: exec $CC $CCFLAGS -c misc/getshell.c ! 326: done getshell.o ! 327: make hashalloc.o ! 328: make hash/hashalloc.c ! 329: attr perm ! 330: attr scan ! 331: make hash/hashlib.h ! 332: attr perm ! 333: attr scan ! 334: attr impl ! 335: prev include/hash.h ! 336: prev limits.h ! 337: done hash/hashlib.h ! 338: done hash/hashalloc.c ! 339: prev hash/hashalloc.c ! 340: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashalloc.c ! 341: done hashalloc.o ! 342: make hashdump.o ! 343: make hash/hashdump.c ! 344: attr perm ! 345: attr scan ! 346: prev hash/hashlib.h ! 347: make include/stdio.h ! 348: done include/stdio.h ! 349: done hash/hashdump.c ! 350: prev hash/hashdump.c ! 351: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashdump.c ! 352: done hashdump.o ! 353: make hashfree.o ! 354: make hash/hashfree.c ! 355: attr perm ! 356: attr scan ! 357: prev hash/hashlib.h ! 358: done hash/hashfree.c ! 359: prev hash/hashfree.c ! 360: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashfree.c ! 361: done hashfree.o ! 362: make hashlook.o ! 363: make hash/hashlook.c ! 364: attr perm ! 365: attr scan ! 366: prev hash/hashlib.h ! 367: done hash/hashlook.c ! 368: prev hash/hashlook.c ! 369: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashlook.c ! 370: done hashlook.o ! 371: make hashscan.o ! 372: make hash/hashscan.c ! 373: attr perm ! 374: attr scan ! 375: prev hash/hashlib.h ! 376: done hash/hashscan.c ! 377: prev hash/hashscan.c ! 378: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashscan.c ! 379: done hashscan.o ! 380: make hashsize.o ! 381: make hash/hashsize.c ! 382: attr perm ! 383: attr scan ! 384: prev hash/hashlib.h ! 385: done hash/hashsize.c ! 386: prev hash/hashsize.c ! 387: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashsize.c ! 388: done hashsize.o ! 389: make hashwalk.o ! 390: make hash/hashwalk.c ! 391: attr perm ! 392: attr scan ! 393: prev hash/hashlib.h ! 394: done hash/hashwalk.c ! 395: prev hash/hashwalk.c ! 396: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/hashwalk.c ! 397: done hashwalk.o ! 398: make memhash.o ! 399: make hash/memhash.c ! 400: attr perm ! 401: attr scan ! 402: prev hash/hashlib.h ! 403: done hash/memhash.c ! 404: prev hash/memhash.c ! 405: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/memhash.c ! 406: done memhash.o ! 407: make memsum.o ! 408: make hash/memsum.c ! 409: attr perm ! 410: attr scan ! 411: prev hash/hashlib.h ! 412: done hash/memsum.c ! 413: prev hash/memsum.c ! 414: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/memsum.c ! 415: done memsum.o ! 416: make strhash.o ! 417: make hash/strhash.c ! 418: attr perm ! 419: attr scan ! 420: prev hash/hashlib.h ! 421: done hash/strhash.c ! 422: prev hash/strhash.c ! 423: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/strhash.c ! 424: done strhash.o ! 425: make strsum.o ! 426: make hash/strsum.c ! 427: attr perm ! 428: attr scan ! 429: prev hash/hashlib.h ! 430: done hash/strsum.c ! 431: prev hash/strsum.c ! 432: exec $CC $CCFLAGS -I. -Ihash -Iinclude -c hash/strsum.c ! 433: done strsum.o ! 434: make cvtatoe.o ! 435: make misc/cvtatoe.c ! 436: attr perm ! 437: attr scan ! 438: done misc/cvtatoe.c ! 439: prev misc/cvtatoe.c ! 440: exec $CC $CCFLAGS -c misc/cvtatoe.c ! 441: done cvtatoe.o ! 442: make cvtetoa.o ! 443: make misc/cvtetoa.c ! 444: attr perm ! 445: attr scan ! 446: done misc/cvtetoa.c ! 447: prev misc/cvtetoa.c ! 448: exec $CC $CCFLAGS -c misc/cvtetoa.c ! 449: done cvtetoa.o ! 450: make chresc.o ! 451: make string/chresc.c ! 452: attr perm ! 453: attr scan ! 454: done string/chresc.c ! 455: prev string/chresc.c ! 456: exec $CC $CCFLAGS -c string/chresc.c ! 457: done chresc.o ! 458: make ctoi.o ! 459: make string/ctoi.c ! 460: attr perm ! 461: attr scan ! 462: prev limits.h ! 463: done string/ctoi.c ! 464: prev string/ctoi.c ! 465: exec $CC $CCFLAGS -I. -c string/ctoi.c ! 466: done ctoi.o ! 467: make streval.o ! 468: make string/streval.c ! 469: attr perm ! 470: attr scan ! 471: make /usr/include/ctype.h ! 472: attr perm ! 473: attr scan ! 474: attr impl ! 475: done /usr/include/ctype.h ! 476: done string/streval.c ! 477: prev string/streval.c ! 478: exec $CC $CCFLAGS -c string/streval.c ! 479: done streval.o ! 480: make strmatch.o ! 481: make string/strmatch.c ! 482: attr perm ! 483: attr scan ! 484: prev /usr/include/ctype.h ! 485: done string/strmatch.c ! 486: prev string/strmatch.c ! 487: exec $CC $CCFLAGS -c string/strmatch.c ! 488: done strmatch.o ! 489: make strcopy.o ! 490: make string/strcopy.c ! 491: attr perm ! 492: attr scan ! 493: done string/strcopy.c ! 494: prev string/strcopy.c ! 495: exec $CC $CCFLAGS -c string/strcopy.c ! 496: done strcopy.o ! 497: make strmode.o ! 498: make string/strmode.c ! 499: attr perm ! 500: attr scan ! 501: make string/modelib.h ! 502: attr perm ! 503: attr scan ! 504: attr impl ! 505: done string/modelib.h ! 506: done string/strmode.c ! 507: prev string/strmode.c ! 508: exec $CC $CCFLAGS -Istring -c string/strmode.c ! 509: done strmode.o ! 510: make stresc.o ! 511: make string/stresc.c ! 512: attr perm ! 513: attr scan ! 514: done string/stresc.c ! 515: prev string/stresc.c ! 516: exec $CC $CCFLAGS -c string/stresc.c ! 517: done stresc.o ! 518: make stropt.o ! 519: make string/stropt.c ! 520: attr perm ! 521: attr scan ! 522: prev /usr/include/ctype.h ! 523: make include/namval.h ! 524: attr perm ! 525: attr scan ! 526: attr impl ! 527: done include/namval.h ! 528: done string/stropt.c ! 529: prev string/stropt.c ! 530: exec $CC $CCFLAGS -Iinclude -c string/stropt.c ! 531: done stropt.o ! 532: make strtape.o ! 533: make string/strtape.c ! 534: attr perm ! 535: attr scan ! 536: prev include/stdio.h ! 537: done string/strtape.c ! 538: prev string/strtape.c ! 539: exec $CC $CCFLAGS -Iinclude -c string/strtape.c ! 540: done strtape.o ! 541: make tok.o ! 542: make string/tok.c ! 543: attr perm ! 544: attr scan ! 545: done string/tok.c ! 546: prev string/tok.c ! 547: exec $CC $CCFLAGS -c string/tok.c ! 548: done tok.o ! 549: make pathaccess.o ! 550: make misc/pathaccess.c ! 551: attr perm ! 552: attr scan ! 553: prev /usr/include/sys/stat.h ! 554: prev /usr/include/sys/types.h ! 555: prev limits.h ! 556: done misc/pathaccess.c ! 557: prev misc/pathaccess.c ! 558: exec $CC $CCFLAGS -I. -c misc/pathaccess.c ! 559: done pathaccess.o ! 560: make pathcanon.o ! 561: make misc/pathcanon.c ! 562: attr perm ! 563: attr scan ! 564: done misc/pathcanon.c ! 565: prev misc/pathcanon.c ! 566: exec $CC $CCFLAGS -c misc/pathcanon.c ! 567: done pathcanon.o ! 568: make pathcheck.o ! 569: make misc/pathcheck.c ! 570: attr perm ! 571: attr scan ! 572: done misc/pathcheck.c ! 573: prev misc/pathcheck.c ! 574: exec $CC $CCFLAGS -c misc/pathcheck.c ! 575: done pathcheck.o ! 576: make pathpath.o ! 577: make misc/pathpath.c ! 578: attr perm ! 579: attr scan ! 580: done misc/pathpath.c ! 581: prev misc/pathpath.c ! 582: exec $CC $CCFLAGS -c misc/pathpath.c ! 583: done pathpath.o ! 584: make pathkey.o ! 585: make misc/pathkey.c ! 586: attr perm ! 587: attr scan ! 588: prev include/stdio.h ! 589: prev preroot.h ! 590: prev /usr/include/ctype.h ! 591: prev limits.h ! 592: done misc/pathkey.c ! 593: prev misc/pathkey.c ! 594: exec $CC $CCFLAGS -I. -Iinclude -c misc/pathkey.c ! 595: done pathkey.o ! 596: make pathprobe.o ! 597: make misc/pathprobe.c ! 598: attr perm ! 599: attr scan ! 600: make include/ls.h ! 601: attr perm ! 602: attr scan ! 603: attr impl ! 604: prev fsinfo.h ! 605: done include/ls.h ! 606: prev limits.h ! 607: done misc/pathprobe.c ! 608: prev misc/pathprobe.c ! 609: exec $CC $CCFLAGS -I. -Iinclude -c misc/pathprobe.c ! 610: done pathprobe.o ! 611: make pathtemp.o ! 612: make misc/pathtemp.c ! 613: attr perm ! 614: attr scan ! 615: done misc/pathtemp.c ! 616: prev misc/pathtemp.c ! 617: exec $CC $CCFLAGS -c misc/pathtemp.c ! 618: done pathtemp.o ! 619: make cmdargs.o ! 620: make misc/cmdargs.c ! 621: attr perm ! 622: attr scan ! 623: make include/option.h ! 624: attr perm ! 625: attr scan ! 626: attr impl ! 627: done include/option.h ! 628: done misc/cmdargs.c ! 629: prev misc/cmdargs.c ! 630: exec $CC $CCFLAGS -Iinclude -c misc/cmdargs.c ! 631: done cmdargs.o ! 632: make fs3d.o ! 633: make misc/fs3d.c ! 634: attr perm ! 635: attr scan ! 636: done misc/fs3d.c ! 637: prev misc/fs3d.c ! 638: exec $CC $CCFLAGS -c misc/fs3d.c ! 639: done fs3d.o ! 640: make ftwalk.o ! 641: make misc/ftwalk.c ! 642: attr perm ! 643: attr scan ! 644: make include/ftwalk.h ! 645: attr perm ! 646: attr scan ! 647: attr impl ! 648: done include/ftwalk.h ! 649: prev /usr/include/errno.h ! 650: prev limits.h ! 651: prev dirent.h ! 652: prev /usr/include/sys/stat.h ! 653: prev /usr/include/sys/types.h ! 654: done misc/ftwalk.c ! 655: prev misc/ftwalk.c ! 656: exec $CC $CCFLAGS -I. -Iinclude -c misc/ftwalk.c ! 657: done ftwalk.o ! 658: make perror.o ! 659: make misc/perror.c ! 660: attr perm ! 661: attr scan ! 662: make FEATURE/strerror ! 663: exec : generate local FEATURE information for strerror ! 664: .... set - ! 665: .... if test ! -d FEATURE ! 666: .... then rm -rf FEATURE ! 667: .... mkdir FEATURE ! 668: .... fi ! 669: .... { ! 670: .... echo '/* local info for strerror */' ! 671: .... case "strerror" in ! 672: .... *.*) f=strerror ! 673: .... i=strerror ! 674: .... ;; ! 675: .... *) f=strerror ! 676: .... i=strerror ! 677: .... echo "#undef $i ! 678: .... int $i;" > x.${!-$$}.c ! 679: .... cmd=: ! 680: .... opt= ! 681: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 682: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 683: .... then opt=-Bstatic ! 684: .... else cmd=x.${!-$$}.x ! 685: .... fi ! 686: .... fi ! 687: .... echo "#undef $i ! 688: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 689: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 690: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 691: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 692: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 693: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 694: .... fi ! 695: .... fi ! 696: .... ;; ! 697: .... esac ! 698: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 699: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 700: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 701: .... fi ! 702: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 703: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 704: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 705: .... fi ! 706: .... for j in / /usr/ ! 707: .... do for i in bin etc ucb ! 708: .... do if test -f $j$i/$f ! 709: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 710: .... break 2 ! 711: .... fi ! 712: .... done ! 713: .... done ! 714: .... } > FEATURE/strerror ! 715: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 716: attr scan ! 717: attr impl ! 718: done FEATURE/strerror ! 719: prev include/stdio.h ! 720: done misc/perror.c ! 721: prev misc/perror.c ! 722: exec $CC $CCFLAGS -I. -Iinclude -c misc/perror.c ! 723: done perror.o ! 724: make putenv.o ! 725: make misc/putenv.c ! 726: attr perm ! 727: attr scan ! 728: done misc/putenv.c ! 729: prev misc/putenv.c ! 730: exec $CC $CCFLAGS -c misc/putenv.c ! 731: done putenv.o ! 732: make calloc.o ! 733: make misc/calloc.c ! 734: attr perm ! 735: attr scan ! 736: make FEATURE/bzero ! 737: exec : generate local FEATURE information for bzero ! 738: .... set - ! 739: .... if test ! -d FEATURE ! 740: .... then rm -rf FEATURE ! 741: .... mkdir FEATURE ! 742: .... fi ! 743: .... { ! 744: .... echo '/* local info for bzero */' ! 745: .... case "bzero" in ! 746: .... *.*) f=bzero ! 747: .... i=bzero ! 748: .... ;; ! 749: .... *) f=bzero ! 750: .... i=bzero ! 751: .... echo "#undef $i ! 752: .... int $i;" > x.${!-$$}.c ! 753: .... cmd=: ! 754: .... opt= ! 755: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 756: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 757: .... then opt=-Bstatic ! 758: .... else cmd=x.${!-$$}.x ! 759: .... fi ! 760: .... fi ! 761: .... echo "#undef $i ! 762: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 763: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 764: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 765: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 766: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 767: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 768: .... fi ! 769: .... fi ! 770: .... ;; ! 771: .... esac ! 772: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 773: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 774: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 775: .... fi ! 776: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 777: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 778: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 779: .... fi ! 780: .... for j in / /usr/ ! 781: .... do for i in bin etc ucb ! 782: .... do if test -f $j$i/$f ! 783: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 784: .... break 2 ! 785: .... fi ! 786: .... done ! 787: .... done ! 788: .... } > FEATURE/bzero ! 789: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 790: attr scan ! 791: attr impl ! 792: done FEATURE/bzero ! 793: done misc/calloc.c ! 794: prev misc/calloc.c ! 795: exec $CC $CCFLAGS -I. -c misc/calloc.c ! 796: done calloc.o ! 797: make malloc.o ! 798: make misc/malloc.c ! 799: attr perm ! 800: attr scan ! 801: make FEATURE/bcopy ! 802: exec : generate local FEATURE information for bcopy ! 803: .... set - ! 804: .... if test ! -d FEATURE ! 805: .... then rm -rf FEATURE ! 806: .... mkdir FEATURE ! 807: .... fi ! 808: .... { ! 809: .... echo '/* local info for bcopy */' ! 810: .... case "bcopy" in ! 811: .... *.*) f=bcopy ! 812: .... i=bcopy ! 813: .... ;; ! 814: .... *) f=bcopy ! 815: .... i=bcopy ! 816: .... echo "#undef $i ! 817: .... int $i;" > x.${!-$$}.c ! 818: .... cmd=: ! 819: .... opt= ! 820: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 821: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 822: .... then opt=-Bstatic ! 823: .... else cmd=x.${!-$$}.x ! 824: .... fi ! 825: .... fi ! 826: .... echo "#undef $i ! 827: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 828: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 829: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 830: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 831: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 832: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 833: .... fi ! 834: .... fi ! 835: .... ;; ! 836: .... esac ! 837: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 838: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 839: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 840: .... fi ! 841: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 842: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 843: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 844: .... fi ! 845: .... for j in / /usr/ ! 846: .... do for i in bin etc ucb ! 847: .... do if test -f $j$i/$f ! 848: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 849: .... break 2 ! 850: .... fi ! 851: .... done ! 852: .... done ! 853: .... } > FEATURE/bcopy ! 854: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 855: attr scan ! 856: attr impl ! 857: done FEATURE/bcopy ! 858: done misc/malloc.c ! 859: prev misc/malloc.c ! 860: exec $CC $CCFLAGS -I. "$DEBUG" -c misc/malloc.c ! 861: done malloc.o ! 862: make getnamval.o ! 863: make misc/getnamval.c ! 864: attr perm ! 865: attr scan ! 866: prev include/namval.h ! 867: done misc/getnamval.c ! 868: prev misc/getnamval.c ! 869: exec $CC $CCFLAGS -Iinclude -c misc/getnamval.c ! 870: done getnamval.o ! 871: make optget.o ! 872: make misc/optget.c ! 873: attr perm ! 874: attr scan ! 875: done misc/optget.c ! 876: prev misc/optget.c ! 877: exec $CC $CCFLAGS -c misc/optget.c ! 878: done optget.o ! 879: make hsort.o ! 880: make misc/hsort.c ! 881: attr perm ! 882: attr scan ! 883: done misc/hsort.c ! 884: prev misc/hsort.c ! 885: exec $CC $CCFLAGS -c misc/hsort.c ! 886: done hsort.o ! 887: make query.o ! 888: make misc/query.c ! 889: attr perm ! 890: attr scan ! 891: prev include/stdio.h ! 892: done misc/query.c ! 893: prev misc/query.c ! 894: exec $CC $CCFLAGS -Iinclude -c misc/query.c ! 895: done query.o ! 896: make error.o ! 897: make misc/error.c ! 898: attr perm ! 899: attr scan ! 900: make include/sfio.h ! 901: done include/sfio.h ! 902: make sig.h ! 903: prev mkhdr ! 904: exec mkhdr sig "" "$CC" $CCFLAGS > sig.h ! 905: attr scan ! 906: attr impl ! 907: done sig.h ! 908: prev include/namval.h ! 909: make include/error.h ! 910: attr perm ! 911: attr scan ! 912: attr impl ! 913: done include/error.h ! 914: prev /usr/include/ctype.h ! 915: done misc/error.c ! 916: prev misc/error.c ! 917: exec $CC $CCFLAGS -I. -Iinclude -c misc/error.c ! 918: done error.o ! 919: make liberror.o ! 920: make misc/liberror.c ! 921: attr perm ! 922: attr scan ! 923: prev include/error.h ! 924: done misc/liberror.c ! 925: prev misc/liberror.c ! 926: exec $CC $CCFLAGS -Iinclude -c misc/liberror.c ! 927: done liberror.o ! 928: make strerror.o ! 929: make string/strerror.c ! 930: attr perm ! 931: attr scan ! 932: prev FEATURE/strerror ! 933: done string/strerror.c ! 934: prev string/strerror.c ! 935: exec $CC $CCFLAGS -I. -Iinclude -c string/strerror.c ! 936: done strerror.o ! 937: make strsignal.o ! 938: make string/strsignal.c ! 939: attr perm ! 940: attr scan ! 941: prev include/stdio.h ! 942: done string/strsignal.c ! 943: prev string/strsignal.c ! 944: exec $CC $CCFLAGS -Iinclude -c string/strsignal.c ! 945: done strsignal.o ! 946: make fmtelapsed.o ! 947: make string/fmtelapsed.c ! 948: attr perm ! 949: attr scan ! 950: prev include/stdio.h ! 951: done string/fmtelapsed.c ! 952: prev string/fmtelapsed.c ! 953: exec $CC $CCFLAGS -Iinclude -c string/fmtelapsed.c ! 954: done fmtelapsed.o ! 955: make fmtls.o ! 956: make string/fmtls.c ! 957: attr perm ! 958: attr scan ! 959: prev include/stdio.h ! 960: make include/tm.h ! 961: attr perm ! 962: attr scan ! 963: attr impl ! 964: done include/tm.h ! 965: prev include/ls.h ! 966: done string/fmtls.c ! 967: prev string/fmtls.c ! 968: exec $CC $CCFLAGS -I. -Iinclude -c string/fmtls.c ! 969: done fmtls.o ! 970: make fmtmode.o ! 971: make string/fmtmode.c ! 972: attr perm ! 973: attr scan ! 974: prev string/modelib.h ! 975: done string/fmtmode.c ! 976: prev string/fmtmode.c ! 977: exec $CC $CCFLAGS -Istring -c string/fmtmode.c ! 978: done fmtmode.o ! 979: make fmtperm.o ! 980: make string/fmtperm.c ! 981: attr perm ! 982: attr scan ! 983: prev include/ls.h ! 984: done string/fmtperm.c ! 985: prev string/fmtperm.c ! 986: exec $CC $CCFLAGS -I. -Iinclude -c string/fmtperm.c ! 987: done fmtperm.o ! 988: make fmtuid.o ! 989: make string/fmtuid.c ! 990: attr perm ! 991: attr scan ! 992: make /usr/include/pwd.h ! 993: attr perm ! 994: attr scan ! 995: attr impl ! 996: done /usr/include/pwd.h ! 997: prev include/hash.h ! 998: prev include/stdio.h ! 999: done string/fmtuid.c ! 1000: prev string/fmtuid.c ! 1001: exec $CC $CCFLAGS -Iinclude -c string/fmtuid.c ! 1002: done fmtuid.o ! 1003: make fmtgid.o ! 1004: make string/fmtgid.c ! 1005: attr perm ! 1006: attr scan ! 1007: make /usr/include/grp.h ! 1008: attr perm ! 1009: attr scan ! 1010: attr impl ! 1011: done /usr/include/grp.h ! 1012: prev include/hash.h ! 1013: prev include/stdio.h ! 1014: done string/fmtgid.c ! 1015: prev string/fmtgid.c ! 1016: exec $CC $CCFLAGS -Iinclude -c string/fmtgid.c ! 1017: done fmtgid.o ! 1018: make strelapsed.o ! 1019: make string/strelapsed.c ! 1020: attr perm ! 1021: attr scan ! 1022: prev /usr/include/ctype.h ! 1023: done string/strelapsed.c ! 1024: prev string/strelapsed.c ! 1025: exec $CC $CCFLAGS -c string/strelapsed.c ! 1026: done strelapsed.o ! 1027: make strperm.o ! 1028: make string/strperm.c ! 1029: attr perm ! 1030: attr scan ! 1031: prev include/ls.h ! 1032: done string/strperm.c ! 1033: prev string/strperm.c ! 1034: exec $CC $CCFLAGS -I. -Iinclude -c string/strperm.c ! 1035: done strperm.o ! 1036: make struid.o ! 1037: make string/struid.c ! 1038: attr perm ! 1039: attr scan ! 1040: prev /usr/include/pwd.h ! 1041: prev include/hash.h ! 1042: done string/struid.c ! 1043: prev string/struid.c ! 1044: exec $CC $CCFLAGS -Iinclude -c string/struid.c ! 1045: done struid.o ! 1046: make strgid.o ! 1047: make string/strgid.c ! 1048: attr perm ! 1049: attr scan ! 1050: prev /usr/include/grp.h ! 1051: prev /usr/include/pwd.h ! 1052: prev include/hash.h ! 1053: done string/strgid.c ! 1054: prev string/strgid.c ! 1055: exec $CC $CCFLAGS -Iinclude -c string/strgid.c ! 1056: done strgid.o ! 1057: make stack.o ! 1058: make misc/stack.c ! 1059: attr perm ! 1060: attr scan ! 1061: make include/stack.h ! 1062: attr perm ! 1063: attr scan ! 1064: attr impl ! 1065: done include/stack.h ! 1066: done misc/stack.c ! 1067: prev misc/stack.c ! 1068: exec $CC $CCFLAGS -Iinclude -c misc/stack.c ! 1069: done stack.o ! 1070: make stak.o ! 1071: make misc/stak.c ! 1072: attr perm ! 1073: attr scan ! 1074: make include/stak.h ! 1075: attr perm ! 1076: attr scan ! 1077: attr impl ! 1078: done include/stak.h ! 1079: done misc/stak.c ! 1080: prev misc/stak.c ! 1081: exec $CC $CCFLAGS -Iinclude -c misc/stak.c ! 1082: done stak.o ! 1083: make memswap.o ! 1084: make string/memswap.c ! 1085: attr perm ! 1086: attr scan ! 1087: make include/swap.h ! 1088: attr perm ! 1089: attr scan ! 1090: attr impl ! 1091: done include/swap.h ! 1092: done string/memswap.c ! 1093: prev string/memswap.c ! 1094: exec $CC $CCFLAGS -Iinclude -c string/memswap.c ! 1095: done memswap.o ! 1096: make gethalf.o ! 1097: make string/gethalf.c ! 1098: attr perm ! 1099: attr scan ! 1100: prev limits.h ! 1101: prev include/swap.h ! 1102: done string/gethalf.c ! 1103: prev string/gethalf.c ! 1104: exec $CC $CCFLAGS -I. -Iinclude -c string/gethalf.c ! 1105: done gethalf.o ! 1106: make getlong.o ! 1107: make string/getlong.c ! 1108: attr perm ! 1109: attr scan ! 1110: prev limits.h ! 1111: prev include/swap.h ! 1112: done string/getlong.c ! 1113: prev string/getlong.c ! 1114: exec $CC $CCFLAGS -I. -Iinclude -c string/getlong.c ! 1115: done getlong.o ! 1116: make puthalf.o ! 1117: make string/puthalf.c ! 1118: attr perm ! 1119: attr scan ! 1120: prev limits.h ! 1121: prev include/swap.h ! 1122: done string/puthalf.c ! 1123: prev string/puthalf.c ! 1124: exec $CC $CCFLAGS -I. -Iinclude -c string/puthalf.c ! 1125: done puthalf.o ! 1126: make putlong.o ! 1127: make string/putlong.c ! 1128: attr perm ! 1129: attr scan ! 1130: prev limits.h ! 1131: prev include/swap.h ! 1132: done string/putlong.c ! 1133: prev string/putlong.c ! 1134: exec $CC $CCFLAGS -I. -Iinclude -c string/putlong.c ! 1135: done putlong.o ! 1136: make fgetline.o ! 1137: make misc/fgetline.c ! 1138: attr perm ! 1139: attr scan ! 1140: prev include/stdio.h ! 1141: done misc/fgetline.c ! 1142: prev misc/fgetline.c ! 1143: exec $CC $CCFLAGS -Iinclude -c misc/fgetline.c ! 1144: done fgetline.o ! 1145: make sigcrit.o ! 1146: make misc/sigcrit.c ! 1147: attr perm ! 1148: attr scan ! 1149: make FEATURE/sigsetmask ! 1150: exec : generate local FEATURE information for sigsetmask ! 1151: .... set - ! 1152: .... if test ! -d FEATURE ! 1153: .... then rm -rf FEATURE ! 1154: .... mkdir FEATURE ! 1155: .... fi ! 1156: .... { ! 1157: .... echo '/* local info for sigsetmask */' ! 1158: .... case "sigsetmask" in ! 1159: .... *.*) f=sigsetmask ! 1160: .... i=sigsetmask ! 1161: .... ;; ! 1162: .... *) f=sigsetmask ! 1163: .... i=sigsetmask ! 1164: .... echo "#undef $i ! 1165: .... int $i;" > x.${!-$$}.c ! 1166: .... cmd=: ! 1167: .... opt= ! 1168: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1169: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1170: .... then opt=-Bstatic ! 1171: .... else cmd=x.${!-$$}.x ! 1172: .... fi ! 1173: .... fi ! 1174: .... echo "#undef $i ! 1175: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1176: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1177: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1178: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1179: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1180: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1181: .... fi ! 1182: .... fi ! 1183: .... ;; ! 1184: .... esac ! 1185: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1186: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1187: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1188: .... fi ! 1189: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1190: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1191: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1192: .... fi ! 1193: .... for j in / /usr/ ! 1194: .... do for i in bin etc ucb ! 1195: .... do if test -f $j$i/$f ! 1196: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1197: .... break 2 ! 1198: .... fi ! 1199: .... done ! 1200: .... done ! 1201: .... } > FEATURE/sigsetmask ! 1202: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1203: attr scan ! 1204: attr impl ! 1205: done FEATURE/sigsetmask ! 1206: prev sig.h ! 1207: done misc/sigcrit.c ! 1208: prev misc/sigcrit.c ! 1209: exec $CC $CCFLAGS -I. -c misc/sigcrit.c ! 1210: done sigcrit.o ! 1211: make sigunblock.o ! 1212: make comp/sigunblock.c ! 1213: attr perm ! 1214: attr scan ! 1215: prev sig.h ! 1216: make FEATURE/sigunblock ! 1217: exec : generate local FEATURE information for sigunblock ! 1218: .... set - ! 1219: .... if test ! -d FEATURE ! 1220: .... then rm -rf FEATURE ! 1221: .... mkdir FEATURE ! 1222: .... fi ! 1223: .... { ! 1224: .... echo '/* local info for sigunblock */' ! 1225: .... case "sigunblock" in ! 1226: .... *.*) f=sigunblock ! 1227: .... i=sigunblock ! 1228: .... ;; ! 1229: .... *) f=sigunblock ! 1230: .... i=sigunblock ! 1231: .... echo "#undef $i ! 1232: .... int $i;" > x.${!-$$}.c ! 1233: .... cmd=: ! 1234: .... opt= ! 1235: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1236: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1237: .... then opt=-Bstatic ! 1238: .... else cmd=x.${!-$$}.x ! 1239: .... fi ! 1240: .... fi ! 1241: .... echo "#undef $i ! 1242: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1243: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1244: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1245: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1246: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1247: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1248: .... fi ! 1249: .... fi ! 1250: .... ;; ! 1251: .... esac ! 1252: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1253: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1254: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1255: .... fi ! 1256: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1257: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1258: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1259: .... fi ! 1260: .... for j in / /usr/ ! 1261: .... do for i in bin etc ucb ! 1262: .... do if test -f $j$i/$f ! 1263: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1264: .... break 2 ! 1265: .... fi ! 1266: .... done ! 1267: .... done ! 1268: .... } > FEATURE/sigunblock ! 1269: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1270: attr scan ! 1271: attr impl ! 1272: done FEATURE/sigunblock ! 1273: done comp/sigunblock.c ! 1274: prev comp/sigunblock.c ! 1275: exec $CC $CCFLAGS -I. -c comp/sigunblock.c ! 1276: done sigunblock.o ! 1277: make cmdopen.o ! 1278: make misc/cmdopen.c ! 1279: attr perm ! 1280: attr scan ! 1281: make misc/cmdlib.h ! 1282: attr perm ! 1283: attr scan ! 1284: attr impl ! 1285: prev /usr/include/errno.h ! 1286: prev include/stdio.h ! 1287: prev limits.h ! 1288: done misc/cmdlib.h ! 1289: done misc/cmdopen.c ! 1290: prev misc/cmdopen.c ! 1291: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/cmdopen.c ! 1292: done cmdopen.o ! 1293: make cmdclose.o ! 1294: make misc/cmdclose.c ! 1295: attr perm ! 1296: attr scan ! 1297: prev misc/cmdlib.h ! 1298: done misc/cmdclose.c ! 1299: prev misc/cmdclose.c ! 1300: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/cmdclose.c ! 1301: done cmdclose.o ! 1302: make cmdrun.o ! 1303: make misc/cmdrun.c ! 1304: attr perm ! 1305: attr scan ! 1306: done misc/cmdrun.c ! 1307: prev misc/cmdrun.c ! 1308: exec $CC $CCFLAGS -c misc/cmdrun.c ! 1309: done cmdrun.o ! 1310: make cmdwait.o ! 1311: make misc/cmdwait.c ! 1312: attr perm ! 1313: attr scan ! 1314: prev misc/cmdlib.h ! 1315: done misc/cmdwait.c ! 1316: prev misc/cmdwait.c ! 1317: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/cmdwait.c ! 1318: done cmdwait.o ! 1319: make cmdkill.o ! 1320: make misc/cmdkill.c ! 1321: attr perm ! 1322: attr scan ! 1323: prev misc/cmdlib.h ! 1324: done misc/cmdkill.c ! 1325: prev misc/cmdkill.c ! 1326: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/cmdkill.c ! 1327: done cmdkill.o ! 1328: make recomp.o ! 1329: make re/recomp.c ! 1330: attr perm ! 1331: attr scan ! 1332: make re/relib.h ! 1333: attr perm ! 1334: attr scan ! 1335: attr impl ! 1336: prev limits.h ! 1337: make include/re.h ! 1338: attr perm ! 1339: attr scan ! 1340: attr impl ! 1341: done include/re.h ! 1342: done re/relib.h ! 1343: done re/recomp.c ! 1344: prev re/recomp.c ! 1345: exec $CC $CCFLAGS -I. -Ire -Iinclude "$DEBUG" -c re/recomp.c ! 1346: done recomp.o ! 1347: make reerror.o ! 1348: make re/reerror.c ! 1349: attr perm ! 1350: attr scan ! 1351: prev include/error.h ! 1352: prev include/re.h ! 1353: done re/reerror.c ! 1354: prev re/reerror.c ! 1355: exec $CC $CCFLAGS -Iinclude -c re/reerror.c ! 1356: done reerror.o ! 1357: make reexec.o ! 1358: make re/reexec.c ! 1359: attr perm ! 1360: attr scan ! 1361: prev /usr/include/ctype.h ! 1362: prev re/relib.h ! 1363: done re/reexec.c ! 1364: prev re/reexec.c ! 1365: exec $CC $CCFLAGS -I. -Ire -Iinclude "$DEBUG" -c re/reexec.c ! 1366: done reexec.o ! 1367: make resub.o ! 1368: make re/resub.c ! 1369: attr perm ! 1370: attr scan ! 1371: prev /usr/include/ctype.h ! 1372: prev re/relib.h ! 1373: done re/resub.c ! 1374: prev re/resub.c ! 1375: exec $CC $CCFLAGS -I. -Ire -Iinclude -c re/resub.c ! 1376: done resub.o ! 1377: make tmdate.o ! 1378: make tm/tmdate.c ! 1379: attr perm ! 1380: attr scan ! 1381: prev /usr/include/ctype.h ! 1382: prev include/tm.h ! 1383: done tm/tmdate.c ! 1384: prev tm/tmdate.c ! 1385: exec $CC $CCFLAGS -Iinclude -c tm/tmdate.c ! 1386: done tmdate.o ! 1387: make tmfix.o ! 1388: make tm/tmfix.c ! 1389: attr perm ! 1390: attr scan ! 1391: prev include/tm.h ! 1392: done tm/tmfix.c ! 1393: prev tm/tmfix.c ! 1394: exec $CC $CCFLAGS -Iinclude -c tm/tmfix.c ! 1395: done tmfix.o ! 1396: make tmform.o ! 1397: make tm/tmform.c ! 1398: attr perm ! 1399: attr scan ! 1400: prev include/stdio.h ! 1401: prev include/tm.h ! 1402: done tm/tmform.c ! 1403: prev tm/tmform.c ! 1404: exec $CC $CCFLAGS -Iinclude -c tm/tmform.c ! 1405: done tmform.o ! 1406: make tmgoff.o ! 1407: make tm/tmgoff.c ! 1408: attr perm ! 1409: attr scan ! 1410: prev /usr/include/ctype.h ! 1411: prev include/tm.h ! 1412: done tm/tmgoff.c ! 1413: prev tm/tmgoff.c ! 1414: exec $CC $CCFLAGS -Iinclude -c tm/tmgoff.c ! 1415: done tmgoff.o ! 1416: make tminit.o ! 1417: make tm/tminit.c ! 1418: attr perm ! 1419: attr scan ! 1420: prev include/namval.h ! 1421: prev /usr/include/ctype.h ! 1422: prev include/tm.h ! 1423: done tm/tminit.c ! 1424: prev tm/tminit.c ! 1425: exec $CC $CCFLAGS -Iinclude -c tm/tminit.c ! 1426: done tminit.o ! 1427: make tmleap.o ! 1428: make tm/tmleap.c ! 1429: attr perm ! 1430: attr scan ! 1431: prev include/tm.h ! 1432: done tm/tmleap.c ! 1433: prev tm/tmleap.c ! 1434: exec $CC $CCFLAGS -Iinclude -c tm/tmleap.c ! 1435: done tmleap.o ! 1436: make tmlex.o ! 1437: make tm/tmlex.c ! 1438: attr perm ! 1439: attr scan ! 1440: prev /usr/include/ctype.h ! 1441: prev include/tm.h ! 1442: done tm/tmlex.c ! 1443: prev tm/tmlex.c ! 1444: exec $CC $CCFLAGS -Iinclude -c tm/tmlex.c ! 1445: done tmlex.o ! 1446: make tmmake.o ! 1447: make tm/tmmake.c ! 1448: attr perm ! 1449: attr scan ! 1450: prev include/tm.h ! 1451: done tm/tmmake.c ! 1452: prev tm/tmmake.c ! 1453: exec $CC $CCFLAGS -Iinclude -c tm/tmmake.c ! 1454: done tmmake.o ! 1455: make tmpoff.o ! 1456: make tm/tmpoff.c ! 1457: attr perm ! 1458: attr scan ! 1459: prev include/stdio.h ! 1460: prev include/tm.h ! 1461: done tm/tmpoff.c ! 1462: prev tm/tmpoff.c ! 1463: exec $CC $CCFLAGS -Iinclude -c tm/tmpoff.c ! 1464: done tmpoff.o ! 1465: make tmtime.o ! 1466: make tm/tmtime.c ! 1467: attr perm ! 1468: attr scan ! 1469: prev include/tm.h ! 1470: done tm/tmtime.c ! 1471: prev tm/tmtime.c ! 1472: exec $CC $CCFLAGS -Iinclude -c tm/tmtime.c ! 1473: done tmtime.o ! 1474: make tmtype.o ! 1475: make tm/tmtype.c ! 1476: attr perm ! 1477: attr scan ! 1478: prev include/tm.h ! 1479: done tm/tmtype.c ! 1480: prev tm/tmtype.c ! 1481: exec $CC $CCFLAGS -Iinclude -c tm/tmtype.c ! 1482: done tmtype.o ! 1483: make tmword.o ! 1484: make tm/tmword.c ! 1485: attr perm ! 1486: attr scan ! 1487: prev /usr/include/ctype.h ! 1488: prev include/tm.h ! 1489: done tm/tmword.c ! 1490: prev tm/tmword.c ! 1491: exec $CC $CCFLAGS -Iinclude -c tm/tmword.c ! 1492: done tmword.o ! 1493: make tmzone.o ! 1494: make tm/tmzone.c ! 1495: attr perm ! 1496: attr scan ! 1497: prev include/tm.h ! 1498: done tm/tmzone.c ! 1499: prev tm/tmzone.c ! 1500: exec $CC $CCFLAGS -Iinclude -c tm/tmzone.c ! 1501: done tmzone.o ! 1502: make vecargs.o ! 1503: make vec/vecargs.c ! 1504: attr perm ! 1505: attr scan ! 1506: prev /usr/include/ctype.h ! 1507: done vec/vecargs.c ! 1508: prev vec/vecargs.c ! 1509: exec $CC $CCFLAGS -c vec/vecargs.c ! 1510: done vecargs.o ! 1511: make vecfile.o ! 1512: make vec/vecfile.c ! 1513: attr perm ! 1514: attr scan ! 1515: prev /usr/include/sys/stat.h ! 1516: prev /usr/include/sys/types.h ! 1517: done vec/vecfile.c ! 1518: prev vec/vecfile.c ! 1519: exec $CC $CCFLAGS -c vec/vecfile.c ! 1520: done vecfile.o ! 1521: make vecfree.o ! 1522: make vec/vecfree.c ! 1523: attr perm ! 1524: attr scan ! 1525: done vec/vecfree.c ! 1526: prev vec/vecfree.c ! 1527: exec $CC $CCFLAGS -c vec/vecfree.c ! 1528: done vecfree.o ! 1529: make vecload.o ! 1530: make vec/vecload.c ! 1531: attr perm ! 1532: attr scan ! 1533: done vec/vecload.c ! 1534: prev vec/vecload.c ! 1535: exec $CC $CCFLAGS -c vec/vecload.c ! 1536: done vecload.o ! 1537: make vecstring.o ! 1538: make vec/vecstring.c ! 1539: attr perm ! 1540: attr scan ! 1541: done vec/vecstring.c ! 1542: prev vec/vecstring.c ! 1543: exec $CC $CCFLAGS -c vec/vecstring.c ! 1544: done vecstring.o ! 1545: make getsymlink.o ! 1546: make misc/getsymlink.c ! 1547: attr perm ! 1548: attr scan ! 1549: make misc/univlib.h ! 1550: attr perm ! 1551: attr scan ! 1552: attr impl ! 1553: prev /usr/include/errno.h ! 1554: prev limits.h ! 1555: make FEATURE/universe ! 1556: exec : generate local FEATURE information for universe ! 1557: .... set - ! 1558: .... if test ! -d FEATURE ! 1559: .... then rm -rf FEATURE ! 1560: .... mkdir FEATURE ! 1561: .... fi ! 1562: .... { ! 1563: .... echo '/* local info for universe */' ! 1564: .... case "universe" in ! 1565: .... *.*) f=universe ! 1566: .... i=universe ! 1567: .... ;; ! 1568: .... *) f=universe ! 1569: .... i=universe ! 1570: .... echo "#undef $i ! 1571: .... int $i;" > x.${!-$$}.c ! 1572: .... cmd=: ! 1573: .... opt= ! 1574: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1575: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1576: .... then opt=-Bstatic ! 1577: .... else cmd=x.${!-$$}.x ! 1578: .... fi ! 1579: .... fi ! 1580: .... echo "#undef $i ! 1581: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1582: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1583: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1584: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1585: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1586: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1587: .... fi ! 1588: .... fi ! 1589: .... ;; ! 1590: .... esac ! 1591: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1592: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1593: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1594: .... fi ! 1595: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1596: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1597: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1598: .... fi ! 1599: .... for j in / /usr/ ! 1600: .... do for i in bin etc ucb ! 1601: .... do if test -f $j$i/$f ! 1602: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1603: .... break 2 ! 1604: .... fi ! 1605: .... done ! 1606: .... done ! 1607: .... } > FEATURE/universe ! 1608: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1609: attr scan ! 1610: attr impl ! 1611: done FEATURE/universe ! 1612: done misc/univlib.h ! 1613: done misc/getsymlink.c ! 1614: prev misc/getsymlink.c ! 1615: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/getsymlink.c ! 1616: done getsymlink.o ! 1617: make putsymlink.o ! 1618: make misc/putsymlink.c ! 1619: attr perm ! 1620: attr scan ! 1621: prev misc/univlib.h ! 1622: done misc/putsymlink.c ! 1623: prev misc/putsymlink.c ! 1624: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/putsymlink.c ! 1625: done putsymlink.o ! 1626: make univdata.o ! 1627: make misc/univdata.c ! 1628: attr perm ! 1629: attr scan ! 1630: prev misc/univlib.h ! 1631: done misc/univdata.c ! 1632: prev misc/univdata.c ! 1633: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/univdata.c ! 1634: done univdata.o ! 1635: make getuniv.o ! 1636: make misc/getuniv.c ! 1637: attr perm ! 1638: attr scan ! 1639: prev misc/univlib.h ! 1640: done misc/getuniv.c ! 1641: prev misc/getuniv.c ! 1642: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/getuniv.c ! 1643: done getuniv.o ! 1644: make setuniv.o ! 1645: make misc/setuniv.c ! 1646: attr perm ! 1647: attr scan ! 1648: prev misc/univlib.h ! 1649: done misc/setuniv.c ! 1650: prev misc/setuniv.c ! 1651: exec $CC $CCFLAGS -I. -Imisc -Iinclude -c misc/setuniv.c ! 1652: done setuniv.o ! 1653: make winsize.o ! 1654: make port/winsize.c ! 1655: attr perm ! 1656: attr scan ! 1657: make FEATURE/jioctl ! 1658: exec : generate local FEATURE information for jioctl ! 1659: .... set - ! 1660: .... if test ! -d FEATURE ! 1661: .... then rm -rf FEATURE ! 1662: .... mkdir FEATURE ! 1663: .... fi ! 1664: .... { ! 1665: .... echo '/* local info for jioctl */' ! 1666: .... case "jioctl" in ! 1667: .... *.*) f=jioctl ! 1668: .... i=jioctl ! 1669: .... ;; ! 1670: .... *) f=jioctl ! 1671: .... i=jioctl ! 1672: .... echo "#undef $i ! 1673: .... int $i;" > x.${!-$$}.c ! 1674: .... cmd=: ! 1675: .... opt= ! 1676: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1677: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1678: .... then opt=-Bstatic ! 1679: .... else cmd=x.${!-$$}.x ! 1680: .... fi ! 1681: .... fi ! 1682: .... echo "#undef $i ! 1683: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1684: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1685: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1686: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1687: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1688: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1689: .... fi ! 1690: .... fi ! 1691: .... ;; ! 1692: .... esac ! 1693: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1694: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1695: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1696: .... fi ! 1697: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1698: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1699: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1700: .... fi ! 1701: .... for j in / /usr/ ! 1702: .... do for i in bin etc ucb ! 1703: .... do if test -f $j$i/$f ! 1704: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1705: .... break 2 ! 1706: .... fi ! 1707: .... done ! 1708: .... done ! 1709: .... } > FEATURE/jioctl ! 1710: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1711: attr scan ! 1712: attr impl ! 1713: done FEATURE/jioctl ! 1714: make ttyinfo.h ! 1715: prev mkhdr ! 1716: exec mkhdr ttyinfo "" "$CC" $CCFLAGS > ttyinfo.h ! 1717: attr scan ! 1718: attr impl ! 1719: done ttyinfo.h ! 1720: done port/winsize.c ! 1721: prev port/winsize.c ! 1722: exec $CC $CCFLAGS -I. -c port/winsize.c ! 1723: done winsize.o ! 1724: make fclex.o ! 1725: make port/fclex.c ! 1726: attr perm ! 1727: attr scan ! 1728: make /usr/include/fcntl.h ! 1729: attr perm ! 1730: attr scan ! 1731: attr impl ! 1732: done /usr/include/fcntl.h ! 1733: prev /usr/include/errno.h ! 1734: done port/fclex.c ! 1735: prev port/fclex.c ! 1736: exec $CC $CCFLAGS -c port/fclex.c ! 1737: done fclex.o ! 1738: make sigdata.o ! 1739: make port/sigdata.c ! 1740: attr perm ! 1741: attr scan ! 1742: make sigdata.h ! 1743: prev mkhdr ! 1744: prev genhdr ! 1745: exec mkhdr sigdata " genhdr" "$CC" $CCFLAGS > sigdata.h ! 1746: attr scan ! 1747: attr impl ! 1748: done sigdata.h ! 1749: done port/sigdata.c ! 1750: prev port/sigdata.c ! 1751: exec $CC $CCFLAGS -I. -c port/sigdata.c ! 1752: done sigdata.o ! 1753: make touch.o ! 1754: make port/touch.c ! 1755: attr perm ! 1756: attr scan ! 1757: make FEATURE/utime ! 1758: exec : generate local FEATURE information for utime ! 1759: .... set - ! 1760: .... if test ! -d FEATURE ! 1761: .... then rm -rf FEATURE ! 1762: .... mkdir FEATURE ! 1763: .... fi ! 1764: .... { ! 1765: .... echo '/* local info for utime */' ! 1766: .... case "utime" in ! 1767: .... *.*) f=utime ! 1768: .... i=utime ! 1769: .... ;; ! 1770: .... *) f=utime ! 1771: .... i=utime ! 1772: .... echo "#undef $i ! 1773: .... int $i;" > x.${!-$$}.c ! 1774: .... cmd=: ! 1775: .... opt= ! 1776: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1777: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1778: .... then opt=-Bstatic ! 1779: .... else cmd=x.${!-$$}.x ! 1780: .... fi ! 1781: .... fi ! 1782: .... echo "#undef $i ! 1783: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1784: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1785: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1786: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1787: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1788: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1789: .... fi ! 1790: .... fi ! 1791: .... ;; ! 1792: .... esac ! 1793: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1794: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1795: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1796: .... fi ! 1797: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1798: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1799: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1800: .... fi ! 1801: .... for j in / /usr/ ! 1802: .... do for i in bin etc ucb ! 1803: .... do if test -f $j$i/$f ! 1804: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1805: .... break 2 ! 1806: .... fi ! 1807: .... done ! 1808: .... done ! 1809: .... } > FEATURE/utime ! 1810: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1811: attr scan ! 1812: attr impl ! 1813: done FEATURE/utime ! 1814: prev /usr/include/errno.h ! 1815: prev /usr/include/sys/stat.h ! 1816: prev /usr/include/sys/types.h ! 1817: done port/touch.c ! 1818: prev port/touch.c ! 1819: exec $CC $CCFLAGS -I. -c port/touch.c ! 1820: done touch.o ! 1821: make lpstat.o ! 1822: make misc/lpstat.c ! 1823: attr perm ! 1824: attr scan ! 1825: prev /usr/include/sys/stat.h ! 1826: prev /usr/include/sys/types.h ! 1827: done misc/lpstat.c ! 1828: prev misc/lpstat.c ! 1829: exec $CC $CCFLAGS -c misc/lpstat.c ! 1830: done lpstat.o ! 1831: make memcmp.o ! 1832: make comp/memcmp.c ! 1833: attr perm ! 1834: attr scan ! 1835: make FEATURE/memcmp ! 1836: exec : generate local FEATURE information for memcmp ! 1837: .... set - ! 1838: .... if test ! -d FEATURE ! 1839: .... then rm -rf FEATURE ! 1840: .... mkdir FEATURE ! 1841: .... fi ! 1842: .... { ! 1843: .... echo '/* local info for memcmp */' ! 1844: .... case "memcmp" in ! 1845: .... *.*) f=memcmp ! 1846: .... i=memcmp ! 1847: .... ;; ! 1848: .... *) f=memcmp ! 1849: .... i=memcmp ! 1850: .... echo "#undef $i ! 1851: .... int $i;" > x.${!-$$}.c ! 1852: .... cmd=: ! 1853: .... opt= ! 1854: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1855: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1856: .... then opt=-Bstatic ! 1857: .... else cmd=x.${!-$$}.x ! 1858: .... fi ! 1859: .... fi ! 1860: .... echo "#undef $i ! 1861: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1862: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1863: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1864: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1865: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1866: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1867: .... fi ! 1868: .... fi ! 1869: .... ;; ! 1870: .... esac ! 1871: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1872: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1873: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1874: .... fi ! 1875: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1876: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1877: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1878: .... fi ! 1879: .... for j in / /usr/ ! 1880: .... do for i in bin etc ucb ! 1881: .... do if test -f $j$i/$f ! 1882: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1883: .... break 2 ! 1884: .... fi ! 1885: .... done ! 1886: .... done ! 1887: .... } > FEATURE/memcmp ! 1888: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1889: attr scan ! 1890: attr impl ! 1891: done FEATURE/memcmp ! 1892: done comp/memcmp.c ! 1893: prev comp/memcmp.c ! 1894: exec $CC $CCFLAGS -I. -c comp/memcmp.c ! 1895: done memcmp.o ! 1896: make memcpy.o ! 1897: make comp/memcpy.c ! 1898: attr perm ! 1899: attr scan ! 1900: make FEATURE/bcopy ! 1901: done FEATURE/bcopy ! 1902: make FEATURE/memcpy ! 1903: exec : generate local FEATURE information for memcpy ! 1904: .... set - ! 1905: .... if test ! -d FEATURE ! 1906: .... then rm -rf FEATURE ! 1907: .... mkdir FEATURE ! 1908: .... fi ! 1909: .... { ! 1910: .... echo '/* local info for memcpy */' ! 1911: .... case "memcpy" in ! 1912: .... *.*) f=memcpy ! 1913: .... i=memcpy ! 1914: .... ;; ! 1915: .... *) f=memcpy ! 1916: .... i=memcpy ! 1917: .... echo "#undef $i ! 1918: .... int $i;" > x.${!-$$}.c ! 1919: .... cmd=: ! 1920: .... opt= ! 1921: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1922: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1923: .... then opt=-Bstatic ! 1924: .... else cmd=x.${!-$$}.x ! 1925: .... fi ! 1926: .... fi ! 1927: .... echo "#undef $i ! 1928: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1929: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1930: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1931: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1932: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1933: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1934: .... fi ! 1935: .... fi ! 1936: .... ;; ! 1937: .... esac ! 1938: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 1939: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1940: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 1941: .... fi ! 1942: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 1943: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 1944: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 1945: .... fi ! 1946: .... for j in / /usr/ ! 1947: .... do for i in bin etc ucb ! 1948: .... do if test -f $j$i/$f ! 1949: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 1950: .... break 2 ! 1951: .... fi ! 1952: .... done ! 1953: .... done ! 1954: .... } > FEATURE/memcpy ! 1955: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 1956: attr scan ! 1957: attr impl ! 1958: done FEATURE/memcpy ! 1959: done comp/memcpy.c ! 1960: prev comp/memcpy.c ! 1961: exec $CC $CCFLAGS -I. -c comp/memcpy.c ! 1962: done memcpy.o ! 1963: make memdup.o ! 1964: make string/memdup.c ! 1965: attr perm ! 1966: attr scan ! 1967: make FEATURE/memdup ! 1968: exec : generate local FEATURE information for memdup ! 1969: .... set - ! 1970: .... if test ! -d FEATURE ! 1971: .... then rm -rf FEATURE ! 1972: .... mkdir FEATURE ! 1973: .... fi ! 1974: .... { ! 1975: .... echo '/* local info for memdup */' ! 1976: .... case "memdup" in ! 1977: .... *.*) f=memdup ! 1978: .... i=memdup ! 1979: .... ;; ! 1980: .... *) f=memdup ! 1981: .... i=memdup ! 1982: .... echo "#undef $i ! 1983: .... int $i;" > x.${!-$$}.c ! 1984: .... cmd=: ! 1985: .... opt= ! 1986: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1987: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 1988: .... then opt=-Bstatic ! 1989: .... else cmd=x.${!-$$}.x ! 1990: .... fi ! 1991: .... fi ! 1992: .... echo "#undef $i ! 1993: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 1994: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 1995: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 1996: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 1997: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 1998: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 1999: .... fi ! 2000: .... fi ! 2001: .... ;; ! 2002: .... esac ! 2003: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2004: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2005: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2006: .... fi ! 2007: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2008: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2009: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2010: .... fi ! 2011: .... for j in / /usr/ ! 2012: .... do for i in bin etc ucb ! 2013: .... do if test -f $j$i/$f ! 2014: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2015: .... break 2 ! 2016: .... fi ! 2017: .... done ! 2018: .... done ! 2019: .... } > FEATURE/memdup ! 2020: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2021: attr scan ! 2022: attr impl ! 2023: done FEATURE/memdup ! 2024: done string/memdup.c ! 2025: prev string/memdup.c ! 2026: exec $CC $CCFLAGS -I. -c string/memdup.c ! 2027: done memdup.o ! 2028: make memset.o ! 2029: make comp/memset.c ! 2030: attr perm ! 2031: attr scan ! 2032: make FEATURE/memset ! 2033: exec : generate local FEATURE information for memset ! 2034: .... set - ! 2035: .... if test ! -d FEATURE ! 2036: .... then rm -rf FEATURE ! 2037: .... mkdir FEATURE ! 2038: .... fi ! 2039: .... { ! 2040: .... echo '/* local info for memset */' ! 2041: .... case "memset" in ! 2042: .... *.*) f=memset ! 2043: .... i=memset ! 2044: .... ;; ! 2045: .... *) f=memset ! 2046: .... i=memset ! 2047: .... echo "#undef $i ! 2048: .... int $i;" > x.${!-$$}.c ! 2049: .... cmd=: ! 2050: .... opt= ! 2051: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2052: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2053: .... then opt=-Bstatic ! 2054: .... else cmd=x.${!-$$}.x ! 2055: .... fi ! 2056: .... fi ! 2057: .... echo "#undef $i ! 2058: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2059: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2060: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2061: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2062: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2063: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2064: .... fi ! 2065: .... fi ! 2066: .... ;; ! 2067: .... esac ! 2068: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2069: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2070: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2071: .... fi ! 2072: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2073: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2074: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2075: .... fi ! 2076: .... for j in / /usr/ ! 2077: .... do for i in bin etc ucb ! 2078: .... do if test -f $j$i/$f ! 2079: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2080: .... break 2 ! 2081: .... fi ! 2082: .... done ! 2083: .... done ! 2084: .... } > FEATURE/memset ! 2085: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2086: attr scan ! 2087: attr impl ! 2088: done FEATURE/memset ! 2089: done comp/memset.c ! 2090: prev comp/memset.c ! 2091: exec $CC $CCFLAGS -I. -c comp/memset.c ! 2092: done memset.o ! 2093: make mkdir.o ! 2094: make comp/mkdir.c ! 2095: attr perm ! 2096: attr scan ! 2097: make FEATURE/mkdir ! 2098: exec : generate local FEATURE information for mkdir ! 2099: .... set - ! 2100: .... if test ! -d FEATURE ! 2101: .... then rm -rf FEATURE ! 2102: .... mkdir FEATURE ! 2103: .... fi ! 2104: .... { ! 2105: .... echo '/* local info for mkdir */' ! 2106: .... case "mkdir" in ! 2107: .... *.*) f=mkdir ! 2108: .... i=mkdir ! 2109: .... ;; ! 2110: .... *) f=mkdir ! 2111: .... i=mkdir ! 2112: .... echo "#undef $i ! 2113: .... int $i;" > x.${!-$$}.c ! 2114: .... cmd=: ! 2115: .... opt= ! 2116: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2117: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2118: .... then opt=-Bstatic ! 2119: .... else cmd=x.${!-$$}.x ! 2120: .... fi ! 2121: .... fi ! 2122: .... echo "#undef $i ! 2123: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2124: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2125: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2126: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2127: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2128: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2129: .... fi ! 2130: .... fi ! 2131: .... ;; ! 2132: .... esac ! 2133: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2134: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2135: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2136: .... fi ! 2137: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2138: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2139: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2140: .... fi ! 2141: .... for j in / /usr/ ! 2142: .... do for i in bin etc ucb ! 2143: .... do if test -f $j$i/$f ! 2144: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2145: .... break 2 ! 2146: .... fi ! 2147: .... done ! 2148: .... done ! 2149: .... } > FEATURE/mkdir ! 2150: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2151: attr scan ! 2152: attr impl ! 2153: done FEATURE/mkdir ! 2154: done comp/mkdir.c ! 2155: prev comp/mkdir.c ! 2156: exec $CC $CCFLAGS -I. -c comp/mkdir.c ! 2157: done mkdir.o ! 2158: make rmdir.o ! 2159: make comp/rmdir.c ! 2160: attr perm ! 2161: attr scan ! 2162: make FEATURE/rmdir ! 2163: exec : generate local FEATURE information for rmdir ! 2164: .... set - ! 2165: .... if test ! -d FEATURE ! 2166: .... then rm -rf FEATURE ! 2167: .... mkdir FEATURE ! 2168: .... fi ! 2169: .... { ! 2170: .... echo '/* local info for rmdir */' ! 2171: .... case "rmdir" in ! 2172: .... *.*) f=rmdir ! 2173: .... i=rmdir ! 2174: .... ;; ! 2175: .... *) f=rmdir ! 2176: .... i=rmdir ! 2177: .... echo "#undef $i ! 2178: .... int $i;" > x.${!-$$}.c ! 2179: .... cmd=: ! 2180: .... opt= ! 2181: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2182: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2183: .... then opt=-Bstatic ! 2184: .... else cmd=x.${!-$$}.x ! 2185: .... fi ! 2186: .... fi ! 2187: .... echo "#undef $i ! 2188: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2189: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2190: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2191: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2192: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2193: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2194: .... fi ! 2195: .... fi ! 2196: .... ;; ! 2197: .... esac ! 2198: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2199: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2200: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2201: .... fi ! 2202: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2203: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2204: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2205: .... fi ! 2206: .... for j in / /usr/ ! 2207: .... do for i in bin etc ucb ! 2208: .... do if test -f $j$i/$f ! 2209: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2210: .... break 2 ! 2211: .... fi ! 2212: .... done ! 2213: .... done ! 2214: .... } > FEATURE/rmdir ! 2215: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2216: attr scan ! 2217: attr impl ! 2218: done FEATURE/rmdir ! 2219: done comp/rmdir.c ! 2220: prev comp/rmdir.c ! 2221: exec $CC $CCFLAGS -I. -c comp/rmdir.c ! 2222: done rmdir.o ! 2223: make remove.o ! 2224: make comp/remove.c ! 2225: attr perm ! 2226: attr scan ! 2227: make FEATURE/remove ! 2228: exec : generate local FEATURE information for remove ! 2229: .... set - ! 2230: .... if test ! -d FEATURE ! 2231: .... then rm -rf FEATURE ! 2232: .... mkdir FEATURE ! 2233: .... fi ! 2234: .... { ! 2235: .... echo '/* local info for remove */' ! 2236: .... case "remove" in ! 2237: .... *.*) f=remove ! 2238: .... i=remove ! 2239: .... ;; ! 2240: .... *) f=remove ! 2241: .... i=remove ! 2242: .... echo "#undef $i ! 2243: .... int $i;" > x.${!-$$}.c ! 2244: .... cmd=: ! 2245: .... opt= ! 2246: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2247: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2248: .... then opt=-Bstatic ! 2249: .... else cmd=x.${!-$$}.x ! 2250: .... fi ! 2251: .... fi ! 2252: .... echo "#undef $i ! 2253: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2254: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2255: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2256: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2257: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2258: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2259: .... fi ! 2260: .... fi ! 2261: .... ;; ! 2262: .... esac ! 2263: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2264: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2265: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2266: .... fi ! 2267: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2268: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2269: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2270: .... fi ! 2271: .... for j in / /usr/ ! 2272: .... do for i in bin etc ucb ! 2273: .... do if test -f $j$i/$f ! 2274: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2275: .... break 2 ! 2276: .... fi ! 2277: .... done ! 2278: .... done ! 2279: .... } > FEATURE/remove ! 2280: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2281: attr scan ! 2282: attr impl ! 2283: done FEATURE/remove ! 2284: done comp/remove.c ! 2285: prev comp/remove.c ! 2286: exec $CC $CCFLAGS -I. -c comp/remove.c ! 2287: done remove.o ! 2288: make rename.o ! 2289: make comp/rename.c ! 2290: attr perm ! 2291: attr scan ! 2292: make FEATURE/rename ! 2293: exec : generate local FEATURE information for rename ! 2294: .... set - ! 2295: .... if test ! -d FEATURE ! 2296: .... then rm -rf FEATURE ! 2297: .... mkdir FEATURE ! 2298: .... fi ! 2299: .... { ! 2300: .... echo '/* local info for rename */' ! 2301: .... case "rename" in ! 2302: .... *.*) f=rename ! 2303: .... i=rename ! 2304: .... ;; ! 2305: .... *) f=rename ! 2306: .... i=rename ! 2307: .... echo "#undef $i ! 2308: .... int $i;" > x.${!-$$}.c ! 2309: .... cmd=: ! 2310: .... opt= ! 2311: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2312: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2313: .... then opt=-Bstatic ! 2314: .... else cmd=x.${!-$$}.x ! 2315: .... fi ! 2316: .... fi ! 2317: .... echo "#undef $i ! 2318: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2319: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2320: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2321: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2322: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2323: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2324: .... fi ! 2325: .... fi ! 2326: .... ;; ! 2327: .... esac ! 2328: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2329: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2330: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2331: .... fi ! 2332: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2333: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2334: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2335: .... fi ! 2336: .... for j in / /usr/ ! 2337: .... do for i in bin etc ucb ! 2338: .... do if test -f $j$i/$f ! 2339: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2340: .... break 2 ! 2341: .... fi ! 2342: .... done ! 2343: .... done ! 2344: .... } > FEATURE/rename ! 2345: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2346: attr scan ! 2347: attr impl ! 2348: done FEATURE/rename ! 2349: done comp/rename.c ! 2350: prev comp/rename.c ! 2351: exec $CC $CCFLAGS -I. -c comp/rename.c ! 2352: done rename.o ! 2353: make link.o ! 2354: make comp/link.c ! 2355: attr perm ! 2356: attr scan ! 2357: make FEATURE/link ! 2358: exec : generate local FEATURE information for link ! 2359: .... set - ! 2360: .... if test ! -d FEATURE ! 2361: .... then rm -rf FEATURE ! 2362: .... mkdir FEATURE ! 2363: .... fi ! 2364: .... { ! 2365: .... echo '/* local info for link */' ! 2366: .... case "link" in ! 2367: .... *.*) f=link ! 2368: .... i=link ! 2369: .... ;; ! 2370: .... *) f=link ! 2371: .... i=link ! 2372: .... echo "#undef $i ! 2373: .... int $i;" > x.${!-$$}.c ! 2374: .... cmd=: ! 2375: .... opt= ! 2376: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2377: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2378: .... then opt=-Bstatic ! 2379: .... else cmd=x.${!-$$}.x ! 2380: .... fi ! 2381: .... fi ! 2382: .... echo "#undef $i ! 2383: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2384: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2385: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2386: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2387: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2388: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2389: .... fi ! 2390: .... fi ! 2391: .... ;; ! 2392: .... esac ! 2393: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2394: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2395: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2396: .... fi ! 2397: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2398: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2399: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2400: .... fi ! 2401: .... for j in / /usr/ ! 2402: .... do for i in bin etc ucb ! 2403: .... do if test -f $j$i/$f ! 2404: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2405: .... break 2 ! 2406: .... fi ! 2407: .... done ! 2408: .... done ! 2409: .... } > FEATURE/link ! 2410: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2411: attr scan ! 2412: attr impl ! 2413: done FEATURE/link ! 2414: done comp/link.c ! 2415: prev comp/link.c ! 2416: exec $CC $CCFLAGS -I. -c comp/link.c ! 2417: done link.o ! 2418: make unlink.o ! 2419: make comp/unlink.c ! 2420: attr perm ! 2421: attr scan ! 2422: make FEATURE/unlink ! 2423: exec : generate local FEATURE information for unlink ! 2424: .... set - ! 2425: .... if test ! -d FEATURE ! 2426: .... then rm -rf FEATURE ! 2427: .... mkdir FEATURE ! 2428: .... fi ! 2429: .... { ! 2430: .... echo '/* local info for unlink */' ! 2431: .... case "unlink" in ! 2432: .... *.*) f=unlink ! 2433: .... i=unlink ! 2434: .... ;; ! 2435: .... *) f=unlink ! 2436: .... i=unlink ! 2437: .... echo "#undef $i ! 2438: .... int $i;" > x.${!-$$}.c ! 2439: .... cmd=: ! 2440: .... opt= ! 2441: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2442: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2443: .... then opt=-Bstatic ! 2444: .... else cmd=x.${!-$$}.x ! 2445: .... fi ! 2446: .... fi ! 2447: .... echo "#undef $i ! 2448: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2449: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2450: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2451: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2452: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2453: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2454: .... fi ! 2455: .... fi ! 2456: .... ;; ! 2457: .... esac ! 2458: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2459: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2460: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2461: .... fi ! 2462: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2463: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2464: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2465: .... fi ! 2466: .... for j in / /usr/ ! 2467: .... do for i in bin etc ucb ! 2468: .... do if test -f $j$i/$f ! 2469: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2470: .... break 2 ! 2471: .... fi ! 2472: .... done ! 2473: .... done ! 2474: .... } > FEATURE/unlink ! 2475: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2476: attr scan ! 2477: attr impl ! 2478: done FEATURE/unlink ! 2479: done comp/unlink.c ! 2480: prev comp/unlink.c ! 2481: exec $CC $CCFLAGS -I. -c comp/unlink.c ! 2482: done unlink.o ! 2483: make strtok.o ! 2484: make comp/strtok.c ! 2485: attr perm ! 2486: attr scan ! 2487: make FEATURE/strtok ! 2488: exec : generate local FEATURE information for strtok ! 2489: .... set - ! 2490: .... if test ! -d FEATURE ! 2491: .... then rm -rf FEATURE ! 2492: .... mkdir FEATURE ! 2493: .... fi ! 2494: .... { ! 2495: .... echo '/* local info for strtok */' ! 2496: .... case "strtok" in ! 2497: .... *.*) f=strtok ! 2498: .... i=strtok ! 2499: .... ;; ! 2500: .... *) f=strtok ! 2501: .... i=strtok ! 2502: .... echo "#undef $i ! 2503: .... int $i;" > x.${!-$$}.c ! 2504: .... cmd=: ! 2505: .... opt= ! 2506: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2507: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2508: .... then opt=-Bstatic ! 2509: .... else cmd=x.${!-$$}.x ! 2510: .... fi ! 2511: .... fi ! 2512: .... echo "#undef $i ! 2513: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2514: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2515: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2516: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2517: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2518: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2519: .... fi ! 2520: .... fi ! 2521: .... ;; ! 2522: .... esac ! 2523: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2524: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2525: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2526: .... fi ! 2527: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2528: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2529: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2530: .... fi ! 2531: .... for j in / /usr/ ! 2532: .... do for i in bin etc ucb ! 2533: .... do if test -f $j$i/$f ! 2534: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2535: .... break 2 ! 2536: .... fi ! 2537: .... done ! 2538: .... done ! 2539: .... } > FEATURE/strtok ! 2540: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2541: attr scan ! 2542: attr impl ! 2543: done FEATURE/strtok ! 2544: done comp/strtok.c ! 2545: prev comp/strtok.c ! 2546: exec $CC $CCFLAGS -I. -c comp/strtok.c ! 2547: done strtok.o ! 2548: make strspn.o ! 2549: make comp/strspn.c ! 2550: attr perm ! 2551: attr scan ! 2552: make FEATURE/strspn ! 2553: exec : generate local FEATURE information for strspn ! 2554: .... set - ! 2555: .... if test ! -d FEATURE ! 2556: .... then rm -rf FEATURE ! 2557: .... mkdir FEATURE ! 2558: .... fi ! 2559: .... { ! 2560: .... echo '/* local info for strspn */' ! 2561: .... case "strspn" in ! 2562: .... *.*) f=strspn ! 2563: .... i=strspn ! 2564: .... ;; ! 2565: .... *) f=strspn ! 2566: .... i=strspn ! 2567: .... echo "#undef $i ! 2568: .... int $i;" > x.${!-$$}.c ! 2569: .... cmd=: ! 2570: .... opt= ! 2571: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2572: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2573: .... then opt=-Bstatic ! 2574: .... else cmd=x.${!-$$}.x ! 2575: .... fi ! 2576: .... fi ! 2577: .... echo "#undef $i ! 2578: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2579: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2580: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2581: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2582: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2583: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2584: .... fi ! 2585: .... fi ! 2586: .... ;; ! 2587: .... esac ! 2588: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2589: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2590: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2591: .... fi ! 2592: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2593: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2594: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2595: .... fi ! 2596: .... for j in / /usr/ ! 2597: .... do for i in bin etc ucb ! 2598: .... do if test -f $j$i/$f ! 2599: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2600: .... break 2 ! 2601: .... fi ! 2602: .... done ! 2603: .... done ! 2604: .... } > FEATURE/strspn ! 2605: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2606: attr scan ! 2607: attr impl ! 2608: done FEATURE/strspn ! 2609: done comp/strspn.c ! 2610: prev comp/strspn.c ! 2611: exec $CC $CCFLAGS -I. -c comp/strspn.c ! 2612: done strspn.o ! 2613: make strpbrk.o ! 2614: make comp/strpbrk.c ! 2615: attr perm ! 2616: attr scan ! 2617: make FEATURE/strpbrk ! 2618: exec : generate local FEATURE information for strpbrk ! 2619: .... set - ! 2620: .... if test ! -d FEATURE ! 2621: .... then rm -rf FEATURE ! 2622: .... mkdir FEATURE ! 2623: .... fi ! 2624: .... { ! 2625: .... echo '/* local info for strpbrk */' ! 2626: .... case "strpbrk" in ! 2627: .... *.*) f=strpbrk ! 2628: .... i=strpbrk ! 2629: .... ;; ! 2630: .... *) f=strpbrk ! 2631: .... i=strpbrk ! 2632: .... echo "#undef $i ! 2633: .... int $i;" > x.${!-$$}.c ! 2634: .... cmd=: ! 2635: .... opt= ! 2636: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2637: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2638: .... then opt=-Bstatic ! 2639: .... else cmd=x.${!-$$}.x ! 2640: .... fi ! 2641: .... fi ! 2642: .... echo "#undef $i ! 2643: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2644: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2645: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2646: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2647: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2648: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2649: .... fi ! 2650: .... fi ! 2651: .... ;; ! 2652: .... esac ! 2653: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2654: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2655: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2656: .... fi ! 2657: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2658: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2659: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2660: .... fi ! 2661: .... for j in / /usr/ ! 2662: .... do for i in bin etc ucb ! 2663: .... do if test -f $j$i/$f ! 2664: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2665: .... break 2 ! 2666: .... fi ! 2667: .... done ! 2668: .... done ! 2669: .... } > FEATURE/strpbrk ! 2670: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2671: attr scan ! 2672: attr impl ! 2673: done FEATURE/strpbrk ! 2674: done comp/strpbrk.c ! 2675: prev comp/strpbrk.c ! 2676: exec $CC $CCFLAGS -I. -c comp/strpbrk.c ! 2677: done strpbrk.o ! 2678: make strdup.o ! 2679: make string/strdup.c ! 2680: attr perm ! 2681: attr scan ! 2682: make FEATURE/strdup ! 2683: exec : generate local FEATURE information for strdup ! 2684: .... set - ! 2685: .... if test ! -d FEATURE ! 2686: .... then rm -rf FEATURE ! 2687: .... mkdir FEATURE ! 2688: .... fi ! 2689: .... { ! 2690: .... echo '/* local info for strdup */' ! 2691: .... case "strdup" in ! 2692: .... *.*) f=strdup ! 2693: .... i=strdup ! 2694: .... ;; ! 2695: .... *) f=strdup ! 2696: .... i=strdup ! 2697: .... echo "#undef $i ! 2698: .... int $i;" > x.${!-$$}.c ! 2699: .... cmd=: ! 2700: .... opt= ! 2701: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2702: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2703: .... then opt=-Bstatic ! 2704: .... else cmd=x.${!-$$}.x ! 2705: .... fi ! 2706: .... fi ! 2707: .... echo "#undef $i ! 2708: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2709: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2710: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2711: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2712: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2713: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2714: .... fi ! 2715: .... fi ! 2716: .... ;; ! 2717: .... esac ! 2718: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2719: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2720: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2721: .... fi ! 2722: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2723: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2724: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2725: .... fi ! 2726: .... for j in / /usr/ ! 2727: .... do for i in bin etc ucb ! 2728: .... do if test -f $j$i/$f ! 2729: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2730: .... break 2 ! 2731: .... fi ! 2732: .... done ! 2733: .... done ! 2734: .... } > FEATURE/strdup ! 2735: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2736: attr scan ! 2737: attr impl ! 2738: done FEATURE/strdup ! 2739: done string/strdup.c ! 2740: prev string/strdup.c ! 2741: exec $CC $CCFLAGS -I. -c string/strdup.c ! 2742: done strdup.o ! 2743: make strchr.o ! 2744: make comp/strchr.c ! 2745: attr perm ! 2746: attr scan ! 2747: make FEATURE/index ! 2748: exec : generate local FEATURE information for index ! 2749: .... set - ! 2750: .... if test ! -d FEATURE ! 2751: .... then rm -rf FEATURE ! 2752: .... mkdir FEATURE ! 2753: .... fi ! 2754: .... { ! 2755: .... echo '/* local info for index */' ! 2756: .... case "index" in ! 2757: .... *.*) f=index ! 2758: .... i=index ! 2759: .... ;; ! 2760: .... *) f=index ! 2761: .... i=index ! 2762: .... echo "#undef $i ! 2763: .... int $i;" > x.${!-$$}.c ! 2764: .... cmd=: ! 2765: .... opt= ! 2766: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2767: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2768: .... then opt=-Bstatic ! 2769: .... else cmd=x.${!-$$}.x ! 2770: .... fi ! 2771: .... fi ! 2772: .... echo "#undef $i ! 2773: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2774: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2775: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2776: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2777: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2778: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2779: .... fi ! 2780: .... fi ! 2781: .... ;; ! 2782: .... esac ! 2783: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2784: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2785: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2786: .... fi ! 2787: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2788: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2789: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2790: .... fi ! 2791: .... for j in / /usr/ ! 2792: .... do for i in bin etc ucb ! 2793: .... do if test -f $j$i/$f ! 2794: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2795: .... break 2 ! 2796: .... fi ! 2797: .... done ! 2798: .... done ! 2799: .... } > FEATURE/index ! 2800: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2801: attr scan ! 2802: attr impl ! 2803: done FEATURE/index ! 2804: make FEATURE/strchr ! 2805: exec : generate local FEATURE information for strchr ! 2806: .... set - ! 2807: .... if test ! -d FEATURE ! 2808: .... then rm -rf FEATURE ! 2809: .... mkdir FEATURE ! 2810: .... fi ! 2811: .... { ! 2812: .... echo '/* local info for strchr */' ! 2813: .... case "strchr" in ! 2814: .... *.*) f=strchr ! 2815: .... i=strchr ! 2816: .... ;; ! 2817: .... *) f=strchr ! 2818: .... i=strchr ! 2819: .... echo "#undef $i ! 2820: .... int $i;" > x.${!-$$}.c ! 2821: .... cmd=: ! 2822: .... opt= ! 2823: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2824: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2825: .... then opt=-Bstatic ! 2826: .... else cmd=x.${!-$$}.x ! 2827: .... fi ! 2828: .... fi ! 2829: .... echo "#undef $i ! 2830: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2831: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2832: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2833: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2834: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2835: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2836: .... fi ! 2837: .... fi ! 2838: .... ;; ! 2839: .... esac ! 2840: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2841: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2842: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2843: .... fi ! 2844: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2845: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2846: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2847: .... fi ! 2848: .... for j in / /usr/ ! 2849: .... do for i in bin etc ucb ! 2850: .... do if test -f $j$i/$f ! 2851: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2852: .... break 2 ! 2853: .... fi ! 2854: .... done ! 2855: .... done ! 2856: .... } > FEATURE/strchr ! 2857: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2858: attr scan ! 2859: attr impl ! 2860: done FEATURE/strchr ! 2861: done comp/strchr.c ! 2862: prev comp/strchr.c ! 2863: exec $CC $CCFLAGS -I. -c comp/strchr.c ! 2864: done strchr.o ! 2865: make strrchr.o ! 2866: make comp/strrchr.c ! 2867: attr perm ! 2868: attr scan ! 2869: make FEATURE/rindex ! 2870: exec : generate local FEATURE information for rindex ! 2871: .... set - ! 2872: .... if test ! -d FEATURE ! 2873: .... then rm -rf FEATURE ! 2874: .... mkdir FEATURE ! 2875: .... fi ! 2876: .... { ! 2877: .... echo '/* local info for rindex */' ! 2878: .... case "rindex" in ! 2879: .... *.*) f=rindex ! 2880: .... i=rindex ! 2881: .... ;; ! 2882: .... *) f=rindex ! 2883: .... i=rindex ! 2884: .... echo "#undef $i ! 2885: .... int $i;" > x.${!-$$}.c ! 2886: .... cmd=: ! 2887: .... opt= ! 2888: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2889: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2890: .... then opt=-Bstatic ! 2891: .... else cmd=x.${!-$$}.x ! 2892: .... fi ! 2893: .... fi ! 2894: .... echo "#undef $i ! 2895: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2896: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2897: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2898: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2899: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2900: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2901: .... fi ! 2902: .... fi ! 2903: .... ;; ! 2904: .... esac ! 2905: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2906: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2907: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2908: .... fi ! 2909: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2910: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2911: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2912: .... fi ! 2913: .... for j in / /usr/ ! 2914: .... do for i in bin etc ucb ! 2915: .... do if test -f $j$i/$f ! 2916: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2917: .... break 2 ! 2918: .... fi ! 2919: .... done ! 2920: .... done ! 2921: .... } > FEATURE/rindex ! 2922: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2923: attr scan ! 2924: attr impl ! 2925: done FEATURE/rindex ! 2926: make FEATURE/strrchr ! 2927: exec : generate local FEATURE information for strrchr ! 2928: .... set - ! 2929: .... if test ! -d FEATURE ! 2930: .... then rm -rf FEATURE ! 2931: .... mkdir FEATURE ! 2932: .... fi ! 2933: .... { ! 2934: .... echo '/* local info for strrchr */' ! 2935: .... case "strrchr" in ! 2936: .... *.*) f=strrchr ! 2937: .... i=strrchr ! 2938: .... ;; ! 2939: .... *) f=strrchr ! 2940: .... i=strrchr ! 2941: .... echo "#undef $i ! 2942: .... int $i;" > x.${!-$$}.c ! 2943: .... cmd=: ! 2944: .... opt= ! 2945: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2946: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 2947: .... then opt=-Bstatic ! 2948: .... else cmd=x.${!-$$}.x ! 2949: .... fi ! 2950: .... fi ! 2951: .... echo "#undef $i ! 2952: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 2953: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 2954: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 2955: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 2956: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 2957: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 2958: .... fi ! 2959: .... fi ! 2960: .... ;; ! 2961: .... esac ! 2962: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 2963: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2964: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 2965: .... fi ! 2966: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 2967: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 2968: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 2969: .... fi ! 2970: .... for j in / /usr/ ! 2971: .... do for i in bin etc ucb ! 2972: .... do if test -f $j$i/$f ! 2973: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 2974: .... break 2 ! 2975: .... fi ! 2976: .... done ! 2977: .... done ! 2978: .... } > FEATURE/strrchr ! 2979: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 2980: attr scan ! 2981: attr impl ! 2982: done FEATURE/strrchr ! 2983: done comp/strrchr.c ! 2984: prev comp/strrchr.c ! 2985: exec $CC $CCFLAGS -I. -c comp/strrchr.c ! 2986: done strrchr.o ! 2987: make strtod.o ! 2988: make comp/strtod.c ! 2989: attr perm ! 2990: attr scan ! 2991: make FEATURE/strtod ! 2992: exec : generate local FEATURE information for strtod ! 2993: .... set - ! 2994: .... if test ! -d FEATURE ! 2995: .... then rm -rf FEATURE ! 2996: .... mkdir FEATURE ! 2997: .... fi ! 2998: .... { ! 2999: .... echo '/* local info for strtod */' ! 3000: .... case "strtod" in ! 3001: .... *.*) f=strtod ! 3002: .... i=strtod ! 3003: .... ;; ! 3004: .... *) f=strtod ! 3005: .... i=strtod ! 3006: .... echo "#undef $i ! 3007: .... int $i;" > x.${!-$$}.c ! 3008: .... cmd=: ! 3009: .... opt= ! 3010: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3011: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3012: .... then opt=-Bstatic ! 3013: .... else cmd=x.${!-$$}.x ! 3014: .... fi ! 3015: .... fi ! 3016: .... echo "#undef $i ! 3017: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3018: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3019: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3020: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3021: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3022: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3023: .... fi ! 3024: .... fi ! 3025: .... ;; ! 3026: .... esac ! 3027: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3028: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3029: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3030: .... fi ! 3031: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3032: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3033: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3034: .... fi ! 3035: .... for j in / /usr/ ! 3036: .... do for i in bin etc ucb ! 3037: .... do if test -f $j$i/$f ! 3038: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3039: .... break 2 ! 3040: .... fi ! 3041: .... done ! 3042: .... done ! 3043: .... } > FEATURE/strtod ! 3044: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3045: attr scan ! 3046: attr impl ! 3047: done FEATURE/strtod ! 3048: done comp/strtod.c ! 3049: prev comp/strtod.c ! 3050: exec $CC $CCFLAGS -I. -c comp/strtod.c ! 3051: done strtod.o ! 3052: make strtol.o ! 3053: make comp/strtol.c ! 3054: attr perm ! 3055: attr scan ! 3056: make FEATURE/strtol ! 3057: exec : generate local FEATURE information for strtol ! 3058: .... set - ! 3059: .... if test ! -d FEATURE ! 3060: .... then rm -rf FEATURE ! 3061: .... mkdir FEATURE ! 3062: .... fi ! 3063: .... { ! 3064: .... echo '/* local info for strtol */' ! 3065: .... case "strtol" in ! 3066: .... *.*) f=strtol ! 3067: .... i=strtol ! 3068: .... ;; ! 3069: .... *) f=strtol ! 3070: .... i=strtol ! 3071: .... echo "#undef $i ! 3072: .... int $i;" > x.${!-$$}.c ! 3073: .... cmd=: ! 3074: .... opt= ! 3075: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3076: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3077: .... then opt=-Bstatic ! 3078: .... else cmd=x.${!-$$}.x ! 3079: .... fi ! 3080: .... fi ! 3081: .... echo "#undef $i ! 3082: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3083: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3084: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3085: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3086: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3087: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3088: .... fi ! 3089: .... fi ! 3090: .... ;; ! 3091: .... esac ! 3092: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3093: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3094: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3095: .... fi ! 3096: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3097: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3098: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3099: .... fi ! 3100: .... for j in / /usr/ ! 3101: .... do for i in bin etc ucb ! 3102: .... do if test -f $j$i/$f ! 3103: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3104: .... break 2 ! 3105: .... fi ! 3106: .... done ! 3107: .... done ! 3108: .... } > FEATURE/strtol ! 3109: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3110: attr scan ! 3111: attr impl ! 3112: done FEATURE/strtol ! 3113: done comp/strtol.c ! 3114: prev comp/strtol.c ! 3115: exec $CC $CCFLAGS -I. -c comp/strtol.c ! 3116: done strtol.o ! 3117: make strton.o ! 3118: make string/strton.c ! 3119: attr perm ! 3120: attr scan ! 3121: done string/strton.c ! 3122: prev string/strton.c ! 3123: exec $CC $CCFLAGS -c string/strton.c ! 3124: done strton.o ! 3125: make sigsetmask.o ! 3126: make comp/sigsetmask.c ! 3127: attr perm ! 3128: attr scan ! 3129: prev FEATURE/sigsetmask ! 3130: done comp/sigsetmask.c ! 3131: prev comp/sigsetmask.c ! 3132: exec $CC $CCFLAGS -I. -c comp/sigsetmask.c ! 3133: done sigsetmask.o ! 3134: make mktemp.o ! 3135: make comp/mktemp.c ! 3136: attr perm ! 3137: attr scan ! 3138: make FEATURE/mktemp ! 3139: exec : generate local FEATURE information for mktemp ! 3140: .... set - ! 3141: .... if test ! -d FEATURE ! 3142: .... then rm -rf FEATURE ! 3143: .... mkdir FEATURE ! 3144: .... fi ! 3145: .... { ! 3146: .... echo '/* local info for mktemp */' ! 3147: .... case "mktemp" in ! 3148: .... *.*) f=mktemp ! 3149: .... i=mktemp ! 3150: .... ;; ! 3151: .... *) f=mktemp ! 3152: .... i=mktemp ! 3153: .... echo "#undef $i ! 3154: .... int $i;" > x.${!-$$}.c ! 3155: .... cmd=: ! 3156: .... opt= ! 3157: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3158: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3159: .... then opt=-Bstatic ! 3160: .... else cmd=x.${!-$$}.x ! 3161: .... fi ! 3162: .... fi ! 3163: .... echo "#undef $i ! 3164: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3165: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3166: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3167: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3168: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3169: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3170: .... fi ! 3171: .... fi ! 3172: .... ;; ! 3173: .... esac ! 3174: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3175: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3176: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3177: .... fi ! 3178: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3179: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3180: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3181: .... fi ! 3182: .... for j in / /usr/ ! 3183: .... do for i in bin etc ucb ! 3184: .... do if test -f $j$i/$f ! 3185: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3186: .... break 2 ! 3187: .... fi ! 3188: .... done ! 3189: .... done ! 3190: .... } > FEATURE/mktemp ! 3191: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3192: attr scan ! 3193: attr impl ! 3194: done FEATURE/mktemp ! 3195: done comp/mktemp.c ! 3196: prev comp/mktemp.c ! 3197: exec $CC $CCFLAGS -I. -c comp/mktemp.c ! 3198: done mktemp.o ! 3199: make tmpnam.o ! 3200: make comp/tmpnam.c ! 3201: attr perm ! 3202: attr scan ! 3203: make FEATURE/tmpnam ! 3204: exec : generate local FEATURE information for tmpnam ! 3205: .... set - ! 3206: .... if test ! -d FEATURE ! 3207: .... then rm -rf FEATURE ! 3208: .... mkdir FEATURE ! 3209: .... fi ! 3210: .... { ! 3211: .... echo '/* local info for tmpnam */' ! 3212: .... case "tmpnam" in ! 3213: .... *.*) f=tmpnam ! 3214: .... i=tmpnam ! 3215: .... ;; ! 3216: .... *) f=tmpnam ! 3217: .... i=tmpnam ! 3218: .... echo "#undef $i ! 3219: .... int $i;" > x.${!-$$}.c ! 3220: .... cmd=: ! 3221: .... opt= ! 3222: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3223: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3224: .... then opt=-Bstatic ! 3225: .... else cmd=x.${!-$$}.x ! 3226: .... fi ! 3227: .... fi ! 3228: .... echo "#undef $i ! 3229: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3230: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3231: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3232: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3233: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3234: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3235: .... fi ! 3236: .... fi ! 3237: .... ;; ! 3238: .... esac ! 3239: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3240: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3241: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3242: .... fi ! 3243: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3244: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3245: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3246: .... fi ! 3247: .... for j in / /usr/ ! 3248: .... do for i in bin etc ucb ! 3249: .... do if test -f $j$i/$f ! 3250: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3251: .... break 2 ! 3252: .... fi ! 3253: .... done ! 3254: .... done ! 3255: .... } > FEATURE/tmpnam ! 3256: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3257: attr scan ! 3258: attr impl ! 3259: done FEATURE/tmpnam ! 3260: done comp/tmpnam.c ! 3261: prev comp/tmpnam.c ! 3262: exec $CC $CCFLAGS -I. -Iinclude -c comp/tmpnam.c ! 3263: done tmpnam.o ! 3264: make vfork.o ! 3265: make comp/vfork.c ! 3266: attr perm ! 3267: attr scan ! 3268: make FEATURE/vfork ! 3269: exec : generate local FEATURE information for vfork ! 3270: .... set - ! 3271: .... if test ! -d FEATURE ! 3272: .... then rm -rf FEATURE ! 3273: .... mkdir FEATURE ! 3274: .... fi ! 3275: .... { ! 3276: .... echo '/* local info for vfork */' ! 3277: .... case "vfork" in ! 3278: .... *.*) f=vfork ! 3279: .... i=vfork ! 3280: .... ;; ! 3281: .... *) f=vfork ! 3282: .... i=vfork ! 3283: .... echo "#undef $i ! 3284: .... int $i;" > x.${!-$$}.c ! 3285: .... cmd=: ! 3286: .... opt= ! 3287: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3288: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3289: .... then opt=-Bstatic ! 3290: .... else cmd=x.${!-$$}.x ! 3291: .... fi ! 3292: .... fi ! 3293: .... echo "#undef $i ! 3294: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3295: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3296: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3297: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3298: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3299: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3300: .... fi ! 3301: .... fi ! 3302: .... ;; ! 3303: .... esac ! 3304: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3305: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3306: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3307: .... fi ! 3308: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3309: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3310: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3311: .... fi ! 3312: .... for j in / /usr/ ! 3313: .... do for i in bin etc ucb ! 3314: .... do if test -f $j$i/$f ! 3315: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3316: .... break 2 ! 3317: .... fi ! 3318: .... done ! 3319: .... done ! 3320: .... } > FEATURE/vfork ! 3321: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3322: attr scan ! 3323: attr impl ! 3324: done FEATURE/vfork ! 3325: done comp/vfork.c ! 3326: prev comp/vfork.c ! 3327: exec $CC $CCFLAGS -I. -c comp/vfork.c ! 3328: done vfork.o ! 3329: make killpg.o ! 3330: make comp/killpg.c ! 3331: attr perm ! 3332: attr scan ! 3333: make FEATURE/killpg ! 3334: exec : generate local FEATURE information for killpg ! 3335: .... set - ! 3336: .... if test ! -d FEATURE ! 3337: .... then rm -rf FEATURE ! 3338: .... mkdir FEATURE ! 3339: .... fi ! 3340: .... { ! 3341: .... echo '/* local info for killpg */' ! 3342: .... case "killpg" in ! 3343: .... *.*) f=killpg ! 3344: .... i=killpg ! 3345: .... ;; ! 3346: .... *) f=killpg ! 3347: .... i=killpg ! 3348: .... echo "#undef $i ! 3349: .... int $i;" > x.${!-$$}.c ! 3350: .... cmd=: ! 3351: .... opt= ! 3352: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3353: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3354: .... then opt=-Bstatic ! 3355: .... else cmd=x.${!-$$}.x ! 3356: .... fi ! 3357: .... fi ! 3358: .... echo "#undef $i ! 3359: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3360: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3361: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3362: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3363: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3364: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3365: .... fi ! 3366: .... fi ! 3367: .... ;; ! 3368: .... esac ! 3369: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3370: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3371: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3372: .... fi ! 3373: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3374: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3375: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3376: .... fi ! 3377: .... for j in / /usr/ ! 3378: .... do for i in bin etc ucb ! 3379: .... do if test -f $j$i/$f ! 3380: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3381: .... break 2 ! 3382: .... fi ! 3383: .... done ! 3384: .... done ! 3385: .... } > FEATURE/killpg ! 3386: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3387: attr scan ! 3388: attr impl ! 3389: done FEATURE/killpg ! 3390: done comp/killpg.c ! 3391: prev comp/killpg.c ! 3392: exec $CC $CCFLAGS -I. -c comp/killpg.c ! 3393: done killpg.o ! 3394: make lstat.o ! 3395: make comp/lstat.c ! 3396: attr perm ! 3397: attr scan ! 3398: make FEATURE/lstat ! 3399: exec : generate local FEATURE information for lstat ! 3400: .... set - ! 3401: .... if test ! -d FEATURE ! 3402: .... then rm -rf FEATURE ! 3403: .... mkdir FEATURE ! 3404: .... fi ! 3405: .... { ! 3406: .... echo '/* local info for lstat */' ! 3407: .... case "lstat" in ! 3408: .... *.*) f=lstat ! 3409: .... i=lstat ! 3410: .... ;; ! 3411: .... *) f=lstat ! 3412: .... i=lstat ! 3413: .... echo "#undef $i ! 3414: .... int $i;" > x.${!-$$}.c ! 3415: .... cmd=: ! 3416: .... opt= ! 3417: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3418: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3419: .... then opt=-Bstatic ! 3420: .... else cmd=x.${!-$$}.x ! 3421: .... fi ! 3422: .... fi ! 3423: .... echo "#undef $i ! 3424: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3425: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3426: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3427: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3428: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3429: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3430: .... fi ! 3431: .... fi ! 3432: .... ;; ! 3433: .... esac ! 3434: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3435: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3436: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3437: .... fi ! 3438: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3439: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3440: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3441: .... fi ! 3442: .... for j in / /usr/ ! 3443: .... do for i in bin etc ucb ! 3444: .... do if test -f $j$i/$f ! 3445: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3446: .... break 2 ! 3447: .... fi ! 3448: .... done ! 3449: .... done ! 3450: .... } > FEATURE/lstat ! 3451: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3452: attr scan ! 3453: attr impl ! 3454: done FEATURE/lstat ! 3455: done comp/lstat.c ! 3456: prev comp/lstat.c ! 3457: exec $CC $CCFLAGS -I. -c comp/lstat.c ! 3458: done lstat.o ! 3459: make readlink.o ! 3460: make comp/readlink.c ! 3461: attr perm ! 3462: attr scan ! 3463: make FEATURE/readlink ! 3464: exec : generate local FEATURE information for readlink ! 3465: .... set - ! 3466: .... if test ! -d FEATURE ! 3467: .... then rm -rf FEATURE ! 3468: .... mkdir FEATURE ! 3469: .... fi ! 3470: .... { ! 3471: .... echo '/* local info for readlink */' ! 3472: .... case "readlink" in ! 3473: .... *.*) f=readlink ! 3474: .... i=readlink ! 3475: .... ;; ! 3476: .... *) f=readlink ! 3477: .... i=readlink ! 3478: .... echo "#undef $i ! 3479: .... int $i;" > x.${!-$$}.c ! 3480: .... cmd=: ! 3481: .... opt= ! 3482: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3483: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3484: .... then opt=-Bstatic ! 3485: .... else cmd=x.${!-$$}.x ! 3486: .... fi ! 3487: .... fi ! 3488: .... echo "#undef $i ! 3489: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3490: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3491: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3492: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3493: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3494: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3495: .... fi ! 3496: .... fi ! 3497: .... ;; ! 3498: .... esac ! 3499: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3500: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3501: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3502: .... fi ! 3503: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3504: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3505: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3506: .... fi ! 3507: .... for j in / /usr/ ! 3508: .... do for i in bin etc ucb ! 3509: .... do if test -f $j$i/$f ! 3510: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3511: .... break 2 ! 3512: .... fi ! 3513: .... done ! 3514: .... done ! 3515: .... } > FEATURE/readlink ! 3516: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3517: attr scan ! 3518: attr impl ! 3519: done FEATURE/readlink ! 3520: done comp/readlink.c ! 3521: prev comp/readlink.c ! 3522: exec $CC $CCFLAGS -I. -c comp/readlink.c ! 3523: done readlink.o ! 3524: make symlink.o ! 3525: make comp/symlink.c ! 3526: attr perm ! 3527: attr scan ! 3528: make FEATURE/symlink ! 3529: exec : generate local FEATURE information for symlink ! 3530: .... set - ! 3531: .... if test ! -d FEATURE ! 3532: .... then rm -rf FEATURE ! 3533: .... mkdir FEATURE ! 3534: .... fi ! 3535: .... { ! 3536: .... echo '/* local info for symlink */' ! 3537: .... case "symlink" in ! 3538: .... *.*) f=symlink ! 3539: .... i=symlink ! 3540: .... ;; ! 3541: .... *) f=symlink ! 3542: .... i=symlink ! 3543: .... echo "#undef $i ! 3544: .... int $i;" > x.${!-$$}.c ! 3545: .... cmd=: ! 3546: .... opt= ! 3547: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3548: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3549: .... then opt=-Bstatic ! 3550: .... else cmd=x.${!-$$}.x ! 3551: .... fi ! 3552: .... fi ! 3553: .... echo "#undef $i ! 3554: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3555: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3556: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3557: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3558: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3559: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3560: .... fi ! 3561: .... fi ! 3562: .... ;; ! 3563: .... esac ! 3564: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3565: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3566: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3567: .... fi ! 3568: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3569: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3570: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3571: .... fi ! 3572: .... for j in / /usr/ ! 3573: .... do for i in bin etc ucb ! 3574: .... do if test -f $j$i/$f ! 3575: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3576: .... break 2 ! 3577: .... fi ! 3578: .... done ! 3579: .... done ! 3580: .... } > FEATURE/symlink ! 3581: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3582: attr scan ! 3583: attr impl ! 3584: done FEATURE/symlink ! 3585: done comp/symlink.c ! 3586: prev comp/symlink.c ! 3587: exec $CC $CCFLAGS -I. -c comp/symlink.c ! 3588: done symlink.o ! 3589: make setpgid.o ! 3590: make comp/setpgid.c ! 3591: attr perm ! 3592: attr scan ! 3593: make FEATURE/setpgid ! 3594: exec : generate local FEATURE information for setpgid ! 3595: .... set - ! 3596: .... if test ! -d FEATURE ! 3597: .... then rm -rf FEATURE ! 3598: .... mkdir FEATURE ! 3599: .... fi ! 3600: .... { ! 3601: .... echo '/* local info for setpgid */' ! 3602: .... case "setpgid" in ! 3603: .... *.*) f=setpgid ! 3604: .... i=setpgid ! 3605: .... ;; ! 3606: .... *) f=setpgid ! 3607: .... i=setpgid ! 3608: .... echo "#undef $i ! 3609: .... int $i;" > x.${!-$$}.c ! 3610: .... cmd=: ! 3611: .... opt= ! 3612: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3613: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3614: .... then opt=-Bstatic ! 3615: .... else cmd=x.${!-$$}.x ! 3616: .... fi ! 3617: .... fi ! 3618: .... echo "#undef $i ! 3619: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3620: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3621: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3622: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3623: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3624: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3625: .... fi ! 3626: .... fi ! 3627: .... ;; ! 3628: .... esac ! 3629: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3630: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3631: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3632: .... fi ! 3633: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3634: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3635: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3636: .... fi ! 3637: .... for j in / /usr/ ! 3638: .... do for i in bin etc ucb ! 3639: .... do if test -f $j$i/$f ! 3640: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3641: .... break 2 ! 3642: .... fi ! 3643: .... done ! 3644: .... done ! 3645: .... } > FEATURE/setpgid ! 3646: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3647: attr scan ! 3648: attr impl ! 3649: done FEATURE/setpgid ! 3650: done comp/setpgid.c ! 3651: prev comp/setpgid.c ! 3652: exec $CC $CCFLAGS -I. -c comp/setpgid.c ! 3653: done setpgid.o ! 3654: make atexit.o ! 3655: make comp/atexit.c ! 3656: attr perm ! 3657: attr scan ! 3658: make FEATURE/_cleanup ! 3659: exec : generate local FEATURE information for _cleanup ! 3660: .... set - ! 3661: .... if test ! -d FEATURE ! 3662: .... then rm -rf FEATURE ! 3663: .... mkdir FEATURE ! 3664: .... fi ! 3665: .... { ! 3666: .... echo '/* local info for _cleanup */' ! 3667: .... case "_cleanup" in ! 3668: .... *.*) f=_cleanup ! 3669: .... i=_cleanup ! 3670: .... ;; ! 3671: .... *) f=_cleanup ! 3672: .... i=_cleanup ! 3673: .... echo "#undef $i ! 3674: .... int $i;" > x.${!-$$}.c ! 3675: .... cmd=: ! 3676: .... opt= ! 3677: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3678: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3679: .... then opt=-Bstatic ! 3680: .... else cmd=x.${!-$$}.x ! 3681: .... fi ! 3682: .... fi ! 3683: .... echo "#undef $i ! 3684: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3685: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3686: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3687: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3688: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3689: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3690: .... fi ! 3691: .... fi ! 3692: .... ;; ! 3693: .... esac ! 3694: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3695: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3696: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3697: .... fi ! 3698: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3699: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3700: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3701: .... fi ! 3702: .... for j in / /usr/ ! 3703: .... do for i in bin etc ucb ! 3704: .... do if test -f $j$i/$f ! 3705: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3706: .... break 2 ! 3707: .... fi ! 3708: .... done ! 3709: .... done ! 3710: .... } > FEATURE/_cleanup ! 3711: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3712: attr scan ! 3713: attr impl ! 3714: done FEATURE/_cleanup ! 3715: make FEATURE/on_exit ! 3716: exec : generate local FEATURE information for on_exit ! 3717: .... set - ! 3718: .... if test ! -d FEATURE ! 3719: .... then rm -rf FEATURE ! 3720: .... mkdir FEATURE ! 3721: .... fi ! 3722: .... { ! 3723: .... echo '/* local info for on_exit */' ! 3724: .... case "on_exit" in ! 3725: .... *.*) f=on_exit ! 3726: .... i=on_exit ! 3727: .... ;; ! 3728: .... *) f=on_exit ! 3729: .... i=on_exit ! 3730: .... echo "#undef $i ! 3731: .... int $i;" > x.${!-$$}.c ! 3732: .... cmd=: ! 3733: .... opt= ! 3734: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3735: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3736: .... then opt=-Bstatic ! 3737: .... else cmd=x.${!-$$}.x ! 3738: .... fi ! 3739: .... fi ! 3740: .... echo "#undef $i ! 3741: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3742: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3743: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3744: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3745: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3746: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3747: .... fi ! 3748: .... fi ! 3749: .... ;; ! 3750: .... esac ! 3751: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3752: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3753: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3754: .... fi ! 3755: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3756: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3757: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3758: .... fi ! 3759: .... for j in / /usr/ ! 3760: .... do for i in bin etc ucb ! 3761: .... do if test -f $j$i/$f ! 3762: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3763: .... break 2 ! 3764: .... fi ! 3765: .... done ! 3766: .... done ! 3767: .... } > FEATURE/on_exit ! 3768: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3769: attr scan ! 3770: attr impl ! 3771: done FEATURE/on_exit ! 3772: make FEATURE/onexit ! 3773: exec : generate local FEATURE information for onexit ! 3774: .... set - ! 3775: .... if test ! -d FEATURE ! 3776: .... then rm -rf FEATURE ! 3777: .... mkdir FEATURE ! 3778: .... fi ! 3779: .... { ! 3780: .... echo '/* local info for onexit */' ! 3781: .... case "onexit" in ! 3782: .... *.*) f=onexit ! 3783: .... i=onexit ! 3784: .... ;; ! 3785: .... *) f=onexit ! 3786: .... i=onexit ! 3787: .... echo "#undef $i ! 3788: .... int $i;" > x.${!-$$}.c ! 3789: .... cmd=: ! 3790: .... opt= ! 3791: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3792: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3793: .... then opt=-Bstatic ! 3794: .... else cmd=x.${!-$$}.x ! 3795: .... fi ! 3796: .... fi ! 3797: .... echo "#undef $i ! 3798: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3799: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3800: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3801: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3802: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3803: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3804: .... fi ! 3805: .... fi ! 3806: .... ;; ! 3807: .... esac ! 3808: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3809: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3810: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3811: .... fi ! 3812: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3813: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3814: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3815: .... fi ! 3816: .... for j in / /usr/ ! 3817: .... do for i in bin etc ucb ! 3818: .... do if test -f $j$i/$f ! 3819: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3820: .... break 2 ! 3821: .... fi ! 3822: .... done ! 3823: .... done ! 3824: .... } > FEATURE/onexit ! 3825: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3826: attr scan ! 3827: attr impl ! 3828: done FEATURE/onexit ! 3829: make FEATURE/atexit ! 3830: exec : generate local FEATURE information for atexit ! 3831: .... set - ! 3832: .... if test ! -d FEATURE ! 3833: .... then rm -rf FEATURE ! 3834: .... mkdir FEATURE ! 3835: .... fi ! 3836: .... { ! 3837: .... echo '/* local info for atexit */' ! 3838: .... case "atexit" in ! 3839: .... *.*) f=atexit ! 3840: .... i=atexit ! 3841: .... ;; ! 3842: .... *) f=atexit ! 3843: .... i=atexit ! 3844: .... echo "#undef $i ! 3845: .... int $i;" > x.${!-$$}.c ! 3846: .... cmd=: ! 3847: .... opt= ! 3848: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3849: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3850: .... then opt=-Bstatic ! 3851: .... else cmd=x.${!-$$}.x ! 3852: .... fi ! 3853: .... fi ! 3854: .... echo "#undef $i ! 3855: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3856: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3857: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3858: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3859: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3860: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3861: .... fi ! 3862: .... fi ! 3863: .... ;; ! 3864: .... esac ! 3865: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3866: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3867: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3868: .... fi ! 3869: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3870: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3871: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3872: .... fi ! 3873: .... for j in / /usr/ ! 3874: .... do for i in bin etc ucb ! 3875: .... do if test -f $j$i/$f ! 3876: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3877: .... break 2 ! 3878: .... fi ! 3879: .... done ! 3880: .... done ! 3881: .... } > FEATURE/atexit ! 3882: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3883: attr scan ! 3884: attr impl ! 3885: done FEATURE/atexit ! 3886: done comp/atexit.c ! 3887: prev comp/atexit.c ! 3888: exec $CC $CCFLAGS -I. -c comp/atexit.c ! 3889: done atexit.o ! 3890: make getdents.o ! 3891: make comp/getdents.c ! 3892: attr perm ! 3893: attr scan ! 3894: prev FEATURE/dir ! 3895: make FEATURE/readdir ! 3896: exec : generate local FEATURE information for readdir ! 3897: .... set - ! 3898: .... if test ! -d FEATURE ! 3899: .... then rm -rf FEATURE ! 3900: .... mkdir FEATURE ! 3901: .... fi ! 3902: .... { ! 3903: .... echo '/* local info for readdir */' ! 3904: .... case "readdir" in ! 3905: .... *.*) f=readdir ! 3906: .... i=readdir ! 3907: .... ;; ! 3908: .... *) f=readdir ! 3909: .... i=readdir ! 3910: .... echo "#undef $i ! 3911: .... int $i;" > x.${!-$$}.c ! 3912: .... cmd=: ! 3913: .... opt= ! 3914: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3915: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3916: .... then opt=-Bstatic ! 3917: .... else cmd=x.${!-$$}.x ! 3918: .... fi ! 3919: .... fi ! 3920: .... echo "#undef $i ! 3921: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3922: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3923: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3924: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3925: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3926: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3927: .... fi ! 3928: .... fi ! 3929: .... ;; ! 3930: .... esac ! 3931: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3932: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3933: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3934: .... fi ! 3935: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3936: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3937: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3938: .... fi ! 3939: .... for j in / /usr/ ! 3940: .... do for i in bin etc ucb ! 3941: .... do if test -f $j$i/$f ! 3942: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 3943: .... break 2 ! 3944: .... fi ! 3945: .... done ! 3946: .... done ! 3947: .... } > FEATURE/readdir ! 3948: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 3949: attr scan ! 3950: attr impl ! 3951: done FEATURE/readdir ! 3952: make FEATURE/dirread ! 3953: exec : generate local FEATURE information for dirread ! 3954: .... set - ! 3955: .... if test ! -d FEATURE ! 3956: .... then rm -rf FEATURE ! 3957: .... mkdir FEATURE ! 3958: .... fi ! 3959: .... { ! 3960: .... echo '/* local info for dirread */' ! 3961: .... case "dirread" in ! 3962: .... *.*) f=dirread ! 3963: .... i=dirread ! 3964: .... ;; ! 3965: .... *) f=dirread ! 3966: .... i=dirread ! 3967: .... echo "#undef $i ! 3968: .... int $i;" > x.${!-$$}.c ! 3969: .... cmd=: ! 3970: .... opt= ! 3971: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3972: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 3973: .... then opt=-Bstatic ! 3974: .... else cmd=x.${!-$$}.x ! 3975: .... fi ! 3976: .... fi ! 3977: .... echo "#undef $i ! 3978: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 3979: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 3980: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 3981: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 3982: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 3983: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 3984: .... fi ! 3985: .... fi ! 3986: .... ;; ! 3987: .... esac ! 3988: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 3989: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3990: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 3991: .... fi ! 3992: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 3993: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 3994: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 3995: .... fi ! 3996: .... for j in / /usr/ ! 3997: .... do for i in bin etc ucb ! 3998: .... do if test -f $j$i/$f ! 3999: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4000: .... break 2 ! 4001: .... fi ! 4002: .... done ! 4003: .... done ! 4004: .... } > FEATURE/dirread ! 4005: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4006: attr scan ! 4007: attr impl ! 4008: done FEATURE/dirread ! 4009: make FEATURE/getdirentries ! 4010: exec : generate local FEATURE information for getdirentries ! 4011: .... set - ! 4012: .... if test ! -d FEATURE ! 4013: .... then rm -rf FEATURE ! 4014: .... mkdir FEATURE ! 4015: .... fi ! 4016: .... { ! 4017: .... echo '/* local info for getdirentries */' ! 4018: .... case "getdirentries" in ! 4019: .... *.*) f=getdirentries ! 4020: .... i=getdirentries ! 4021: .... ;; ! 4022: .... *) f=getdirentries ! 4023: .... i=getdirentries ! 4024: .... echo "#undef $i ! 4025: .... int $i;" > x.${!-$$}.c ! 4026: .... cmd=: ! 4027: .... opt= ! 4028: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4029: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4030: .... then opt=-Bstatic ! 4031: .... else cmd=x.${!-$$}.x ! 4032: .... fi ! 4033: .... fi ! 4034: .... echo "#undef $i ! 4035: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4036: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4037: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4038: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4039: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4040: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4041: .... fi ! 4042: .... fi ! 4043: .... ;; ! 4044: .... esac ! 4045: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4046: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4047: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4048: .... fi ! 4049: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4050: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4051: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4052: .... fi ! 4053: .... for j in / /usr/ ! 4054: .... do for i in bin etc ucb ! 4055: .... do if test -f $j$i/$f ! 4056: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4057: .... break 2 ! 4058: .... fi ! 4059: .... done ! 4060: .... done ! 4061: .... } > FEATURE/getdirentries ! 4062: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4063: attr scan ! 4064: attr impl ! 4065: done FEATURE/getdirentries ! 4066: prev dirent.h ! 4067: prev fsinfo.h ! 4068: prev FEATURE/getdents ! 4069: done comp/getdents.c ! 4070: prev comp/getdents.c ! 4071: exec $CC $CCFLAGS -I. -c comp/getdents.c ! 4072: done getdents.o ! 4073: make getwd.o ! 4074: make misc/getwd.c ! 4075: attr perm ! 4076: attr scan ! 4077: prev limits.h ! 4078: done misc/getwd.c ! 4079: prev misc/getwd.c ! 4080: exec $CC $CCFLAGS -I. -c misc/getwd.c ! 4081: done getwd.o ! 4082: make copy.o ! 4083: make port/copy.c ! 4084: attr perm ! 4085: attr scan ! 4086: make FEATURE/mmap ! 4087: exec : generate local FEATURE information for mmap ! 4088: .... set - ! 4089: .... if test ! -d FEATURE ! 4090: .... then rm -rf FEATURE ! 4091: .... mkdir FEATURE ! 4092: .... fi ! 4093: .... { ! 4094: .... echo '/* local info for mmap */' ! 4095: .... case "mmap" in ! 4096: .... *.*) f=mmap ! 4097: .... i=mmap ! 4098: .... ;; ! 4099: .... *) f=mmap ! 4100: .... i=mmap ! 4101: .... echo "#undef $i ! 4102: .... int $i;" > x.${!-$$}.c ! 4103: .... cmd=: ! 4104: .... opt= ! 4105: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4106: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4107: .... then opt=-Bstatic ! 4108: .... else cmd=x.${!-$$}.x ! 4109: .... fi ! 4110: .... fi ! 4111: .... echo "#undef $i ! 4112: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4113: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4114: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4115: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4116: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4117: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4118: .... fi ! 4119: .... fi ! 4120: .... ;; ! 4121: .... esac ! 4122: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4123: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4124: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4125: .... fi ! 4126: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4127: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4128: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4129: .... fi ! 4130: .... for j in / /usr/ ! 4131: .... do for i in bin etc ucb ! 4132: .... do if test -f $j$i/$f ! 4133: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4134: .... break 2 ! 4135: .... fi ! 4136: .... done ! 4137: .... done ! 4138: .... } > FEATURE/mmap ! 4139: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4140: attr scan ! 4141: attr impl ! 4142: done FEATURE/mmap ! 4143: done port/copy.c ! 4144: prev port/copy.c ! 4145: exec $CC $CCFLAGS -I. -c port/copy.c ! 4146: done copy.o ! 4147: make dup2.o ! 4148: make comp/dup2.c ! 4149: attr perm ! 4150: attr scan ! 4151: make FEATURE/dup2 ! 4152: exec : generate local FEATURE information for dup2 ! 4153: .... set - ! 4154: .... if test ! -d FEATURE ! 4155: .... then rm -rf FEATURE ! 4156: .... mkdir FEATURE ! 4157: .... fi ! 4158: .... { ! 4159: .... echo '/* local info for dup2 */' ! 4160: .... case "dup2" in ! 4161: .... *.*) f=dup2 ! 4162: .... i=dup2 ! 4163: .... ;; ! 4164: .... *) f=dup2 ! 4165: .... i=dup2 ! 4166: .... echo "#undef $i ! 4167: .... int $i;" > x.${!-$$}.c ! 4168: .... cmd=: ! 4169: .... opt= ! 4170: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4171: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4172: .... then opt=-Bstatic ! 4173: .... else cmd=x.${!-$$}.x ! 4174: .... fi ! 4175: .... fi ! 4176: .... echo "#undef $i ! 4177: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4178: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4179: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4180: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4181: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4182: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4183: .... fi ! 4184: .... fi ! 4185: .... ;; ! 4186: .... esac ! 4187: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4188: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4189: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4190: .... fi ! 4191: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4192: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4193: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4194: .... fi ! 4195: .... for j in / /usr/ ! 4196: .... do for i in bin etc ucb ! 4197: .... do if test -f $j$i/$f ! 4198: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4199: .... break 2 ! 4200: .... fi ! 4201: .... done ! 4202: .... done ! 4203: .... } > FEATURE/dup2 ! 4204: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4205: attr scan ! 4206: attr impl ! 4207: done FEATURE/dup2 ! 4208: done comp/dup2.c ! 4209: prev comp/dup2.c ! 4210: exec $CC $CCFLAGS -I. -c comp/dup2.c ! 4211: done dup2.o ! 4212: make errno.o ! 4213: make comp/errno.c ! 4214: attr perm ! 4215: attr scan ! 4216: done comp/errno.c ! 4217: prev comp/errno.c ! 4218: exec $CC $CCFLAGS -c comp/errno.c ! 4219: done errno.o ! 4220: make sgetl.o ! 4221: make comp/sgetl.c ! 4222: attr perm ! 4223: attr scan ! 4224: prev limits.h ! 4225: make FEATURE/sgetl ! 4226: exec : generate local FEATURE information for sgetl ! 4227: .... set - ! 4228: .... if test ! -d FEATURE ! 4229: .... then rm -rf FEATURE ! 4230: .... mkdir FEATURE ! 4231: .... fi ! 4232: .... { ! 4233: .... echo '/* local info for sgetl */' ! 4234: .... case "sgetl" in ! 4235: .... *.*) f=sgetl ! 4236: .... i=sgetl ! 4237: .... ;; ! 4238: .... *) f=sgetl ! 4239: .... i=sgetl ! 4240: .... echo "#undef $i ! 4241: .... int $i;" > x.${!-$$}.c ! 4242: .... cmd=: ! 4243: .... opt= ! 4244: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4245: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4246: .... then opt=-Bstatic ! 4247: .... else cmd=x.${!-$$}.x ! 4248: .... fi ! 4249: .... fi ! 4250: .... echo "#undef $i ! 4251: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4252: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4253: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4254: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4255: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4256: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4257: .... fi ! 4258: .... fi ! 4259: .... ;; ! 4260: .... esac ! 4261: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4262: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4263: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4264: .... fi ! 4265: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4266: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4267: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4268: .... fi ! 4269: .... for j in / /usr/ ! 4270: .... do for i in bin etc ucb ! 4271: .... do if test -f $j$i/$f ! 4272: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4273: .... break 2 ! 4274: .... fi ! 4275: .... done ! 4276: .... done ! 4277: .... } > FEATURE/sgetl ! 4278: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4279: attr scan ! 4280: attr impl ! 4281: done FEATURE/sgetl ! 4282: done comp/sgetl.c ! 4283: prev comp/sgetl.c ! 4284: exec $CC $CCFLAGS -I. -c comp/sgetl.c ! 4285: done sgetl.o ! 4286: make sputl.o ! 4287: make comp/sputl.c ! 4288: attr perm ! 4289: attr scan ! 4290: prev limits.h ! 4291: make FEATURE/sputl ! 4292: exec : generate local FEATURE information for sputl ! 4293: .... set - ! 4294: .... if test ! -d FEATURE ! 4295: .... then rm -rf FEATURE ! 4296: .... mkdir FEATURE ! 4297: .... fi ! 4298: .... { ! 4299: .... echo '/* local info for sputl */' ! 4300: .... case "sputl" in ! 4301: .... *.*) f=sputl ! 4302: .... i=sputl ! 4303: .... ;; ! 4304: .... *) f=sputl ! 4305: .... i=sputl ! 4306: .... echo "#undef $i ! 4307: .... int $i;" > x.${!-$$}.c ! 4308: .... cmd=: ! 4309: .... opt= ! 4310: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4311: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4312: .... then opt=-Bstatic ! 4313: .... else cmd=x.${!-$$}.x ! 4314: .... fi ! 4315: .... fi ! 4316: .... echo "#undef $i ! 4317: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4318: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4319: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4320: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4321: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4322: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4323: .... fi ! 4324: .... fi ! 4325: .... ;; ! 4326: .... esac ! 4327: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4328: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4329: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4330: .... fi ! 4331: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4332: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4333: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4334: .... fi ! 4335: .... for j in / /usr/ ! 4336: .... do for i in bin etc ucb ! 4337: .... do if test -f $j$i/$f ! 4338: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4339: .... break 2 ! 4340: .... fi ! 4341: .... done ! 4342: .... done ! 4343: .... } > FEATURE/sputl ! 4344: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4345: attr scan ! 4346: attr impl ! 4347: done FEATURE/sputl ! 4348: done comp/sputl.c ! 4349: prev comp/sputl.c ! 4350: exec $CC $CCFLAGS -I. -c comp/sputl.c ! 4351: done sputl.o ! 4352: make getpreroot.o ! 4353: make preroot/getpreroot.c ! 4354: attr perm ! 4355: attr scan ! 4356: prev limits.h ! 4357: prev dirent.h ! 4358: prev preroot.h ! 4359: done preroot/getpreroot.c ! 4360: prev preroot/getpreroot.c ! 4361: exec $CC $CCFLAGS -I. -Iinclude -c preroot/getpreroot.c ! 4362: done getpreroot.o ! 4363: make ispreroot.o ! 4364: make preroot/ispreroot.c ! 4365: attr perm ! 4366: attr scan ! 4367: prev preroot.h ! 4368: done preroot/ispreroot.c ! 4369: prev preroot/ispreroot.c ! 4370: exec $CC $CCFLAGS -I. -c preroot/ispreroot.c ! 4371: done ispreroot.o ! 4372: make realopen.o ! 4373: make preroot/realopen.c ! 4374: attr perm ! 4375: attr scan ! 4376: prev limits.h ! 4377: prev preroot.h ! 4378: done preroot/realopen.c ! 4379: prev preroot/realopen.c ! 4380: exec $CC $CCFLAGS -I. -c preroot/realopen.c ! 4381: done realopen.o ! 4382: make setpreroot.o ! 4383: make preroot/setpreroot.c ! 4384: attr perm ! 4385: attr scan ! 4386: prev limits.h ! 4387: prev preroot.h ! 4388: done preroot/setpreroot.c ! 4389: prev preroot/setpreroot.c ! 4390: exec $CC $CCFLAGS -I. -Iinclude -c preroot/setpreroot.c ! 4391: done setpreroot.o ! 4392: make mount.o ! 4393: make comp/mount.c ! 4394: attr perm ! 4395: attr scan ! 4396: make FEATURE/mount ! 4397: exec : generate local FEATURE information for mount ! 4398: .... set - ! 4399: .... if test ! -d FEATURE ! 4400: .... then rm -rf FEATURE ! 4401: .... mkdir FEATURE ! 4402: .... fi ! 4403: .... { ! 4404: .... echo '/* local info for mount */' ! 4405: .... case "mount" in ! 4406: .... *.*) f=mount ! 4407: .... i=mount ! 4408: .... ;; ! 4409: .... *) f=mount ! 4410: .... i=mount ! 4411: .... echo "#undef $i ! 4412: .... int $i;" > x.${!-$$}.c ! 4413: .... cmd=: ! 4414: .... opt= ! 4415: .... if $CC $CCFLAGS -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4416: .... then if $CC $CCFLAGS -Bstatic -o x.${!-$$}.x x.${!-$$}.c > /dev/null 2>&1 ! 4417: .... then opt=-Bstatic ! 4418: .... else cmd=x.${!-$$}.x ! 4419: .... fi ! 4420: .... fi ! 4421: .... echo "#undef $i ! 4422: .... extern int $i();static int ((*i)())=$i;main(){exit(i==(int((*)()))0);}" > x.${!-$$}.c ! 4423: .... if $CC $CCFLAGS $opt -c x.${!-$$}.c > /dev/null 2>&1 ! 4424: .... then if { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o && $cmd ;} > /dev/null 2>&1 ! 4425: .... then echo "#define _lib_$i 1 /* $i() in default lib(s) */" ! 4426: .... elif { $CC $CCFLAGS $opt -o x.${!-$$}.x x.${!-$$}.o -lm && $cmd ;} > /dev/null 2>&1 ! 4427: .... then echo "#define _mth_$i 1 /* $i() in math lib */" ! 4428: .... fi ! 4429: .... fi ! 4430: .... ;; ! 4431: .... esac ! 4432: .... echo "#include \"$f.h\"" > x.${!-$$}.c ! 4433: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4434: .... then echo "#define _hdr_$i 1 /* #include \"$f.h\" ok */" ! 4435: .... fi ! 4436: .... echo "#include \"sys/$f.h\"" > x.${!-$$}.c ! 4437: .... if $CC $CCFLAGS -E x.${!-$$}.c > /dev/null 2>&1 ! 4438: .... then echo "#define _sys_$i 1 /* #include \"sys/$f.h\" ok */" ! 4439: .... fi ! 4440: .... for j in / /usr/ ! 4441: .... do for i in bin etc ucb ! 4442: .... do if test -f $j$i/$f ! 4443: .... then echo "#define _bin_$f 1 /* $f in ?(/usr)/(bin|etc|ucb) */" ! 4444: .... break 2 ! 4445: .... fi ! 4446: .... done ! 4447: .... done ! 4448: .... } > FEATURE/mount ! 4449: .... rm -rf x.${!-$$}.c x.${!-$$}.o x.${!-$$}.x ! 4450: attr scan ! 4451: attr impl ! 4452: done FEATURE/mount ! 4453: done comp/mount.c ! 4454: prev comp/mount.c ! 4455: exec $CC $CCFLAGS -I. -c comp/mount.c ! 4456: done mount.o ! 4457: make popen.o ! 4458: make comp/popen.c ! 4459: attr perm ! 4460: attr scan ! 4461: prev include/stdio.h ! 4462: done comp/popen.c ! 4463: prev comp/popen.c ! 4464: exec $CC $CCFLAGS -Iinclude -c comp/popen.c ! 4465: done popen.o ! 4466: make system.o ! 4467: make comp/system.c ! 4468: attr perm ! 4469: attr scan ! 4470: done comp/system.c ! 4471: prev comp/system.c ! 4472: exec $CC $CCFLAGS -c comp/system.c ! 4473: done system.o ! 4474: make iblocks.o ! 4475: make port/iblocks.c ! 4476: attr perm ! 4477: attr scan ! 4478: prev fsinfo.h ! 4479: prev lclparam.h ! 4480: done port/iblocks.c ! 4481: prev port/iblocks.c ! 4482: exec $CC $CCFLAGS -I. -c port/iblocks.c ! 4483: done iblocks.o ! 4484: make modedata.o ! 4485: make string/modedata.c ! 4486: attr perm ! 4487: attr scan ! 4488: prev /usr/include/sys/stat.h ! 4489: prev /usr/include/sys/types.h ! 4490: prev string/modelib.h ! 4491: done string/modedata.c ! 4492: prev string/modedata.c ! 4493: exec $CC $CCFLAGS -Istring -c string/modedata.c ! 4494: done modedata.o ! 4495: make tmdata.o ! 4496: make tm/tmdata.c ! 4497: attr perm ! 4498: attr scan ! 4499: prev include/tm.h ! 4500: done tm/tmdata.c ! 4501: prev tm/tmdata.c ! 4502: exec $CC $CCFLAGS -Iinclude -c tm/tmdata.c ! 4503: done tmdata.o ! 4504: make sfclose.o ! 4505: make sfio/sfclose.c ! 4506: attr perm ! 4507: attr scan ! 4508: make sfio/sfhdr.h ! 4509: attr perm ! 4510: attr scan ! 4511: attr impl ! 4512: make FEATURE/on_exit ! 4513: done FEATURE/on_exit ! 4514: make FEATURE/onexit ! 4515: done FEATURE/onexit ! 4516: prev FEATURE/atexit ! 4517: prev FEATURE/bcopy ! 4518: done sfio/sfhdr.h ! 4519: done sfio/sfclose.c ! 4520: prev sfio/sfclose.c ! 4521: setv LIBX -DLIBX ! 4522: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfclose.c ! 4523: done sfclose.o ! 4524: make sfclrlock.o ! 4525: make sfio/sfclrlock.c ! 4526: attr perm ! 4527: attr scan ! 4528: prev sfio/sfhdr.h ! 4529: done sfio/sfclrlock.c ! 4530: prev sfio/sfclrlock.c ! 4531: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfclrlock.c ! 4532: done sfclrlock.o ! 4533: make sfcvt.o ! 4534: make sfio/sfcvt.c ! 4535: attr perm ! 4536: attr scan ! 4537: prev sfio/sfhdr.h ! 4538: done sfio/sfcvt.c ! 4539: prev sfio/sfcvt.c ! 4540: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfcvt.c ! 4541: done sfcvt.o ! 4542: make sfdlen.o ! 4543: make sfio/sfdlen.c ! 4544: attr perm ! 4545: attr scan ! 4546: prev sfio/sfhdr.h ! 4547: done sfio/sfdlen.c ! 4548: prev sfio/sfdlen.c ! 4549: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfdlen.c ! 4550: done sfdlen.o ! 4551: make sfdopen.o ! 4552: make sfio/sfdopen.c ! 4553: attr perm ! 4554: attr scan ! 4555: prev sfio/sfhdr.h ! 4556: done sfio/sfdopen.c ! 4557: prev sfio/sfdopen.c ! 4558: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfdopen.c ! 4559: done sfdopen.o ! 4560: make sfexcept.o ! 4561: make sfio/sfexcept.c ! 4562: attr perm ! 4563: attr scan ! 4564: prev sfio/sfhdr.h ! 4565: done sfio/sfexcept.c ! 4566: prev sfio/sfexcept.c ! 4567: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfexcept.c ! 4568: done sfexcept.o ! 4569: make sfextern.o ! 4570: make sfio/sfextern.c ! 4571: attr perm ! 4572: attr scan ! 4573: prev sfio/sfhdr.h ! 4574: done sfio/sfextern.c ! 4575: prev sfio/sfextern.c ! 4576: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfextern.c ! 4577: done sfextern.o ! 4578: make sffilbuf.o ! 4579: make sfio/sffilbuf.c ! 4580: attr perm ! 4581: attr scan ! 4582: prev sfio/sfhdr.h ! 4583: done sfio/sffilbuf.c ! 4584: prev sfio/sffilbuf.c ! 4585: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sffilbuf.c ! 4586: done sffilbuf.o ! 4587: make sfflsbuf.o ! 4588: make sfio/sfflsbuf.c ! 4589: attr perm ! 4590: attr scan ! 4591: prev sfio/sfhdr.h ! 4592: done sfio/sfflsbuf.c ! 4593: prev sfio/sfflsbuf.c ! 4594: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfflsbuf.c ! 4595: done sfflsbuf.o ! 4596: make sfgetd.o ! 4597: make sfio/sfgetd.c ! 4598: attr perm ! 4599: attr scan ! 4600: prev sfio/sfhdr.h ! 4601: done sfio/sfgetd.c ! 4602: prev sfio/sfgetd.c ! 4603: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfgetd.c ! 4604: done sfgetd.o ! 4605: make sfgetl.o ! 4606: make sfio/sfgetl.c ! 4607: attr perm ! 4608: attr scan ! 4609: prev sfio/sfhdr.h ! 4610: done sfio/sfgetl.c ! 4611: prev sfio/sfgetl.c ! 4612: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfgetl.c ! 4613: done sfgetl.o ! 4614: make sfgets.o ! 4615: make sfio/sfgets.c ! 4616: attr perm ! 4617: attr scan ! 4618: prev sfio/sfhdr.h ! 4619: done sfio/sfgets.c ! 4620: prev sfio/sfgets.c ! 4621: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfgets.c ! 4622: done sfgets.o ! 4623: make sfgetu.o ! 4624: make sfio/sfgetu.c ! 4625: attr perm ! 4626: attr scan ! 4627: prev sfio/sfhdr.h ! 4628: done sfio/sfgetu.c ! 4629: prev sfio/sfgetu.c ! 4630: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfgetu.c ! 4631: done sfgetu.o ! 4632: make sfllen.o ! 4633: make sfio/sfllen.c ! 4634: attr perm ! 4635: attr scan ! 4636: prev sfio/sfhdr.h ! 4637: done sfio/sfllen.c ! 4638: prev sfio/sfllen.c ! 4639: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfllen.c ! 4640: done sfllen.o ! 4641: make sfmode.o ! 4642: make sfio/sfmode.c ! 4643: attr perm ! 4644: attr scan ! 4645: prev sfio/sfhdr.h ! 4646: done sfio/sfmode.c ! 4647: prev sfio/sfmode.c ! 4648: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfmode.c ! 4649: done sfmode.o ! 4650: make sfmove.o ! 4651: make sfio/sfmove.c ! 4652: attr perm ! 4653: attr scan ! 4654: prev sfio/sfhdr.h ! 4655: done sfio/sfmove.c ! 4656: prev sfio/sfmove.c ! 4657: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfmove.c ! 4658: done sfmove.o ! 4659: make sfnew.o ! 4660: make sfio/sfnew.c ! 4661: attr perm ! 4662: attr scan ! 4663: prev sfio/sfhdr.h ! 4664: done sfio/sfnew.c ! 4665: prev sfio/sfnew.c ! 4666: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfnew.c ! 4667: done sfnew.o ! 4668: make sfnotify.o ! 4669: make sfio/sfnotify.c ! 4670: attr perm ! 4671: attr scan ! 4672: prev sfio/sfhdr.h ! 4673: done sfio/sfnotify.c ! 4674: prev sfio/sfnotify.c ! 4675: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfnotify.c ! 4676: done sfnotify.o ! 4677: make sfnputc.o ! 4678: make sfio/sfnputc.c ! 4679: attr perm ! 4680: attr scan ! 4681: prev sfio/sfhdr.h ! 4682: done sfio/sfnputc.c ! 4683: prev sfio/sfnputc.c ! 4684: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfnputc.c ! 4685: done sfnputc.o ! 4686: make sfopen.o ! 4687: make sfio/sfopen.c ! 4688: attr perm ! 4689: attr scan ! 4690: prev sfio/sfhdr.h ! 4691: done sfio/sfopen.c ! 4692: prev sfio/sfopen.c ! 4693: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfopen.c ! 4694: done sfopen.o ! 4695: make sfpeek.o ! 4696: make sfio/sfpeek.c ! 4697: attr perm ! 4698: attr scan ! 4699: prev sfio/sfhdr.h ! 4700: done sfio/sfpeek.c ! 4701: prev sfio/sfpeek.c ! 4702: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfpeek.c ! 4703: done sfpeek.o ! 4704: make sfpool.o ! 4705: make sfio/sfpool.c ! 4706: attr perm ! 4707: attr scan ! 4708: prev sfio/sfhdr.h ! 4709: done sfio/sfpool.c ! 4710: prev sfio/sfpool.c ! 4711: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfpool.c ! 4712: done sfpool.o ! 4713: make sfpopen.o ! 4714: make sfio/sfpopen.c ! 4715: attr perm ! 4716: attr scan ! 4717: prev FEATURE/vfork ! 4718: prev sfio/sfhdr.h ! 4719: done sfio/sfpopen.c ! 4720: prev sfio/sfpopen.c ! 4721: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfpopen.c ! 4722: done sfpopen.o ! 4723: make sfprintf.o ! 4724: make sfio/sfprintf.c ! 4725: attr perm ! 4726: attr scan ! 4727: prev sfio/sfhdr.h ! 4728: done sfio/sfprintf.c ! 4729: prev sfio/sfprintf.c ! 4730: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfprintf.c ! 4731: done sfprintf.o ! 4732: make sfputd.o ! 4733: make sfio/sfputd.c ! 4734: attr perm ! 4735: attr scan ! 4736: prev sfio/sfhdr.h ! 4737: done sfio/sfputd.c ! 4738: prev sfio/sfputd.c ! 4739: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfputd.c ! 4740: done sfputd.o ! 4741: make sfputl.o ! 4742: make sfio/sfputl.c ! 4743: attr perm ! 4744: attr scan ! 4745: prev sfio/sfhdr.h ! 4746: done sfio/sfputl.c ! 4747: prev sfio/sfputl.c ! 4748: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfputl.c ! 4749: done sfputl.o ! 4750: make sfputs.o ! 4751: make sfio/sfputs.c ! 4752: attr perm ! 4753: attr scan ! 4754: prev sfio/sfhdr.h ! 4755: done sfio/sfputs.c ! 4756: prev sfio/sfputs.c ! 4757: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfputs.c ! 4758: done sfputs.o ! 4759: make sfputu.o ! 4760: make sfio/sfputu.c ! 4761: attr perm ! 4762: attr scan ! 4763: prev sfio/sfhdr.h ! 4764: done sfio/sfputu.c ! 4765: prev sfio/sfputu.c ! 4766: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfputu.c ! 4767: done sfputu.o ! 4768: make sfread.o ! 4769: make sfio/sfread.c ! 4770: attr perm ! 4771: attr scan ! 4772: prev sfio/sfhdr.h ! 4773: done sfio/sfread.c ! 4774: prev sfio/sfread.c ! 4775: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfread.c ! 4776: done sfread.o ! 4777: make sfscanf.o ! 4778: make sfio/sfscanf.c ! 4779: attr perm ! 4780: attr scan ! 4781: prev sfio/sfhdr.h ! 4782: done sfio/sfscanf.c ! 4783: prev sfio/sfscanf.c ! 4784: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfscanf.c ! 4785: done sfscanf.o ! 4786: make sfseek.o ! 4787: make sfio/sfseek.c ! 4788: attr perm ! 4789: attr scan ! 4790: prev sfio/sfhdr.h ! 4791: done sfio/sfseek.c ! 4792: prev sfio/sfseek.c ! 4793: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfseek.c ! 4794: done sfseek.o ! 4795: make sfsetbuf.o ! 4796: make sfio/sfsetbuf.c ! 4797: attr perm ! 4798: attr scan ! 4799: prev fsinfo.h ! 4800: prev sfio/sfhdr.h ! 4801: done sfio/sfsetbuf.c ! 4802: prev sfio/sfsetbuf.c ! 4803: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfsetbuf.c ! 4804: done sfsetbuf.o ! 4805: make sfsetdisc.o ! 4806: make sfio/sfsetdisc.c ! 4807: attr perm ! 4808: attr scan ! 4809: prev sfio/sfhdr.h ! 4810: done sfio/sfsetdisc.c ! 4811: prev sfio/sfsetdisc.c ! 4812: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfsetdisc.c ! 4813: done sfsetdisc.o ! 4814: make sfset.o ! 4815: make sfio/sfset.c ! 4816: attr perm ! 4817: attr scan ! 4818: prev sfio/sfhdr.h ! 4819: done sfio/sfset.c ! 4820: prev sfio/sfset.c ! 4821: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfset.c ! 4822: done sfset.o ! 4823: make sfstack.o ! 4824: make sfio/sfstack.c ! 4825: attr perm ! 4826: attr scan ! 4827: prev sfio/sfhdr.h ! 4828: done sfio/sfstack.c ! 4829: prev sfio/sfstack.c ! 4830: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfstack.c ! 4831: done sfstack.o ! 4832: make sfstrtod.o ! 4833: make sfio/sfstrtod.c ! 4834: attr perm ! 4835: attr scan ! 4836: prev sfio/sfhdr.h ! 4837: done sfio/sfstrtod.c ! 4838: prev sfio/sfstrtod.c ! 4839: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfstrtod.c ! 4840: done sfstrtod.o ! 4841: make sfsync.o ! 4842: make sfio/sfsync.c ! 4843: attr perm ! 4844: attr scan ! 4845: prev sfio/sfhdr.h ! 4846: done sfio/sfsync.c ! 4847: prev sfio/sfsync.c ! 4848: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfsync.c ! 4849: done sfsync.o ! 4850: make sftable.o ! 4851: make sfio/sftable.c ! 4852: attr perm ! 4853: attr scan ! 4854: prev sfio/sfhdr.h ! 4855: done sfio/sftable.c ! 4856: prev sfio/sftable.c ! 4857: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sftable.c ! 4858: done sftable.o ! 4859: make sftell.o ! 4860: make sfio/sftell.c ! 4861: attr perm ! 4862: attr scan ! 4863: prev sfio/sfhdr.h ! 4864: done sfio/sftell.c ! 4865: prev sfio/sftell.c ! 4866: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sftell.c ! 4867: done sftell.o ! 4868: make sftmpfile.o ! 4869: make sfio/sftmpfile.c ! 4870: attr perm ! 4871: attr scan ! 4872: prev sfio/sfhdr.h ! 4873: done sfio/sftmpfile.c ! 4874: prev sfio/sftmpfile.c ! 4875: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sftmpfile.c ! 4876: done sftmpfile.o ! 4877: make sfungetc.o ! 4878: make sfio/sfungetc.c ! 4879: attr perm ! 4880: attr scan ! 4881: prev sfio/sfhdr.h ! 4882: done sfio/sfungetc.c ! 4883: prev sfio/sfungetc.c ! 4884: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfungetc.c ! 4885: done sfungetc.o ! 4886: make sfvprintf.o ! 4887: make sfio/sfvprintf.c ! 4888: attr perm ! 4889: attr scan ! 4890: prev sfio/sfhdr.h ! 4891: done sfio/sfvprintf.c ! 4892: prev sfio/sfvprintf.c ! 4893: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfvprintf.c ! 4894: done sfvprintf.o ! 4895: make sfvscanf.o ! 4896: make sfio/sfvscanf.c ! 4897: attr perm ! 4898: attr scan ! 4899: prev sfio/sfhdr.h ! 4900: done sfio/sfvscanf.c ! 4901: prev sfio/sfvscanf.c ! 4902: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfvscanf.c ! 4903: done sfvscanf.o ! 4904: make sfwrite.o ! 4905: make sfio/sfwrite.c ! 4906: attr perm ! 4907: attr scan ! 4908: prev sfio/sfhdr.h ! 4909: done sfio/sfwrite.c ! 4910: prev sfio/sfwrite.c ! 4911: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/sfwrite.c ! 4912: done sfwrite.o ! 4913: make _sfclearerr.o ! 4914: make sfio/_sfclearerr.c ! 4915: attr perm ! 4916: attr scan ! 4917: make sfio/_sfhdr.h ! 4918: attr perm ! 4919: attr scan ! 4920: attr impl ! 4921: prev sfio/sfhdr.h ! 4922: done sfio/_sfhdr.h ! 4923: done sfio/_sfclearerr.c ! 4924: prev sfio/_sfclearerr.c ! 4925: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfclearerr.c ! 4926: done _sfclearerr.o ! 4927: make _sffileno.o ! 4928: make sfio/_sffileno.c ! 4929: attr perm ! 4930: attr scan ! 4931: prev sfio/_sfhdr.h ! 4932: done sfio/_sffileno.c ! 4933: prev sfio/_sffileno.c ! 4934: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sffileno.c ! 4935: done _sffileno.o ! 4936: make _sforigin.o ! 4937: make sfio/_sforigin.c ! 4938: attr perm ! 4939: attr scan ! 4940: prev sfio/_sfhdr.h ! 4941: done sfio/_sforigin.c ! 4942: prev sfio/_sforigin.c ! 4943: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sforigin.c ! 4944: done _sforigin.o ! 4945: make _sfputl.o ! 4946: make sfio/_sfputl.c ! 4947: attr perm ! 4948: attr scan ! 4949: prev sfio/_sfhdr.h ! 4950: done sfio/_sfputl.c ! 4951: prev sfio/_sfputl.c ! 4952: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfputl.c ! 4953: done _sfputl.o ! 4954: make _sftmp.o ! 4955: make sfio/_sftmp.c ! 4956: attr perm ! 4957: attr scan ! 4958: prev sfio/_sfhdr.h ! 4959: done sfio/_sftmp.c ! 4960: prev sfio/_sftmp.c ! 4961: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sftmp.c ! 4962: done _sftmp.o ! 4963: make _sfecvt.o ! 4964: make sfio/_sfecvt.c ! 4965: attr perm ! 4966: attr scan ! 4967: prev sfio/_sfhdr.h ! 4968: done sfio/_sfecvt.c ! 4969: prev sfio/_sfecvt.c ! 4970: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfecvt.c ! 4971: done _sfecvt.o ! 4972: make _sfgetc.o ! 4973: make sfio/_sfgetc.c ! 4974: attr perm ! 4975: attr scan ! 4976: prev sfio/_sfhdr.h ! 4977: done sfio/_sfgetc.c ! 4978: prev sfio/_sfgetc.c ! 4979: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfgetc.c ! 4980: done _sfgetc.o ! 4981: make _sfpeek.o ! 4982: make sfio/_sfpeek.c ! 4983: attr perm ! 4984: attr scan ! 4985: prev sfio/_sfhdr.h ! 4986: done sfio/_sfpeek.c ! 4987: prev sfio/_sfpeek.c ! 4988: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfpeek.c ! 4989: done _sfpeek.o ! 4990: make _sfputu.o ! 4991: make sfio/_sfputu.c ! 4992: attr perm ! 4993: attr scan ! 4994: prev sfio/_sfhdr.h ! 4995: done sfio/_sfputu.c ! 4996: prev sfio/_sfputu.c ! 4997: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfputu.c ! 4998: done _sfputu.o ! 4999: make _sfulen.o ! 5000: make sfio/_sfulen.c ! 5001: attr perm ! 5002: attr scan ! 5003: prev sfio/_sfhdr.h ! 5004: done sfio/_sfulen.c ! 5005: prev sfio/_sfulen.c ! 5006: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfulen.c ! 5007: done _sfulen.o ! 5008: make _sfeof.o ! 5009: make sfio/_sfeof.c ! 5010: attr perm ! 5011: attr scan ! 5012: prev sfio/_sfhdr.h ! 5013: done sfio/_sfeof.c ! 5014: prev sfio/_sfeof.c ! 5015: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfeof.c ! 5016: done _sfeof.o ! 5017: make _sfgetl.o ! 5018: make sfio/_sfgetl.c ! 5019: attr perm ! 5020: attr scan ! 5021: prev sfio/_sfhdr.h ! 5022: done sfio/_sfgetl.c ! 5023: prev sfio/_sfgetl.c ! 5024: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfgetl.c ! 5025: done _sfgetl.o ! 5026: make _sfpushed.o ! 5027: make sfio/_sfpushed.c ! 5028: attr perm ! 5029: attr scan ! 5030: prev sfio/_sfhdr.h ! 5031: done sfio/_sfpushed.c ! 5032: prev sfio/_sfpushed.c ! 5033: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfpushed.c ! 5034: done _sfpushed.o ! 5035: make _sfslen.o ! 5036: make sfio/_sfslen.c ! 5037: attr perm ! 5038: attr scan ! 5039: prev sfio/_sfhdr.h ! 5040: done sfio/_sfslen.c ! 5041: prev sfio/_sfslen.c ! 5042: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfslen.c ! 5043: done _sfslen.o ! 5044: make _sferror.o ! 5045: make sfio/_sferror.c ! 5046: attr perm ! 5047: attr scan ! 5048: prev sfio/_sfhdr.h ! 5049: done sfio/_sferror.c ! 5050: prev sfio/_sferror.c ! 5051: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sferror.c ! 5052: done _sferror.o ! 5053: make _sfgetu.o ! 5054: make sfio/_sfgetu.c ! 5055: attr perm ! 5056: attr scan ! 5057: prev sfio/_sfhdr.h ! 5058: done sfio/_sfgetu.c ! 5059: prev sfio/_sfgetu.c ! 5060: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfgetu.c ! 5061: done _sfgetu.o ! 5062: make _sfputc.o ! 5063: make sfio/_sfputc.c ! 5064: attr perm ! 5065: attr scan ! 5066: prev sfio/_sfhdr.h ! 5067: done sfio/_sfputc.c ! 5068: prev sfio/_sfputc.c ! 5069: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfputc.c ! 5070: done _sfputc.o ! 5071: make _sffcvt.o ! 5072: make sfio/_sffcvt.c ! 5073: attr perm ! 5074: attr scan ! 5075: prev sfio/_sfhdr.h ! 5076: done sfio/_sffcvt.c ! 5077: prev sfio/_sffcvt.c ! 5078: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sffcvt.c ! 5079: done _sffcvt.o ! 5080: make _sfputd.o ! 5081: make sfio/_sfputd.c ! 5082: attr perm ! 5083: attr scan ! 5084: prev sfio/_sfhdr.h ! 5085: done sfio/_sfputd.c ! 5086: prev sfio/_sfputd.c ! 5087: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfputd.c ! 5088: done _sfputd.o ! 5089: make _sfsync.o ! 5090: make sfio/_sfsync.c ! 5091: attr perm ! 5092: attr scan ! 5093: prev sfio/_sfhdr.h ! 5094: done sfio/_sfsync.c ! 5095: prev sfio/_sfsync.c ! 5096: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c sfio/_sfsync.c ! 5097: done _sfsync.o ! 5098: make stdgets.o ! 5099: make stdio/stdgets.c ! 5100: attr perm ! 5101: attr scan ! 5102: prev include/stdio.h ! 5103: prev sfio/sfhdr.h ! 5104: done stdio/stdgets.c ! 5105: prev stdio/stdgets.c ! 5106: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdgets.c ! 5107: done stdgets.o ! 5108: make stdprintf.o ! 5109: make stdio/stdprintf.c ! 5110: attr perm ! 5111: attr scan ! 5112: prev include/stdio.h ! 5113: prev sfio/sfhdr.h ! 5114: done stdio/stdprintf.c ! 5115: prev stdio/stdprintf.c ! 5116: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdprintf.c ! 5117: done stdprintf.o ! 5118: make stdscanf.o ! 5119: make stdio/stdscanf.c ! 5120: attr perm ! 5121: attr scan ! 5122: prev include/stdio.h ! 5123: prev sfio/sfhdr.h ! 5124: done stdio/stdscanf.c ! 5125: prev stdio/stdscanf.c ! 5126: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdscanf.c ! 5127: done stdscanf.o ! 5128: make stdsetvbuf.o ! 5129: make stdio/stdsetvbuf.c ! 5130: attr perm ! 5131: attr scan ! 5132: prev include/stdio.h ! 5133: prev sfio/sfhdr.h ! 5134: done stdio/stdsetvbuf.c ! 5135: prev stdio/stdsetvbuf.c ! 5136: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdsetvbuf.c ! 5137: done stdsetvbuf.o ! 5138: make stdsprintf.o ! 5139: make stdio/stdsprintf.c ! 5140: attr perm ! 5141: attr scan ! 5142: prev include/stdio.h ! 5143: prev sfio/sfhdr.h ! 5144: done stdio/stdsprintf.c ! 5145: prev stdio/stdsprintf.c ! 5146: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdsprintf.c ! 5147: done stdsprintf.o ! 5148: make stdvsprintf.o ! 5149: make stdio/stdvsprintf.c ! 5150: attr perm ! 5151: attr scan ! 5152: prev sfio/sfhdr.h ! 5153: done stdio/stdvsprintf.c ! 5154: prev stdio/stdvsprintf.c ! 5155: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdvsprintf.c ! 5156: done stdvsprintf.o ! 5157: make stdvsscanf.o ! 5158: make stdio/stdvsscanf.c ! 5159: attr perm ! 5160: attr scan ! 5161: prev sfio/sfhdr.h ! 5162: done stdio/stdvsscanf.c ! 5163: prev stdio/stdvsscanf.c ! 5164: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/stdvsscanf.c ! 5165: done stdvsscanf.o ! 5166: make sprintf.o ! 5167: make stdio/sprintf.c ! 5168: attr perm ! 5169: attr scan ! 5170: prev stdio/stdsprintf.c ! 5171: prev include/stdio.h ! 5172: prev sfio/sfhdr.h ! 5173: done stdio/sprintf.c ! 5174: prev stdio/sprintf.c ! 5175: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/sprintf.c ! 5176: done sprintf.o ! 5177: make vsprintf.o ! 5178: make stdio/vsprintf.c ! 5179: attr perm ! 5180: attr scan ! 5181: prev stdio/stdvsprintf.c ! 5182: prev include/stdio.h ! 5183: prev sfio/sfhdr.h ! 5184: done stdio/vsprintf.c ! 5185: prev stdio/vsprintf.c ! 5186: exec $CC $CCFLAGS -I. -Isfio -Iinclude "$LIBX" -c stdio/vsprintf.c ! 5187: done vsprintf.o ! 5188: exec $AR cr libx.a opendir.o readdir.o rewinddir.o seekdir.o telldir.o getcwd.o setcwd.o getshell.o hashalloc.o hashdump.o hashfree.o hashlook.o hashscan.o hashsize.o hashwalk.o memhash.o memsum.o strhash.o strsum.o cvtatoe.o cvtetoa.o chresc.o ctoi.o streval.o strmatch.o strcopy.o strmode.o stresc.o stropt.o strtape.o tok.o pathaccess.o pathcanon.o pathcheck.o pathpath.o pathkey.o pathprobe.o pathtemp.o cmdargs.o fs3d.o ftwalk.o perror.o putenv.o calloc.o malloc.o getnamval.o optget.o hsort.o query.o error.o liberror.o strerror.o strsignal.o fmtelapsed.o fmtls.o fmtmode.o fmtperm.o fmtuid.o fmtgid.o strelapsed.o strperm.o struid.o strgid.o stack.o stak.o memswap.o gethalf.o getlong.o puthalf.o putlong.o fgetline.o sigcrit.o sigunblock.o cmdopen.o cmdclose.o cmdrun.o cmdwait.o cmdkill.o recomp.o reerror.o reexec.o resub.o tmdate.o tmfix.o tmform.o tmgoff.o tminit.o tmleap.o tmlex.o tmmake.o tmpoff.o tmtime.o tmtype.o tmword.o tmzone.o vecargs.o vecfile.o vecfree.o vecload.o vecstring.o getsymlink.o putsymlink.o univdata.o getuniv.o setuniv.o winsize.o fclex.o sigdata.o touch.o lpstat.o memcmp.o memcpy.o memdup.o memset.o mkdir.o rmdir.o remove.o rename.o link.o unlink.o strtok.o strspn.o strpbrk.o strdup.o strchr.o strrchr.o strtod.o strtol.o strton.o sigsetmask.o mktemp.o tmpnam.o vfork.o killpg.o lstat.o readlink.o symlink.o setpgid.o atexit.o getdents.o getwd.o copy.o dup2.o errno.o sgetl.o sputl.o getpreroot.o ispreroot.o realopen.o setpreroot.o mount.o popen.o system.o iblocks.o modedata.o tmdata.o sfclose.o sfclrlock.o sfcvt.o sfdlen.o sfdopen.o sfexcept.o sfextern.o sffilbuf.o sfflsbuf.o sfgetd.o sfgetl.o sfgets.o sfgetu.o sfllen.o sfmode.o sfmove.o sfnew.o sfnotify.o sfnputc.o sfopen.o sfpeek.o sfpool.o sfpopen.o sfprintf.o sfputd.o sfputl.o sfputs.o sfputu.o sfread.o sfscanf.o sfseek.o sfsetbuf.o sfsetdisc.o sfset.o sfstack.o sfstrtod.o sfsync.o sftable.o sftell.o sftmpfile.o sfungetc.o sfvprintf.o sfvscanf.o sfwrite.o _sfclearerr.o _sffileno.o _sforigin.o _sfputl.o _sftmp.o _sfecvt.o _sfgetc.o _sfpeek.o _sfputu.o _sfulen.o _sfeof.o _sfgetl.o _sfpushed.o _sfslen.o _sferror.o _sfgetu.o _sfputc.o _sffcvt.o _sfputd.o _sfsync.o stdgets.o stdprintf.o stdscanf.o stdsetvbuf.o stdsprintf.o stdvsprintf.o stdvsscanf.o sprintf.o vsprintf.o ! 5189: exec (ranlib libx.a) >/dev/null 2>&1 || true ! 5190: done libx.a ! 5191: prev mkhdr ! 5192: prev genhdr ! 5193: done all ! 5194: make $INSTALLROOT/lib ! 5195: exec if test ! -d $INSTALLROOT/lib ! 5196: .... then rm -rf $INSTALLROOT/lib && mkdir $INSTALLROOT/lib || { rm -rf $INSTALLROOT && mkdir $INSTALLROOT && mkdir $INSTALLROOT/lib ;} || true ! 5197: .... fi ! 5198: done $INSTALLROOT/lib ! 5199: make $INSTALLROOT/lib/libx.a ! 5200: attr arch ! 5201: prev libx.a ! 5202: exec { cp libx.a $INSTALLROOT/lib/libx.a 2>/dev/null ;} || true ! 5203: exec (ranlib $INSTALLROOT/lib/libx.a) >/dev/null 2>&1 || true ! 5204: done $INSTALLROOT/lib/libx.a ! 5205: make $INSTALLROOT/man/man3 ! 5206: exec if test ! -d $INSTALLROOT/man/man3 ! 5207: .... then rm -rf $INSTALLROOT/man/man3 && mkdir $INSTALLROOT/man/man3 || { rm -rf $INSTALLROOT/man && mkdir $INSTALLROOT/man && mkdir $INSTALLROOT/man/man3 ;} || true ! 5208: .... fi ! 5209: done $INSTALLROOT/man/man3 ! 5210: make $INSTALLROOT/man/man3/hash.3 ! 5211: make man/hash.3 ! 5212: attr perm ! 5213: done man/hash.3 ! 5214: exec { cp man/hash.3 $INSTALLROOT/man/man3/hash.3 2>/dev/null ;} || true ! 5215: done $INSTALLROOT/man/man3/hash.3 ! 5216: make $INSTALLROOT/man/man3/ftwalk.3 ! 5217: make man/ftwalk.3 ! 5218: attr perm ! 5219: done man/ftwalk.3 ! 5220: exec { cp man/ftwalk.3 $INSTALLROOT/man/man3/ftwalk.3 2>/dev/null ;} || true ! 5221: done $INSTALLROOT/man/man3/ftwalk.3 ! 5222: make $INSTALLROOT/man/man3/re.3 ! 5223: make man/re.3 ! 5224: attr perm ! 5225: done man/re.3 ! 5226: exec { cp man/re.3 $INSTALLROOT/man/man3/re.3 2>/dev/null ;} || true ! 5227: done $INSTALLROOT/man/man3/re.3 ! 5228: make $INSTALLROOT/man/man3/sfio.3 ! 5229: make man/sfio.3 ! 5230: attr perm ! 5231: done man/sfio.3 ! 5232: exec { cp man/sfio.3 $INSTALLROOT/man/man3/sfio.3 2>/dev/null ;} || true ! 5233: done $INSTALLROOT/man/man3/sfio.3 ! 5234: make $INSTALLROOT/man/man3/stak.3 ! 5235: make man/stak.3 ! 5236: attr perm ! 5237: done man/stak.3 ! 5238: exec { cp man/stak.3 $INSTALLROOT/man/man3/stak.3 2>/dev/null ;} || true ! 5239: done $INSTALLROOT/man/man3/stak.3 ! 5240: make $INSTALLROOT/man/man3/tm.3 ! 5241: make man/tm.3 ! 5242: attr perm ! 5243: done man/tm.3 ! 5244: exec { cp man/tm.3 $INSTALLROOT/man/man3/tm.3 2>/dev/null ;} || true ! 5245: done $INSTALLROOT/man/man3/tm.3 ! 5246: make $INSTALLROOT/include ! 5247: exec if test ! -d $INSTALLROOT/include ! 5248: .... then rm -rf $INSTALLROOT/include && mkdir $INSTALLROOT/include || { rm -rf $INSTALLROOT && mkdir $INSTALLROOT && mkdir $INSTALLROOT/include ;} || true ! 5249: .... fi ! 5250: done $INSTALLROOT/include ! 5251: make $INSTALLROOT/include/error.h ! 5252: prev include/error.h ! 5253: exec { cp include/error.h $INSTALLROOT/include/error.h 2>/dev/null ;} || true ! 5254: done $INSTALLROOT/include/error.h ! 5255: make $INSTALLROOT/include/ftwalk.h ! 5256: prev include/ftwalk.h ! 5257: exec { cp include/ftwalk.h $INSTALLROOT/include/ftwalk.h 2>/dev/null ;} || true ! 5258: done $INSTALLROOT/include/ftwalk.h ! 5259: make $INSTALLROOT/include/hash.h ! 5260: prev include/hash.h ! 5261: exec { cp include/hash.h $INSTALLROOT/include/hash.h 2>/dev/null ;} || true ! 5262: done $INSTALLROOT/include/hash.h ! 5263: make $INSTALLROOT/include/hashpart.h ! 5264: exec { cp include/hashpart.h $INSTALLROOT/include/hashpart.h 2>/dev/null ;} || true ! 5265: done $INSTALLROOT/include/hashpart.h ! 5266: make $INSTALLROOT/include/ls.h ! 5267: exec { cp include/ls.h $INSTALLROOT/include/ls.h 2>/dev/null ;} || true ! 5268: done $INSTALLROOT/include/ls.h ! 5269: make $INSTALLROOT/include/namval.h ! 5270: prev include/namval.h ! 5271: exec { cp include/namval.h $INSTALLROOT/include/namval.h 2>/dev/null ;} || true ! 5272: done $INSTALLROOT/include/namval.h ! 5273: make $INSTALLROOT/include/option.h ! 5274: exec { cp include/option.h $INSTALLROOT/include/option.h 2>/dev/null ;} || true ! 5275: done $INSTALLROOT/include/option.h ! 5276: make $INSTALLROOT/include/re.h ! 5277: prev include/re.h ! 5278: exec { cp include/re.h $INSTALLROOT/include/re.h 2>/dev/null ;} || true ! 5279: done $INSTALLROOT/include/re.h ! 5280: make $INSTALLROOT/include/sfio.h ! 5281: exec { cp include/sfio.h $INSTALLROOT/include/sfio.h 2>/dev/null ;} || true ! 5282: done $INSTALLROOT/include/sfio.h ! 5283: make $INSTALLROOT/include/stack.h ! 5284: prev include/stack.h ! 5285: exec { cp include/stack.h $INSTALLROOT/include/stack.h 2>/dev/null ;} || true ! 5286: done $INSTALLROOT/include/stack.h ! 5287: make $INSTALLROOT/include/stak.h ! 5288: prev include/stak.h ! 5289: exec { cp include/stak.h $INSTALLROOT/include/stak.h 2>/dev/null ;} || true ! 5290: done $INSTALLROOT/include/stak.h ! 5291: make $INSTALLROOT/include/stdio.h ! 5292: prev include/stdio.h ! 5293: exec { cp include/stdio.h $INSTALLROOT/include/stdio.h 2>/dev/null ;} || true ! 5294: done $INSTALLROOT/include/stdio.h ! 5295: make $INSTALLROOT/include/swap.h ! 5296: prev include/swap.h ! 5297: exec { cp include/swap.h $INSTALLROOT/include/swap.h 2>/dev/null ;} || true ! 5298: done $INSTALLROOT/include/swap.h ! 5299: make $INSTALLROOT/include/tar.h ! 5300: make include/tar.h ! 5301: attr perm ! 5302: done include/tar.h ! 5303: exec { cp include/tar.h $INSTALLROOT/include/tar.h 2>/dev/null ;} || true ! 5304: done $INSTALLROOT/include/tar.h ! 5305: make $INSTALLROOT/include/tm.h ! 5306: prev include/tm.h ! 5307: exec { cp include/tm.h $INSTALLROOT/include/tm.h 2>/dev/null ;} || true ! 5308: done $INSTALLROOT/include/tm.h ! 5309: make $INSTALLROOT/include/align.h ! 5310: make align.h ! 5311: prev mkhdr ! 5312: prev genhdr ! 5313: exec mkhdr align " genhdr" "$CC" $CCFLAGS > align.h ! 5314: done align.h ! 5315: exec { cp align.h $INSTALLROOT/include/align.h 2>/dev/null ;} || true ! 5316: done $INSTALLROOT/include/align.h ! 5317: make $INSTALLROOT/include/dirent.h ! 5318: prev dirent.h ! 5319: exec { cp dirent.h $INSTALLROOT/include/dirent.h 2>/dev/null ;} || true ! 5320: done $INSTALLROOT/include/dirent.h ! 5321: make $INSTALLROOT/include/fsinfo.h ! 5322: prev fsinfo.h ! 5323: exec { cp fsinfo.h $INSTALLROOT/include/fsinfo.h 2>/dev/null ;} || true ! 5324: done $INSTALLROOT/include/fsinfo.h ! 5325: make $INSTALLROOT/include/limits.h ! 5326: prev limits.h ! 5327: exec { cp limits.h $INSTALLROOT/include/limits.h 2>/dev/null ;} || true ! 5328: done $INSTALLROOT/include/limits.h ! 5329: make $INSTALLROOT/include/sigdata.h ! 5330: prev sigdata.h ! 5331: exec { cp sigdata.h $INSTALLROOT/include/sigdata.h 2>/dev/null ;} || true ! 5332: done $INSTALLROOT/include/sigdata.h ! 5333: make $INSTALLROOT/include/lcldirent.h ! 5334: prev lcldirent.h ! 5335: exec { cp lcldirent.h $INSTALLROOT/include/lcldirent.h 2>/dev/null ;} || true ! 5336: done $INSTALLROOT/include/lcldirent.h ! 5337: make $INSTALLROOT/include/lcllimits.h ! 5338: prev lcllimits.h ! 5339: exec { cp lcllimits.h $INSTALLROOT/include/lcllimits.h 2>/dev/null ;} || true ! 5340: done $INSTALLROOT/include/lcllimits.h ! 5341: make $INSTALLROOT/include/lclparam.h ! 5342: prev lclparam.h ! 5343: exec { cp lclparam.h $INSTALLROOT/include/lclparam.h 2>/dev/null ;} || true ! 5344: done $INSTALLROOT/include/lclparam.h ! 5345: make $INSTALLROOT/include/lclstdio.h ! 5346: prev lclstdio.h ! 5347: exec { cp lclstdio.h $INSTALLROOT/include/lclstdio.h 2>/dev/null ;} || true ! 5348: done $INSTALLROOT/include/lclstdio.h ! 5349: make $INSTALLROOT/include/preroot.h ! 5350: prev preroot.h ! 5351: exec { cp preroot.h $INSTALLROOT/include/preroot.h 2>/dev/null ;} || true ! 5352: done $INSTALLROOT/include/preroot.h ! 5353: make $INSTALLROOT/include/sig.h ! 5354: prev sig.h ! 5355: exec { cp sig.h $INSTALLROOT/include/sig.h 2>/dev/null ;} || true ! 5356: done $INSTALLROOT/include/sig.h ! 5357: make $INSTALLROOT/include/ttyinfo.h ! 5358: prev ttyinfo.h ! 5359: exec { cp ttyinfo.h $INSTALLROOT/include/ttyinfo.h 2>/dev/null ;} || true ! 5360: done $INSTALLROOT/include/ttyinfo.h ! 5361: done install
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.