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/nfscl/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: releng/9.2/sys/modules/nfscl/Makefile 223483 2011-06-23 20:31:52Z uqs $
    2 
    3 .PATH: ${.CURDIR}/../../fs/nfsclient ${.CURDIR}/../../nfs
    4 KMOD=   nfscl
    5 SRCS=   vnode_if.h \
    6         nfs_clrpcops.c \
    7         nfs_clkrpc.c \
    8         nfs_clstate.c \
    9         nfs_clcomsubs.c \
   10         nfs_clport.c \
   11         nfs_clbio.c \
   12         nfs_clnfsiod.c \
   13         nfs_clnode.c \
   14         nfs_clsubs.c \
   15         nfs_clvfsops.c \
   16         nfs_clvnops.c \
   17         opt_bootp.h \
   18         opt_inet.h \
   19         opt_inet6.h \
   20         opt_kdtrace.h \
   21         opt_kgssapi.h \
   22         opt_nfs.h \
   23         opt_nfsroot.h \
   24         opt_ufs.h
   25 
   26 .if !defined(KERNBUILDDIR)
   27 NFS_INET?=      1       # 0/1 - requires INET to be configured in kernel
   28 NFS_INET6?=     1       # 0/1 - requires INET6 to be configured in kernel
   29 NFS_ROOT?=      1       # 0/1 - requires NFS_ROOT to be configured in kernel
   30 
   31 .if ${NFS_INET} > 0
   32 opt_inet.h:
   33         echo "#define INET 1" > ${.TARGET}
   34 .endif
   35 
   36 .if ${NFS_INET6} > 0
   37 opt_inet6.h:
   38         echo "#define INET6 1" > ${.TARGET}
   39 .endif
   40 
   41 .if ${NFS_ROOT} > 0
   42 opt_nfsroot.h:
   43         echo "#define NFS_ROOT 1" > ${.TARGET}
   44 .endif
   45 .else
   46 OPT_NFS_ROOT!=  cat ${KERNBUILDDIR}/opt_nfsroot.h
   47 .if empty(OPT_NFS_ROOT)
   48 NFS_ROOT=       0
   49 .else
   50 NFS_ROOT=       1
   51 .endif
   52 .endif
   53 
   54 .if ${NFS_ROOT} > 0
   55 SRCS+=  nfs_diskless.c
   56 .endif
   57 
   58 .include <bsd.kmod.mk>

Cache object: b225a0529a4484bdb75fae33dc9ec251


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