summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/Makefile.common
blob: 4e5580ee4553e934508a8389ec4225a7418b0ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$NetBSD: Makefile.common,v 1.7 2021/05/17 04:07:42 yamaguchi Exp $

# shared stuff with src/distrib/utils/x_ifconfig for install media.
# stuff not required by install media should be into Makefile.

.ifdef SMALLPROG
CPPFLAGS+=	-DSMALL
.endif

DPADD+=		${LIBUTIL} ${LIBPROP}
LDADD+=		-lutil -lprop

INCS+=		af_inetany.h env.h extern.h media.h parse.h util.h
SRCS+=		af_inet.c af_inetany.c env.c ether.c \
		ifconfig.c media.c parse.c tunnel.c util.c vlan.c
.ifndef	NOIEEE80211
SRCS+=		ieee80211.c
.endif
.ifndef SMALLPROG
SRCS+=		agr.c l2tp.c lagg.c
.endif