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