Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshell/Makefile.com
          +++ new/usr/src/lib/libshell/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  #
  23   23  # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  #
  25   26  
  26   27  SHELL=/usr/bin/ksh93
  27   28  
  28   29  LIBRARY=        libshell.a
  29   30  VERS=           .1
  30   31  
  31   32  OBJECTS= \
  32   33          bltins/alarm.o \
  33   34          bltins/cd_pwd.o \
↓ open down ↓ 120 lines elided ↑ open up ↑
 154  155          $(ASTCFLAGS64)
 155  156  
 156  157  CERRWARN        += -_gcc=-Wno-parentheses
 157  158  CERRWARN        += -_gcc=-Wno-unused-value
 158  159  CERRWARN        += -_gcc=-Wno-unused-variable
 159  160  CERRWARN        += -_gcc=-Wno-unused-function
 160  161  CERRWARN        += -_gcc=-Wno-uninitialized
 161  162  CERRWARN        += -_gcc=-Wno-clobbered
 162  163  CERRWARN        += -_gcc=-Wno-char-subscripts
 163  164  
      165 +# smatch gets out of memory on common/sh/macro.c
      166 +SMATCH          = off
      167 +
 164  168  pics/sh/macro.o         := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
 165  169  pics/sh/nvdisc.o        := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 166  170  
 167  171  .KEEP_STATE:
 168  172  
 169  173  all: mkpicdirs .WAIT $(LIBS)
 170  174  
 171  175  #
 172  176  # libshell is not lint-clean yet; fake up a target.  (You can use
 173  177  # "make lintcheck" to actually run lint; please send all lint fixes
 174  178  # upstream (to AT&T) so the next update will pull them into ON.)
 175  179  #
 176  180  lint:
 177  181          @ print "usr/src/lib/libshell is not lint-clean: skipping"
 178  182  
 179  183  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX