1# $Id$
| 1# $Id: Makefile,v 1.3 1997/02/22 12:48:10 peter Exp $
|
2 3.PATH: ${.CURDIR}/../../sys/net 4KMOD= if_tun_mod
| 2 3.PATH: ${.CURDIR}/../../sys/net 4KMOD= if_tun_mod
|
5SRCS= if_tun.c bpfilter.h tun.h
| 5SRCS= if_tun.c bpfilter.h opt_inet.h tun.h
|
6NOMAN= 7PSEUDO_LKM= 8CFLAGS+= -I. 9 10NBPFILTER?= 0 11NTUN?= 2
| 6NOMAN= 7PSEUDO_LKM= 8CFLAGS+= -I. 9 10NBPFILTER?= 0 11NTUN?= 2
|
12PROTOS?= -DINET
| |
13 14CFLAGS+= ${PROTOS}
| 12 13CFLAGS+= ${PROTOS}
|
15CLEANFILES+= bpfilter.h tun.h
| 14CLEANFILES+= bpfilter.h opt_inet.h tun.h
|
16 17bpfilter.h: 18 echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h 19
| 15 16bpfilter.h: 17 echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h 18
|
| 19opt_inet.h: 20 echo "#define INET 1" > opt_inet.h 21
|
20tun.h: 21 echo "#define NTUN ${NTUN}" > tun.h 22 23.include <bsd.kmod.mk>
| 22tun.h: 23 echo "#define NTUN ${NTUN}" > tun.h 24 25.include <bsd.kmod.mk>
|