Makefile.inc revision 121472
174462Salfred# from @(#)Makefile.inc 8.2 (Berkeley) 9/5/93 274462Salfred# $FreeBSD: head/lib/libc/net/Makefile.inc 121472 2003-10-24 18:26:30Z ume $ 31839Swollman 41839Swollman# machine-independent net sources 51839Swollman.PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net 61839Swollman 71839SwollmanSRCS+= addr2ascii.c ascii2addr.c base64.c ether_addr.c getaddrinfo.c \ 81839Swollman gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c \ 91839Swollman getifaddrs.c getnameinfo.c \ 108858Srgrimes getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c \ 111839Swollman getproto.c getprotoent.c getprotoname.c getservbyname.c \ 1213771Smpp getservbyport.c getservent.c herror.c hesiod.c inet_addr.c \ 131839Swollman if_indextoname.c if_nameindex.c if_nametoindex.c inet_lnaof.c \ 148858Srgrimes inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \ 151839Swollman inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c \ 161839Swollman inet_pton.c ip6opt.c linkaddr.c map_v4v6.c name6.c \ 171839Swollman ns_name.c ns_netint.c ns_parse.c ns_print.c ns_ttl.c \ 188858Srgrimes nsdispatch.c nslexer.c nsparser.c nss_compat.c \ 191839Swollman nsap_addr.c rcmd.c rcmdsh.c recv.c res_comp.c res_data.c res_debug.c \ 201839Swollman res_init.c res_mkquery.c res_mkupdate.c res_query.c res_send.c \ 211839Swollman res_update.c rthdr.c send.c sockatmark.c vars.c 228858Srgrimes 231839SwollmanCFLAGS+=-DINET6 -I${.OBJDIR} 241839Swollman 251839SwollmanYFLAGS+=-p_nsyy 268858SrgrimesLFLAGS+=-P_nsyy 271839Swollman 281839SwollmanCLEANFILES+=nsparser.c nslexer.c nsparser.h 291839Swollman 301903Swollmannsparser.h: nsparser.c 3174462Salfred mv y.tab.h ${.TARGET} 321903Swollman 3350473Speternslexer.c: nslexer.l nsparser.h 341839Swollman ${LEX} ${LFLAGS} -o/dev/stdout ${.IMPSRC} | \ 351839Swollman sed -e '/YY_BUF_SIZE/s/16384/1024/' >${.TARGET} 361839Swollman 371839Swollman# machine-dependent net sources 381839Swollman.if exists(${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc) 391839Swollman.include "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc" 401839Swollman.endif 411839Swollman 421903SwollmanMAN+= addr2ascii.3 byteorder.3 ethers.3 getaddrinfo.3 gethostbyname.3 \ 431903Swollman getifaddrs.3 getipnodebyname.3 \ 4474462Salfred getnameinfo.3 getnetent.3 getprotoent.3 getservent.3 hesiod.3 \ 451903Swollman if_indextoname.3 \ 4674462Salfred inet.3 inet_net.3 \ 4726211Swpaul inet6_opt_init.3 inet6_option_space.3 inet6_rth_space.3 \ 481839Swollman inet6_rthdr_space.3 linkaddr.3 \ 491839Swollman nsdispatch.3 rcmd.3 rcmdsh.3 resolver.3 sockatmark.3 5074462Salfred 511839SwollmanMLINKS+=addr2ascii.3 ascii2addr.3 5274462SalfredMLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \ 531839Swollman byteorder.3 ntohs.3 5474462SalfredMLINKS+=ethers.3 ether_aton.3 ethers.3 ether_hostton.3 ethers.3 ether_line.3 \ 5574462Salfred ethers.3 ether_ntoa.3 ethers.3 ether_ntohost.3 5674462SalfredMLINKS+=getaddrinfo.3 freeaddrinfo.3 getaddrinfo.3 gai_strerror.3 5774462SalfredMLINKS+=gethostbyname.3 endhostent.3 gethostbyname.3 gethostbyaddr.3 \ 5874462Salfred gethostbyname.3 gethostbyname2.3 gethostbyname.3 gethostent.3 \ 5974462Salfred gethostbyname.3 herror.3 gethostbyname.3 hstrerror.3 \ 6074462Salfred gethostbyname.3 sethostent.3 6174462SalfredMLINKS+=getifaddrs.3 freeifaddrs.3 6274462SalfredMLINKS+=getipnodebyname.3 getipnodebyaddr.3 getipnodebyname.3 freehostent.3 6374462SalfredMLINKS+=getnetent.3 endnetent.3 getnetent.3 getnetbyaddr.3 \ 6474462Salfred getnetent.3 getnetbyname.3 getnetent.3 setnetent.3 6574462SalfredMLINKS+=getprotoent.3 endprotoent.3 getprotoent.3 getprotobyname.3 \ 661839Swollman getprotoent.3 getprotobynumber.3 getprotoent.3 setprotoent.3 671839SwollmanMLINKS+=getservent.3 endservent.3 getservent.3 getservbyname.3 \ 681839Swollman getservent.3 getservbyport.3 getservent.3 setservent.3 691839SwollmanMLINKS+=if_indextoname.3 if_nametoindex.3 if_indextoname.3 if_nameindex.3 \ 701839Swollman if_indextoname.3 if_freenameindex.3 711839SwollmanMLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \ 721839Swollman inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \ 7313771Smpp inet.3 inet_network.3 inet.3 inet_ntoa.3 \ 741839Swollman inet.3 inet_ntop.3 inet.3 inet_pton.3 \ 751839Swollman inet.3 network.3 inet.3 ntoa.3 7674462SalfredMLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3 7774462SalfredMLINKS+=inet6_opt_init.3 inet6_opt_append.3 \ 781839Swollman inet6_opt_init.3 inet6_opt_find.3 \ 791839Swollman inet6_opt_init.3 inet6_opt_finish.3 \ 8021059Speter inet6_opt_init.3 inet6_opt_get_val.3 \ 8121059Speter inet6_opt_init.3 inet6_opt_next.3 \ 821839Swollman inet6_opt_init.3 inet6_opt_set_val.3 \ 831839Swollman inet6_option_space.3 inet6_option_alloc.3 \ 841839Swollman inet6_option_space.3 inet6_option_append.3 \ 851839Swollman inet6_option_space.3 inet6_option_find.3 \ 861839Swollman inet6_option_space.3 inet6_option_init.3 \ 871839Swollman inet6_option_space.3 inet6_option_next.3 \ 881839Swollman inet6_rth_space.3 inet6_rth_add.3 \ 891839Swollman inet6_rth_space.3 inet6_rth_getaddr.3 \ 901839Swollman inet6_rth_space.3 inet6_rth_init.3 \ 911839Swollman inet6_rth_space.3 inet6_rth_reverse.3 \ 921839Swollman inet6_rth_space.3 inet6_rth_segments.3 \ 9374462Salfred inet6_rthdr_space.3 inet6_rthdr_add.3 \ 941839Swollman inet6_rthdr_space.3 inet6_rthdr_getaddr.3 \ 951839Swollman inet6_rthdr_space.3 inet6_rthdr_getflags.3 \ 9621059Speter inet6_rthdr_space.3 inet6_rthdr_init.3 \ 971839Swollman inet6_rthdr_space.3 inet6_rthdr_lasthop.3 \ 981839Swollman inet6_rthdr_space.3 inet6_rthdr_reverse.3 \ 9921059Speter inet6_rthdr_space.3 inet6_rthdr_segments.3 10021059SpeterMLINKS+=linkaddr.3 link_addr.3 linkaddr.3 link_ntoa.3 10174462SalfredMLINKS+=rcmd.3 iruserok.3 rcmd.3 iruserok_sa.3 \ 10221059Speter rcmd.3 rcmd_af.3 \ 10321059Speter rcmd.3 rresvport.3 rcmd.3 rresvport_af.3 \ 10421059Speter rcmd.3 ruserok.3 10521059SpeterMLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \ 10621059Speter resolver.3 res_mkquery.3 resolver.3 res_query.3 \ 10721059Speter resolver.3 res_search.3 resolver.3 res_send.3 resolver.3 dn_skipname.3 \ 10821059Speter resolver.3 ns_get16.3 resolver.3 ns_get32.3 \ 10921059Speter resolver.3 ns_put16.3 resolver.3 ns_put32.3 11021059Speter