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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/modules/common/fabric-xlate/Makefile
          +++ new/usr/src/cmd/fm/modules/common/fabric-xlate/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  MODULE = fabric-xlate
  27   28  CLASS = common
  28   29  SRCS = fabric-xlate.c fx_epkt.c fx_fabric.c fx_fire.c fx_subr.c
  29   30  
  30   31  include ../../Makefile.plugin
  31   32  
  32   33  CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(KMFDIR)/include -I.
  33   34  CPPFLAGS += -I$(SRC)/uts/sun4v/io/px
  34   35  INCDIRS = $(SRC)/uts/common
  35   36  CFLAGS += -I$(INCDIRS)
  36   37  LINTFLAGS += -I$(INCDIRS)
  37   38  
  38   39  LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
  39   40  LDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
  40   41  
  41   42  CERRWARN += -_gcc=-Wno-parentheses
  42   43  CERRWARN += -_gcc=-Wno-switch
  43   44  CERRWARN += -_gcc=-Wno-uninitialized
       45 +
       46 +# not linted
       47 +SMATCH=off
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX