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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rcm_daemon/Makefile.com
          +++ new/usr/src/cmd/rcm_daemon/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) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2016 Nexenta Systems, Inc.
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  #
  26   27  
  27   28  include ../../Makefile.cmd
  28   29  
  29   30  COMMON = ../common
  30   31  
  31   32  RCM_SRC = \
  32   33          $(COMMON)/rcm_event.c \
  33   34          $(COMMON)/rcm_main.c \
  34   35          $(COMMON)/rcm_impl.c \
↓ open down ↓ 82 lines elided ↑ open up ↑
 117  118  
 118  119  CPPFLAGS += -I..
 119  120  CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
 120  121  CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
 121  122  
 122  123  CERRWARN += -_gcc=-Wno-parentheses
 123  124  CERRWARN += -_gcc=-Wno-unused-label
 124  125  CERRWARN += -_gcc=-Wno-uninitialized
 125  126  CERRWARN += -_gcc=-Wno-unused-function
 126  127  
      128 +# not linted
      129 +SMATCH=off
      130 +
 127  131  MAPFILES = ../common/mapfile-intf $(MAPFILE.NGB)
 128  132  rcm_daemon := LDFLAGS += $(MAPFILES:%=-M%)
 129  133  
 130  134  LINTFLAGS += -u -erroff=E_FUNC_ARG_UNUSED
 131  135  
 132  136  LDLIBS_MODULES =
 133  137  SUNW_pool_rcm.so := LDLIBS_MODULES += -L$(ROOT)/usr/lib -lpool
 134  138  SUNW_network_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 135  139  SUNW_vlan_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 136  140  SUNW_vnic_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
↓ open down ↓ 102 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX