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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtnfctl/Makefile.com
          +++ new/usr/src/lib/libtnfctl/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=        libtnfctl.a
  27   28  VERS=           .1
  28   29  OBJECTS.c=      open.o          \
  29   30                  prb_child.o     \
  30   31                  prb_shmem.o     \
  31   32                  prb_proc.o      \
  32   33                  prb_lmap.o      \
  33   34                  prb_rtld.o      \
  34   35                  prb_findexec.o  \
↓ open down ↓ 38 lines elided ↑ open up ↑
  73   74  # Uncomment the following line for a debug build
  74   75  # COPTFLAG =    -g -DDEBUG $(CCVERBOSE)
  75   76  CPPFLAGS +=     -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
  76   77  
  77   78  LINTFLAGS +=    -y
  78   79  
  79   80  CERRWARN +=     -_gcc=-Wno-uninitialized
  80   81  CERRWARN +=     -_gcc=-Wno-empty-body
  81   82  CERRWARN +=     -_gcc=-Wno-parentheses
  82   83  
       84 +# not linted
       85 +SMATCH=off
       86 +
  83   87  ASFLAGS +=      -P
  84   88  
  85   89  $(ROOTHDRS) :=  FILEMODE = 644
  86   90  
  87   91  .KEEP_STATE:
  88   92  
  89   93  all: $(LIBS)
  90   94  
  91   95  install_h: $(ROOTHDRDIR) $(ROOTHDRS)
  92   96  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX