Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 22,31 ****
--- 22,32 ----
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
# Copyright 2016 Toomas Soome <tsoome@me.com>
+ # Copyright (c) 2018, Joyent, Inc.
#
PROG= finger rdate ruptime rwho whois
SUIDPROG= rcp rlogin rsh
ALL= $(PROG) $(SUIDPROG)
*** 73,82 ****
--- 74,85 ----
CPPFLAGS += -DSYSV -DSTRNET -DBSD_COMP -I$(CMDINETCOMMONDIR)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-function
+ ruptime := SMOFF += leaks
+
# Eventually just plain CFLAGS should be += -v, but not until all in
# PROGS are lint clean.
$(LINTCLEAN) := CFLAGS += $(CCVERBOSE)
finger := CFLAGS += $(CCVERBOSE)