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