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