2004-03-02 16:51:34 +00:00
|
|
|
# Cronyx Id: sys.modules.ct.Makefile,v 1.1.2.2 2003/12/08 15:39:01 rik Exp $
|
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/ctau
|
|
|
|
KMOD= if_ct
|
2005-10-14 23:30:17 +00:00
|
|
|
SRCS= if_ct.c ctddk.c ctau.c opt_netgraph.h opt_ng_cronyx.h \
|
2004-03-02 16:51:34 +00:00
|
|
|
device_if.h bus_if.h isa_if.h
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2004-03-02 16:51:34 +00:00
|
|
|
NCTAU?= 3
|
|
|
|
PROTOS?= -DINET
|
|
|
|
NG_CRONYX?= 0
|
|
|
|
NETGRAPH= ${NG_CRONYX}
|
|
|
|
|
|
|
|
CFLAGS+= ${PROTOS}
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if ${NETGRAPH} != 0
|
2004-03-02 16:51:34 +00:00
|
|
|
opt_netgraph.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET}
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2004-03-02 16:51:34 +00:00
|
|
|
|
|
|
|
.if ${NG_CRONYX} != 0
|
2005-10-14 23:30:17 +00:00
|
|
|
opt_ng_cronyx.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define NETGRAPH_CRONYX 1" > ${.TARGET}
|
2004-03-02 16:51:34 +00:00
|
|
|
.endif
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2004-03-02 16:51:34 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|