Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        pam_authtok_check.a
 VERS=           .1
 OBJECTS=        authtok_check.o \
                 dict.o fascist.o packer.o packlib.o rules.o stringlib.o

@@ -33,10 +34,13 @@
 LDLIBS          += -lpam -lc
 
 CPPFLAGS        += -D_FILE_OFFSET_BITS=64
 CERRWARN        += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 all:    $(LIBS)
 
 lint:   lintcheck
 
 include $(SRC)/lib/Makefile.targ