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-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 .PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
    4 
    5 KMOD=   nfsclient
    6 SRCS=   vnode_if.h \
    7         nfs_bio.c nfs_node.c nfs_subs.c nfs_nfsiod.c \
    8         nfs_vfsops.c nfs_vnops.c nfs_krpc.c \
    9         opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
   10 SRCS+=  opt_inet6.h opt_kdtrace.h opt_kgssapi.h
   11 
   12 .if !defined(KERNBUILDDIR)
   13 NFS_INET?=      1       # 0/1 - requires INET to be configured in kernel
   14 NFS_INET6?=     1       # 0/1 - requires INET6 to be configured in kernel
   15 NFS_ROOT?=      1       # 0/1 - requires NFS_ROOT to be configured in kernel
   16 
   17 .if ${NFS_INET} > 0
   18 opt_inet.h:
   19         echo "#define INET 1" > ${.TARGET}
   20 .endif
   21 
   22 .if ${NFS_INET6} > 0
   23 opt_inet6.h:
   24         echo "#define INET6 1" > ${.TARGET}
   25 .endif
   26 
   27 .if ${NFS_ROOT} > 0
   28 opt_nfsroot.h:
   29         echo "#define NFS_ROOT 1" > ${.TARGET}
   30 .endif
   31 .else
   32 OPT_NFS_ROOT!=  cat ${KERNBUILDDIR}/opt_nfsroot.h
   33 .if empty(OPT_NFS_ROOT)
   34 NFS_ROOT=       0
   35 .else
   36 NFS_ROOT=       1
   37 .endif
   38 .endif
   39 
   40 .if ${NFS_ROOT} > 0
   41 SRCS+=  nfs_diskless.c
   42 .endif
   43 
   44 .include <bsd.kmod.mk>

Cache object: 75b15af18db0c495a17b81e9eee35211


[ 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.