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 #
  16 
  17 include         $(SRC)/Makefile.master
  18 
  19 MANSECT=        3head
  20 
  21 MANFILES=       acct.h.3head            \
  22                 aio.h.3head             \
  23                 ar.h.3head              \
  24                 archives.h.3head        \
  25                 assert.h.3head          \
  26                 complex.h.3head         \
  27                 cpio.h.3head            \
  28                 dirent.h.3head          \
  29                 errno.h.3head           \
  30                 fcntl.h.3head           \
  31                 fenv.h.3head            \
  32                 float.h.3head           \
  33                 floatingpoint.h.3head   \
  34                 fmtmsg.h.3head          \
  35                 fnmatch.h.3head         \
  36                 ftw.h.3head             \
  37                 glob.h.3head            \
  38                 grp.h.3head             \
  39                 iconv.h.3head           \
  40                 if.h.3head              \
  41                 in.h.3head              \
  42                 inet.h.3head            \
  43                 inttypes.h.3head        \
  44                 ipc.h.3head             \
  45                 iso646.h.3head          \
  46                 langinfo.h.3head        \
  47                 libgen.h.3head          \
  48                 libintl.h.3head         \
  49                 limits.h.3head          \
  50                 locale.h.3head          \
  51                 math.h.3head            \
  52                 mman.h.3head            \
  53                 monetary.h.3head        \
  54                 mqueue.h.3head          \
  55                 msg.h.3head             \
  56                 ndbm.h.3head            \
  57                 netdb.h.3head           \
  58                 nl_types.h.3head        \
  59                 poll.h.3head            \
  60                 pthread.h.3head         \
  61                 pwd.h.3head             \
  62                 regex.h.3head           \
  63                 resource.h.3head        \
  64                 sched.h.3head           \
  65                 search.h.3head          \
  66                 select.h.3head          \
  67                 sem.h.3head             \
  68                 semaphore.h.3head       \
  69                 setjmp.h.3head          \
  70                 shm.h.3head             \
  71                 siginfo.h.3head         \
  72                 signal.h.3head          \
  73                 socket.h.3head          \
  74                 spawn.h.3head           \
  75                 stat.h.3head            \
  76                 statvfs.h.3head         \
  77                 stdbool.h.3head         \
  78                 stddef.h.3head          \
  79                 stdint.h.3head          \
  80                 stdio.h.3head           \
  81                 stdlib.h.3head          \
  82                 string.h.3head          \
  83                 strings.h.3head         \
  84                 stropts.h.3head         \
  85                 syslog.h.3head          \
  86                 tar.h.3head             \
  87                 tcp.h.3head             \
  88                 termios.h.3head         \
  89                 tgmath.h.3head          \
  90                 time.h.3head            \
  91                 timeb.h.3head           \
  92                 times.h.3head           \
  93                 types.h.3head           \
  94                 types32.h.3head         \
  95                 ucontext.h.3head        \
  96                 uio.h.3head             \
  97                 ulimit.h.3head          \
  98                 un.h.3head              \
  99                 unistd.h.3head          \
 100                 utime.h.3head           \
 101                 utmpx.h.3head           \
 102                 utsname.h.3head         \
 103                 values.h.3head          \
 104                 wait.h.3head            \
 105                 wchar.h.3head           \
 106                 wctype.h.3head          \
 107                 wordexp.h.3head         \
 108                 xlocale.h.3head
 109 
 110 MANLINKS=       acct.3head              \
 111                 aio.3head               \
 112                 ar.3head                \
 113                 archives.3head          \
 114                 assert.3head            \
 115                 complex.3head           \
 116                 cpio.3head              \
 117                 dirent.3head            \
 118                 errno.3head             \
 119                 fcntl.3head             \
 120                 fenv.3head              \
 121                 float.3head             \
 122                 floatingpoint.3head     \
 123                 fmtmsg.3head            \
 124                 fnmatch.3head           \
 125                 ftw.3head               \
 126                 glob.3head              \
 127                 grp.3head               \
 128                 iconv.3head             \
 129                 if.3head                \
 130                 in.3head                \
 131                 inet.3head              \
 132                 inttypes.3head          \
 133                 ipc.3head               \
 134                 iso646.3head            \
 135                 langinfo.3head          \
 136                 libgen.3head            \
 137                 libintl.3head           \
 138                 limits.3head            \
 139                 locale.3head            \
 140                 math.3head              \
 141                 mman.3head              \
 142                 monetary.3head          \
 143                 mqueue.3head            \
 144                 msg.3head               \
 145                 ndbm.3head              \
 146                 netdb.3head             \
 147                 nl_types.3head          \
 148                 poll.3head              \
 149                 pthread.3head           \
 150                 pwd.3head               \
 151                 regex.3head             \
 152                 resource.3head          \
 153                 sched.3head             \
 154                 search.3head            \
 155                 select.3head            \
 156                 sem.3head               \
 157                 semaphore.3head         \
 158                 setjmp.3head            \
 159                 shm.3head               \
 160                 siginfo.3head           \
 161                 signal.3head            \
 162                 socket.3head            \
 163                 spawn.3head             \
 164                 stat.3head              \
 165                 statvfs.3head           \
 166                 stdbool.3head           \
 167                 stddef.3head            \
 168                 stdint.3head            \
 169                 stdio.3head             \
 170                 stdlib.3head            \
 171                 string.3head            \
 172                 strings.3head           \
 173                 stropts.3head           \
 174                 syslog.3head            \
 175                 tar.3head               \
 176                 tcp.3head               \
 177                 termios.3head           \
 178                 tgmath.3head            \
 179                 time.3head              \
 180                 timeb.3head             \
 181                 times.3head             \
 182                 types.3head             \
 183                 types32.3head           \
 184                 ucontext.3head          \
 185                 uio.3head               \
 186                 ulimit.3head            \
 187                 un.3head                \
 188                 unistd.3head            \
 189                 utime.3head             \
 190                 utmpx.3head             \
 191                 utsname.3head           \
 192                 values.3head            \
 193                 wait.3head              \
 194                 wchar.3head             \
 195                 wctype.3head            \
 196                 wordexp.3head           \
 197                 xlocale.3head
 198 
 199 acct.3head              := LINKSRC = acct.h.3head
 200 aio.3head               := LINKSRC = aio.h.3head
 201 ar.3head                := LINKSRC = ar.h.3head
 202 archives.3head          := LINKSRC = archives.h.3head
 203 assert.3head            := LINKSRC = assert.h.3head
 204 complex.3head           := LINKSRC = complex.h.3head
 205 cpio.3head              := LINKSRC = cpio.h.3head
 206 dirent.3head            := LINKSRC = dirent.h.3head
 207 errno.3head             := LINKSRC = errno.h.3head
 208 fcntl.3head             := LINKSRC = fcntl.h.3head
 209 fenv.3head              := LINKSRC = fenv.h.3head
 210 float.3head             := LINKSRC = float.h.3head
 211 floatingpoint.3head     := LINKSRC = floatingpoint.h.3head
 212 fmtmsg.3head            := LINKSRC = fmtmsg.h.3head
 213 fnmatch.3head           := LINKSRC = fnmatch.h.3head
 214 ftw.3head               := LINKSRC = ftw.h.3head
 215 glob.3head              := LINKSRC = glob.h.3head
 216 grp.3head               := LINKSRC = grp.h.3head
 217 iconv.3head             := LINKSRC = iconv.h.3head
 218 if.3head                := LINKSRC = if.h.3head
 219 in.3head                := LINKSRC = in.h.3head
 220 inet.3head              := LINKSRC = inet.h.3head
 221 inttypes.3head          := LINKSRC = inttypes.h.3head
 222 ipc.3head               := LINKSRC = ipc.h.3head
 223 iso646.3head            := LINKSRC = iso646.h.3head
 224 langinfo.3head          := LINKSRC = langinfo.h.3head
 225 libgen.3head            := LINKSRC = libgen.h.3head
 226 libintl.3head           := LINKSRC = libintl.h.3head
 227 limits.3head            := LINKSRC = limits.h.3head
 228 locale.3head            := LINKSRC = locale.h.3head
 229 math.3head              := LINKSRC = math.h.3head
 230 mman.3head              := LINKSRC = mman.h.3head
 231 monetary.3head          := LINKSRC = monetary.h.3head
 232 mqueue.3head            := LINKSRC = mqueue.h.3head
 233 msg.3head               := LINKSRC = msg.h.3head
 234 ndbm.3head              := LINKSRC = ndbm.h.3head
 235 netdb.3head             := LINKSRC = netdb.h.3head
 236 nl_types.3head          := LINKSRC = nl_types.h.3head
 237 poll.3head              := LINKSRC = poll.h.3head
 238 pthread.3head           := LINKSRC = pthread.h.3head
 239 pwd.3head               := LINKSRC = pwd.h.3head
 240 regex.3head             := LINKSRC = regex.h.3head
 241 resource.3head          := LINKSRC = resource.h.3head
 242 sched.3head             := LINKSRC = sched.h.3head
 243 search.3head            := LINKSRC = search.h.3head
 244 select.3head            := LINKSRC = select.h.3head
 245 sem.3head               := LINKSRC = sem.h.3head
 246 semaphore.3head         := LINKSRC = semaphore.h.3head
 247 setjmp.3head            := LINKSRC = setjmp.h.3head
 248 shm.3head               := LINKSRC = shm.h.3head
 249 siginfo.3head           := LINKSRC = siginfo.h.3head
 250 signal.3head            := LINKSRC = signal.h.3head
 251 socket.3head            := LINKSRC = socket.h.3head
 252 spawn.3head             := LINKSRC = spawn.h.3head
 253 stat.3head              := LINKSRC = stat.h.3head
 254 statvfs.3head           := LINKSRC = statvfs.h.3head
 255 stdbool.3head           := LINKSRC = stdbool.h.3head
 256 stddef.3head            := LINKSRC = stddef.h.3head
 257 stdint.3head            := LINKSRC = stdint.h.3head
 258 stdio.3head             := LINKSRC = stdio.h.3head
 259 stdlib.3head            := LINKSRC = stdlib.h.3head
 260 string.3head            := LINKSRC = string.h.3head
 261 strings.3head           := LINKSRC = strings.h.3head
 262 stropts.3head           := LINKSRC = stropts.h.3head
 263 syslog.3head            := LINKSRC = syslog.h.3head
 264 tar.3head               := LINKSRC = tar.h.3head
 265 tcp.3head               := LINKSRC = tcp.h.3head
 266 termios.3head           := LINKSRC = termios.h.3head
 267 tgmath.3head            := LINKSRC = tgmath.h.3head
 268 time.3head              := LINKSRC = time.h.3head
 269 timeb.3head             := LINKSRC = timeb.h.3head
 270 times.3head             := LINKSRC = times.h.3head
 271 types.3head             := LINKSRC = types.h.3head
 272 types32.3head           := LINKSRC = types32.h.3head
 273 ucontext.3head          := LINKSRC = ucontext.h.3head
 274 uio.3head               := LINKSRC = uio.h.3head
 275 ulimit.3head            := LINKSRC = ulimit.h.3head
 276 un.3head                := LINKSRC = un.h.3head
 277 unistd.3head            := LINKSRC = unistd.h.3head
 278 utime.3head             := LINKSRC = utime.h.3head
 279 utmpx.3head             := LINKSRC = utmpx.h.3head
 280 utsname.3head           := LINKSRC = utsname.h.3head
 281 values.3head            := LINKSRC = values.h.3head
 282 wait.3head              := LINKSRC = wait.h.3head
 283 wchar.3head             := LINKSRC = wchar.h.3head
 284 wctype.3head            := LINKSRC = wctype.h.3head
 285 wordexp.3head           := LINKSRC = wordexp.h.3head
 286 xlocale.3head           := LINKSRC = xlocale.h.3head
 287 
 288 .KEEP_STATE:
 289 
 290 include         $(SRC)/man/Makefile.man
 291 
 292 install:        $(ROOTMANFILES) $(ROOTMANLINKS)