Print this page
10080 smatch Makefile changes for usr/src/cmd

*** 20,29 **** --- 20,30 ---- # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. PROG = rpc.smserverd OBJS = smediad.o smediad_err.o myaudit.o smed_svc.o smed_xdr.o SRCS = $(OBJS:%.o=%.c) lint := SRCS = smediad.c smediad_err.c myaudit.c
*** 45,54 **** --- 46,59 ---- CPPFLAGS += -D_REENTRANT CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-unused-variable + + # not linted + SMATCH=off + LINTFLAGS += -u .KEEP_STATE: all: $(PROG)