a7f86be978
opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
19 lines
418 B
Makefile
19 lines
418 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=
|
|
|
|
.if ${NFS_INET} > 0
|
|
opt_inet.h:
|
|
echo "#define INET 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|