kernel: Clean up some module Makefiles.
[dragonfly.git] / sys / net / sl / Makefile
CommitLineData
984263bc
MD
1# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.13 1999/11/28 18:52:53 bde Exp $
2
9ea0a480 3.PATH: ${.CURDIR}/../ppp_layer
984263bc 4KMOD= if_sl
9ea0a480 5SRCS= if_sl.c slcompress.c opt_inet.h use_sl.h
984263bc
MD
6
7NSL?= 2
984263bc 8
e3f58167 9CFLAGS+= -DINET
9ea0a480 10CLEANFILES= use_sl.h
984263bc 11
1b29ad66 12.if !defined(BUILDING_WITH_KERNEL)
984263bc 13opt_inet.h:
e3f58167 14 echo "#define INET 1" > ${.TARGET}
1b29ad66 15.endif
984263bc 16
9ea0a480 17use_sl.h:
e3f58167 18 echo "#define NSL ${NSL}" > ${.TARGET}
984263bc
MD
19
20.include <bsd.kmod.mk>