xref: /freebsd/share/man/man3/Makefile (revision 190cef3d52236565eb22e18b33e9e865ec634aa3)
1#	@(#)Makefile	8.2 (Berkeley) 12/13/93
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6PACKAGE=runtime-manuals
7
8MAN=		assert.3 \
9		ATOMIC_VAR_INIT.3 \
10		bitstring.3 \
11		CMSG_DATA.3 \
12		end.3 \
13		fpgetround.3 \
14		intro.3 \
15		makedev.3 \
16		offsetof.3 \
17		${PTHREAD_MAN} \
18		queue.3 \
19		sigevent.3 \
20		siginfo.3 \
21		stdarg.3 \
22		sysexits.3 \
23		tgmath.3 \
24		timeradd.3 \
25		tree.3
26
27MLINKS=		ATOMIC_VAR_INIT.3 atomic_compare_exchange_strong.3 \
28		ATOMIC_VAR_INIT.3 atomic_compare_exchange_strong_explicit.3 \
29		ATOMIC_VAR_INIT.3 atomic_compare_exchange_weak.3 \
30		ATOMIC_VAR_INIT.3 atomic_compare_exchange_weak_explicit.3 \
31		ATOMIC_VAR_INIT.3 atomic_exchange.3 \
32		ATOMIC_VAR_INIT.3 atomic_exchange_explicit.3 \
33		ATOMIC_VAR_INIT.3 atomic_fetch_add.3 \
34		ATOMIC_VAR_INIT.3 atomic_fetch_add_explicit.3 \
35		ATOMIC_VAR_INIT.3 atomic_fetch_and.3 \
36		ATOMIC_VAR_INIT.3 atomic_fetch_and_explicit.3 \
37		ATOMIC_VAR_INIT.3 atomic_fetch_or.3 \
38		ATOMIC_VAR_INIT.3 atomic_fetch_or_explicit.3 \
39		ATOMIC_VAR_INIT.3 atomic_fetch_sub.3 \
40		ATOMIC_VAR_INIT.3 atomic_fetch_sub_explicit.3 \
41		ATOMIC_VAR_INIT.3 atomic_fetch_xor.3 \
42		ATOMIC_VAR_INIT.3 atomic_fetch_xor_explicit.3 \
43		ATOMIC_VAR_INIT.3 atomic_init.3 \
44		ATOMIC_VAR_INIT.3 atomic_is_lock_free.3 \
45		ATOMIC_VAR_INIT.3 atomic_load.3 \
46		ATOMIC_VAR_INIT.3 atomic_load_explicit.3 \
47		ATOMIC_VAR_INIT.3 atomic_store.3 \
48		ATOMIC_VAR_INIT.3 atomic_store_explicit.3
49MLINKS+=	bitstring.3 bit_alloc.3 \
50		bitstring.3 bit_clear.3 \
51		bitstring.3 bit_decl.3 \
52		bitstring.3 bit_ffc.3 \
53		bitstring.3 bit_ffc_at.3 \
54		bitstring.3 bit_ffs.3 \
55		bitstring.3 bit_ffs_at.3 \
56		bitstring.3 bit_nclear.3 \
57		bitstring.3 bit_nset.3 \
58		bitstring.3 bit_set.3 \
59		bitstring.3 bitstr_size.3 \
60		bitstring.3 bit_test.3
61MLINKS+=	CMSG_DATA.3 CMSG_FIRSTHDR.3 \
62		CMSG_DATA.3 CMSG_LEN.3 \
63		CMSG_DATA.3 CMSG_NEXTHDR.3 \
64		CMSG_DATA.3 CMSG_SPACE.3
65MLINKS+=	end.3 edata.3 \
66		end.3 etext.3
67MLINKS+=	fpgetround.3 fpgetmask.3 \
68		fpgetround.3 fpgetprec.3 \
69		fpgetround.3 fpgetsticky.3 \
70		fpgetround.3 fpresetsticky.3 \
71		fpgetround.3 fpsetmask.3 \
72		fpgetround.3 fpsetprec.3 \
73		fpgetround.3 fpsetround.3
74MLINKS+=	makedev.3 major.3 \
75		makedev.3 minor.3
76MLINKS+=	${PTHREAD_MLINKS}
77MLINKS+=	queue.3 LIST_CLASS_ENTRY.3 \
78		queue.3 LIST_CLASS_HEAD.3 \
79		queue.3 LIST_EMPTY.3 \
80		queue.3 LIST_ENTRY.3 \
81		queue.3 LIST_FIRST.3 \
82		queue.3 LIST_FOREACH.3 \
83		queue.3 LIST_FOREACH_FROM.3 \
84		queue.3 LIST_FOREACH_FROM_SAFE.3 \
85		queue.3 LIST_FOREACH_SAFE.3 \
86		queue.3 LIST_HEAD.3 \
87		queue.3 LIST_HEAD_INITIALIZER.3 \
88		queue.3 LIST_INIT.3 \
89		queue.3 LIST_INSERT_AFTER.3 \
90		queue.3 LIST_INSERT_BEFORE.3 \
91		queue.3 LIST_INSERT_HEAD.3 \
92		queue.3 LIST_NEXT.3 \
93		queue.3 LIST_PREV.3 \
94		queue.3 LIST_REMOVE.3 \
95		queue.3 LIST_SWAP.3 \
96		queue.3 SLIST_CLASS_ENTRY.3 \
97		queue.3 SLIST_CLASS_HEAD.3 \
98		queue.3 SLIST_EMPTY.3 \
99		queue.3 SLIST_ENTRY.3 \
100		queue.3 SLIST_FIRST.3 \
101		queue.3 SLIST_FOREACH.3 \
102		queue.3 SLIST_FOREACH_FROM.3 \
103		queue.3 SLIST_FOREACH_FROM_SAFE.3 \
104		queue.3 SLIST_FOREACH_SAFE.3 \
105		queue.3 SLIST_HEAD.3 \
106		queue.3 SLIST_HEAD_INITIALIZER.3 \
107		queue.3 SLIST_INIT.3 \
108		queue.3 SLIST_INSERT_AFTER.3 \
109		queue.3 SLIST_INSERT_HEAD.3 \
110		queue.3 SLIST_NEXT.3 \
111		queue.3 SLIST_REMOVE.3 \
112		queue.3 SLIST_REMOVE_AFTER.3 \
113		queue.3 SLIST_REMOVE_HEAD.3 \
114		queue.3 SLIST_REMOVE_PREVPTR.3 \
115		queue.3 SLIST_SWAP.3 \
116		queue.3 STAILQ_CLASS_ENTRY.3 \
117		queue.3 STAILQ_CLASS_HEAD.3 \
118		queue.3 STAILQ_CONCAT.3 \
119		queue.3 STAILQ_EMPTY.3 \
120		queue.3 STAILQ_ENTRY.3 \
121		queue.3 STAILQ_FIRST.3 \
122		queue.3 STAILQ_FOREACH.3 \
123		queue.3 STAILQ_FOREACH_FROM.3 \
124		queue.3 STAILQ_FOREACH_FROM_SAFE.3 \
125		queue.3 STAILQ_FOREACH_SAFE.3 \
126		queue.3 STAILQ_HEAD.3 \
127		queue.3 STAILQ_HEAD_INITIALIZER.3 \
128		queue.3 STAILQ_INIT.3 \
129		queue.3 STAILQ_INSERT_AFTER.3 \
130		queue.3 STAILQ_INSERT_HEAD.3 \
131		queue.3 STAILQ_INSERT_TAIL.3 \
132		queue.3 STAILQ_LAST.3 \
133		queue.3 STAILQ_NEXT.3 \
134		queue.3 STAILQ_REMOVE.3 \
135		queue.3 STAILQ_REMOVE_AFTER.3 \
136		queue.3 STAILQ_REMOVE_HEAD.3 \
137		queue.3 STAILQ_SWAP.3 \
138		queue.3 TAILQ_CLASS_ENTRY.3 \
139		queue.3 TAILQ_CLASS_HEAD.3 \
140		queue.3 TAILQ_CONCAT.3 \
141		queue.3 TAILQ_EMPTY.3 \
142		queue.3 TAILQ_ENTRY.3 \
143		queue.3 TAILQ_FIRST.3 \
144		queue.3 TAILQ_FOREACH.3 \
145		queue.3 TAILQ_FOREACH_FROM.3 \
146		queue.3 TAILQ_FOREACH_FROM_SAFE.3 \
147		queue.3 TAILQ_FOREACH_REVERSE.3 \
148		queue.3 TAILQ_FOREACH_REVERSE_FROM.3 \
149		queue.3 TAILQ_FOREACH_REVERSE_FROM_SAFE.3 \
150		queue.3 TAILQ_FOREACH_REVERSE_SAFE.3 \
151		queue.3 TAILQ_FOREACH_SAFE.3 \
152		queue.3 TAILQ_HEAD.3 \
153		queue.3 TAILQ_HEAD_INITIALIZER.3 \
154		queue.3 TAILQ_INIT.3 \
155		queue.3 TAILQ_INSERT_AFTER.3 \
156		queue.3 TAILQ_INSERT_BEFORE.3 \
157		queue.3 TAILQ_INSERT_HEAD.3 \
158		queue.3 TAILQ_INSERT_TAIL.3 \
159		queue.3 TAILQ_LAST.3 \
160		queue.3 TAILQ_NEXT.3 \
161		queue.3 TAILQ_PREV.3 \
162		queue.3 TAILQ_REMOVE.3 \
163		queue.3 TAILQ_SWAP.3
164MLINKS+=	stdarg.3 va_arg.3 \
165		stdarg.3 va_copy.3 \
166		stdarg.3 va_end.3 \
167		stdarg.3 varargs.3 \
168		stdarg.3 va_start.3
169MLINKS+=	timeradd.3 timerclear.3 \
170		timeradd.3 timercmp.3 \
171		timeradd.3 timerisset.3 \
172		timeradd.3 timersub.3 \
173		timeradd.3 timespecadd.3 \
174		timeradd.3 timespecsub.3 \
175		timeradd.3 timespecclear.3 \
176		timeradd.3 timespecisset.3 \
177		timeradd.3 timespeccmp.3
178MLINKS+=	tree.3 RB_EMPTY.3 \
179		tree.3 RB_ENTRY.3 \
180		tree.3 RB_FIND.3 \
181		tree.3 RB_FOREACH.3 \
182		tree.3 RB_FOREACH_REVERSE.3 \
183		tree.3 RB_GENERATE.3 \
184		tree.3 RB_GENERATE_STATIC.3 \
185		tree.3 RB_HEAD.3 \
186		tree.3 RB_INIT.3 \
187		tree.3 RB_INITIALIZER.3 \
188		tree.3 RB_INSERT.3 \
189		tree.3 RB_LEFT.3 \
190		tree.3 RB_MAX.3 \
191		tree.3 RB_MIN.3 \
192		tree.3 RB_NEXT.3 \
193		tree.3 RB_NFIND.3 \
194		tree.3 RB_PARENT.3 \
195		tree.3 RB_PREV.3 \
196		tree.3 RB_PROTOTYPE.3 \
197		tree.3 RB_PROTOTYPE_STATIC.3 \
198		tree.3 RB_REMOVE.3 \
199		tree.3 RB_RIGHT.3 \
200		tree.3 RB_ROOT.3 \
201		tree.3 SPLAY_EMPTY.3 \
202		tree.3 SPLAY_ENTRY.3 \
203		tree.3 SPLAY_FIND.3 \
204		tree.3 SPLAY_FOREACH.3 \
205		tree.3 SPLAY_GENERATE.3 \
206		tree.3 SPLAY_HEAD.3 \
207		tree.3 SPLAY_INIT.3 \
208		tree.3 SPLAY_INITIALIZER.3 \
209		tree.3 SPLAY_INSERT.3 \
210		tree.3 SPLAY_LEFT.3 \
211		tree.3 SPLAY_MAX.3 \
212		tree.3 SPLAY_MIN.3 \
213		tree.3 SPLAY_NEXT.3 \
214		tree.3 SPLAY_PROTOTYPE.3 \
215		tree.3 SPLAY_REMOVE.3 \
216		tree.3 SPLAY_RIGHT.3 \
217		tree.3 SPLAY_ROOT.3
218
219.if ${MK_LIBTHR} != "no"
220PTHREAD_MAN=	pthread.3 \
221		pthread_affinity_np.3 \
222		pthread_atfork.3 \
223		pthread_attr.3 \
224		pthread_attr_affinity_np.3 \
225		pthread_attr_get_np.3 \
226		pthread_attr_setcreatesuspend_np.3 \
227		pthread_barrierattr.3 \
228		pthread_barrier_destroy.3 \
229		pthread_cancel.3 \
230		pthread_cleanup_pop.3 \
231		pthread_cleanup_push.3 \
232		pthread_condattr.3 \
233		pthread_cond_broadcast.3 \
234		pthread_cond_destroy.3 \
235		pthread_cond_init.3 \
236		pthread_cond_signal.3 \
237		pthread_cond_timedwait.3 \
238		pthread_cond_wait.3 \
239		pthread_create.3 \
240		pthread_detach.3 \
241		pthread_equal.3 \
242		pthread_exit.3 \
243		pthread_getconcurrency.3 \
244		pthread_getcpuclockid.3 \
245		pthread_getspecific.3 \
246		pthread_getthreadid_np.3 \
247		pthread_join.3 \
248		pthread_key_create.3 \
249		pthread_key_delete.3 \
250		pthread_kill.3 \
251		pthread_main_np.3 \
252		pthread_multi_np.3 \
253		pthread_mutexattr.3 \
254		pthread_mutexattr_getkind_np.3 \
255		pthread_mutex_consistent.3 \
256		pthread_mutex_destroy.3 \
257		pthread_mutex_init.3 \
258		pthread_mutex_lock.3 \
259		pthread_mutex_timedlock.3 \
260		pthread_mutex_trylock.3 \
261		pthread_mutex_unlock.3 \
262		pthread_once.3 \
263		pthread_resume_all_np.3 \
264		pthread_resume_np.3 \
265		pthread_rwlockattr_destroy.3 \
266		pthread_rwlockattr_getpshared.3 \
267		pthread_rwlockattr_init.3 \
268		pthread_rwlockattr_setpshared.3 \
269		pthread_rwlock_destroy.3 \
270		pthread_rwlock_init.3 \
271		pthread_rwlock_rdlock.3 \
272		pthread_rwlock_timedrdlock.3 \
273		pthread_rwlock_timedwrlock.3 \
274		pthread_rwlock_unlock.3 \
275		pthread_rwlock_wrlock.3 \
276		pthread_schedparam.3 \
277		pthread_self.3 \
278		pthread_set_name_np.3 \
279		pthread_setspecific.3 \
280		pthread_sigmask.3 \
281		pthread_spin_init.3 \
282		pthread_spin_lock.3 \
283		pthread_suspend_all_np.3 \
284		pthread_suspend_np.3 \
285		pthread_switch_add_np.3 \
286		pthread_testcancel.3 \
287		pthread_yield.3
288
289PTHREAD_MLINKS=	pthread_affinity_np.3 pthread_getaffinity_np.3 \
290		pthread_affinity_np.3 pthread_setaffinity_np.3
291PTHREAD_MLINKS+=pthread_attr.3 pthread_attr_destroy.3 \
292		pthread_attr.3 pthread_attr_getdetachstate.3 \
293		pthread_attr.3 pthread_attr_getguardsize.3 \
294		pthread_attr.3 pthread_attr_getinheritsched.3 \
295		pthread_attr.3 pthread_attr_getschedparam.3 \
296		pthread_attr.3 pthread_attr_getschedpolicy.3 \
297		pthread_attr.3 pthread_attr_getscope.3 \
298		pthread_attr.3 pthread_attr_getstack.3 \
299		pthread_attr.3 pthread_attr_getstackaddr.3 \
300		pthread_attr.3 pthread_attr_getstacksize.3 \
301		pthread_attr.3 pthread_attr_init.3 \
302		pthread_attr.3 pthread_attr_setdetachstate.3 \
303		pthread_attr.3 pthread_attr_setguardsize.3 \
304		pthread_attr.3 pthread_attr_setinheritsched.3 \
305		pthread_attr.3 pthread_attr_setschedparam.3 \
306		pthread_attr.3 pthread_attr_setschedpolicy.3 \
307		pthread_attr.3 pthread_attr_setscope.3 \
308		pthread_attr.3 pthread_attr_setstack.3 \
309		pthread_attr.3 pthread_attr_setstackaddr.3 \
310		pthread_attr.3 pthread_attr_setstacksize.3
311PTHREAD_MLINKS+=pthread_attr_affinity_np.3 pthread_attr_getaffinity_np.3 \
312		pthread_attr_affinity_np.3 pthread_attr_setaffinity_np.3
313PTHREAD_MLINKS+=pthread_barrierattr.3 pthread_barrierattr_destroy.3 \
314		pthread_barrierattr.3 pthread_barrierattr_getpshared.3 \
315		pthread_barrierattr.3 pthread_barrierattr_init.3 \
316		pthread_barrierattr.3 pthread_barrierattr_setpshared.3
317PTHREAD_MLINKS+=pthread_barrier_destroy.3 pthread_barrier_init.3 \
318		pthread_barrier_destroy.3 pthread_barrier_wait.3
319PTHREAD_MLINKS+=pthread_condattr.3 pthread_condattr_destroy.3 \
320		pthread_condattr.3 pthread_condattr_init.3 \
321		pthread_condattr.3 pthread_condattr_getclock.3 \
322		pthread_condattr.3 pthread_condattr_setclock.3 \
323		pthread_condattr.3 pthread_condattr_getpshared.3 \
324		pthread_condattr.3 pthread_condattr_setpshared.3
325PTHREAD_MLINKS+=pthread_getconcurrency.3 pthread_setconcurrency.3
326PTHREAD_MLINKS+=pthread_multi_np.3 pthread_single_np.3
327PTHREAD_MLINKS+=pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
328		pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
329		pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
330		pthread_mutexattr.3 pthread_mutexattr_getrobust.3 \
331		pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
332		pthread_mutexattr.3 pthread_mutexattr_init.3 \
333		pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
334		pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
335		pthread_mutexattr.3 pthread_mutexattr_setrobust.3 \
336		pthread_mutexattr.3 pthread_mutexattr_settype.3
337PTHREAD_MLINKS+=pthread_mutexattr_getkind_np.3 pthread_mutexattr_setkind_np.3
338PTHREAD_MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3
339PTHREAD_MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
340PTHREAD_MLINKS+=pthread_schedparam.3 pthread_getschedparam.3 \
341		pthread_schedparam.3 pthread_setschedparam.3
342PTHREAD_MLINKS+=pthread_set_name_np.3 pthread_get_name_np.3
343PTHREAD_MLINKS+=pthread_spin_init.3 pthread_spin_destroy.3 \
344		pthread_spin_lock.3 pthread_spin_trylock.3 \
345		pthread_spin_lock.3 pthread_spin_unlock.3
346PTHREAD_MLINKS+=pthread_switch_add_np.3 pthread_switch_delete_np.3
347PTHREAD_MLINKS+=pthread_testcancel.3 pthread_setcancelstate.3 \
348		pthread_testcancel.3 pthread_setcanceltype.3
349PTHREAD_MLINKS+=pthread_join.3 pthread_timedjoin_np.3
350.endif
351
352.include <bsd.prog.mk>
353