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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/spppcomp/Makefile
          +++ new/usr/src/uts/intel/spppcomp/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/spppcomp/Makefile
  23   23  #
  24   24  # Copyright 2007 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 spppcomp STREAMS 
  29      -#       kernel module.
  30      -#
  31      -#       intel architecture dependent
  32      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  33   29  
  34   30  #
  35   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  36   32  #
  37   33  UTSBASE = ../..
  38   34  
  39   35  #
  40   36  #       Define the module and object file sets.
  41   37  #
  42   38  MODULE          = spppcomp
↓ open down ↓ 28 lines elided ↑ open up ↑
  71   67  # to investigate and remove these for maximum lint coverage.
  72   68  # Please do not carry these forward to new Makefiles.
  73   69  #
  74   70  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75   71  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  76   72  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  77   73  
  78   74  CERRWARN        += -_gcc=-Wno-parentheses
  79   75  CERRWARN        += -_gcc=-Wno-uninitialized
  80   76  
       77 +# needs work
       78 +SMOFF += indenting
       79 +
  81   80  #
  82   81  # Depends on sppp
  83   82  #
  84   83  LDFLAGS         += -dy -N drv/sppp
  85   84  
  86   85  #
  87   86  #       Default build targets.
  88   87  #
  89   88  .KEEP_STATE:
  90   89  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX