Deleted Added
full compact
Makefile (46130) Makefile (48645)
1# $Id: Makefile,v 1.8 1999/01/17 20:53:47 peter Exp $
1# $Id: Makefile,v 1.9 1999/04/28 01:18:08 msmith Exp $
2
3.PATH: ${.CURDIR}/../../net
4KMOD= if_tun
2
3.PATH: ${.CURDIR}/../../net
4KMOD= if_tun
5SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h vnode_if.h
5SRCS= if_tun.c bpf.h opt_devfs.h opt_inet.h tun.h vnode_if.h
6NOMAN=
7CLEANFILES+= vnode_if.h vnode_if.c
8
6NOMAN=
7CLEANFILES+= vnode_if.h vnode_if.c
8
9NBPFILTER?= 1
9NBPF?= 1
10NTUN?= 2
11
12CFLAGS+= ${PROTOS}
10NTUN?= 2
11
12CFLAGS+= ${PROTOS}
13CLEANFILES+= bpfilter.h opt_devfs.h opt_inet.h tun.h
13CLEANFILES+= bpf.h opt_devfs.h opt_inet.h tun.h
14
14
15bpfilter.h:
16 echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
15bpf.h:
16 echo "#define NBPF ${NBPF}" > bpf.h
17
18opt_devfs.h:
19 touch opt_devfs.h
20
21opt_inet.h:
22 echo "#define INET 1" > opt_inet.h
23
24tun.h:
25 echo "#define NTUN ${NTUN}" > tun.h
26
27.include <bsd.kmod.mk>
17
18opt_devfs.h:
19 touch opt_devfs.h
20
21opt_inet.h:
22 echo "#define INET 1" > opt_inet.h
23
24tun.h:
25 echo "#define NTUN ${NTUN}" > tun.h
26
27.include <bsd.kmod.mk>