]> git.saurik.com Git - apple/libc.git/blob - net/Makefile.inc
Libc-594.9.5.tar.gz
[apple/libc.git] / net / Makefile.inc
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 $
3
4 # machine-dependent net sources
5 .sinclude "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc"
6
7 # machine-independent net sources
8 .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net
9 CWD := ${.CURDIR}/net
10
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"
17
18 LEGACYSRCS+= recv.c send.c
19 CANCELABLESRCS+= recv.c send.c
20
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
25
26 .if ${LIB} == "c"
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"
31
32 MLINKS+= addr2ascii.3 ascii2addr.3
33
34 MLINKS+= byteorder.3 htonl.3 \
35 byteorder.3 htons.3 \
36 byteorder.3 ntohl.3 \
37 byteorder.3 ntohs.3
38
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
44
45 MLINKS+= inet.3 addr.3 \
46 inet.3 inet_addr.3 \
47 inet.3 inet_aton.3 \
48 inet.3 inet_lnaof.3 \
49 inet.3 inet_makeaddr.3 \
50 inet.3 inet_netof.3 \
51 inet.3 inet_network.3 \
52 inet.3 inet_ntoa.3 \
53 inet.3 inet_ntop.3 \
54 inet.3 inet_pton.3 \
55 inet.3 network.3 \
56 inet.3 ntoa.3
57
58 MLINKS+= inet_net.3 inet_net_ntop.3 \
59 inet_net.3 inet_net_pton.3
60
61 MLINKS+= linkaddr.3 link_addr.3 \
62 linkaddr.3 link_ntoa.3
63 .endif