Deleted Added
full compact
Makefile.inc (242961) Makefile.inc (246884)
1# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
1# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
2# $FreeBSD: head/lib/libc/sys/Makefile.inc 242961 2012-11-13 12:56:42Z kib $
2# $FreeBSD: head/lib/libc/sys/Makefile.inc 246884 2013-02-16 22:21:46Z pjd $
3
4# sys sources
5.PATH: ${.CURDIR}/${LIBC_ARCH}/sys ${.CURDIR}/sys
6
7# Include the generated makefile containing the *complete* list
8# of syscall names in MIASM.
9.include "${.CURDIR}/../../sys/sys/syscall.mk"
10

--- 62 unchanged lines hidden (view full) ---

73 printf ${NOTE_GNU_STACK} >>${.TARGET}
74
75${SPSEUDO}:
76 printf '#include "compat.h"\n' > ${.TARGET}
77 printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \
78 >> ${.TARGET}
79 printf ${NOTE_GNU_STACK} >>${.TARGET}
80
3
4# sys sources
5.PATH: ${.CURDIR}/${LIBC_ARCH}/sys ${.CURDIR}/sys
6
7# Include the generated makefile containing the *complete* list
8# of syscall names in MIASM.
9.include "${.CURDIR}/../../sys/sys/syscall.mk"
10

--- 62 unchanged lines hidden (view full) ---

