1 1.4 mycroft # from: @(#)Makefile.inc 5.3 (Berkeley) 2/21/91 2 1.13 deraadt # $Id: Makefile.inc,v 1.13 1993/12/16 05:17:35 deraadt Exp $ 3 1.1 cgd 4 1.1 cgd # net sources 5 1.8 cgd .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/net ${.CURDIR}/net 6 1.1 cgd 7 1.1 cgd SRCS+= gethostnamadr.c getnetbyaddr.c getnetbyname.c getnetent.c \ 8 1.1 cgd getproto.c getprotoent.c getprotoname.c getservbyname.c \ 9 1.1 cgd getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c \ 10 1.1 cgd inet_makeaddr.c inet_netof.c inet_network.c inet_ntoa.c \ 11 1.3 cgd iso_addr.c ns_addr.c ns_ntoa.c \ 12 1.2 mycroft iso_addr.c linkaddr.c ns_addr.c ns_ntoa.c rcmd.c recv.c res_comp.c \ 13 1.1 cgd res_debug.c res_init.c res_mkquery.c res_query.c res_send.c \ 14 1.13 deraadt send.c sethostent.c ethers.c 15 1.1 cgd 16 1.11 briggs .if (${MACHINE_ARCH} == "m68k") 17 1.8 cgd SRCS+= htonl.S htons.S ntohl.S ntohs.S 18 1.8 cgd .elif (${MACHINE_ARCH} == "i386") 19 1.8 cgd SRCS+= htonl.S htons.S ntohl.S ntohs.S 20 1.10 cgd .elif (${MACHINE_ARCH} == "ns32k") 21 1.9 cgd SRCS+= htonl.S htons.S ntohl.S ntohs.S 22 1.8 cgd .elif (${MACHINE_ARCH} == "tahoe") 23 1.8 cgd SRCS+= htonl.S htons.S ntohl.S ntohs.S 24 1.8 cgd .elif (${MACHINE_ARCH} == "vax") 25 1.12 pk SRCS+= htonl.S htons.S ntohl.S ntohs.S 26 1.12 pk .elif (${MACHINE_ARCH} == "sparc") 27 1.8 cgd SRCS+= htonl.S htons.S ntohl.S ntohs.S 28 1.5 jtc .else 29 1.5 jtc SRCS+= htonl.c htons.c ntohl.c ntohs.c 30 1.1 cgd .endif 31 1.1 cgd 32 1.1 cgd MAN3+= byteorder.0 gethostbyname.0 getnetent.0 getprotoent.0 getservent.0 \ 33 1.1 cgd inet.0 ns.0 rcmd.0 resolver.0 \ 34 1.1 cgd 35 1.1 cgd MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \ 36 1.1 cgd byteorder.3 ntohs.3 37 1.1 cgd MLINKS+=gethostbyname.3 endhostent.3 gethostbyname.3 gethostbyaddr.3 \ 38 1.1 cgd gethostbyname.3 sethostent.3 gethostbyname.3 gethostent.3 \ 39 1.1 cgd gethostbyname.3 herror.3 40 1.1 cgd MLINKS+=getnetent.3 endnetent.3 getnetent.3 getnetbyaddr.3 \ 41 1.1 cgd getnetent.3 getnetbyname.3 getnetent.3 setnetent.3 42 1.1 cgd MLINKS+=getprotoent.3 endprotoent.3 getprotoent.3 getprotobyname.3 \ 43 1.1 cgd getprotoent.3 getprotobynumber.3 getprotoent.3 setprotoent.3 44 1.1 cgd MLINKS+=getservent.3 endservent.3 getservent.3 getservbyname.3 \ 45 1.1 cgd getservent.3 getservbyport.3 getservent.3 setservent.3 46 1.1 cgd MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_lnaof.3 \ 47 1.1 cgd inet.3 inet_makeaddr.3 inet.3 inet_netof.3 inet.3 inet_network.3 \ 48 1.1 cgd inet.3 inet_ntoa.3 inet.3 network.3 inet.3 ntoa.3 49 1.1 cgd MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3 50 1.1 cgd MLINKS+=rcmd.3 rresvport.3 rcmd.3 ruserok.3 51 1.1 cgd MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \ 52 1.1 cgd resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \ 53 1.1 cgd resolver.3 res_search.3 54