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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsaveargs/Makefile.com
          +++ new/usr/src/lib/libsaveargs/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 2007 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  #
  27   28  # The build process for libsaveargs is sightly different from that used by other
  28   29  # libraries, because libsaveargs must be built in two flavors - as a standalone
  29   30  # for use by kmdb and as a normal library.  We use $(CURTYPE) to indicate the
  30   31  # current flavor being built.
  31   32  #
  32   33  
  33   34  LIBRARY=        libsaveargs.a
  34   35  STANDLIBRARY=   libstandsaveargs.so
↓ open down ↓ 52 lines elided ↑ open up ↑
  87   88  CPPFLAGS_library = -D_REENTRANT
  88   89  CPPFLAGS +=     -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
  89   90  
  90   91  CFLAGS_standalone = $(STAND_FLAGS_32)
  91   92  CFLAGS_common =
  92   93  CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
  93   94  
  94   95  CFLAGS64_standalone = $(STAND_FLAGS_64)
  95   96  CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
  96   97  
       98 +# not linted
       99 +SMATCH=off
      100 +
  97  101  DYNFLAGS +=     $(ZINTERPOSE)
  98  102  
  99  103  .KEEP_STATE:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX