HardenedBSD/lkm/if_tun/Makefile
wollman d590bce33d The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable.  It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00

24 lines
406 B
Makefile

# $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>