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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ldap/Makefile.com
          +++ new/usr/src/cmd/ldap/Makefile.com
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
       23 +# Copyright (c) 2018, Joyent, Inc.
  23   24  #
  24   25  # cmd/ldap/Makefile.com
  25   26  # Native LDAP II commands (makestyle clean).
  26   27  #
  27   28  include $(SRC)/cmd/Makefile.cmd
  28   29  
  29   30  LDAPMOD=        ldapmodify
  30   31  LDAPADD=        ldapadd
  31   32  LDAPPROG=       ldapmodrdn ldapsearch ldapdelete $(LDAPMOD)
  32   33  LDAPSRCS=       $(LDAPPROG:%=../common/%.c)
↓ open down ↓ 49 lines elided ↑ open up ↑
  82   83  
  83   84  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
  84   85  LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
  85   86  
  86   87  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  87   88  CERRWARN +=     -_gcc=-Wno-parentheses
  88   89  CERRWARN +=     -_gcc=-Wno-unused-function
  89   90  CERRWARN +=     -_gcc=-Wno-unused-variable
  90   91  CERRWARN +=     -_gcc=-Wno-uninitialized
  91   92  
       93 +# not linted
       94 +SMATCH=off
       95 +
  92   96  all:=           TARGET= all
  93   97  install:=       TARGET= install
  94   98  clean:=         TARGET= clean
  95   99  clobber:=       TARGET= clobber
  96  100  lint:=          TARGET= lint
  97  101  
  98  102  # C Pre-Processor flags used by C, CC & lint
  99  103  CPPFLAGS +=     -DSUN -DSVR4 -DSOLARIS_LDAP_CMD \
 100  104                  -I $(SRC)/lib/libldap5/include/ldap \
 101  105                  -I $(SRC)/lib/libsldap/common \
↓ open down ↓ 99 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX