Print this page
12276 smatch-clean sockfs
*** 41,51 ****
#
# Define the module and object file sets.
#
MODULE = sockfs
OBJECTS = $(SOCK_OBJS:%=$(OBJS_DIR)/%)
- LINTS = $(SOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
# Include common rules.
#
--- 41,50 ----
*** 53,63 ****
#
# Define targets
#
ALL_TARGET = $(BINARY)
- LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
--- 52,61 ----
*** 71,104 ****
#
SRCDIR = $(UTSBASE)/common/fs/sockfs
TOKGEN = $(SRCDIR)/nl7ctokgen
DERIVED_FILES = nl7ctokgen.h
CFLAGS += -I.
- LINTFLAGS += -I.
- #
- # For now, disable these lint checks; maintainers should endeavor
- # to investigate and remove these for maximum lint coverage.
- # Please do not carry these forward to new Makefiles.
- #
- LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
- LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
- LINTTAGS += -erroff=E_STATIC_UNUSED
- LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
- LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
- LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
- # needs work
- SMATCH=off
-
#
# Default build targets.
#
.KEEP_STATE:
--- 69,86 ----
*** 110,125 ****
$(RM) $(DERIVED_FILES)
clobber: $(CLOBBER_DEPS)
$(RM) $(DERIVED_FILES)
- lint: $(LINT_DEPS)
-
- modlintlib: $(MODLINTLIB_DEPS)
-
- clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
# Include common targets.
#
--- 92,101 ----