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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/kdb/Makefile.com
          +++ new/usr/src/lib/krb5/kdb/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 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY= libkdb.a
  27   28  VERS= .1
  28   29  
  29   30  # kdb
  30   31  KDBOBJS= \
  31   32          keytab.o \
  32   33          encrypt_key.o \
  33   34          decrypt_key.o \
  34   35          kdb_convert.o \
↓ open down ↓ 45 lines elided ↑ open up ↑
  80   81                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  81   82  
  82   83  CFLAGS +=       $(CCVERBOSE) -I..
  83   84  
  84   85  CERRWARN +=     -_gcc=-Wno-unused-variable
  85   86  CERRWARN +=     -_gcc=-Wno-unused-function
  86   87  CERRWARN +=     -_gcc=-Wno-type-limits
  87   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  88   89  CERRWARN +=     -_gcc=-Wno-parentheses
  89   90  
       91 +SMOFF += indenting,all_func_returns,deref_check,signed
       92 +
  90   93  DYNFLAGS +=     $(KRUNPATH) $(KMECHLIB)
  91   94  LDLIBS +=       -lc -lnsl
  92   95  
  93   96  .KEEP_STATE:
  94   97  
  95   98  all:    $(LIBS)
  96   99  
  97  100  # Rules to rpcgen-erate derived files from the iprop.x spec file
  98  101  $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
  99  102          $(RM)   $@
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX