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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses2/Makefile.com
          +++ new/usr/src/lib/libxcurses2/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 2006 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=   .2
  28   29  
  29   30  # objects are grouped by source directory
  30   31  # all of the libxcurses source files are in src/libc
  31   32  OBJECTS= $(XCURSES)     $(MKS)  $(WIDE)
  32   33  
  33   34  # XCURSES source files are in src/libc/xcurses
  34   35  XCURSES= \
↓ open down ↓ 57 lines elided ↑ open up ↑
  92   93  $(LINTLIB):= SRCS=../src/libc/llib-lcurses
  93   94  
  94   95  LINTSRC=        $(LINTLIB:%.ln=%)
  95   96  
  96   97  LDLIBS += -lc
  97   98  
  98   99  CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
  99  100  CERRWARN += -_gcc=-Wno-uninitialized
 100  101  CERRWARN += -_gcc=-Wno-unused-value
 101  102  
      103 +# not linted
      104 +SMATCH=off
      105 +
 102  106  #
 103  107  # If and when somebody gets around to messaging this, CLOBBERFILE should not
 104  108  # be cleared (so that any .po file will be clobbered.
 105  109  #
 106  110  CLOBBERFILES=   libcurses.so libcurses.so$(VERS)
 107  111  
 108  112  .KEEP_STATE:
 109  113  
 110  114  all: $(LIBS)
 111  115  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX