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 2018 Nexenta Systems, Inc.
  15 # Copyright 2013, OmniTI Computer Consulting, Inc.
  16 #
  17 
  18 include         $(SRC)/Makefile.master
  19 
  20 MANSECT=        3socket
  21 
  22 MANFILES=       accept.3socket          \
  23                 bind.3socket            \
  24                 byteorder.3socket       \
  25                 connect.3socket         \
  26                 ethers.3socket          \
  27                 getaddrinfo.3socket     \
  28                 getifaddrs.3socket      \
  29                 getipnodebyname.3socket \
  30                 getnetbyname.3socket    \
  31                 getpeername.3socket     \
  32                 getprotobyname.3socket  \
  33                 getservbyname.3socket   \
  34                 getsockname.3socket     \
  35                 getsockopt.3socket      \
  36                 getsourcefilter.3socket \
  37                 icmp6_filter.3socket    \
  38                 if_nametoindex.3socket  \
  39                 inet6_opt.3socket       \
  40                 inet6_rth.3socket       \
  41                 listen.3socket          \
  42                 rcmd.3socket            \
  43                 recv.3socket            \
  44                 rexec.3socket           \
  45                 sctp_bindx.3socket      \
  46                 sctp_getladdrs.3socket  \
  47                 sctp_getpaddrs.3socket  \
  48                 sctp_opt_info.3socket   \
  49                 sctp_peeloff.3socket    \
  50                 sctp_recvmsg.3socket    \
  51                 sctp_send.3socket       \
  52                 sctp_sendmsg.3socket    \
  53                 send.3socket            \
  54                 sockaddr.3socket        \
  55                 shutdown.3socket        \
  56                 socket.3socket          \
  57                 socketpair.3socket      \
  58                 spray.3socket
  59 
  60 MANLINKS=       accept4.3socket                 \
  61                 endnetent.3socket               \
  62                 endprotoent.3socket             \
  63                 endservent.3socket              \
  64                 ether_aton.3socket              \
  65                 ether_aton_r.3socket            \
  66                 ether_hostton.3socket           \
  67                 ether_line.3socket              \
  68                 ether_ntoa.3socket              \
  69                 ether_ntoa_r.3socket            \
  70                 ether_ntohost.3socket           \
  71                 freeaddrinfo.3socket            \
  72                 freehostent.3socket             \
  73                 freeifaddrs.3socket             \
  74                 gai_strerror.3socket            \
  75                 getipnodebyaddr.3socket         \
  76                 getipv4sourcefilter.3socket     \
  77                 getnameinfo.3socket             \
  78                 getnetbyaddr.3socket            \
  79                 getnetbyaddr_r.3socket          \
  80                 getnetbyname_r.3socket          \
  81                 getnetent.3socket               \
  82                 getnetent_r.3socket             \
  83                 getprotobyname_r.3socket        \
  84                 getprotobynumber.3socket        \
  85                 getprotobynumber_r.3socket      \
  86                 getprotoent.3socket             \
  87                 getprotoent_r.3socket           \
  88                 getservbyname_r.3socket         \
  89                 getservbyport.3socket           \
  90                 getservbyport_r.3socket         \
  91                 getservent.3socket              \
  92                 getservent_r.3socket            \
  93                 htonl.3socket                   \
  94                 htonll.3socket                  \
  95                 htons.3socket                   \
  96                 if_freenameindex.3socket        \
  97                 if_indextoname.3socket          \
  98                 if_nameindex.3socket            \
  99                 inet6_opt_append.3socket        \
 100                 inet6_opt_find.3socket          \
 101                 inet6_opt_finish.3socket        \
 102                 inet6_opt_get_val.3socket       \
 103                 inet6_opt_init.3socket          \
 104                 inet6_opt_next.3socket          \
 105                 inet6_opt_set_val.3socket       \
 106                 inet6_rth_add.3socket           \
 107                 inet6_rth_getaddr.3socket       \
 108                 inet6_rth_init.3socket          \
 109                 inet6_rth_reverse.3socket       \
 110                 inet6_rth_segments.3socket      \
 111                 inet6_rth_space.3socket         \
 112                 ntohl.3socket                   \
 113                 ntohll.3socket                  \
 114                 ntohs.3socket                   \
 115                 rcmd_af.3socket                 \
 116                 recvfrom.3socket                \
 117                 recvmsg.3socket                 \
 118                 rexec_af.3socket                \
 119                 rresvport.3socket               \
 120                 rresvport_af.3socket            \
 121                 ruserok.3socket                 \
 122                 sctp_freeladdrs.3socket         \
 123                 sctp_freepaddrs.3socket         \
 124                 sendmsg.3socket                 \
 125                 sendto.3socket                  \
 126                 setipv4sourcefilter.3socket     \
 127                 setnetent.3socket               \
 128                 setprotoent.3socket             \
 129                 setservent.3socket              \
 130                 setsockopt.3socket              \
 131                 setsourcefilter.3socket         \
 132                 sockaddr_dl.3socket             \
 133                 sockaddr_in.3socket             \
 134                 sockaddr_in6.3socket            \
 135                 sockaddr_ll.3socket             \
 136                 sockaddr_storage.3socket        \
 137                 sockaddr_un.3socket
 138 
 139 accept4.3socket                 := LINKSRC = accept.3socket
 140 
 141 htonl.3socket                   := LINKSRC = byteorder.3socket
 142 htonll.3socket                  := LINKSRC = byteorder.3socket
 143 htons.3socket                   := LINKSRC = byteorder.3socket
 144 ntohl.3socket                   := LINKSRC = byteorder.3socket
 145 ntohll.3socket                  := LINKSRC = byteorder.3socket
 146 ntohs.3socket                   := LINKSRC = byteorder.3socket
 147 
 148 ether_aton.3socket              := LINKSRC = ethers.3socket
 149 ether_aton_r.3socket            := LINKSRC = ethers.3socket
 150 ether_hostton.3socket           := LINKSRC = ethers.3socket
 151 ether_line.3socket              := LINKSRC = ethers.3socket
 152 ether_ntoa.3socket              := LINKSRC = ethers.3socket
 153 ether_ntoa_r.3socket            := LINKSRC = ethers.3socket
 154 ether_ntohost.3socket           := LINKSRC = ethers.3socket
 155 
 156 freeaddrinfo.3socket            := LINKSRC = getaddrinfo.3socket
 157 gai_strerror.3socket            := LINKSRC = getaddrinfo.3socket
 158 getnameinfo.3socket             := LINKSRC = getaddrinfo.3socket
 159 
 160 freeifaddrs.3socket             := LINKSRC = getifaddrs.3socket
 161 
 162 freehostent.3socket             := LINKSRC = getipnodebyname.3socket
 163 getipnodebyaddr.3socket         := LINKSRC = getipnodebyname.3socket
 164 
 165 endnetent.3socket               := LINKSRC = getnetbyname.3socket
 166 getnetbyaddr.3socket            := LINKSRC = getnetbyname.3socket
 167 getnetbyaddr_r.3socket          := LINKSRC = getnetbyname.3socket
 168 getnetbyname_r.3socket          := LINKSRC = getnetbyname.3socket
 169 getnetent.3socket               := LINKSRC = getnetbyname.3socket
 170 getnetent_r.3socket             := LINKSRC = getnetbyname.3socket
 171 setnetent.3socket               := LINKSRC = getnetbyname.3socket
 172 
 173 endprotoent.3socket             := LINKSRC = getprotobyname.3socket
 174 getprotobyname_r.3socket        := LINKSRC = getprotobyname.3socket
 175 getprotobynumber.3socket        := LINKSRC = getprotobyname.3socket
 176 getprotobynumber_r.3socket      := LINKSRC = getprotobyname.3socket
 177 getprotoent.3socket             := LINKSRC = getprotobyname.3socket
 178 getprotoent_r.3socket           := LINKSRC = getprotobyname.3socket
 179 setprotoent.3socket             := LINKSRC = getprotobyname.3socket
 180 
 181 endservent.3socket              := LINKSRC = getservbyname.3socket
 182 getservbyname_r.3socket         := LINKSRC = getservbyname.3socket
 183 getservbyport.3socket           := LINKSRC = getservbyname.3socket
 184 getservbyport_r.3socket         := LINKSRC = getservbyname.3socket
 185 getservent.3socket              := LINKSRC = getservbyname.3socket
 186 getservent_r.3socket            := LINKSRC = getservbyname.3socket
 187 setservent.3socket              := LINKSRC = getservbyname.3socket
 188 
 189 setsockopt.3socket              := LINKSRC = getsockopt.3socket
 190 
 191 getipv4sourcefilter.3socket     := LINKSRC = getsourcefilter.3socket
 192 setipv4sourcefilter.3socket     := LINKSRC = getsourcefilter.3socket
 193 setsourcefilter.3socket         := LINKSRC = getsourcefilter.3socket
 194 
 195 if_freenameindex.3socket        := LINKSRC = if_nametoindex.3socket
 196 if_indextoname.3socket          := LINKSRC = if_nametoindex.3socket
 197 if_nameindex.3socket            := LINKSRC = if_nametoindex.3socket
 198 
 199 inet6_opt_append.3socket        := LINKSRC = inet6_opt.3socket
 200 inet6_opt_find.3socket          := LINKSRC = inet6_opt.3socket
 201 inet6_opt_finish.3socket        := LINKSRC = inet6_opt.3socket
 202 inet6_opt_get_val.3socket       := LINKSRC = inet6_opt.3socket
 203 inet6_opt_init.3socket          := LINKSRC = inet6_opt.3socket
 204 inet6_opt_next.3socket          := LINKSRC = inet6_opt.3socket
 205 inet6_opt_set_val.3socket       := LINKSRC = inet6_opt.3socket
 206 
 207 inet6_rth_add.3socket           := LINKSRC = inet6_rth.3socket
 208 inet6_rth_getaddr.3socket       := LINKSRC = inet6_rth.3socket
 209 inet6_rth_init.3socket          := LINKSRC = inet6_rth.3socket
 210 inet6_rth_reverse.3socket       := LINKSRC = inet6_rth.3socket
 211 inet6_rth_segments.3socket      := LINKSRC = inet6_rth.3socket
 212 inet6_rth_space.3socket         := LINKSRC = inet6_rth.3socket
 213 
 214 rcmd_af.3socket                 := LINKSRC = rcmd.3socket
 215 rresvport.3socket               := LINKSRC = rcmd.3socket
 216 rresvport_af.3socket            := LINKSRC = rcmd.3socket
 217 ruserok.3socket                 := LINKSRC = rcmd.3socket
 218 
 219 recvfrom.3socket                := LINKSRC = recv.3socket
 220 recvmsg.3socket                 := LINKSRC = recv.3socket
 221 
 222 rexec_af.3socket                := LINKSRC = rexec.3socket
 223 
 224 sctp_freeladdrs.3socket         := LINKSRC = sctp_getladdrs.3socket
 225 
 226 sctp_freepaddrs.3socket         := LINKSRC = sctp_getpaddrs.3socket
 227 
 228 sendmsg.3socket                 := LINKSRC = send.3socket
 229 sendto.3socket                  := LINKSRC = send.3socket
 230 
 231 sockaddr_dl.3socket             := LINKSRC = sockaddr.3socket
 232 sockaddr_in.3socket             := LINKSRC = sockaddr.3socket
 233 sockaddr_in6.3socket            := LINKSRC = sockaddr.3socket
 234 sockaddr_ll.3socket             := LINKSRC = sockaddr.3socket
 235 sockaddr_storage.3socket        := LINKSRC = sockaddr.3socket
 236 sockaddr_un.3socket             := LINKSRC = sockaddr.3socket
 237 
 238 .KEEP_STATE:
 239 
 240 include         $(SRC)/man/Makefile.man
 241 
 242 install:        $(ROOTMANFILES) $(ROOTMANLINKS)