Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@
#
#
# Copyright (c) 1999 by Sun Microsystems, Inc.
# All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= udfs
LIBPROG= fsck
ATTMK= $(LIBPROG)
@@ -38,10 +39,13 @@
#UDFSSRCS= $(UDFSOBJS:%.o=%.c)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
+# not linted
+SMATCH=off
+
OBJS= $(FSCKOBJS) $(UDFSOBJS)
SRCS= $(FSCKSRCS) $(UDFSSRCS) ../mkfs/udfslib.c
#CPPFLAGS += -D_LARGEFILE64_SOURCE
CPPFLAGS += -I../mkfs