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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ypcmd/ypupdated/Makefile
          +++ new/usr/src/cmd/ypcmd/ypupdated/Makefile
↓ 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  NETYPPROG =     rpc.ypupdated
  27   28  PROG =          $(NETYPPROG)
  28   29  
  29   30  MANIFEST =      update.xml
  30   31  
  31   32  include ../../Makefile.cmd
  32   33  
  33   34  ROOTMANIFESTDIR = $(ROOTSVCNETWORKNIS)
  34   35  
↓ open down ↓ 13 lines elided ↑ open up ↑
  48   49  
  49   50  RPCYPUPDATEOBJ =        rpc.ypupdated.o openchild.o
  50   51  
  51   52  OBJS =                  $(RPCYPUPDATEOBJ)
  52   53  
  53   54  SRCS =                  $(OBJS:%.o=%.c)
  54   55  
  55   56  CERRWARN +=             -_gcc=-Wno-implicit-function-declaration
  56   57  CERRWARN +=             -_gcc=-Wno-unused-variable
  57   58  
       59 +# not linted
       60 +SMATCH=off
       61 +
  58   62  CLOBBERFILES += ypupdated_prot.h
  59   63  
  60   64  #conditional assignments
  61   65  $(INETSVC)   := FILEMODE=555
  62   66  
  63   67  #install rules
  64   68  
  65   69  .KEEP_STATE:
  66   70  
  67   71  all: $(PROG)
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX