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