1# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.19.2.1 2001/07/24 09:49:42 dd Exp $ 2 3.PATH: ${.CURDIR}/../../net 4KMOD= if_tun 5SRCS= if_tun.c opt_inet.h opt_inet6.h opt_ipx.h use_tun.h 6 7NTUN?= 2 8 9CFLAGS+= ${PROTOS} 10CLEANFILES= use_tun.h 11 12.if !defined(BUILDING_WITH_KERNEL) 13opt_inet.h: 14 echo "#define INET 1" > opt_inet.h 15 16opt_inet6.h: 17 echo "#define INET6 1" > opt_inet6.h 18 19opt_ipx.h: 20 echo "#define IPX 1" > opt_ipx.h 21.endif 22 23use_tun.h: 24 echo "#define NTUN ${NTUN}" > use_tun.h 25 26.include <bsd.kmod.mk> 27