freebsd-nq/sys/modules/if_tun/Makefile
Peter Wemm a654d07295 Sample initial set of kld-ified modules. Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
1998-10-16 04:30:52 +00:00

27 lines
481 B
Makefile

# $Id: Makefile,v 1.6 1998/02/01 18:12:14 bde Exp $
.PATH: ${.CURDIR}/../../net
KMOD= if_tun
SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h
NOMAN=
NBPFILTER?= 0
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>