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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/kgssapi/Makefile
          +++ new/usr/src/uts/intel/kgssapi/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/kgssapi/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 kgssapi kernel 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          = kgssapi
  41   39  OBJECTS         = $(KGSSD_OBJS:%=$(OBJS_DIR)/%)
  42   40  OBJECTS         += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
↓ open down ↓ 20 lines elided ↑ open up ↑
  63   61  # For now, disable these lint checks; maintainers should endeavor
  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_ASSIGN_NARROW_CONV
  69   67  
  70   68  CERRWARN        += -_gcc=-Wno-unused-variable
  71   69  CERRWARN        += -_gcc=-Wno-uninitialized
  72   70  
       71 +# needs work
       72 +$(OBJS_DIR)/gssd_clnt_stubs.o := SMOFF += indenting,deref_check
       73 +
  73   74  #
  74   75  #       Default build targets.
  75   76  #
  76   77  .KEEP_STATE:
  77   78  
  78   79  def:            $(DEF_DEPS)
  79   80  
  80   81  all:            $(ALL_DEPS)
  81   82  
  82   83  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX