Deleted Added
full compact
Makefile (256281) Makefile (284066)
1# $FreeBSD: stable/10/sys/modules/if_gre/Makefile 151350 2005-10-14 23:30:17Z yar $
1# $FreeBSD: stable/10/sys/modules/if_gre/Makefile 284066 2015-06-06 12:44:42Z ae $
2.include <bsd.own.mk>
2
3.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
4
5KMOD= if_gre
3
4.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
5
6KMOD= if_gre
6SRCS= if_gre.c ip_gre.c opt_inet.h opt_inet6.h opt_atalk.h
7SRCS= if_gre.c opt_inet.h opt_inet6.h
7
8.if !defined(KERNBUILDDIR)
9opt_inet.h:
10 echo "#define INET 1" > ${.TARGET}
11
8
9.if !defined(KERNBUILDDIR)
10opt_inet.h:
11 echo "#define INET 1" > ${.TARGET}
12
13.if ${MK_INET6_SUPPORT} != "no"
12opt_inet6.h:
13 echo "#define INET6 1" > ${.TARGET}
14opt_inet6.h:
15 echo "#define INET6 1" > ${.TARGET}
16.endif
17.else
18OPT_INET!= cat ${KERNBUILDDIR}/opt_inet.h; echo
19.if empty(OPT_INET)
20MK_INET_SUPPORT=no
21.endif
22OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h; echo
23.if empty(OPT_INET6)
24MK_INET6_SUPPORT=no
25.endif
26.endif
14
27
15opt_atalk.h:
16 echo "#define NETATALK 1" > ${.TARGET}
28.if ${MK_INET_SUPPORT} != "no"
29SRCS+= ip_gre.c
17.endif
18
30.endif
31
32.if ${MK_INET6_SUPPORT} != "no"
33SRCS+= ip6_gre.c
34.endif
35
19.include <bsd.kmod.mk>
36.include <bsd.kmod.mk>