From f76f47a0dfd9c9a6df4b1dafdf2bc4a863ea7c1f Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 20 Mar 2005 02:44:25 +0000 Subject: [PATCH] Don't build af_inet6.c if USE_INET6 is no. --- sbin/ifconfig/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index aab85cd4b0bd..bd4096c4bfcc 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2005/03/20 02:43:50 thorpej Exp $ +# $NetBSD: Makefile,v 1.27 2005/03/20 02:44:25 thorpej Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 .include @@ -23,7 +23,9 @@ SRCS= ifconfig.c SRCS+= af_atalk.c SRCS+= af_inet.c +.if (${USE_INET6} != "no") SRCS+= af_inet6.c +.endif SRCS+= af_iso.c SRCS+= af_ns.c