The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/nfsclient/Makefile

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 .PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \
    4         ${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
    5 
    6 KMOD=   nfsclient
    7 SRCS=   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
   11 SRCS+=  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
   13 SRCS+=  opt_inet6.h
   14 
   15 # USE THE RPCCLNT:
   16 CFLAGS+= -DRPCCLNT_DEBUG
   17 SRCS+= rpcclnt.c
   18 
   19 # USE THE NEW IDMAPPER
   20 CFLAGS+= -DUSE_NEW_IDMAPPER
   21 
   22 .if !defined(KERNBUILDDIR)
   23 NFS_INET?=      1       # 0/1 - requires INET to be configured in kernel
   24 NFS_INET6?=     1       # 0/1 - requires INET6 to be configured in kernel
   25 NFS_ROOT?=      1       # 0/1 - requires NFS_ROOT to be configured in kernel
   26 
   27 .if ${NFS_INET} > 0
   28 opt_inet.h:
   29         echo "#define INET 1" > ${.TARGET}
   30 .endif
   31 
   32 .if ${NFS_INET6} > 0
   33 opt_inet6.h:
   34         echo "#define INET6 1" > ${.TARGET}
   35 .endif
   36 
   37 .if ${NFS_ROOT} > 0
   38 opt_nfsroot.h:
   39         echo "#define NFS_ROOT 1" > ${.TARGET}
   40 .endif
   41 .else
   42 OPT_NFS_ROOT!=  cat ${KERNBUILDDIR}/opt_nfsroot.h
   43 .if empty(OPT_NFS_ROOT)
   44 NFS_ROOT=       0
   45 .else
   46 NFS_ROOT=       1
   47 .endif
   48 .endif
   49 
   50 .if ${NFS_ROOT} > 0
   51 SRCS+=  nfs_diskless.c
   52 .endif
   53 
   54 .include <bsd.kmod.mk>
   55 

Cache object: 18d2c7cfb479474e8ba0e5c44cdcd3bc


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.