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 
 109 MANLINKS=       acct.3head              \
 110                 aio.3head               \
 111                 ar.3head                \
 112                 archives.3head          \
 113                 assert.3head            \
 114                 complex.3head           \
 115                 cpio.3head              \
 116                 dirent.3head            \
 117                 errno.3head             \
 118                 fcntl.3head             \
 119                 fenv.3head              \
 120                 float.3head             \
 121                 floatingpoint.3head     \
 122                 fmtmsg.3head            \
 123                 fnmatch.3head           \
 124                 ftw.3head               \
 125                 glob.3head              \
 126                 grp.3head               \
 127                 iconv.3head             \
 128                 if.3head                \
 129                 in.3head                \
 130                 inet.3head              \
 131                 inttypes.3head          \
 132                 ipc.3head               \
 133                 iso646.3head            \
 134                 langinfo.3head          \
 135                 libgen.3head            \
 136                 libintl.3head           \
 137                 limits.3head            \
 138                 locale.3head            \
 139                 math.3head              \
 140                 mman.3head              \
 141                 monetary.3head          \
 142                 mqueue.3head            \
 143                 msg.3head               \
 144                 ndbm.3head              \
 145                 netdb.3head             \
 146                 nl_types.3head          \
 147                 poll.3head              \
 148                 pthread.3head           \
 149                 pwd.3head               \
 150                 regex.3head             \
 151                 resource.3head          \
 152                 sched.3head             \
 153                 search.3head            \
 154                 select.3head            \
 155                 sem.3head               \
 156                 semaphore.3head         \
 157                 setjmp.3head            \
 158                 shm.3head               \
 159                 siginfo.3head           \
 160                 signal.3head            \
 161                 socket.3head            \
 162                 spawn.3head             \
 163                 stat.3head              \
 164                 statvfs.3head           \
 165                 stdbool.3head           \
 166                 stddef.3head            \
 167                 stdint.3head            \
 168                 stdio.3head             \
 169                 stdlib.3head            \
 170                 string.3head            \
 171                 strings.3head           \
 172                 stropts.3head           \
 173                 syslog.3head            \
 174                 tar.3head               \
 175                 tcp.3head               \
 176                 termios.3head           \
 177                 tgmath.3head            \
 178                 time.3head              \
 179                 timeb.3head             \
 180                 times.3head             \
 181                 types.3head             \
 182                 types32.3head           \
 183                 ucontext.3head          \
 184                 uio.3head               \
 185                 ulimit.3head            \
 186                 un.3head                \
 187                 unistd.3head            \
 188                 utime.3head             \
 189                 utmpx.3head             \
 190                 utsname.3head           \
 191                 values.3head            \
 192                 wait.3head              \
 193                 wchar.3head             \
 194                 wctype.3head            \
 195                 wordexp.3head
 196 
 197 acct.3head              := LINKSRC = acct.h.3head
 198 aio.3head               := LINKSRC = aio.h.3head
 199 ar.3head                := LINKSRC = ar.h.3head
 200 archives.3head          := LINKSRC = archives.h.3head
 201 assert.3head            := LINKSRC = assert.h.3head
 202 complex.3head           := LINKSRC = complex.h.3head
 203 cpio.3head              := LINKSRC = cpio.h.3head
 204 dirent.3head            := LINKSRC = dirent.h.3head
 205 errno.3head             := LINKSRC = errno.h.3head
 206 fcntl.3head             := LINKSRC = fcntl.h.3head
 207 fenv.3head              := LINKSRC = fenv.h.3head
 208 float.3head             := LINKSRC = float.h.3head
 209 floatingpoint.3head     := LINKSRC = floatingpoint.h.3head
 210 fmtmsg.3head            := LINKSRC = fmtmsg.h.3head
 211 fnmatch.3head           := LINKSRC = fnmatch.h.3head
 212 ftw.3head               := LINKSRC = ftw.h.3head
 213 glob.3head              := LINKSRC = glob.h.3head
 214 grp.3head               := LINKSRC = grp.h.3head
 215 iconv.3head             := LINKSRC = iconv.h.3head
 216 if.3head                := LINKSRC = if.h.3head
 217 in.3head                := LINKSRC = in.h.3head
 218 inet.3head              := LINKSRC = inet.h.3head
 219 inttypes.3head          := LINKSRC = inttypes.h.3head
 220 ipc.3head               := LINKSRC = ipc.h.3head
 221 iso646.3head            := LINKSRC = iso646.h.3head
 222 langinfo.3head          := LINKSRC = langinfo.h.3head
 223 libgen.3head            := LINKSRC = libgen.h.3head
 224 libintl.3head           := LINKSRC = libintl.h.3head
 225 limits.3head            := LINKSRC = limits.h.3head
 226 locale.3head            := LINKSRC = locale.h.3head
 227 math.3head              := LINKSRC = math.h.3head
 228 mman.3head              := LINKSRC = mman.h.3head
 229 monetary.3head          := LINKSRC = monetary.h.3head
 230 mqueue.3head            := LINKSRC = mqueue.h.3head
 231 msg.3head               := LINKSRC = msg.h.3head
 232 ndbm.3head              := LINKSRC = ndbm.h.3head
 233 netdb.3head             := LINKSRC = netdb.h.3head
 234 nl_types.3head          := LINKSRC = nl_types.h.3head
 235 poll.3head              := LINKSRC = poll.h.3head
 236 pthread.3head           := LINKSRC = pthread.h.3head
 237 pwd.3head               := LINKSRC = pwd.h.3head
 238 regex.3head             := LINKSRC = regex.h.3head
 239 resource.3head          := LINKSRC = resource.h.3head
 240 sched.3head             := LINKSRC = sched.h.3head
 241 search.3head            := LINKSRC = search.h.3head
 242 select.3head            := LINKSRC = select.h.3head
 243 sem.3head               := LINKSRC = sem.h.3head
 244 semaphore.3head         := LINKSRC = semaphore.h.3head
 245 setjmp.3head            := LINKSRC = setjmp.h.3head
 246 shm.3head               := LINKSRC = shm.h.3head
 247 siginfo.3head           := LINKSRC = siginfo.h.3head
 248 signal.3head            := LINKSRC = signal.h.3head
 249 socket.3head            := LINKSRC = socket.h.3head
 250 spawn.3head             := LINKSRC = spawn.h.3head
 251 stat.3head              := LINKSRC = stat.h.3head
 252 statvfs.3head           := LINKSRC = statvfs.h.3head
 253 stdbool.3head           := LINKSRC = stdbool.h.3head
 254 stddef.3head            := LINKSRC = stddef.h.3head
 255 stdint.3head            := LINKSRC = stdint.h.3head
 256 stdio.3head             := LINKSRC = stdio.h.3head
 257 stdlib.3head            := LINKSRC = stdlib.h.3head
 258 string.3head            := LINKSRC = string.h.3head
 259 strings.3head           := LINKSRC = strings.h.3head
 260 stropts.3head           := LINKSRC = stropts.h.3head
 261 syslog.3head            := LINKSRC = syslog.h.3head
 262 tar.3head               := LINKSRC = tar.h.3head
 263 tcp.3head               := LINKSRC = tcp.h.3head
 264 termios.3head           := LINKSRC = termios.h.3head
 265 tgmath.3head            := LINKSRC = tgmath.h.3head
 266 time.3head              := LINKSRC = time.h.3head
 267 timeb.3head             := LINKSRC = timeb.h.3head
 268 times.3head             := LINKSRC = times.h.3head
 269 types.3head             := LINKSRC = types.h.3head
 270 types32.3head           := LINKSRC = types32.h.3head
 271 ucontext.3head          := LINKSRC = ucontext.h.3head
 272 uio.3head               := LINKSRC = uio.h.3head
 273 ulimit.3head            := LINKSRC = ulimit.h.3head
 274 un.3head                := LINKSRC = un.h.3head
 275 unistd.3head            := LINKSRC = unistd.h.3head
 276 utime.3head             := LINKSRC = utime.h.3head
 277 utmpx.3head             := LINKSRC = utmpx.h.3head
 278 utsname.3head           := LINKSRC = utsname.h.3head
 279 values.3head            := LINKSRC = values.h.3head
 280 wait.3head              := LINKSRC = wait.h.3head
 281 wchar.3head             := LINKSRC = wchar.h.3head
 282 wctype.3head            := LINKSRC = wctype.h.3head
 283 wordexp.3head           := LINKSRC = wordexp.h.3head
 284 
 285 .KEEP_STATE:
 286 
 287 include         $(SRC)/man/Makefile.man
 288 
 289 install:        $(ROOTMANFILES) $(ROOTMANLINKS)