xref: /freebsd/share/man/man3/Makefile (revision 0029d6425f076e14a5090675ae8e616d5c0b0593)
1#	@(#)Makefile	8.2 (Berkeley) 12/13/93
2# $FreeBSD$
3
4.include <bsd.own.mk>
5
6MAN=		assert.3 \
7		bitstring.3 \
8		end.3 \
9		fpgetround.3 \
10		intro.3 \
11		${PTHREAD_MAN} \
12		queue.3 \
13		siginfo.3 \
14		stdarg.3 \
15		sysexits.3 \
16		tgmath.3 \
17		timeradd.3 \
18		tree.3
19
20MLINKS=		bitstring.3 bit_alloc.3 \
21		bitstring.3 bit_clear.3 \
22		bitstring.3 bit_decl.3 \
23		bitstring.3 bit_ffc.3 \
24		bitstring.3 bit_ffs.3 \
25		bitstring.3 bit_nclear.3 \
26		bitstring.3 bit_nset.3 \
27		bitstring.3 bit_set.3 \
28		bitstring.3 bitstr_size.3 \
29		bitstring.3 bit_test.3
30MLINKS+=	end.3 edata.3 \
31		end.3 etext.3
32MLINKS+=	fpgetround.3 fpgetmask.3 \
33		fpgetround.3 fpgetprec.3 \
34		fpgetround.3 fpgetsticky.3 \
35		fpgetround.3 fpresetsticky.3 \
36		fpgetround.3 fpsetmask.3 \
37		fpgetround.3 fpsetprec.3 \
38		fpgetround.3 fpsetround.3
39MLINKS+=	${PTHREAD_MLINKS}
40MLINKS+=	queue.3 LIST_EMPTY.3 \
41		queue.3 LIST_ENTRY.3 \
42		queue.3 LIST_FIRST.3 \
43		queue.3 LIST_FOREACH.3 \
44		queue.3 LIST_FOREACH_SAFE.3 \
45		queue.3 LIST_HEAD.3 \
46		queue.3 LIST_HEAD_INITIALIZER.3 \
47		queue.3 LIST_INIT.3 \
48		queue.3 LIST_INSERT_AFTER.3 \
49		queue.3 LIST_INSERT_BEFORE.3 \
50		queue.3 LIST_INSERT_HEAD.3 \
51		queue.3 LIST_NEXT.3 \
52		queue.3 LIST_REMOVE.3 \
53		queue.3 SLIST_EMPTY.3 \
54		queue.3 SLIST_ENTRY.3 \
55		queue.3 SLIST_FIRST.3 \
56		queue.3 SLIST_FOREACH.3 \
57		queue.3 SLIST_FOREACH_SAFE.3 \
58		queue.3 SLIST_HEAD.3 \
59		queue.3 SLIST_HEAD_INITIALIZER.3 \
60		queue.3 SLIST_INIT.3 \
61		queue.3 SLIST_INSERT_AFTER.3 \
62		queue.3 SLIST_INSERT_HEAD.3 \
63		queue.3 SLIST_NEXT.3 \
64		queue.3 SLIST_REMOVE.3 \
65		queue.3 SLIST_REMOVE_HEAD.3 \
66		queue.3 STAILQ_CONCAT.3 \
67		queue.3 STAILQ_EMPTY.3 \
68		queue.3 STAILQ_ENTRY.3 \
69		queue.3 STAILQ_FIRST.3 \
70		queue.3 STAILQ_FOREACH.3 \
71		queue.3 STAILQ_FOREACH_SAFE.3 \
72		queue.3 STAILQ_HEAD.3 \
73		queue.3 STAILQ_HEAD_INITIALIZER.3 \
74		queue.3 STAILQ_INIT.3 \
75		queue.3 STAILQ_INSERT_AFTER.3 \
76		queue.3 STAILQ_INSERT_HEAD.3 \
77		queue.3 STAILQ_INSERT_TAIL.3 \
78		queue.3 STAILQ_LAST.3 \
79		queue.3 STAILQ_NEXT.3 \
80		queue.3 STAILQ_REMOVE.3 \
81		queue.3 STAILQ_REMOVE_HEAD.3 \
82		queue.3 TAILQ_CONCAT.3 \
83		queue.3 TAILQ_EMPTY.3 \
84		queue.3 TAILQ_ENTRY.3 \
85		queue.3 TAILQ_FIRST.3 \
86		queue.3 TAILQ_FOREACH.3 \
87		queue.3 TAILQ_FOREACH_REVERSE.3 \
88		queue.3 TAILQ_FOREACH_REVERSE_SAFE.3 \
89		queue.3 TAILQ_FOREACH_SAFE.3 \
90		queue.3 TAILQ_HEAD.3 \
91		queue.3 TAILQ_HEAD_INITIALIZER.3 \
92		queue.3 TAILQ_INIT.3 \
93		queue.3 TAILQ_INSERT_AFTER.3 \
94		queue.3 TAILQ_INSERT_BEFORE.3 \
95		queue.3 TAILQ_INSERT_HEAD.3 \
96		queue.3 TAILQ_INSERT_TAIL.3 \
97		queue.3 TAILQ_LAST.3 \
98		queue.3 TAILQ_NEXT.3 \
99		queue.3 TAILQ_PREV.3 \
100		queue.3 TAILQ_REMOVE.3
101MLINKS+=	stdarg.3 va_arg.3 \
102		stdarg.3 va_copy.3 \
103		stdarg.3 va_end.3 \
104		stdarg.3 varargs.3 \
105		stdarg.3 va_start.3
106MLINKS+=	timeradd.3 timerclear.3 \
107		timeradd.3 timercmp.3 \
108		timeradd.3 timerisset.3 \
109		timeradd.3 timersub.3
110MLINKS+=	tree.3 RB_EMPTY.3 \
111		tree.3 RB_ENTRY.3 \
112		tree.3 RB_FIND.3 \
113		tree.3 RB_FOREACH.3 \
114		tree.3 RB_GENERATE.3 \
115		tree.3 RB_GENERATE_STATIC.3 \
116		tree.3 RB_HEAD.3 \
117		tree.3 RB_INIT.3 \
118		tree.3 RB_INITIALIZER.3 \
119		tree.3 RB_INSERT.3 \
120		tree.3 RB_LEFT.3 \
121		tree.3 RB_MAX.3 \
122		tree.3 RB_MIN.3 \
123		tree.3 RB_NEXT.3 \
124		tree.3 RB_NFIND.3 \
125		tree.3 RB_PARENT.3 \
126		tree.3 RB_PROTOTYPE.3 \
127		tree.3 RB_PROTOTYPE_STATIC.3 \
128		tree.3 RB_REMOVE.3 \
129		tree.3 RB_RIGHT.3 \
130		tree.3 RB_ROOT.3 \
131		tree.3 SPLAY_EMPTY.3 \
132		tree.3 SPLAY_ENTRY.3 \
133		tree.3 SPLAY_FIND.3 \
134		tree.3 SPLAY_FOREACH.3 \
135		tree.3 SPLAY_GENERATE.3 \
136		tree.3 SPLAY_HEAD.3 \
137		tree.3 SPLAY_INIT.3 \
138		tree.3 SPLAY_INITIALIZER.3 \
139		tree.3 SPLAY_INSERT.3 \
140		tree.3 SPLAY_LEFT.3 \
141		tree.3 SPLAY_MAX.3 \
142		tree.3 SPLAY_MIN.3 \
143		tree.3 SPLAY_NEXT.3 \
144		tree.3 SPLAY_PROTOTYPE.3 \
145		tree.3 SPLAY_REMOVE.3 \
146		tree.3 SPLAY_RIGHT.3 \
147		tree.3 SPLAY_ROOT.3
148
149.if ${MK_LIBC_R} != "no" || ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
150PTHREAD_MAN=	pthread.3 \
151		pthread_atfork.3 \
152		pthread_attr.3 \
153		pthread_attr_get_np.3 \
154		pthread_attr_setcreatesuspend_np.3 \
155		pthread_barrierattr.3 \
156		pthread_barrier_destroy.3 \
157		pthread_cancel.3 \
158		pthread_cleanup_pop.3 \
159		pthread_cleanup_push.3 \
160		pthread_condattr.3 \
161		pthread_cond_broadcast.3 \
162		pthread_cond_destroy.3 \
163		pthread_cond_init.3 \
164		pthread_cond_signal.3 \
165		pthread_cond_timedwait.3 \
166		pthread_cond_wait.3 \
167		pthread_create.3 \
168		pthread_detach.3 \
169		pthread_equal.3 \
170		pthread_exit.3 \
171		pthread_getconcurrency.3 \
172		pthread_getspecific.3 \
173		pthread_join.3 \
174		pthread_key_create.3 \
175		pthread_key_delete.3 \
176		pthread_kill.3 \
177		pthread_main_np.3 \
178		pthread_multi_np.3 \
179		pthread_mutexattr.3 \
180		pthread_mutexattr_getkind_np.3 \
181		pthread_mutex_destroy.3 \
182		pthread_mutex_init.3 \
183		pthread_mutex_lock.3 \
184		pthread_mutex_timedlock.3 \
185		pthread_mutex_trylock.3 \
186		pthread_mutex_unlock.3 \
187		pthread_once.3 \
188		pthread_resume_all_np.3 \
189		pthread_resume_np.3 \
190		pthread_rwlockattr_destroy.3 \
191		pthread_rwlockattr_getpshared.3 \
192		pthread_rwlockattr_init.3 \
193		pthread_rwlockattr_setpshared.3 \
194		pthread_rwlock_destroy.3 \
195		pthread_rwlock_init.3 \
196		pthread_rwlock_rdlock.3 \
197		pthread_rwlock_timedrdlock.3 \
198		pthread_rwlock_timedwrlock.3 \
199		pthread_rwlock_unlock.3 \
200		pthread_rwlock_wrlock.3 \
201		pthread_schedparam.3 \
202		pthread_self.3 \
203		pthread_set_name_np.3 \
204		pthread_setspecific.3 \
205		pthread_sigmask.3 \
206		pthread_spin_init.3 \
207		pthread_spin_lock.3 \
208		pthread_suspend_all_np.3 \
209		pthread_suspend_np.3 \
210		pthread_switch_add_np.3 \
211		pthread_testcancel.3 \
212		pthread_yield.3
213
214PTHREAD_MLINKS=	pthread_attr.3 pthread_attr_destroy.3 \
215		pthread_attr.3 pthread_attr_getdetachstate.3 \
216		pthread_attr.3 pthread_attr_getguardsize.3 \
217		pthread_attr.3 pthread_attr_getinheritsched.3 \
218		pthread_attr.3 pthread_attr_getschedparam.3 \
219		pthread_attr.3 pthread_attr_getschedpolicy.3 \
220		pthread_attr.3 pthread_attr_getscope.3 \
221		pthread_attr.3 pthread_attr_getstack.3 \
222		pthread_attr.3 pthread_attr_getstackaddr.3 \
223		pthread_attr.3 pthread_attr_getstacksize.3 \
224		pthread_attr.3 pthread_attr_init.3 \
225		pthread_attr.3 pthread_attr_setdetachstate.3 \
226		pthread_attr.3 pthread_attr_setguardsize.3 \
227		pthread_attr.3 pthread_attr_setinheritsched.3 \
228		pthread_attr.3 pthread_attr_setschedparam.3 \
229		pthread_attr.3 pthread_attr_setschedpolicy.3 \
230		pthread_attr.3 pthread_attr_setscope.3 \
231		pthread_attr.3 pthread_attr_setstack.3 \
232		pthread_attr.3 pthread_attr_setstackaddr.3 \
233		pthread_attr.3 pthread_attr_setstacksize.3
234PTHREAD_MLINKS+=pthread_barrierattr.3 pthread_barrierattr_destroy.3 \
235		pthread_barrierattr.3 pthread_barrierattr_getpshared.3 \
236		pthread_barrierattr.3 pthread_barrierattr_init.3 \
237		pthread_barrierattr.3 pthread_barrierattr_setpshared.3
238PTHREAD_MLINKS+=pthread_barrier_destroy.3 pthread_barrier_init.3 \
239		pthread_barrier_destroy.3 pthread_barrier_wait.3
240PTHREAD_MLINKS+=pthread_condattr.3 pthread_condattr_destroy.3 \
241		pthread_condattr.3 pthread_condattr_init.3
242PTHREAD_MLINKS+=pthread_getconcurrency.3 pthread_setconcurrency.3
243PTHREAD_MLINKS+=pthread_multi_np.3 pthread_single_np.3
244PTHREAD_MLINKS+=pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
245		pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
246		pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
247		pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
248		pthread_mutexattr.3 pthread_mutexattr_init.3 \
249		pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
250		pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
251		pthread_mutexattr.3 pthread_mutexattr_settype.3
252PTHREAD_MLINKS+=pthread_mutexattr_getkind_np.3 pthread_mutexattr_setkind_np.3
253PTHREAD_MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3
254PTHREAD_MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
255PTHREAD_MLINKS+=pthread_schedparam.3 pthread_getschedparam.3 \
256		pthread_schedparam.3 pthread_setschedparam.3
257PTHREAD_MLINKS+=pthread_spin_init.3 pthread_spin_destroy.3 \
258		pthread_spin_lock.3 pthread_spin_trylock.3 \
259		pthread_spin_lock.3 pthread_spin_unlock.3
260PTHREAD_MLINKS+=pthread_switch_add_np.3 pthread_switch_delete_np.3
261PTHREAD_MLINKS+=pthread_testcancel.3 pthread_setcancelstate.3 \
262		pthread_testcancel.3 pthread_setcanceltype.3
263.endif
264
265.include <bsd.prog.mk>
266