freebsd-dev/sys/modules/if_tun/Makefile

28 lines
495 B
Makefile
Raw Normal View History

1999-07-06 19:23:32 +00:00
# $Id: Makefile,v 1.9 1999/04/28 01:18:08 msmith Exp $
.PATH: ${.CURDIR}/../../net
KMOD= if_tun
1999-07-06 19:23:32 +00:00
SRCS= if_tun.c bpf.h opt_devfs.h opt_inet.h tun.h vnode_if.h
NOMAN=
CLEANFILES+= vnode_if.h vnode_if.c
1999-07-06 19:23:32 +00:00
NBPF?= 1
NTUN?= 2
CFLAGS+= ${PROTOS}
1999-07-06 19:23:32 +00:00
CLEANFILES+= bpf.h opt_devfs.h opt_inet.h tun.h
1999-07-06 19:23:32 +00:00
bpf.h:
echo "#define NBPF ${NBPF}" > bpf.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>