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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
          +++ new/usr/src/lib/gss_mechs/mech_dh/backend/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 2008 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  # This make file will build mech_dh.so.1. This shared object
  28   29  # contains all the functionality needed to support Diffie-Hellman GSS-API
  29   30  # mechanism. 
  30   31  #
  31   32  
  32   33  LIBRARY= mech_dh.a
  33   34  VERS = .1
  34   35  
↓ open down ↓ 8 lines elided ↑ open up ↑
  43   44  
  44   45  # include library definitions
  45   46  include ../../../../Makefile.lib
  46   47  
  47   48  CPPFLAGS += -I../mech -I../crypto -I$(SRC)/uts/common/gssapi/include
  48   49  
  49   50  CERRWARN +=     -_gcc=-Wno-parentheses
  50   51  CERRWARN +=     -_gcc=-Wno-unused-variable
  51   52  CERRWARN +=     -_gcc=-Wno-uninitialized
  52   53  
       54 +# needs work
       55 +SMATCH=off
       56 +
  53   57  $(PICS) :=      CFLAGS += $(XFFLAG)
  54   58  $(PICS) :=      CCFLAGS += $(XFFLAG)
  55   59  $(PICS) :=      CFLAGS64 += $(XFFLAG)
  56   60  $(PICS) :=      CCFLAGS64 += $(XFFLAG)
  57   61  
  58   62  DYNFLAGS +=     $(ZIGNORE)
  59   63  
  60   64  LIBS = $(DYNLIB)
  61   65  LIBNAME = $(LIBRARY:%.a=%)
  62   66  
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX