Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils make -DINET6 conditional with MACHINE_ARCH.
details: https://anonhg.NetBSD.org/src/rev/a1a2b6109578
branches: trunk
changeset: 485732:a1a2b6109578
user: itojun <itojun%NetBSD.org@localhost>
date: Thu May 04 03:27:09 2000 +0000
description:
make -DINET6 conditional with MACHINE_ARCH.
checked after a comment from "Simon J. Gerraty" <sjg%quick.com.au@localhost>
diffstat:
distrib/utils/x_ftp/Makefile | 5 ++++-
distrib/utils/x_ifconfig/Makefile | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r a2cc03d0f02d -r a1a2b6109578 distrib/utils/x_ftp/Makefile
--- a/distrib/utils/x_ftp/Makefile Thu May 04 02:24:13 2000 +0000
+++ b/distrib/utils/x_ftp/Makefile Thu May 04 03:27:09 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/06/25 01:07:56 cgd Exp $
+# $NetBSD: Makefile,v 1.7 2000/05/04 03:27:09 itojun Exp $
# Build a smaller ftp (i.e. for boot media)
PROG= ftp
@@ -14,6 +14,9 @@
util.c
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
+CPPFLAGS+= -DINET6
+.endif
all: ${PROG}
diff -r a2cc03d0f02d -r a1a2b6109578 distrib/utils/x_ifconfig/Makefile
--- a/distrib/utils/x_ifconfig/Makefile Thu May 04 02:24:13 2000 +0000
+++ b/distrib/utils/x_ifconfig/Makefile Thu May 04 03:27:09 2000 +0000
@@ -1,11 +1,14 @@
-# $NetBSD: Makefile,v 1.9 2000/01/04 08:33:53 itojun Exp $
+# $NetBSD: Makefile,v 1.10 2000/05/04 03:27:10 itojun Exp $
# Build a smaller ifconfig (i.e. for boot media)
PROG= ifconfig
MKMAN= no
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
-CPPFLAGS+= -DINET6 -DINET_ONLY -I${SRCDIR}
+CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
+CPPFLAGS+= -DINET6
+.endif
all: ${PROG}
Home |
Main Index |
Thread Index |
Old Index