kernel: Add some missing headers to the Makefiles of cryptodev and tun.
[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 .PATH:  ${.CURDIR}/../../net
4 KMOD=   if_tun
5 SRCS=   if_tun.c opt_inet.h opt_inet6.h opt_ipx.h use_tun.h
6
7 NTUN?=  2
8
9 CFLAGS+= ${PROTOS}
10 CLEANFILES=     use_tun.h
11
12 .if !defined(BUILDING_WITH_KERNEL)
13 opt_inet.h:
14         echo "#define INET 1" > opt_inet.h
15
16 opt_inet6.h:
17         echo "#define INET6 1" > opt_inet6.h
18
19 opt_ipx.h:
20         echo "#define IPX 1" > opt_ipx.h
21 .endif
22
23 use_tun.h:
24         echo "#define NTUN ${NTUN}" > use_tun.h
25
26 .include <bsd.kmod.mk>