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 Nexenta Systems, Inc.  All rights reserved.
15# Copyright 2014 Garrett D'Amore <garrett@damore.org>
16# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
17#
18
19include		$(SRC)/Makefile.master
20
21MANSECT=	3head
22
23MANFILES=	acct.h.3head		\
24		aio.h.3head		\
25		ar.h.3head		\
26		archives.h.3head	\
27		assert.h.3head		\
28		complex.h.3head		\
29		cpio.h.3head		\
30		dirent.h.3head		\
31		endian.h.3head		\
32		errno.h.3head		\
33		fcntl.h.3head		\
34		fenv.h.3head		\
35		float.h.3head		\
36		floatingpoint.h.3head	\
37		fmtmsg.h.3head		\
38		fnmatch.h.3head		\
39		ftw.h.3head		\
40		glob.h.3head		\
41		grp.h.3head		\
42		iconv.h.3head		\
43		if.h.3head		\
44		in.h.3head		\
45		inet.h.3head		\
46		inttypes.h.3head	\
47		ipc.h.3head		\
48		iso646.h.3head		\
49		langinfo.h.3head	\
50		libgen.h.3head		\
51		libintl.h.3head		\
52		limits.h.3head		\
53		locale.h.3head		\
54		math.h.3head		\
55		mman.h.3head		\
56		monetary.h.3head	\
57		mqueue.h.3head		\
58		msg.h.3head		\
59		ndbm.h.3head		\
60		netdb.h.3head		\
61		nl_types.h.3head	\
62		poll.h.3head		\
63		pthread.h.3head		\
64		pwd.h.3head		\
65		queue.h.3head		\
66		regex.h.3head		\
67		resource.h.3head	\
68		sched.h.3head		\
69		search.h.3head		\
70		select.h.3head		\
71		sem.h.3head		\
72		semaphore.h.3head	\
73		setjmp.h.3head		\
74		shm.h.3head		\
75		siginfo.h.3head		\
76		signal.h.3head		\
77		socket.h.3head		\
78		spawn.h.3head		\
79		stat.h.3head		\
80		statvfs.h.3head		\
81		stdbool.h.3head		\
82		stddef.h.3head		\
83		stdint.h.3head		\
84		stdio.h.3head		\
85		stdlib.h.3head		\
86		string.h.3head		\
87		strings.h.3head		\
88		stropts.h.3head		\
89		syslog.h.3head		\
90		tar.h.3head		\
91		tcp.h.3head		\
92		termios.h.3head		\
93		tgmath.h.3head		\
94		time.h.3head		\
95		timeb.h.3head		\
96		times.h.3head		\
97		timespec.3head		\
98		types.h.3head		\
99		types32.h.3head		\
100		uchar.h.3head		\
101		ucontext.h.3head	\
102		uio.h.3head		\
103		ulimit.h.3head		\
104		un.h.3head		\
105		unistd.h.3head		\
106		utime.h.3head		\
107		utmpx.h.3head		\
108		utsname.h.3head		\
109		values.h.3head		\
110		wait.h.3head		\
111		wchar.h.3head		\
112		wctype.h.3head		\
113		wordexp.h.3head		\
114		xlocale.h.3head
115
116MANLINKS=	\
117		LIST_CLASS_ENTRY.3head \
118		LIST_CLASS_HEAD.3head \
119		LIST_CONCAT.3head \
120		LIST_EMPTY.3head \
121		LIST_ENTRY.3head \
122		LIST_FIRST.3head \
123		LIST_FOREACH.3head \
124		LIST_FOREACH_FROM.3head \
125		LIST_FOREACH_FROM_SAFE.3head \
126		LIST_FOREACH_SAFE.3head \
127		LIST_HEAD.3head \
128		LIST_HEAD_INITIALIZER.3head \
129		LIST_INIT.3head \
130		LIST_INSERT_AFTER.3head \
131		LIST_INSERT_BEFORE.3head \
132		LIST_INSERT_HEAD.3head \
133		LIST_NEXT.3head \
134		LIST_PREV.3head \
135		LIST_REMOVE.3head \
136		LIST_SWAP.3head \
137		SLIST_CLASS_ENTRY.3head \
138		SLIST_CLASS_HEAD.3head \
139		SLIST_CONCAT.3head \
140		SLIST_EMPTY.3head \
141		SLIST_ENTRY.3head \
142		SLIST_FIRST.3head \
143		SLIST_FOREACH.3head \
144		SLIST_FOREACH_FROM.3head \
145		SLIST_FOREACH_FROM_SAFE.3head \
146		SLIST_FOREACH_SAFE.3head \
147		SLIST_HEAD.3head \
148		SLIST_HEAD_INITIALIZER.3head \
149		SLIST_INIT.3head \
150		SLIST_INSERT_AFTER.3head \
151		SLIST_INSERT_HEAD.3head \
152		SLIST_NEXT.3head \
153		SLIST_REMOVE.3head \
154		SLIST_REMOVE_AFTER.3head \
155		SLIST_REMOVE_HEAD.3head \
156		SLIST_SWAP.3head \
157		STAILQ_CLASS_ENTRY.3head \
158		STAILQ_CLASS_HEAD.3head \
159		STAILQ_CONCAT.3head \
160		STAILQ_EMPTY.3head \
161		STAILQ_ENTRY.3head \
162		STAILQ_FIRST.3head \
163		STAILQ_FOREACH.3head \
164		STAILQ_FOREACH_FROM.3head \
165		STAILQ_FOREACH_FROM_SAFE.3head \
166		STAILQ_FOREACH_SAFE.3head \
167		STAILQ_HEAD.3head \
168		STAILQ_HEAD_INITIALIZER.3head \
169		STAILQ_INIT.3head \
170		STAILQ_INSERT_AFTER.3head \
171		STAILQ_INSERT_HEAD.3head \
172		STAILQ_INSERT_TAIL.3head \
173		STAILQ_LAST.3head \
174		STAILQ_NEXT.3head \
175		STAILQ_REMOVE.3head \
176		STAILQ_REMOVE_AFTER.3head \
177		STAILQ_REMOVE_HEAD.3head \
178		STAILQ_SWAP.3head \
179		TAILQ_CLASS_ENTRY.3head \
180		TAILQ_CLASS_HEAD.3head \
181		TAILQ_CONCAT.3head \
182		TAILQ_EMPTY.3head \
183		TAILQ_ENTRY.3head \
184		TAILQ_FIRST.3head \
185		TAILQ_FOREACH.3head \
186		TAILQ_FOREACH_FROM.3head \
187		TAILQ_FOREACH_FROM_SAFE.3head \
188		TAILQ_FOREACH_REVERSE.3head \
189		TAILQ_FOREACH_REVERSE_FROM.3head \
190		TAILQ_FOREACH_REVERSE_FROM_SAFE.3head \
191		TAILQ_FOREACH_REVERSE_SAFE.3head \
192		TAILQ_FOREACH_SAFE.3head \
193		TAILQ_HEAD.3head \
194		TAILQ_HEAD_INITIALIZER.3head \
195		TAILQ_INIT.3head \
196		TAILQ_INSERT_AFTER.3head \
197		TAILQ_INSERT_BEFORE.3head \
198		TAILQ_INSERT_HEAD.3head \
199		TAILQ_INSERT_TAIL.3head \
200		TAILQ_LAST.3head \
201		TAILQ_NEXT.3head \
202		TAILQ_PREV.3head \
203		TAILQ_REMOVE.3head \
204		TAILQ_SWAP.3head
205
206MANLINKS +=	acct.3head		\
207		aio.3head		\
208		ar.3head		\
209		archives.3head		\
210		assert.3head		\
211		complex.3head		\
212		cpio.3head		\
213		dirent.3head		\
214		errno.3head		\
215		fcntl.3head		\
216		fenv.3head		\
217		float.3head		\
218		floatingpoint.3head	\
219		fmtmsg.3head		\
220		fnmatch.3head		\
221		ftw.3head		\
222		glob.3head		\
223		grp.3head		\
224		iconv.3head		\
225		if.3head		\
226		in.3head		\
227		inet.3head		\
228		inttypes.3head		\
229		ipc.3head		\
230		iso646.3head		\
231		langinfo.3head		\
232		libgen.3head		\
233		libintl.3head		\
234		limits.3head		\
235		locale.3head		\
236		math.3head		\
237		mman.3head		\
238		monetary.3head		\
239		mqueue.3head		\
240		msg.3head		\
241		ndbm.3head		\
242		netdb.3head		\
243		nl_types.3head		\
244		poll.3head		\
245		pthread.3head		\
246		pwd.3head		\
247		regex.3head		\
248		resource.3head		\
249		sched.3head		\
250		search.3head		\
251		select.3head		\
252		sem.3head		\
253		semaphore.3head		\
254		setjmp.3head		\
255		shm.3head		\
256		siginfo.3head		\
257		signal.3head		\
258		socket.3head		\
259		spawn.3head		\
260		stat.3head		\
261		statvfs.3head		\
262		stdbool.3head		\
263		stddef.3head		\
264		stdint.3head		\
265		stdio.3head		\
266		stdlib.3head		\
267		string.3head		\
268		strings.3head		\
269		stropts.3head		\
270		syslog.3head		\
271		tar.3head		\
272		tcp.3head		\
273		termios.3head		\
274		tgmath.3head		\
275		time.3head		\
276		timeb.3head		\
277		times.3head		\
278		timeval.3head		\
279		TIMEVAL_TO_TIMESPEC.3head \
280		TIMESPEC_TO_TIMEVAL.3head \
281		types.3head		\
282		types32.3head		\
283		ucontext.3head		\
284		uio.3head		\
285		ulimit.3head		\
286		un.3head		\
287		unistd.3head		\
288		utime.3head		\
289		utmpx.3head		\
290		utsname.3head		\
291		values.3head		\
292		wait.3head		\
293		wchar.3head		\
294		wctype.3head		\
295		wordexp.3head		\
296		xlocale.3head
297
298LIST_CLASS_ENTRY.3head := LINKSRC = queue.h.3head
299LIST_CLASS_HEAD.3head := LINKSRC = queue.h.3head
300LIST_CONCAT.3head := LINKSRC = queue.h.3head
301LIST_EMPTY.3head := LINKSRC = queue.h.3head
302LIST_ENTRY.3head := LINKSRC = queue.h.3head
303LIST_FIRST.3head := LINKSRC = queue.h.3head
304LIST_FOREACH.3head := LINKSRC = queue.h.3head
305LIST_FOREACH_FROM.3head := LINKSRC = queue.h.3head
306LIST_FOREACH_FROM_SAFE.3head := LINKSRC = queue.h.3head
307LIST_FOREACH_SAFE.3head := LINKSRC = queue.h.3head
308LIST_HEAD.3head := LINKSRC = queue.h.3head
309LIST_HEAD_INITIALIZER.3head := LINKSRC = queue.h.3head
310LIST_INIT.3head := LINKSRC = queue.h.3head
311LIST_INSERT_AFTER.3head := LINKSRC = queue.h.3head
312LIST_INSERT_BEFORE.3head := LINKSRC = queue.h.3head
313LIST_INSERT_HEAD.3head := LINKSRC = queue.h.3head
314LIST_NEXT.3head := LINKSRC = queue.h.3head
315LIST_PREV.3head := LINKSRC = queue.h.3head
316LIST_REMOVE.3head := LINKSRC = queue.h.3head
317LIST_SWAP.3head := LINKSRC = queue.h.3head
318SLIST_CLASS_ENTRY.3head := LINKSRC = queue.h.3head
319SLIST_CLASS_HEAD.3head := LINKSRC = queue.h.3head
320SLIST_CONCAT.3head := LINKSRC = queue.h.3head
321SLIST_EMPTY.3head := LINKSRC = queue.h.3head
322SLIST_ENTRY.3head := LINKSRC = queue.h.3head
323SLIST_FIRST.3head := LINKSRC = queue.h.3head
324SLIST_FOREACH.3head := LINKSRC = queue.h.3head
325SLIST_FOREACH_FROM.3head := LINKSRC = queue.h.3head
326SLIST_FOREACH_FROM_SAFE.3head := LINKSRC = queue.h.3head
327SLIST_FOREACH_SAFE.3head := LINKSRC = queue.h.3head
328SLIST_HEAD.3head := LINKSRC = queue.h.3head
329SLIST_HEAD_INITIALIZER.3head := LINKSRC = queue.h.3head
330SLIST_INIT.3head := LINKSRC = queue.h.3head
331SLIST_INSERT_AFTER.3head := LINKSRC = queue.h.3head
332SLIST_INSERT_HEAD.3head := LINKSRC = queue.h.3head
333SLIST_NEXT.3head := LINKSRC = queue.h.3head
334SLIST_REMOVE.3head := LINKSRC = queue.h.3head
335SLIST_REMOVE_AFTER.3head := LINKSRC = queue.h.3head
336SLIST_REMOVE_HEAD.3head := LINKSRC = queue.h.3head
337SLIST_SWAP.3head := LINKSRC = queue.h.3head
338STAILQ_CLASS_ENTRY.3head := LINKSRC = queue.h.3head
339STAILQ_CLASS_HEAD.3head := LINKSRC = queue.h.3head
340STAILQ_CONCAT.3head := LINKSRC = queue.h.3head
341STAILQ_EMPTY.3head := LINKSRC = queue.h.3head
342STAILQ_ENTRY.3head := LINKSRC = queue.h.3head
343STAILQ_FIRST.3head := LINKSRC = queue.h.3head
344STAILQ_FOREACH.3head := LINKSRC = queue.h.3head
345STAILQ_FOREACH_FROM.3head := LINKSRC = queue.h.3head
346STAILQ_FOREACH_FROM_SAFE.3head := LINKSRC = queue.h.3head
347STAILQ_FOREACH_SAFE.3head := LINKSRC = queue.h.3head
348STAILQ_HEAD.3head := LINKSRC = queue.h.3head
349STAILQ_HEAD_INITIALIZER.3head := LINKSRC = queue.h.3head
350STAILQ_INIT.3head := LINKSRC = queue.h.3head
351STAILQ_INSERT_AFTER.3head := LINKSRC = queue.h.3head
352STAILQ_INSERT_HEAD.3head := LINKSRC = queue.h.3head
353STAILQ_INSERT_TAIL.3head := LINKSRC = queue.h.3head
354STAILQ_LAST.3head := LINKSRC = queue.h.3head
355STAILQ_NEXT.3head := LINKSRC = queue.h.3head
356STAILQ_REMOVE.3head := LINKSRC = queue.h.3head
357STAILQ_REMOVE_AFTER.3head := LINKSRC = queue.h.3head
358STAILQ_REMOVE_HEAD.3head := LINKSRC = queue.h.3head
359STAILQ_SWAP.3head := LINKSRC = queue.h.3head
360TAILQ_CLASS_ENTRY.3head := LINKSRC = queue.h.3head
361TAILQ_CLASS_HEAD.3head := LINKSRC = queue.h.3head
362TAILQ_CONCAT.3head := LINKSRC = queue.h.3head
363TAILQ_EMPTY.3head := LINKSRC = queue.h.3head
364TAILQ_ENTRY.3head := LINKSRC = queue.h.3head
365TAILQ_FIRST.3head := LINKSRC = queue.h.3head
366TAILQ_FOREACH.3head := LINKSRC = queue.h.3head
367TAILQ_FOREACH_FROM.3head := LINKSRC = queue.h.3head
368TAILQ_FOREACH_FROM_SAFE.3head := LINKSRC = queue.h.3head
369TAILQ_FOREACH_REVERSE.3head := LINKSRC = queue.h.3head
370TAILQ_FOREACH_REVERSE_FROM.3head := LINKSRC = queue.h.3head
371TAILQ_FOREACH_REVERSE_FROM_SAFE.3head := LINKSRC = queue.h.3head
372TAILQ_FOREACH_REVERSE_SAFE.3head := LINKSRC = queue.h.3head
373TAILQ_FOREACH_SAFE.3head := LINKSRC = queue.h.3head
374TAILQ_HEAD.3head := LINKSRC = queue.h.3head
375TAILQ_HEAD_INITIALIZER.3head := LINKSRC = queue.h.3head
376TAILQ_INIT.3head := LINKSRC = queue.h.3head
377TAILQ_INSERT_AFTER.3head := LINKSRC = queue.h.3head
378TAILQ_INSERT_BEFORE.3head := LINKSRC = queue.h.3head
379TAILQ_INSERT_HEAD.3head := LINKSRC = queue.h.3head
380TAILQ_INSERT_TAIL.3head := LINKSRC = queue.h.3head
381TAILQ_LAST.3head := LINKSRC = queue.h.3head
382TAILQ_NEXT.3head := LINKSRC = queue.h.3head
383TAILQ_PREV.3head := LINKSRC = queue.h.3head
384TAILQ_REMOVE.3head := LINKSRC = queue.h.3head
385TAILQ_SWAP.3head := LINKSRC = queue.h.3head
386
387acct.3head		:= LINKSRC = acct.h.3head
388aio.3head		:= LINKSRC = aio.h.3head
389ar.3head		:= LINKSRC = ar.h.3head
390archives.3head		:= LINKSRC = archives.h.3head
391assert.3head		:= LINKSRC = assert.h.3head
392complex.3head		:= LINKSRC = complex.h.3head
393cpio.3head		:= LINKSRC = cpio.h.3head
394dirent.3head		:= LINKSRC = dirent.h.3head
395errno.3head		:= LINKSRC = errno.h.3head
396fcntl.3head		:= LINKSRC = fcntl.h.3head
397fenv.3head		:= LINKSRC = fenv.h.3head
398float.3head		:= LINKSRC = float.h.3head
399floatingpoint.3head	:= LINKSRC = floatingpoint.h.3head
400fmtmsg.3head		:= LINKSRC = fmtmsg.h.3head
401fnmatch.3head		:= LINKSRC = fnmatch.h.3head
402ftw.3head		:= LINKSRC = ftw.h.3head
403glob.3head		:= LINKSRC = glob.h.3head
404grp.3head		:= LINKSRC = grp.h.3head
405iconv.3head		:= LINKSRC = iconv.h.3head
406if.3head		:= LINKSRC = if.h.3head
407in.3head		:= LINKSRC = in.h.3head
408inet.3head		:= LINKSRC = inet.h.3head
409inttypes.3head		:= LINKSRC = inttypes.h.3head
410ipc.3head		:= LINKSRC = ipc.h.3head
411iso646.3head		:= LINKSRC = iso646.h.3head
412langinfo.3head		:= LINKSRC = langinfo.h.3head
413libgen.3head		:= LINKSRC = libgen.h.3head
414libintl.3head		:= LINKSRC = libintl.h.3head
415limits.3head		:= LINKSRC = limits.h.3head
416locale.3head		:= LINKSRC = locale.h.3head
417math.3head		:= LINKSRC = math.h.3head
418mman.3head		:= LINKSRC = mman.h.3head
419monetary.3head		:= LINKSRC = monetary.h.3head
420mqueue.3head		:= LINKSRC = mqueue.h.3head
421msg.3head		:= LINKSRC = msg.h.3head
422ndbm.3head		:= LINKSRC = ndbm.h.3head
423netdb.3head		:= LINKSRC = netdb.h.3head
424nl_types.3head		:= LINKSRC = nl_types.h.3head
425poll.3head		:= LINKSRC = poll.h.3head
426pthread.3head		:= LINKSRC = pthread.h.3head
427pwd.3head		:= LINKSRC = pwd.h.3head
428regex.3head		:= LINKSRC = regex.h.3head
429resource.3head		:= LINKSRC = resource.h.3head
430sched.3head		:= LINKSRC = sched.h.3head
431search.3head		:= LINKSRC = search.h.3head
432select.3head		:= LINKSRC = select.h.3head
433sem.3head		:= LINKSRC = sem.h.3head
434semaphore.3head		:= LINKSRC = semaphore.h.3head
435setjmp.3head		:= LINKSRC = setjmp.h.3head
436shm.3head		:= LINKSRC = shm.h.3head
437siginfo.3head		:= LINKSRC = siginfo.h.3head
438signal.3head		:= LINKSRC = signal.h.3head
439socket.3head		:= LINKSRC = socket.h.3head
440spawn.3head		:= LINKSRC = spawn.h.3head
441stat.3head		:= LINKSRC = stat.h.3head
442statvfs.3head		:= LINKSRC = statvfs.h.3head
443stdbool.3head		:= LINKSRC = stdbool.h.3head
444stddef.3head		:= LINKSRC = stddef.h.3head
445stdint.3head		:= LINKSRC = stdint.h.3head
446stdio.3head		:= LINKSRC = stdio.h.3head
447stdlib.3head		:= LINKSRC = stdlib.h.3head
448string.3head		:= LINKSRC = string.h.3head
449strings.3head		:= LINKSRC = strings.h.3head
450stropts.3head		:= LINKSRC = stropts.h.3head
451syslog.3head		:= LINKSRC = syslog.h.3head
452tar.3head		:= LINKSRC = tar.h.3head
453tcp.3head		:= LINKSRC = tcp.h.3head
454termios.3head		:= LINKSRC = termios.h.3head
455tgmath.3head		:= LINKSRC = tgmath.h.3head
456time.3head		:= LINKSRC = time.h.3head
457timeb.3head		:= LINKSRC = timeb.h.3head
458times.3head		:= LINKSRC = times.h.3head
459timespec.3head		:= LINKSRC = time.h.3head
460timeval.3head		:= LINKSRC = timespec.3head
461TIMEVAL_TO_TIMESPEC.3head := LINKSRC = timespec.3head
462TIMESPEC_TO_TIMEVAL.3head := LINKSRC = timespec.3head
463types.3head		:= LINKSRC = types.h.3head
464types32.3head		:= LINKSRC = types32.h.3head
465ucontext.3head		:= LINKSRC = ucontext.h.3head
466uio.3head		:= LINKSRC = uio.h.3head
467ulimit.3head		:= LINKSRC = ulimit.h.3head
468un.3head		:= LINKSRC = un.h.3head
469unistd.3head		:= LINKSRC = unistd.h.3head
470utime.3head		:= LINKSRC = utime.h.3head
471utmpx.3head		:= LINKSRC = utmpx.h.3head
472utsname.3head		:= LINKSRC = utsname.h.3head
473values.3head		:= LINKSRC = values.h.3head
474wait.3head		:= LINKSRC = wait.h.3head
475wchar.3head		:= LINKSRC = wchar.h.3head
476wctype.3head		:= LINKSRC = wctype.h.3head
477wordexp.3head		:= LINKSRC = wordexp.h.3head
478xlocale.3head		:= LINKSRC = xlocale.h.3head
479
480.KEEP_STATE:
481
482include		$(SRC)/man/Makefile.man
483
484install:	$(ROOTMANFILES) $(ROOTMANLINKS)
485