diff options
Diffstat (limited to 'lkm/if_tun/Makefile')
-rw-r--r-- | lkm/if_tun/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lkm/if_tun/Makefile b/lkm/if_tun/Makefile new file mode 100644 index 0000000..49ca778 --- /dev/null +++ b/lkm/if_tun/Makefile @@ -0,0 +1,23 @@ +# $Id: Makefile,v 1.1 1994/09/22 22:12:59 wollman Exp $ + +.PATH: ${.CURDIR}/../../sys/net +KMOD= if_tun_mod +SRCS= if_tun.c bpfilter.h tun.h +NOMAN= +PSEUDO_LKM= +CFLAGS+= -I. + +NBPFILTER?= 0 +NTUN?= 2 +PROTOS?= -DINET + +CFLAGS+= ${PROTOS} +CLEANFILES+= bpfilter.h tun.h + +bpfilter.h: + echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h + +tun.h: + echo "#define NTUN ${NTUN}" > tun.h + +.include <bsd.kmod.mk> |