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

*** 20,31 **** # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # ! # cmd/rpcsvc/Makefile PROTOCOL_DIR= $(ROOT)/usr/include/rpcsvc BINPROG= rusers rup SBINPROG= rwall spray --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. PROTOCOL_DIR= $(ROOT)/usr/include/rpcsvc BINPROG= rusers rup SBINPROG= rwall spray
*** 62,71 **** --- 61,74 ---- CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-extra CERRWARN += -_gcc=-Wno-unused-function + + # not linted + SMATCH=off + LDLIBS += -lnsl rusers := CFLAGS += $(CCVERBOSE) $(BINPROG) := LDLIBS += -lrpcsvc $(RPROG) := LDLIBS += -lrpcsvc $(SPROG) := LDLIBS += -lrpcsvc