|
|
1.1 root 1: #
2: # Copyright (c) 1988 Regents of the University of California.
3: # All rights reserved.
4: #
5: # Redistribution and use in source and binary forms are permitted
6: # provided that the above copyright notice and this paragraph are
7: # duplicated in all such forms and that any documentation,
8: # advertising materials, and other materials related to such
9: # distribution and use acknowledge that the software was developed
10: # by the University of California, Berkeley. The name of the
11: # University may not be used to endorse or promote products derived
12: # from this software without specific prior written permission.
13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: #
17: # @(#)Makefile 5.10 (Berkeley) 7/9/88
18: #
19: DEFS= -DSYSLIBC_SCCS
20: SRCS= Ovadvise.s Ovfork.s _exit.s accept.s access.s acct.s adjtime.s \
21: bind.s brk.s cerror.s chdir.s chmod.s chown.s chroot.s close.s \
22: connect.s creat.s dup.s dup2.s execl.s execle.s exect.s execv.s \
23: execve.s fchmod.s fchown.s fcntl.s flock.s fork.s fstat.s fsync.s \
24: ftruncate.s getdtablesize.s getegid.s geteuid.s getgid.s getgroups.s \
25: gethostid.s gethostname.s getitimer.s getpagesize.s getpeername.s \
26: getpgrp.s getpid.s getppid.s getpriority.s getrlimit.s getrusage.s \
27: getsockname.s getsockopt.s gettimeofday.s getuid.s ioctl.s kill.s \
28: killpg.s link.s listen.s lseek.s lstat.s mkdir.s mknod.s mount.s \
29: open.s pipe.s profil.s ptrace.s quota.s read.s readlink.s readv.s \
30: reboot.s recv.s recvfrom.s recvmsg.s rename.s rmdir.s sbrk.s select.s \
31: send.s sendmsg.s sendto.s setgroups.s sethostid.s sethostname.s \
32: setitimer.s setpgrp.s setpriority.s setquota.s setregid.s setreuid.s \
33: setrlimit.s setsockopt.s settimeofday.s shutdown.s sigblock.s \
34: sigpause.s sigreturn.s sigsetmask.s sigstack.s sigvec.s socket.s \
35: socketpair.s stat.s swapon.s symlink.s sync.s syscall.s truncate.s \
36: umask.s umount.s unlink.s utimes.s vhangup.s wait.s wait3.s write.s \
37: writev.s
38: OBJS= Ovadvise.o Ovfork.o _exit.o accept.o access.o acct.o adjtime.o \
39: bind.o brk.o cerror.o chdir.o chmod.o chown.o chroot.o close.o \
40: connect.o creat.o dup.o dup2.o execl.o execle.o exect.o execv.o \
41: execve.o fchmod.o fchown.o fcntl.o flock.o fork.o fstat.o fsync.o \
42: ftruncate.o getdtablesize.o getegid.o geteuid.o getgid.o getgroups.o \
43: gethostid.o gethostname.o getitimer.o getpagesize.o getpeername.o \
44: getpgrp.o getpid.o getppid.o getpriority.o getrlimit.o getrusage.o \
45: getsockname.o getsockopt.o gettimeofday.o getuid.o ioctl.o kill.o \
46: killpg.o link.o listen.o lseek.o lstat.o mkdir.o mknod.o mount.o \
47: open.o pipe.o profil.o ptrace.o quota.o read.o readlink.o readv.o \
48: reboot.o recv.o recvfrom.o recvmsg.o rename.o rmdir.o sbrk.o select.o \
49: send.o sendmsg.o sendto.o setgroups.o sethostid.o sethostname.o \
50: setitimer.o setpgrp.o setpriority.o setquota.o setregid.o setreuid.o \
51: setrlimit.o setsockopt.o settimeofday.o shutdown.o sigblock.o \
52: sigpause.o sigreturn.o sigsetmask.o sigstack.o sigvec.o socket.o \
53: socketpair.o stat.o swapon.o symlink.o sync.o syscall.o truncate.o \
54: umask.o umount.o unlink.o utimes.o vhangup.o wait.o wait3.o write.o \
55: writev.o
56: TAGSFILE=tags
57:
58: .s.o:
59: @/lib/cpp ${DEFS} -DPROF $*.s | ${AS} -o $*.o
60: @-ld -x -o profiled/$*.o -r $*.o
61: /lib/cpp ${DEFS} $*.s | ${AS} -o $*.o
62: @-ld -x -r $*.o
63: @mv a.out $*.o
64:
65: all: ${OBJS}
66:
67: link: ${OBJS}
68: (cd ../../library; rm -f ${OBJS})
69: (cd ../../profiled; rm -f ${OBJS})
70: ln ${OBJS} ../../library
71: (cd profiled; ln ${OBJS} ../../../profiled)
72:
73: tags:
74: (P=`pwd`; \
75: egrep "^ENTRY(.*)|^SYSCALL(.*)" ${SRCS} | /bin/sed \
76: "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 $$P/\1 /^\2(\3\4$$/;" \
77: >> ${TAGSFILE})
78:
79: clean:
80: rm -f *.o profiled/* a.out core ${TAGSFILE}
81:
82: depend:
83: mkdep ${CFLAGS} ${SRCS}
84:
85: # DO NOT DELETE THIS LINE -- mkdep uses it.
86: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
87:
88: Ovadvise.o: Ovadvise.s SYS.h /usr/include/sys/syscall.h
89: Ovfork.o: Ovfork.s
90: _exit.o: _exit.s SYS.h /usr/include/sys/syscall.h
91: accept.o: accept.s SYS.h /usr/include/sys/syscall.h
92: access.o: access.s SYS.h /usr/include/sys/syscall.h
93: acct.o: acct.s SYS.h /usr/include/sys/syscall.h
94: adjtime.o: adjtime.s SYS.h /usr/include/sys/syscall.h
95: bind.o: bind.s SYS.h /usr/include/sys/syscall.h
96: brk.o: brk.s SYS.h /usr/include/sys/syscall.h
97: cerror.o: cerror.s SYS.h /usr/include/sys/syscall.h
98: chdir.o: chdir.s SYS.h /usr/include/sys/syscall.h
99: chmod.o: chmod.s SYS.h /usr/include/sys/syscall.h
100: chown.o: chown.s SYS.h /usr/include/sys/syscall.h
101: chroot.o: chroot.s SYS.h /usr/include/sys/syscall.h
102: close.o: close.s SYS.h /usr/include/sys/syscall.h
103: connect.o: connect.s SYS.h /usr/include/sys/syscall.h
104: creat.o: creat.s SYS.h /usr/include/sys/syscall.h
105: dup.o: dup.s SYS.h /usr/include/sys/syscall.h
106: dup2.o: dup2.s SYS.h /usr/include/sys/syscall.h
107: execl.o: execl.s SYS.h /usr/include/sys/syscall.h
108: execle.o: execle.s SYS.h /usr/include/sys/syscall.h
109: exect.o: exect.s SYS.h /usr/include/sys/syscall.h /usr/include/machine/psl.h
110: execv.o: execv.s SYS.h /usr/include/sys/syscall.h
111: execve.o: execve.s SYS.h /usr/include/sys/syscall.h
112: fchmod.o: fchmod.s SYS.h /usr/include/sys/syscall.h
113: fchown.o: fchown.s SYS.h /usr/include/sys/syscall.h
114: fcntl.o: fcntl.s SYS.h /usr/include/sys/syscall.h
115: flock.o: flock.s SYS.h /usr/include/sys/syscall.h
116: fork.o: fork.s SYS.h /usr/include/sys/syscall.h
117: fstat.o: fstat.s SYS.h /usr/include/sys/syscall.h
118: fsync.o: fsync.s SYS.h /usr/include/sys/syscall.h
119: ftruncate.o: ftruncate.s SYS.h /usr/include/sys/syscall.h
120: getdtablesize.o: getdtablesize.s SYS.h /usr/include/sys/syscall.h
121: getegid.o: getegid.s SYS.h /usr/include/sys/syscall.h
122: geteuid.o: geteuid.s SYS.h /usr/include/sys/syscall.h
123: getgid.o: getgid.s SYS.h /usr/include/sys/syscall.h
124: getgroups.o: getgroups.s SYS.h /usr/include/sys/syscall.h
125: gethostid.o: gethostid.s SYS.h /usr/include/sys/syscall.h
126: gethostname.o: gethostname.s SYS.h /usr/include/sys/syscall.h
127: getitimer.o: getitimer.s SYS.h /usr/include/sys/syscall.h
128: getpagesize.o: getpagesize.s SYS.h /usr/include/sys/syscall.h
129: getpeername.o: getpeername.s SYS.h /usr/include/sys/syscall.h
130: getpgrp.o: getpgrp.s SYS.h
131: getpid.o: getpid.s SYS.h /usr/include/sys/syscall.h
132: getppid.o: getppid.s SYS.h /usr/include/sys/syscall.h
133: getpriority.o: getpriority.s SYS.h /usr/include/sys/syscall.h
134: getrlimit.o: getrlimit.s SYS.h /usr/include/sys/syscall.h
135: getrusage.o: getrusage.s SYS.h /usr/include/sys/syscall.h
136: getsockname.o: getsockname.s SYS.h /usr/include/sys/syscall.h
137: getsockopt.o: getsockopt.s SYS.h /usr/include/sys/syscall.h
138: gettimeofday.o: gettimeofday.s SYS.h /usr/include/sys/syscall.h
139: getuid.o: getuid.s SYS.h /usr/include/sys/syscall.h
140: ioctl.o: ioctl.s SYS.h /usr/include/sys/syscall.h
141: kill.o: kill.s SYS.h /usr/include/sys/syscall.h
142: killpg.o: killpg.s SYS.h /usr/include/sys/syscall.h
143: link.o: link.s SYS.h /usr/include/sys/syscall.h
144: listen.o: listen.s SYS.h /usr/include/sys/syscall.h
145: lseek.o: lseek.s SYS.h /usr/include/sys/syscall.h
146: lstat.o: lstat.s SYS.h /usr/include/sys/syscall.h
147: mkdir.o: mkdir.s SYS.h /usr/include/sys/syscall.h
148: mknod.o: mknod.s SYS.h /usr/include/sys/syscall.h
149: mount.o: mount.s SYS.h /usr/include/sys/syscall.h
150: open.o: open.s SYS.h /usr/include/sys/syscall.h
151: pipe.o: pipe.s SYS.h /usr/include/sys/syscall.h
152: profil.o: profil.s SYS.h /usr/include/sys/syscall.h
153: ptrace.o: ptrace.s SYS.h /usr/include/sys/syscall.h
154: quota.o: quota.s SYS.h /usr/include/sys/syscall.h
155: read.o: read.s SYS.h /usr/include/sys/syscall.h
156: readlink.o: readlink.s SYS.h /usr/include/sys/syscall.h
157: readv.o: readv.s SYS.h /usr/include/sys/syscall.h
158: reboot.o: reboot.s SYS.h /usr/include/sys/syscall.h
159: recv.o: recv.s SYS.h /usr/include/sys/syscall.h
160: recvfrom.o: recvfrom.s SYS.h /usr/include/sys/syscall.h
161: recvmsg.o: recvmsg.s SYS.h /usr/include/sys/syscall.h
162: rename.o: rename.s SYS.h /usr/include/sys/syscall.h
163: rmdir.o: rmdir.s SYS.h /usr/include/sys/syscall.h
164: sbrk.o: sbrk.s SYS.h /usr/include/sys/syscall.h
165: select.o: select.s SYS.h /usr/include/sys/syscall.h
166: send.o: send.s SYS.h /usr/include/sys/syscall.h
167: sendmsg.o: sendmsg.s SYS.h /usr/include/sys/syscall.h
168: sendto.o: sendto.s SYS.h /usr/include/sys/syscall.h
169: setgroups.o: setgroups.s SYS.h /usr/include/sys/syscall.h
170: sethostid.o: sethostid.s SYS.h /usr/include/sys/syscall.h
171: sethostname.o: sethostname.s SYS.h /usr/include/sys/syscall.h
172: setitimer.o: setitimer.s SYS.h /usr/include/sys/syscall.h
173: setpgrp.o: setpgrp.s SYS.h /usr/include/sys/syscall.h
174: setpriority.o: setpriority.s SYS.h /usr/include/sys/syscall.h
175: setquota.o: setquota.s SYS.h /usr/include/sys/syscall.h
176: setregid.o: setregid.s SYS.h /usr/include/sys/syscall.h
177: setreuid.o: setreuid.s SYS.h /usr/include/sys/syscall.h
178: setrlimit.o: setrlimit.s SYS.h /usr/include/sys/syscall.h
179: setsockopt.o: setsockopt.s SYS.h /usr/include/sys/syscall.h
180: settimeofday.o: settimeofday.s SYS.h /usr/include/sys/syscall.h
181: shutdown.o: shutdown.s SYS.h /usr/include/sys/syscall.h
182: sigblock.o: sigblock.s SYS.h /usr/include/sys/syscall.h
183: sigpause.o: sigpause.s SYS.h /usr/include/sys/syscall.h
184: sigreturn.o: sigreturn.s SYS.h /usr/include/sys/syscall.h
185: sigsetmask.o: sigsetmask.s SYS.h /usr/include/sys/syscall.h
186: sigstack.o: sigstack.s SYS.h /usr/include/sys/syscall.h
187: sigvec.o: sigvec.s SYS.h /usr/include/sys/syscall.h
188: socket.o: socket.s SYS.h /usr/include/sys/syscall.h
189: socketpair.o: socketpair.s SYS.h /usr/include/sys/syscall.h
190: stat.o: stat.s SYS.h /usr/include/sys/syscall.h
191: swapon.o: swapon.s SYS.h /usr/include/sys/syscall.h
192: symlink.o: symlink.s SYS.h /usr/include/sys/syscall.h
193: sync.o: sync.s SYS.h /usr/include/sys/syscall.h
194: syscall.o: syscall.s SYS.h /usr/include/sys/syscall.h
195: truncate.o: truncate.s SYS.h /usr/include/sys/syscall.h
196: umask.o: umask.s SYS.h /usr/include/sys/syscall.h
197: umount.o: umount.s SYS.h /usr/include/sys/syscall.h
198: unlink.o: unlink.s SYS.h /usr/include/sys/syscall.h
199: utimes.o: utimes.s SYS.h /usr/include/sys/syscall.h
200: vhangup.o: vhangup.s SYS.h /usr/include/sys/syscall.h
201: wait.o: wait.s SYS.h /usr/include/sys/syscall.h
202: wait3.o: wait3.s SYS.h /usr/include/sys/syscall.h
203: write.o: write.s SYS.h /usr/include/sys/syscall.h
204: writev.o: writev.s SYS.h /usr/include/sys/syscall.h
205:
206: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.