Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,11 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/fs.d/nfs/nfsref/Makefile
+# Copyright (c) 2018, Joyent, Inc.
PROG= nfsref
POFILE= nfsref.po
@@ -34,10 +34,13 @@
OBJS= nfsref.o ref_subr.o
SRCS= nfsref.c
CERRWARN += -_gcc=-Wno-unused-variable
+# not linted
+SMATCH=off
+
LDLIBS += -lreparse -lnvpair -lnsl -lumem
$(PROG): $(OBJS)
$(LINK.c) -o $@ $(LDLIBS) $(OBJS)
$(POST_PROCESS)