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, OmniTI Computer Consulting, Inc
  15 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  16 # Copyright (c) 2015, Joyent, Inc.  All rights reserved.
  17 #
  18 
  19 include         $(SRC)/Makefile.master
  20 
  21 MANSECT=        2
  22 
  23 MANFILES=       Intro.2                 \
  24                 __sparc_utrap_install.2 \
  25                 _lwp_cond_signal.2      \
  26                 _lwp_cond_wait.2        \
  27                 _lwp_info.2             \
  28                 _lwp_kill.2             \
  29                 _lwp_mutex_lock.2       \
  30                 _lwp_self.2             \
  31                 _lwp_sema_wait.2        \
  32                 _lwp_suspend.2          \
  33                 access.2                \
  34                 acct.2                  \
  35                 acl.2                   \
  36                 adjtime.2               \
  37                 alarm.2                 \
  38                 audit.2                 \
  39                 auditon.2               \
  40                 brk.2                   \
  41                 chdir.2                 \
  42                 chmod.2                 \
  43                 chown.2                 \
  44                 chroot.2                \
  45                 close.2                 \
  46                 creat.2                 \
  47                 dup.2                   \
  48                 exec.2                  \
  49                 exit.2                  \
  50                 fcntl.2                 \
  51                 fork.2                  \
  52                 fpathconf.2             \
  53                 getacct.2               \
  54                 getaudit.2              \
  55                 getauid.2               \
  56                 getcontext.2            \
  57                 getdents.2              \
  58                 getgroups.2             \
  59                 getisax.2               \
  60                 getitimer.2             \
  61                 getlabel.2              \
  62                 getmsg.2                \
  63                 getpflags.2             \
  64                 getpid.2                \
  65                 getppriv.2              \
  66                 getrlimit.2             \
  67                 getsid.2                \
  68                 getuid.2                \
  69                 getustack.2             \
  70                 ioctl.2                 \
  71                 issetugid.2             \
  72                 kill.2                  \
  73                 link.2                  \
  74                 llseek.2                \
  75                 lseek.2                 \
  76                 memcntl.2               \
  77                 meminfo.2               \
  78                 mincore.2               \
  79                 mkdir.2                 \
  80                 mknod.2                 \
  81                 mmap.2                  \
  82                 mmapobj.2               \
  83                 mount.2                 \
  84                 mprotect.2              \
  85                 msgctl.2                \
  86                 msgget.2                \
  87                 msgids.2                \
  88                 msgrcv.2                \
  89                 msgsnap.2               \
  90                 msgsnd.2                \
  91                 munmap.2                \
  92                 nice.2                  \
  93                 ntp_adjtime.2           \
  94                 ntp_gettime.2           \
  95                 open.2                  \
  96                 p_online.2              \
  97                 pause.2                 \
  98                 pcsample.2              \
  99                 pipe.2                  \
 100                 poll.2                  \
 101                 priocntl.2              \
 102                 priocntlset.2           \
 103                 processor_bind.2        \
 104                 processor_info.2        \
 105                 profil.2                \
 106                 pset_bind.2             \
 107                 pset_create.2           \
 108                 pset_info.2             \
 109                 pset_list.2             \
 110                 pset_setattr.2          \
 111                 putmsg.2                \
 112                 read.2                  \
 113                 readlink.2              \
 114                 rename.2                \
 115                 resolvepath.2           \
 116                 rmdir.2                 \
 117                 semctl.2                \
 118                 semget.2                \
 119                 semids.2                \
 120                 semop.2                 \
 121                 setpgid.2               \
 122                 setpgrp.2               \
 123                 setrctl.2               \
 124                 setregid.2              \
 125                 setreuid.2              \
 126                 setsid.2                \
 127                 settaskid.2             \
 128                 setuid.2                \
 129                 shmctl.2                \
 130                 shmget.2                \
 131                 shmids.2                \
 132                 shmop.2                 \
 133                 sigaction.2             \
 134                 sigaltstack.2           \
 135                 sigpending.2            \
 136                 sigprocmask.2           \
 137                 sigsend.2               \
 138                 sigsuspend.2            \
 139                 sigwait.2               \
 140                 stat.2                  \
 141                 statvfs.2               \
 142                 stime.2                 \
 143                 swapctl.2               \
 144                 symlink.2               \
 145                 sync.2                  \
 146                 sysfs.2                 \
 147                 sysinfo.2               \
 148                 time.2                  \
 149                 times.2                 \
 150                 uadmin.2                \
 151                 ulimit.2                \
 152                 umask.2                 \
 153                 umount.2                \
 154                 uname.2                 \
 155                 unlink.2                \
 156                 ustat.2                 \
 157                 utime.2                 \
 158                 utimes.2                \
 159                 uucopy.2                \
 160                 vfork.2                 \
 161                 vhangup.2               \
 162                 waitid.2                \
 163                 write.2                 \
 164                 yield.2                 \
 165 
 166 MANLINKS=       _Exit.2                         \
 167                 _exit.2                         \
 168                 _lwp_cond_broadcast.2           \
 169                 _lwp_cond_reltimedwait.2        \
 170                 _lwp_cond_timedwait.2           \
 171                 _lwp_continue.2                 \
 172                 _lwp_mutex_trylock.2            \
 173                 _lwp_mutex_unlock.2             \
 174                 _lwp_sema_init.2                \
 175                 _lwp_sema_post.2                \
 176                 _lwp_sema_trywait.2             \
 177                 execl.2                         \
 178                 execle.2                        \
 179                 execlp.2                        \
 180                 execv.2                         \
 181                 execve.2                        \
 182                 execvp.2                        \
 183                 faccessat.2                     \
 184                 facl.2                          \
 185                 fchdir.2                        \
 186                 fchmod.2                        \
 187                 fchmodat.2                      \
 188                 fchown.2                        \
 189                 fchownat.2                      \
 190                 fchroot.2                       \
 191                 fexecve.2                       \
 192                 fgetlabel.2                     \
 193                 fork1.2                         \
 194                 forkall.2                       \
 195                 forkallx.2                      \
 196                 forkx.2                         \
 197                 fstat.2                         \
 198                 fstatat.2                       \
 199                 fstatvfs.2                      \
 200                 futimesat.2                     \
 201                 futimens.2                      \
 202                 getaudit_addr.2                 \
 203                 getegid.2                       \
 204                 geteuid.2                       \
 205                 getgid.2                        \
 206                 getpgid.2                       \
 207                 getpgrp.2                       \
 208                 getpmsg.2                       \
 209                 getppid.2                       \
 210                 getprojid.2                     \
 211                 getrctl.2                       \
 212                 gettaskid.2                     \
 213                 intro.2                         \
 214                 lchown.2                        \
 215                 linkat.2                        \
 216                 lstat.2                         \
 217                 mkdirat.2                       \
 218                 mknodat.2                       \
 219                 openat.2                        \
 220                 pathconf.2                      \
 221                 pipe2.2                         \
 222                 ppoll.2                         \
 223                 pread.2                         \
 224                 preadv.2                        \
 225                 pset_assign.2                   \
 226                 pset_destroy.2                  \
 227                 pset_getattr.2                  \
 228                 putacct.2                       \
 229                 putpmsg.2                       \
 230                 pwrite.2                        \
 231                 pwritev.2                       \
 232                 readlinkat.2                    \
 233                 readv.2                         \
 234                 renameat.2                      \
 235                 sbrk.2                          \
 236                 semtimedop.2                    \
 237                 setaudit.2                      \
 238                 setaudit_addr.2                 \
 239                 setauid.2                       \
 240                 setcontext.2                    \
 241                 setegid.2                       \
 242                 seteuid.2                       \
 243                 setgid.2                        \
 244                 setgroups.2                     \
 245                 setitimer.2                     \
 246                 setpflags.2                     \
 247                 setppriv.2                      \
 248                 setrlimit.2                     \
 249                 setustack.2                     \
 250                 shmat.2                         \
 251                 shmdt.2                         \
 252                 sigsendset.2                    \
 253                 symlinkat.2                     \
 254                 umount2.2                       \
 255                 unlinkat.2                      \
 256                 utimensat.2                     \
 257                 vforkx.2                        \
 258                 wracct.2                        \
 259                 writev.2
 260 
 261 intro.2                         := LINKSRC = Intro.2
 262 
 263 _lwp_cond_broadcast.2           := LINKSRC = _lwp_cond_signal.2
 264 
 265 _lwp_cond_reltimedwait.2        := LINKSRC = _lwp_cond_wait.2
 266 _lwp_cond_timedwait.2           := LINKSRC = _lwp_cond_wait.2
 267 
 268 _lwp_mutex_trylock.2            := LINKSRC = _lwp_mutex_lock.2
 269 _lwp_mutex_unlock.2             := LINKSRC = _lwp_mutex_lock.2
 270 
 271 _lwp_sema_init.2                := LINKSRC = _lwp_sema_wait.2
 272 _lwp_sema_post.2                := LINKSRC = _lwp_sema_wait.2
 273 _lwp_sema_trywait.2             := LINKSRC = _lwp_sema_wait.2
 274 
 275 _lwp_continue.2                 := LINKSRC = _lwp_suspend.2
 276 
 277 faccessat.2                     := LINKSRC = access.2
 278 
 279 facl.2                          := LINKSRC = acl.2
 280 
 281 sbrk.2                          := LINKSRC = brk.2
 282 
 283 fchdir.2                        := LINKSRC = chdir.2
 284 
 285 fchmod.2                        := LINKSRC = chmod.2
 286 fchmodat.2                      := LINKSRC = chmod.2
 287 
 288 fchown.2                        := LINKSRC = chown.2
 289 fchownat.2                      := LINKSRC = chown.2
 290 lchown.2                        := LINKSRC = chown.2
 291 
 292 fchroot.2                       := LINKSRC = chroot.2
 293 
 294 execl.2                         := LINKSRC = exec.2
 295 execle.2                        := LINKSRC = exec.2
 296 execlp.2                        := LINKSRC = exec.2
 297 execv.2                         := LINKSRC = exec.2
 298 execve.2                        := LINKSRC = exec.2
 299 execvp.2                        := LINKSRC = exec.2
 300 fexecve.2                       := LINKSRC = exec.2
 301 
 302 _Exit.2                         := LINKSRC = exit.2
 303 _exit.2                         := LINKSRC = exit.2
 304 
 305 fork1.2                         := LINKSRC = fork.2
 306 forkall.2                       := LINKSRC = fork.2
 307 forkallx.2                      := LINKSRC = fork.2
 308 forkx.2                         := LINKSRC = fork.2
 309 
 310 pathconf.2                      := LINKSRC = fpathconf.2
 311 
 312 putacct.2                       := LINKSRC = getacct.2
 313 wracct.2                        := LINKSRC = getacct.2
 314 
 315 getaudit_addr.2                 := LINKSRC = getaudit.2
 316 setaudit.2                      := LINKSRC = getaudit.2
 317 setaudit_addr.2                 := LINKSRC = getaudit.2
 318 
 319 setauid.2                       := LINKSRC = getauid.2
 320 
 321 setcontext.2                    := LINKSRC = getcontext.2
 322 
 323 setgroups.2                     := LINKSRC = getgroups.2
 324 
 325 setitimer.2                     := LINKSRC = getitimer.2
 326 
 327 fgetlabel.2                     := LINKSRC = getlabel.2
 328 
 329 getpmsg.2                       := LINKSRC = getmsg.2
 330 
 331 setpflags.2                     := LINKSRC = getpflags.2
 332 
 333 getpgid.2                       := LINKSRC = getpid.2
 334 getpgrp.2                       := LINKSRC = getpid.2
 335 getppid.2                       := LINKSRC = getpid.2
 336 
 337 setppriv.2                      := LINKSRC = getppriv.2
 338 
 339 setrlimit.2                     := LINKSRC = getrlimit.2
 340 
 341 getegid.2                       := LINKSRC = getuid.2
 342 geteuid.2                       := LINKSRC = getuid.2
 343 getgid.2                        := LINKSRC = getuid.2
 344 
 345 setustack.2                     := LINKSRC = getustack.2
 346 
 347 linkat.2                        := LINKSRC = link.2
 348 
 349 mkdirat.2                       := LINKSRC = mkdir.2
 350 
 351 mknodat.2                       := LINKSRC = mknod.2
 352 
 353 openat.2                        := LINKSRC = open.2
 354 
 355 pipe2.2                         := LINKSRC = pipe.2
 356 
 357 ppoll.2                         := LINKSRC = poll.2
 358 
 359 pset_assign.2                   := LINKSRC = pset_create.2
 360 pset_destroy.2                  := LINKSRC = pset_create.2
 361 
 362 pset_getattr.2                  := LINKSRC = pset_setattr.2
 363 
 364 putpmsg.2                       := LINKSRC = putmsg.2
 365 
 366 pread.2                         := LINKSRC = read.2
 367 readv.2                         := LINKSRC = read.2
 368 preadv.2                        := LINKSRC = read.2
 369 
 370 readlinkat.2                    := LINKSRC = readlink.2
 371 
 372 renameat.2                      := LINKSRC = rename.2
 373 
 374 semtimedop.2                    := LINKSRC = semop.2
 375 
 376 getrctl.2                       := LINKSRC = setrctl.2
 377 
 378 getprojid.2                     := LINKSRC = settaskid.2
 379 gettaskid.2                     := LINKSRC = settaskid.2
 380 
 381 setegid.2                       := LINKSRC = setuid.2
 382 seteuid.2                       := LINKSRC = setuid.2
 383 setgid.2                        := LINKSRC = setuid.2
 384 
 385 shmat.2                         := LINKSRC = shmop.2
 386 shmdt.2                         := LINKSRC = shmop.2
 387 
 388 sigsendset.2                    := LINKSRC = sigsend.2
 389 
 390 symlinkat.2                     := LINKSRC = symlink.2
 391 
 392 fstat.2                         := LINKSRC = stat.2
 393 fstatat.2                       := LINKSRC = stat.2
 394 lstat.2                         := LINKSRC = stat.2
 395 
 396 fstatvfs.2                      := LINKSRC = statvfs.2
 397 
 398 umount2.2                       := LINKSRC = umount.2
 399 
 400 unlinkat.2                      := LINKSRC = unlink.2
 401 
 402 futimens.2                      := LINKSRC = utimes.2
 403 futimesat.2                     := LINKSRC = utimes.2
 404 utimensat.2                     := LINKSRC = utimes.2
 405 
 406 vforkx.2                        := LINKSRC = vfork.2
 407 
 408 pwrite.2                        := LINKSRC = write.2
 409 writev.2                        := LINKSRC = write.2
 410 pwritev.2                       := LINKSRC = write.2
 411 
 412 .KEEP_STATE:
 413 
 414 include         $(SRC)/man/Makefile.man
 415 
 416 install:        $(ROOTMANFILES) $(ROOTMANLINKS)