b06b8fe3a7
module. With r203732 it became apparent that creating the sysctl nodes twice causes at least a warning, however the whole code shouldn't be present twice in the first place. Discussed with: rmacklem
22 lines
396 B
Makefile
22 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../nfsserver
|
|
KMOD= nfsserver
|
|
SRCS= vnode_if.h \
|
|
nfs_fha.c nfs_serv.c nfs_srvkrpc.c nfs_srvsubs.c \
|
|
opt_mac.h \
|
|
opt_kgssapi.h \
|
|
opt_nfs.h
|
|
SRCS+= opt_inet6.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
|
|
|
|
.if ${NFS_INET6} > 0
|
|
opt_inet6.h:
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|