mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Add makefile for ce(4) module.
This commit is contained in:
parent
439635c43e
commit
dfd1ff19b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155017
29
sys/modules/ce/Makefile
Normal file
29
sys/modules/ce/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $Cronyx: sys.modules.ce.Makefile,v 1.2 2005/04/23 20:10:22 rik Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/ce
|
||||
KMOD = if_ce
|
||||
SRCS = if_ce.c ceddk.c tau32-ddk.c
|
||||
SRCS += opt_netgraph.h opt_ng_cronyx.h device_if.h bus_if.h \
|
||||
pci_if.h
|
||||
NO_MAN=
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
PROTOS?= -DINET
|
||||
NG_CRONYX?= 0
|
||||
NETGRAPH= ${NG_CRONYX}
|
||||
|
||||
CFLAGS+= ${PROTOS}
|
||||
|
||||
.if ${NETGRAPH} != 0
|
||||
opt_netgraph.h:
|
||||
echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
|
||||
.endif
|
||||
|
||||
.if ${NG_CRONYX} != 0
|
||||
opt_ng_cronyx.h:
|
||||
echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user