NetBSD/sbin/ifconfig/Makefile.common

19 lines
516 B
Makefile

# $NetBSD: Makefile.common,v 1.5 2017/05/02 20:12:27 christos 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 ieee80211.c \
ifconfig.c media.c parse.c tunnel.c util.c vlan.c
.ifndef SMALLPROG
SRCS+= agr.c l2tp.c
.endif