xref: /illumos-gate/usr/src/man/man2/Makefile (revision 0b16192fc3f190a96eb5b0c4e1eb3018af728e39)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet
9# at http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011, Richard Lowe
14# Copyright 2013, OmniTI Computer Consulting, Inc
15# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
16# Copyright (c) 2015, Joyent, Inc.  All rights reserved.
17# Copyright 2017 Peter Tribble
18#
19
20include		$(SRC)/Makefile.master
21
22MANSECT= 	2
23
24MANFILES=	Intro.2			\
25	 	__sparc_utrap_install.2 \
26	 	_lwp_cond_signal.2	\
27	 	_lwp_cond_wait.2	\
28	 	_lwp_info.2		\
29	 	_lwp_kill.2		\
30	 	_lwp_mutex_lock.2	\
31	 	_lwp_self.2		\
32	 	_lwp_sema_wait.2	\
33	 	_lwp_suspend.2		\
34	 	access.2		\
35	 	acct.2			\
36	 	acl.2			\
37	 	adjtime.2		\
38	 	alarm.2			\
39	 	audit.2			\
40	 	auditon.2		\
41	 	brk.2			\
42	 	chdir.2			\
43	 	chmod.2			\
44	 	chown.2			\
45	 	chroot.2		\
46	 	close.2			\
47	 	creat.2			\
48	 	dup.2			\
49	 	exec.2			\
50	 	exit.2			\
51	 	fcntl.2			\
52	 	fork.2			\
53	 	fpathconf.2		\
54	 	getacct.2		\
55	 	getaudit.2		\
56	 	getauid.2		\
57	 	getcontext.2		\
58	 	getdents.2		\
59	 	getgroups.2		\
60	 	getisax.2		\
61	 	getitimer.2		\
62	 	getmsg.2		\
63	 	getpflags.2		\
64	 	getpid.2		\
65	 	getppriv.2		\
66	 	getrlimit.2		\
67	 	getsid.2		\
68	 	getuid.2		\
69	 	getustack.2		\
70	 	ioctl.2			\
71	 	issetugid.2		\
72	 	kill.2			\
73	 	link.2			\
74	 	llseek.2		\
75	 	lseek.2			\
76	 	memcntl.2		\
77	 	meminfo.2		\
78	 	mincore.2		\
79	 	mkdir.2			\
80	 	mknod.2			\
81	 	mmap.2			\
82	 	mmapobj.2		\
83	 	mount.2			\
84	 	mprotect.2		\
85	 	msgctl.2		\
86	 	msgget.2		\
87	 	msgids.2		\
88	 	msgrcv.2		\
89	 	msgsnap.2		\
90	 	msgsnd.2		\
91	 	munmap.2		\
92	 	nice.2			\
93	 	ntp_adjtime.2		\
94	 	ntp_gettime.2		\
95	 	open.2			\
96	 	p_online.2		\
97	 	pause.2			\
98	 	pcsample.2		\
99	 	pipe.2			\
100	 	poll.2			\
101	 	priocntl.2		\
102	 	priocntlset.2		\
103	 	processor_bind.2	\
104	 	processor_info.2	\
105	 	profil.2		\
106	 	pset_bind.2		\
107	 	pset_create.2		\
108	 	pset_info.2		\
109	 	pset_list.2		\
110	 	pset_setattr.2		\
111	 	putmsg.2		\
112	 	read.2			\
113	 	readlink.2		\
114	 	rename.2		\
115	 	resolvepath.2		\
116	 	rmdir.2			\
117	 	semctl.2		\
118	 	semget.2		\
119	 	semids.2		\
120	 	semop.2			\
121	 	setpgid.2		\
122	 	setpgrp.2		\
123	 	setrctl.2		\
124	 	setregid.2		\
125	 	setreuid.2		\
126	 	setsid.2		\
127	 	settaskid.2		\
128	 	setuid.2		\
129	 	shmctl.2		\
130	 	shmget.2		\
131	 	shmids.2		\
132	 	shmop.2			\
133	 	sigaction.2		\
134	 	sigaltstack.2		\
135	 	sigpending.2		\
136	 	sigprocmask.2		\
137	 	sigsend.2		\
138	 	sigsuspend.2		\
139	 	sigwait.2		\
140	 	stat.2			\
141	 	statvfs.2		\
142	 	stime.2			\
143	 	swapctl.2		\
144	 	symlink.2		\
145	 	sync.2			\
146	 	sysfs.2			\
147	 	sysinfo.2		\
148	 	time.2			\
149	 	times.2			\
150	 	uadmin.2		\
151	 	ulimit.2		\
152	 	umask.2			\
153	 	umount.2		\
154	 	uname.2			\
155	 	unlink.2		\
156	 	ustat.2			\
157	 	utime.2			\
158	 	utimes.2		\
159	 	uucopy.2		\
160	 	vfork.2			\
161	 	vhangup.2		\
162	 	waitid.2		\
163	 	write.2			\
164	 	yield.2			\
165
166MANLINKS=	_Exit.2				\
167	 	_exit.2				\
168	 	_lwp_cond_broadcast.2		\
169	 	_lwp_cond_reltimedwait.2	\
170	 	_lwp_cond_timedwait.2		\
171	 	_lwp_continue.2			\
172	 	_lwp_mutex_trylock.2		\
173	 	_lwp_mutex_unlock.2		\
174	 	_lwp_sema_init.2		\
175	 	_lwp_sema_post.2		\
176	 	_lwp_sema_trywait.2		\
177	 	execl.2				\
178	 	execle.2			\
179	 	execlp.2			\
180	 	execv.2				\
181	 	execve.2			\
182	 	execvp.2			\
183	 	faccessat.2			\
184	 	facl.2				\
185	 	fchdir.2			\
186	 	fchmod.2			\
187	 	fchmodat.2			\
188	 	fchown.2			\
189	 	fchownat.2			\
190	 	fchroot.2			\
191	 	fork1.2				\
192	 	forkall.2			\
193	 	forkallx.2			\
194	 	forkx.2				\
195	 	fstat.2				\
196	 	fstatat.2			\
197	 	fstatvfs.2			\
198	 	futimesat.2			\
199		futimens.2			\
200	 	getaudit_addr.2			\
201	 	getegid.2			\
202	 	geteuid.2			\
203	 	getgid.2			\
204	 	getpgid.2			\
205	 	getpgrp.2			\
206	 	getpmsg.2			\
207	 	getppid.2			\
208	 	getprojid.2			\
209	 	getrctl.2			\
210	 	gettaskid.2			\
211	 	intro.2				\
212	 	lchown.2			\
213		linkat.2			\
214	 	lstat.2				\
215		mkdirat.2			\
216		mknodat.2			\
217	 	openat.2			\
218	 	pathconf.2			\
219		pipe2.2				\
220		ppoll.2				\
221	 	pread.2				\
222		preadv.2			\
223	 	pset_assign.2			\
224	 	pset_destroy.2			\
225	 	pset_getattr.2			\
226	 	putacct.2			\
227	 	putpmsg.2			\
228	 	pwrite.2			\
229		pwritev.2			\
230		readlinkat.2			\
231	 	readv.2				\
232	 	renameat.2			\
233	 	sbrk.2				\
234	 	semtimedop.2			\
235	 	setaudit.2			\
236	 	setaudit_addr.2			\
237	 	setauid.2			\
238	 	setcontext.2			\
239	 	setegid.2			\
240	 	seteuid.2			\
241	 	setgid.2			\
242	 	setgroups.2			\
243	 	setitimer.2			\
244	 	setpflags.2			\
245	 	setppriv.2			\
246	 	setrlimit.2			\
247	 	setustack.2			\
248	 	shmat.2				\
249	 	shmdt.2				\
250	 	sigsendset.2			\
251		symlinkat.2			\
252	 	umount2.2			\
253	 	unlinkat.2			\
254		utimensat.2			\
255	 	vforkx.2			\
256	 	wracct.2			\
257	 	writev.2
258
259intro.2				:= LINKSRC = Intro.2
260
261_lwp_cond_broadcast.2		:= LINKSRC = _lwp_cond_signal.2
262
263_lwp_cond_reltimedwait.2	:= LINKSRC = _lwp_cond_wait.2
264_lwp_cond_timedwait.2		:= LINKSRC = _lwp_cond_wait.2
265
266_lwp_mutex_trylock.2		:= LINKSRC = _lwp_mutex_lock.2
267_lwp_mutex_unlock.2		:= LINKSRC = _lwp_mutex_lock.2
268
269_lwp_sema_init.2		:= LINKSRC = _lwp_sema_wait.2
270_lwp_sema_post.2		:= LINKSRC = _lwp_sema_wait.2
271_lwp_sema_trywait.2		:= LINKSRC = _lwp_sema_wait.2
272
273_lwp_continue.2			:= LINKSRC = _lwp_suspend.2
274
275faccessat.2			:= LINKSRC = access.2
276
277facl.2				:= LINKSRC = acl.2
278
279sbrk.2				:= LINKSRC = brk.2
280
281fchdir.2			:= LINKSRC = chdir.2
282
283fchmod.2			:= LINKSRC = chmod.2
284fchmodat.2			:= LINKSRC = chmod.2
285
286fchown.2			:= LINKSRC = chown.2
287fchownat.2			:= LINKSRC = chown.2
288lchown.2			:= LINKSRC = chown.2
289
290fchroot.2			:= LINKSRC = chroot.2
291
292execl.2				:= LINKSRC = exec.2
293execle.2			:= LINKSRC = exec.2
294execlp.2			:= LINKSRC = exec.2
295execv.2				:= LINKSRC = exec.2
296execve.2			:= LINKSRC = exec.2
297execvp.2			:= LINKSRC = exec.2
298
299_Exit.2				:= LINKSRC = exit.2
300_exit.2				:= LINKSRC = exit.2
301
302fork1.2				:= LINKSRC = fork.2
303forkall.2			:= LINKSRC = fork.2
304forkallx.2			:= LINKSRC = fork.2
305forkx.2				:= LINKSRC = fork.2
306
307pathconf.2			:= LINKSRC = fpathconf.2
308
309putacct.2			:= LINKSRC = getacct.2
310wracct.2			:= LINKSRC = getacct.2
311
312getaudit_addr.2			:= LINKSRC = getaudit.2
313setaudit.2			:= LINKSRC = getaudit.2
314setaudit_addr.2			:= LINKSRC = getaudit.2
315
316setauid.2			:= LINKSRC = getauid.2
317
318setcontext.2			:= LINKSRC = getcontext.2
319
320setgroups.2			:= LINKSRC = getgroups.2
321
322setitimer.2			:= LINKSRC = getitimer.2
323
324getpmsg.2			:= LINKSRC = getmsg.2
325
326setpflags.2			:= LINKSRC = getpflags.2
327
328getpgid.2			:= LINKSRC = getpid.2
329getpgrp.2			:= LINKSRC = getpid.2
330getppid.2			:= LINKSRC = getpid.2
331
332setppriv.2			:= LINKSRC = getppriv.2
333
334setrlimit.2			:= LINKSRC = getrlimit.2
335
336getegid.2			:= LINKSRC = getuid.2
337geteuid.2			:= LINKSRC = getuid.2
338getgid.2			:= LINKSRC = getuid.2
339
340setustack.2			:= LINKSRC = getustack.2
341
342linkat.2			:= LINKSRC = link.2
343
344mkdirat.2			:= LINKSRC = mkdir.2
345
346mknodat.2			:= LINKSRC = mknod.2
347
348openat.2			:= LINKSRC = open.2
349
350pipe2.2				:= LINKSRC = pipe.2
351
352ppoll.2				:= LINKSRC = poll.2
353
354pset_assign.2			:= LINKSRC = pset_create.2
355pset_destroy.2			:= LINKSRC = pset_create.2
356
357pset_getattr.2			:= LINKSRC = pset_setattr.2
358
359putpmsg.2			:= LINKSRC = putmsg.2
360
361pread.2				:= LINKSRC = read.2
362readv.2				:= LINKSRC = read.2
363preadv.2			:= LINKSRC = read.2
364
365readlinkat.2			:= LINKSRC = readlink.2
366
367renameat.2			:= LINKSRC = rename.2
368
369semtimedop.2			:= LINKSRC = semop.2
370
371getrctl.2			:= LINKSRC = setrctl.2
372
373getprojid.2			:= LINKSRC = settaskid.2
374gettaskid.2			:= LINKSRC = settaskid.2
375
376setegid.2			:= LINKSRC = setuid.2
377seteuid.2			:= LINKSRC = setuid.2
378setgid.2			:= LINKSRC = setuid.2
379
380shmat.2				:= LINKSRC = shmop.2
381shmdt.2				:= LINKSRC = shmop.2
382
383sigsendset.2			:= LINKSRC = sigsend.2
384
385symlinkat.2			:= LINKSRC = symlink.2
386
387fstat.2				:= LINKSRC = stat.2
388fstatat.2			:= LINKSRC = stat.2
389lstat.2				:= LINKSRC = stat.2
390
391fstatvfs.2			:= LINKSRC = statvfs.2
392
393umount2.2			:= LINKSRC = umount.2
394
395unlinkat.2			:= LINKSRC = unlink.2
396
397futimens.2			:= LINKSRC = utimes.2
398futimesat.2			:= LINKSRC = utimes.2
399utimensat.2			:= LINKSRC = utimes.2
400
401vforkx.2			:= LINKSRC = vfork.2
402
403pwrite.2			:= LINKSRC = write.2
404writev.2			:= LINKSRC = write.2
405pwritev.2			:= LINKSRC = write.2
406
407.KEEP_STATE:
408
409include		$(SRC)/man/Makefile.man
410
411install:	$(ROOTMANFILES) $(ROOTMANLINKS)
412