Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 1,9 ****
--- 1,10 ----
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= kpasswd
OBJS = tty_kpasswd.o kpasswd.o
SRCS = $(OBJS:.o=.c)
*** 33,42 ****
--- 34,46 ----
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
+ # not linted
+ SMATCH=off
+
LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
LDLIBS += -L $(KRB5LIBDIR)
LDLIBS += $(KMECHLIB) $(KCLNTLIB)
.KEEP_STATE: