Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzpool/Makefile.com
          +++ new/usr/src/lib/libzpool/Makefile.com
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright (c) 2013, 2016 by Delphix. All rights reserved.
  24   24  # Copyright 2017 Joyent, Inc.
  25   25  #
  26   26  
  27   27  LIBRARY= libzpool.a
  28   28  VERS= .1
  29   29  
  30   30  # include the list of ZFS sources
  31   31  include ../../../uts/common/Makefile.files
  32      -KERNEL_OBJS = kernel.o taskq.o util.o
       32 +KERNEL_OBJS = kernel.o util.o
  33   33  DTRACE_OBJS = zfs.o
  34   34  
  35   35  OBJECTS=$(LUA_OBJS) $(ZFS_COMMON_OBJS) $(ZFS_SHARED_OBJS) $(KERNEL_OBJS)
  36   36  
  37   37  # include library definitions
  38   38  include ../../Makefile.lib
  39   39  
  40   40  LUA_SRCS=               $(LUA_OBJS:%.o=../../../uts/common/fs/zfs/lua/%.c)
  41   41  ZFS_COMMON_SRCS=        $(ZFS_COMMON_OBJS:%.o=../../../uts/common/fs/zfs/%.c)
  42   42  ZFS_SHARED_SRCS=        $(ZFS_SHARED_OBJS:%.o=../../../common/zfs/%.c)
↓ open down ↓ 17 lines elided ↑ open up ↑
  60   60  CLEANFILES += $(EXTPICS)
  61   61  
  62   62  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  63   63  $(LINTLIB): ../common/zfs.h
  64   64  
  65   65  C99MODE=        -xc99=%all
  66   66  C99LMODE=       -Xc99=%all
  67   67  
  68   68  CFLAGS +=       -g $(CCVERBOSE) $(CNOGLOBAL)
  69   69  CFLAGS64 +=     -g $(CCVERBOSE) $(CNOGLOBAL)
  70      -LDLIBS +=       -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd
  71      -CPPFLAGS +=     $(INCS) -DDEBUG
       70 +LDLIBS +=       -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd \
       71 +                -lfakekernel
       72 +CPPFLAGS.first =        -I$(SRC)/lib/libfakekernel/common
       73 +CPPFLAGS +=     $(INCS) -DDEBUG -D_FAKE_KERNEL
  72   74  
       75 +LINTFLAGS +=    -erroff=E_STATIC_UNUSED $(INCS)
       76 +LINTFLAGS64 +=  -erroff=E_STATIC_UNUSED $(INCS)
       77 +
  73   78  CERRWARN +=     -_gcc=-Wno-parentheses
  74   79  CERRWARN +=     -_gcc=-Wno-switch
  75   80  CERRWARN +=     -_gcc=-Wno-type-limits
  76   81  CERRWARN +=     -_gcc=-Wno-unused-variable
  77   82  CERRWARN +=     -_gcc=-Wno-empty-body
  78   83  CERRWARN +=     -_gcc=-Wno-unused-function
  79   84  CERRWARN +=     -_gcc=-Wno-unused-label
  80   85  
  81   86  .KEEP_STATE:
  82   87  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX