1# $FreeBSD: src/sys/modules/if_gif/Makefile,v 1.1.2.1 2001/07/24 19:10:17 brooks Exp $ 2# $DragonFly: src/sys/net/gif/Makefile,v 1.4 2006/10/25 20:56:02 dillon Exp $ 3 4.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 5 6KMOD= if_gif 7SRCS= if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mrouting.h 8SRCS+= device_if.h bus_if.h 9 10.if !defined(BUILDING_WITH_KERNEL) 11opt_inet.h: 12 echo "#define INET 1" > ${.TARGET} 13 14opt_inet6.h: 15 echo "#define INET6 1" > ${.TARGET} 16 17opt_mrouting.h: 18 echo "#define MROUTING 1" > ${.TARGET} 19.endif 20 21.include <bsd.kmod.mk> 22