mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 05:55:27 +01:00
f065639f29
are now dynamically loadable. It doesn't make sense to do the same for the loopback.
24 lines
406 B
Makefile
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>
|