summaryrefslogtreecommitdiff
path: root/src/lib/libc/net
diff options
context:
space:
mode:
authormiod <>2010-02-03 20:49:00 +0000
committermiod <>2010-02-03 20:49:00 +0000
commit44a740d46dbdb3792d875e44b2e570f98dbd5d75 (patch)
tree34505bc357a186d3e726fcef9a7c5076687821b1 /src/lib/libc/net
parent4657a66d1fec85b57a7f7f8b9f650123db7d66a4 (diff)
downloadopenbsd-44a740d46dbdb3792d875e44b2e570f98dbd5d75.tar.gz
openbsd-44a740d46dbdb3792d875e44b2e570f98dbd5d75.tar.bz2
openbsd-44a740d46dbdb3792d875e44b2e570f98dbd5d75.zip
Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
Diffstat (limited to 'src/lib/libc/net')
-rw-r--r--src/lib/libc/net/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/Makefile.inc b/src/lib/libc/net/Makefile.inc
index 50924ec135..66f181d473 100644
--- a/src/lib/libc/net/Makefile.inc
+++ b/src/lib/libc/net/Makefile.inc
@@ -1,7 +1,7 @@
1# $OpenBSD: Makefile.inc,v 1.46 2009/11/18 07:43:22 guenther Exp $ 1# $OpenBSD: Makefile.inc,v 1.47 2010/02/03 20:49:00 miod Exp $
2 2
3# net sources 3# net sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net ${LIBCSRCDIR}/net 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net
5 5
6CFLAGS+=-DRESOLVSORT 6CFLAGS+=-DRESOLVSORT
7 7
@@ -25,7 +25,7 @@ SRCS+= ip6opt.c rthdr.c vars6.c
25# m-d Makefile.inc must include sources for: 25# m-d Makefile.inc must include sources for:
26# htonl() htons() ntohl() ntohs() 26# htonl() htons() ntohl() ntohs()
27 27
28.include "${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net/Makefile.inc" 28.include "${LIBCSRCDIR}/arch/${MACHINE_CPU}/net/Makefile.inc"
29 29
30MAN+= byteorder.3 ethers.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \ 30MAN+= byteorder.3 ethers.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \
31 getifaddrs.3 getnameinfo.3 getnetent.3 getprotoent.3 \ 31 getifaddrs.3 getnameinfo.3 getnetent.3 getprotoent.3 \