]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/ce/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / ce / Makefile
1 # $Cronyx: sys.modules.ce.Makefile,v 1.2 2005/04/23 20:10:22 rik Exp $
2 # $FreeBSD$
3
4 .PATH:  ${.CURDIR}/../../dev/ce
5 KMOD    = if_ce
6 SRCS    = if_ce.c ceddk.c tau32-ddk.c
7 SRCS   += opt_bpf.h opt_netgraph.h opt_ng_cronyx.h device_if.h bus_if.h \
8           pci_if.h
9
10 .if !defined(KERNBUILDDIR)
11 PROTOS?=        -DINET
12 NG_CRONYX?=     0
13 NETGRAPH=       ${NG_CRONYX}
14
15 CFLAGS+= ${PROTOS}
16
17 .if ${NETGRAPH} != 0
18 opt_netgraph.h:
19         echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET}
20 .endif
21
22 .if ${NG_CRONYX} != 0
23 opt_ng_cronyx.h:
24         echo "#define NETGRAPH_CRONYX 1" > ${.TARGET}
25 .endif
26 .endif
27
28 .include <bsd.kmod.mk>