kmod.mk: Remove some dead code supposed to handle modules' manual pages.
[dragonfly.git] / sys / net / sl / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.13 1999/11/28 18:52:53 bde Exp $
1b29ad66 2# $DragonFly: src/sys/net/sl/Makefile,v 1.4 2005/02/18 11:41:42 corecode Exp $
984263bc 3
9ea0a480 4.PATH: ${.CURDIR}/../ppp_layer
984263bc 5KMOD= if_sl
9ea0a480 6SRCS= if_sl.c slcompress.c opt_inet.h use_sl.h
984263bc
MD
7
8NSL?= 2
9PROTOS?= -DINET
10
11CFLAGS+= ${PROTOS}
9ea0a480 12CLEANFILES= use_sl.h
984263bc 13
1b29ad66 14.if !defined(BUILDING_WITH_KERNEL)
984263bc
MD
15opt_inet.h:
16 echo "#define INET 1" > opt_inet.h
1b29ad66 17.endif
984263bc 18
9ea0a480
MD
19use_sl.h:
20 echo "#define NSL ${NSL}" > use_sl.h
984263bc
MD
21
22.include <bsd.kmod.mk>