Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,12 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 include ../../../Makefile.cmd
 
 PROG =          cputrack
 OBJS =          $(PROG).o caps.o time.o setgrp.o strtoset.o

@@ -34,10 +33,13 @@
 
 CFLAGS +=       $(CCVERBOSE) $(CTF_FLAGS)
 CFLAGS64 +=     $(CCVERBOSE) $(CTF_FLAGS)
 CPPFLAGS +=     -I$(SRC)/lib/libcpc/common
 
+# not linted
+SMATCH=off
+
 LINTFLAGS +=    -u
 LINTFLAGS64 +=  -u
 
 .KEEP_STATE: