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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnsl/Makefile.com
          +++ new/usr/src/lib/libnsl/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  #
  23   23  # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2018 Nexenta Systems, Inc. All rights reserved.
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  #
  26   27  
  27   28  LIBRARY= libnsl.a
  28   29  VERS=   .1
  29   30  
  30   31  # objects are listed by source directory
  31   32  
  32   33  # common utility code used in more than one directory
  33   34  COMMON=         common.o daemon_utils.o
  34   35  
↓ open down ↓ 161 lines elided ↑ open up ↑
 196  197  
 197  198  CERRWARN +=     -_gcc=-Wno-char-subscripts
 198  199  CERRWARN +=     -_gcc=-Wno-parentheses
 199  200  CERRWARN +=     -_gcc=-Wno-uninitialized
 200  201  CERRWARN +=     -_gcc=-Wno-switch
 201  202  CERRWARN +=     -_gcc=-Wno-char-subscripts
 202  203  CERRWARN +=     -_gcc=-Wno-empty-body
 203  204  CERRWARN +=     -_gcc=-Wno-unused-variable
 204  205  CERRWARN +=     -_gcc=-Wno-clobbered
 205  206  
      207 +# not linted
      208 +SMATCH=off
      209 +
 206  210  LIBMP =         -lmp
 207  211  lint :=         LIBMP =
 208  212  LDLIBS +=       $(LIBMP) -lmd -lc
 209  213  DYNFLAGS +=     $(ZNODELETE)
 210  214  
 211  215  $(LINTLIB):=    SRCS=$(SRCDIR)/$(LINTSRC)
 212  216  LINTFLAGS +=    -m -DPORTMAP
 213  217  LINTFLAGS64 +=  -m -DPORTMAP
 214  218  
 215  219  .KEEP_STATE:
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX