summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfsclient/Makefile
blob: 9aa10ae87f801c668540bc0d3b1cb6c3ea8a166d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $FreeBSD$

.PATH: ${.CURDIR}/../../nfs
KMOD=	nfs
SRCS=	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=
VFS_KLD=
CFLAGS+= -DNFS
CLEANFILES= opt_inet.h opt_nfs.h opt_vmpage.h opt_posix.h opt_bootp.h

opt_inet.h:
	touch ${.TARGET}
.if ${NFS_INET} > 0
	echo "#define INET 1" > ${.TARGET}
.endif

opt_nfs.h opt_vmpage.h opt_posix.h opt_bootp.h:
	touch ${.TARGET}

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud