Module Name: src
Committed By: christos
Date: Tue May 2 20:12:27 UTC 2017
Modified Files:
src/sbin/ifconfig: Makefile.common
Log Message:
We don't need agr or l2tp when we are small.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/ifconfig/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/ifconfig/Makefile.common
diff -u src/sbin/ifconfig/Makefile.common:1.4 src/sbin/ifconfig/Makefile.common:1.5
--- src/sbin/ifconfig/Makefile.common:1.4 Thu Feb 16 03:28:03 2017
+++ src/sbin/ifconfig/Makefile.common Tue May 2 16:12:27 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2017/02/16 08:28:03 knakahara Exp $
+# $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.
@@ -11,5 +11,8 @@ 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 agr.c env.c ether.c ieee80211.c \
- ifconfig.c l2tp.c media.c parse.c tunnel.c util.c vlan.c
+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