Makefile revision 151444
1# $FreeBSD: head/sys/modules/if_gif/Makefile 151444 2005-10-18 07:54:02Z yar $ 2 3.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 4 5KMOD= if_gif 6SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \ 7 opt_mrouting.h 8.if !defined(NO_INET6) 9SRCS+= in6_gif.c 10.endif 11 12# XXX The new way of building modules with the kernel can't handle 13# dynamic SRCS depending on build options yet. 14##.if !defined(KERNBUILDDIR) 15opt_inet.h: 16 echo "#define INET 1" > ${.TARGET} 17 18.if !defined(NO_INET6) 19opt_inet6.h: 20 echo "#define INET6 1" > ${.TARGET} 21.endif 22 23opt_mrouting.h: 24 echo "#define MROUTING 1" > ${.TARGET} 25##.endif 26 27.include <bsd.kmod.mk> 28