Deleted Added
full compact
Makefile (139115) Makefile (151350)
1# $FreeBSD: head/sys/modules/if_gif/Makefile 139115 2004-12-21 10:49:29Z ru $
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
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)
12opt_inet.h:
13 echo "#define INET 1" > ${.TARGET}
14
15.if !defined(NO_INET6)
16opt_inet6.h:
17 echo "#define INET6 1" > ${.TARGET}
18.endif
19
20opt_mrouting.h:
21 echo "#define MROUTING 1" > ${.TARGET}
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
22
23.include <bsd.kmod.mk>
24
25.include <bsd.kmod.mk>