7df8e022dc9ab7b3405e973173df2385dd62d9ff
[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
8 NSL?=           2
9 PROTOS?=        -DINET
10
11 CFLAGS+= ${PROTOS}
12 CLEANFILES=     use_sl.h
13
14 .if !defined(BUILDING_WITH_KERNEL)
15 opt_inet.h:
16         echo "#define INET 1" > opt_inet.h
17 .endif
18
19 use_sl.h:
20         echo "#define NSL ${NSL}" > use_sl.h
21
22 .include <bsd.kmod.mk>