Makefile revision 197535
1177663Sdfr# $FreeBSD: head/sys/modules/nfslockd/Makefile 197535 2009-09-27 13:24:34Z nyan $ 2177663Sdfr 3177663Sdfr.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc 4177663SdfrKMOD= nfslockd 5177663SdfrSRCS= vnode_if.h \ 6180025Sdfr nlm_advlock.c \ 7177663Sdfr nlm_prot_clnt.c \ 8177663Sdfr nlm_prot_impl.c \ 9177663Sdfr nlm_prot_server.c \ 10177663Sdfr nlm_prot_svc.c \ 11177663Sdfr nlm_prot_xdr.c \ 12177663Sdfr sm_inter_xdr.c 13181040SpsSRCS+= opt_inet6.h opt_nfs.h 14177663Sdfr 15177663Sdfr.if !defined(KERNBUILDDIR) 16177663SdfrNFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel 17197535SnyanNFSCLIENT?= 1 # 0/1 - requires NFSCLIENT to be configured in kernel 18177663Sdfr 19177663Sdfr.if ${NFS_INET6} > 0 20177663Sdfropt_inet6.h: 21177663Sdfr echo "#define INET6 1" > ${.TARGET} 22177663Sdfr.endif 23197535Snyan 24197535Snyan.if ${NFSCLIENT} > 0 25197535Snyanopt_nfs.h: 26197535Snyan echo "#define NFSCLIENT 1" > ${.TARGET} 27177663Sdfr.endif 28177663Sdfr 29197535Snyan.endif 30197535Snyan 31177663Sdfr.include <bsd.kmod.mk> 32