summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-12-26 00:01:00 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-12-26 00:01:00 +0000
commite43b65f9516d77b96ce1ab746f26ea3f3b1ad80f (patch)
tree5787456c5e6a58bff8d2f11034f30d58bdc7860b
parent2f88b3d20a46a707970c8f592c3279babff1a74f (diff)
Notes
-rw-r--r--sys/modules/if_gif/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 663c679f46313..3b3a172db7531 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -6,7 +6,11 @@ SYSDIR?=${.CURDIR}/../..
.PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6
KMOD= if_gif
-SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h
+SRCS= if_gif.c opt_inet.h opt_inet6.h
+
+.if ${MK_INET_SUPPORT} != "no"
+SRCS+= in_gif.c
+.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= in6_gif.c