Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
LIBRARY= libima.a
VERS= .1
OBJECTS= ima-lib.o sunima-lib.o
CONFIGFILE= ima.conf
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
LIBRARY= libima.a
VERS= .1
OBJECTS= ima-lib.o sunima-lib.o
CONFIGFILE= ima.conf
*** 50,59 ****
--- 50,62 ----
CFLAGS64 += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
CFLAGS64 += -DSOLARIS
CERRWARN += -_gcc=-Wno-unused-variable
+ # not linted
+ SMATCH=off
+
LINTFLAGS += -DSOLARIS
LINTFLAGS64 += -DSOLARIS
SRCDIR = ../common
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)