Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 include $(SRC)/cmd/Makefile.cmd
 
 PROG=   srvenum srvinfo tconn

@@ -41,18 +42,21 @@
 # SRCS= $(LIBPROG).c $(FSLIBSRC)
 
 CPPFLAGS += -I../../../../uts/common
 CPPFLAGS += -I../../../../lib/libsmbfs
 
-LDLIBS += -R '$$ORIGIN/../../../usr/lib'
+LDLIBS += -R'$$ORIGIN/../../../usr/lib'
 LDLIBS += -lsmbfs
 LINTLIBS= -L$(ROOTLIB) -lsmbfs
 
 CFLAGS += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-unused-variable
 CSTD= $(CSTD_GNU99)
 
+# not linted
+SMATCH=off
+
 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
 
 # CLOBBERFILES  += $(LIBPROG)
 
 all:    $(PROG)