From 44a740d46dbdb3792d875e44b2e570f98dbd5d75 Mon Sep 17 00:00:00 2001 From: miod <> Date: Wed, 3 Feb 2010 20:49:00 +0000 Subject: 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@ --- src/lib/libc/net/Makefile.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libc/net') 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 @@ -# $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 \ -- cgit v1.2.3-55-g6feb