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