be45d0473cdb2e22c8d5891e71aeb47d91054b13
[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
11 .if !defined(BUILDING_WITH_KERNEL)
12 opt_inet.h:
13         echo "#define INET 1" > ${.TARGET}
14 .endif
15
16 use_sl.h:
17         echo "#define NSL ${NSL}" > ${.TARGET}
18
19 .include <bsd.kmod.mk>