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-dependent net sources
5 .sinclude "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc"
7 # machine-independent net sources
8 .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net
11 .include "Makefile.fbsd_begin"
12 FBSDMISRCS= addr2ascii.c ascii2addr.c inet_addr.c inet_lnaof.c \
13 inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \
14 inet_netof.c inet_network.c inet_ntoa.c linkaddr.c nsap_addr.c \
15 recv.c send.c sockatmark.c
16 .include "Makefile.fbsd_end"
18 LEGACYSRCS+= recv.c send.c
19 CANCELABLESRCS+= recv.c send.c
21 # set the LIBC_ALIAS_* macros so we can decorate the symbol independent
22 # of other macro settings
23 CFLAGS-recv-fbsd.c += -DLIBC_ALIAS_RECV
24 CFLAGS-send-fbsd.c += -DLIBC_ALIAS_SEND
27 MAN3+= byteorder.3 ethers.3 rcmdsh.3
28 .include "Makefile.fbsd_begin"
29 FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 sockatmark.3
30 .include "Makefile.fbsd_end"
32 MLINKS+= addr2ascii.3 ascii2addr.3
34 MLINKS+= byteorder.3 htonl.3 \
39 MLINKS+= ethers.3 ether_aton.3 \
40 ethers.3 ether_hostton.3 \
41 ethers.3 ether_line.3 \
42 ethers.3 ether_ntoa.3 \
43 ethers.3 ether_ntohost.3
45 MLINKS+= inet.3 addr.3 \
49 inet.3 inet_makeaddr.3 \
51 inet.3 inet_network.3 \
58 MLINKS+= inet_net.3 inet_net_ntop.3 \
59 inet_net.3 inet_net_pton.3
61 MLINKS+= linkaddr.3 link_addr.3 \
62 linkaddr.3 link_ntoa.3