2001-01-03 08:12:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
|
|
|
|
|
|
KMOD= sppp
|
2004-12-28 00:07:57 +00:00
|
|
|
SRCS= if_spppfr.c if_spppsubr.c slcompress.c
|
2001-01-03 08:12:30 +00:00
|
|
|
SRCS+= opt_inet.h opt_inet6.h opt_ipx.h
|
|
|
|
|
2002-01-11 01:16:00 +00:00
|
|
|
EXPORT_SYMS= sppp_attach \
|
|
|
|
sppp_detach \
|
|
|
|
sppp_input \
|
|
|
|
sppp_ioctl \
|
|
|
|
sppp_dequeue \
|
|
|
|
sppp_pick \
|
|
|
|
sppp_isempty \
|
|
|
|
sppp_flush
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2001-01-03 08:12:30 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
|
|
|
|
opt_inet6.h:
|
|
|
|
echo "#define INET6 1" > opt_inet6.h
|
|
|
|
|
|
|
|
opt_ipx.h:
|
|
|
|
echo "#define IPX 1" > opt_ipx.h
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2001-01-03 08:12:30 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|