73 printf ${NOTE_GNU_STACK} >>${.TARGET}
74
75${SPSEUDO}:
76 printf '#include "compat.h"\n' > ${.TARGET}
77 printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \
78 >> ${.TARGET}
79 printf ${NOTE_GNU_STACK} >>${.TARGET}
80
81MAN+= abort2.2 accept.2 access.2 acct.2 adjtime.2 \
82 aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \
83 aio_suspend.2 aio_waitcomplete.2 aio_write.2 \
84 bind.2 brk.2 cap_enter.2 cap_new.2 chdir.2 chflags.2 \
85 chmod.2 chown.2 chroot.2 clock_gettime.2 close.2 closefrom.2 \
86 connect.2 cpuset.2 cpuset_getaffinity.2 dup.2 execve.2 _exit.2 \
87 extattr_get_file.2 fcntl.2 ffclock.2 fhopen.2 flock.2 fork.2 fsync.2 \
88 getdirentries.2 getdtablesize.2 \
89 getfh.2 getfsstat.2 getgid.2 getgroups.2 getitimer.2 getlogin.2 \
90 getloginclass.2 getpeername.2 getpgrp.2 getpid.2 getpriority.2 \
91 getrlimit.2 getrusage.2 getsid.2 getsockname.2 \
92 getsockopt.2 gettimeofday.2 getuid.2 \
93 intro.2 ioctl.2 issetugid.2 jail.2 kenv.2 kill.2 \
94 kldfind.2 kldfirstmod.2 kldload.2 kldnext.2 kldstat.2 kldsym.2 \
95 kldunload.2 kqueue.2 ktrace.2 link.2 lio_listio.2 listen.2 \
81MAN+= abort2.2 \
82 accept.2 \
83 access.2 \
84 acct.2 \
85 adjtime.2 \
86 aio_cancel.2 \
87 aio_error.2 \
88 aio_read.2 \
89 aio_return.2 \
90 aio_suspend.2 \
91 aio_waitcomplete.2 \
92 aio_write.2 \
93 bind.2 \
94 brk.2 \
95 cap_enter.2 \
96 cap_new.2 \
97 chdir.2 \
98 chflags.2 \
99 chmod.2 \
100 chown.2 \
101 chroot.2 \
102 clock_gettime.2 \
103 close.2 \
104 closefrom.2 \
105 connect.2 \
106 cpuset.2 \
107 cpuset_getaffinity.2 \
108 dup.2 \
109 execve.2 \
110 _exit.2 \
111 extattr_get_file.2 \
112 fcntl.2 \
113 ffclock.2 \
114 fhopen.2 \
115 flock.2 \
116 fork.2 \
117 fsync.2 \
118 getdirentries.2 \
119 getdtablesize.2 \
120 getfh.2 \
121 getfsstat.2 \
122 getgid.2 \
123 getgroups.2 \
124 getitimer.2 \
125 getlogin.2 \
126 getloginclass.2 \
127 getpeername.2 \
128 getpgrp.2 \
129 getpid.2 \
130 getpriority.2 \
131 getrlimit.2 \
132 getrusage.2 \
133 getsid.2 \
134 getsockname.2 \
135 getsockopt.2 \
136 gettimeofday.2 \
137 getuid.2 \
138 intro.2 \
139 ioctl.2 \
140 issetugid.2 \
141 jail.2 \
142 kenv.2 \
143 kill.2 \
144 kldfind.2 \
145 kldfirstmod.2 \
146 kldload.2 \
147 kldnext.2 \
148 kldstat.2 \
149 kldsym.2 \
150 kldunload.2 \
151 kqueue.2 \
152 ktrace.2 \
153 link.2 \
154 lio_listio.2 \
155 listen.2 \
96 lseek.2 \
156 lseek.2 \
97 madvise.2 mincore.2 minherit.2 mkdir.2 mkfifo.2 mknod.2 mlock.2 \
98 mlockall.2 mmap.2 modfind.2 modnext.2 modstat.2 mount.2 mprotect.2 \
99 mq_close.2 mq_getattr.2 mq_notify.2 mq_open.2 mq_receive.2 mq_send.2 \
157 madvise.2 \
158 mincore.2 \
159 minherit.2 \
160 mkdir.2 \
161 mkfifo.2 \
162 mknod.2 \
163 mlock.2 \
164 mlockall.2 \
165 mmap.2 \
166 modfind.2 \
167 modnext.2 \
168 modstat.2 \
169 mount.2 \
170 mprotect.2 \
171 mq_close.2 \
172 mq_getattr.2 \
173 mq_notify.2 \
174 mq_open.2 \
175 mq_receive.2 \
176 mq_send.2 \
100 mq_setattr.2 \
177 mq_setattr.2 \
101 msgctl.2 msgget.2 msgrcv.2 msgsnd.2 \
102 msync.2 munmap.2 nanosleep.2 nfssvc.2 ntp_adjtime.2 open.2 \
103 pathconf.2 pdfork.2 pipe.2 poll.2 posix_fadvise.2 posix_fallocate.2 \
104 posix_openpt.2 profil.2 \
105 pselect.2 ptrace.2 quotactl.2 \
106 read.2 readlink.2 reboot.2 recv.2 rename.2 revoke.2 rfork.2 rmdir.2 \
178 msgctl.2 \
179 msgget.2 \
180 msgrcv.2 \
181 msgsnd.2 \
182 msync.2 \
183 munmap.2 \
184 nanosleep.2 \
185 nfssvc.2 \
186 ntp_adjtime.2 \
187 open.2 \
188 pathconf.2 \
189 pdfork.2 \
190 pipe.2 \
191 poll.2 \
192 posix_fadvise.2 \
193 posix_fallocate.2 \
194 posix_openpt.2 \
195 profil.2 \
196 pselect.2 \
197 ptrace.2 \
198 quotactl.2 \
199 read.2 \
200 readlink.2 \
201 reboot.2 \
202 recv.2 \
203 rename.2 \
204 revoke.2 \
205 rfork.2 \
206 rmdir.2 \
107 rtprio.2
108.if !defined(NO_P1003_1B)
207 rtprio.2
208.if !defined(NO_P1003_1B)
109MAN+= sched_get_priority_max.2 sched_setparam.2 \
110 sched_setscheduler.2 sched_yield.2
209MAN+= sched_get_priority_max.2 \
210 sched_setparam.2 \
211 sched_setscheduler.2 \
212 sched_yield.2
111.endif
213.endif
112MAN+= sctp_generic_recvmsg.2 sctp_generic_sendmsg.2 sctp_peeloff.2 \
113 select.2 semctl.2 semget.2 semop.2 send.2 setfib.2 sendfile.2 \
114 setgroups.2 setpgid.2 setregid.2 setresuid.2 setreuid.2 setsid.2 \
115 setuid.2 shmat.2 shmctl.2 shmget.2 shm_open.2 shutdown.2 \
116 sigaction.2 sigaltstack.2 sigpending.2 sigprocmask.2 sigqueue.2 \
117 sigreturn.2 sigstack.2 sigsuspend.2 sigwait.2 sigwaitinfo.2 \
118 socket.2 socketpair.2 stat.2 statfs.2 \
119 swapon.2 symlink.2 sync.2 sysarch.2 syscall.2 \
120 timer_create.2 timer_delete.2 timer_settime.2 \
121 truncate.2 umask.2 undelete.2 \
122 unlink.2 utimes.2 utrace.2 uuidgen.2 vfork.2 wait.2 write.2
214MAN+= sctp_generic_recvmsg.2 \
215 sctp_generic_sendmsg.2 \
216 sctp_peeloff.2 \
217 select.2 \
218 semctl.2 \
219 semget.2 \
220 semop.2 \
221 send.2 \
222 setfib.2 \
223 sendfile.2 \
224 setgroups.2 \
225 setpgid.2 \
226 setregid.2 \
227 setresuid.2 \
228 setreuid.2 \
229 setsid.2 \
230 setuid.2 \
231 shmat.2 \
232 shmctl.2 \
233 shmget.2 \
234 shm_open.2 \
235 shutdown.2 \
236 sigaction.2 \
237 sigaltstack.2 \
238 sigpending.2 \
239 sigprocmask.2 \
240 sigqueue.2 \
241 sigreturn.2 \
242 sigstack.2 \
243 sigsuspend.2 \
244 sigwait.2 \
245 sigwaitinfo.2 \
246 socket.2 \
247 socketpair.2 \
248 stat.2 \
249 statfs.2 \
250 swapon.2 \
251 symlink.2 \
252 sync.2 \
253 sysarch.2 \
254 syscall.2 \
255 timer_create.2 \
256 timer_delete.2 \
257 timer_settime.2 \
258 truncate.2 \
259 umask.2 \
260 undelete.2 \
261 unlink.2 \
262 utimes.2 \
263 utrace.2 \
264 uuidgen.2 \
265 vfork.2 \
266 wait.2 \
267 write.2
123
268
124MLINKS+=access.2 eaccess.2 access.2 faccessat.2
269MLINKS+=access.2 eaccess.2 \
270 access.2 faccessat.2
125MLINKS+=brk.2 sbrk.2
126MLINKS+=cap_enter.2 cap_getmode.2
127MLINKS+=cap_new.2 cap_getrights.2
128MLINKS+=chdir.2 fchdir.2
271MLINKS+=brk.2 sbrk.2
272MLINKS+=cap_enter.2 cap_getmode.2
273MLINKS+=cap_new.2 cap_getrights.2
274MLINKS+=chdir.2 fchdir.2
129MLINKS+=chflags.2 fchflags.2 chflags.2 lchflags.2
130MLINKS+=chmod.2 fchmod.2 chmod.2 fchmodat.2 chmod.2 lchmod.2
131MLINKS+=chown.2 fchown.2 chown.2 fchownat.2 chown.2 lchown.2
132MLINKS+=clock_gettime.2 clock_getres.2 clock_gettime.2 clock_settime.2
133MLINKS+=cpuset.2 cpuset_getid.2 cpuset.2 cpuset_setid.2
275MLINKS+=chflags.2 fchflags.2 \
276 chflags.2 lchflags.2
277MLINKS+=chmod.2 fchmod.2 \
278 chmod.2 fchmodat.2 \
279 chmod.2 lchmod.2
280MLINKS+=chown.2 fchown.2 \
281 chown.2 fchownat.2 \
282 chown.2 lchown.2
283MLINKS+=clock_gettime.2 clock_getres.2 \
284 clock_gettime.2 clock_settime.2
285MLINKS+=cpuset.2 cpuset_getid.2 \
286 cpuset.2 cpuset_setid.2
134MLINKS+=cpuset_getaffinity.2 cpuset_setaffinity.2
135MLINKS+=dup.2 dup2.2
136MLINKS+=execve.2 fexecve.2
137MLINKS+=extattr_get_file.2 extattr.2 \
138 extattr_get_file.2 extattr_delete_fd.2 \
139 extattr_get_file.2 extattr_delete_file.2 \
140 extattr_get_file.2 extattr_delete_list.2 \
141 extattr_get_file.2 extattr_get_fd.2 \
142 extattr_get_file.2 extattr_get_list.2 \
143 extattr_get_file.2 extattr_list_fd.2 \
144 extattr_get_file.2 extattr_list_file.2 \
145 extattr_get_file.2 extattr_list_link.2 \
146 extattr_get_file.2 extattr_set_fd.2 \
147 extattr_get_file.2 extattr_set_file.2 \
148 extattr_get_file.2 extattr_set_link.2
287MLINKS+=cpuset_getaffinity.2 cpuset_setaffinity.2
288MLINKS+=dup.2 dup2.2
289MLINKS+=execve.2 fexecve.2
290MLINKS+=extattr_get_file.2 extattr.2 \
291 extattr_get_file.2 extattr_delete_fd.2 \
292 extattr_get_file.2 extattr_delete_file.2 \
293 extattr_get_file.2 extattr_delete_list.2 \
294 extattr_get_file.2 extattr_get_fd.2 \
295 extattr_get_file.2 extattr_get_list.2 \
296 extattr_get_file.2 extattr_list_fd.2 \
297 extattr_get_file.2 extattr_list_file.2 \
298 extattr_get_file.2 extattr_list_link.2 \
299 extattr_get_file.2 extattr_set_fd.2 \
300 extattr_get_file.2 extattr_set_file.2 \
301 extattr_get_file.2 extattr_set_link.2
149MLINKS+=ffclock.2 ffclock_getcounter.2 ffclock.2 ffclock_getestimate.2 \
302MLINKS+=ffclock.2 ffclock_getcounter.2 \
303 ffclock.2 ffclock_getestimate.2 \
150 ffclock.2 ffclock_setestimate.2
151MLINKS+=fhopen.2 fhstat.2 fhopen.2 fhstatfs.2
152MLINKS+=getdirentries.2 getdents.2
153MLINKS+=getfh.2 lgetfh.2
154MLINKS+=getgid.2 getegid.2
155MLINKS+=getitimer.2 setitimer.2
156MLINKS+=getlogin.2 getlogin_r.3
157MLINKS+=getlogin.2 setlogin.2

