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=       byteorder.3socket       \
  23                 ethers.3socket          \
  24                 getaddrinfo.3socket     \
  25                 getifaddrs.3socket      \
  26                 getipnodebyname.3socket \
  27                 getnetbyname.3socket    \
  28                 getprotobyname.3socket  \
  29                 getservbyname.3socket   \
  30                 getsourcefilter.3socket \
  31                 icmp6_filter.3socket    \
  32                 if_nametoindex.3socket  \
  33                 inet6_opt.3socket       \
  34                 inet6_rth.3socket       \
  35                 rcmd.3socket            \
  36                 rexec.3socket           \
  37                 sctp_bindx.3socket      \
  38                 sctp_getladdrs.3socket  \
  39                 sctp_getpaddrs.3socket  \
  40                 sctp_opt_info.3socket   \
  41                 sctp_peeloff.3socket    \
  42                 sctp_recvmsg.3socket    \
  43                 sctp_send.3socket       \
  44                 sctp_sendmsg.3socket    \
  45                 spray.3socket
  46 
  47 MANLINKS=       endnetent.3socket               \
  48                 endprotoent.3socket             \
  49                 endservent.3socket              \
  50                 ether_aton.3socket              \
  51                 ether_aton_r.3socket            \
  52                 ether_hostton.3socket           \
  53                 ether_line.3socket              \
  54                 ether_ntoa.3socket              \
  55                 ether_ntoa_r.3socket            \
  56                 ether_ntohost.3socket           \
  57                 freeaddrinfo.3socket            \
  58                 freehostent.3socket             \
  59                 freeifaddrs.3socket             \
  60                 gai_strerror.3socket            \
  61                 getipnodebyaddr.3socket         \
  62                 getipv4sourcefilter.3socket     \
  63                 getnameinfo.3socket             \
  64                 getnetbyaddr.3socket            \
  65                 getnetbyaddr_r.3socket          \
  66                 getnetbyname_r.3socket          \
  67                 getnetent.3socket               \
  68                 getnetent_r.3socket             \
  69                 getprotobyname_r.3socket        \
  70                 getprotobynumber.3socket        \
  71                 getprotobynumber_r.3socket      \
  72                 getprotoent.3socket             \
  73                 getprotoent_r.3socket           \
  74                 getservbyname_r.3socket         \
  75                 getservbyport.3socket           \
  76                 getservbyport_r.3socket         \
  77                 getservent.3socket              \
  78                 getservent_r.3socket            \
  79                 htonl.3socket                   \
  80                 htonll.3socket                  \
  81                 htons.3socket                   \
  82                 if_freenameindex.3socket        \
  83                 if_indextoname.3socket          \
  84                 if_nameindex.3socket            \
  85                 inet6_opt_append.3socket        \
  86                 inet6_opt_find.3socket          \
  87                 inet6_opt_finish.3socket        \
  88                 inet6_opt_get_val.3socket       \
  89                 inet6_opt_init.3socket          \
  90                 inet6_opt_next.3socket          \
  91                 inet6_opt_set_val.3socket       \
  92                 inet6_rth_add.3socket           \
  93                 inet6_rth_getaddr.3socket       \
  94                 inet6_rth_init.3socket          \
  95                 inet6_rth_reverse.3socket       \
  96                 inet6_rth_segments.3socket      \
  97                 inet6_rth_space.3socket         \
  98                 ntohl.3socket                   \
  99                 ntohll.3socket                  \
 100                 ntohs.3socket                   \
 101                 rcmd_af.3socket                 \
 102                 rexec_af.3socket                \
 103                 rresvport.3socket               \
 104                 rresvport_af.3socket            \
 105                 ruserok.3socket                 \
 106                 sctp_freeladdrs.3socket         \
 107                 sctp_freepaddrs.3socket         \
 108                 setipv4sourcefilter.3socket     \
 109                 setnetent.3socket               \
 110                 setprotoent.3socket             \
 111                 setservent.3socket              \
 112                 setsourcefilter.3socket
 113 
 114 htonl.3socket                   := LINKSRC = byteorder.3socket
 115 htonll.3socket                  := LINKSRC = byteorder.3socket
 116 htons.3socket                   := LINKSRC = byteorder.3socket
 117 ntohl.3socket                   := LINKSRC = byteorder.3socket
 118 ntohll.3socket                  := LINKSRC = byteorder.3socket
 119 ntohs.3socket                   := LINKSRC = byteorder.3socket
 120 
 121 ether_aton.3socket              := LINKSRC = ethers.3socket
 122 ether_aton_r.3socket            := LINKSRC = ethers.3socket
 123 ether_hostton.3socket           := LINKSRC = ethers.3socket
 124 ether_line.3socket              := LINKSRC = ethers.3socket
 125 ether_ntoa.3socket              := LINKSRC = ethers.3socket
 126 ether_ntoa_r.3socket            := LINKSRC = ethers.3socket
 127 ether_ntohost.3socket           := LINKSRC = ethers.3socket
 128 
 129 freeaddrinfo.3socket            := LINKSRC = getaddrinfo.3socket
 130 gai_strerror.3socket            := LINKSRC = getaddrinfo.3socket
 131 getnameinfo.3socket             := LINKSRC = getaddrinfo.3socket
 132 
 133 freeifaddrs.3socket             := LINKSRC = getifaddrs.3socket
 134 
 135 freehostent.3socket             := LINKSRC = getipnodebyname.3socket
 136 getipnodebyaddr.3socket         := LINKSRC = getipnodebyname.3socket
 137 
 138 endnetent.3socket               := LINKSRC = getnetbyname.3socket
 139 getnetbyaddr.3socket            := LINKSRC = getnetbyname.3socket
 140 getnetbyaddr_r.3socket          := LINKSRC = getnetbyname.3socket
 141 getnetbyname_r.3socket          := LINKSRC = getnetbyname.3socket
 142 getnetent.3socket               := LINKSRC = getnetbyname.3socket
 143 getnetent_r.3socket             := LINKSRC = getnetbyname.3socket
 144 setnetent.3socket               := LINKSRC = getnetbyname.3socket
 145 
 146 endprotoent.3socket             := LINKSRC = getprotobyname.3socket
 147 getprotobyname_r.3socket        := LINKSRC = getprotobyname.3socket
 148 getprotobynumber.3socket        := LINKSRC = getprotobyname.3socket
 149 getprotobynumber_r.3socket      := LINKSRC = getprotobyname.3socket
 150 getprotoent.3socket             := LINKSRC = getprotobyname.3socket
 151 getprotoent_r.3socket           := LINKSRC = getprotobyname.3socket
 152 setprotoent.3socket             := LINKSRC = getprotobyname.3socket
 153 
 154 endservent.3socket              := LINKSRC = getservbyname.3socket
 155 getservbyname_r.3socket         := LINKSRC = getservbyname.3socket
 156 getservbyport.3socket           := LINKSRC = getservbyname.3socket
 157 getservbyport_r.3socket         := LINKSRC = getservbyname.3socket
 158 getservent.3socket              := LINKSRC = getservbyname.3socket
 159 getservent_r.3socket            := LINKSRC = getservbyname.3socket
 160 setservent.3socket              := LINKSRC = getservbyname.3socket
 161 
 162 getipv4sourcefilter.3socket     := LINKSRC = getsourcefilter.3socket
 163 setipv4sourcefilter.3socket     := LINKSRC = getsourcefilter.3socket
 164 setsourcefilter.3socket         := LINKSRC = getsourcefilter.3socket
 165 
 166 if_freenameindex.3socket        := LINKSRC = if_nametoindex.3socket
 167 if_indextoname.3socket          := LINKSRC = if_nametoindex.3socket
 168 if_nameindex.3socket            := LINKSRC = if_nametoindex.3socket
 169 
 170 inet6_opt_append.3socket        := LINKSRC = inet6_opt.3socket
 171 inet6_opt_find.3socket          := LINKSRC = inet6_opt.3socket
 172 inet6_opt_finish.3socket        := LINKSRC = inet6_opt.3socket
 173 inet6_opt_get_val.3socket       := LINKSRC = inet6_opt.3socket
 174 inet6_opt_init.3socket          := LINKSRC = inet6_opt.3socket
 175 inet6_opt_next.3socket          := LINKSRC = inet6_opt.3socket
 176 inet6_opt_set_val.3socket       := LINKSRC = inet6_opt.3socket
 177 
 178 inet6_rth_add.3socket           := LINKSRC = inet6_rth.3socket
 179 inet6_rth_getaddr.3socket       := LINKSRC = inet6_rth.3socket
 180 inet6_rth_init.3socket          := LINKSRC = inet6_rth.3socket
 181 inet6_rth_reverse.3socket       := LINKSRC = inet6_rth.3socket
 182 inet6_rth_segments.3socket      := LINKSRC = inet6_rth.3socket
 183 inet6_rth_space.3socket         := LINKSRC = inet6_rth.3socket
 184 
 185 rcmd_af.3socket                 := LINKSRC = rcmd.3socket
 186 rresvport.3socket               := LINKSRC = rcmd.3socket
 187 rresvport_af.3socket            := LINKSRC = rcmd.3socket
 188 ruserok.3socket                 := LINKSRC = rcmd.3socket
 189 
 190 rexec_af.3socket                := LINKSRC = rexec.3socket
 191 
 192 sctp_freeladdrs.3socket         := LINKSRC = sctp_getladdrs.3socket
 193 
 194 sctp_freepaddrs.3socket         := LINKSRC = sctp_getpaddrs.3socket
 195 
 196 .KEEP_STATE:
 197 
 198 include         $(SRC)/man/Makefile.man
 199 
 200 install:        $(ROOTMANFILES) $(ROOTMANLINKS)