VFS messaging/interfacing work stage 1/99. This stage replaces the old
[dragonfly.git] / sys / net / tun / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.19.2.1 2001/07/24 09:49:42 dd Exp $
2d3e977e 2# $DragonFly: src/sys/net/tun/Makefile,v 1.5 2004/08/13 17:51:09 dillon Exp $
984263bc
MD
3
4.PATH: ${.CURDIR}/../../net
5KMOD= if_tun
2d3e977e 6SRCS= if_tun.c opt_inet.h opt_inet6.h opt_atalk.h opt_ipx.h
984263bc
MD
7NOMAN=
8
9NBPF?= 1
10NTUN?= 2
11
12CFLAGS+= ${PROTOS}
13
14opt_inet.h:
15 echo "#define INET 1" > opt_inet.h
34582f11
JH
16
17opt_inet6.h:
8bde602d 18 echo "#define INET6 1" > opt_inet6.h
34582f11
JH
19
20opt_atalk.h:
8bde602d 21 echo "#define NETATALK 1" > opt_atalk.h
34582f11
JH
22
23opt_ipx.h:
8bde602d 24 echo "#define IPX 1" > opt_ipx.h
984263bc
MD
25
26.include <bsd.kmod.mk>