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