Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libcurses/Makefile.com
          +++ new/usr/src/lib/libcurses/Makefile.com
↓ 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  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23   23  # Copyright 2006 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  LIBRARY=        libcurses.a
  28   29  VERS=   .1
  29   30  
  30   31  OBJECTS=        $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS6)
  31   32  
  32   33  OBJS1=  _addch.o _addchnstr.o _addchstr.o _addnstr.o _addstr.o \
  33   34          _attroff.o _attron.o _attrset.o _beep.o _bkgd.o \
  34   35          _bkgdset.o _border.o _box.o _clear.o _clrtobot.o \
  35   36          _clrtoeol.o _crmode.o _del_curterm.o _delch.o _deleteln.o \
↓ open down ↓ 109 lines elided ↑ open up ↑
 145  146  LINTSRC=        $(LINTLIB:%.ln=%)
 146  147  
 147  148  CLEANFILES +=   $(LINTOUT) $(LINTLIB)
 148  149  
 149  150  CFLAGS  +=      $(CCVERBOSE)
 150  151  
 151  152  CERRWARN +=     -_gcc=-Wno-char-subscripts
 152  153  CERRWARN +=     -_gcc=-Wno-uninitialized
 153  154  CERRWARN +=     -_gcc=-Wno-parentheses
 154  155  
      156 +# not linted
      157 +SMATCH=off
      158 +
 155  159  LDLIBS += -lc
 156  160  
 157  161  CPPFLAGS += -I../screen -I../../common/inc
 158  162  
 159  163  ED = ed
 160  164  RM = rm -f
 161  165  
 162  166  #
 163  167  # If and when somebody gets around to messaging this, CLOBBERFILE should not
 164  168  # be cleared (so that any .po file will be clobbered.
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX