diff options
Diffstat (limited to 'lkm/if_tun')
-rw-r--r-- | lkm/if_tun/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lkm/if_tun/Makefile b/lkm/if_tun/Makefile index ced024f..14654e1 100644 --- a/lkm/if_tun/Makefile +++ b/lkm/if_tun/Makefile @@ -1,22 +1,24 @@ -# $Id$ +# $Id: Makefile,v 1.3 1997/02/22 12:48:10 peter Exp $ .PATH: ${.CURDIR}/../../sys/net KMOD= if_tun_mod -SRCS= if_tun.c bpfilter.h tun.h +SRCS= if_tun.c bpfilter.h opt_inet.h tun.h NOMAN= PSEUDO_LKM= CFLAGS+= -I. NBPFILTER?= 0 NTUN?= 2 -PROTOS?= -DINET CFLAGS+= ${PROTOS} -CLEANFILES+= bpfilter.h tun.h +CLEANFILES+= bpfilter.h opt_inet.h tun.h bpfilter.h: echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h +opt_inet.h: + echo "#define INET 1" > opt_inet.h + tun.h: echo "#define NTUN ${NTUN}" > tun.h |