mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 06:12:46 +00:00
24 lines
357 B
Makefile
24 lines
357 B
Makefile
# $Id$
|
|
|
|
.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>
|