]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/cp/Makefile
This commit was generated by cvs2svn to compensate for changes in r154258,
[FreeBSD/FreeBSD.git] / sys / modules / cp / Makefile
1 # $Cronyx: sys.modules.cp.Makefile,v 1.1.2.3 2004/04/28 16:17:57 rik Exp $
2 # $FreeBSD$
3
4 .PATH:  ${.CURDIR}/../../dev/cp
5 KMOD    = if_cp
6 SRCS    = if_cp.c cpddk.c
7 SRCS   += opt_netgraph.h opt_ng_cronyx.h device_if.h bus_if.h \
8           pci_if.h
9 NO_MAN=
10
11 .if !defined(KERNBUILDDIR)
12 PROTOS?=        -DINET
13 NG_CRONYX?=     0
14 NETGRAPH=       ${NG_CRONYX}
15
16 CFLAGS+= ${PROTOS}
17
18 .if ${NETGRAPH} != 0
19 opt_netgraph.h:
20         echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
21 .endif
22
23 .if ${NG_CRONYX} != 0
24 opt_ng_cronyx.h:
25         echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h
26 .endif
27 .endif
28
29 .include <bsd.kmod.mk>