Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,31 ****
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
include ../../../Makefile.cmd
PROG = cputrack
OBJS = $(PROG).o caps.o time.o setgrp.o strtoset.o
--- 20,30 ----
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
include ../../../Makefile.cmd
PROG = cputrack
OBJS = $(PROG).o caps.o time.o setgrp.o strtoset.o
*** 34,43 ****
--- 33,45 ----
CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
CFLAGS64 += $(CCVERBOSE) $(CTF_FLAGS)
CPPFLAGS += -I$(SRC)/lib/libcpc/common
+ # not linted
+ SMATCH=off
+
LINTFLAGS += -u
LINTFLAGS64 += -u
.KEEP_STATE: