Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -19,12 +19,11 @@
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/last/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
PROG= last
UTMPS= wtmpx
ROOTADM= $(ROOT)/var/adm
ROOTUTMPS= $(UTMPS:%=$(ROOTADM)/%)
@@ -31,10 +30,13 @@
SYMSETC= $(UTMPS:%=symlinks_%)
ETCTOVARADM= ../var/adm
include ../Makefile.cmd
+# not linted
+SMATCH=off
+
$(ROOTUTMPS):= FILEMODE= 644
$(ROOTADM)/%: %
$(INS.file)