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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdiskmgt/Makefile.com
          +++ new/usr/src/lib/libdiskmgt/Makefile.com
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  # Copyright 2016 Nexenta Systems, Inc.
  26      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  27   27  
  28   28  LIBRARY =       libdiskmgt.a
  29   29  VERS =          .1
  30   30  OBJECTS =       alias.o \
  31   31                  assoc_types.o \
  32   32                  bus.o \
  33   33                  cache.o \
  34   34                  controller.o \
  35   35                  drive.o \
  36   36                  entry.o \
↓ open down ↓ 21 lines elided ↑ open up ↑
  58   58  
  59   59  SRCDIR =        ../common
  60   60  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  61   61  
  62   62  CFLAGS +=       $(CCVERBOSE)
  63   63  CERRWARN +=     -_gcc=-Wno-switch
  64   64  CERRWARN +=     -_gcc=-Wno-parentheses
  65   65  CERRWARN +=     -_gcc=-Wno-uninitialized
  66   66  CPPFLAGS +=     -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
  67   67  
       68 +# not linted
       69 +SMATCH=off
       70 +
  68   71  .KEEP_STATE:
  69   72  
  70   73  all: $(LIBS)
  71   74  
  72   75  lint: lintcheck
  73   76  
  74   77  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX