Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libldap5/Makefile.com
          +++ new/usr/src/lib/libldap5/Makefile.com
↓ 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 2008 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  LIBRARY= libldap.a
  27   28  VERS= .5
  28   29  
  29   30  # Definition of all the objects macros
  30   31  # The LDAP specific objects
  31   32  
  32   33  BEROBJS=        bprint.o        decode.o        encode.o       io.o
  33   34  
  34   35  LDAPOBJS=  abandon.o add.o bind.o cache.o charray.o \
↓ open down ↓ 78 lines elided ↑ open up ↑
 113  114  CFLAGS64 +=     $(LOCFLAGS)
 114  115  
 115  116  CERRWARN +=     -_gcc=-Wno-parentheses
 116  117  CERRWARN +=     -_gcc=-Wno-uninitialized
 117  118  CERRWARN +=     -_gcc=-Wno-type-limits
 118  119  CERRWARN +=     -_gcc=-Wno-unused-function
 119  120  CERRWARN +=     -_gcc=-Wno-unused-variable
 120  121  CERRWARN +=     -_gcc=-Wno-unused-value
 121  122  CERRWARN +=     -_gcc=-Wno-address
 122  123  
      124 +# not linted
      125 +SMATCH=off
      126 +
 123  127  LDLIBS +=       -lsasl -lsocket -lnsl -lmd -lc
 124  128  
 125  129  .KEEP_STATE:
 126  130  
 127  131  # include library targets
 128  132  include ../../Makefile.targ
 129  133  
 130  134  pics/%.o: ../sources/ldap/ber/%.c
 131  135          $(COMPILE.c) $(LDAP_FLAGS) $(COM_INC) -o $@ $<
 132  136          $(POST_PROCESS_O)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX