Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/acct/Makefile
          +++ new/usr/src/cmd/acct/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2015 Gary Mills
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  PROG=           acctcms acctcom acctcon acctcon1 acctcon2 \
  28   29                  acctdisk acctdusg acctmerg accton acctprc acctprc1 \
  29   30                  acctprc2 acctwtmp closewtmp fwtmp \
  30   31                  wtmpfix utmp2wtmp
  31   32  SHFILE1=        acct chargefee ckpacct dodisk lastlogin\
  32   33                  monacct nulladm prctmp prdaily prtacct \
  33   34                  remove runacct shutacct startup turnacct
  34   35  SHFILE2=        ptecms.awk ptelus.awk
  35   36  SUBDIRS=        lib
↓ open down ↓ 49 lines elided ↑ open up ↑
  85   86  $(WKDIRS) :=            DIRMODE=        775
  86   87  $(LIBACCTD)/accton :=   FILEMODE=       04755
  87   88  $(ETCINITPROG) :=       FILEMODE=       0744
  88   89  $(ETCACCTPROG) :=       FILEMODE=       0644
  89   90  
  90   91  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  91   92  CERRWARN +=     -_gcc=-Wno-parentheses
  92   93  CERRWARN +=     -_gcc=-Wno-unused-variable
  93   94  CERRWARN +=     -_gcc=-Wno-address
  94   95  
       96 +# not linted
       97 +SMATCH=off
       98 +
  95   99  .KEEP_STATE:
  96  100  
  97  101  .PARALLEL: $(ALL)
  98  102  
  99  103  all: $(SUBDIRS) .WAIT $(ALL)
 100  104  
 101  105  install: all .WAIT $(DIRS) .WAIT $(USRBINPROG) $(LIBACCTPROG) $(ETCACCTPROG) \
 102  106          $(ETCINITPROG)
 103  107  
 104  108  THIS_YEAR:sh=   date +%Y
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX