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