|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1980 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 5.4 (Berkeley) 9/5/85 ! 7: # ! 8: ! 9: SRCS= Ovfork.c Ovadvise.c \ ! 10: accept.c access.c acct.c \ ! 11: adjtime.c bind.c brk.c \ ! 12: cerror.c chdir.c chmod.c chown.c chroot.c close.c connect.c \ ! 13: creat.c \ ! 14: dup.c dup2.c \ ! 15: execl.c execle.c exect.c execv.c execve.c _exit.c \ ! 16: fchmod.c fchown.c fcntl.c flock.c fork.c fstat.c fsync.c ftruncate.c \ ! 17: getdtablesize.c getegid.c geteuid.c getgid.c \ ! 18: getgroups.c gethostid.c gethostname.c getitimer.c getrlimit.c \ ! 19: getpagesize.c getpeername.c getpgrp.c getpid.c getppid.c \ ! 20: getpriority.c getrusage.c getsockname.c getsockopt.c \ ! 21: gettimeofday.c getuid.c \ ! 22: ioctl.c \ ! 23: kill.c killpg.c \ ! 24: link.c listen.c lseek.c lstat.c \ ! 25: mkdir.c mknod.c mount.c \ ! 26: open.c \ ! 27: pipe.c profil.c ptrace.c \ ! 28: quota.c \ ! 29: read.c readlink.c readv.c reboot.c recv.c recvfrom.c \ ! 30: recvmsg.c rename.c rmdir.c \ ! 31: sbrk.c select.c send.c sendmsg.c sendto.c setregid.c setgroups.c \ ! 32: sethostid.c sethostname.c setitimer.c setquota.c setrlimit.c \ ! 33: setpgrp.c setpriority.c setsockopt.c settimeofday.c setreuid.c \ ! 34: shutdown.c sigblock.c sigpause.c sigreturn.c \ ! 35: sigsetmask.c sigstack.c sigvec.c socket.c socketpair.c stat.c \ ! 36: swapon.c symlink.c sync.c syscall.c \ ! 37: truncate.c \ ! 38: umask.c umount.c unlink.c utimes.c \ ! 39: vhangup.c \ ! 40: wait.c wait3.c write.c writev.c ! 41: OBJS= Ovfork.o Ovadvise.o \ ! 42: accept.o access.o acct.o \ ! 43: adjtime.o bind.o brk.o \ ! 44: cerror.o chdir.o chmod.o chown.o chroot.o close.o connect.o \ ! 45: creat.o \ ! 46: dup.o dup2.o \ ! 47: execl.o execle.o exect.o execv.o execve.o _exit.o \ ! 48: fchmod.o fchown.o fcntl.o flock.o fork.o fstat.o fsync.o ftruncate.o \ ! 49: getdtablesize.o getegid.o geteuid.o getgid.o \ ! 50: getgroups.o gethostid.o gethostname.o getitimer.o getrlimit.o \ ! 51: getpagesize.o getpeername.o getpgrp.o getpid.o getppid.o \ ! 52: getpriority.o getrusage.o getsockname.o getsockopt.o \ ! 53: gettimeofday.o getuid.o \ ! 54: ioctl.o \ ! 55: kill.o killpg.o \ ! 56: link.o listen.o lseek.o lstat.o \ ! 57: mkdir.o mknod.o mount.o \ ! 58: open.o \ ! 59: pipe.o profil.o ptrace.o \ ! 60: quota.o \ ! 61: read.o readlink.o readv.o reboot.o recv.o recvfrom.o \ ! 62: recvmsg.o rename.o rmdir.o \ ! 63: sbrk.o select.o send.o sendmsg.o sendto.o setregid.o setgroups.o \ ! 64: sethostid.o sethostname.o setitimer.o setquota.o setrlimit.o \ ! 65: setpgrp.o setpriority.o setsockopt.o settimeofday.o setreuid.o \ ! 66: shutdown.o sigblock.o sigpause.o sigreturn.o \ ! 67: sigsetmask.o sigstack.o sigvec.o socket.o socketpair.o stat.o \ ! 68: swapon.o symlink.o sync.o syscall.o \ ! 69: truncate.o \ ! 70: umask.o umount.o unlink.o utimes.o \ ! 71: vhangup.o \ ! 72: wait.o wait3.o write.o writev.o ! 73: TAGSFILE=tags ! 74: ! 75: .c.o: ! 76: /lib/cpp -E ${DEFS} -DPROF $*.c | ${AS} -o $*.o ! 77: -ld -x -r $*.o ! 78: mv a.out profiled/$*.o ! 79: /lib/cpp -E ${DEFS} $*.c | ${AS} -o $*.o ! 80: -ld -x -r $*.o ! 81: mv a.out $*.o ! 82: ! 83: syslib syslib_p: ${OBJS} ! 84: @echo "building profiled syslib_p" ! 85: @cd profiled; ar cru ../syslib_p ${OBJS} ! 86: @echo "building normal syslib_p" ! 87: @ar cru syslib ${OBJS} ! 88: ! 89: tags: ! 90: ! 91: clean: ! 92: rm -f syslib syslib_p ${OBJS} profiled/*.o tags Makefile.bak ! 93: ! 94: depend: ! 95: for i in ${SRCS}; do \ ! 96: cc -M ${DEFS} $$i | awk ' { if ($$1 != prev) \ ! 97: { if (rec != "") print rec; rec = $$0; prev = $$1; } \ ! 98: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \ ! 99: else rec = rec " " $$2 } } \ ! 100: END { print rec } ' >> makedep; done ! 101: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 102: echo '$$r makedep' >>eddep ! 103: echo 'w' >>eddep ! 104: cp Makefile Makefile.bak ! 105: ed - Makefile < eddep ! 106: rm eddep makedep ! 107: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 108: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 109: echo '# see make depend above' >> Makefile ! 110: ! 111: # DO NOT DELETE THIS LINE -- make depend uses it ! 112: ! 113: Ovfork.o: Ovfork.c ! 114: Ovadvise.o: Ovadvise.c ./SYS.h /usr/include/syscall.h ! 115: accept.o: accept.c ./SYS.h /usr/include/syscall.h ! 116: access.o: access.c ./SYS.h /usr/include/syscall.h ! 117: acct.o: acct.c ./SYS.h /usr/include/syscall.h ! 118: adjtime.o: adjtime.c ./SYS.h /usr/include/syscall.h ! 119: bind.o: bind.c ./SYS.h /usr/include/syscall.h ! 120: brk.o: brk.c ./SYS.h /usr/include/syscall.h ! 121: cerror.o: cerror.c ./SYS.h /usr/include/syscall.h ! 122: chdir.o: chdir.c ./SYS.h /usr/include/syscall.h ! 123: chmod.o: chmod.c ./SYS.h /usr/include/syscall.h ! 124: chown.o: chown.c ./SYS.h /usr/include/syscall.h ! 125: chroot.o: chroot.c ./SYS.h /usr/include/syscall.h ! 126: close.o: close.c ./SYS.h /usr/include/syscall.h ! 127: connect.o: connect.c ./SYS.h /usr/include/syscall.h ! 128: creat.o: creat.c ./SYS.h /usr/include/syscall.h ! 129: dup.o: dup.c ./SYS.h /usr/include/syscall.h ! 130: dup2.o: dup2.c ./SYS.h /usr/include/syscall.h ! 131: execl.o: execl.c ./SYS.h /usr/include/syscall.h ! 132: execle.o: execle.c ./SYS.h /usr/include/syscall.h ! 133: exect.o: exect.c ./SYS.h /usr/include/syscall.h /usr/include/machine/psl.h ! 134: execv.o: execv.c ./SYS.h /usr/include/syscall.h ! 135: execve.o: execve.c ./SYS.h /usr/include/syscall.h ! 136: _exit.o: _exit.c ./SYS.h /usr/include/syscall.h ! 137: fchmod.o: fchmod.c ./SYS.h /usr/include/syscall.h ! 138: fchown.o: fchown.c ./SYS.h /usr/include/syscall.h ! 139: fcntl.o: fcntl.c ./SYS.h /usr/include/syscall.h ! 140: flock.o: flock.c ./SYS.h /usr/include/syscall.h ! 141: fork.o: fork.c ./SYS.h /usr/include/syscall.h ! 142: fstat.o: fstat.c ./SYS.h /usr/include/syscall.h ! 143: fsync.o: fsync.c ./SYS.h /usr/include/syscall.h ! 144: ftruncate.o: ftruncate.c ./SYS.h /usr/include/syscall.h ! 145: getdtablesize.o: getdtablesize.c ./SYS.h /usr/include/syscall.h ! 146: getegid.o: getegid.c ./SYS.h /usr/include/syscall.h ! 147: geteuid.o: geteuid.c ./SYS.h /usr/include/syscall.h ! 148: getgid.o: getgid.c ./SYS.h /usr/include/syscall.h ! 149: getgroups.o: getgroups.c ./SYS.h /usr/include/syscall.h ! 150: gethostid.o: gethostid.c ./SYS.h /usr/include/syscall.h ! 151: gethostname.o: gethostname.c ./SYS.h /usr/include/syscall.h ! 152: getitimer.o: getitimer.c ./SYS.h /usr/include/syscall.h ! 153: getrlimit.o: getrlimit.c ./SYS.h /usr/include/syscall.h ! 154: getpagesize.o: getpagesize.c ./SYS.h /usr/include/syscall.h ! 155: getpeername.o: getpeername.c ./SYS.h /usr/include/syscall.h ! 156: getpgrp.o: getpgrp.c ./SYS.h /usr/include/syscall.h ! 157: getpid.o: getpid.c ./SYS.h /usr/include/syscall.h ! 158: getppid.o: getppid.c ./SYS.h /usr/include/syscall.h ! 159: getpriority.o: getpriority.c ./SYS.h /usr/include/syscall.h ! 160: getrusage.o: getrusage.c ./SYS.h /usr/include/syscall.h ! 161: getsockname.o: getsockname.c ./SYS.h /usr/include/syscall.h ! 162: getsockopt.o: getsockopt.c ./SYS.h /usr/include/syscall.h ! 163: gettimeofday.o: gettimeofday.c ./SYS.h /usr/include/syscall.h ! 164: getuid.o: getuid.c ./SYS.h /usr/include/syscall.h ! 165: ioctl.o: ioctl.c ./SYS.h /usr/include/syscall.h ! 166: kill.o: kill.c ./SYS.h /usr/include/syscall.h ! 167: killpg.o: killpg.c ./SYS.h /usr/include/syscall.h ! 168: link.o: link.c ./SYS.h /usr/include/syscall.h ! 169: listen.o: listen.c ./SYS.h /usr/include/syscall.h ! 170: lseek.o: lseek.c ./SYS.h /usr/include/syscall.h ! 171: lstat.o: lstat.c ./SYS.h /usr/include/syscall.h ! 172: mkdir.o: mkdir.c ./SYS.h /usr/include/syscall.h ! 173: mknod.o: mknod.c ./SYS.h /usr/include/syscall.h ! 174: mount.o: mount.c ./SYS.h /usr/include/syscall.h ! 175: open.o: open.c ./SYS.h /usr/include/syscall.h ! 176: pipe.o: pipe.c ./SYS.h /usr/include/syscall.h ! 177: profil.o: profil.c ./SYS.h /usr/include/syscall.h ! 178: ptrace.o: ptrace.c ./SYS.h /usr/include/syscall.h ! 179: quota.o: quota.c ./SYS.h /usr/include/syscall.h ! 180: read.o: read.c ./SYS.h /usr/include/syscall.h ! 181: readlink.o: readlink.c ./SYS.h /usr/include/syscall.h ! 182: readv.o: readv.c ./SYS.h /usr/include/syscall.h ! 183: reboot.o: reboot.c ./SYS.h /usr/include/syscall.h ! 184: recv.o: recv.c ./SYS.h /usr/include/syscall.h ! 185: recvfrom.o: recvfrom.c ./SYS.h /usr/include/syscall.h ! 186: recvmsg.o: recvmsg.c ./SYS.h /usr/include/syscall.h ! 187: rename.o: rename.c ./SYS.h /usr/include/syscall.h ! 188: rmdir.o: rmdir.c ./SYS.h /usr/include/syscall.h ! 189: sbrk.o: sbrk.c ./SYS.h /usr/include/syscall.h ! 190: select.o: select.c ./SYS.h /usr/include/syscall.h ! 191: send.o: send.c ./SYS.h /usr/include/syscall.h ! 192: sendmsg.o: sendmsg.c ./SYS.h /usr/include/syscall.h ! 193: sendto.o: sendto.c ./SYS.h /usr/include/syscall.h ! 194: setregid.o: setregid.c ./SYS.h /usr/include/syscall.h ! 195: setgroups.o: setgroups.c ./SYS.h /usr/include/syscall.h ! 196: sethostid.o: sethostid.c ./SYS.h /usr/include/syscall.h ! 197: sethostname.o: sethostname.c ./SYS.h /usr/include/syscall.h ! 198: setitimer.o: setitimer.c ./SYS.h /usr/include/syscall.h ! 199: setquota.o: setquota.c ./SYS.h /usr/include/syscall.h ! 200: setrlimit.o: setrlimit.c ./SYS.h /usr/include/syscall.h ! 201: setpgrp.o: setpgrp.c ./SYS.h /usr/include/syscall.h ! 202: setpriority.o: setpriority.c ./SYS.h /usr/include/syscall.h ! 203: setsockopt.o: setsockopt.c ./SYS.h /usr/include/syscall.h ! 204: settimeofday.o: settimeofday.c ./SYS.h /usr/include/syscall.h ! 205: setreuid.o: setreuid.c ./SYS.h /usr/include/syscall.h ! 206: shutdown.o: shutdown.c ./SYS.h /usr/include/syscall.h ! 207: sigblock.o: sigblock.c ./SYS.h /usr/include/syscall.h ! 208: sigpause.o: sigpause.c ./SYS.h /usr/include/syscall.h ! 209: sigreturn.o: sigreturn.c ./SYS.h /usr/include/syscall.h ! 210: sigsetmask.o: sigsetmask.c ./SYS.h /usr/include/syscall.h ! 211: sigstack.o: sigstack.c ./SYS.h /usr/include/syscall.h ! 212: sigvec.o: sigvec.c ./SYS.h /usr/include/syscall.h ! 213: socket.o: socket.c ./SYS.h /usr/include/syscall.h ! 214: socketpair.o: socketpair.c ./SYS.h /usr/include/syscall.h ! 215: stat.o: stat.c ./SYS.h /usr/include/syscall.h ! 216: swapon.o: swapon.c ./SYS.h /usr/include/syscall.h ! 217: symlink.o: symlink.c ./SYS.h /usr/include/syscall.h ! 218: sync.o: sync.c ./SYS.h /usr/include/syscall.h ! 219: syscall.o: syscall.c ./SYS.h /usr/include/syscall.h ! 220: truncate.o: truncate.c ./SYS.h /usr/include/syscall.h ! 221: umask.o: umask.c ./SYS.h /usr/include/syscall.h ! 222: umount.o: umount.c ./SYS.h /usr/include/syscall.h ! 223: unlink.o: unlink.c ./SYS.h /usr/include/syscall.h ! 224: utimes.o: utimes.c ./SYS.h /usr/include/syscall.h ! 225: vhangup.o: vhangup.c ./SYS.h /usr/include/syscall.h ! 226: wait.o: wait.c ./SYS.h /usr/include/syscall.h ! 227: wait3.o: wait3.c ./SYS.h /usr/include/syscall.h ! 228: write.o: write.c ./SYS.h /usr/include/syscall.h ! 229: writev.o: writev.c ./SYS.h /usr/include/syscall.h ! 230: # DEPENDENCIES MUST END AT END OF FILE ! 231: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 232: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.