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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdll/Makefile.com
          +++ new/usr/src/lib/libdll/Makefile.com
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  SHELL=/usr/bin/ksh93
  28   29  
  29   30  LIBRARY=        libdll.a
  30   31  VERS=           .1
  31   32  
  32   33  OBJECTS= \
  33   34          dlfcn.o \
  34   35          dllfind.o \
  35   36          dlllook.o \
↓ open down ↓ 43 lines elided ↑ open up ↑
  79   80          -D_BLD_DLL
  80   81  
  81   82  CFLAGS += \
  82   83          $(ASTCFLAGS)
  83   84  CFLAGS64 += \
  84   85          $(ASTCFLAGS64)
  85   86  
  86   87  CERRWARN        += -_gcc=-Wno-parentheses
  87   88  CERRWARN        += -_gcc=-Wno-uninitialized
  88   89  
       90 +# needs work
       91 +SMOFF += all_func_returns,strcpy_overflow
       92 +
  89   93  .KEEP_STATE:
  90   94  
  91   95  all: $(LIBS)
  92   96  
  93   97  #
  94   98  # libdll is not lint-clean yet; fake up a target.  (You can use
  95   99  # "make lintcheck" to actually run lint; please send all lint fixes
  96  100  # upstream (to AT&T) so the next update will pull them into ON.)
  97  101  #
  98  102  lint:
  99  103          @ print "usr/src/lib/libdll is not lint-clean: skipping"
 100  104  
 101  105  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX