Makefile revision 284066
1121054Semax# $FreeBSD: stable/10/sys/modules/if_gre/Makefile 284066 2015-06-06 12:44:42Z ae $ 2121054Semax.include <bsd.own.mk> 3121054Semax 4121054Semax.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 5121054Semax 6121054SemaxKMOD= if_gre 7121054SemaxSRCS= if_gre.c opt_inet.h opt_inet6.h 8121054Semax 9121054Semax.if !defined(KERNBUILDDIR) 10121054Semaxopt_inet.h: 11121054Semax echo "#define INET 1" > ${.TARGET} 12121054Semax 13121054Semax.if ${MK_INET6_SUPPORT} != "no" 14121054Semaxopt_inet6.h: 15121054Semax echo "#define INET6 1" > ${.TARGET} 16121054Semax.endif 17121054Semax.else 18121054SemaxOPT_INET!= cat ${KERNBUILDDIR}/opt_inet.h; echo 19121054Semax.if empty(OPT_INET) 20121054SemaxMK_INET_SUPPORT=no 21121054Semax.endif 22121054SemaxOPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h; echo 23121054Semax.if empty(OPT_INET6) 24121054SemaxMK_INET6_SUPPORT=no 25121054Semax.endif 26121054Semax.endif 27121054Semax 28121054Semax.if ${MK_INET_SUPPORT} != "no" 29121054SemaxSRCS+= ip_gre.c 30121054Semax.endif 31121054Semax 32121054Semax.if ${MK_INET6_SUPPORT} != "no" 33121054SemaxSRCS+= ip6_gre.c 34121054Semax.endif 35129437Sru 36121054Semax.include <bsd.kmod.mk> 37121054Semax