56ca39961b
This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
19 lines
453 B
Makefile
19 lines
453 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../nfs
|
|
KMOD= nfs
|
|
SRCS= vnode_if.h \
|
|
nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
|
|
nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
|
|
nfs_vnops.c opt_inet.h opt_nfs.h opt_vmpage.h opt_bootp.h
|
|
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
|
|
NOMAN=
|
|
|
|
opt_inet.h:
|
|
touch ${.TARGET}
|
|
.if ${NFS_INET} > 0
|
|
echo "#define INET 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../conf/kmod.mk"
|