Print this page
10077 usr/src/uts/ Makefile changes for smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/rpcsec/Makefile
          +++ new/usr/src/uts/intel/rpcsec/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/rpcsec/Makefile
  23   23  #
  24   24  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  27   27  #
  28      -#       This makefile drives the production of the kernel rpcsec module.
       28 +# Copyright (c) 2018, Joyent, Inc.
       29 +
  29   30  #
  30      -#       intel implementation architecture dependent
  31      -#
  32      -#
  33   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  34   32  #
  35   33  UTSBASE = ../..
  36   34  
  37   35  #
  38   36  #       Define the module and object file sets.
  39   37  #
  40   38  MODULE          = rpcsec
  41   39  OBJECTS         = $(RPCSEC_OBJS:%=$(OBJS_DIR)/%)
  42   40  LINTS           = $(RPCSEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
↓ open down ↓ 21 lines elided ↑ open up ↑
  64   62  # to investigate and remove these for maximum lint coverage.
  65   63  # Please do not carry these forward to new Makefiles.
  66   64  #
  67   65  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68   66  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69   67  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70   68  
  71   69  CERRWARN        += -_gcc=-Wno-parentheses
  72   70  CERRWARN        += -_gcc=-Wno-uninitialized
  73   71  
       72 +# needs work
       73 +$(OBJS_DIR)/auth_des.o := SMOFF += deref_check
       74 +
  74   75  #
  75   76  #       Default build targets.
  76   77  #
  77   78  .KEEP_STATE:
  78   79  
  79   80  def:            $(DEF_DEPS)
  80   81  
  81   82  all:            $(ALL_DEPS)
  82   83  
  83   84  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX