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 2016 Garrett D'Amore <garrett@damore.org>
  15 # Copyright 2016 Joyent, Inc.
  16 # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
  17 # Copyright 2016 Nexenta Systems, Inc.
  18 #
  19 
  20 include         $(SRC)/Makefile.master
  21 
  22 MANSECT=        7d
  23 
  24 _MANFILES=      aac.7d          \
  25                 afe.7d          \
  26                 audio.7d        \
  27                 audio1575.7d    \
  28                 audioens.7d     \
  29                 audiols.7d      \
  30                 audiop16x.7d    \
  31                 audiopci.7d     \
  32                 audiots.7d      \
  33                 av1394.7d       \
  34                 bge.7d          \
  35                 blkdev.7d       \
  36                 bnxe.7d         \
  37                 bscv.7d         \
  38                 chxge.7d        \
  39                 console.7d      \
  40                 cpuid.7d        \
  41                 dca.7d          \
  42                 dcam1394.7d     \
  43                 devinfo.7d      \
  44                 dmfe.7d         \
  45                 dtrace.7d       \
  46                 ehci.7d         \
  47                 fasttrap.7d     \
  48                 fbt.7d          \
  49                 fcip.7d         \
  50                 fcoe.7d         \
  51                 fcoei.7d        \
  52                 fcoet.7d        \
  53                 fcp.7d          \
  54                 fctl.7d         \
  55                 fd.7d           \
  56                 fp.7d           \
  57                 gld.7d          \
  58                 hci1394.7d      \
  59                 hermon.7d       \
  60                 hid.7d          \
  61                 hme.7d          \
  62                 hubd.7d         \
  63                 hxge.7d         \
  64                 ib.7d           \
  65                 ibcm.7d         \
  66                 ibd.7d          \
  67                 ibdm.7d         \
  68                 ibdma.7d        \
  69                 ibtl.7d         \
  70                 ieee1394.7d     \
  71                 igb.7d          \
  72                 ii.7d           \
  73                 ipnet.7d        \
  74                 iscsi.7d        \
  75                 iser.7d         \
  76                 ixgbe.7d        \
  77                 kmdb.7d         \
  78                 kstat.7d        \
  79                 ksyms.7d        \
  80                 llc1.7d         \
  81                 lockstat.7d     \
  82                 lofi.7d         \
  83                 log.7d          \
  84                 mem.7d          \
  85                 mpt_sas.7d      \
  86                 mr_sas.7d       \
  87                 msglog.7d       \
  88                 mt.7d           \
  89                 mxfe.7d         \
  90                 myri10ge.7d     \
  91                 null.7d         \
  92                 nulldriver.7d   \
  93                 nxge.7d         \
  94                 ohci.7d         \
  95                 openprom.7d     \
  96                 pcic.7d         \
  97                 pcmcia.7d       \
  98                 physmem.7d      \
  99                 pm.7d           \
 100                 poll.7d         \
 101                 profile.7d      \
 102                 ptm.7d          \
 103                 pts.7d          \
 104                 pty.7d          \
 105                 qlc.7d          \
 106                 ramdisk.7d      \
 107                 random.7d       \
 108                 rge.7d          \
 109                 rtls.7d         \
 110                 sad.7d          \
 111                 sata.7d         \
 112                 scsa1394.7d     \
 113                 scsa2usb.7d     \
 114                 sd.7d           \
 115                 sdp.7d          \
 116                 sdt.7d          \
 117                 ses.7d          \
 118                 sfe.7d          \
 119                 sgen.7d         \
 120                 srpt.7d         \
 121                 st.7d           \
 122                 sv.7d           \
 123                 sysmsg.7d       \
 124                 systrace.7d     \
 125                 ticlts.7d       \
 126                 tty.7d          \
 127                 ttymux.7d       \
 128                 tzmon.7d        \
 129                 ugen.7d         \
 130                 uhci.7d         \
 131                 usb_ac.7d       \
 132                 usb_as.7d       \
 133                 usb_ia.7d       \
 134                 usb_mid.7d      \
 135                 usba.7d         \
 136                 usbftdi.7d      \
 137                 usbprn.7d       \
 138                 usbsacm.7d      \
 139                 usbsksp.7d      \
 140                 usbsprl.7d      \
 141                 usbvc.7d        \
 142                 virtualkm.7d    \
 143                 vni.7d          \
 144                 vr.7d           \
 145                 wscons.7d       \
 146                 xge.7d          \
 147                 yge.7d          \
 148                 zcons.7d        \
 149                 zero.7d
 150 
 151 sparc_MANFILES= audiocs.7d      \
 152                 bbc_beep.7d     \
 153                 ctsmc.7d        \
 154                 cvc.7d          \
 155                 cvcredir.7d     \
 156                 dad.7d          \
 157                 dm2s.7d         \
 158                 dr.7d           \
 159                 eri.7d          \
 160                 fas.7d          \
 161                 gpio_87317.7d   \
 162                 grbeep.7d       \
 163                 idn.7d          \
 164                 mc-opl.7d       \
 165                 n2rng.7d        \
 166                 ncp.7d          \
 167                 ntwdt.7d        \
 168                 oplkmdrv.7d     \
 169                 oplmsu.7d       \
 170                 oplpanel.7d     \
 171                 pcicmu.7d       \
 172                 pcipsy.7d       \
 173                 pcisch.7d       \
 174                 schpc.7d        \
 175                 sf.7d           \
 176                 smbus.7d        \
 177                 socal.7d        \
 178                 ssd.7d          \
 179                 su.7d           \
 180                 todopl.7d       \
 181                 tsalarm.7d      \
 182                 zs.7d           \
 183                 zsh.7d
 184 
 185 i386_MANFILES=  ahci.7d         \
 186                 amd8111s.7d     \
 187                 amr.7d          \
 188                 arcmsr.7d       \
 189                 arn.7d          \
 190                 asy.7d          \
 191                 ata.7d          \
 192                 atge.7d         \
 193                 ath.7d          \
 194                 atu.7d          \
 195                 audio810.7d     \
 196                 audiocmi.7d     \
 197                 audiocmihd.7d   \
 198                 audioemu10k.7d  \
 199                 audiohd.7d      \
 200                 audioixp.7d     \
 201                 audiosolo.7d    \
 202                 audiovia823x.7d \
 203                 audiovia97.7d   \
 204                 bcm_sata.7d     \
 205                 bfe.7d          \
 206                 cmdk.7d         \
 207                 cpqary3.7d      \
 208                 dnet.7d         \
 209                 ecpp.7d         \
 210                 elxl.7d         \
 211                 heci.7d         \
 212                 i40e.7d         \
 213                 i915.7d         \
 214                 ipmi.7d         \
 215                 iprb.7d         \
 216                 ipw.7d          \
 217                 iwh.7d          \
 218                 iwi.7d          \
 219                 iwn.7d          \
 220                 mega_sas.7d     \
 221                 npe.7d          \
 222                 ntxn.7d         \
 223                 nv_sata.7d      \
 224                 nvme.7d         \
 225                 pcn.7d          \
 226                 radeon.7d       \
 227                 ral.7d          \
 228                 rtw.7d          \
 229                 rum.7d          \
 230                 rwd.7d          \
 231                 rwn.7d          \
 232                 sda.7d          \
 233                 sdhost.7d       \
 234                 sfxge.7d        \
 235                 si3124.7d       \
 236                 skd.7d          \
 237                 smbios.7d       \
 238                 uath.7d         \
 239                 ural.7d         \
 240                 urtw.7d         \
 241                 wpi.7d          \
 242                 zyd.7d
 243 
 244 _MANLINKS=      1394.7d         \
 245                 allkmem.7d      \
 246                 bscbus.7d       \
 247                 fdc.7d          \
 248                 firewire.7d     \
 249                 i2bsc.7d        \
 250                 kmem.7d         \
 251                 lo0.7d          \
 252                 ticots.7d       \
 253                 ticotsord.7d    \
 254                 urandom.7d      \
 255                 usb.7d
 256 
 257 sparc_MANLINKS= drmach.7d       \
 258                 ngdr.7d         \
 259                 ngdrmach.7d
 260 
 261 MANFILES =      $(_MANFILES) $($(MACH)_MANFILES)
 262 MANLINKS =      $(_MANLINKS) $($(MACH)_MANLINKS)
 263 
 264 bscbus.7d       := LINKSRC = bscv.7d
 265 i2bsc.7d        := LINKSRC = bscv.7d
 266 
 267 drmach.7d       := LINKSRC = dr.7d
 268 ngdr.7d         := LINKSRC = dr.7d
 269 ngdrmach.7d     := LINKSRC = dr.7d
 270 
 271 fdc.7d          := LINKSRC = fd.7d
 272 
 273 1394.7d         := LINKSRC = ieee1394.7d
 274 firewire.7d     := LINKSRC = ieee1394.7d
 275 
 276 lo0.7d          := LINKSRC = ipnet.7d
 277 
 278 allkmem.7d      := LINKSRC = mem.7d
 279 kmem.7d         := LINKSRC = mem.7d
 280 
 281 urandom.7d      := LINKSRC = random.7d
 282 
 283 ticots.7d       := LINKSRC = ticlts.7d
 284 ticotsord.7d    := LINKSRC = ticlts.7d
 285 
 286 usb.7d          := LINKSRC = usba.7d
 287 
 288 .KEEP_STATE:
 289 
 290 include         $(SRC)/man/Makefile.man
 291 
 292 install:        $(ROOTMANFILES) $(ROOTMANLINKS)