Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
#
# Copyright (c) 1999,2001 by Sun Microsystems, Inc.
# All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
FSTYPE= udfs
LIBPROG= mkfs
ATTMK= $(LIBPROG)
*** 46,55 ****
--- 47,59 ----
UDFSOBJS=
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
OBJS= $(MKFSOBJS) $(UDFSOBJS)
SRCS= $(OBJS:%.o=%.c)
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)