1.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet 2 3KMOD= if_gre 4SRCS= if_gre.c ip_gre.c opt_inet.h 5SRCS+= device_if.h bus_if.h 6 7.if !defined(BUILDING_WITH_KERNEL) 8opt_inet.h: 9 echo "#define INET 1" > ${.TARGET} 10.endif 11 12.include <bsd.kmod.mk> 13