]>
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 A |
4 | .ifnmake autopatch |
5 | # machine-dependent net sources | |
6 | .if exists(${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc) | |
7 | .include "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc" | |
8 | .endif | |
9 | .endif # !autopatch | |
10 | ||
5b2abdfb A |
11 | # machine-independent net sources |
12 | .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net | |
13 | ||
9385eb3d | 14 | .include "Makefile.fbsd_begin" |
59e0d9fe | 15 | FBSDMISRCS= addr2ascii.c ascii2addr.c inet_addr.c inet_lnaof.c \ |
9385eb3d A |
16 | inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \ |
17 | inet_netof.c inet_network.c inet_ntoa.c linkaddr.c nsap_addr.c \ | |
224c7076 | 18 | recv.c send.c sockatmark.c |
9385eb3d | 19 | .include "Makefile.fbsd_end" |
5b2abdfb | 20 | |
224c7076 A |
21 | LEGACYSRCS+= recv.c send.c |
22 | CANCELABLESRCS+= recv.c send.c | |
3d9156a7 | 23 | |
224c7076 A |
24 | # set the LIBC_ALIAS_* macros so we can decorate the symbol independent |
25 | # of other macro settings | |
26 | CFLAGS-recv-fbsd.c += -DLIBC_ALIAS_RECV | |
27 | CFLAGS-send-fbsd.c += -DLIBC_ALIAS_SEND | |
5b2abdfb A |
28 | |
29 | .if ${LIB} == "c" | |
224c7076 | 30 | MAN3+= byteorder.3 ethers.3 rcmdsh.3 |
9385eb3d | 31 | .include "Makefile.fbsd_begin" |
224c7076 | 32 | FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 sockatmark.3 |
9385eb3d | 33 | .include "Makefile.fbsd_end" |
5b2abdfb | 34 | |
224c7076 A |
35 | MLINKS+= addr2ascii.3 ascii2addr.3 |
36 | ||
37 | MLINKS+= byteorder.3 htonl.3 \ | |
38 | byteorder.3 htons.3 \ | |
39 | byteorder.3 ntohl.3 \ | |
40 | byteorder.3 ntohs.3 | |
41 | ||
42 | MLINKS+= ethers.3 ether_aton.3 \ | |
43 | ethers.3 ether_hostton.3 \ | |
44 | ethers.3 ether_line.3 \ | |
45 | ethers.3 ether_ntoa.3 \ | |
46 | ethers.3 ether_ntohost.3 | |
47 | ||
48 | MLINKS+= inet.3 addr.3 \ | |
49 | inet.3 inet_addr.3 \ | |
50 | inet.3 inet_aton.3 \ | |
51 | inet.3 inet_lnaof.3 \ | |
52 | inet.3 inet_makeaddr.3 \ | |
53 | inet.3 inet_netof.3 \ | |
54 | inet.3 inet_network.3 \ | |
55 | inet.3 inet_ntoa.3 \ | |
56 | inet.3 inet_ntop.3 \ | |
57 | inet.3 inet_pton.3 \ | |
58 | inet.3 network.3 \ | |
59 | inet.3 ntoa.3 | |
60 | ||
61 | MLINKS+= inet_net.3 inet_net_ntop.3 \ | |
62 | inet_net.3 inet_net_pton.3 | |
63 | ||
64 | MLINKS+= linkaddr.3 link_addr.3 \ | |
65 | linkaddr.3 link_ntoa.3 | |
5b2abdfb | 66 | .endif |