]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/cp/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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
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>