Makefile revision 182668
1# Cronyx Id: sys.modules.ct.Makefile,v 1.1.2.2 2003/12/08 15:39:01 rik Exp $
2# $FreeBSD: head/sys/modules/ctau/Makefile 182668 2008-09-01 23:59:00Z imp $
3.PATH:  ${.CURDIR}/../../dev/ctau
4KMOD=   if_ct
5SRCS=   if_ct.c ctddk.c ctau.c opt_netgraph.h opt_ng_cronyx.h \
6	device_if.h bus_if.h isa_if.h
7
8.if !defined(KERNBUILDDIR)
9NCTAU?=		3
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