Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile
          +++ new/usr/src/cmd/mdb/intel/amd64/libzpool/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright 2017 RackTop Systems.
       27 +#
  26   28  
  27   29  MODULE = libzpool.so
  28   30  MDBTGT = proc
  29   31  
  30   32  MODSRCS = zfs.c list.c
  31   33  
  32   34  include ../../../../Makefile.cmd
  33   35  include ../../../../Makefile.cmd.64
  34   36  include ../../Makefile.amd64
  35   37  include ../../../Makefile.module
  36   38  include ../../../common/modules/zfs/Makefile.zfs
  37   39  
  38   40  MODSRCS_DIR = ../../../common/modules/zfs
  39   41  GENUNIX_DIR = ../../../common/modules/genunix
  40   42  
       43 +CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common -D_FAKE_KERNEL
  41   44  CPPFLAGS += -I../../../../../lib/libzpool/common \
  42   45          -I../../../../../uts/common/fs/zfs
  43   46  
  44   47  C99MODE=        -xc99=%all
  45   48  C99LMODE=       -Xc99=%all
  46   49  
  47   50  CERRWARN        += -_gcc=-Wno-type-limits
  48   51  
  49   52  dmod/%.o: $(GENUNIX_DIR)/%.c
  50   53          $(COMPILE.c) -o $@ $<
  51   54          $(CTFCONVERT_O)
  52   55  
  53   56  dmod/%.ln: $(GENUNIX_DIR)/%.c
  54   57          $(LINT.c) -c $<
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX