Home | History | Annotate | Line # | Download | only in ifconfig
      1 #	$NetBSD: Makefile,v 1.62 2025/04/04 04:12:22 rin 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.common.
      7 
      8 .include <bsd.own.mk>
      9 
     10 RUMPPRG=	ifconfig
     11 MAN=		ifconfig.8
     12 
     13 SRCS=		af_atalk.c af_link.c carp.c
     14 
     15 CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/dist/pf/
     16 SRCS+=		pfsync.c
     17 
     18 .if (${USE_INET6} != "no")
     19 CPPFLAGS+=	-DINET6
     20 SRCS+=		af_inet6.c
     21 .endif
     22 
     23 .include "Makefile.common"
     24 
     25 .if (${MKRUMP} != "no")
     26 CPPFLAGS+=	-DRUMP_ACTION
     27 LDADD.rump +=	-lrumpres
     28 DPADD.rump +=	${LIBRUMPRES}
     29 .endif
     30 
     31 .include <bsd.prog.mk>
     32