Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY= sbd.a
VERS= .1
OBJECTS= ap.o ap_msg.o ap_rcm.o ap_sbd.o ap_seq.o cfga.o ap_err.o
@@ -49,10 +50,13 @@
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
CPPFLAGS += -I$(ROOT)/usr/platform/$(PLATFORM)/include -DSBD_DEBUG
#
# Generate the error messages form sbd_ioctl.h
#
GENERRDIR= $(SRC)/lib/cfgadm_plugins/sbd