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/zfs/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/12.0/sys/modules/zfs/Makefile 338128 2018-08-21 03:45:09Z mmacy $
    2 
    3 SYSDIR?=${SRCTOP}/sys
    4 
    5 KMOD=   zfs
    6 
    7 SRCS=   bus_if.h device_if.h vnode_if.h opt_kstack_pages.h
    8 
    9 SUNW=   ${SYSDIR}/cddl/contrib/opensolaris
   10 
   11 .PATH:  ${SUNW}/common/acl
   12 SRCS+=  acl_common.c
   13 .PATH:  ${SUNW}/common/avl
   14 SRCS+=  avl.c
   15 .PATH:  ${SUNW}/common/nvpair
   16 SRCS+=  opensolaris_nvpair.c
   17 SRCS+=  opensolaris_nvpair_alloc_fixed.c
   18 SRCS+=  opensolaris_fnvpair.c
   19 .PATH:  ${SYSDIR}/cddl/contrib/opensolaris/common/unicode
   20 SRCS+=  u8_textprep.c
   21 
   22 .PATH:  ${SYSDIR}/cddl/compat/opensolaris/kern
   23 SRCS+=  opensolaris_acl.c
   24 SRCS+=  opensolaris_dtrace.c
   25 SRCS+=  opensolaris_kobj.c
   26 SRCS+=  opensolaris_kstat.c
   27 SRCS+=  opensolaris_lookup.c
   28 SRCS+=  opensolaris_policy.c
   29 SRCS+=  opensolaris_string.c
   30 SRCS+=  opensolaris_sysevent.c
   31 SRCS+=  opensolaris_taskq.c
   32 SRCS+=  opensolaris_uio.c
   33 SRCS+=  opensolaris_vfs.c
   34 SRCS+=  opensolaris_vm.c
   35 SRCS+=  opensolaris_zone.c
   36 
   37 _A=${SYSDIR}/cddl/contrib/opensolaris/common/atomic
   38 .if exists(${_A}/${MACHINE_CPUARCH}/opensolaris_atomic.S)
   39 .PATH:  ${_A}/${MACHINE_CPUARCH}
   40 SRCS+=          opensolaris_atomic.S
   41 .elif exists(${_A}/${MACHINE_ARCH}/opensolaris_atomic.S)
   42 .PATH:  ${_A}/${MACHINE_ARCH}
   43 SRCS+=          opensolaris_atomic.S
   44 .else
   45 SRCS+=          opensolaris_atomic.c
   46 .endif
   47 
   48 .PATH:  ${SUNW}/uts/common/fs
   49 SRCS+=  vnode.c
   50 
   51 .PATH:  ${SUNW}/uts/common/os
   52 SRCS+=  callb.c
   53 SRCS+=  fm.c
   54 SRCS+=  list.c
   55 SRCS+=  nvpair_alloc_system.c
   56 
   57 .PATH:  ${SUNW}/uts/common/zmod
   58 SRCS+=  adler32.c
   59 SRCS+=  opensolaris_crc32.c
   60 SRCS+=  deflate.c
   61 SRCS+=  inffast.c
   62 SRCS+=  inflate.c
   63 SRCS+=  inftrees.c
   64 SRCS+=  trees.c
   65 SRCS+=  zmod.c
   66 SRCS+=  zmod_subr.c
   67 SRCS+=  zutil.c
   68 
   69 .PATH:  ${SYSDIR}/crypto/sha2
   70 SRCS+=  sha256c.c sha512c.c
   71 
   72 .PATH:  ${SYSDIR}/crypto/skein
   73 SRCS+=  skein.c skein_block.c
   74 
   75 .PATH:  ${SUNW}/common/zfs
   76 .include "${SUNW}/uts/common/Makefile.files"
   77 .PATH:  ${SUNW}/uts/common/fs/zfs
   78 ZFS_SRCS=       ${ZFS_OBJS:C/.o$/.c/}
   79 SRCS+=  ${ZFS_SRCS}
   80 SRCS+=  vdev_geom.c
   81 SRCS+=  trim_map.c
   82 .PATH:  ${SUNW}/uts/common/fs/zfs/lua
   83 LUA_SRCS=       ${LUA_OBJS:C/.o$/.c/}
   84 SRCS+=  ${LUA_SRCS}
   85 
   86 # Use FreeBSD's namecache.
   87 CFLAGS+=-DFREEBSD_NAMECACHE
   88 
   89 CFLAGS+=-I${SYSDIR}/cddl/compat/opensolaris
   90 CFLAGS+=-I${SUNW}/uts/common/fs/zfs
   91 CFLAGS+=-I${SUNW}/uts/common/fs/zfs/lua
   92 CFLAGS+=-I${SUNW}/uts/common/zmod
   93 CFLAGS+=-I${SUNW}/uts/common
   94 CFLAGS+=-I${SYSDIR}
   95 CFLAGS+=-I${SUNW}/common/zfs
   96 CFLAGS+=-I${SUNW}/common
   97 CFLAGS+=-DBUILDING_ZFS
   98 CFLAGS.gcc+=-fms-extensions
   99 
  100 .if ${MACHINE_ARCH} == "powerpc64"
  101 CFLAGS.gcc+=-mminimal-toc
  102 .endif
  103 
  104 .ifdef ZFS_DEBUG
  105 CFLAGS+=-DDEBUG=1
  106 DEBUG_FLAGS=-g
  107 .endif
  108 
  109 .include <bsd.kmod.mk>
  110 
  111 CFLAGS+=        -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
  112 
  113 CWARNFLAGS+=-Wno-missing-prototypes
  114 CWARNFLAGS+=-Wno-undef
  115 CWARNFLAGS+=-Wno-strict-prototypes
  116 CWARNFLAGS+=-Wno-cast-qual
  117 CWARNFLAGS+=-Wno-parentheses
  118 CWARNFLAGS+=-Wno-redundant-decls
  119 CWARNFLAGS+=-Wno-missing-braces
  120 CWARNFLAGS+=-Wno-uninitialized
  121 CWARNFLAGS+=-Wno-unused
  122 CWARNFLAGS+=-Wno-inline
  123 CWARNFLAGS+=-Wno-switch
  124 CWARNFLAGS+=-Wno-pointer-arith

Cache object: 37c742ff8a3114c5061ed1e02f9c5cc6


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