Print this page
10078 smatch fixes for UCB

Split Close
Expand all
Collapse all
          --- old/usr/src/ucblib/libcurses/Makefile.com
          +++ new/usr/src/ucblib/libcurses/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY=        libcurses.a
  27   28  VERS=           .1
  28   29  
  29   30  OBJECTS=                \
  30   31          addch.o         \
  31   32          addstr.o        \
  32   33          box.o           \
  33   34          clear.o         \
  34   35          clrtobot.o      \
↓ open down ↓ 47 lines elided ↑ open up ↑
  82   83  DYNFLAGS32 =    -R/usr/ucblib
  83   84  DYNFLAGS64 =    -R/usr/ucblib/$(MACH64)
  84   85  LDLIBS +=       -ltermcap -lucb -lc
  85   86  
  86   87  CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
  87   88  
  88   89  CERRWARN +=     -_gcc=-Wno-parentheses
  89   90  CERRWARN +=     -_gcc=-Wno-unused-variable
  90   91  CERRWARN +=     -_gcc=-Wno-uninitialized
  91   92  
       93 +# not linted
       94 +SMATCH=off
       95 +
  92   96  .KEEP_STATE:
  93   97  
  94   98  all: $(LIBS)
  95   99  
  96  100  lint: lintcheck
  97  101  
  98  102  #
  99  103  # Include library targets
 100  104  #
 101  105  include $(SRC)/lib/Makefile.targ
 102  106  
 103  107  objs/%.o pics/%.o: ../%.c
 104  108          $(COMPILE.c) -o $@ $<
 105  109          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX