0debe12e658f19a754603e1f5f4047304163ceb8
[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 # $DragonFly: src/sys/net/sl/Makefile,v 1.4 2005/02/18 11:41:42 corecode Exp $
3
4 .PATH:  ${.CURDIR}/../ppp_layer
5 KMOD=   if_sl
6 SRCS=   if_sl.c slcompress.c opt_inet.h use_sl.h
7 NOMAN=
8
9 NSL?=           2
10 PROTOS?=        -DINET
11
12 CFLAGS+= ${PROTOS}
13 CLEANFILES=     use_sl.h
14
15 .if !defined(BUILDING_WITH_KERNEL)
16 opt_inet.h:
17         echo "#define INET 1" > opt_inet.h
18 .endif
19
20 use_sl.h:
21         echo "#define NSL ${NSL}" > use_sl.h
22
23 .include <bsd.kmod.mk>