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 # Copyright 2017 Peter Tribble
  18 #
  19 
  20 include         $(SRC)/Makefile.master
  21 
  22 MANSECT=        2
  23 
  24 MANFILES=       Intro.2                 \
  25                 __sparc_utrap_install.2 \
  26                 _lwp_cond_signal.2      \
  27                 _lwp_cond_wait.2        \
  28                 _lwp_info.2             \
  29                 _lwp_kill.2             \
  30                 _lwp_mutex_lock.2       \
  31                 _lwp_self.2             \
  32                 _lwp_sema_wait.2        \
  33                 _lwp_suspend.2          \
  34                 access.2                \
  35                 acct.2                  \
  36                 acl.2                   \
  37                 adjtime.2               \
  38                 alarm.2                 \
  39                 audit.2                 \
  40                 auditon.2               \
  41                 brk.2                   \
  42                 chdir.2                 \
  43                 chmod.2                 \
  44                 chown.2                 \
  45                 chroot.2                \
  46                 close.2                 \
  47                 creat.2                 \
  48                 dup.2                   \
  49                 exec.2                  \
  50                 exit.2                  \
  51                 fcntl.2                 \
  52                 fork.2                  \
  53                 fpathconf.2             \
  54                 getacct.2               \
  55                 getaudit.2              \
  56                 getauid.2               \
  57                 getcontext.2            \
  58                 getdents.2              \
  59                 getgroups.2             \
  60                 getisax.2               \
  61                 getitimer.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                 fork1.2                         \
 192                 forkall.2                       \
 193                 forkallx.2                      \
 194                 forkx.2                         \
 195                 fstat.2                         \
 196                 fstatat.2                       \
 197                 fstatvfs.2                      \
 198                 futimesat.2                     \
 199                 futimens.2                      \
 200                 getaudit_addr.2                 \
 201                 getegid.2                       \
 202                 geteuid.2                       \
 203                 getgid.2                        \
 204                 getpgid.2                       \
 205                 getpgrp.2                       \
 206                 getpmsg.2                       \
 207                 getppid.2                       \
 208                 getprojid.2                     \
 209                 getrctl.2                       \
 210                 gettaskid.2                     \
 211                 intro.2                         \
 212                 lchown.2                        \
 213                 linkat.2                        \
 214                 lstat.2                         \
 215                 mkdirat.2                       \
 216                 mknodat.2                       \
 217                 openat.2                        \
 218                 pathconf.2                      \
 219                 pipe2.2                         \
 220                 ppoll.2                         \
 221                 pread.2                         \
 222                 preadv.2                        \
 223                 pset_assign.2                   \
 224                 pset_destroy.2                  \
 225                 pset_getattr.2                  \
 226                 putacct.2                       \
 227                 putpmsg.2                       \
 228                 pwrite.2                        \
 229                 pwritev.2                       \
 230                 readlinkat.2                    \
 231                 readv.2                         \
 232                 renameat.2                      \
 233                 sbrk.2                          \
 234                 semtimedop.2                    \
 235                 setaudit.2                      \
 236                 setaudit_addr.2                 \
 237                 setauid.2                       \
 238                 setcontext.2                    \
 239                 setegid.2                       \
 240                 seteuid.2                       \
 241                 setgid.2                        \
 242                 setgroups.2                     \
 243                 setitimer.2                     \
 244                 setpflags.2                     \
 245                 setppriv.2                      \
 246                 setrlimit.2                     \
 247                 setustack.2                     \
 248                 shmat.2                         \
 249                 shmdt.2                         \
 250                 sigsendset.2                    \
 251                 symlinkat.2                     \
 252                 umount2.2                       \
 253                 unlinkat.2                      \
 254                 utimensat.2                     \
 255                 vforkx.2                        \
 256                 wracct.2                        \
 257                 writev.2
 258 
 259 intro.2                         := LINKSRC = Intro.2
 260 
 261 _lwp_cond_broadcast.2           := LINKSRC = _lwp_cond_signal.2
 262 
 263 _lwp_cond_reltimedwait.2        := LINKSRC = _lwp_cond_wait.2
 264 _lwp_cond_timedwait.2           := LINKSRC = _lwp_cond_wait.2
 265 
 266 _lwp_mutex_trylock.2            := LINKSRC = _lwp_mutex_lock.2
 267 _lwp_mutex_unlock.2             := LINKSRC = _lwp_mutex_lock.2
 268 
 269 _lwp_sema_init.2                := LINKSRC = _lwp_sema_wait.2
 270 _lwp_sema_post.2                := LINKSRC = _lwp_sema_wait.2
 271 _lwp_sema_trywait.2             := LINKSRC = _lwp_sema_wait.2
 272 
 273 _lwp_continue.2                 := LINKSRC = _lwp_suspend.2
 274 
 275 faccessat.2                     := LINKSRC = access.2
 276 
 277 facl.2                          := LINKSRC = acl.2
 278 
 279 sbrk.2                          := LINKSRC = brk.2
 280 
 281 fchdir.2                        := LINKSRC = chdir.2
 282 
 283 fchmod.2                        := LINKSRC = chmod.2
 284 fchmodat.2                      := LINKSRC = chmod.2
 285 
 286 fchown.2                        := LINKSRC = chown.2
 287 fchownat.2                      := LINKSRC = chown.2
 288 lchown.2                        := LINKSRC = chown.2
 289 
 290 fchroot.2                       := LINKSRC = chroot.2
 291 
 292 execl.2                         := LINKSRC = exec.2
 293 execle.2                        := LINKSRC = exec.2
 294 execlp.2                        := LINKSRC = exec.2
 295 execv.2                         := LINKSRC = exec.2
 296 execve.2                        := LINKSRC = exec.2
 297 execvp.2                        := LINKSRC = exec.2
 298 
 299 _Exit.2                         := LINKSRC = exit.2
 300 _exit.2                         := LINKSRC = exit.2
 301 
 302 fork1.2                         := LINKSRC = fork.2
 303 forkall.2                       := LINKSRC = fork.2
 304 forkallx.2                      := LINKSRC = fork.2
 305 forkx.2                         := LINKSRC = fork.2
 306 
 307 pathconf.2                      := LINKSRC = fpathconf.2
 308 
 309 putacct.2                       := LINKSRC = getacct.2
 310 wracct.2                        := LINKSRC = getacct.2
 311 
 312 getaudit_addr.2                 := LINKSRC = getaudit.2
 313 setaudit.2                      := LINKSRC = getaudit.2
 314 setaudit_addr.2                 := LINKSRC = getaudit.2
 315 
 316 setauid.2                       := LINKSRC = getauid.2
 317 
 318 setcontext.2                    := LINKSRC = getcontext.2
 319 
 320 setgroups.2                     := LINKSRC = getgroups.2
 321 
 322 setitimer.2                     := LINKSRC = getitimer.2
 323 
 324 getpmsg.2                       := LINKSRC = getmsg.2
 325 
 326 setpflags.2                     := LINKSRC = getpflags.2
 327 
 328 getpgid.2                       := LINKSRC = getpid.2
 329 getpgrp.2                       := LINKSRC = getpid.2
 330 getppid.2                       := LINKSRC = getpid.2
 331 
 332 setppriv.2                      := LINKSRC = getppriv.2
 333 
 334 setrlimit.2                     := LINKSRC = getrlimit.2
 335 
 336 getegid.2                       := LINKSRC = getuid.2
 337 geteuid.2                       := LINKSRC = getuid.2
 338 getgid.2                        := LINKSRC = getuid.2
 339 
 340 setustack.2                     := LINKSRC = getustack.2
 341 
 342 linkat.2                        := LINKSRC = link.2
 343 
 344 mkdirat.2                       := LINKSRC = mkdir.2
 345 
 346 mknodat.2                       := LINKSRC = mknod.2
 347 
 348 openat.2                        := LINKSRC = open.2
 349 
 350 pipe2.2                         := LINKSRC = pipe.2
 351 
 352 ppoll.2                         := LINKSRC = poll.2
 353 
 354 pset_assign.2                   := LINKSRC = pset_create.2
 355 pset_destroy.2                  := LINKSRC = pset_create.2
 356 
 357 pset_getattr.2                  := LINKSRC = pset_setattr.2
 358 
 359 putpmsg.2                       := LINKSRC = putmsg.2
 360 
 361 pread.2                         := LINKSRC = read.2
 362 readv.2                         := LINKSRC = read.2
 363 preadv.2                        := LINKSRC = read.2
 364 
 365 readlinkat.2                    := LINKSRC = readlink.2
 366 
 367 renameat.2                      := LINKSRC = rename.2
 368 
 369 semtimedop.2                    := LINKSRC = semop.2
 370 
 371 getrctl.2                       := LINKSRC = setrctl.2
 372 
 373 getprojid.2                     := LINKSRC = settaskid.2
 374 gettaskid.2                     := LINKSRC = settaskid.2
 375 
 376 setegid.2                       := LINKSRC = setuid.2
 377 seteuid.2                       := LINKSRC = setuid.2
 378 setgid.2                        := LINKSRC = setuid.2
 379 
 380 shmat.2                         := LINKSRC = shmop.2
 381 shmdt.2                         := LINKSRC = shmop.2
 382 
 383 sigsendset.2                    := LINKSRC = sigsend.2
 384 
 385 symlinkat.2                     := LINKSRC = symlink.2
 386 
 387 fstat.2                         := LINKSRC = stat.2
 388 fstatat.2                       := LINKSRC = stat.2
 389 lstat.2                         := LINKSRC = stat.2
 390 
 391 fstatvfs.2                      := LINKSRC = statvfs.2
 392 
 393 umount2.2                       := LINKSRC = umount.2
 394 
 395 unlinkat.2                      := LINKSRC = unlink.2
 396 
 397 futimens.2                      := LINKSRC = utimes.2
 398 futimesat.2                     := LINKSRC = utimes.2
 399 utimensat.2                     := LINKSRC = utimes.2
 400 
 401 vforkx.2                        := LINKSRC = vfork.2
 402 
 403 pwrite.2                        := LINKSRC = write.2
 404 writev.2                        := LINKSRC = write.2
 405 pwritev.2                       := LINKSRC = write.2
 406 
 407 .KEEP_STATE:
 408 
 409 include         $(SRC)/man/Makefile.man
 410 
 411 install:        $(ROOTMANFILES) $(ROOTMANLINKS)