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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/tlimod/Makefile
          +++ new/usr/src/uts/intel/tlimod/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/tlimod/Makefile
  23   23  #
  24   24  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -#ident  "%Z%%M% %I%     %E% SMI"
  28      -#
  29      -#       This makefile drives the production of the tlimod
  30      -#       kernel module.
  31      -#
  32      -#       intel architecture dependent
  33      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  34   28  
  35   29  #
  36   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37   31  #
  38   32  UTSBASE = ../..
  39   33  
  40   34  #
  41   35  #       Define the module and object file sets.
  42   36  #
  43   37  MODULE          = tlimod
↓ open down ↓ 6 lines elided ↑ open up ↑
  50   44  #
  51   45  include $(UTSBASE)/intel/Makefile.intel
  52   46  
  53   47  #
  54   48  #       Define targets
  55   49  #
  56   50  ALL_TARGET      = $(BINARY)
  57   51  LINT_TARGET     = $(MODULE).lint
  58   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59   53  
       54 +# needs work
       55 +SMOFF += indenting
       56 +
  60   57  #
  61   58  #       Default build targets.
  62   59  #
  63   60  .KEEP_STATE:
  64   61  
  65   62  def:            $(DEF_DEPS)
  66   63  
  67   64  all:            $(ALL_DEPS)
  68   65  
  69   66  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX