freebsd-dev/sys/modules/if_gif/Makefile

24 lines
439 B
Makefile
Raw Normal View History

# $FreeBSD$
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
KMOD= if_gif
SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
2002-08-12 15:27:17 +00:00
opt_mrouting.h
2004-12-21 10:49:29 +00:00
.if !defined(NO_INET6)
SRCS+= in6_gif.c
.endif
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
2004-12-21 10:49:29 +00:00
.if !defined(NO_INET6)
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
.include <bsd.kmod.mk>