Print this page
10079 smatch Makefile changes for usr/src/lib

*** 20,31 **** # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # ident "%Z%%M% %I% %E% SMI" ! # LIBS = $(DYNLIB) CPPFLAGS += -I../inc -I$(SRC)/cmd/smserverd/ LDLIBS += -lc $(PLUGIN_SPECIFIC_LIB) --- 20,30 ---- # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. LIBS = $(DYNLIB) CPPFLAGS += -I../inc -I$(SRC)/cmd/smserverd/ LDLIBS += -lc $(PLUGIN_SPECIFIC_LIB)
*** 41,50 **** --- 40,52 ---- CLEANFILES= $(LINTOUT) $(LINTPLUGIN) SRCDIR = ../common + # not linted + SMATCH=off + LINTFLAGS += -xu LINTFLAGS64 += -xu $(LINTPLUGIN) := SRCS=$(OBJECTS:%.o=../common/%.c) $(LINTPLUGIN) := LINTFLAGS=-nvx $(LINTPLUGIN) := TARGET_ARCH=