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