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.
PROG1=kprop
PROG2=kpropd
PROG3=kprop_script
PROG=$(PROG1) $(PROG2) $(PROG3)
@@ -61,10 +62,13 @@
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-address
+# not linted
+SMATCH=off
+
LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
LDLIBS += -lmech_krb5 -lsocket
$(PROG1) := LDLIBS += -L$(KRB5LIB) -lkadm5srv
$(PROG2) := LDLIBS += -L$(KRB5LIB) -lnsl -lkdb -lkadm5clnt