]>
Commit | Line | Data |
---|---|---|
5b2abdfb A |
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 | ||
224c7076 | 4 | # machine-dependent net sources |
b5d655f7 | 5 | .sinclude "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc" |
224c7076 | 6 | |
5b2abdfb A |
7 | # machine-independent net sources |
8 | .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net | |
b5d655f7 | 9 | CWD := ${.CURDIR}/net |
5b2abdfb | 10 | |
9385eb3d | 11 | .include "Makefile.fbsd_begin" |
59e0d9fe | 12 | FBSDMISRCS= addr2ascii.c ascii2addr.c inet_addr.c inet_lnaof.c \ |
9385eb3d A |
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 \ | |
224c7076 | 15 | recv.c send.c sockatmark.c |
9385eb3d | 16 | .include "Makefile.fbsd_end" |
5b2abdfb | 17 | |
224c7076 A |
18 | LEGACYSRCS+= recv.c send.c |
19 | CANCELABLESRCS+= recv.c send.c | |
3d9156a7 | 20 | |
224c7076 A |
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 | |
5b2abdfb A |
25 | |
26 | .if ${LIB} == "c" | |
224c7076 | 27 | MAN3+= byteorder.3 ethers.3 rcmdsh.3 |
9385eb3d | 28 | .include "Makefile.fbsd_begin" |
224c7076 | 29 | FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 sockatmark.3 |
9385eb3d | 30 | .include "Makefile.fbsd_end" |
5b2abdfb | 31 | |
224c7076 A |
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 | |
5b2abdfb | 63 | .endif |