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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/kadm5/clnt/Makefile.com
          +++ new/usr/src/lib/krb5/kadm5/clnt/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 2009 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= libkadm5clnt.a
  27   28  VERS= .1
  28   29  
  29   30  CLNT_OBJS = clnt_policy.o \
  30   31          client_rpc.o \
  31   32          client_principal.o \
  32   33          client_init.o \
  33   34          clnt_privs.o \
  34   35          clnt_chpass_util.o \
↓ open down ↓ 44 lines elided ↑ open up ↑
  79   80          -DHAVE_SYSLOG_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1 \
  80   81          -DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DUSE_KADM5_API_VERSION=2
  81   82  
  82   83  CFLAGS +=       $(CCVERBOSE) -I..
  83   84  
  84   85  CERRWARN +=     -_gcc=-Wno-unused-function
  85   86  CERRWARN +=     -_gcc=-Wno-unused-variable
  86   87  CERRWARN +=     -_gcc=-Wno-parentheses
  87   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  88   89  
       90 +SMOFF += all_func_returns,indenting,no_if_block
       91 +
  89   92  LDLIBS +=       -lc
  90   93  
  91   94  .KEEP_STATE:
  92   95  
  93   96  all:    $(LIBS)
  94   97  
  95   98  # Rpcgen-erate iprop.h from the iprop.x spec file
  96   99  $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
  97  100          $(RM)   $@
  98  101          $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX