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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/dyn/Makefile.com
          +++ new/usr/src/lib/krb5/dyn/Makefile.com
↓ 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 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
       27 +
  26   28  LIBRARY= libdyn.a
  27   29  VERS= .1
  28   30  
  29   31  DYNOBJS= \
  30   32          dyn_create.o \
  31   33          dyn_put.o \
  32   34          dyn_debug.o \
  33   35          dyn_delete.o \
  34   36          dyn_size.o \
  35   37          dyn_append.o \
↓ open down ↓ 20 lines elided ↑ open up ↑
  56   58                  -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
  57   59                  -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
  58   60                  -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
  59   61                  -DHAVE_COMPILE=1
  60   62  
  61   63  CFLAGS +=       $(CCVERBOSE) -I..
  62   64  LDLIBS +=       -lc
  63   65  
  64   66  CERRWARN +=     -_gcc=-Wno-unused-variable
  65   67  
       68 +SMOFF += no_if_block
       69 +
  66   70  .KEEP_STATE:
  67   71  
  68   72  all:    $(LIBS)
  69   73  
  70   74  lint:   lintcheck
  71   75  
  72   76  # include library targets
  73   77  include ../../Makefile.targ
  74   78  
  75   79  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX