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