Makefile revision 1.57
1#	$NetBSD: Makefile,v 1.57 2017/02/08 23:14:00 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.inc.
7
8.include <bsd.own.mk>
9
10RUMPPRG=ifconfig
11MAN=	ifconfig.8
12
13#DBG+=-g
14SRCS= af_atalk.c af_link.c carp.c
15.if (${USE_INET6} != "no")
16CPPFLAGS+=	-DINET6
17SRCS+= af_inet6.c
18.endif
19
20.include "Makefile.inc"
21
22.PATH:		${.CURDIR}/../../lib/libc/net
23RUMPSRCS= getifaddrs.c getnameinfo.c if_indextoname.c
24.if (${MKRUMP} != "no")
25CPPFLAGS+= -DRUMP_ACTION
26.endif
27
28.ifdef SMALLPROG
29CPPFLAGS+=-DSMALL
30.endif
31
32CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
33SRCS+= pfsync.c
34
35.include <bsd.prog.mk>
36