1#	$NetBSD: Makefile,v 1.61 2017/10/10 19:30:06 christos Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/5/93
3
4# when making a change to this file, please check if the change is
5# also needed for src/distrib/utils/x_ifconfig.
6# such stuff should be into Makefile.inc.
7
8.include <bsd.own.mk>
9
10RUMPPRG=	ifconfig
11MAN=		ifconfig.8
12
13SRCS=		af_atalk.c af_link.c carp.c
14
15CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/dist/pf/
16SRCS+=		pfsync.c
17
18.if (${USE_INET6} != "no")
19CPPFLAGS+=	-DINET6
20SRCS+=		af_inet6.c
21.endif
22
23.include "Makefile.common"
24
25.if (${MKRUMP} != "no")
26CPPFLAGS+=	-DRUMP_ACTION
27LDADD.rump +=	-lrumpres
28DPADD.rump +=	${LIBRUMPRES}
29.endif
30
31.include <bsd.prog.mk>
32