xref: /freebsd/sys/modules/if_gre/Makefile (revision 9a0c3479e22feda1bdb2db4b97f9deb1b5fa6269)
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
4
5KMOD=	if_gre
6SRCS=	if_gre.c ip_gre.c opt_inet.h opt_inet6.h opt_atalk.h
7
8.if !defined(KERNBUILDDIR)
9opt_inet.h:
10	echo "#define INET 1" > ${.TARGET}
11
12opt_inet6.h:
13	echo "#define INET6 1" > ${.TARGET}
14
15opt_atalk.h:
16	echo "#define NETATALK 1" > ${.TARGET}
17.endif
18
19.include <bsd.kmod.mk>
20