Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
# CDDL HEADER END
#
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
! # cmd/sunpc/other/Makefile
PROG= dos2unix unix2dos
SRCS= ${PROG:%=%.c}
include ../../Makefile.cmd
--- 20,30 ----
# CDDL HEADER END
#
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= dos2unix unix2dos
SRCS= ${PROG:%=%.c}
include ../../Makefile.cmd
*** 31,40 ****
--- 31,43 ----
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTPROG)