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.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 include         ../Makefile.sp
 
 UCBPROGS =      lpr lpq lprm lpc
 BINPROGS =      lp lpstat cancel enable disable $(UCBPROGS)

@@ -65,10 +65,13 @@
 in.lpd:=        LDLIBS +=       -lnsl -lsocket
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 all:    $(BINPROGS) $(SBINPROGS)
 
 #       each program needs common.o as well
 $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS):      $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c)  $(LIBPRINTPROGS:%=%.c) common.o
         $(LINK.c) -o $@ $@.c common.o $(LDLIBS)