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