summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:02 +0000
commita0067f51183d8b472112a095c7c0d32145ff98b3 (patch)
tree96321fd1bd5ffaea0d4f16723ebb5a9cc4a139e9 /lib/libc/net
parent7dfb23e53684ac495a4cf9a6a5188a1f91d5885a (diff)
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 'lib/libc/net')
-rw-r--r--lib/libc/net/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index 50924ec1354..66f181d4736 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile.inc,v 1.46 2009/11/18 07:43:22 guenther Exp $
+# $OpenBSD: Makefile.inc,v 1.47 2010/02/03 20:49:00 miod Exp $
# net sources
-.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net ${LIBCSRCDIR}/net
+.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net
CFLAGS+=-DRESOLVSORT
@@ -25,7 +25,7 @@ SRCS+= ip6opt.c rthdr.c vars6.c
# m-d Makefile.inc must include sources for:
# htonl() htons() ntohl() ntohs()
-.include "${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net/Makefile.inc"
+.include "${LIBCSRCDIR}/arch/${MACHINE_CPU}/net/Makefile.inc"
MAN+= byteorder.3 ethers.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \
getifaddrs.3 getnameinfo.3 getnetent.3 getprotoent.3 \