Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 22,32 ****
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #ident "%Z%%M% %I% %E% SMI"
.KEEP_STATE:
.SUFFIXES:
SRCS += fmtopo.c
--- 22,32 ----
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
.KEEP_STATE:
.SUFFIXES:
SRCS += fmtopo.c
*** 43,52 ****
--- 43,55 ----
CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST)
LDLIBS += -L$(ROOT)/usr/lib/fm -ltopo -lnvpair
LDFLAGS += -R/usr/lib/fm
LINTFLAGS += -mnu
+ # not linted
+ SMATCH=off
+
.NO_PARALLEL:
.PARALLEL: $(OBJS) $(LINTFILES)
all: $(PROG)