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

@@ -22,21 +22,26 @@
 #
 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
 # Copyright 2016 Toomas Soome <tsoome@me.com>
 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 include ../Makefile.master
 
+SMATCH_1 = smatch
+
 # Bootstrap problem: 'cw' must be built before anything else can be built.
 # 'install.bin' should be built next, being the 'install' target dependency
 # for everything else.
 #
 # Because of somewhat cyclic dependency between them, both cw and install.bin
 # override the way we install binaries in their Makefiles.
 BOOT_SUBDIRS= \
+        $(SMATCH_$(ENABLE_SMATCH)) \
+        .WAIT \
         cw \
         .WAIT \
         install.bin \
         .WAIT \
         ctf