opnsense-src/sys/modules/sppp/Makefile
Franco Fichtner 402e7dde73 src: initial commit based on FreeBSD-10.0
Taken from:	https://github.com/freebsd/freebsd.git
Commit id:	d44ce30d3054a38723f89a161c5e003e64d1aaae
2014-11-09 09:30:14 +01:00

29 lines
478 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../net
KMOD= sppp
SRCS= if_spppfr.c if_spppsubr.c slcompress.c
SRCS+= opt_inet.h opt_inet6.h opt_ipx.h
EXPORT_SYMS= sppp_attach \
sppp_detach \
sppp_input \
sppp_ioctl \
sppp_dequeue \
sppp_pick \
sppp_isempty \
sppp_flush
.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
opt_ipx.h:
echo "#define IPX 1" > ${.TARGET}
.endif
.include <bsd.kmod.mk>