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