]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/ctau/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / ctau / Makefile
1 # Cronyx Id: sys.modules.ct.Makefile,v 1.1.2.2 2003/12/08 15:39:01 rik Exp $
2 # $FreeBSD$
3 .PATH:  ${.CURDIR}/../../dev/ctau
4 KMOD=   if_ct
5 SRCS=   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)
9 NCTAU?=         3
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>