Makefile revision 100134
1# $FreeBSD: head/sys/modules/nfsclient/Makefile 100134 2002-07-15 19:40:23Z alfred $
2
3.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs
4KMOD=	nfsclient
5SRCS=	vnode_if.h \
6	nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
7	nfs_vfsops.c nfs_vnops.c nfs_common.c \
8	opt_inet.h opt_nfs.h opt_bootp.h
9SRCS+=	opt_inet6.h
10
11NFS_INET?=	1	# 0/1 - requires INET to be configured in kernel
12NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel
13
14opt_inet.h:
15	touch ${.TARGET}
16.if ${NFS_INET} > 0
17	echo "#define INET 1" > ${.TARGET}
18.endif
19
20.if ${NFS_INET6} > 0
21opt_inet6.h:
22	echo "#define INET6 1" > ${.TARGET}
23.endif
24
25.include <bsd.kmod.mk>
26
27