1c10c16dRichard Lowe#
2c10c16dRichard Lowe# This file and its contents are supplied under the terms of the
3c10c16dRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
4c10c16dRichard Lowe# You may only use this file in accordance with the terms of version
5c10c16dRichard Lowe# 1.0 of the CDDL.
6c10c16dRichard Lowe#
7c10c16dRichard Lowe# A full copy of the text of the CDDL should have accompanied this
8c10c16dRichard Lowe# source.  A copy of the CDDL is also available via the Internet
9c10c16dRichard Lowe# at http://www.illumos.org/license/CDDL.
10c10c16dRichard Lowe#
11c10c16dRichard Lowe
12a947810Yuri Pankov#
13c10c16dRichard Lowe# Copyright 2011, Richard Lowe
145dbfd19Theo Schlossnagle# Copyright 2013, OmniTI Computer Consulting, Inc
15a947810Yuri Pankov# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
16de6af22Jason King# Copyright (c) 2018, Joyent, Inc.  All rights reserved.
17b8e5ecdPeter Tribble# Copyright 2017 Peter Tribble
18a947810Yuri Pankov#
19c10c16dRichard Lowe
20a947810Yuri Pankovinclude		$(SRC)/Makefile.master
21c10c16dRichard Lowe
22de6af22Jason KingMANSECT=	2
23c10c16dRichard Lowe
24a947810Yuri PankovMANFILES=	Intro.2			\
25de6af22Jason King		__sparc_utrap_install.2 \
26de6af22Jason King		_lwp_cond_signal.2	\
27de6af22Jason King		_lwp_cond_wait.2	\
28de6af22Jason King		_lwp_info.2		\
29de6af22Jason King		_lwp_kill.2		\
30de6af22Jason King		_lwp_mutex_lock.2	\
31de6af22Jason King		_lwp_self.2		\
32de6af22Jason King		_lwp_sema_wait.2	\
33de6af22Jason King		_lwp_suspend.2		\
34de6af22Jason King		access.2		\
35de6af22Jason King		acct.2			\
36de6af22Jason King		acl.2			\
37de6af22Jason King		adjtime.2		\
38de6af22Jason King		alarm.2			\
39de6af22Jason King		audit.2			\
40de6af22Jason King		auditon.2		\
41de6af22Jason King		brk.2			\
42de6af22Jason King		chdir.2			\
43de6af22Jason King		chmod.2			\
44de6af22Jason King		chown.2			\
45de6af22Jason King		chroot.2		\
46de6af22Jason King		close.2			\
47de6af22Jason King		creat.2			\
48de6af22Jason King		dup.2			\
49de6af22Jason King		exec.2			\
50de6af22Jason King		exit.2			\
51de6af22Jason King		fcntl.2			\
52de6af22Jason King		fork.2			\
53de6af22Jason King		fpathconf.2		\
54de6af22Jason King		getacct.2		\
55de6af22Jason King		getaudit.2		\
56de6af22Jason King		getauid.2		\
57de6af22Jason King		getcontext.2		\
58de6af22Jason King		getdents.2		\
59de6af22Jason King		getgroups.2		\
60de6af22Jason King		getisax.2		\
61de6af22Jason King		getitimer.2		\
62de6af22Jason King		getmsg.2		\
63de6af22Jason King		getpflags.2		\
64de6af22Jason King		getpid.2		\
65de6af22Jason King		getppriv.2		\
66de6af22Jason King		getrandom.2		\
67de6af22Jason King		getrlimit.2		\
68de6af22Jason King		getsid.2		\
69de6af22Jason King		getuid.2		\
70de6af22Jason King		getustack.2		\
71de6af22Jason King		ioctl.2			\
72de6af22Jason King		issetugid.2		\
73de6af22Jason King		kill.2			\
74de6af22Jason King		link.2			\
75de6af22Jason King		llseek.2		\
76de6af22Jason King		lseek.2			\
77de6af22Jason King		memcntl.2		\
78de6af22Jason King		meminfo.2		\
79de6af22Jason King		mincore.2		\
80de6af22Jason King		mkdir.2			\
81de6af22Jason King		mknod.2			\
82de6af22Jason King		mmap.2			\
83de6af22Jason King		mmapobj.2		\
84de6af22Jason King		mount.2			\
85de6af22Jason King		mprotect.2		\
86de6af22Jason King		msgctl.2		\
87de6af22Jason King		msgget.2		\
88de6af22Jason King		msgids.2		\
89de6af22Jason King		msgrcv.2		\
90de6af22Jason King		msgsnap.2		\
91de6af22Jason King		msgsnd.2		\
92de6af22Jason King		munmap.2		\
93de6af22Jason King		nice.2			\
94de6af22Jason King		ntp_adjtime.2		\
95de6af22Jason King		ntp_gettime.2		\
96de6af22Jason King		open.2			\
97de6af22Jason King		p_online.2		\
98de6af22Jason King		pause.2			\
99de6af22Jason King		pcsample.2		\
100de6af22Jason King		pipe.2			\
101de6af22Jason King		poll.2			\
102de6af22Jason King		priocntl.2		\
103de6af22Jason King		priocntlset.2		\
104de6af22Jason King		processor_bind.2	\
105de6af22Jason King		processor_info.2	\
106de6af22Jason King		profil.2		\
107de6af22Jason King		pset_bind.2		\
108de6af22Jason King		pset_create.2		\
109de6af22Jason King		pset_info.2		\
110de6af22Jason King		pset_list.2		\
111de6af22Jason King		pset_setattr.2		\
112de6af22Jason King		putmsg.2		\
113de6af22Jason King		read.2			\
114de6af22Jason King		readlink.2		\
115de6af22Jason King		rename.2		\
116de6af22Jason King		resolvepath.2		\
117de6af22Jason King		rmdir.2			\
118de6af22Jason King		semctl.2		\
119de6af22Jason King		semget.2		\
120de6af22Jason King		semids.2		\
121de6af22Jason King		semop.2			\
122de6af22Jason King		setpgid.2		\
123de6af22Jason King		setpgrp.2		\
124de6af22Jason King		setrctl.2		\
125de6af22Jason King		setregid.2		\
126de6af22Jason King		setreuid.2		\
127de6af22Jason King		setsid.2		\
128de6af22Jason King		settaskid.2		\
129de6af22Jason King		setuid.2		\
130de6af22Jason King		shmctl.2		\
131de6af22Jason King		shmget.2		\
132de6af22Jason King		shmids.2		\
133de6af22Jason King		shmop.2			\
134de6af22Jason King		sigaction.2		\
135de6af22Jason King		sigaltstack.2		\
136de6af22Jason King		sigpending.2		\
137de6af22Jason King		sigprocmask.2		\
138de6af22Jason King		sigsend.2		\
139de6af22Jason King		sigsuspend.2		\
140de6af22Jason King		sigwait.2		\
141de6af22Jason King		stat.2			\
142de6af22Jason King		statvfs.2		\
143de6af22Jason King		stime.2			\
144de6af22Jason King		swapctl.2		\
145de6af22Jason King		symlink.2		\
146de6af22Jason King		sync.2			\
147de6af22Jason King		sysfs.2			\
148de6af22Jason King		sysinfo.2		\
149de6af22Jason King		time.2			\
150de6af22Jason King		times.2			\
151de6af22Jason King		uadmin.2		\
152de6af22Jason King		ulimit.2		\
153de6af22Jason King		umask.2			\
154de6af22Jason King		umount.2		\
155de6af22Jason King		uname.2			\
156de6af22Jason King		unlink.2		\
157de6af22Jason King		ustat.2			\
158de6af22Jason King		utime.2			\
159de6af22Jason King		utimes.2		\
160de6af22Jason King		uucopy.2		\
161de6af22Jason King		vfork.2			\
162de6af22Jason King		vhangup.2		\
163de6af22Jason King		waitid.2		\
164de6af22Jason King		write.2			\
165de6af22Jason King		yield.2			\
166c10c16dRichard Lowe
167a947810Yuri PankovMANLINKS=	_Exit.2				\
168de6af22Jason King		_exit.2				\
169de6af22Jason King		_lwp_cond_broadcast.2		\
170de6af22Jason King		_lwp_cond_reltimedwait.2	\
171de6af22Jason King		_lwp_cond_timedwait.2		\
172de6af22Jason King		_lwp_continue.2			\
173de6af22Jason King		_lwp_mutex_trylock.2		\
174de6af22Jason King		_lwp_mutex_unlock.2		\
175de6af22Jason King		_lwp_sema_init.2		\
176de6af22Jason King		_lwp_sema_post.2		\
177de6af22Jason King		_lwp_sema_trywait.2		\
178de6af22Jason King		execl.2				\
179de6af22Jason King		execle.2			\
180de6af22Jason King		execlp.2			\
181de6af22Jason King		execv.2				\
182de6af22Jason King		execve.2			\
183de6af22Jason King		execvp.2			\
184de6af22Jason King		faccessat.2			\
185de6af22Jason King		facl.2				\
186de6af22Jason King		fchdir.2			\
187de6af22Jason King		fchmod.2			\
188de6af22Jason King		fchmodat.2			\
189de6af22Jason King		fchown.2			\
190de6af22Jason King		fchownat.2			\
191de6af22Jason King		fchroot.2			\
192de6af22Jason King		fork1.2				\
193de6af22Jason King		forkall.2			\
194de6af22Jason King		forkallx.2			\
195de6af22Jason King		forkx.2				\
196de6af22Jason King		fstat.2				\
197de6af22Jason King		fstatat.2			\
198de6af22Jason King		fstatvfs.2			\
199de6af22Jason King		futimesat.2			\
20003c1ea0Robert Mustacchi		futimens.2			\
201de6af22Jason King		getaudit_addr.2			\
202de6af22Jason King		getegid.2			\
203de6af22Jason King		geteuid.2			\
204de6af22Jason King		getgid.2			\
205de6af22Jason King		getpgid.2			\
206de6af22Jason King		getpgrp.2			\
207de6af22Jason King		getpmsg.2			\
208de6af22Jason King		getppid.2			\
209de6af22Jason King		getprojid.2			\
210de6af22Jason King		getrctl.2			\
211de6af22Jason King		gettaskid.2			\
212de6af22Jason King		intro.2				\
213de6af22Jason King		lchown.2			\
2141fcc078Robert Mustacchi		linkat.2			\
215de6af22Jason King		lstat.2				\
2161fcc078Robert Mustacchi		mkdirat.2			\
2171fcc078Robert Mustacchi		mknodat.2			\
218de6af22Jason King		openat.2			\
219de6af22Jason King		pathconf.2			\
220a947810Yuri Pankov		pipe2.2				\
221088940dRobert Mustacchi		ppoll.2				\
222de6af22Jason King		pread.2				\
223fca543cDJ Hoffman		preadv.2			\
224de6af22Jason King		pset_assign.2			\
225de6af22Jason King		pset_destroy.2			\
226de6af22Jason King		pset_getattr.2			\
227de6af22Jason King		putacct.2			\
228de6af22Jason King		putpmsg.2			\
229de6af22Jason King		pwrite.2			\
230fca543cDJ Hoffman		pwritev.2			\
2311fcc078Robert Mustacchi		readlinkat.2			\
232de6af22Jason King		readv.2				\
233de6af22Jason King		renameat.2			\
234de6af22Jason King		sbrk.2				\
235de6af22Jason King		semtimedop.2			\
236de6af22Jason King		setaudit.2			\
237de6af22Jason King		setaudit_addr.2			\
238de6af22Jason King		setauid.2			\
239de6af22Jason King		setcontext.2			\
240de6af22Jason King		setegid.2			\
241de6af22Jason King		seteuid.2			\
242de6af22Jason King		setgid.2			\
243de6af22Jason King		setgroups.2			\
244de6af22Jason King		setitimer.2			\
245de6af22Jason King		setpflags.2			\
246de6af22Jason King		setppriv.2			\
247de6af22Jason King		setrlimit.2			\
248de6af22Jason King		setustack.2			\
249de6af22Jason King		shmat.2				\
250de6af22Jason King		shmdt.2				\
251de6af22Jason King		sigsendset.2			\
2521fcc078Robert Mustacchi		symlinkat.2			\
253de6af22Jason King		umount2.2			\
254de6af22Jason King		unlinkat.2			\
25503c1ea0Robert Mustacchi		utimensat.2			\
256de6af22Jason King		vforkx.2			\
257de6af22Jason King		wracct.2			\
258de6af22Jason King		writev.2
259c10c16dRichard Lowe
260a947810Yuri Pankovintro.2				:= LINKSRC = Intro.2
261c10c16dRichard Lowe
262a947810Yuri Pankov_lwp_cond_broadcast.2		:= LINKSRC = _lwp_cond_signal.2
263c10c16dRichard Lowe
264a947810Yuri Pankov_lwp_cond_reltimedwait.2	:= LINKSRC = _lwp_cond_wait.2
265a947810Yuri Pankov_lwp_cond_timedwait.2		:= LINKSRC = _lwp_cond_wait.2
266c10c16dRichard Lowe
267a947810Yuri Pankov_lwp_mutex_trylock.2		:= LINKSRC = _lwp_mutex_lock.2
268a947810Yuri Pankov_lwp_mutex_unlock.2		:= LINKSRC = _lwp_mutex_lock.2
269c10c16dRichard Lowe
270a947810Yuri Pankov_lwp_sema_init.2		:= LINKSRC = _lwp_sema_wait.2
271a947810Yuri Pankov_lwp_sema_post.2		:= LINKSRC = _lwp_sema_wait.2
272a947810Yuri Pankov_lwp_sema_trywait.2		:= LINKSRC = _lwp_sema_wait.2
273c10c16dRichard Lowe
274a947810Yuri Pankov_lwp_continue.2			:= LINKSRC = _lwp_suspend.2
275c10c16dRichard Lowe
276a947810Yuri Pankovfaccessat.2			:= LINKSRC = access.2
277c10c16dRichard Lowe
278a947810Yuri Pankovfacl.2				:= LINKSRC = acl.2
279c10c16dRichard Lowe
280a947810Yuri Pankovsbrk.2				:= LINKSRC = brk.2
281c10c16dRichard Lowe
282a947810Yuri Pankovfchdir.2			:= LINKSRC = chdir.2
283c10c16dRichard Lowe
284a947810Yuri Pankovfchmod.2			:= LINKSRC = chmod.2
2851fcc078Robert Mustacchifchmodat.2			:= LINKSRC = chmod.2
286c10c16dRichard Lowe
287a947810Yuri Pankovfchown.2			:= LINKSRC = chown.2
288a947810Yuri Pankovfchownat.2			:= LINKSRC = chown.2
289a947810Yuri Pankovlchown.2			:= LINKSRC = chown.2
290c10c16dRichard Lowe
291a947810Yuri Pankovfchroot.2			:= LINKSRC = chroot.2
292c10c16dRichard Lowe
293a947810Yuri Pankovexecl.2				:= LINKSRC = exec.2
294a947810Yuri Pankovexecle.2			:= LINKSRC = exec.2
295a947810Yuri Pankovexeclp.2			:= LINKSRC = exec.2
296a947810Yuri Pankovexecv.2				:= LINKSRC = exec.2
297a947810Yuri Pankovexecve.2			:= LINKSRC = exec.2
298a947810Yuri Pankovexecvp.2			:= LINKSRC = exec.2
299c10c16dRichard Lowe
300a947810Yuri Pankov_Exit.2				:= LINKSRC = exit.2
301a947810Yuri Pankov_exit.2				:= LINKSRC = exit.2
302c10c16dRichard Lowe
303a947810Yuri Pankovfork1.2				:= LINKSRC = fork.2
304a947810Yuri Pankovforkall.2			:= LINKSRC = fork.2
305a947810Yuri Pankovforkallx.2			:= LINKSRC = fork.2
306a947810Yuri Pankovforkx.2				:= LINKSRC = fork.2
307c10c16dRichard Lowe
308a947810Yuri Pankovpathconf.2			:= LINKSRC = fpathconf.2
309c10c16dRichard Lowe
310a947810Yuri Pankovputacct.2			:= LINKSRC = getacct.2
311a947810Yuri Pankovwracct.2			:= LINKSRC = getacct.2
312c10c16dRichard Lowe
313a947810Yuri Pankovgetaudit_addr.2			:= LINKSRC = getaudit.2
314a947810Yuri Pankovsetaudit.2			:= LINKSRC = getaudit.2
315a947810Yuri Pankovsetaudit_addr.2			:= LINKSRC = getaudit.2
316c10c16dRichard Lowe
317a947810Yuri Pankovsetauid.2			:= LINKSRC = getauid.2
318c10c16dRichard Lowe
319a947810Yuri Pankovsetcontext.2			:= LINKSRC = getcontext.2
320c10c16dRichard Lowe
321a947810Yuri Pankovsetgroups.2			:= LINKSRC = getgroups.2
322c10c16dRichard Lowe
323a947810Yuri Pankovsetitimer.2			:= LINKSRC = getitimer.2
324c10c16dRichard Lowe
325a947810Yuri Pankovgetpmsg.2			:= LINKSRC = getmsg.2
326c10c16dRichard Lowe
327a947810Yuri Pankovsetpflags.2			:= LINKSRC = getpflags.2
328c10c16dRichard Lowe
329a947810Yuri Pankovgetpgid.2			:= LINKSRC = getpid.2
330a947810Yuri Pankovgetpgrp.2			:= LINKSRC = getpid.2
331a947810Yuri Pankovgetppid.2			:= LINKSRC = getpid.2
332c10c16dRichard Lowe
333a947810Yuri Pankovsetppriv.2			:= LINKSRC = getppriv.2
334c10c16dRichard Lowe
335a947810Yuri Pankovsetrlimit.2			:= LINKSRC = getrlimit.2
336c10c16dRichard Lowe
337a947810Yuri Pankovgetegid.2			:= LINKSRC = getuid.2
338a947810Yuri Pankovgeteuid.2			:= LINKSRC = getuid.2
339a947810Yuri Pankovgetgid.2			:= LINKSRC = getuid.2
340c10c16dRichard Lowe
341a947810Yuri Pankovsetustack.2			:= LINKSRC = getustack.2
342c10c16dRichard Lowe
3431fcc078Robert Mustacchilinkat.2			:= LINKSRC = link.2
3441fcc078Robert Mustacchi
3451fcc078Robert Mustacchimkdirat.2			:= LINKSRC = mkdir.2
3461fcc078Robert Mustacchi
3471fcc078Robert Mustacchimknodat.2			:= LINKSRC = mknod.2
3481fcc078Robert Mustacchi
349a947810Yuri Pankovopenat.2			:= LINKSRC = open.2
350c10c16dRichard Lowe
351a947810Yuri Pankovpipe2.2				:= LINKSRC = pipe.2
3525dbfd19Theo Schlossnagle
353088940dRobert Mustacchippoll.2				:= LINKSRC = poll.2
354088940dRobert Mustacchi
355a947810Yuri Pankovpset_assign.2			:= LINKSRC = pset_create.2
356a947810Yuri Pankovpset_destroy.2			:= LINKSRC = pset_create.2
357c10c16dRichard Lowe
358a947810Yuri Pankovpset_getattr.2			:= LINKSRC = pset_setattr.2
359c10c16dRichard Lowe
360a947810Yuri Pankovputpmsg.2			:= LINKSRC = putmsg.2
361c10c16dRichard Lowe
362a947810Yuri Pankovpread.2				:= LINKSRC = read.2
363a947810Yuri Pankovreadv.2				:= LINKSRC = read.2
364fca543cDJ Hoffmanpreadv.2			:= LINKSRC = read.2
365c10c16dRichard Lowe
3661fcc078Robert Mustacchireadlinkat.2			:= LINKSRC = readlink.2
3671fcc078Robert Mustacchi
368a947810Yuri Pankovrenameat.2			:= LINKSRC = rename.2
369c10c16dRichard Lowe
370a947810Yuri Pankovsemtimedop.2			:= LINKSRC = semop.2
371c10c16dRichard Lowe
372a947810Yuri Pankovgetrctl.2			:= LINKSRC = setrctl.2
373c10c16dRichard Lowe
374a947810Yuri Pankovgetprojid.2			:= LINKSRC = settaskid.2
375a947810Yuri Pankovgettaskid.2			:= LINKSRC = settaskid.2
376c10c16dRichard Lowe
377a947810Yuri Pankovsetegid.2			:= LINKSRC = setuid.2
378a947810Yuri Pankovseteuid.2			:= LINKSRC = setuid.2
379a947810Yuri Pankovsetgid.2			:= LINKSRC = setuid.2
380c10c16dRichard Lowe
381a947810Yuri Pankovshmat.2				:= LINKSRC = shmop.2
382a947810Yuri Pankovshmdt.2				:= LINKSRC = shmop.2
383c10c16dRichard Lowe
384a947810Yuri Pankovsigsendset.2			:= LINKSRC = sigsend.2
385c10c16dRichard Lowe
3861fcc078Robert Mustacchisymlinkat.2			:= LINKSRC = symlink.2
3871fcc078Robert Mustacchi
388a947810Yuri Pankovfstat.2				:= LINKSRC = stat.2
389a947810Yuri Pankovfstatat.2			:= LINKSRC = stat.2
390a947810Yuri Pankovlstat.2				:= LINKSRC = stat.2
391c10c16dRichard Lowe
392a947810Yuri Pankovfstatvfs.2			:= LINKSRC = statvfs.2
393c10c16dRichard Lowe
394a947810Yuri Pankovumount2.2			:= LINKSRC = umount.2
395c10c16dRichard Lowe
396a947810Yuri Pankovunlinkat.2			:= LINKSRC = unlink.2
397c10c16dRichard Lowe
39803c1ea0Robert Mustacchifutimens.2			:= LINKSRC = utimes.2
399a947810Yuri Pankovfutimesat.2			:= LINKSRC = utimes.2
40003c1ea0Robert Mustacchiutimensat.2			:= LINKSRC = utimes.2
401c10c16dRichard Lowe
402a947810Yuri Pankovvforkx.2			:= LINKSRC = vfork.2
403c10c16dRichard Lowe
404a947810Yuri Pankovpwrite.2			:= LINKSRC = write.2
405a947810Yuri Pankovwritev.2			:= LINKSRC = write.2
406fca543cDJ Hoffmanpwritev.2			:= LINKSRC = write.2
407c10c16dRichard Lowe
408c10c16dRichard Lowe.KEEP_STATE:
409c10c16dRichard Lowe
410a947810Yuri Pankovinclude		$(SRC)/man/Makefile.man
411c10c16dRichard Lowe
412a947810Yuri Pankovinstall:	$(ROOTMANFILES) $(ROOTMANLINKS)
413