Makefile revision 151350
1# $FreeBSD: head/sys/modules/if_gif/Makefile 151350 2005-10-14 23:30:17Z yar $
2
3.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
4
5KMOD=	if_gif
6SRCS=	if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
7	opt_mrouting.h
8.if !defined(NO_INET6)
9SRCS+=	in6_gif.c
10.endif
11
12.if !defined(KERNBUILDDIR)
13opt_inet.h:
14	echo "#define INET 1" > ${.TARGET}
15
16.if !defined(NO_INET6)
17opt_inet6.h:
18	echo "#define INET6 1" > ${.TARGET}
19.endif
20
21opt_mrouting.h:
22	echo "#define MROUTING 1" > ${.TARGET}
23.endif
24
25.include <bsd.kmod.mk>
26