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