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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtnfprobe/Makefile.com
          +++ new/usr/src/lib/libtnfprobe/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  LIBRARY=        libtnfprobe.a
  26   27  VERS=           .1
  27   28  OBJECTS.c=      tnf_buf.o       \
  28   29                  trace_init.o    \
  29   30                  trace_funcs.o   \
  30   31                  debug_funcs.o   \
  31   32                  probe_mem.o     \
  32   33                  tnf_args.o      \
  33   34                  tnf_trace.o     \
↓ open down ↓ 25 lines elided ↑ open up ↑
  59   60  # Include .. first to pick up tnf_trace.h in current dir, Include UFSDIR to
  60   61  #       pick up tnf_types.h
  61   62  CPPFLAGS +=     -I.. -I$(UFSDIR) -D_REENTRANT -D_TNF_LIBRARY
  62   63  
  63   64  LINTFLAGS +=    -y
  64   65  
  65   66  CERRWARN +=     -_gcc=-Wno-unused-variable
  66   67  CERRWARN +=     -_gcc=-Wno-parentheses
  67   68  CERRWARN +=     -_gcc=-Wno-uninitialized
  68   69  
       70 +# not linted
       71 +SMATCH=off
       72 +
  69   73  $(ROOTHDRS) :=  FILEMODE = 644
  70   74  
  71   75  LDLIBS += -lc
  72   76  
  73   77  .KEEP_STATE:
  74   78  
  75   79  all: $(LIBS)
  76   80  
  77   81  install_h: $(ROOTHDRDIR) $(ROOTHDRS)
  78   82  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX