summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/smbfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/smbfs/Makefile')
-rw-r--r--usr/src/uts/intel/smbfs/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/usr/src/uts/intel/smbfs/Makefile b/usr/src/uts/intel/smbfs/Makefile
index 8fc37428c3..1f668b116f 100644
--- a/usr/src/uts/intel/smbfs/Makefile
+++ b/usr/src/uts/intel/smbfs/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = smbfs
OBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,18 +59,19 @@ INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
INC_PATH += -I$(COMMONBASE)/smbclnt
LDFLAGS += -dy -Ndrv/nsmb
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
-# needs work
-SMOFF += all_func_returns,signed,deref_check
-
# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
+# return value checks, so filter those out.
+#
+# also needs further work.
+SMOFF += all_func_returns,signed,deref_check
#
# Default build targets.
@@ -87,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#