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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/Makefile.com
          +++ new/usr/src/lib/libxcurses/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=   .1
  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= \
  32   33  $(XCURSES)      $(GEN)          $(I18N)         $(MKS) \
  33   34  $(STDIO)        $(WIDE)
  34   35  
↓ open down ↓ 69 lines elided ↑ open up ↑
 104  105                  $(WIDE:%.o=../src/libc/wide/%.c)
 105  106  
 106  107  LIBS =          $(DYNLIB)
 107  108  
 108  109  # definitions for install target
 109  110  ROOTLIBDIR=     $(ROOT)/usr/xpg4/lib
 110  111  ROOTLIBDIR64=   $(ROOT)/usr/xpg4/lib/$(MACH64)
 111  112  ROOTLIBS=       $(LIBS:%=$(ROOTLIBDIR)/%)
 112  113  
 113  114  $(LINTLIB):= SRCS=../src/libc/llib-lcurses
 114      -$(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED 
      115 +$(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED
 115  116  
 116  117  CERRWARN +=     -_gcc=-Wno-uninitialized
 117  118  CERRWARN +=     -_gcc=-Wno-unused-variable
 118  119  CERRWARN +=     -_gcc=-Wno-unused-label
 119  120  CERRWARN +=     -_gcc=-Wno-unused-function
 120  121  
      122 +# not linted
      123 +SMATCH=off
      124 +
 121  125  LINTSRC=        $(LINTLIB:%.ln=%)
 122  126  
 123  127  LDLIBS += -lc
 124  128  
 125  129  CPPFLAGS = -I../h -I../h/solaris2 -I../src/libc/xcurses $(CPPFLAGS.master)
 126  130  
 127  131  #
 128  132  # If and when somebody gets around to messaging this, CLOBBERFILE should not
 129  133  # be cleared (so that any .po file will be clobbered.
 130  134  #
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX