freebsd-dev/sys/modules/if_tun/Makefile

28 lines
529 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.8 1999/01/17 20:53:47 peter Exp $
.PATH: ${.CURDIR}/../../net
KMOD= if_tun
SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h vnode_if.h
NOMAN=
CLEANFILES+= vnode_if.h vnode_if.c
NBPFILTER?= 1
NTUN?= 2
CFLAGS+= ${PROTOS}
CLEANFILES+= bpfilter.h opt_devfs.h opt_inet.h tun.h
bpfilter.h:
echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
opt_devfs.h:
touch opt_devfs.h
opt_inet.h:
echo "#define INET 1" > opt_inet.h
tun.h:
echo "#define NTUN ${NTUN}" > tun.h
.include <bsd.kmod.mk>