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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libdhcputil.a
 VERS =          .1
 LOCOBJS =       dhcp_inittab.o dhcp_symbol.o dhcpmsg.o
 COMDIR =        $(SRC)/common/net/dhcp

@@ -46,10 +47,13 @@
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CPPFLAGS +=     -I$(COMDIR)
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck