Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zonestat/zonestat/Makefile
          +++ new/usr/src/cmd/zonestat/zonestat/Makefile
↓ 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) 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  PROG =          zonestat
  26   27  SRCS =          zonestat.c
  27   28  OBJS =          $(SRCS:%.c=%.o)
  28   29  
  29   30  include ../../Makefile.cmd
  30   31  
  31   32  LDLIBS          += -lscf -lzonestat -lumem
  32   33  LINTFLAGS       += -u
  33   34  
  34   35  CERRWARN        += -_gcc=-Wno-uninitialized
  35   36  
       37 +# not linted
       38 +SMATCH=off
       39 +
  36   40  .KEEP_STATE:
  37   41  
  38   42  .PARALLEL:
  39   43  
  40   44  all: $(PROG)
  41   45  
  42   46  install: all $(ROOTPROG)
  43   47  
  44   48  clean:
  45   49          $(RM) $(OBJS)
  46   50  
  47   51  lint: lint_PROG
  48   52  
  49   53  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX