2 ProductType = staticlib
7 CFILES = ether_addr.c getifaddrs.c \
8 if_indextoname.c if_nameindex.c if_nametoindex.c \
9 inet_ntop.c inet_pton.c map_v4v6.c ip6opt.c rthdr.c vars.c \
12 MANPAGES = getifaddrs.3 if_indextoname.3 inet6_rthdr_space.3 \
13 gethostbyname.3 inet6_option_space.3 \
14 getprotoent.3 gethostbyname.3 getipnodebyname.3 \
15 getnetent.3 getservent.3 inet6_option_space.3
17 Install_Headers = ifaddrs.h
19 Extra_CC_Flags = -Wall -fno-common -I. \
20 -I../dns.subproj -I../lookup.subproj \
21 -D__DARWIN_NON_CANCELABLE=1 -DINET6=1
24 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
26 $(OBJROOT)/_version.c:
27 /Developer/Makefiles/bin/version.pl Libinfo > $@
30 @for LINK in endhostent.3 gethostbyaddr.3 gethostbyname2.3 \
31 gethostent.3 herror.3 hstrerror.3 sethostent.3 ; do \
32 $(LN) -f "$(DSTROOT)/usr/share/man/man3/gethostbyname.3" \
33 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
35 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getifaddrs.3" \
36 "$(DSTROOT)/usr/share/man/man3/freeifaddrs.3"
37 @for LINK in freehostent.3 getipnodebyaddr.3 ; do \
38 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getipnodebyname.3" \
39 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
41 @for LINK in endnetent.3 getnetbyaddr.3 getnetbyname.3 \
43 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getnetent.3" \
44 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
46 @for LINK in endprotoent.3 getprotobyname.3 getprotobynumber.3 \
48 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getprotoent.3" \
49 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
51 @for LINK in endservent.3 getservbyname.3 getservbyport.3 \
53 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getservent.3" \
54 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
56 @for LINK in if_freenameindex.3 if_nameindex.3 if_nametoindex.3 ; do \
57 $(LN) -f "$(DSTROOT)/usr/share/man/man3/if_indextoname.3" \
58 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
60 @for LINK in inet6_option_alloc.3 inet6_option_append.3 \
61 inet6_option_find.3 inet6_option_init.3 inet6_option_next.3 ; do \
62 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_option_space.3" \
63 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
65 @for LINK in inet6_rthdr_add.3 inet6_rthdr_getaddr.3 \
66 inet6_rthdr_getflags.3 inet6_rthdr_init.3 \
67 inet6_rthdr_lasthop.3 inet6_rthdr_reverse.3 \
68 inet6_rthdr_segments.3 ; do \
69 $(LN) -f "$(DSTROOT)/usr/share/man/man3/inet6_rthdr_space.3" \
70 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \