xref: /illumos-gate/usr/src/man/man3xnet/Makefile (revision 689b9301078f0c35c7f198fcee8032a0d30eff3a)
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#
16
17include		$(SRC)/Makefile.master
18
19MANSECT= 	3xnet
20
21MANFILES=	accept.3xnet		\
22	 	bind.3xnet		\
23	 	connect.3xnet		\
24	 	endhostent.3xnet	\
25	 	endnetent.3xnet		\
26	 	endprotoent.3xnet	\
27	 	endservent.3xnet	\
28	 	freeaddrinfo.3xnet	\
29	 	gai_strerror.3xnet	\
30	 	gethostname.3xnet	\
31	 	getnameinfo.3xnet	\
32	 	getpeername.3xnet	\
33	 	getsockname.3xnet	\
34	 	getsockopt.3xnet	\
35	 	htonl.3xnet		\
36	 	if_nametoindex.3xnet	\
37	 	inet_addr.3xnet		\
38	 	inet_ntop.3xnet		\
39	 	listen.3xnet		\
40	 	recv.3xnet		\
41	 	recvfrom.3xnet		\
42	 	recvmsg.3xnet		\
43	 	send.3xnet		\
44	 	sendmsg.3xnet		\
45	 	sendto.3xnet		\
46	 	setsockopt.3xnet	\
47	 	shutdown.3xnet		\
48	 	sockatmark.3xnet	\
49	 	socket.3xnet		\
50	 	socketpair.3xnet
51
52MANLINKS=	getaddrinfo.3xnet	\
53		gethostbyaddr.3xnet	\
54		gethostbyname.3xnet	\
55		gethostent.3xnet	\
56		getnetbyaddr.3xnet	\
57		getnetbyname.3xnet	\
58		getnetent.3xnet		\
59		getprotobyname.3xnet	\
60		getprotobynumber.3xnet	\
61		getprotoent.3xnet	\
62		getservbyname.3xnet	\
63		getservbyport.3xnet	\
64		getservent.3xnet	\
65		htons.3xnet		\
66		if_freenameindex.3xnet	\
67		if_indextoname.3xnet	\
68		if_nameindex.3xnet	\
69		inet_lnaof.3xnet	\
70		inet_makeaddr.3xnet	\
71		inet_netof.3xnet	\
72		inet_network.3xnet	\
73		inet_ntoa.3xnet		\
74		inet_pton.3xnet		\
75		ntohl.3xnet		\
76		ntohs.3xnet		\
77		sethostent.3xnet	\
78		setnetent.3xnet		\
79		setprotoent.3xnet	\
80		setservent.3xnet
81
82getaddrinfo.3xnet	:= LINKSRC = freeaddrinfo.3xnet
83
84gethostbyaddr.3xnet	:= LINKSRC = endhostent.3xnet
85gethostbyname.3xnet	:= LINKSRC = endhostent.3xnet
86gethostent.3xnet	:= LINKSRC = endhostent.3xnet
87
88getnetbyaddr.3xnet	:= LINKSRC = endnetent.3xnet
89getnetbyname.3xnet	:= LINKSRC = endnetent.3xnet
90getnetent.3xnet		:= LINKSRC = endnetent.3xnet
91
92getprotobyname.3xnet	:= LINKSRC = endprotoent.3xnet
93getprotobynumber.3xnet	:= LINKSRC = endprotoent.3xnet
94getprotoent.3xnet	:= LINKSRC = endprotoent.3xnet
95
96getservbyname.3xnet	:= LINKSRC = endservent.3xnet
97getservbyport.3xnet	:= LINKSRC = endservent.3xnet
98getservent.3xnet	:= LINKSRC = endservent.3xnet
99
100htons.3xnet		:= LINKSRC = htonl.3xnet
101
102if_freenameindex.3xnet	:= LINKSRC = if_nametoindex.3xnet
103if_indextoname.3xnet	:= LINKSRC = if_nametoindex.3xnet
104if_nameindex.3xnet	:= LINKSRC = if_nametoindex.3xnet
105
106inet_lnaof.3xnet	:= LINKSRC = inet_addr.3xnet
107inet_makeaddr.3xnet	:= LINKSRC = inet_addr.3xnet
108inet_netof.3xnet	:= LINKSRC = inet_addr.3xnet
109inet_network.3xnet	:= LINKSRC = inet_addr.3xnet
110inet_ntoa.3xnet		:= LINKSRC = inet_addr.3xnet
111
112inet_pton.3xnet		:= LINKSRC = inet_ntop.3xnet
113
114ntohl.3xnet		:= LINKSRC = htonl.3xnet
115ntohs.3xnet		:= LINKSRC = htonl.3xnet
116
117sethostent.3xnet	:= LINKSRC = endhostent.3xnet
118
119setnetent.3xnet		:= LINKSRC = endnetent.3xnet
120
121setprotoent.3xnet	:= LINKSRC = endprotoent.3xnet
122
123setservent.3xnet	:= LINKSRC = endservent.3xnet
124
125.KEEP_STATE:
126
127include		$(SRC)/man/Makefile.man
128
129install:	$(ROOTMANFILES) $(ROOTMANLINKS)
130