Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
PROG = iscsiadm
OBJS = cmdparse.o sun_ima.o iscsiadm_main.o
SRCS =$(OBJS:%.o=%.c)
POFILES= $(OBJS:%.o=%.po)
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG = iscsiadm
OBJS = cmdparse.o sun_ima.o iscsiadm_main.o
SRCS =$(OBJS:%.o=%.c)
POFILES= $(OBJS:%.o=%.po)
*** 41,50 ****
--- 41,53 ----
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
FILEMODE= 0555
.KEEP_STATE:
all: $(PROG)