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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/kadm5/srv/Makefile.com
          +++ new/usr/src/lib/krb5/kadm5/srv/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= libkadm5srv.a
  27   28  VERS= .1
  28   29  
  29   30  SRV_OBJS = svr_policy.o \
  30   31          svr_principal.o \
  31   32          server_acl.o \
  32   33          server_kdb.o \
  33   34          server_misc.o \
  34   35          server_init.o \
↓ open down ↓ 51 lines elided ↑ open up ↑
  86   87          -DUSE_KADM5_API_VERSION=2
  87   88  
  88   89  CFLAGS +=       $(CCVERBOSE) -I..
  89   90  
  90   91  CERRWARN +=     -_gcc=-Wno-unused-function
  91   92  CERRWARN +=     -_gcc=-Wno-unused-variable
  92   93  CERRWARN +=     -_gcc=-Wno-parentheses
  93   94  CERRWARN +=     -_gcc=-Wno-type-limits
  94   95  CERRWARN +=     -_gcc=-Wno-uninitialized
  95   96  
       97 +SMOFF += all_func_returns,indenting
       98 +
  96   99  .KEEP_STATE:
  97  100  
  98  101  all:    $(LIBS)
  99  102  
 100  103  lint:   lintcheck
 101  104  
 102  105  # include library targets
 103  106  include ../../../Makefile.targ
 104  107  
 105  108  pics/%.o: ../../%.c
 106  109          $(COMPILE.c) -o $@ $<
 107  110          $(POST_PROCESS_O)
 108  111  
 109  112  FRC:
 110  113  
 111  114  generic.po: FRC
 112  115          $(RM) messages.po
 113  116          $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch] ../../*.[ch]`
 114  117          $(SED) "/^domain/d" messages.po > $@
 115  118          $(RM) messages.po
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX