Make modules work again part 1: linkup "net" and rename Makefile.module files
[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.3 2003/08/15 07:03:11 dillon 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 opt_inet.h:
16         echo "#define INET 1" > opt_inet.h
17
18 use_sl.h:
19         echo "#define NSL ${NSL}" > use_sl.h
20
21 .include <bsd.kmod.mk>