Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/Makefile
          +++ new/usr/src/tools/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  #
  23   23  # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  25   25  # Copyright 2016 Toomas Soome <tsoome@me.com>
  26   26  # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  #
  28   29  
  29   30  include ../Makefile.master
  30   31  
       32 +SMATCH_1 = smatch
       33 +
  31   34  # Bootstrap problem: 'cw' must be built before anything else can be built.
  32   35  # 'install.bin' should be built next, being the 'install' target dependency
  33   36  # for everything else.
  34   37  #
  35   38  # Because of somewhat cyclic dependency between them, both cw and install.bin
  36   39  # override the way we install binaries in their Makefiles.
  37   40  BOOT_SUBDIRS= \
       41 +        $(SMATCH_$(ENABLE_SMATCH)) \
       42 +        .WAIT \
  38   43          cw \
  39   44          .WAIT \
  40   45          install.bin \
  41   46          .WAIT \
  42   47          ctf
  43   48  
  44   49  COMMON_SUBDIRS= \
  45   50          codereview \
  46   51          codesign \
  47   52          cscope-fast \
↓ open down ↓ 116 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX