Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzpool/Makefile.com
          +++ new/usr/src/lib/libzpool/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  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      -# Copyright 2017 Joyent, Inc.
       24 +# Copyright (c) 2018, 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   32  KERNEL_OBJS = kernel.o util.o
  33   33  DTRACE_OBJS = zfs.o
  34   34  
↓ open down ↓ 42 lines elided ↑ open up ↑
  77   77  LINTFLAGS64 +=  -erroff=E_STATIC_UNUSED $(INCS)
  78   78  
  79   79  CERRWARN +=     -_gcc=-Wno-parentheses
  80   80  CERRWARN +=     -_gcc=-Wno-switch
  81   81  CERRWARN +=     -_gcc=-Wno-type-limits
  82   82  CERRWARN +=     -_gcc=-Wno-unused-variable
  83   83  CERRWARN +=     -_gcc=-Wno-empty-body
  84   84  CERRWARN +=     -_gcc=-Wno-unused-function
  85   85  CERRWARN +=     -_gcc=-Wno-unused-label
  86   86  
       87 +# not linted
       88 +SMATCH=off
       89 +
  87   90  .KEEP_STATE:
  88   91  
  89   92  all: $(LIBS)
  90   93  
  91   94  lint: $(LINTLIB)
  92   95  
  93   96  include ../../Makefile.targ
  94   97  
  95   98  EXTPICS= $(DTRACE_OBJS:%=pics/%)
  96   99  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX