1# Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $
2# $FreeBSD: stable/11/sys/modules/cx/Makefile 319182 2017-05-30 04:11:12Z ngie $
3
4.PATH:  ${SRCTOP}/sys/dev/cx
5KMOD=   if_cx
6SRCS=   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)
10PROTOS?=	-DINET
11NG_CRONYX?=	0
12NETGRAPH=	${NG_CRONYX}
13
14CFLAGS+= ${PROTOS}
15
16.if ${NETGRAPH} != 0
17opt_netgraph.h:
18	echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET}
19.endif
20
21.if ${NG_CRONYX} != 0
22opt_ng_cronyx.h:
23	echo "#define NETGRAPH_CRONYX 1" > ${.TARGET}
24.endif
25.endif	
26
27.include <bsd.kmod.mk>
28