xref: /illumos-gate/usr/src/man/man2/Makefile (revision 406fc5100dac8d225a315a6def6be8d628f34e24)
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#
18
19include		$(SRC)/Makefile.master
20
21MANSECT= 	2
22
23MANFILES=	Intro.2			\
24	 	__sparc_utrap_install.2 \
25	 	_lwp_cond_signal.2	\
26	 	_lwp_cond_wait.2	\
27	 	_lwp_info.2		\
28	 	_lwp_kill.2		\
29	 	_lwp_mutex_lock.2	\
30	 	_lwp_self.2		\
31	 	_lwp_sema_wait.2	\
32	 	_lwp_suspend.2		\
33	 	access.2		\
34	 	acct.2			\
35	 	acl.2			\
36	 	adjtime.2		\
37	 	alarm.2			\
38	 	audit.2			\
39	 	auditon.2		\
40	 	brk.2			\
41	 	chdir.2			\
42	 	chmod.2			\
43	 	chown.2			\
44	 	chroot.2		\
45	 	close.2			\
46	 	creat.2			\
47	 	dup.2			\
48	 	exec.2			\
49	 	exit.2			\
50	 	fcntl.2			\
51	 	fork.2			\
52	 	fpathconf.2		\
53	 	getacct.2		\
54	 	getaudit.2		\
55	 	getauid.2		\
56	 	getcontext.2		\
57	 	getdents.2		\
58	 	getgroups.2		\
59	 	getisax.2		\
60	 	getitimer.2		\
61	 	getlabel.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	 	fgetlabel.2			\
192	 	fork1.2				\
193	 	forkall.2			\
194	 	forkallx.2			\
195	 	forkx.2				\
196	 	fstat.2				\
197	 	fstatat.2			\
198	 	fstatvfs.2			\
199	 	futimesat.2			\
200		futimens.2			\
201	 	getaudit_addr.2			\
202	 	getegid.2			\
203	 	geteuid.2			\
204	 	getgid.2			\
205	 	getpgid.2			\
206	 	getpgrp.2			\
207	 	getpmsg.2			\
208	 	getppid.2			\
209	 	getprojid.2			\
210	 	getrctl.2			\
211	 	gettaskid.2			\
212	 	intro.2				\
213	 	lchown.2			\
214		linkat.2			\
215	 	lstat.2				\
216		mkdirat.2			\
217		mknodat.2			\
218	 	openat.2			\
219	 	pathconf.2			\
220		pipe2.2				\
221		ppoll.2				\
222	 	pread.2				\
223		preadv.2			\
224	 	pset_assign.2			\
225	 	pset_destroy.2			\
226	 	pset_getattr.2			\
227	 	putacct.2			\
228	 	putpmsg.2			\
229	 	pwrite.2			\
230		pwritev.2			\
231		readlinkat.2			\
232	 	readv.2				\
233	 	renameat.2			\
234	 	sbrk.2				\
235	 	semtimedop.2			\
236	 	setaudit.2			\
237	 	setaudit_addr.2			\
238	 	setauid.2			\
239	 	setcontext.2			\
240	 	setegid.2			\
241	 	seteuid.2			\
242	 	setgid.2			\
243	 	setgroups.2			\
244	 	setitimer.2			\
245	 	setpflags.2			\
246	 	setppriv.2			\
247	 	setrlimit.2			\
248	 	setustack.2			\
249	 	shmat.2				\
250	 	shmdt.2				\
251	 	sigsendset.2			\
252		symlinkat.2			\
253	 	umount2.2			\
254	 	unlinkat.2			\
255		utimensat.2			\
256	 	vforkx.2			\
257	 	wracct.2			\
258	 	writev.2
259
260intro.2				:= LINKSRC = Intro.2
261
262_lwp_cond_broadcast.2		:= LINKSRC = _lwp_cond_signal.2
263
264_lwp_cond_reltimedwait.2	:= LINKSRC = _lwp_cond_wait.2
265_lwp_cond_timedwait.2		:= LINKSRC = _lwp_cond_wait.2
266
267_lwp_mutex_trylock.2		:= LINKSRC = _lwp_mutex_lock.2
268_lwp_mutex_unlock.2		:= LINKSRC = _lwp_mutex_lock.2
269
270_lwp_sema_init.2		:= LINKSRC = _lwp_sema_wait.2
271_lwp_sema_post.2		:= LINKSRC = _lwp_sema_wait.2
272_lwp_sema_trywait.2		:= LINKSRC = _lwp_sema_wait.2
273
274_lwp_continue.2			:= LINKSRC = _lwp_suspend.2
275
276faccessat.2			:= LINKSRC = access.2
277
278facl.2				:= LINKSRC = acl.2
279
280sbrk.2				:= LINKSRC = brk.2
281
282fchdir.2			:= LINKSRC = chdir.2
283
284fchmod.2			:= LINKSRC = chmod.2
285fchmodat.2			:= LINKSRC = chmod.2
286
287fchown.2			:= LINKSRC = chown.2
288fchownat.2			:= LINKSRC = chown.2
289lchown.2			:= LINKSRC = chown.2
290
291fchroot.2			:= LINKSRC = chroot.2
292
293execl.2				:= LINKSRC = exec.2
294execle.2			:= LINKSRC = exec.2
295execlp.2			:= LINKSRC = exec.2
296execv.2				:= LINKSRC = exec.2
297execve.2			:= LINKSRC = exec.2
298execvp.2			:= LINKSRC = exec.2
299
300_Exit.2				:= LINKSRC = exit.2
301_exit.2				:= LINKSRC = exit.2
302
303fork1.2				:= LINKSRC = fork.2
304forkall.2			:= LINKSRC = fork.2
305forkallx.2			:= LINKSRC = fork.2
306forkx.2				:= LINKSRC = fork.2
307
308pathconf.2			:= LINKSRC = fpathconf.2
309
310putacct.2			:= LINKSRC = getacct.2
311wracct.2			:= LINKSRC = getacct.2
312
313getaudit_addr.2			:= LINKSRC = getaudit.2
314setaudit.2			:= LINKSRC = getaudit.2
315setaudit_addr.2			:= LINKSRC = getaudit.2
316
317setauid.2			:= LINKSRC = getauid.2
318
319setcontext.2			:= LINKSRC = getcontext.2
320
321setgroups.2			:= LINKSRC = getgroups.2
322
323setitimer.2			:= LINKSRC = getitimer.2
324
325fgetlabel.2			:= LINKSRC = getlabel.2
326
327getpmsg.2			:= LINKSRC = getmsg.2
328
329setpflags.2			:= LINKSRC = getpflags.2
330
331getpgid.2			:= LINKSRC = getpid.2
332getpgrp.2			:= LINKSRC = getpid.2
333getppid.2			:= LINKSRC = getpid.2
334
335setppriv.2			:= LINKSRC = getppriv.2
336
337setrlimit.2			:= LINKSRC = getrlimit.2
338
339getegid.2			:= LINKSRC = getuid.2
340geteuid.2			:= LINKSRC = getuid.2
341getgid.2			:= LINKSRC = getuid.2
342
343setustack.2			:= LINKSRC = getustack.2
344
345linkat.2			:= LINKSRC = link.2
346
347mkdirat.2			:= LINKSRC = mkdir.2
348
349mknodat.2			:= LINKSRC = mknod.2
350
351openat.2			:= LINKSRC = open.2
352
353pipe2.2				:= LINKSRC = pipe.2
354
355ppoll.2				:= LINKSRC = poll.2
356
357pset_assign.2			:= LINKSRC = pset_create.2
358pset_destroy.2			:= LINKSRC = pset_create.2
359
360pset_getattr.2			:= LINKSRC = pset_setattr.2
361
362putpmsg.2			:= LINKSRC = putmsg.2
363
364pread.2				:= LINKSRC = read.2
365readv.2				:= LINKSRC = read.2
366preadv.2			:= LINKSRC = read.2
367
368readlinkat.2			:= LINKSRC = readlink.2
369
370renameat.2			:= LINKSRC = rename.2
371
372semtimedop.2			:= LINKSRC = semop.2
373
374getrctl.2			:= LINKSRC = setrctl.2
375
376getprojid.2			:= LINKSRC = settaskid.2
377gettaskid.2			:= LINKSRC = settaskid.2
378
379setegid.2			:= LINKSRC = setuid.2
380seteuid.2			:= LINKSRC = setuid.2
381setgid.2			:= LINKSRC = setuid.2
382
383shmat.2				:= LINKSRC = shmop.2
384shmdt.2				:= LINKSRC = shmop.2
385
386sigsendset.2			:= LINKSRC = sigsend.2
387
388symlinkat.2			:= LINKSRC = symlink.2
389
390fstat.2				:= LINKSRC = stat.2
391fstatat.2			:= LINKSRC = stat.2
392lstat.2				:= LINKSRC = stat.2
393
394fstatvfs.2			:= LINKSRC = statvfs.2
395
396umount2.2			:= LINKSRC = umount.2
397
398unlinkat.2			:= LINKSRC = unlink.2
399
400futimens.2			:= LINKSRC = utimes.2
401futimesat.2			:= LINKSRC = utimes.2
402utimensat.2			:= LINKSRC = utimes.2
403
404vforkx.2			:= LINKSRC = vfork.2
405
406pwrite.2			:= LINKSRC = write.2
407writev.2			:= LINKSRC = write.2
408pwritev.2			:= LINKSRC = write.2
409
410.KEEP_STATE:
411
412include		$(SRC)/man/Makefile.man
413
414install:	$(ROOTMANFILES) $(ROOTMANLINKS)
415