]>
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 | ||
4 | # machine-independent net sources | |
5 | .PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net | |
6 | ||
9385eb3d | 7 | .include "Makefile.fbsd_begin" |
59e0d9fe | 8 | FBSDMISRCS= addr2ascii.c ascii2addr.c inet_addr.c inet_lnaof.c \ |
9385eb3d A |
9 | inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \ |
10 | inet_netof.c inet_network.c inet_ntoa.c linkaddr.c nsap_addr.c \ | |
11 | recv.c send.c | |
12 | .include "Makefile.fbsd_end" | |
5b2abdfb | 13 | |
3d9156a7 A |
14 | UNIX03SRCS+= recv.c send.c |
15 | ||
59e0d9fe | 16 | CFLAGS+= -I${.OBJDIR} |
5b2abdfb | 17 | |
5b2abdfb A |
18 | # machine-dependent net sources |
19 | .if exists(${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc) | |
20 | .include "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc" | |
21 | .endif | |
22 | ||
23 | .if ${LIB} == "c" | |
9385eb3d A |
24 | MAN3+= byteorder.3 ethers.3 hesiod.3 \ |
25 | rcmdsh.3 resolver.3 | |
26 | .include "Makefile.fbsd_begin" | |
27 | FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 | |
28 | .include "Makefile.fbsd_end" | |
5b2abdfb A |
29 | |
30 | MLINKS+=addr2ascii.3 ascii2addr.3 | |
31 | MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \ | |
32 | byteorder.3 ntohs.3 | |
33 | MLINKS+=ethers.3 ether_aton.3 ethers.3 ether_hostton.3 ethers.3 ether_line.3 \ | |
34 | ethers.3 ether_ntoa.3 ethers.3 ether_ntohost.3 | |
35 | MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \ | |
36 | inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \ | |
37 | inet.3 inet_network.3 inet.3 inet_ntoa.3 \ | |
38 | inet.3 inet_ntop.3 inet.3 inet_pton.3 \ | |
39 | inet.3 network.3 inet.3 ntoa.3 | |
40 | MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3 | |
9385eb3d | 41 | MLINKS+=linkaddr.3 link_addr.3 linkaddr.3 link_ntoa.3 |
5b2abdfb A |
42 | MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \ |
43 | resolver.3 res_mkquery.3 resolver.3 res_query.3 \ | |
44 | resolver.3 res_search.3 resolver.3 res_send.3 resolver.3 dn_skipname.3 \ | |
45 | resolver.3 ns_get16.3 resolver.3 ns_get32.3 \ | |
46 | resolver.3 ns_put16.3 resolver.3 ns_put32.3 | |
47 | .endif |