Merge branch 'vendor/LIBARCHIVE'
[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
6
7 NBPF?=  1
8 NTUN?=          2
9
10 CFLAGS+= ${PROTOS}
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 .include <bsd.kmod.mk>