--- 6 unchanged lines hidden (view full) ---

164MLINKS+=gettimeofday.2 settimeofday.2
165MLINKS+=getuid.2 geteuid.2
166MLINKS+=intro.2 errno.2
167MLINKS+=jail.2 jail_attach.2 \
168 jail.2 jail_get.2 \
169 jail.2 jail_remove.2 \
170 jail.2 jail_set.2
171MLINKS+=kldunload.2 kldunloadf.2
304 ffclock.2 ffclock_setestimate.2
305MLINKS+=fhopen.2 fhstat.2 fhopen.2 fhstatfs.2
306MLINKS+=getdirentries.2 getdents.2
307MLINKS+=getfh.2 lgetfh.2
308MLINKS+=getgid.2 getegid.2
309MLINKS+=getitimer.2 setitimer.2
310MLINKS+=getlogin.2 getlogin_r.3
311MLINKS+=getlogin.2 setlogin.2

--- 6 unchanged lines hidden (view full) ---

318MLINKS+=gettimeofday.2 settimeofday.2
319MLINKS+=getuid.2 geteuid.2
320MLINKS+=intro.2 errno.2
321MLINKS+=jail.2 jail_attach.2 \
322 jail.2 jail_get.2 \
323 jail.2 jail_remove.2 \
324 jail.2 jail_set.2
325MLINKS+=kldunload.2 kldunloadf.2
172MLINKS+=kqueue.2 kevent.2 kqueue.2 EV_SET.3
326MLINKS+=kqueue.2 kevent.2 \
327 kqueue.2 EV_SET.3
173MLINKS+=link.2 linkat.2
174MLINKS+=madvise.2 posix_madvise.2
175MLINKS+=mkdir.2 mkdirat.2
176MLINKS+=mkfifo.2 mkfifoat.2
177MLINKS+=mknod.2 mknodat.2
178MLINKS+=mlock.2 munlock.2
179MLINKS+=mlockall.2 munlockall.2
180MLINKS+=modnext.2 modfnext.2
328MLINKS+=link.2 linkat.2
329MLINKS+=madvise.2 posix_madvise.2
330MLINKS+=mkdir.2 mkdirat.2
331MLINKS+=mkfifo.2 mkfifoat.2
332MLINKS+=mknod.2 mknodat.2
333MLINKS+=mlock.2 munlock.2
334MLINKS+=mlockall.2 munlockall.2
335MLINKS+=modnext.2 modfnext.2
181MLINKS+=mount.2 nmount.2 mount.2 unmount.2
336MLINKS+=mount.2 nmount.2 \
337 mount.2 unmount.2
182MLINKS+=mq_receive.2 mq_timedreceive.2
183MLINKS+=mq_send.2 mq_timedsend.2
184MLINKS+=ntp_adjtime.2 ntp_gettime.2
185MLINKS+=open.2 openat.2
186MLINKS+=pathconf.2 fpathconf.2
187MLINKS+=pathconf.2 lpathconf.2
188MLINKS+=pdfork.2 pdgetpid.2\
189 pdfork.2 pdkill.2 \
190 pdfork.2 pdwait4.2
338MLINKS+=mq_receive.2 mq_timedreceive.2
339MLINKS+=mq_send.2 mq_timedsend.2
340MLINKS+=ntp_adjtime.2 ntp_gettime.2
341MLINKS+=open.2 openat.2
342MLINKS+=pathconf.2 fpathconf.2
343MLINKS+=pathconf.2 lpathconf.2
344MLINKS+=pdfork.2 pdgetpid.2\
345 pdfork.2 pdkill.2 \
346 pdfork.2 pdwait4.2
191MLINKS+=read.2 pread.2 read.2 preadv.2 read.2 readv.2
347MLINKS+=read.2 pread.2 \
348 read.2 preadv.2 \
349 read.2 readv.2
192MLINKS+=readlink.2 readlinkat.2
350MLINKS+=readlink.2 readlinkat.2
193MLINKS+=recv.2 recvfrom.2 recv.2 recvmsg.2
351MLINKS+=recv.2 recvfrom.2 \
352 recv.2 recvmsg.2
194MLINKS+=rename.2 renameat.2
195MLINKS+=rtprio.2 rtprio_thread.2
196.if !defined(NO_P1003_1B)
197MLINKS+=sched_get_priority_max.2 sched_get_priority_min.2 \
198 sched_get_priority_max.2 sched_rr_get_interval.2
199MLINKS+=sched_setparam.2 sched_getparam.2
200MLINKS+=sched_setscheduler.2 sched_getscheduler.2
201.endif
353MLINKS+=rename.2 renameat.2
354MLINKS+=rtprio.2 rtprio_thread.2
355.if !defined(NO_P1003_1B)
356MLINKS+=sched_get_priority_max.2 sched_get_priority_min.2 \
357 sched_get_priority_max.2 sched_rr_get_interval.2
358MLINKS+=sched_setparam.2 sched_getparam.2
359MLINKS+=sched_setscheduler.2 sched_getscheduler.2
360.endif
202MLINKS+=select.2 FD_CLR.3 select.2 FD_ISSET.3 select.2 FD_SET.3 \
361MLINKS+=select.2 FD_CLR.3 \
362 select.2 FD_ISSET.3 \
363 select.2 FD_SET.3 \
203 select.2 FD_ZERO.3
364 select.2 FD_ZERO.3
204MLINKS+=send.2 sendmsg.2 send.2 sendto.2
365MLINKS+=send.2 sendmsg.2 \
366 send.2 sendto.2
205MLINKS+=setpgid.2 setpgrp.2
367MLINKS+=setpgid.2 setpgrp.2
206MLINKS+=setresuid.2 getresgid.2 setresuid.2 getresuid.2 setresuid.2 setresgid.2
207MLINKS+=setuid.2 setegid.2 setuid.2 seteuid.2 setuid.2 setgid.2
368MLINKS+=setresuid.2 getresgid.2 \
369 setresuid.2 getresuid.2 \
370 setresuid.2 setresgid.2
371MLINKS+=setuid.2 setegid.2 \
372 setuid.2 seteuid.2 \
373 setuid.2 setgid.2
208MLINKS+=shmat.2 shmdt.2
209MLINKS+=shm_open.2 shm_unlink.2
210MLINKS+=sigwaitinfo.2 sigtimedwait.2
374MLINKS+=shmat.2 shmdt.2
375MLINKS+=shm_open.2 shm_unlink.2
376MLINKS+=sigwaitinfo.2 sigtimedwait.2
211MLINKS+=stat.2 fstat.2 stat.2 fstatat.2 stat.2 lstat.2
377MLINKS+=stat.2 fstat.2 \
378 stat.2 fstatat.2 \
379 stat.2 lstat.2
212MLINKS+=statfs.2 fstatfs.2
213MLINKS+=swapon.2 swapoff.2
214MLINKS+=symlink.2 symlinkat.2
215MLINKS+=syscall.2 __syscall.2
380MLINKS+=statfs.2 fstatfs.2
381MLINKS+=swapon.2 swapoff.2
382MLINKS+=symlink.2 symlinkat.2
383MLINKS+=syscall.2 __syscall.2
216MLINKS+=timer_settime.2 timer_getoverrun.2 timer_settime.2 timer_gettime.2
384MLINKS+=timer_settime.2 timer_getoverrun.2 \
385 timer_settime.2 timer_gettime.2
217MLINKS+=truncate.2 ftruncate.2
218MLINKS+=unlink.2 unlinkat.2
386MLINKS+=truncate.2 ftruncate.2
387MLINKS+=unlink.2 unlinkat.2
219MLINKS+=utimes.2 futimes.2 utimes.2 futimesat.2 utimes.2 lutimes.2
220MLINKS+=wait.2 wait3.2 wait.2 wait4.2 wait.2 waitpid.2 \
221 wait.2 waitid.2 wait.2 wait6.2
222MLINKS+=write.2 pwrite.2 write.2 pwritev.2 write.2 writev.2
388MLINKS+=utimes.2 futimes.2 \
389 utimes.2 futimesat.2 \
390 utimes.2 lutimes.2
391MLINKS+=wait.2 wait3.2 \
392 wait.2 wait4.2 \
393 wait.2 waitpid.2 \
394 wait.2 waitid.2 \
395 wait.2 wait6.2
396MLINKS+=write.2 pwrite.2 \
397 write.2 pwritev.2 \
398 write.2 writev.2