Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 17,33 ****
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
- #
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
- #
LIBS= a.a
! OBJS= pnpsplit.o copyn.o devtolin.o expand.o lintodev.o \
namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
SRCS= $(OBJS:%.o=%.c)
include ../../Makefile.cmd
--- 17,32 ----
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
+ # Copyright (c) 2018, Joyent, Inc.
#
LIBS= a.a
! OBJS= pnpsplit.o devtolin.o expand.o lintodev.o \
namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
SRCS= $(OBJS:%.o=%.c)
include ../../Makefile.cmd
*** 34,43 ****
--- 33,45 ----
CPPFLAGS = -D_LTYPES -I.. $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-extra
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
.PARALLEL: $(OBJS)
all: $(LIBS)