Makefile revision 122770
1# $FreeBSD: head/sys/modules/nfsclient/Makefile 122770 2003-11-16 00:00:06Z imp $
2
3.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \
4	${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
5
6KMOD=	nfsclient
7SRCS=	vnode_if.h \
8	nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
9	nfs_vfsops.c nfs_vnops.c nfs_common.c \
10	opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
11SRCS+=	nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \
12	nfs4_vfs_subs.c  nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c
13SRCS+=	opt_inet6.h
14
15NFS_INET?=	1	# 0/1 - requires INET to be configured in kernel
16NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel
17
18# USE THE RPCCLNT:
19CFLAGS+= -DRPCCLNT_DEBUG
20SRCS+= rpcclnt.c
21
22# USE THE NEW IDMAPPER
23CFLAGS+= -DUSE_NEW_IDMAPPER
24
25opt_inet.h:
26	touch ${.TARGET}
27.if ${NFS_INET} > 0
28	echo "#define INET 1" > ${.TARGET}
29.endif
30
31.if ${NFS_INET6} > 0
32opt_inet6.h:
33	echo "#define INET6 1" > ${.TARGET}
34.endif
35
36.include <bsd.kmod.mk>
37
38