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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ttymon/Makefile
          +++ new/usr/src/cmd/ttymon/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  PROG= stty ttymon ttyadm sttydefs
  28   29  XPG4PROG= stty
  29   30  
  30   31  # the 'stty' objects have to be made in a separate directory
  31   32  # since only they are built with the -DEUC flag (see below).
  32   33  STTYOBJ=        sttyobjs/stty.o sttyobjs/sttytable.o sttyobjs/sttyparse.o
  33   34  
  34   35  XPG4STTYOBJ=    sttyobjs.xpg4/stty.o sttyobjs.xpg4/sttytable.o \
  35   36                  sttyobjs.xpg4/sttyparse.o
↓ open down ↓ 35 lines elided ↑ open up ↑
  71   72  
  72   73  LINTFLAGS = -b -x
  73   74  CFLAGS += $(CCVERBOSE)
  74   75  LDFLAGS += $(MAPFILE.NGB:%=-M%)
  75   76  
  76   77  CERRWARN +=     -_gcc=-Wno-parentheses
  77   78  CERRWARN +=     -_gcc=-Wno-unused-variable
  78   79  CERRWARN +=     -_gcc=-Wno-uninitialized
  79   80  CERRWARN +=     -_gcc=-Wno-extra
  80   81  
       82 +# not linted
       83 +SMATCH=off
       84 +
  81   85  #
  82   86  # Message catalog
  83   87  #
  84   88  POFILES= $(STTYOBJ:sttyobjs/%.o=%.po)
  85   89  POFILE= ttymon.po
  86   90  
  87   91  
  88   92  LIBSAFD= $(ROOTLIB)/saf
  89   93  DIRS= $(LIBSAFD)
  90   94  LIBSAF= ttymon
↓ open down ↓ 77 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX