Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

*** 20,29 **** --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright 2013 Nexenta Systems, Inc. All rights reserved. + # Copyright (c) 2018, Joyent, Inc. # include $(SRC)/cmd/Makefile.cmd PROG= srvenum srvinfo tconn
*** 41,58 **** # SRCS= $(LIBPROG).c $(FSLIBSRC) CPPFLAGS += -I../../../../uts/common CPPFLAGS += -I../../../../lib/libsmbfs ! LDLIBS += -R '$$ORIGIN/../../../usr/lib' LDLIBS += -lsmbfs LINTLIBS= -L$(ROOTLIB) -lsmbfs CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable CSTD= $(CSTD_GNU99) LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 # CLOBBERFILES += $(LIBPROG) all: $(PROG) --- 42,62 ---- # SRCS= $(LIBPROG).c $(FSLIBSRC) CPPFLAGS += -I../../../../uts/common CPPFLAGS += -I../../../../lib/libsmbfs ! LDLIBS += -R'$$ORIGIN/../../../usr/lib' LDLIBS += -lsmbfs LINTLIBS= -L$(ROOTLIB) -lsmbfs CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable CSTD= $(CSTD_GNU99) + # not linted + SMATCH=off + LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 # CLOBBERFILES += $(LIBPROG) all: $(PROG)