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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/eqn/eqn.d/Makefile
          +++ new/usr/src/cmd/eqn/eqn.d/Makefile
   1    1  #
   2    2  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
        5 +# Copyright (c) 2018, Joyent, Inc.
        6 +#
   5    7  
   6    8  include         ../../Makefile.cmd
   7    9  
   8   10  PROG =          eqn
   9   11  
  10   12  CSRCS =         diacrit.c eqnbox.c font.c fromto.c funny.c      \
  11   13                  glob.c integral.c io.c lex.c lookup.c           \
  12   14                  mark.c matrix.c move.c over.c paren.c           \
  13   15                  pile.c shift.c size.c sqrt.c text.c
  14   16  
↓ open down ↓ 13 lines elided ↑ open up ↑
  28   30  CLEANFILES =    y.tab.c y.tab.h $(YACCSRC:%.y=%.c) $(YACCSRC:%.y=%.def)
  29   31  
  30   32  YFLAGS =        -d
  31   33  CPPFLAGS =      -I. -I.. $(CPPFLAGS.master)
  32   34  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  33   35  
  34   36  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  35   37  CERRWARN +=     -_gcc=-Wno-unused-label
  36   38  CERRWARN +=     -_gcc=-Wno-uninitialized
  37   39  
       40 +# not linted
       41 +SMATCH=off
       42 +
  38   43  .KEEP_STATE:
  39   44  
  40   45  all :           $(PROG) 
  41   46  
  42   47  catalog:        $(POFILE)
  43   48  
  44   49  $(POFILE):      e.def $(POFILES)
  45   50          $(RM)   $@
  46   51          cat     $(POFILES)      > $@
  47   52  
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX