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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ldapcachemgr/Makefile
          +++ new/usr/src/cmd/ldapcachemgr/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  PROG=   ldap_cachemgr
  27   28  
  28   29  MANIFEST=       client.xml
  29   30  SVCMETHOD=      ldap-client
  30   31  
  31   32  include ../Makefile.cmd
  32   33  
  33   34  #
  34   35  # To compile in the $mgr SLP support
↓ open down ↓ 13 lines elided ↑ open up ↑
  48   49  
  49   50  CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  50   51                  -I$(SRC)/lib/libsldap/common \
  51   52                  -I$(SRC)/lib/libldap5/include/ldap \
  52   53                  -I$(SRC)/lib/libc/port/gen
  53   54  
  54   55  CERRWARN +=     -_gcc=-Wno-parentheses
  55   56  CERRWARN +=     -_gcc=-Wno-switch
  56   57  CERRWARN +=     -_gcc=-Wno-uninitialized
  57   58  
       59 +# not linted
       60 +SMATCH=off
       61 +
  58   62  # Message files
  59   63  POFILE=         ldap_cachemgr.po
  60   64  POFILES=        ${OBJS:%.o=%.po}
  61   65  
  62   66  LINTOUT=        lint.out
  63   67  
  64   68  # TCOV_FLAG=    -ql
  65   69  
  66   70  LDLIBS +=       -lumem -lsldap
  67   71  
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX