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