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 Nexenta Systems, Inc.  All rights reserved.
  15 #
  16 
  17 include         $(SRC)/Makefile.master
  18 
  19 MANSECT=        3lib
  20 
  21 MANFILES=       libMPAPI.3lib           \
  22                 libSMHBAAPI.3lib        \
  23                 libadm.3lib             \
  24                 libaio.3lib             \
  25                 libavl.3lib             \
  26                 libbsdmalloc.3lib       \
  27                 libbsm.3lib             \
  28                 libc.3lib               \
  29                 libc_db.3lib            \
  30                 libcfgadm.3lib          \
  31                 libcommputil.3lib       \
  32                 libcontract.3lib        \
  33                 libcpc.3lib             \
  34                 libcrypt.3lib           \
  35                 libcurses.3lib          \
  36                 libdat.3lib             \
  37                 libdevid.3lib           \
  38                 libdevinfo.3lib         \
  39                 libdl.3lib              \
  40                 libdlpi.3lib            \
  41                 libdns_sd.3lib          \
  42                 libdoor.3lib            \
  43                 libdtrace.3lib          \
  44                 libefi.3lib             \
  45                 libelf.3lib             \
  46                 libexacct.3lib          \
  47                 libfcoe.3lib            \
  48                 libform.3lib            \
  49                 libfstyp.3lib           \
  50                 libgen.3lib             \
  51                 libgss.3lib             \
  52                 libintl.3lib            \
  53                 libiscsit.3lib          \
  54                 libkmf.3lib             \
  55                 libkrb5.3lib            \
  56                 libkstat.3lib           \
  57                 libkvm.3lib             \
  58                 libl.3lib               \
  59                 liblgrp.3lib            \
  60                 libmail.3lib            \
  61                 libmalloc.3lib          \
  62                 libmapmalloc.3lib       \
  63                 libmd.3lib              \
  64                 libmd5.3lib             \
  65                 libmenu.3lib            \
  66                 libmp.3lib              \
  67                 libmtmalloc.3lib        \
  68                 libnls.3lib             \
  69                 libnsl.3lib             \
  70                 libnvpair.3lib          \
  71                 libpam.3lib             \
  72                 libpanel.3lib           \
  73                 libpapi.3lib            \
  74                 libpctx.3lib            \
  75                 libpicl.3lib            \
  76                 libpicltree.3lib        \
  77                 libpkcs11.3lib          \
  78                 libpool.3lib            \
  79                 libproc.3lib            \
  80                 libproject.3lib         \
  81                 libpthread.3lib         \
  82                 libresolv.3lib          \
  83                 librpcsvc.3lib          \
  84                 librsm.3lib             \
  85                 librt.3lib              \
  86                 librtld_db.3lib         \
  87                 libsasl.3lib            \
  88                 libscf.3lib             \
  89                 libsctp.3lib            \
  90                 libsec.3lib             \
  91                 libsecdb.3lib           \
  92                 libsendfile.3lib        \
  93                 libsip.3lib             \
  94                 libslp.3lib             \
  95                 libsocket.3lib          \
  96                 libstmf.3lib            \
  97                 libsys.3lib             \
  98                 libsysevent.3lib        \
  99                 libtecla.3lib           \
 100                 libthread.3lib          \
 101                 libtnfctl.3lib          \
 102                 libtsalarm.3lib         \
 103                 libtsnet.3lib           \
 104                 libtsol.3lib            \
 105                 libumem.3lib            \
 106                 libuuid.3lib            \
 107                 libvolmgt.3lib          \
 108                 libw.3lib               \
 109                 libxnet.3lib            \
 110                 liby.3lib
 111 
 112 MANLINKS=       SMHBA_GetAdapterAttributes.3lib                 \
 113                 SMHBA_GetAdapterPortAttributes.3lib             \
 114                 SMHBA_GetBindingCapability.3lib                 \
 115                 SMHBA_GetBindingSupport.3lib                    \
 116                 SMHBA_GetDiscoveredPortAttributes.3lib          \
 117                 SMHBA_GetFCPhyAttributes.3lib                   \
 118                 SMHBA_GetLUNStatistics.3lib                     \
 119                 SMHBA_GetNumberofPorts.3lib                     \
 120                 SMHBA_GetPersistentBinding.3lib                 \
 121                 SMHBA_GetPhyStatistics.3lib                     \
 122                 SMHBA_GetPortAttributesByWWN.3lib               \
 123                 SMHBA_GetPortType.3lib                          \
 124                 SMHBA_GetProtocolStatistics.3lib                \
 125                 SMHBA_GetSASPhyAttributes.3lib                  \
 126                 SMHBA_GetTargetMapping.3lib                     \
 127                 SMHBA_GetVendorLibraryAttributes.3lib           \
 128                 SMHBA_GetVersion.3lib                           \
 129                 SMHBA_GetWrapperLibraryAttributes.3lib          \
 130                 SMHBA_RegisterForAdapterAddEvents.3lib          \
 131                 SMHBA_RegisterForAdapterEvents.3lib             \
 132                 SMHBA_RegisterForAdapterPhyStatEvents.3lib      \
 133                 SMHBA_RegisterForAdapterPortEvents.3lib         \
 134                 SMHBA_RegisterForAdapterPortStatEvents.3lib     \
 135                 SMHBA_RegisterForTargetEvents.3lib              \
 136                 SMHBA_RegisterLibrary.3lib                      \
 137                 SMHBA_RemoveAllPersistentBindings.3lib          \
 138                 SMHBA_RemovePersistentBinding.3lib              \
 139                 SMHBA_ScsiInquiry.3lib                          \
 140                 SMHBA_ScsiReadCapacity.3lib                     \
 141                 SMHBA_ScsiReportLuns.3lib                       \
 142                 SMHBA_SendECHO.3lib                             \
 143                 SMHBA_SendSMPPassThru.3lib                      \
 144                 SMHBA_SendTEST.3lib                             \
 145                 SMHBA_SetBindingSupport.3lib                    \
 146                 SMHBA_SetPersistentBinding.3lib                 \
 147                 libmpapi.3lib                                   \
 148                 libposix4.3lib                                  \
 149                 libsmhbaapi.3lib                                \
 150                 libtermcap.3lib                                 \
 151                 libtermlib.3lib
 152 
 153 libmpapi.3lib                                   := LINKSRC = libMPAPI.3lib
 154 
 155 SMHBA_GetAdapterAttributes.3lib                 := LINKSRC = libSMHBAAPI.3lib
 156 SMHBA_GetAdapterPortAttributes.3lib             := LINKSRC = libSMHBAAPI.3lib
 157 SMHBA_GetBindingCapability.3lib                 := LINKSRC = libSMHBAAPI.3lib
 158 SMHBA_GetBindingSupport.3lib                    := LINKSRC = libSMHBAAPI.3lib
 159 SMHBA_GetDiscoveredPortAttributes.3lib          := LINKSRC = libSMHBAAPI.3lib
 160 SMHBA_GetFCPhyAttributes.3lib                   := LINKSRC = libSMHBAAPI.3lib
 161 SMHBA_GetLUNStatistics.3lib                     := LINKSRC = libSMHBAAPI.3lib
 162 SMHBA_GetNumberofPorts.3lib                     := LINKSRC = libSMHBAAPI.3lib
 163 SMHBA_GetPersistentBinding.3lib                 := LINKSRC = libSMHBAAPI.3lib
 164 SMHBA_GetPhyStatistics.3lib                     := LINKSRC = libSMHBAAPI.3lib
 165 SMHBA_GetPortAttributesByWWN.3lib               := LINKSRC = libSMHBAAPI.3lib
 166 SMHBA_GetPortType.3lib                          := LINKSRC = libSMHBAAPI.3lib
 167 SMHBA_GetProtocolStatistics.3lib                := LINKSRC = libSMHBAAPI.3lib
 168 SMHBA_GetSASPhyAttributes.3lib                  := LINKSRC = libSMHBAAPI.3lib
 169 SMHBA_GetTargetMapping.3lib                     := LINKSRC = libSMHBAAPI.3lib
 170 SMHBA_GetVendorLibraryAttributes.3lib           := LINKSRC = libSMHBAAPI.3lib
 171 SMHBA_GetVersion.3lib                           := LINKSRC = libSMHBAAPI.3lib
 172 SMHBA_GetWrapperLibraryAttributes.3lib          := LINKSRC = libSMHBAAPI.3lib
 173 SMHBA_RegisterForAdapterAddEvents.3lib          := LINKSRC = libSMHBAAPI.3lib
 174 SMHBA_RegisterForAdapterEvents.3lib             := LINKSRC = libSMHBAAPI.3lib
 175 SMHBA_RegisterForAdapterPhyStatEvents.3lib      := LINKSRC = libSMHBAAPI.3lib
 176 SMHBA_RegisterForAdapterPortEvents.3lib         := LINKSRC = libSMHBAAPI.3lib
 177 SMHBA_RegisterForAdapterPortStatEvents.3lib     := LINKSRC = libSMHBAAPI.3lib
 178 SMHBA_RegisterForTargetEvents.3lib              := LINKSRC = libSMHBAAPI.3lib
 179 SMHBA_RegisterLibrary.3lib                      := LINKSRC = libSMHBAAPI.3lib
 180 SMHBA_RemoveAllPersistentBindings.3lib          := LINKSRC = libSMHBAAPI.3lib
 181 SMHBA_RemovePersistentBinding.3lib              := LINKSRC = libSMHBAAPI.3lib
 182 SMHBA_ScsiInquiry.3lib                          := LINKSRC = libSMHBAAPI.3lib
 183 SMHBA_ScsiReadCapacity.3lib                     := LINKSRC = libSMHBAAPI.3lib
 184 SMHBA_ScsiReportLuns.3lib                       := LINKSRC = libSMHBAAPI.3lib
 185 SMHBA_SendECHO.3lib                             := LINKSRC = libSMHBAAPI.3lib
 186 SMHBA_SendSMPPassThru.3lib                      := LINKSRC = libSMHBAAPI.3lib
 187 SMHBA_SendTEST.3lib                             := LINKSRC = libSMHBAAPI.3lib
 188 SMHBA_SetBindingSupport.3lib                    := LINKSRC = libSMHBAAPI.3lib
 189 SMHBA_SetPersistentBinding.3lib                 := LINKSRC = libSMHBAAPI.3lib
 190 libsmhbaapi.3lib                                := LINKSRC = libSMHBAAPI.3lib
 191 
 192 libtermcap.3lib                                 := LINKSRC = libcurses.3lib
 193 libtermlib.3lib                                 := LINKSRC = libcurses.3lib
 194 
 195 libposix4.3lib                                  := LINKSRC = librt.3lib
 196 
 197 .KEEP_STATE:
 198 
 199 include         $(SRC)/man/Makefile.man
 200 
 201 install:        $(ROOTMANFILES) $(ROOTMANLINKS)