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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dlstat/Makefile
          +++ new/usr/src/cmd/dlstat/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  PROG= dlstat
  28   28  
  29   29  ROOTFS_PROG=    $(PROG)
  30   30  
  31   31  include ../Makefile.cmd
  32   32  
  33   33  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  34   34  CERRWARN += -_gcc=-Wno-unused-label
  35   35  CERRWARN += -_gcc=-Wno-unused-variable
  36   36  CERRWARN += -_gcc=-Wno-uninitialized
  37   37  
       38 +# not linted
       39 +SMATCH=off
       40 +
  38   41  XGETFLAGS += -a -x $(PROG).xcl
  39   42  LDLIBS += -L$(ROOT)/lib
  40   43  LDLIBS += -ldladm -lofmt
  41   44  
  42   45  .KEEP_STATE:
  43   46  
  44   47  all: $(ROOTFS_PROG)
  45   48  
  46   49  install: all $(ROOTSBINPROG)
  47   50          $(RM) $(ROOTUSRSBINPROG)
  48   51          -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
  49   52  
  50   53  clean:
  51   54  
  52   55  lint:   lint_PROG
  53   56  
  54   57  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX