aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2004-11-26 19:01:57 +0000
committerBrooks Davis <brooks@FreeBSD.org>2004-11-26 19:01:57 +0000
commit2d4e39b551b6242cfe4afb1c89b5f325a49e1b1c (patch)
tree4a55d9e69b008d35d74362296251799ccd489d5f /sys/modules
parentb8af5dfa81f1fdca5ed77f8f339a5b522d10e714 (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/if_gif/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 067f8b9c9f3e..8f61b785a32d 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -3,14 +3,21 @@
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
KMOD= if_gif
-SRCS= if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mac.h \
+SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
opt_mrouting.h
+.if !defined(NOINET6)
+SRCS+= in6_gif.c
+.endif
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
opt_inet6.h:
+.if !defined(NOINET6)
echo "#define INET6 1" > ${.TARGET}
+.else
+ echo "" > ${.TARGET}
+.endif
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}