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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/rdist/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/rdist/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      -# cmd/cmd-inet/usr.bin/rdist/Makefile
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  PROG=   rdist
  28   28  OBJS=   docmd.o expand.o lookup.o main.o server.o
  29   29  KCMDOBJS=       kcmd.o
  30   30  YOBJS=  gram.o
  31   31  SRCS=   $(OBJS:.o=.c) $(CMDINETCOMMONDIR)/$(KCMDOBJS:.o=.c)
  32   32  YSRCS=  $(YOBJS:.o=.y)
  33   33  
  34   34  include ../../../Makefile.cmd
  35   35  include ../../Makefile.cmd-inet
↓ open down ↓ 12 lines elided ↑ open up ↑
  48   48                  -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5
  49   49  
  50   50  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  51   51  CERRWARN +=     -_gcc=-Wno-unused-variable
  52   52  CERRWARN +=     -_gcc=-Wno-unused-function
  53   53  CERRWARN +=     -_gcc=-Wno-unused-label
  54   54  CERRWARN +=     -_gcc=-Wno-parentheses
  55   55  CERRWARN +=     -_gcc=-Wno-clobbered
  56   56  CERRWARN +=     -_gcc=-Wno-uninitialized
  57   57  
       58 +# not linted
       59 +SMATCH=off
       60 +
  58   61  ROOTSYMLINK=    $(ROOT)/usr/ucb/$(PROG)
  59   62  
  60   63  # conditional assignments
  61   64  $(ROOTPROG) :=      FILEMODE=       04555
  62   65  
  63   66  .KEEP_STATE:
  64   67  
  65   68  all: $(PROG)
  66   69  
  67   70  $(PROG): $(OBJS) $(KCMDOBJS) $(YOBJS) $(MAPFILE.NGB)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX