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