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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ypcmd/Makefile
          +++ new/usr/src/cmd/ypcmd/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 2015 Gary Mills
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  #
  26   27  
  27   28  BINPROG = ypmatch ypwhich ypcat
  28   29  SBINPROG = makedbm ypalias ypinit yppoll ypset
  29   30  NETYPPROG = ypbind ypxfr yppush udpublickey mkalias \
  30   31                  multi multi.awk stdethers stdhosts \
  31   32                  ypxfr_1perday ypxfr_1perhour ypxfr_2perday \
  32   33                  ypstart ypstop
  33   34  NIS2LDAPPROG = ypxfrd ypserv ypxfr
  34   35  SVCMETHOD = yp
↓ open down ↓ 111 lines elided ↑ open up ↑
 146  147  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 147  148  CERRWARN +=     -_gcc=-Wno-parentheses
 148  149  CERRWARN +=     -_gcc=-Wno-unused-variable
 149  150  CERRWARN +=     -_gcc=-Wno-uninitialized
 150  151  CERRWARN +=     -_gcc=-Wno-switch
 151  152  CERRWARN +=     -_gcc=-Wno-extra
 152  153  CERRWARN +=     -_gcc=-Wno-unused-label
 153  154  CERRWARN +=     -_gcc=-Wno-address
 154  155  CERRWARN +=     -_gcc=-Wno-unused-function
 155  156  
      157 +# too many unknown types
      158 +SMATCH =        off
      159 +
 156  160  #conditional assignments
 157  161  ypalias.o :=    CPPFLAGS= -DMAIN $(CPPFLAGS.master)
 158  162  makedbm.o :=    CPPFLAGS= $(CPPFLAGS.master)
 159  163  yp_b_svc.o :=   CPPFLAGS += -DINIT_DEFAULT
 160  164  ypxfrd_svc.o := CPPFLAGS += -Dmain=_main
 161  165  ypxfr.o := CPPFLAGS += $(NIS2LDAPINC)
 162  166  yppush.o := CPPFLAGS += $(NIS2LDAPINC)
 163  167  $(NIS2LDAPPROG) := CPPFLAGS += $(NIS2LDAPINC)
 164  168  $(SHAREDOBJ) := CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
 165  169  $(ROOTVAR_YP)/Makefile := FILEMODE= 555
↓ open down ↓ 146 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX