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 2018 Nexenta Systems, Inc.
  15 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  16 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  17 #
  18 
  19 include         $(SRC)/Makefile.master
  20 
  21 MANSECT=        1
  22 
  23 MANFILES=       acctcom.1                       \
  24                 adb.1                           \
  25                 addbib.1                        \
  26                 alias.1                         \
  27                 allocate.1                      \
  28                 amt.1                           \
  29                 appcert.1                       \
  30                 apptrace.1                      \
  31                 apropos.1                       \
  32                 ar.1                            \
  33                 arch.1                          \
  34                 asa.1                           \
  35                 at.1                            \
  36                 atq.1                           \
  37                 atrm.1                          \
  38                 audioconvert.1                  \
  39                 audioctl.1                      \
  40                 audioplay.1                     \
  41                 audiorecord.1                   \
  42                 audiotest.1                     \
  43                 auths.1                         \
  44                 awk.1                           \
  45                 banner.1                        \
  46                 basename.1                      \
  47                 bc.1                            \
  48                 bdiff.1                         \
  49                 break.1                         \
  50                 builtin.1                       \
  51                 cal.1                           \
  52                 cancel.1                        \
  53                 cat.1                           \
  54                 cd.1                            \
  55                 cdrw.1                          \
  56                 checknr.1                       \
  57                 chgrp.1                         \
  58                 chkey.1                         \
  59                 chmod.1                         \
  60                 chown.1                         \
  61                 ckdate.1                        \
  62                 ckgid.1                         \
  63                 ckint.1                         \
  64                 ckitem.1                        \
  65                 ckkeywd.1                       \
  66                 ckpath.1                        \
  67                 ckrange.1                       \
  68                 ckstr.1                         \
  69                 cksum.1                         \
  70                 cktime.1                        \
  71                 ckuid.1                         \
  72                 ckyorn.1                        \
  73                 clear.1                         \
  74                 cmp.1                           \
  75                 col.1                           \
  76                 comm.1                          \
  77                 command.1                       \
  78                 compress.1                      \
  79                 cp.1                            \
  80                 cpio.1                          \
  81                 cputrack.1                      \
  82                 crle.1                          \
  83                 crontab.1                       \
  84                 crypt.1                         \
  85                 csh.1                           \
  86                 csplit.1                        \
  87                 ctags.1                         \
  88                 ctfdiff.1                       \
  89                 ctfdump.1                       \
  90                 ctrun.1                         \
  91                 ctstat.1                        \
  92                 ctwatch.1                       \
  93                 cut.1                           \
  94                 date.1                          \
  95                 dc.1                            \
  96                 deallocate.1                    \
  97                 deroff.1                        \
  98                 dhcpinfo.1                      \
  99                 diff.1                          \
 100                 diff3.1                         \
 101                 diffmk.1                        \
 102                 digest.1                        \
 103                 dircmp.1                        \
 104                 dis.1                           \
 105                 disown.1                        \
 106                 dispgid.1                       \
 107                 dispuid.1                       \
 108                 dos2unix.1                      \
 109                 download.1                      \
 110                 dpost.1                         \
 111                 du.1                            \
 112                 dump.1                          \
 113                 dumpcs.1                        \
 114                 echo.1                          \
 115                 ed.1                            \
 116                 eject.1                         \
 117                 elfdump.1                       \
 118                 elfedit.1                       \
 119                 elfsign.1                       \
 120                 elfwrap.1                       \
 121                 enable.1                        \
 122                 encrypt.1                       \
 123                 enhance.1                       \
 124                 env.1                           \
 125                 eqn.1                           \
 126                 etdump.1                        \
 127                 exec.1                          \
 128                 exit.1                          \
 129                 expand.1                        \
 130                 expr.1                          \
 131                 exstr.1                         \
 132                 factor.1                        \
 133                 fdformat.1                      \
 134                 file.1                          \
 135                 filesync.1                      \
 136                 find.1                          \
 137                 finger.1                        \
 138                 fmt.1                           \
 139                 fmtmsg.1                        \
 140                 fold.1                          \
 141                 ftp.1                           \
 142                 gcore.1                         \
 143                 gencat.1                        \
 144                 genmsg.1                        \
 145                 getconf.1                       \
 146                 getfacl.1                       \
 147                 getlabel.1                      \
 148                 getopt.1                        \
 149                 getoptcvt.1                     \
 150                 getopts.1                       \
 151                 gettext.1                       \
 152                 gettxt.1                        \
 153                 getzonepath.1                   \
 154                 glob.1                          \
 155                 gprof.1                         \
 156                 grep.1                          \
 157                 groups.1                        \
 158                 hash.1                          \
 159                 head.1                          \
 160                 history.1                       \
 161                 hostid.1                        \
 162                 hostname.1                      \
 163                 iconv.1                         \
 164                 indxbib.1                       \
 165                 Intro.1                         \
 166                 ipcrm.1                         \
 167                 ipcs.1                          \
 168                 isainfo.1                       \
 169                 isalist.1                       \
 170                 jobs.1                          \
 171                 join.1                          \
 172                 kbd.1                           \
 173                 kdestroy.1                      \
 174                 keylogin.1                      \
 175                 keylogout.1                     \
 176                 kill.1                          \
 177                 kinit.1                         \
 178                 klist.1                         \
 179                 kmdb.1                          \
 180                 kmfcfg.1                        \
 181                 kpasswd.1                       \
 182                 krb5-config.1                   \
 183                 ksh93.1                         \
 184                 ktutil.1                        \
 185                 kvmstat.1                       \
 186                 lari.1                          \
 187                 last.1                          \
 188                 lastcomm.1                      \
 189                 ld.1                            \
 190                 ld.so.1.1                       \
 191                 ldap.1                          \
 192                 ldapdelete.1                    \
 193                 ldaplist.1                      \
 194                 ldapmodify.1                    \
 195                 ldapmodrdn.1                    \
 196                 ldapsearch.1                    \
 197                 ldd.1                           \
 198                 let.1                           \
 199                 lex.1                           \
 200                 lgrpinfo.1                      \
 201                 limit.1                         \
 202                 line.1                          \
 203                 list_devices.1                  \
 204                 listusers.1                     \
 205                 ln.1                            \
 206                 loadkeys.1                      \
 207                 locale.1                        \
 208                 localedef.1                     \
 209                 logger.1                        \
 210                 login.1                         \
 211                 logname.1                       \
 212                 logout.1                        \
 213                 look.1                          \
 214                 lookbib.1                       \
 215                 lorder.1                        \
 216                 lp.1                            \
 217                 lpstat.1                        \
 218                 ls.1                            \
 219                 m4.1                            \
 220                 mac.1                           \
 221                 mach.1                          \
 222                 madv.so.1.1                     \
 223                 mail.1                          \
 224                 mailcompat.1                    \
 225                 mailstats.1                     \
 226                 mailx.1                         \
 227                 make.1                          \
 228                 makekey.1                       \
 229                 man.1                           \
 230                 mandoc.1                        \
 231                 mconnect.1                      \
 232                 mcs.1                           \
 233                 mdb.1                           \
 234                 mesg.1                          \
 235                 mkdir.1                         \
 236                 mkmsgs.1                        \
 237                 mktemp.1                        \
 238                 moe.1                           \
 239                 more.1                          \
 240                 mpss.so.1.1                     \
 241                 msgcc.1                         \
 242                 msgcpp.1                        \
 243                 msgcvt.1                        \
 244                 msgfmt.1                        \
 245                 msggen.1                        \
 246                 msgget.1                        \
 247                 mt.1                            \
 248                 mv.1                            \
 249                 nawk.1                          \
 250                 nc.1                            \
 251                 nca.1                           \
 252                 ncab2clf.1                      \
 253                 ncakmod.1                       \
 254                 newform.1                       \
 255                 newgrp.1                        \
 256                 news.1                          \
 257                 newtask.1                       \
 258                 nice.1                          \
 259                 nl.1                            \
 260                 nm.1                            \
 261                 nohup.1                         \
 262                 nroff.1                         \
 263                 od.1                            \
 264                 optisa.1                        \
 265                 pack.1                          \
 266                 pagesize.1                      \
 267                 pargs.1                         \
 268                 passwd.1                        \
 269                 paste.1                         \
 270                 pathchk.1                       \
 271                 pax.1                           \
 272                 pfexec.1                        \
 273                 pg.1                            \
 274                 pgrep.1                         \
 275                 pkginfo.1                       \
 276                 pkgmk.1                         \
 277                 pkgparam.1                      \
 278                 pkgproto.1                      \
 279                 pkgtrans.1                      \
 280                 pktool.1                        \
 281                 plabel.1                        \
 282                 plgrp.1                         \
 283                 plimit.1                        \
 284                 pmadvise.1                      \
 285                 pmap.1                          \
 286                 postio.1                        \
 287                 postprint.1                     \
 288                 postreverse.1                   \
 289                 ppgsz.1                         \
 290                 ppriv.1                         \
 291                 pr.1                            \
 292                 praliases.1                     \
 293                 prctl.1                         \
 294                 preap.1                         \
 295                 prex.1                          \
 296                 print.1                         \
 297                 printf.1                        \
 298                 priocntl.1                      \
 299                 proc.1                          \
 300                 prof.1                          \
 301                 profiles.1                      \
 302                 projects.1                      \
 303                 ps.1                            \
 304                 psecflags.1                     \
 305                 ptree.1                         \
 306                 pvs.1                           \
 307                 pwd.1                           \
 308                 ranlib.1                        \
 309                 rcapstat.1                      \
 310                 rcp.1                           \
 311                 rdist.1                         \
 312                 read.1                          \
 313                 readonly.1                      \
 314                 refer.1                         \
 315                 regcmp.1                        \
 316                 renice.1                        \
 317                 rev.1                           \
 318                 rlogin.1                        \
 319                 rm.1                            \
 320                 rmformat.1                      \
 321                 rmmount.1                       \
 322                 roffbib.1                       \
 323                 roles.1                         \
 324                 rpcgen.1                        \
 325                 rsh.1                           \
 326                 runat.1                         \
 327                 rup.1                           \
 328                 ruptime.1                       \
 329                 rusers.1                        \
 330                 rwho.1                          \
 331                 sar.1                           \
 332                 script.1                        \
 333                 sdiff.1                         \
 334                 sed.1                           \
 335                 sendmail-mailq.1                \
 336                 set.1                           \
 337                 setfacl.1                       \
 338                 setlabel.1                      \
 339                 setpgrp.1                       \
 340                 shcomp.1                        \
 341                 shell_builtins.1                \
 342                 shift.1                         \
 343                 size.1                          \
 344                 sleep.1                         \
 345                 smbutil.1                       \
 346                 soelim.1                        \
 347                 sort.1                          \
 348                 sortbib.1                       \
 349                 sotruss.1                       \
 350                 spell.1                         \
 351                 split.1                         \
 352                 srchtxt.1                       \
 353                 strchg.1                        \
 354                 strings.1                       \
 355                 strip.1                         \
 356                 stty.1                          \
 357                 sum.1                           \
 358                 suspend.1                       \
 359                 svcprop.1                       \
 360                 svcs.1                          \
 361                 symorder.1                      \
 362                 sys-suspend.1                   \
 363                 sysV-make.1                     \
 364                 tabs.1                          \
 365                 tail.1                          \
 366                 talk.1                          \
 367                 tar.1                           \
 368                 tbl.1                           \
 369                 tcopy.1                         \
 370                 tee.1                           \
 371                 telnet.1                        \
 372                 test.1                          \
 373                 tftp.1                          \
 374                 time.1                          \
 375                 times.1                         \
 376                 timex.1                         \
 377                 tip.1                           \
 378                 tnfdump.1                       \
 379                 tnfxtract.1                     \
 380                 touch.1                         \
 381                 tput.1                          \
 382                 tr.1                            \
 383                 trap.1                          \
 384                 troff.1                         \
 385                 true.1                          \
 386                 truss.1                         \
 387                 tsort.1                         \
 388                 tty.1                           \
 389                 type.1                          \
 390                 typeset.1                       \
 391                 ul.1                            \
 392                 umask.1                         \
 393                 uname.1                         \
 394                 unifdef.1                       \
 395                 uniq.1                          \
 396                 units.1                         \
 397                 unix2dos.1                      \
 398                 uptime.1                        \
 399                 uuidgen.1                       \
 400                 vacation.1                      \
 401                 vgrind.1                        \
 402                 volcheck.1                      \
 403                 volrmmount.1                    \
 404                 vtfontcvt.1                     \
 405                 w.1                             \
 406                 wait.1                          \
 407                 wc.1                            \
 408                 which.1                         \
 409                 who.1                           \
 410                 whocalls.1                      \
 411                 whois.1                         \
 412                 write.1                         \
 413                 xargs.1                         \
 414                 xgettext.1                      \
 415                 xstr.1                          \
 416                 yacc.1                          \
 417                 yes.1                           \
 418                 ypcat.1                         \
 419                 ypmatch.1                       \
 420                 yppasswd.1                      \
 421                 ypwhich.1                       \
 422                 zlogin.1                        \
 423                 zonename.1                      \
 424                 zonestat.1
 425 
 426 MANLINKS=       batch.1         \
 427                 bg.1            \
 428                 case.1          \
 429                 chdir.1         \
 430                 checkeq.1       \
 431                 continue.1      \
 432                 decrypt.1       \
 433                 dirname.1       \
 434                 dirs.1          \
 435                 disable.1       \
 436                 dmake.1         \
 437                 dumpkeys.1      \
 438                 edit.1          \
 439                 egrep.1         \
 440                 errange.1       \
 441                 errdate.1       \
 442                 errgid.1        \
 443                 errint.1        \
 444                 erritem.1       \
 445                 errpath.1       \
 446                 errstr.1        \
 447                 errtime.1       \
 448                 erruid.1        \
 449                 erryorn.1       \
 450                 eval.1          \
 451                 export.1        \
 452                 false.1         \
 453                 fc.1            \
 454                 fg.1            \
 455                 fgrep.1         \
 456                 for.1           \
 457                 foreach.1       \
 458                 function.1      \
 459                 goto.1          \
 460                 hashcheck.1     \
 461                 hashmake.1      \
 462                 hashstat.1      \
 463                 helpdate.1      \
 464                 helpgid.1       \
 465                 helpint.1       \
 466                 helpitem.1      \
 467                 helppath.1      \
 468                 helprange.1     \
 469                 helpstr.1       \
 470                 helptime.1      \
 471                 helpuid.1       \
 472                 helpyorn.1      \
 473                 hist.1          \
 474                 if.1            \
 475                 intro.1         \
 476                 jsh.1           \
 477                 ksh.1           \
 478                 ldapadd.1       \
 479                 mailq.1         \
 480                 neqn.1          \
 481                 notify.1        \
 482                 onintr.1        \
 483                 page.1          \
 484                 pcat.1          \
 485                 pcred.1         \
 486                 pfcsh.1         \
 487                 pfiles.1        \
 488                 pfksh.1         \
 489                 pflags.1        \
 490                 pfsh.1          \
 491                 pkill.1         \
 492                 pldd.1          \
 493                 popd.1          \
 494                 prun.1          \
 495                 psig.1          \
 496                 pstack.1        \
 497                 pstop.1         \
 498                 ptime.1         \
 499                 pushd.1         \
 500                 pwait.1         \
 501                 pwdx.1          \
 502                 red.1           \
 503                 rehash.1        \
 504                 remote_shell.1  \
 505                 remsh.1         \
 506                 repeat.1        \
 507                 return.1        \
 508                 rksh.1          \
 509                 rksh93.1        \
 510                 rmail.1         \
 511                 rmdir.1         \
 512                 rmumount.1      \
 513                 select.1        \
 514                 setenv.1        \
 515                 settime.1       \
 516                 sh.1            \
 517                 snca.1          \
 518                 source.1        \
 519                 spellin.1       \
 520                 stop.1          \
 521                 strconf.1       \
 522                 switch.1        \
 523                 ulimit.1        \
 524                 unalias.1       \
 525                 uncompress.1    \
 526                 unexpand.1      \
 527                 unhash.1        \
 528                 unlimit.1       \
 529                 unpack.1        \
 530                 unset.1         \
 531                 unsetenv.1      \
 532                 until.1         \
 533                 valdate.1       \
 534                 valgid.1        \
 535                 valint.1        \
 536                 valpath.1       \
 537                 valrange.1      \
 538                 valstr.1        \
 539                 valtime.1       \
 540                 valuid.1        \
 541                 valyorn.1       \
 542                 vedit.1         \
 543                 whatis.1        \
 544                 whence.1        \
 545                 while.1         \
 546                 zcat.1
 547 
 548 intro.1         := LINKSRC = Intro.1
 549 
 550 whatis.1        := LINKSRC = apropos.1
 551 
 552 unalias.1       := LINKSRC = alias.1
 553 
 554 batch.1         := LINKSRC = at.1
 555 
 556 dirname.1       := LINKSRC = basename.1
 557 
 558 continue.1      := LINKSRC = break.1
 559 
 560 chdir.1         := LINKSRC = cd.1
 561 dirs.1          := LINKSRC = cd.1
 562 popd.1          := LINKSRC = cd.1
 563 pushd.1         := LINKSRC = cd.1
 564 
 565 errdate.1       := LINKSRC = ckdate.1
 566 helpdate.1      := LINKSRC = ckdate.1
 567 valdate.1       := LINKSRC = ckdate.1
 568 
 569 errgid.1        := LINKSRC = ckgid.1
 570 helpgid.1       := LINKSRC = ckgid.1
 571 valgid.1        := LINKSRC = ckgid.1
 572 
 573 errint.1        := LINKSRC = ckint.1
 574 helpint.1       := LINKSRC = ckint.1
 575 valint.1        := LINKSRC = ckint.1
 576 
 577 erritem.1       := LINKSRC = ckitem.1
 578 helpitem.1      := LINKSRC = ckitem.1
 579 
 580 errpath.1       := LINKSRC = ckpath.1
 581 helppath.1      := LINKSRC = ckpath.1
 582 valpath.1       := LINKSRC = ckpath.1
 583 
 584 errange.1       := LINKSRC = ckrange.1
 585 helprange.1     := LINKSRC = ckrange.1
 586 valrange.1      := LINKSRC = ckrange.1
 587 
 588 errstr.1        := LINKSRC = ckstr.1
 589 helpstr.1       := LINKSRC = ckstr.1
 590 valstr.1        := LINKSRC = ckstr.1
 591 
 592 errtime.1       := LINKSRC = cktime.1
 593 helptime.1      := LINKSRC = cktime.1
 594 valtime.1       := LINKSRC = cktime.1
 595 
 596 erruid.1        := LINKSRC = ckuid.1
 597 helpuid.1       := LINKSRC = ckuid.1
 598 valuid.1        := LINKSRC = ckuid.1
 599 
 600 erryorn.1       := LINKSRC = ckyorn.1
 601 helpyorn.1      := LINKSRC = ckyorn.1
 602 valyorn.1       := LINKSRC = ckyorn.1
 603 
 604 uncompress.1    := LINKSRC = compress.1
 605 zcat.1          := LINKSRC = compress.1
 606 
 607 red.1           := LINKSRC = ed.1
 608 
 609 disable.1       := LINKSRC = enable.1
 610 
 611 decrypt.1       := LINKSRC = encrypt.1
 612 
 613 dmake.1         := LINKSRC = make.1
 614 
 615 checkeq.1       := LINKSRC = eqn.1
 616 neqn.1          := LINKSRC = eqn.1
 617 
 618 eval.1          := LINKSRC = exec.1
 619 source.1        := LINKSRC = exec.1
 620 
 621 goto.1          := LINKSRC = exit.1
 622 return.1        := LINKSRC = exit.1
 623 
 624 unexpand.1      := LINKSRC = expand.1
 625 
 626 egrep.1         := LINKSRC = grep.1
 627 fgrep.1         := LINKSRC = grep.1
 628 
 629 hashstat.1      := LINKSRC = hash.1
 630 rehash.1        := LINKSRC = hash.1
 631 unhash.1        := LINKSRC = hash.1
 632 
 633 fc.1            := LINKSRC = history.1
 634 hist.1          := LINKSRC = history.1
 635 
 636 bg.1            := LINKSRC = jobs.1
 637 fg.1            := LINKSRC = jobs.1
 638 notify.1        := LINKSRC = jobs.1
 639 stop.1          := LINKSRC = jobs.1
 640 
 641 jsh.1           := LINKSRC = ksh93.1
 642 ksh.1           := LINKSRC = ksh93.1
 643 rksh.1          := LINKSRC = ksh93.1
 644 rksh93.1        := LINKSRC = ksh93.1
 645 sh.1            := LINKSRC = ksh93.1
 646 
 647 ldapadd.1       := LINKSRC = ldapmodify.1
 648 
 649 mailq.1         := LINKSRC = sendmail-mailq.1
 650 
 651 ulimit.1        := LINKSRC = limit.1
 652 unlimit.1       := LINKSRC = limit.1
 653 
 654 dumpkeys.1      := LINKSRC = loadkeys.1
 655 
 656 rmail.1         := LINKSRC = mail.1
 657 
 658 page.1          := LINKSRC = more.1
 659 
 660 snca.1          := LINKSRC = nca.1
 661 
 662 pcat.1          := LINKSRC = pack.1
 663 unpack.1        := LINKSRC = pack.1
 664 
 665 pfcsh.1         := LINKSRC = pfexec.1
 666 pfksh.1         := LINKSRC = pfexec.1
 667 pfsh.1          := LINKSRC = pfexec.1
 668 
 669 pkill.1         := LINKSRC = pgrep.1
 670 
 671 pcred.1         := LINKSRC = proc.1
 672 pfiles.1        := LINKSRC = proc.1
 673 pflags.1        := LINKSRC = proc.1
 674 pldd.1          := LINKSRC = proc.1
 675 prun.1          := LINKSRC = proc.1
 676 psig.1          := LINKSRC = proc.1
 677 pstack.1        := LINKSRC = proc.1
 678 pstop.1         := LINKSRC = proc.1
 679 ptime.1         := LINKSRC = proc.1
 680 pwait.1         := LINKSRC = proc.1
 681 pwdx.1          := LINKSRC = proc.1
 682 
 683 rmdir.1         := LINKSRC = rm.1
 684 
 685 rmumount.1      := LINKSRC = rmmount.1
 686 
 687 remote_shell.1  := LINKSRC = rsh.1
 688 remsh.1         := LINKSRC = rsh.1
 689 
 690 export.1        := LINKSRC = set.1
 691 setenv.1        := LINKSRC = set.1
 692 unset.1         := LINKSRC = set.1
 693 unsetenv.1      := LINKSRC = set.1
 694 
 695 case.1          := LINKSRC = shell_builtins.1
 696 for.1           := LINKSRC = shell_builtins.1
 697 foreach.1       := LINKSRC = shell_builtins.1
 698 function.1      := LINKSRC = shell_builtins.1
 699 if.1            := LINKSRC = shell_builtins.1
 700 repeat.1        := LINKSRC = shell_builtins.1
 701 select.1        := LINKSRC = shell_builtins.1
 702 switch.1        := LINKSRC = shell_builtins.1
 703 until.1         := LINKSRC = shell_builtins.1
 704 while.1         := LINKSRC = shell_builtins.1
 705 
 706 hashcheck.1     := LINKSRC = spell.1
 707 hashmake.1      := LINKSRC = spell.1
 708 spellin.1       := LINKSRC = spell.1
 709 
 710 
 711 strconf.1       := LINKSRC = strchg.1
 712 
 713 settime.1       := LINKSRC = touch.1
 714 
 715 onintr.1        := LINKSRC = trap.1
 716 
 717 false.1         := LINKSRC = true.1
 718 
 719 whence.1        := LINKSRC = typeset.1
 720 
 721 # Links to usr/has/man
 722 
 723 edit.1          := LINKSRC = ../../../has/man/man1has/edit.1has
 724 
 725 vedit.1         := LINKSRC = ../../../has/man/man1has/vi.1has
 726 
 727 .KEEP_STATE:
 728 
 729 include         $(SRC)/man/Makefile.man
 730 
 731 install:        $(ROOTMANFILES) $(ROOTMANLINKS)