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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/modules/common/eversholt/Makefile
          +++ new/usr/src/cmd/fm/modules/common/eversholt/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  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   25  #
  26   26  # eft.so (the eversholt DE)
  27   27  #
       28 +# Copyright (c) 2018, Joyent, Inc.
  28   29  
  29   30  .KEEP_STATE:
  30   31  
  31   32  EVERSRCDIR=../../../eversholt/common
  32   33  
  33   34  MODULE = eft
  34   35  CLASS = common
  35   36  DMOD = $(MODULE).so
  36   37  
  37   38  YSRCS=escparse.y 
↓ open down ↓ 4 lines elided ↑ open up ↑
  42   43  
  43   44  include ../../Makefile.plugin
  44   45  
  45   46  CPPFLAGS += -DFMAPLUGIN -I$(EVERSRCDIR) -I.
  46   47  CERRWARN += -_gcc=-Wno-unused-label
  47   48  CERRWARN += -_gcc=-Wno-uninitialized
  48   49  CERRWARN += -_gcc=-Wno-switch
  49   50  CERRWARN += -_gcc=-Wno-parentheses
  50   51  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  51   52  
       53 +# not linted
       54 +SMATCH=off
       55 +
  52   56  $(PROG) := LDFLAGS += -R/usr/lib/fm
  53   57  $(PROG) := LDLIBS += -L$(ROOTLIB)/fm -ltopo
  54   58  
  55   59  CLEANFILES += y.tab.h y.tab.c
  56   60  
  57   61  esclex.o: escparse.o
  58   62  
  59   63  %.o: $(EVERSRCDIR)/%.c
  60   64          $(COMPILE.c) $<
  61   65          $(CTFCONVERT_O)
  62   66  
  63   67  %.ln: $(EVERSRCDIR)/%.c
  64   68          $(LINT.c) -c $<
  65   69  
  66   70  escparse.o: $(EVERSRCDIR)/escparse.y
  67   71          $(YACC) -dt $(EVERSRCDIR)/escparse.y
  68   72          $(COMPILE.c) -DYYDEBUG -c -o $@ y.tab.c
  69   73          $(CTFCONVERT_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX