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