Deleted Added
full compact
Makefile (151350) Makefile (182668)
1# Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $
1# Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $
2# $FreeBSD: head/sys/modules/cx/Makefile 151350 2005-10-14 23:30:17Z yar $
2# $FreeBSD: head/sys/modules/cx/Makefile 182668 2008-09-01 23:59:00Z imp $
3
4.PATH: ${.CURDIR}/../../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:
3
4.PATH: ${.CURDIR}/../../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)" > opt_netgraph.h
18 echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET}
19.endif
20
21.if ${NG_CRONYX} != 0
22opt_ng_cronyx.h:
19.endif
20
21.if ${NG_CRONYX} != 0
22opt_ng_cronyx.h:
23 echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h
23 echo "#define NETGRAPH_CRONYX 1" > ${.TARGET}
24.endif
25.endif
26
27.include <bsd.kmod.mk>
24.endif
25.endif
26
27.include <bsd.kmod.mk>