1 # from @(#)Makefile.inc 8.2 (Berkeley) 9/5/93
2 # $FreeBSD: src/lib/libc/net/Makefile.inc,v 1.43 2001/10/23 06:22:14 imp Exp $
4 # machine-independent net sources
5 .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net
7 SRCS+= inet_addr.c inet_netof.c \
8 inet_lnaof.c inet_network.c linkaddr.c nsap_addr.c \
9 inet_makeaddr.c inet_ntoa.c recv.c
12 CFLAGS+=-DINET6 -I${.OBJDIR}
17 CLEANFILES+=nsparser.c nslexer.c nsparser.h
19 nsparser.h: nsparser.c
22 nslexer.c: nslexer.l nsparser.h
23 ${LEX} ${LFLAGS} -o/dev/stdout ${.IMPSRC} | \
24 sed -e '/YY_BUF_SIZE/s/16384/1024/' >${.TARGET}
26 # machine-dependent net sources
27 .if exists(${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc)
28 .include "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc"
32 MAN3+= addr2ascii.3 byteorder.3 ethers.3 hesiod.3 \
34 nsdispatch.3 rcmdsh.3 resolver.3
35 # not installed: iso_addr.3 ns.3
37 MLINKS+=addr2ascii.3 ascii2addr.3
38 MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \
40 MLINKS+=ethers.3 ether_aton.3 ethers.3 ether_hostton.3 ethers.3 ether_line.3 \
41 ethers.3 ether_ntoa.3 ethers.3 ether_ntohost.3
42 MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \
43 inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \
44 inet.3 inet_network.3 inet.3 inet_ntoa.3 \
45 inet.3 inet_ntop.3 inet.3 inet_pton.3 \
46 inet.3 network.3 inet.3 ntoa.3
47 MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3
48 #MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
49 MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
50 resolver.3 res_mkquery.3 resolver.3 res_query.3 \
51 resolver.3 res_search.3 resolver.3 res_send.3 resolver.3 dn_skipname.3 \
52 resolver.3 ns_get16.3 resolver.3 ns_get32.3 \
53 resolver.3 ns_put16.3 resolver.3 ns_put32.3