Annotation of researchv10no/libc/stdio/ostdio/olibcmkfile, revision 1.1.1.1

1.1       root        1: #
                      2: #      to add a file, do two things:
                      3: #      add a line saying the name of the archive element
                      4: #      and add a line at end of file saying where the source is.
                      5: #
                      6: NPROC=2
                      7: L=libc.a
                      8: OBJ=$L(_assert.o) $L(_cleanup.o) $L(_exit.o) $L(_printnum.o) $L(abort.o)\
                      9:        $L(LL.o) $L(abs.o) $L(access.o) $L(acct.o) $L(alarm.o)\
                     10:        $L(asin.o) $L(atan.o) $L(atexit.o) $L(atof.o) $L(atoi.o) $L(atol.o)\
                     11:        $L(biasclock.o) $L(calloc.o) $L(cerror.o)\
                     12:        $L(chdir.o) $L(chmod.o) $L(chown.o) $L(chroot.o) $L(chrtab.o)\
                     13:        $L(close.o) $L(closedir.o) $L(clrerr.o) $L(creat.o) $L(crypt.o) $L(ctime.o)\
                     14:        $L(cttyname.o) $L(ctype.o) $L(data.o) $L(dialout.o) $L(dirread.o)\
                     15:        $L(doprint.o) $L(doprnt.o) $L(doscan.o)\
                     16:        $L(dup.o) $L(ecvt.o) $L(erf.o) $L(errlst.o) $L(execl.o) $L(execle.o)\
                     17:        $L(execv.o) $L(execve.o) $L(execvp.o) $L(exit.o) $L(exp.o) $L(fabs.o) $L(fchmod.o)\
                     18:        $L(fchown.o) $L(fdopen.o) $L(fgetc.o) $L(fgets.o) $L(filbuf.o)\
                     19:        $L(fioclose.o) $L(fioflush.o) $L(fiogetc.o) $L(fioinit.o)\
                     20:        $L(fiofillbuf.o) $L(fioputc.o)\
                     21:        $L(fiordline.o) $L(fioread.o) $L(fioseek.o) $L(fioundo.o) $L(fioprint.o)\
                     22:        $L(fiowrite.o) $L(fiotie.o) $L(floor.o)\
                     23:        $L(fmount.o) $L(funmount.o)\
                     24:        $L(flsbuf.o) $L(fmod.o) $L(fopen.o) $L(fork.o) $L(fprintf.o) $L(fputc.o)\
                     25:        $L(fputs.o) $L(freopen.o) $L(frexp.o) $L(fseek.o) $L(fstab.o) $L(fstat.o)\
                     26:        $L(ftell.o) $L(ftw.o) $L(galloc.o) $L(gamma.o) $L(gcd.o)\
                     27:        $L(gcvt.o) $L(getchar.o)\
                     28:        $L(getenv.o) $L(getgid.o) $L(getgrent.o) $L(getgrgid.o)\
                     29:        $L(getfields.o) $L(getflags.o) $L(getgroups.o)\
                     30:        $L(getgrnam.o) $L(getlog.o) $L(getlogin.o) $L(getopt.o) $L(getpass.o)\
                     31:        $L(getpid.o) $L(getpwent.o) $L(getpwnam.o) $L(getpwuid.o)\
                     32:        $L(getshares.o) $L(getshput.o) $L(getuid.o)\
                     33:        $L(getw.o) $L(getwd.o) $L(huff.o) $L(hypot.o)\
                     34:        $L(ioctl.o) $L(iread.o) $L(isatty.o)\
                     35:        $L(jterm.o) $L(besj0.o) $L(besj1.o)\
                     36:        $L(besjn.o) $L(kill.o) $L(l3tol.o) $L(lcm.o) $L(ldexp.o)\
                     37:        $L(linedis.o) $L(link.o)\
                     38:        $L(label.o) $L(limits.o)\
                     39:        $L(log.o) $L(lseek.o) $L(llseek.o) $L(lstat.o) $L(ltol3.o)\
                     40:        $L(malloc.o) $L(max.o) $L(mcount.o) $L(memccpy.o) $L(memchr.o) $L(memcmp.o)\
                     41:        $L(memcpy.o) $L(memmove.o) $L(memset.o) $L(min.o) $L(mkdir.o) $L(mknod.o) $L(mktemp.o)\
                     42:        $L(modf.o) $L(mon.o) $L(nametty.o) $L(nap.o) $L(nice.o) $L(nlist.o)\
                     43:        $L(onexit.o) $L(open.o) $L(opendir.o) $L(openshares.o) $L(pdirread.o)\
                     44:        $L(perror.o) $L(pipe.o) $L(popen.o) $L(pow.o) $L(pow10.o)\
                     45:        $L(print.o) $L(printf.o)\
                     46:        $L(prof.o) $L(putchar.o) $L(puts.o)\
                     47:        $L(putshares.o) $L(putw.o) $L(qsort.o)\
                     48:        $L(rand.o) $L(rdwr.o) $L(read.o) $L(readdir.o) $L(readlink.o) $L(reboot.o)\
                     49:        $L(regcomp.o) $L(regerror.o) $L(regexec.o) $L(regsub.o) $L(rew.o)\
                     50:        $L(rmdir.o) $L(sbrk.o) $L(scanf.o) $L(seekdir.o)\
                     51:        $L(select.o) $L(setbuf.o) $L(setgid.o) $L(setgroups.o)\
                     52:        $L(setjmp.o) $L(setlimits.o) $L(setpgrp.o)\
                     53:        $L(setruid.o) $L(setuid.o) $L(setupgroups.o) $L(setupshares.o)\
                     54:        $L(sgn.o) $L(signal.o) $L(sin.o)\
                     55:        $L(sinh.o) $L(sleep.o) $L(sprintf.o) $L(sqrt.o) $L(stat.o) $L(stime.o)\
                     56:        $L(strcat.o) $L(strchr.o) $L(strcmp.o) $L(strcpy.o)\
                     57:        $L(strcspn.o) $L(strdup.o) $L(strlen.o) $L(strncat.o)\
                     58:        $L(strncmp.o) $L(strncpy.o) $L(strout.o) $L(strpbrk.o) $L(strrchr.o)\
                     59:        $L(strspn.o) $L(strtok.o) $L(strtol.o) $L(strtoul.o) \
                     60:        $L(stuff.o) $L(swab.o) $L(swapon.o)\
                     61:        $L(symlink.o) $L(sync.o) $L(syscall.o) $L(system.o) $L(tan.o) $L(tanh.o)\
                     62:        $L(telldir.o) $L(time.o) $L(timec.o) $L(times.o) $L(timezone.o) $L(tmpnam.o)\
                     63:        $L(tolower.o) $L(toupper.o) $L(ttyname.o) $L(udiv.o) $L(umask.o)\
                     64:        $L(uname.o) $L(ungetc.o) $L(unlink.o) $L(urem.o) $L(utime.o)\
                     65:        $L(vadvise.o) $L(vlimit.o) $L(vtimes.o) $L(wait.o)\
                     66:        $L(wait3.o) $L(write.o)
                     67: 
                     68: DESTDIR=
                     69: BUILTINS=
                     70: 
                     71: all:V: libc.a libdmalloc.a
                     72: 
                     73: #      goo for no onexit
                     74: #      rm -f libc.a
                     75: #      cd o; ar qc ../libc.a `lorder *.o | tsort`
                     76: #      ar ma flsbuf.o libc.a exit.o
                     77: #      ar m libc.a cleanup.o
                     78: 
                     79: libc.a:Q:      $OBJ
                     80:        unset prereq
                     81:        names=`membername $newprereq`
                     82:        ar rv libc.a $names && rm $names
                     83:        ranlib libc.a
                     84: 
                     85: libdmalloc.a:  gen/malloc.c
                     86:        cp $prereq goo.c
                     87:        $CC $CFLAGS -Ddebug -c goo.c
                     88:        ar rv libdmalloc.a goo.o && rm goo.[co]
                     89: 
                     90: clean:
                     91:        rm -f libc.a libdmalloc.a
                     92: 
                     93: install:V: $DESTDIR/lib/libc.a $DESTDIR/lib/crt0.o $DESTDIR/lib/mcrt0.o\
                     94:                $DESTDIR/usr/lib/libdmalloc.a
                     95: 
                     96: $DESTDIR/lib/libc.a: libc.a
                     97:        cp $target liboc.a
                     98:        cp libc.a $target
                     99:        ranlib $target
                    100: 
                    101: $DESTDIR/lib/crt0.o: crt0.o
                    102:        cp crt0.o $DESTDIR/lib
                    103: 
                    104: $DESTDIR/lib/mcrt0.o: mcrt0.o
                    105:        cp mcrt0.o $DESTDIR/lib
                    106: 
                    107: $DESTDIR/usr/lib/libdmalloc.a: libdmalloc.a
                    108:        cp libdmalloc.a $target
                    109:        ranlib $target
                    110: 
                    111: crt0.o:        csu/crt0.s
                    112:        cc -S csu/crt0.s
                    113: 
                    114: mcrt0.o:       csu/mcrt0.s
                    115:        cc -S csu/mcrt0.s
                    116: 
                    117: $L(%.o):N:     %.o
                    118: 
                    119: %.o:
                    120:        cc -O -c $prereq
                    121:        ld -o $nproc.o -x -r $target && mv $nproc.o $target
                    122: 
                    123: doprnt.o:      stdio/doprnt.S
                    124:        cp stdio/doprnt.S doprnt.c
                    125:        cc -E doprnt.c | as -o doprnt.o
                    126:        ld -o $nproc.o -x -r doprnt.o && mv $nproc.o doprnt.o
                    127:        rm doprnt.c
                    128: 
                    129: errlst.o: gen/errlst.c
                    130:        cc -S gen/errlst.c
                    131:        ed - <gen/:errfix errlst.s
                    132:        as -o errlst.o errlst.s
                    133:        ld -o $nproc.o -x -r errlst.o && mv $nproc.o errlst.o
                    134:        rm errlst.s
                    135: 
                    136: fioclose.o:    fio/fioclose.c /usr/include/fio.h
                    137: fiofillbuf.o:  fio/fiofillbuf.c /usr/include/fio.h
                    138: fioflush.o:    fio/fioflush.c /usr/include/fio.h
                    139: fiogetc.o:     fio/fiogetc.c /usr/include/fio.h
                    140: fioinit.o:     fio/fioinit.c /usr/include/fio.h
                    141: fiotie.o:      fio/fiotie.c /usr/include/fio.h
                    142: fioputc.o:     fio/fioputc.c /usr/include/fio.h
                    143: fioprint.o:    fio/fioprint.c /usr/include/fio.h
                    144: fiordline.o:   fio/fiordline.c /usr/include/fio.h
                    145: fioread.o:     fio/fioread.c /usr/include/fio.h
                    146: fioseek.o:     fio/fioseek.c /usr/include/fio.h
                    147: fioundo.o:     fio/fioundo.c /usr/include/fio.h
                    148: fiowrite.o:    fio/fiowrite.c /usr/include/fio.h
                    149: mcount.o:      gen/mcount.s
                    150: udiv.o:        gen/udiv.s
                    151: urem.o:        gen/urem.s
                    152: _assert.o:     gen/_assert.c
                    153: _cleanup.o:    gen/_cleanup.c /usr/include/libc.h
                    154: _printnum.o:   gen/_printnum.c
                    155: LL.o:          gen/LL.c
                    156: abort.o:       gen/abort.c
                    157: abs.o: gen/abs.s
                    158: atexit.o:      gen/atexit.c /usr/include/libc.h
                    159: atof.o:        gen/atof.s
                    160: atoi.o:        gen/atoi.c
                    161: atol.o:        gen/atol.c
                    162: calloc.o:      gen/calloc.c
                    163: chrtab.o:      gen/chrtab.c
                    164: closedir.o:    gen/closedir.c
                    165: crypt.o:       gen/crypt.c
                    166: ctime.o:       gen/ctime.c
                    167: cttyname.o:    gen/cttyname.c
                    168: ctype.o:       gen/ctype.c
                    169: dialout.o:     gen/dialout.c
                    170: dirread.o:     sys/dirread.s
                    171: doprint.o:     gen/doprint.c
                    172: ecvt.o:        gen/ecvt.c
                    173: execvp.o:      gen/execvp.c
                    174: exit.o:        gen/exit.c
                    175: frexp.o:       gen/frexp.s
                    176: ftw.o: gen/ftw.c
                    177: galloc.o:      gen/galloc.c
                    178: gcd.o: gen/gcd.c
                    179: getenv.o:      gen/getenv.c
                    180: getfields.o:   gen/getfields.c
                    181: getflags.o:    gen/getflags.c
                    182: getlogin.o:    gen/getlogin.c
                    183: getopt.o:      gen/getopt.c
                    184: getshares.o:   gen/getshares.c
                    185: getshput.o:    gen/getshput.c
                    186: getwd.o:       gen/getwd.c
                    187: iread.o:       gen/iread.c
                    188: isatty.o:      gen/isatty.c
                    189: l3tol.o:       gen/l3tol.c
                    190: lcm.o: gen/lcm.c
                    191: ldexp.o:       gen/ldexp.s
                    192: linedis.o:     gen/linedis.c
                    193: ltol3.o:       gen/ltol3.c
                    194: malloc.o:      gen/malloc.c
                    195: max.o: gen/max.c
                    196: memccpy.o:     gen/memccpy.s
                    197: memchr.o:      gen/memchr.s
                    198: memcmp.o:      gen/memcmp.s
                    199: memcpy.o:      gen/memcpy.s
                    200: memmove.o:     gen/memmove.c
                    201: memset.o:      gen/memset.s
                    202: min.o: gen/min.c
                    203: mktemp.o:      gen/mktemp.c
                    204: modf.o:        gen/modf.s
                    205: mon.o: gen/mon.c
                    206: nlist.o:       gen/nlist.c
                    207: nametty.o:     gen/nametty.c
                    208: onexit.o:      gen/onexit.c /usr/include/libc.h
                    209: opendir.o:     gen/opendir.c
                    210: openshares.o:  gen/openshares.c
                    211: pdirread.o:    gen/pdirread.c
                    212: perror.o:      gen/perror.c
                    213: print.o:       gen/print.c
                    214: putshares.o:   gen/putshares.c
                    215: qsort.o:       gen/qsort.c
                    216: rand.o:        gen/rand.c
                    217: readdir.o:     gen/readdir.c
                    218: regcomp.o:     gen/regcomp.c
                    219: regerror.o:    gen/regerror.c
                    220: regexec.o:     gen/regexec.c
                    221: regprog.o:     gen/regprog.h
                    222: regsub.o:      gen/regsub.c
                    223: seekdir.o:     gen/seekdir.c
                    224: setlimits.o:   gen/setlimits.c
                    225: setupgroups.o: gen/setupgroups.c
                    226: setupshares.o: gen/setupshares.c
                    227: sgn.o: gen/sgn.c
                    228: sleep.o:       gen/sleep.c
                    229: strcat.o:      gen/strcat.s
                    230: strchr.o:      gen/strchr.s
                    231: strcmp.o:      gen/strcmp.s
                    232: strcpy.o:      gen/strcpy.s
                    233: strcspn.o:     gen/strcspn.s
                    234: strdup.o:      gen/strdup.c
                    235: strlen.o:      gen/strlen.s
                    236: strncat.o:     gen/strncat.s
                    237: strncmp.o:     gen/strncmp.s
                    238: strncpy.o:     gen/strncpy.s
                    239: strpbrk.o:     gen/strpbrk.s
                    240: strrchr.o:     gen/strrchr.c
                    241: strspn.o:      gen/strspn.s
                    242: strtok.o:      gen/strtok.c
                    243: strtol.o:      gen/strtol.c
                    244: strtoul.o:     gen/strtoul.c
                    245: swab.o:        gen/swab.c
                    246: telldir.o:     gen/telldir.c
                    247: timec.o:       gen/timec.c
                    248: timezone.o:    gen/timezone.c
                    249: tolower.o:     gen/tolower.c
                    250: toupper.o:     gen/toupper.c
                    251: ttyname.o:     gen/ttyname.c
                    252: uname.o:       gen/uname.c
                    253: asin.o:        math/asin.c
                    254: atan.o:        math/atan.c
                    255: erf.o: math/erf.c
                    256: exp.o: math/exp.c
                    257: fabs.o:        math/fabs.s
                    258: floor.o:       math/floor.c
                    259: fmod.o:        math/fmod.c
                    260: gamma.o:       math/gamma.c
                    261: huff.o:                gen/huff.c
                    262: hypot.o:       math/hypot.c
                    263: besj0.o:       math/besj0.c
                    264: besj1.o:       math/besj1.c
                    265: besjn.o:       math/besjn.c
                    266: log.o: math/log.c
                    267: pow.o: math/pow.c
                    268: pow10.o:       math/pow10.c
                    269: sin.o: math/sin.c
                    270: sinh.o:        math/sinh.c
                    271: sqrt.o:        math/sqrt.c
                    272: tan.o: math/tan.c
                    273: tanh.o:        math/tanh.c
                    274: clrerr.o:      stdio/clrerr.c
                    275: data.o:        stdio/data.c
                    276: doprnt.o:      stdio/doprnt.s
                    277: doscan.o:      stdio/doscan.c
                    278: fdopen.o:      stdio/fdopen.c
                    279: fgetc.o:       stdio/fgetc.c
                    280: fgets.o:       stdio/fgets.c
                    281: filbuf.o:      stdio/filbuf.c
                    282: flsbuf.o:      stdio/flsbuf.c
                    283: fopen.o:       stdio/fopen.c
                    284: fprintf.o:     stdio/fprintf.c
                    285: fputc.o:       stdio/fputc.c
                    286: fputs.o:       stdio/fputs.c
                    287: freopen.o:     stdio/freopen.c
                    288: fseek.o:       stdio/fseek.c
                    289: fstab.o:       gen/fstab.c
                    290: ftell.o:       stdio/ftell.c
                    291: gcvt.o:        stdio/gcvt.c
                    292: getchar.o:     stdio/getchar.c
                    293: getgrent.o:    stdio/getgrent.c
                    294: getgrgid.o:    stdio/getgrgid.c
                    295: getgrnam.o:    stdio/getgrnam.c
                    296: getpass.o:     stdio/getpass.c
                    297: getpwent.o:    stdio/getpwent.c
                    298: getpwnam.o:    stdio/getpwnam.c
                    299: getpwuid.o:    stdio/getpwuid.c
                    300: getw.o:        stdio/getw.c
                    301: popen.o:       stdio/popen.c
                    302: printf.o:      stdio/printf.c
                    303: putchar.o:     stdio/putchar.c
                    304: puts.o:        stdio/puts.c
                    305: putw.o:        stdio/putw.c
                    306: rdwr.o:        stdio/rdwr.c
                    307: rew.o: stdio/rew.c
                    308: scanf.o:       stdio/scanf.c
                    309: setbuf.o:      stdio/setbuf.c
                    310: sprintf.o:     stdio/sprintf.c
                    311: stdio/o.o:     stdio/stdio/o.h
                    312: strout.o:      stdio/strout.c
                    313: stuff.o:       stdio/stuff.c
                    314: system.o:      stdio/system.c
                    315: tmpnam.o:      gen/tmpnam.c
                    316: ungetc.o:      stdio/ungetc.c
                    317: _exit.o:       sys/_exit.s
                    318: access.o:      sys/access.s
                    319: acct.o:        sys/acct.s
                    320: alarm.o:       sys/alarm.s
                    321: biasclock.o:   sys/biasclock.s
                    322: cerror.o:      sys/cerror.s
                    323: chdir.o:       sys/chdir.s
                    324: chmod.o:       sys/chmod.s
                    325: chown.o:       sys/chown.s
                    326: chroot.o:      sys/chroot.s
                    327: close.o:       sys/close.s
                    328: creat.o:       sys/creat.s
                    329: dup.o: sys/dup.s
                    330: execl.o:       sys/execl.s
                    331: execle.o:      sys/execle.s
                    332: execv.o:       sys/execv.s
                    333: execve.o:      sys/execve.s
                    334: fchmod.o:      sys/fchmod.s
                    335: fchown.o:      sys/fchown.s
                    336: fmount.o:      sys/fmount.s
                    337: fork.o:        sys/fork.s
                    338: funmount.o:    sys/funmount.s
                    339: fstat.o:       sys/fstat.s
                    340: getgid.o:      sys/getgid.s
                    341: getgroups.o:   sys/getgroups.s
                    342: getlog.o:      sys/getlog.s
                    343: getpid.o:      sys/getpid.s
                    344: getuid.o:      sys/getuid.s
                    345: ioctl.o:       sys/ioctl.s
                    346: jterm.o:       gen/jterm.c
                    347: kill.o:        sys/kill.s
                    348: label.o:       sys/label.c /usr/include/label.h
                    349: limits.o:      sys/limits.s
                    350: link.o:        sys/link.s
                    351: lseek.o:       sys/lseek.s
                    352: llseek.o:      sys/llseek.s
                    353: lstat.o:       sys/lstat.s
                    354: mkdir.o:       sys/mkdir.s
                    355: mknod.o:       sys/mknod.s
                    356: nap.o: sys/nap.s
                    357: nice.o:        sys/nice.s
                    358: open.o:        sys/open.s
                    359: pipe.o:        sys/pipe.s
                    360: prof.o:        sys/prof.s
                    361: read.o:        sys/read.s
                    362: readlink.o:    sys/readlink.s
                    363: reboot.o:      sys/reboot.s
                    364: rmdir.o:       sys/rmdir.s
                    365: sbrk.o:        sys/sbrk.s
                    366: select.o:      sys/select.s
                    367: setgid.o:      sys/setgid.s
                    368: setgroups.o:   sys/setgroups.s
                    369: setjmp.o:      sys/setjmp.s
                    370: setpgrp.o:     sys/setpgrp.s
                    371: setruid.o:     sys/setruid.s
                    372: setuid.o:      sys/setuid.s
                    373: signal.o:      sys/signal.s
                    374: stat.o:        sys/stat.s
                    375: stime.o:       sys/stime.s
                    376: swapon.o:      sys/swapon.s
                    377: symlink.o:     sys/symlink.s
                    378: sync.o:        sys/sync.s
                    379: syscall.o:     sys/syscall.s
                    380: time.o:        sys/time.s
                    381: times.o:       sys/times.s
                    382: umask.o:       sys/umask.s
                    383: unlink.o:      sys/unlink.s
                    384: utime.o:       sys/utime.s
                    385: vadvise.o:     sys/vadvise.s
                    386: vfork.o:       sys/vfork.s
                    387: vlimit.o:      sys/vlimit.s
                    388: vtimes.o:      sys/vtimes.s
                    389: wait.o:        sys/wait.s
                    390: wait3.o:       sys/wait3.s
                    391: write.o:       sys/write.s

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.