]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/cx/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / cx / Makefile
1 # Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $
2 # $FreeBSD$
3
4 .PATH:  ${.CURDIR}/../../dev/cx
5 KMOD=   if_cx
6 SRCS=   if_cx.c cxddk.c csigma.c opt_netgraph.h opt_ng_cronyx.h \
7         device_if.h bus_if.h isa_if.h
8
9 .if !defined(KERNBUILDDIR)
10 PROTOS?=        -DINET
11 NG_CRONYX?=     0
12 NETGRAPH=       ${NG_CRONYX}
13
14 CFLAGS+= ${PROTOS}
15
16 .if ${NETGRAPH} != 0
17 opt_netgraph.h:
18         echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET}
19 .endif
20
21 .if ${NG_CRONYX} != 0
22 opt_ng_cronyx.h:
23         echo "#define NETGRAPH_CRONYX 1" > ${.TARGET}
24 .endif
25 .endif  
26
27 .include <bsd.kmod.mk>