1#         $NetBSD: Makefile,v 1.94 2024/10/08 23:11:21 christos Exp $
2#         @(#)Makefile        8.2 (Berkeley) 12/13/93
3
4MAN=      _DIAGASSERT.3 __CONCAT.3 __FPTRCAST.3 __UNCONST.3 __USE.3 CMSG_DATA.3 \
5          __alignof__.3 __arraycount.3 \
6          __builtin_constant_p.3 __builtin_prefetch.3 \
7          __builtin_return_address.3 \
8          __builtin_types_compatible_p.3 __insn_barrier.3 \
9          assert.3 attribute.3 bitmap.3 bitops.3 bits.3 bitstring.3 \
10          cdefs.3 container_of.3 dirent.3 dlfcn.3 dlinfo.3 dl_iterate_phdr.3 \
11          end.3 fast_divide32.3 ffs32.3 gcq.3 \
12          ilog2.3 intro.3 inttypes.3 iso646.3 limits.3 \
13          makedev.3 offsetof.3 param.3 paths.3 queue.3 rbtree.3 sigevent.3 \
14          stdarg.3 stdbool.3 stddef.3 stdint.3 stdlib.3 sysexits.3 \
15          tgmath.3 timeradd.3 timeval.3 tm.3 tree.3 typeof.3 types.3 \
16          uchar.3 \
17          unistd.3
18
19USETBL=   # used by queue.3
20
21MLINKS+=__CONCAT.3 __STRING.3
22MLINKS+=__UNCONST.3 __UNVOLATILE.3
23MLINKS+=__builtin_return_address.3 __builtin_frame_address.3
24MLINKS+=attribute.3 __dead.3 \
25          attribute.3 __pure.3 \
26          attribute.3 __constfunc.3 \
27          attribute.3 __noinline.3 \
28          attribute.3 __unused.3 \
29          attribute.3 __used.3 \
30          attribute.3 __diagused.3 \
31          attribute.3 __debugused.3 \
32          attribute.3 __packed.3 \
33          attribute.3 __aligned.3 \
34          attribute.3 __section.3 \
35          attribute.3 __read_mostly.3 \
36          attribute.3 __cacheline_aligned.3 \
37          attribute.3 __predict_true.3 \
38          attribute.3 __predict_false.3
39MLINKS+=bitstring.3 bit_alloc.3 \
40          bitstring.3 bit_clear.3 \
41          bitstring.3 bit_decl.3 \
42          bitstring.3 bit_ffc.3 \
43          bitstring.3 bit_ffs.3 \
44          bitstring.3 bit_nclear.3 \
45          bitstring.3 bit_nset.3 \
46          bitstring.3 bit_set.3 \
47          bitstring.3 bitstr_size.3 \
48          bitstring.3 bit_test.3
49MLINKS+=bits.3 __BIT.3 \
50          bits.3 __BITS.3 \
51          bits.3 __MASK.3 \
52          bits.3 __SHIFTIN.3 \
53          bits.3 __SHIFTOUT.3 \
54          bits.3 __SHIFTOUT_MASK.3
55MLINKS+=cdefs.3 __RCSID.3 \
56          cdefs.3 __KERNEL_RCSID.3
57MLINKS+=end.3 edata.3 end.3 etext.3
58MLINKS+=fast_divide32.3 fast_divide32_prepare.3 \
59          fast_divide32.3 fast_remainder32.3
60MLINKS+=ffs32.3 ffs64.3 \
61          ffs32.3 fls32.3 \
62          ffs32.3 fls64.3
63MLINKS+=makedev.3 major.3 \
64          makedev.3 minor.3
65MLINKS+=gcq.3 GCQ_INIT.3 \
66          gcq.3 GCQ_INIT_HEAD.3 \
67          gcq.3 gcq_init.3 \
68          gcq.3 gcq_init_head.3 \
69          gcq.3 gcq_q.3 \
70          gcq.3 gcq_hq.3 \
71          gcq.3 gcq_head.3 \
72          gcq.3 gcq_remove.3 \
73          gcq.3 gcq_onlist.3 \
74          gcq.3 gcq_empty.3 \
75          gcq.3 gcq_linked.3 \
76          gcq.3 gcq_insert_after.3 \
77          gcq.3 gcq_insert_before.3 \
78          gcq.3 gcq_insert_head.3 \
79          gcq.3 gcq_insert_tail.3 \
80          gcq.3 gcq_tie.3 \
81          gcq.3 gcq_tie_after.3 \
82          gcq.3 gcq_tie_before.3 \
83          gcq.3 gcq_merge.3 \
84          gcq.3 gcq_merge_head.3 \
85          gcq.3 gcq_merge_tail.3 \
86          gcq.3 gcq_clear.3 \
87          gcq.3 gcq_remove_all.3 \
88          gcq.3 GCQ_ITEM.3 \
89          gcq.3 GCQ_GOT_FIRST.3 \
90          gcq.3 GCQ_GOT_LAST.3 \
91          gcq.3 GCQ_GOT_NEXT.3 \
92          gcq.3 GCQ_GOT_PREV.3 \
93          gcq.3 GCQ_DEQUEUED_FIRST.3 \
94          gcq.3 GCQ_DEQUEUED_LAST.3 \
95          gcq.3 GCQ_DEQUEUED_NEXT.3 \
96          gcq.3 GCQ_DEQUEUED_PREV.3 \
97          gcq.3 GCQ_GOT_FIRST_TYPED.3 \
98          gcq.3 GCQ_GOT_LAST_TYPED.3 \
99          gcq.3 GCQ_GOT_NEXT_TYPED.3 \
100          gcq.3 GCQ_GOT_PREV_TYPED.3 \
101          gcq.3 GCQ_DEQUEUED_FIRST_TYPED.3 \
102          gcq.3 GCQ_DEQUEUED_LAST_TYPED.3 \
103          gcq.3 GCQ_DEQUEUED_NEXT_TYPED.3 \
104          gcq.3 GCQ_DEQUEUED_PREV_TYPED.3 \
105          gcq.3 GCQ_GOT_FIRST_COND.3 \
106          gcq.3 GCQ_GOT_LAST_COND.3 \
107          gcq.3 GCQ_GOT_NEXT_COND.3 \
108          gcq.3 GCQ_GOT_PREV_COND.3 \
109          gcq.3 GCQ_DEQUEUED_FIRST_COND.3 \
110          gcq.3 GCQ_DEQUEUED_LAST_COND.3 \
111          gcq.3 GCQ_DEQUEUED_NEXT_COND.3 \
112          gcq.3 GCQ_DEQUEUED_PREV_COND.3 \
113          gcq.3 GCQ_GOT_FIRST_COND_TYPED.3 \
114          gcq.3 GCQ_GOT_LAST_COND_TYPED.3 \
115          gcq.3 GCQ_GOT_NEXT_COND_TYPED.3 \
116          gcq.3 GCQ_GOT_PREV_COND_TYPED.3 \
117          gcq.3 GCQ_DEQUEUED_FIRST_COND_TYPED.3 \
118          gcq.3 GCQ_DEQUEUED_LAST_COND_TYPED.3 \
119          gcq.3 GCQ_DEQUEUED_NEXT_COND_TYPED.3 \
120          gcq.3 GCQ_DEQUEUED_PREV_COND_TYPED.3 \
121          gcq.3 GCQ_FOREACH.3 \
122          gcq.3 GCQ_FOREACH_REV.3 \
123          gcq.3 GCQ_FOREACH_NVAR.3 \
124          gcq.3 GCQ_FOREACH_NVAR_REV.3 \
125          gcq.3 GCQ_FOREACH_RO.3 \
126          gcq.3 GCQ_FOREACH_RO_REV.3 \
127          gcq.3 GCQ_FOREACH_DEQUEUED.3 \
128          gcq.3 GCQ_FOREACH_DEQUEUED_REV.3 \
129          gcq.3 GCQ_FOREACH_TYPED.3 \
130          gcq.3 GCQ_FOREACH_REV_TYPED.3 \
131          gcq.3 GCQ_FOREACH_NVAR_TYPED.3 \
132          gcq.3 GCQ_FOREACH_NVAR_REV_TYPED.3 \
133          gcq.3 GCQ_FOREACH_RO_TYPED.3 \
134          gcq.3 GCQ_FOREACH_RO_REV_TYPED.3 \
135          gcq.3 GCQ_FOREACH_DEQUEUED_TYPED.3 \
136          gcq.3 GCQ_FOREACH_DEQUEUED_REV_TYPED.3 \
137          gcq.3 GCQ_FIND.3 \
138          gcq.3 GCQ_FIND_REV.3 \
139          gcq.3 GCQ_FIND_TYPED.3 \
140          gcq.3 GCQ_FIND_REV_TYPED.3
141
142MLINKS+=queue.3 LIST.3 \
143          queue.3 LIST_EMPTY.3 \
144          queue.3 LIST_ENTRY.3 \
145          queue.3 LIST_FIRST.3 \
146          queue.3 LIST_FOREACH.3 \
147          queue.3 LIST_FOREACH_SAFE.3 \
148          queue.3 LIST_HEAD.3 \
149          queue.3 LIST_HEAD_INITIALIZER.3 \
150          queue.3 LIST_INIT.3 \
151          queue.3 LIST_INSERT_AFTER.3 \
152          queue.3 LIST_INSERT_BEFORE.3 \
153          queue.3 LIST_INSERT_HEAD.3 \
154          queue.3 LIST_NEXT.3 \
155          queue.3 LIST_REMOVE.3 \
156          queue.3 LIST_REPLACE.3
157
158MLINKS+=queue.3 SIMPLEQ.3 \
159          queue.3 SIMPLEQ_CONCAT.3 \
160          queue.3 SIMPLEQ_EMPTY.3 \
161          queue.3 SIMPLEQ_ENTRY.3 \
162          queue.3 SIMPLEQ_FIRST.3 \
163          queue.3 SIMPLEQ_FOREACH.3 \
164          queue.3 SIMPLEQ_FOREACH_SAFE.3 \
165          queue.3 SIMPLEQ_HEAD.3 \
166          queue.3 SIMPLEQ_HEAD_INITIALIZER.3 \
167          queue.3 SIMPLEQ_INIT.3 \
168          queue.3 SIMPLEQ_INSERT_AFTER.3 \
169          queue.3 SIMPLEQ_INSERT_HEAD.3 \
170          queue.3 SIMPLEQ_INSERT_TAIL.3 \
171          queue.3 SIMPLEQ_LAST.3 \
172          queue.3 SIMPLEQ_NEXT.3 \
173          queue.3 SIMPLEQ_REMOVE.3 \
174          queue.3 SIMPLEQ_REMOVE_AFTER.3 \
175          queue.3 SIMPLEQ_REMOVE_HEAD.3 \
176          queue.3 SIMPLEQ_REMOVE.3
177
178MLINKS+=queue.3 SLIST.3 \
179          queue.3 SLIST_EMPTY.3 \
180          queue.3 SLIST_ENTRY.3 \
181          queue.3 SLIST_FIRST.3 \
182          queue.3 SLIST_FOREACH.3 \
183          queue.3 SLIST_FOREACH_SAFE.3 \
184          queue.3 SLIST_HEAD.3 \
185          queue.3 SLIST_HEAD_INITIALIZER.3 \
186          queue.3 SLIST_INIT.3 \
187          queue.3 SLIST_INSERT_AFTER.3 \
188          queue.3 SLIST_INSERT_HEAD.3 \
189          queue.3 SLIST_NEXT.3 \
190          queue.3 SLIST_REMOVE.3 \
191          queue.3 SLIST_REMOVE_AFTER.3 \
192          queue.3 SLIST_REMOVE_HEAD.3
193
194MLINKS+=queue.3 STAILQ.3 \
195          queue.3 STAILQ_CONCAT.3 \
196          queue.3 STAILQ_EMPTY.3 \
197          queue.3 STAILQ_ENTRY.3 \
198          queue.3 STAILQ_FIRST.3 \
199          queue.3 STAILQ_FOREACH.3 \
200          queue.3 STAILQ_FOREACH_SAFE.3 \
201          queue.3 STAILQ_HEAD.3 \
202          queue.3 STAILQ_HEAD_INITIALIZER.3 \
203          queue.3 STAILQ_INIT.3 \
204          queue.3 STAILQ_INSERT_AFTER.3 \
205          queue.3 STAILQ_INSERT_HEAD.3 \
206          queue.3 STAILQ_INSERT_TAIL.3 \
207          queue.3 STAILQ_LAST.3 \
208          queue.3 STAILQ_NEXT.3 \
209          queue.3 STAILQ_REMOVE.3 \
210          queue.3 STAILQ_REMOVE_HEAD.3
211
212MLINKS+=queue.3 TAILQ.3 \
213          queue.3 TAILQ_CONCAT.3 \
214          queue.3 TAILQ_EMPTY.3 \
215          queue.3 TAILQ_ENTRY.3 \
216          queue.3 TAILQ_FIRST.3 \
217          queue.3 TAILQ_FOREACH.3 \
218          queue.3 TAILQ_FOREACH_SAFE.3 \
219          queue.3 TAILQ_FOREACH_REVERSE.3 \
220          queue.3 TAILQ_FOREACH_REVERSE_SAFE.3 \
221          queue.3 TAILQ_HEAD.3 \
222          queue.3 TAILQ_HEAD_INITIALIZER.3 \
223          queue.3 TAILQ_INIT.3 \
224          queue.3 TAILQ_INSERT_AFTER.3 \
225          queue.3 TAILQ_INSERT_BEFORE.3 \
226          queue.3 TAILQ_INSERT_HEAD.3 \
227          queue.3 TAILQ_INSERT_TAIL.3 \
228          queue.3 TAILQ_LAST.3 \
229          queue.3 TAILQ_NEXT.3 \
230          queue.3 TAILQ_PREV.3 \
231          queue.3 TAILQ_REMOVE.3 \
232          queue.3 TAILQ_REPLACE.3
233
234MLINKS+=rbtree.3 rb_tree_init.3 \
235          rbtree.3 rb_tree_insert_node.3 \
236          rbtree.3 rb_tree_find_node.3 \
237          rbtree.3 rb_tree_find_node_geq.3 \
238          rbtree.3 rb_tree_find_node_leq.3 \
239          rbtree.3 rb_tree_iterate.3
240MLINKS+=stdarg.3 va_arg.3 stdarg.3 va_copy.3 \
241          stdarg.3 va_end.3 stdarg.3 va_start.3
242MLINKS+=param.3 MAX.3 \
243          param.3 MIN.3
244MLINKS+=dirent.3 dir.3 \
245          dirent.3 IFTODT.3 \
246          dirent.3 DTTOIF.3
247MLINKS+=dlfcn.3 _dlauxinfo.3 dlfcn.3 dlopen.3 dlfcn.3 \
248          dlclose.3 dlfcn.3 dlsym.3 dlfcn.3 dlctl.3 \
249          dlfcn.3 dlerror.3 dlfcn.3 dladdr.3 dlfcn.3 dlvsym.3
250MLINKS+=timeradd.3 timersub.3 \
251          timeradd.3 timerclear.3 \
252          timeradd.3 timerisset.3 \
253          timeradd.3 timercmp.3 \
254          timeradd.3 timespecadd.3 \
255          timeradd.3 timespecsub.3 \
256          timeradd.3 timespecclear.3 \
257          timeradd.3 timespecisset.3 \
258          timeradd.3 timespeccmp.3
259MLINKS+=timeval.3 timespec.3 \
260          timeval.3 itimerval.3 \
261          timeval.3 itimerspec.3 \
262          timeval.3 TIMEVAL_TO_TIMESPEC.3 \
263          timeval.3 TIMESPEC_TO_TIMEVAL.3
264MLINKS+=tree.3 SPLAY_PROTOTYPE.3 tree.3 SPLAY_GENERATE.3 \
265          tree.3 SPLAY_ENTRY.3 tree.3 SPLAY_HEAD.3 \
266          tree.3 SPLAY_INITIALIZER.3 tree.3 SPLAY_ROOT.3 \
267          tree.3 SPLAY_EMPTY.3 tree.3 SPLAY_NEXT.3 \
268          tree.3 SPLAY_MIN.3 tree.3 SPLAY_MAX.3 tree.3 SPLAY_FIND.3 \
269          tree.3 SPLAY_LEFT.3 tree.3 SPLAY_RIGHT.3 tree.3 SPLAY_INIT.3 \
270          tree.3 SPLAY_INSERT.3 tree.3 SPLAY_REMOVE.3 \
271          tree.3 SPLAY_FOREACH.3
272MLINKS+=tree.3 RB_PROTOTYPE.3 tree.3 RB_GENERATE.3 \
273          tree.3 RB_ENTRY.3 tree.3 RB_HEAD.3 \
274          tree.3 RB_INITIALIZER.3 tree.3 RB_ROOT.3 \
275          tree.3 RB_EMPTY.3 tree.3 RB_NEXT.3 \
276          tree.3 RB_MIN.3 tree.3 RB_MAX.3 tree.3 RB_FIND.3 \
277          tree.3 RB_LEFT.3 tree.3 RB_RIGHT.3 tree.3 RB_PARENT.3 \
278          tree.3 RB_INIT.3 tree.3 RB_INSERT.3 tree.3 RB_REMOVE.3 \
279          tree.3 RB_FOREACH.3
280MLINKS+=CMSG_DATA.3 CMSG_FIRSTHDR.3 \
281          CMSG_DATA.3 CMSG_LEN.3 \
282          CMSG_DATA.3 CMSG_NXTHDR.3 \
283          CMSG_DATA.3 CMSG_SPACE.3 \
284          CMSG_DATA.3 cmsg.3
285MLINKS+=bitmap.3 __BITMAP_CLR.3 \
286          bitmap.3 __BITMAP_ISSET.3 \
287          bitmap.3 __BITMAP_SET.3 \
288          bitmap.3 __BITMAP_SIZE.3 \
289          bitmap.3 __BITMAP_TYPE.3 \
290          bitmap.3 __BITMAP_ZERO.3
291
292.include <bsd.man.mk>
293.include <bsd.subdir.mk>
294