NetBSD/sbin/ifconfig/Makefile
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00

22 lines
327 B
Makefile

# $NetBSD: Makefile,v 1.16 2005/01/10 02:58:59 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
.include <bsd.own.mk>
PROG= ifconfig
MAN= ifconfig.8
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
# KAME scope id hack
CPPFLAGS+=-DKAME_SCOPEID
DPADD+=${LIBUTIL}
LDADD+=-lutil
SRCS= ifconfig.c
.include <bsd.prog.mk>