mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
9e51595ce6
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
30 lines
478 B
Makefile
30 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>
|