kmod.mk: Remove some dead code supposed to handle modules' manual pages.
[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 $
1b29ad66 2# $DragonFly: src/sys/net/tun/Makefile,v 1.6 2005/02/18 11:41:42 corecode 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
7
8NBPF?= 1
9NTUN?= 2
10
11CFLAGS+= ${PROTOS}
12
1b29ad66 13.if !defined(BUILDING_WITH_KERNEL)
984263bc
MD
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
1b29ad66 25.endif
984263bc
MD
26
27.include <bsd.kmod.mk>