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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/eqn/neqn.d/Makefile
          +++ new/usr/src/cmd/eqn/neqn.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.
   5    6  
   6    7  include         ../../Makefile.cmd
   7    8  
   8    9  PROG =          neqn
   9   10  
  10   11  CSRCS =         diacrit.c eqnbox.c font.c fromto.c funny.c      \
  11   12                  glob.c integral.c io.c lex.c lookup.c           \
  12   13                  mark.c matrix.c move.c over.c paren.c           \
  13   14                  pile.c shift.c size.c sqrt.c text.c
  14   15  
↓ open down ↓ 8 lines elided ↑ open up ↑
  23   24  CLEANFILES =    y.tab.c y.tab.h $(YACCSRC:%.y=%.c) $(YACCSRC:%.y=%.def)
  24   25  
  25   26  YFLAGS =        -d
  26   27  CPPFLAGS =      -DNEQN -I. -I.. $(CPPFLAGS.master)
  27   28  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  28   29  
  29   30  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  30   31  CERRWARN +=     -_gcc=-Wno-uninitialized
  31   32  CERRWARN +=     -_gcc=-Wno-unused-label
  32   33  
       34 +# not linted
       35 +SMATCH=off
       36 +
  33   37  #
  34   38  # for message catalog
  35   39  #
  36   40  POFILE= neqn.d.po
  37   41  POFILES= e.po
  38   42  
  39   43  .KEEP_STATE:
  40   44  
  41   45  all :           $(PROG)
  42   46  
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX