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