1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-03-20 19:25:49 +00:00
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
|
|
KMOD= if_tun
|
2000-01-23 01:47:59 +00:00
|
|
|
SRCS= if_tun.c opt_devfs.h opt_inet.h opt_inet6.h opt_atalk.h opt_ipx.h \
|
|
|
|
vnode_if.h
|
1995-03-20 19:25:49 +00:00
|
|
|
NOMAN=
|
|
|
|
|
1999-07-06 19:23:32 +00:00
|
|
|
NBPF?= 1
|
1995-03-20 19:25:49 +00:00
|
|
|
NTUN?= 2
|
|
|
|
|
|
|
|
CFLAGS+= ${PROTOS}
|
1998-01-24 02:21:53 +00:00
|
|
|
|
1998-01-08 23:50:27 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
|
2000-01-23 01:47:59 +00:00
|
|
|
opt_inet6.h:
|
2000-01-23 10:41:48 +00:00
|
|
|
echo "#undef INET6" > opt_inet6.h
|
2000-01-23 01:47:59 +00:00
|
|
|
|
|
|
|
opt_atalk.h:
|
2000-01-23 10:41:48 +00:00
|
|
|
echo "#undef NETATALK" > opt_atalk.h
|
2000-01-23 01:47:59 +00:00
|
|
|
|
|
|
|
opt_ipx.h:
|
2000-01-23 10:41:48 +00:00
|
|
|
echo "#undef IPX" > opt_ipx.h
|
2000-01-23 01:47:59 +00:00
|
|
|
|
1995-03-20 19:25:49 +00:00
|
|
|
.include <bsd.kmod.mk>
|