diff options
Diffstat (limited to 'usr/src/uts/intel')
478 files changed, 556 insertions, 5668 deletions
diff --git a/usr/src/uts/intel/FSS/Makefile b/usr/src/uts/intel/FSS/Makefile index 1b6c91519a..9abf9e9214 100644 --- a/usr/src/uts/intel/FSS/Makefile +++ b/usr/src/uts/intel/FSS/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = FSS OBJECTS = $(FSS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FSS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -53,15 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/FX/Makefile b/usr/src/uts/intel/FX/Makefile index 79ef35aa9b..aefbf351d9 100644 --- a/usr/src/uts/intel/FX/Makefile +++ b/usr/src/uts/intel/FX/Makefile @@ -22,9 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/intel/FX/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the FX scheduling class # kernel module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = FX OBJECTS = $(FX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) @@ -55,17 +52,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/FX_DPTBL/Makefile b/usr/src/uts/intel/FX_DPTBL/Makefile index 703cc45417..36ea11ed04 100644 --- a/usr/src/uts/intel/FX_DPTBL/Makefile +++ b/usr/src/uts/intel/FX_DPTBL/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/intel/FX_DPTBL/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the FX_DPTBL dispatch table # kernel module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = FX_DPTBL OBJECTS = $(FX_DPTBL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FX_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/IA/Makefile b/usr/src/uts/intel/IA/Makefile index a8e23b88ff..f03863f197 100644 --- a/usr/src/uts/intel/IA/Makefile +++ b/usr/src/uts/intel/IA/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = IA OBJECTS = $(IA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/Makefile b/usr/src/uts/intel/Makefile index 7fbdb31cb8..46f0fb2be1 100644 --- a/usr/src/uts/intel/Makefile +++ b/usr/src/uts/intel/Makefile @@ -34,14 +34,6 @@ include Makefile.intel # a directory under uts/intel. BINARY= -LINT_KMODS_X1 = $(LINT_KMODS:nsmb=) -LINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=) -LINT_KMODS_X3 = $(LINT_KMODS_X2:e1000g=) -LINT_KMODS_X4 = $(LINT_KMODS_X3:qede=) -LINT_KMODLIBS = $(LINT_KMODS_X4:iwn=) -LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \ - $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) - # # dprov is delivered in the SUNWcryptoint package. # @@ -57,19 +49,15 @@ install := TARGET= install install.prereq := TARGET= install clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lint.prereq := TARGET= lint -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check install_h := TARGET= install_h install_h.prereq := TARGET= install_h .KEEP_STATE: -.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS) +.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config def all install clean clobber modlist: $(KMODS) $(XMODS) config @@ -117,20 +105,12 @@ all.prereq install.prereq def.prereq: genunix FRC @cd ../i86pc/genassym; pwd; $(MAKE) $(@:%.prereq=%) # -# i86pc lint libraries should be built first -# -lint.prereq: FRC - @cd ../i86pc; pwd; $(MAKE) $(NO_STATE) lint - -# # Nothing to do for any other prerequisite targets. # %.prereq: genunix: $(PRIVS_C) -modlintlib clean.lint: $(LINT_KMODS) $(XMODS) - $(KMODS) $(SUBDIRS) config: FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) @@ -147,24 +127,4 @@ install_h check: FRC @cd ia32/sys; pwd; $(MAKE) $(TARGET) @cd amd64/sys; pwd; $(MAKE) $(TARGET) -# -# Work-around to disable acpica global crosscheck lint warnings -# -LGREP.intel = grep -v 'intel/io/acpica' - -# -# Full kernel lint target. -# -LINT_TARGET = globallint - -# workaround for multiply defined errors -globallint := LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -globallint: - @pwd - @-$(ECHO) "\nFULL KERNEL: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.intel) | $(LGREP.2) - -lint: modlintlib .WAIT $(LINT_DEPS) - include ../Makefile.targ diff --git a/usr/src/uts/intel/Makefile.intel b/usr/src/uts/intel/Makefile.intel index dd614a82a2..27a39e0275 100644 --- a/usr/src/uts/intel/Makefile.intel +++ b/usr/src/uts/intel/Makefile.intel @@ -52,14 +52,10 @@ GENLIB_DIR = $(UTSBASE)/intel/genunix IPDRV_DIR = $(UTSBASE)/intel/ip MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR) UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o -LINT_LIB = $(UTSBASE)/i86pc/lint-libs/$(OBJS_DIR)/llib-lunix.ln -GEN_LINT_LIB = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln # # Include the makefiles which define build rule templates, the @@ -726,13 +722,6 @@ KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc DACF_KMODS += net_dacf # -# Ensure that the variable member of the cpu_t (cpu_m) is defined -# for the lint builds so as not to cause lint errors during the -# global cross check. -# -LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/i86pc - -# # Sensor related drivers # DRV_KMODS += ksensor ksensor_test diff --git a/usr/src/uts/intel/RT/Makefile b/usr/src/uts/intel/RT/Makefile index 1c72894911..61ff6a4934 100644 --- a/usr/src/uts/intel/RT/Makefile +++ b/usr/src/uts/intel/RT/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/RT/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the RT driver kernel module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = RT OBJECTS = $(RT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -53,17 +50,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -76,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/RT_DPTBL/Makefile b/usr/src/uts/intel/RT_DPTBL/Makefile index 71757f3609..65e7444d97 100644 --- a/usr/src/uts/intel/RT_DPTBL/Makefile +++ b/usr/src/uts/intel/RT_DPTBL/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/RT_DPTBL/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the RT_DPTBL driver kernel module. # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = RT_DPTBL OBJECTS = $(RT_DPTBL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RT_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/SDC/Makefile b/usr/src/uts/intel/SDC/Makefile index fbbcabc659..e7e7e6ce12 100644 --- a/usr/src/uts/intel/SDC/Makefile +++ b/usr/src/uts/intel/SDC/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = SDC OBJECTS = $(SDC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -68,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/TS/Makefile b/usr/src/uts/intel/TS/Makefile index 82f1f660f5..255ca19ae7 100644 --- a/usr/src/uts/intel/TS/Makefile +++ b/usr/src/uts/intel/TS/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/TS/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the TS scheduling class # kernel module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = TS OBJECTS = $(TS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE) # @@ -54,17 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/TS_DPTBL/Makefile b/usr/src/uts/intel/TS_DPTBL/Makefile index 9af6c39fe4..b4e973c16a 100644 --- a/usr/src/uts/intel/TS_DPTBL/Makefile +++ b/usr/src/uts/intel/TS_DPTBL/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/TS_DPTBL/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the TS_DPTBL dispatch table # kernel module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = TS_DPTBL OBJECTS = $(TS_DPTBL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TS_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/aac/Makefile b/usr/src/uts/intel/aac/Makefile index c058765408..63d592f89f 100644 --- a/usr/src/uts/intel/aac/Makefile +++ b/usr/src/uts/intel/aac/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = aac OBJECTS = $(AAC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AAC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/aac @@ -54,16 +53,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi # -# Overrides +# Overrides # CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +86,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ac97/Makefile b/usr/src/uts/intel/ac97/Makefile index 17e0293df5..d19e16327b 100644 --- a/usr/src/uts/intel/ac97/Makefile +++ b/usr/src/uts/intel/ac97/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = ac97 OBJECTS = $(AC97_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AC97_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/acctctl/Makefile b/usr/src/uts/intel/acctctl/Makefile index 8ee177325b..6e1d6a0a83 100644 --- a/usr/src/uts/intel/acctctl/Makefile +++ b/usr/src/uts/intel/acctctl/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/intel/acctctl/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the acctctl system call module. # Intel architecture dependent @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = acctctl OBJECTS = $(ACCTCTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ACCTCTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/acpica/Makefile b/usr/src/uts/intel/acpica/Makefile index f6e16ea479..e44330ebe4 100644 --- a/usr/src/uts/intel/acpica/Makefile +++ b/usr/src/uts/intel/acpica/Makefile @@ -21,7 +21,6 @@ UTSBASE = ../.. # MODULE = acpica OBJECTS = $(ACPICA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ACPICA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) INC_PATH += -I$(UTSBASE)/intel/sys/acpi INC_PATH += -I$(UTSBASE)/i86pc @@ -36,7 +35,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -45,26 +43,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) DEBUG_DEFS += $(DEBUG_FLGS) # -# lint pass one non-enforcement -# -CFLAGS += $(CCVERBOSE) -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT - -# -# 3rd party code is not lint clean +# 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. # +CFLAGS += $(CCVERBOSE) CERRWARN += -erroff=E_STATEMENT_NOT_REACHED - +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += $(CNOWARN_UNINIT) +CERRWARN += -_gcc=-Wno-unused-function SMOFF += all_func_returns -LINTFLAGS += -errchk=%none -LINTFLAGS += -errhdr=%none -LINTFLAGS += -erroff=%all -LINTFLAGS += -errwarn=%none - -CERRWARN += -_gcc=-Wno-unused-variable -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += $(CNOWARN_UNINIT) -CERRWARN += -_gcc=-Wno-unused-function +CFLAGS += -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT # # Default build targets. @@ -79,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/aes/Makefile b/usr/src/uts/intel/aes/Makefile index 8a85669e3d..39c39a02ce 100644 --- a/usr/src/uts/intel/aes/Makefile +++ b/usr/src/uts/intel/aes/Makefile @@ -36,7 +36,6 @@ COM_DIR = $(COMMONBASE)/crypto/aes # Define the module and object file sets. # MODULE = aes -LINTS = $(AESPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) AESPROV_OBJS_32 = AESPROV_OBJS_64 = aes_amd64.o aes_intel.o aeskey.o AESPROV_OBJS += $(AESPROV_OBJS_$(CLASS)) @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -90,15 +82,9 @@ install: $(INSTALL_DEPS) # include $(UTSBASE)/intel/Makefile.targ -$(OBJS_DIR)/%.ln: $(COM_DIR)/amd64/%.c - @($(LHEAD) $(LINT.c) $(COM_DIR)/amd64/${@F:.ln=.c} $(LTAIL)) - $(OBJS_DIR)/%.o: $(COM_DIR)/amd64/%.c $(COMPILE.c) -o $@ $(COM_DIR)/amd64/${@F:.o=.c} $(CTFCONVERT_O) $(OBJS_DIR)/%.o: $(COM_DIR)/amd64/%.s $(COMPILE.s) -o $@ $(COM_DIR)/amd64/${@F:.o=.s} - -$(OBJS_DIR)/%.ln: $(COM_DIR)/amd64/%.s - @($(LHEAD) $(LINT.s) $(COM_DIR)/amd64/${@F:.ln=.s} $(LTAIL)) diff --git a/usr/src/uts/intel/afe/Makefile b/usr/src/uts/intel/afe/Makefile index 87d5fa074d..29a5d51684 100644 --- a/usr/src/uts/intel/afe/Makefile +++ b/usr/src/uts/intel/afe/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = afe OBJECTS = $(AFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/aggr/Makefile b/usr/src/uts/intel/aggr/Makefile index 424dab4a53..b00a80b17f 100644 --- a/usr/src/uts/intel/aggr/Makefile +++ b/usr/src/uts/intel/aggr/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = aggr OBJECTS = $(AGGR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AGGR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/aggr @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -56,12 +54,10 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ahci/Makefile b/usr/src/uts/intel/ahci/Makefile index 14d99eaa97..15d3d3ac30 100644 --- a/usr/src/uts/intel/ahci/Makefile +++ b/usr/src/uts/intel/ahci/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. MODULE = ahci OBJECTS = $(AHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/ahci @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,10 +62,11 @@ DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -78,12 +77,6 @@ CERRWARN += $(CNOWARN_UNINIT) LDFLAGS += -dy -N misc/sata # -# 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. -# - -# # Default build targets. # .KEEP_STATE: @@ -96,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/amd8111s/Makefile b/usr/src/uts/intel/amd8111s/Makefile index 1a6309b68e..a52e37d751 100755 --- a/usr/src/uts/intel/amd8111s/Makefile +++ b/usr/src/uts/intel/amd8111s/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = amd8111s OBJECTS = $(AMD8111S_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AMD8111S_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/amr/Makefile b/usr/src/uts/intel/amr/Makefile index eecc02183b..9ceaa16abe 100644 --- a/usr/src/uts/intel/amr/Makefile +++ b/usr/src/uts/intel/amr/Makefile @@ -18,7 +18,6 @@ UTSBASE = ../.. # MODULE = amr OBJECTS = $(AMR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AMR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/amr @@ -31,19 +30,16 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Overrides # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -65,12 +61,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/arcfour/Makefile b/usr/src/uts/intel/arcfour/Makefile index 81ffa27f17..19c5c5ee8b 100644 --- a/usr/src/uts/intel/arcfour/Makefile +++ b/usr/src/uts/intel/arcfour/Makefile @@ -36,7 +36,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour # Define the module and object file sets. # MODULE = arcfour -LINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ARCFOURPROV_OBJS_32 = ARCFOURPROV_OBJS_64 = arcfour-x86_64.o ARCFOURPROV_OBJS += $(ARCFOURPROV_OBJS_$(CLASS)) @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -91,8 +83,5 @@ include $(UTSBASE)/intel/Makefile.targ $(OBJS_DIR)/arcfour-x86_64.o: arcfour-x86_64.s $(COMPILE.s) -o $@ ${@F:.o=.s} -$(OBJS_DIR)/arcfour-x86_64.ln: arcfour-x86_64.s - @($(LHEAD) $(LINT.s) ${@F:.ln=.s} $(LTAIL)) - arcfour-x86_64.s: $(COM_DIR)/amd64/arcfour-x86_64.pl $(PERL) $? $@ diff --git a/usr/src/uts/intel/arcmsr/Makefile b/usr/src/uts/intel/arcmsr/Makefile index 6f986864e5..40a244a3d2 100644 --- a/usr/src/uts/intel/arcmsr/Makefile +++ b/usr/src/uts/intel/arcmsr/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = arcmsr OBJECTS = $(ARCMSR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ARCMSR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/adapters/arcmsr @@ -54,7 +53,6 @@ $(OBJS_DIR)/arcmsr.o := SMOFF += deref_check # Define targets. # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/arn/Makefile b/usr/src/uts/intel/arn/Makefile index 95a5ace322..8af5f0a805 100644 --- a/usr/src/uts/intel/arn/Makefile +++ b/usr/src/uts/intel/arn/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = arn OBJECTS = $(ARN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ARN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/asy/Makefile b/usr/src/uts/intel/asy/Makefile index 5766f59ad7..a1deecc999 100644 --- a/usr/src/uts/intel/asy/Makefile +++ b/usr/src/uts/intel/asy/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = asy OBJECTS = $(ASY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ASY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,12 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ata/Makefile b/usr/src/uts/intel/ata/Makefile index 4dde927f6a..226ab97a2a 100644 --- a/usr/src/uts/intel/ata/Makefile +++ b/usr/src/uts/intel/ata/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ata OBJECTS = $(ATA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ATA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/dktp/controller/ata @@ -54,23 +53,21 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Overrides. # #DEBUG_FLGS = -DATA_DEBUG -DGHD_DEBUG -DDEBUG -DEBUG_FLGS = +DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) INC_PATH += -I$(UTSBASE)/intel/io/dktp/hba/ghd # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -93,12 +90,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/atge/Makefile b/usr/src/uts/intel/atge/Makefile index b9a1123efb..ad5f62a7f0 100644 --- a/usr/src/uts/intel/atge/Makefile +++ b/usr/src/uts/intel/atge/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = atge OBJECTS = $(ATGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ATGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ath/Makefile b/usr/src/uts/intel/ath/Makefile index 30c72db1b4..f8b99f879b 100644 --- a/usr/src/uts/intel/ath/Makefile +++ b/usr/src/uts/intel/ath/Makefile @@ -39,10 +39,6 @@ UTSBASE = ../.. # MODULE = ath OBJECTS = $(ATH_OBJS:%=$(OBJS_DIR)/%) $(OBJS_DIR)/hal.o -LINTS = $(LINTS_DIR)/ath_aux.ln \ - $(LINTS_DIR)/ath_main.ln \ - $(LINTS_DIR)/ath_osdep.ln \ - $(LINTS_DIR)/ath_rate.ln ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) @@ -55,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/atu/Makefile b/usr/src/uts/intel/atu/Makefile index 4418857ce5..917cb1fcc6 100644 --- a/usr/src/uts/intel/atu/Makefile +++ b/usr/src/uts/intel/atu/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = atu OBJECTS = $(ATU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ATU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audio1575/Makefile b/usr/src/uts/intel/audio1575/Makefile index c23809dc8b..0dcda6fe8e 100644 --- a/usr/src/uts/intel/audio1575/Makefile +++ b/usr/src/uts/intel/audio1575/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = audio1575 OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-switch # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audio810/Makefile b/usr/src/uts/intel/audio810/Makefile index 487ccd3ce3..4efa859338 100644 --- a/usr/src/uts/intel/audio810/Makefile +++ b/usr/src/uts/intel/audio810/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = audio810 OBJECTS = $(AUDIO810_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIO810_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audio810 @@ -58,7 +57,6 @@ CERRWARN += -_gcc=-Wno-switch # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiocmi/Makefile b/usr/src/uts/intel/audiocmi/Makefile index e8ac905821..fb6c5c807d 100644 --- a/usr/src/uts/intel/audiocmi/Makefile +++ b/usr/src/uts/intel/audiocmi/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audiocmi OBJECTS = $(AUDIOCMI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOCMI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiocmihd/Makefile b/usr/src/uts/intel/audiocmihd/Makefile index 21df6124ed..a91dd4ec3d 100644 --- a/usr/src/uts/intel/audiocmihd/Makefile +++ b/usr/src/uts/intel/audiocmihd/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = audiocmihd OBJECTS = $(AUDIOCMIHD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOCMIHD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audioemu10k/Makefile b/usr/src/uts/intel/audioemu10k/Makefile index fe92af6169..288c6637b6 100644 --- a/usr/src/uts/intel/audioemu10k/Makefile +++ b/usr/src/uts/intel/audioemu10k/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = audioemu10k OBJECTS = $(AUDIOEMU10K_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOEMU10K_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) DSP_SRCDIR = $(UTSBASE)/common/io/audio/drv/audioemu10k/dsp DSP_HNAMES = emu10k_gpr.h emu10k1_dsp.h emu10k2_dsp.h @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 @@ -65,7 +63,6 @@ CERRWARN += $(CNOWARN_UNINIT) SMOFF += all_func_returns $(OBJS_DIR)/%.o := CPPFLAGS += -I$(OBJS_DIR) -$(OBJS_DIR)/%.ln := CPPFLAGS += -I$(OBJS_DIR) $(OBJS_DIR)/emu10k_gpr.h := ASM10KFLAGS = -v -0 -P gpr $(OBJS_DIR)/emu10k1_dsp.h := ASM10KFLAGS = -v -1 -P emu10k1 $(OBJS_DIR)/emu10k2_dsp.h := MODEL10K = SBLIVE @@ -85,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(BINARY): $(OBJS_DIR)/asm10k $(DSP_HDRS) diff --git a/usr/src/uts/intel/audioens/Makefile b/usr/src/uts/intel/audioens/Makefile index 31dc4428b3..1c7e8d5d74 100644 --- a/usr/src/uts/intel/audioens/Makefile +++ b/usr/src/uts/intel/audioens/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audioens OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiohd/Makefile b/usr/src/uts/intel/audiohd/Makefile index 2342e05ed0..330f9a9e8a 100644 --- a/usr/src/uts/intel/audiohd/Makefile +++ b/usr/src/uts/intel/audiohd/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = audiohd OBJECTS = $(AUDIOHD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOHD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audiohd @@ -46,20 +45,11 @@ CONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audiohd include $(UTSBASE)/intel/Makefile.intel # -# Overrides, lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -DEBUG_FLGS = -$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS) - -# -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -70,7 +60,6 @@ LDFLAGS += -dy -Ndrv/audio # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -86,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audioixp/Makefile b/usr/src/uts/intel/audioixp/Makefile index 16db380a53..ad279e4ca3 100644 --- a/usr/src/uts/intel/audioixp/Makefile +++ b/usr/src/uts/intel/audioixp/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = audioixp OBJECTS = $(AUDIOIXP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOIXP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,23 +45,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/intel/Makefile.intel -# -# Overrides, lint pass one enforcement -# +# +# 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. +# CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-unused-label # # Depends on misc/audiosup # LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 -CERRWARN += -_gcc=-Wno-unused-label - # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiols/Makefile b/usr/src/uts/intel/audiols/Makefile index ffb2bf4e82..d95130a2be 100644 --- a/usr/src/uts/intel/audiols/Makefile +++ b/usr/src/uts/intel/audiols/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audiols OBJECTS = $(AUDIOLS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOLS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiop16x/Makefile b/usr/src/uts/intel/audiop16x/Makefile index 5dfc4ef69b..082d02fc74 100644 --- a/usr/src/uts/intel/audiop16x/Makefile +++ b/usr/src/uts/intel/audiop16x/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audiop16x OBJECTS = $(AUDIOP16X_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOP16X_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiopci/Makefile b/usr/src/uts/intel/audiopci/Makefile index 046cdb639c..088178cfa0 100644 --- a/usr/src/uts/intel/audiopci/Makefile +++ b/usr/src/uts/intel/audiopci/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audiopci OBJECTS = $(AUDIOPCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOPCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiosolo/Makefile b/usr/src/uts/intel/audiosolo/Makefile index a0f5be43d3..c596c94a57 100644 --- a/usr/src/uts/intel/audiosolo/Makefile +++ b/usr/src/uts/intel/audiosolo/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = audiosolo OBJECTS = $(AUDIOSOLO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOSOLO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiots/Makefile b/usr/src/uts/intel/audiots/Makefile index f571c8b8b6..50082b87c4 100644 --- a/usr/src/uts/intel/audiots/Makefile +++ b/usr/src/uts/intel/audiots/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audiots OBJECTS = $(AUDIOTS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOTS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/intel/Makefile.intel -# -# Overrides, lint pass one enforcement -# +# +# 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. +# CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-parentheses # # Depends on misc/ac97 and drv/audio # LDFLAGS += -dy -N misc/ac97 -N drv/audio -CERRWARN += -_gcc=-Wno-parentheses - # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/audiovia823x/Makefile b/usr/src/uts/intel/audiovia823x/Makefile index f68f8a3f02..687d8a77dd 100644 --- a/usr/src/uts/intel/audiovia823x/Makefile +++ b/usr/src/uts/intel/audiovia823x/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = audiovia823x OBJECTS = $(AUDIOVIA823X_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOVIA823X_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/autofs/Makefile b/usr/src/uts/intel/autofs/Makefile index 2c016535d7..471f5a04a2 100644 --- a/usr/src/uts/intel/autofs/Makefile +++ b/usr/src/uts/intel/autofs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = autofs OBJECTS = $(AUTOFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUTOFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE) @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -63,13 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/av1394/Makefile b/usr/src/uts/intel/av1394/Makefile index 6aec73ec41..fc35a0088a 100644 --- a/usr/src/uts/intel/av1394/Makefile +++ b/usr/src/uts/intel/av1394/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = av1394 OBJECTS = $(AV1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AV1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -54,23 +52,14 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # DEBUG_DEFS_DBG32 += -DTNF_DEBUG -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) + # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -94,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/axf/Makefile b/usr/src/uts/intel/axf/Makefile index 3a2e591c55..d0320992a7 100644 --- a/usr/src/uts/intel/axf/Makefile +++ b/usr/src/uts/intel/axf/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = axf OBJECTS = $(AXF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AXF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -40,18 +39,11 @@ CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-label -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,12 +59,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/bfe/Makefile b/usr/src/uts/intel/bfe/Makefile index 1037153846..85ad6b6633 100644 --- a/usr/src/uts/intel/bfe/Makefile +++ b/usr/src/uts/intel/bfe/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = bfe OBJECTS = $(BFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,7 +44,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -89,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bge/Makefile b/usr/src/uts/intel/bge/Makefile index 95527d4424..9f12395a83 100644 --- a/usr/src/uts/intel/bge/Makefile +++ b/usr/src/uts/intel/bge/Makefile @@ -57,8 +57,8 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # Overrides # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # diff --git a/usr/src/uts/intel/bignum/Makefile b/usr/src/uts/intel/bignum/Makefile index 4698384443..c06e59c4bd 100644 --- a/usr/src/uts/intel/bignum/Makefile +++ b/usr/src/uts/intel/bignum/Makefile @@ -38,7 +38,6 @@ CRYPTODIR = $(COMMONBASE)/crypto # MODULE = bignum OBJECTS = $(BIGNUM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BIGNUM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) BIGNUM_PSR_OBJS = bignum_amd64.o bignum_amd64_asm.o @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -107,10 +99,8 @@ include $(UTSBASE)/intel/Makefile.targ BIGNUM_CFG = -DPSR_MUL CFLAGS += -xO4 -xcrossfile -$(OBJS_DIR)/bignumimpl.o $(LINTS_DIR)/bignumimpl.ln := \ - CPPFLAGS += $(BIGNUM_CFG) -$(OBJS_DIR)/bignum_amd64.o $(LINTS_DIR)/bignum_amd64.ln := \ - CPPFLAGS += $(BIGNUM_CFG) +$(OBJS_DIR)/bignumimpl.o := CPPFLAGS += $(BIGNUM_CFG) +$(OBJS_DIR)/bignum_amd64.o := CPPFLAGS += $(BIGNUM_CFG) $(OBJS_DIR)/bignum_amd64.o: $(BIGNUMDIR)/amd64/bignum_amd64.c $(COMPILE.c) -o $@ $(BIGNUM_CFG) $(BIGNUMDIR)/amd64/bignum_amd64.c @@ -119,9 +109,3 @@ $(OBJS_DIR)/bignum_amd64.o: $(BIGNUMDIR)/amd64/bignum_amd64.c $(OBJS_DIR)/bignum_amd64_asm.o: $(BIGNUMDIR)/amd64/bignum_amd64_asm.s $(COMPILE.s) -P -o $@ $(BIGNUM_CFG) \ $(BIGNUMDIR)/amd64/bignum_amd64_asm.s - -$(LINTS_DIR)/bignum_amd64.ln: $(BIGNUMDIR)/amd64/bignum_amd64.c - @($(LHEAD) $(LINT.c) $(BIGNUMDIR)/amd64/bignum_amd64.c $(LTAIL)) - -$(LINTS_DIR)/bignum_amd64_asm.ln: $(BIGNUMDIR)/amd64/bignum_amd64_asm.s - @($(LHEAD) $(LINT.s) $(BIGNUMDIR)/amd64/bignum_amd64_asm.s $(LTAIL)) diff --git a/usr/src/uts/intel/bl/Makefile b/usr/src/uts/intel/bl/Makefile index fcb12b22d2..b275054e9a 100644 --- a/usr/src/uts/intel/bl/Makefile +++ b/usr/src/uts/intel/bl/Makefile @@ -23,8 +23,6 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# UTSBASE = ../.. @@ -33,7 +31,6 @@ UTSBASE = ../.. # MODULE = bl OBJECTS = $(BL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -46,7 +43,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,12 +58,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/blkdev/Makefile b/usr/src/uts/intel/blkdev/Makefile index 5175d39914..2a323266ba 100644 --- a/usr/src/uts/intel/blkdev/Makefile +++ b/usr/src/uts/intel/blkdev/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = blkdev OBJECTS = $(BLKDEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BLKDEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/blowfish/Makefile b/usr/src/uts/intel/blowfish/Makefile index a80406a6f1..0d2e672fca 100644 --- a/usr/src/uts/intel/blowfish/Makefile +++ b/usr/src/uts/intel/blowfish/Makefile @@ -43,7 +43,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = blowfish OBJECTS = $(BLOWFISHPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BLOWFISHPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,13 +65,10 @@ CPPFLAGS += -I$(COM_DIR) CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\" # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -94,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bnx/Makefile b/usr/src/uts/intel/bnx/Makefile index bf202d2bde..46eeadef7a 100644 --- a/usr/src/uts/intel/bnx/Makefile +++ b/usr/src/uts/intel/bnx/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. # MODULE = bnx OBJECTS = $(BNX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LINTS_DIR)/bnx_lint.ln ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) SRCDIR = $(UTSBASE)/common/io/bnx CONF_SRCDIR = $(SRCDIR) @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) C99MODE= -xc99=%all @@ -90,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bnxe/Makefile b/usr/src/uts/intel/bnxe/Makefile index 9e686ee522..e084215302 100644 --- a/usr/src/uts/intel/bnxe/Makefile +++ b/usr/src/uts/intel/bnxe/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. # MODULE = bnxe OBJECTS = $(BNXE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LINTS_DIR)/bnxe_lint.ln ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) SRCDIR = $(UTSBASE)/common/io/bnxe CONF_SRCDIR = $(SRCDIR) @@ -46,13 +45,12 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) C99LMODE= -Xc99=%all # -# Driver-specific flags +# Driver-specific flags # XXX inline bits were originally set to inline # CPPFLAGS += -DLM_RXPKT_NON_CONTIGUOUS \ @@ -101,22 +99,6 @@ CERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX # a whole mess SMATCH=off -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2 -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_CONSTANT_CONDITION -LINTTAGS += -erroff=E_NOP_ELSE_STMT -LINTTAGS += -erroff=E_NOP_IF_STMT -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_EXPR_NULL_EFFECT -LINTTAGS += -erroff=E_STMT_NOT_REACHED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_CASE_FALLTHRU -LINTTAGS += -erroff=E_CONST_EXPR # # Default build targets. @@ -131,12 +113,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bofi/Makefile b/usr/src/uts/intel/bofi/Makefile index 5cd82b9879..7f9a85c7c9 100644 --- a/usr/src/uts/intel/bofi/Makefile +++ b/usr/src/uts/intel/bofi/Makefile @@ -25,7 +25,7 @@ # Copyright (c) 2018, Joyent, Inc. # -# This makefile drives the production of the bofi driver +# This makefile drives the production of the bofi driver # kernel module. # @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = bofi OBJECTS = $(BOFI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOFI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -57,7 +56,6 @@ FILEMODE = 644 # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,14 +73,10 @@ CERRWARN += $(CNOWARN_UNINIT) $(OBJS_DIR)/bofi.o := SMOFF += signed_integer_overflow_check,deref_check # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV # # Default build targets. @@ -97,12 +91,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bootdev/Makefile b/usr/src/uts/intel/bootdev/Makefile index 18705fe8f1..2668dab71a 100644 --- a/usr/src/uts/intel/bootdev/Makefile +++ b/usr/src/uts/intel/bootdev/Makefile @@ -19,13 +19,12 @@ # CDDL HEADER END # # -# uts/intel/bootdev/Makefile # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # -# This makefile drives the production of the bootdev driver +# This makefile drives the production of the bootdev driver # kernel module. # # intel architecture dependent @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = bootdev OBJECTS = $(BOOTDEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOOTDEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bootfs/Makefile b/usr/src/uts/intel/bootfs/Makefile index ca412de439..fc9ed33958 100644 --- a/usr/src/uts/intel/bootfs/Makefile +++ b/usr/src/uts/intel/bootfs/Makefile @@ -30,7 +30,6 @@ UTSBASE = ../.. # MODULE = bootfs OBJECTS = $(BOOTFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOOTFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -42,7 +41,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,12 +56,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bpf/Makefile b/usr/src/uts/intel/bpf/Makefile index 6b65e989db..7e2711727b 100644 --- a/usr/src/uts/intel/bpf/Makefile +++ b/usr/src/uts/intel/bpf/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = bpf OBJECTS = $(BPF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BPF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/bpf @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -66,11 +64,10 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti INC_PATH += -I$(UTSBASE)/common/io/bpf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bridge/Makefile b/usr/src/uts/intel/bridge/Makefile index c93ac30992..434621d210 100644 --- a/usr/src/uts/intel/bridge/Makefile +++ b/usr/src/uts/intel/bridge/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = bridge OBJECTS = $(BRIDGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BRIDGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -49,14 +48,14 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement +# 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. # CFLAGS += $(CCVERBOSE) - CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses @@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/bufmod/Makefile b/usr/src/uts/intel/bufmod/Makefile index 68dc9493c5..9d58cfae3b 100644 --- a/usr/src/uts/intel/bufmod/Makefile +++ b/usr/src/uts/intel/bufmod/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/bufmod/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the streams buffer module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = bufmod OBJECTS = $(BUFMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BUFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,19 +50,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/busra/Makefile b/usr/src/uts/intel/busra/Makefile index c0b0aef680..b88448c807 100644 --- a/usr/src/uts/intel/busra/Makefile +++ b/usr/src/uts/intel/busra/Makefile @@ -27,7 +27,7 @@ # # -# This makefile drives the production of the busra +# This makefile drives the production of the busra # kernel module. # # intel architecture dependent @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = busra OBJECTS = $(BUSRA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -58,7 +57,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/c2audit/Makefile b/usr/src/uts/intel/c2audit/Makefile index a0b21d0b52..4e33c9d5ab 100644 --- a/usr/src/uts/intel/c2audit/Makefile +++ b/usr/src/uts/intel/c2audit/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = c2audit OBJECTS = $(C2AUDIT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(C2AUDIT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,20 +59,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N fs/sockfs # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-clobbered CERRWARN += $(CNOWARN_UNINIT) @@ -92,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cardbus/Makefile b/usr/src/uts/intel/cardbus/Makefile index f2576aba6b..83ae30f769 100644 --- a/usr/src/uts/intel/cardbus/Makefile +++ b/usr/src/uts/intel/cardbus/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = cardbus OBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,35 +51,24 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# Include sun4u specific header files +# Include sun4u specific header files # INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4 -I$(UTSBASE)/i86pc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - CPPFLAGS += -DHOTPLUG # dependency LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-function @@ -101,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/cc/Makefile b/usr/src/uts/intel/cc/Makefile index 27a74f2c95..192e2c8148 100644 --- a/usr/src/uts/intel/cc/Makefile +++ b/usr/src/uts/intel/cc/Makefile @@ -21,7 +21,6 @@ UTSBASE = ../.. # MODULE = cc OBJECTS = $(CC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -33,7 +32,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cc_cubic/Makefile b/usr/src/uts/intel/cc_cubic/Makefile index a4edef5f46..3011d82c59 100644 --- a/usr/src/uts/intel/cc_cubic/Makefile +++ b/usr/src/uts/intel/cc_cubic/Makefile @@ -25,7 +25,6 @@ UTSBASE = ../.. # MODULE = cc_cubic OBJECTS = $(CC_CUBIC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CC_CUBIC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE) # @@ -37,7 +36,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cc_newreno/Makefile b/usr/src/uts/intel/cc_newreno/Makefile index aaa47dcd05..d11ab9a77b 100644 --- a/usr/src/uts/intel/cc_newreno/Makefile +++ b/usr/src/uts/intel/cc_newreno/Makefile @@ -25,7 +25,6 @@ UTSBASE = ../.. # MODULE = cc_newreno OBJECTS = $(CC_NEWRENO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CC_NEWRENO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE) # @@ -37,7 +36,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cc_sunreno/Makefile b/usr/src/uts/intel/cc_sunreno/Makefile index 90463e9268..ecff8f15ba 100644 --- a/usr/src/uts/intel/cc_sunreno/Makefile +++ b/usr/src/uts/intel/cc_sunreno/Makefile @@ -25,7 +25,6 @@ UTSBASE = ../.. # MODULE = cc_sunreno OBJECTS = $(CC_SUNRENO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CC_SUNRENO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE) # @@ -37,7 +36,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/chxge/Makefile b/usr/src/uts/intel/chxge/Makefile index 1e2c3636d4..29bd9ffc87 100644 --- a/usr/src/uts/intel/chxge/Makefile +++ b/usr/src/uts/intel/chxge/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = chxge OBJECTS = $(CH_OBJS:%=$(OBJS_DIR)/%) $(CH_COM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CH_OBJS:%.o=$(LINTS_DIR)/%.ln) $(CH_COM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \ @@ -75,32 +73,12 @@ CFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM # LDFLAGS += -dy -N misc/gld -N drv/ip -N misc/mac -# Lint flag -# -LINTFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \ - -I$(UTSBASE)/common/io/chxge/ \ - -I$(UTSBASE)/common/io/chxge/com - -LINTFLAGS += -DCONFIG_SMP - -LINTFLAGS += -DRX_MAX_COUNT=256 - -LINTFLAGS += -DCONFIG_CHELSIO_T1_OFFLOAD - -LINTFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM - -LINTFLAGS += -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable @@ -125,12 +103,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/clone/Makefile b/usr/src/uts/intel/clone/Makefile index 06c6223eb7..48d0063bbd 100644 --- a/usr/src/uts/intel/clone/Makefile +++ b/usr/src/uts/intel/clone/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = clone OBJECTS = $(CLONE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CLONE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # needs work @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cmdk/Makefile b/usr/src/uts/intel/cmdk/Makefile index 8de577e243..cee9d0e93f 100644 --- a/usr/src/uts/intel/cmdk/Makefile +++ b/usr/src/uts/intel/cmdk/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = cmdk OBJECTS = $(CMDK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CMDK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/dktp/disk @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,15 +70,10 @@ CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED # # Default build targets. @@ -95,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cmlb/Makefile b/usr/src/uts/intel/cmlb/Makefile index 05c03ff23d..13430775bd 100644 --- a/usr/src/uts/intel/cmlb/Makefile +++ b/usr/src/uts/intel/cmlb/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = cmlb OBJECTS = $(CMLB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,14 +60,10 @@ DEBUG_DEFS += $(DEBUG_FLGS) CPPFLAGS += -D_EXTVTOC # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-type-limits @@ -93,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cn/Makefile b/usr/src/uts/intel/cn/Makefile index 9091c3d498..1773563041 100644 --- a/usr/src/uts/intel/cn/Makefile +++ b/usr/src/uts/intel/cn/Makefile @@ -20,14 +20,12 @@ # CDDL HEADER END # # -# uts/intel/cn/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # -# This makefile drives the production of the cn driver +# This makefile drives the production of the cn driver # kernel module. # # intel architecture dependent @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = cn OBJECTS = $(CN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -56,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/config/Makefile b/usr/src/uts/intel/config/Makefile index 66a8e5ec02..b5019e887f 100644 --- a/usr/src/uts/intel/config/Makefile +++ b/usr/src/uts/intel/config/Makefile @@ -117,13 +117,12 @@ $(BOOTDEVICEDB)/%: $(BOOTDEVICEDB) $(SRCDIR)/% $(SRCDIR)/priv_names: $(PRIVS_DEF) $(PRIVS_AWK) $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pnamesfile=$@ -clean lint: +clean: clobber: clobber.targ -# -# No lints, so keep the clobber and clean targets reasonable. -# -CLEANLINTFILES = Nothing_to_remove +# +# Keep the clobber and clean targets reasonable. +# CLEANFILES = Nothing_to_remove CLOBBERFILES = $(SRCDIR)/priv_names diff --git a/usr/src/uts/intel/connld/Makefile b/usr/src/uts/intel/connld/Makefile index 0c51ba1d74..2225a13af4 100644 --- a/usr/src/uts/intel/connld/Makefile +++ b/usr/src/uts/intel/connld/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/connld/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the connld streams kernel # module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = connld OBJECTS = $(CONNLD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONNLD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/consconfig/Makefile b/usr/src/uts/intel/consconfig/Makefile index 9637931322..6e2d02ae5f 100644 --- a/usr/src/uts/intel/consconfig/Makefile +++ b/usr/src/uts/intel/consconfig/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/intel/consconfig/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the consconfig `misc' # kernel module. @@ -42,7 +41,6 @@ UTSBASE = ../.. # MODULE = consconfig OBJECTS = $(CONSCONFIG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONSCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/conskbd/Makefile b/usr/src/uts/intel/conskbd/Makefile index bfc6d9ef64..b29fb11cf7 100644 --- a/usr/src/uts/intel/conskbd/Makefile +++ b/usr/src/uts/intel/conskbd/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/intel/conskbd/Makefile # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the conskbd driver # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = conskbd OBJECTS = $(CONSKBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONSKBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) @@ -61,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS = -dy -Nmisc/kbtrans # -# 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -80,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/consms/Makefile b/usr/src/uts/intel/consms/Makefile index d6aa3b8d95..e543670753 100644 --- a/usr/src/uts/intel/consms/Makefile +++ b/usr/src/uts/intel/consms/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = consms OBJECTS = $(CONSMS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONSMS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,15 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-switch @@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/core_pcbe/Makefile b/usr/src/uts/intel/core_pcbe/Makefile index e2c8499fde..572fd7b212 100644 --- a/usr/src/uts/intel/core_pcbe/Makefile +++ b/usr/src/uts/intel/core_pcbe/Makefile @@ -66,7 +66,6 @@ CPCGEN_SRCS = $(CPCGEN_OBJS:%.o=%.c) core_pcbe_cpcgen.h MODULE = pcbe.GenuineIntel.6.15 OBJECTS = $(CORE_PCBE_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(CPCGEN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CORE_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE) # @@ -128,8 +127,6 @@ CLEANFILES += $(CPCGEN_SRCS) # Define targets. # ALL_TARGET = $(CPCGEN_COMMON) .WAIT $(BINARY) -LINT_MODULE = core_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(CPCGEN_COMMON) .WAIT $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # @@ -145,12 +142,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTSOFTLINKS): $(ROOTMODULE) diff --git a/usr/src/uts/intel/coretemp/Makefile b/usr/src/uts/intel/coretemp/Makefile index 9ce4a8ab56..d092b63cb9 100644 --- a/usr/src/uts/intel/coretemp/Makefile +++ b/usr/src/uts/intel/coretemp/Makefile @@ -23,7 +23,6 @@ CONF_SRCDIR = $(UTSBASE)/intel/io/coretemp include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -43,12 +42,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/cpqary3/Makefile b/usr/src/uts/intel/cpqary3/Makefile index a2f1207c25..c3abfaba40 100644 --- a/usr/src/uts/intel/cpqary3/Makefile +++ b/usr/src/uts/intel/cpqary3/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = cpqary3 OBJECTS = $(CPQARY3_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPQARY3_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/cpqary3 @@ -36,13 +35,12 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -I$(UTSBASE)/common/io/cpqary3 # -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi @@ -61,12 +59,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cpuid/Makefile b/usr/src/uts/intel/cpuid/Makefile index a6bb260be4..d04c6eb99e 100644 --- a/usr/src/uts/intel/cpuid/Makefile +++ b/usr/src/uts/intel/cpuid/Makefile @@ -23,20 +23,17 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = cpuid OBJECTS = $(CPUID_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPUID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -49,12 +46,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/cpunex/Makefile b/usr/src/uts/intel/cpunex/Makefile index e9836d8df5..62ba6afd9b 100644 --- a/usr/src/uts/intel/cpunex/Makefile +++ b/usr/src/uts/intel/cpunex/Makefile @@ -22,7 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the CPU nexus driver # in x86 systems @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = cpunex OBJECTS = $(CPUNEX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPUNEX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cryptmod/Makefile b/usr/src/uts/intel/cryptmod/Makefile index 57be67a788..3d079b491e 100644 --- a/usr/src/uts/intel/cryptmod/Makefile +++ b/usr/src/uts/intel/cryptmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = cryptmod OBJECTS = $(CRYPTMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CRYPTMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -52,18 +51,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += $(CNOWARN_UNINIT) @@ -80,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/crypto/Makefile b/usr/src/uts/intel/crypto/Makefile index 0ed9d0bd9a..664f79ca18 100644 --- a/usr/src/uts/intel/crypto/Makefile +++ b/usr/src/uts/intel/crypto/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = crypto OBJECTS = $(CRYPTO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CRYPTO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/crypto/io @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/kcf @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cryptoadm/Makefile b/usr/src/uts/intel/cryptoadm/Makefile index ddc0ad351b..3e62e7040d 100644 --- a/usr/src/uts/intel/cryptoadm/Makefile +++ b/usr/src/uts/intel/cryptoadm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = cryptoadm OBJECTS = $(CRYPTOADM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CRYPTOADM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/crypto/io @@ -53,17 +52,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/kcf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ctf/Makefile b/usr/src/uts/intel/ctf/Makefile index d3a359cb79..52968662ff 100644 --- a/usr/src/uts/intel/ctf/Makefile +++ b/usr/src/uts/intel/ctf/Makefile @@ -29,13 +29,11 @@ UTSBASE = ../.. MODULE = ctf OBJECTS = $(CTF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CTF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) C99LMODE= -Xc99=%all @@ -44,13 +42,10 @@ CPPFLAGS += -I$(SRC)/common/ctf -DCTF_OLD_VERSIONS LDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile -dy # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -64,12 +59,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/ctfs/Makefile b/usr/src/uts/intel/ctfs/Makefile index 03934580b6..030bfbae24 100644 --- a/usr/src/uts/intel/ctfs/Makefile +++ b/usr/src/uts/intel/ctfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ctfs OBJECTS = $(CTFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CTFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,15 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cxgbe/Makefile b/usr/src/uts/intel/cxgbe/Makefile index 4b7a81087a..1b688df9a1 100644 --- a/usr/src/uts/intel/cxgbe/Makefile +++ b/usr/src/uts/intel/cxgbe/Makefile @@ -26,7 +26,7 @@ include $(UTSBASE)/intel/Makefile.intel SUBDIRS= t4nex cxgbe -all def clean clobber lint modlintlib clean.lint install: $(SUBDIRS) +all def clean clobber install: $(SUBDIRS) $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) diff --git a/usr/src/uts/intel/cxgbe/cxgbe/Makefile b/usr/src/uts/intel/cxgbe/cxgbe/Makefile index a9600cce5e..25c5c8ab10 100644 --- a/usr/src/uts/intel/cxgbe/cxgbe/Makefile +++ b/usr/src/uts/intel/cxgbe/cxgbe/Makefile @@ -28,7 +28,6 @@ UTSBASE = ../../.. # MODULE = cxgbe OBJECTS = $(CXGBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -40,7 +39,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ @@ -52,13 +50,6 @@ CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ LDFLAGS += -dy -N misc/mac -N drv/ip # -# Lint -# -LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ - -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared -LINTFLAGS += -Xc99=%all - -# # Default build targets. # .KEEP_STATE: @@ -71,12 +62,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/cxgbe/t4nex/Makefile b/usr/src/uts/intel/cxgbe/t4nex/Makefile index 0c22a89391..337a39f8ac 100644 --- a/usr/src/uts/intel/cxgbe/t4nex/Makefile +++ b/usr/src/uts/intel/cxgbe/t4nex/Makefile @@ -31,9 +31,6 @@ MODULE = t4nex OBJECTS = $(CXGBE_COM_OBJS:%=$(OBJS_DIR)/%) \ $(CXGBE_FW_OBJS:%=$(OBJS_DIR)/%) \ $(CXGBE_NEX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CXGBE_COM_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CXGBE_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CXGBE_NEX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,7 +42,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ @@ -57,40 +53,6 @@ CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ # LDFLAGS += -dy -N misc/mac -N drv/ip -# -# Lint -# -LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \ - -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \ - -I$(UTSBASE)/common/io/cxgbe/firmware -LINTFLAGS += -Xc99=%all - -# -# A lot of these come from the fact that there are static inlines and -# that this driver leverages various C99 and some GNU C extensions. -# -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_ZERO_OR_NEGATIVE_SUBSCRIPT -LINTTAGS += -erroff=E_ZERO_SIZED_STRUCT_UNION -LINTTAGS += -erroff=E_ANONYMOUS_UNION_DECL -LINTTAGS += -erroff=E_CONSTANT_CONDITION - -# -# These have been manually verified at the moment. When updating this -# driver, please manually check the following lint warnings. Note some -# of these are due to limitations in Sun Studio. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX -LINTTAGS += -erroff=E_FUNC_NO_RET_VAL -LINTTAGS += -erroff=E_NOP_IF_STMT -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2 -LINTTAGS += -erroff=E_CASE_FALLTHRU -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - # needs work SMATCH=off @@ -107,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dadk/Makefile b/usr/src/uts/intel/dadk/Makefile index d64833d0be..74abd71b05 100644 --- a/usr/src/uts/intel/dadk/Makefile +++ b/usr/src/uts/intel/dadk/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = dadk OBJECTS = $(DADK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DADK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,11 +61,10 @@ LDFLAGS += -dy -Nmisc/gda CPPFLAGS += -D_EXTVTOC # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -87,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/daplt/Makefile b/usr/src/uts/intel/daplt/Makefile index 69e2435778..14a9ce9a01 100644 --- a/usr/src/uts/intel/daplt/Makefile +++ b/usr/src/uts/intel/daplt/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = daplt OBJECTS = $(DAPLT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DAPLT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,13 +60,10 @@ INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -91,12 +86,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dca/Makefile b/usr/src/uts/intel/dca/Makefile index 60cd04cd96..7cb46b9884 100644 --- a/usr/src/uts/intel/dca/Makefile +++ b/usr/src/uts/intel/dca/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = dca OBJECTS = $(DCA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/crypto/io @@ -56,17 +55,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/dcam1394/Makefile b/usr/src/uts/intel/dcam1394/Makefile index 0b5f343a84..446c9b59c0 100644 --- a/usr/src/uts/intel/dcam1394/Makefile +++ b/usr/src/uts/intel/dcam1394/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = dcam1394 OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,25 +44,18 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # depends on misc/s1394 LDFLAGS += -dy -Nmisc/s1394 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dcfs/Makefile b/usr/src/uts/intel/dcfs/Makefile index 8efff46405..604f8453d6 100644 --- a/usr/src/uts/intel/dcfs/Makefile +++ b/usr/src/uts/intel/dcfs/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = dcfs OBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dcopy/Makefile b/usr/src/uts/intel/dcopy/Makefile index baa0c303b5..a1e85bb9e1 100644 --- a/usr/src/uts/intel/dcopy/Makefile +++ b/usr/src/uts/intel/dcopy/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = dcopy OBJECTS = $(DCOPY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCOPY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-unused-label # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dcpc/Makefile b/usr/src/uts/intel/dcpc/Makefile index 6378018a34..696049a607 100644 --- a/usr/src/uts/intel/dcpc/Makefile +++ b/usr/src/uts/intel/dcpc/Makefile @@ -28,13 +28,11 @@ UTSBASE = ../.. MODULE = dcpc OBJECTS = $(DCPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) INC_PATH += -I$(UTSBASE)/i86pc @@ -53,12 +51,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/dedump/Makefile b/usr/src/uts/intel/dedump/Makefile index 9154d66b10..a0c11d5de1 100644 --- a/usr/src/uts/intel/dedump/Makefile +++ b/usr/src/uts/intel/dedump/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/dedump/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the dedump streams kernel # module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = dedump OBJECTS = $(DEDUMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEDUMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,19 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -79,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/des/Makefile b/usr/src/uts/intel/des/Makefile index 1807a56139..6ac359b232 100644 --- a/usr/src/uts/intel/des/Makefile +++ b/usr/src/uts/intel/des/Makefile @@ -44,7 +44,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = des OBJECTS = $(DES_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DES_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) TARGET_32 = ../../kernel/crypto/$(MODULE) @@ -60,7 +59,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -71,13 +69,10 @@ LDFLAGS += -dy -Nmisc/kcf CPPFLAGS += -I$(COM_DIR) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -95,12 +90,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/dev/Makefile b/usr/src/uts/intel/dev/Makefile index cc100922a0..dc0201809e 100644 --- a/usr/src/uts/intel/dev/Makefile +++ b/usr/src/uts/intel/dev/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = dev OBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,8 +63,6 @@ LDFLAGS += -dy -Nfs/devfs -Nmisc/dls INC_PATH += -I$(UTSBASE)/common/fs/zfs INC_PATH += -I$(UTSBASE)/common/io/bpf -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/devfs/Makefile b/usr/src/uts/intel/devfs/Makefile index 9989fd4510..19278c0cae 100644 --- a/usr/src/uts/intel/devfs/Makefile +++ b/usr/src/uts/intel/devfs/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = devfs OBJECTS = $(DEVFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -59,7 +58,6 @@ $(OBJS_DIR)/devfs_vnops.o := SMOFF += signed # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -82,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/devinfo/Makefile b/usr/src/uts/intel/devinfo/Makefile index 39790aed0c..a281cb98a4 100644 --- a/usr/src/uts/intel/devinfo/Makefile +++ b/usr/src/uts/intel/devinfo/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = devinfo OBJECTS = $(DEVINFO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVINFO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -I$(SRC)/common @@ -82,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dlcosmk/Makefile b/usr/src/uts/intel/dlcosmk/Makefile index 203f2f9768..5aa5af4b88 100644 --- a/usr/src/uts/intel/dlcosmk/Makefile +++ b/usr/src/uts/intel/dlcosmk/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # This makefile creates the dlcosmk schedule (ipp) module. # intel architecture dependent @@ -39,7 +38,6 @@ UTSBASE = ../.. # MODULE = dlcosmk OBJECTS = $(DLCOSMK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLCOSMK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -56,20 +54,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dld/Makefile b/usr/src/uts/intel/dld/Makefile index 0f22fea581..6907bdc8ae 100644 --- a/usr/src/uts/intel/dld/Makefile +++ b/usr/src/uts/intel/dld/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = dld OBJECTS = $(DLD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/dld ROOTDEVLINK = $(ROOT)/dev/$(MODULE) @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -59,14 +57,10 @@ LDFLAGS += -dy -N misc/dls -N misc/mac INC_PATH += -I$(UTSBASE)/common/io/bpf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits @@ -89,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTDEVLINK) $(ROOTDEVLINK): diff --git a/usr/src/uts/intel/dlpistub/Makefile b/usr/src/uts/intel/dlpistub/Makefile index 53cf2092a7..6b1a7bc6c2 100644 --- a/usr/src/uts/intel/dlpistub/Makefile +++ b/usr/src/uts/intel/dlpistub/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = dlpistub OBJECTS = $(DLPISTUB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLPISTUB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/dlpistub @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dls/Makefile b/usr/src/uts/intel/dls/Makefile index 0f67bd35b7..0d76ff4e95 100644 --- a/usr/src/uts/intel/dls/Makefile +++ b/usr/src/uts/intel/dls/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = dls OBJECTS = $(DLS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,14 +55,10 @@ LDFLAGS += -dy -N misc/mac INC_PATH += -I$(UTSBASE)/common/io/bpf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dmfe/Makefile b/usr/src/uts/intel/dmfe/Makefile index 8fbef4c1e6..ccea565214 100644 --- a/usr/src/uts/intel/dmfe/Makefile +++ b/usr/src/uts/intel/dmfe/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = dmfe OBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -48,14 +47,14 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dnet/Makefile b/usr/src/uts/intel/dnet/Makefile index 1fbfc68ee1..681e44306a 100644 --- a/usr/src/uts/intel/dnet/Makefile +++ b/usr/src/uts/intel/dnet/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = dnet OBJECTS = $(DNET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DNET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -48,17 +47,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/doorfs/Makefile b/usr/src/uts/intel/doorfs/Makefile index c130144226..86cf88defe 100644 --- a/usr/src/uts/intel/doorfs/Makefile +++ b/usr/src/uts/intel/doorfs/Makefile @@ -43,7 +43,6 @@ DOORFS_OBJS += door_vnops.o door_sys.o door_support.o # MODULE = doorfs OBJECTS = $(DOORFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DOORFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -56,23 +55,19 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. # MODSTUBS_DIR = $(OBJS_DIR) -$(MODSTUBS_O) := AS_CPPFLAGS += CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -93,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dprov/Makefile b/usr/src/uts/intel/dprov/Makefile index b0e2a55091..8fca21925c 100644 --- a/usr/src/uts/intel/dprov/Makefile +++ b/usr/src/uts/intel/dprov/Makefile @@ -42,7 +42,6 @@ COM_DIR = $(SRC)/common/crypto # MODULE = dprov OBJECTS = $(DPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_CRYPTO_DIR)/$(MODULE) TARGET_32 = ../../kernel/drv/$(MODULE) @@ -59,7 +58,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -72,16 +70,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/kcf CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses @@ -100,12 +94,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/drcompat/Makefile b/usr/src/uts/intel/drcompat/Makefile index b51b450ae0..2ce32e8d1f 100644 --- a/usr/src/uts/intel/drcompat/Makefile +++ b/usr/src/uts/intel/drcompat/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/drcompat/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the drcompat streams kernel # module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = drcompat OBJECTS = $(DRCOMPAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DRCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,18 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dscpmk/Makefile b/usr/src/uts/intel/dscpmk/Makefile index be0c768aa4..2faacbe553 100644 --- a/usr/src/uts/intel/dscpmk/Makefile +++ b/usr/src/uts/intel/dscpmk/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = dscpmk OBJECTS = $(DSCPMK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DSCPMK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -55,18 +54,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/dtrace/Makefile b/usr/src/uts/intel/dtrace/Makefile index 0462d6bd34..ad386f149f 100644 --- a/usr/src/uts/intel/dtrace/Makefile +++ b/usr/src/uts/intel/dtrace/Makefile @@ -28,23 +28,16 @@ UTSBASE = ../.. MODULE = dtrace OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace include $(UTSBASE)/intel/Makefile.intel # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -56,7 +49,6 @@ $(OBJS_DIR)/dtrace.o := SMOFF += signed_integer_overflow_check,deref_check CPPFLAGS += -I$(SRC)/common/util ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR) @@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(BINARY): $(ASSYM_H) diff --git a/usr/src/uts/intel/dump/Makefile b/usr/src/uts/intel/dump/Makefile index 6bae766a1d..bae963eb53 100644 --- a/usr/src/uts/intel/dump/Makefile +++ b/usr/src/uts/intel/dump/Makefile @@ -24,7 +24,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. @@ -33,7 +32,6 @@ UTSBASE = ../.. # MODULE = dump OBJECTS = $(DUMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DUMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -46,17 +44,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -69,12 +59,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/e1000g/Makefile b/usr/src/uts/intel/e1000g/Makefile index bf933f9b7e..a2ee1a5724 100644 --- a/usr/src/uts/intel/e1000g/Makefile +++ b/usr/src/uts/intel/e1000g/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. MODULE = e1000g OBJECTS = $(E1000G_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(E1000G_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/e1000g @@ -50,10 +49,6 @@ CFLAGS += -D_KERNEL -Di386 -DNEWSTAT -DNOMUT -DRCVWORKAROUND \ -DTANAX_WORKAROUND -I$(UTSBASE)/common/io/e1000g \ -I$(UTSBASE)/common/io/e1000api -LINTFLAGS += \ - -I$(UTSBASE)/common/io/e1000g \ - -I$(UTSBASE)/common/io/e1000api - CFLAGS_CPP_COMMENTS = -xCC CFLAGS += $(CFLAGS_CPP_COMMENTS) @@ -67,13 +62,11 @@ CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED SMOFF += all_func_returns,indenting,shift_to_zero -LINTTAGS += -erroff=E_CONSTANT_CONDITION # # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -96,11 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) install: $(INSTALL_DEPS) diff --git a/usr/src/uts/intel/ecc/Makefile b/usr/src/uts/intel/ecc/Makefile index cfc6b066b2..b0093ad479 100644 --- a/usr/src/uts/intel/ecc/Makefile +++ b/usr/src/uts/intel/ecc/Makefile @@ -38,7 +38,6 @@ COM2_DIR = $(COMMONBASE)/crypto # MODULE = ecc OBJECTS = $(ECCPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LINTS_DIR)/ecc.ln ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,7 +60,6 @@ CPPFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B -LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-unused-label @@ -91,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ecpp/Makefile b/usr/src/uts/intel/ecpp/Makefile index 6a847a8bc2..a6c6eb5c34 100644 --- a/usr/src/uts/intel/ecpp/Makefile +++ b/usr/src/uts/intel/ecpp/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = ecpp OBJECTS = $(ECPP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ECPP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -52,17 +51,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -83,10 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/edonr/Makefile b/usr/src/uts/intel/edonr/Makefile index 90c1ad761e..2f17fd4990 100644 --- a/usr/src/uts/intel/edonr/Makefile +++ b/usr/src/uts/intel/edonr/Makefile @@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto # MODULE = edonr OBJECTS = $(EDONR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EDONR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) LDFLAGS += -dy -Nmisc/kcf CFLAGS += -I$(COMDIR) -LINTFLAGS += -I$(COMDIR) # # Default build targets. @@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/efe/Makefile b/usr/src/uts/intel/efe/Makefile index 3e53fa8aea..f569d24464 100644 --- a/usr/src/uts/intel/efe/Makefile +++ b/usr/src/uts/intel/efe/Makefile @@ -19,7 +19,6 @@ UTSBASE = ../.. # MODULE = efe OBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -31,7 +30,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ehci/Makefile b/usr/src/uts/intel/ehci/Makefile index 8c2192261e..3a662c914c 100644 --- a/usr/src/uts/intel/ehci/Makefile +++ b/usr/src/uts/intel/ehci/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ehci OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci @@ -59,7 +58,6 @@ LDFLAGS += -dy -Nmisc/usba # ALL_TARGET = $(BINARY) ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/eibnx/Makefile b/usr/src/uts/intel/eibnx/Makefile index 85d5ea3310..fc21b90303 100644 --- a/usr/src/uts/intel/eibnx/Makefile +++ b/usr/src/uts/intel/eibnx/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = eibnx OBJECTS = $(EIBNX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EIBNX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/eoib @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # Module specific debug flag @@ -61,20 +59,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -DENX_DEBUG # -# Lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Depends on misc/ibtl # LDFLAGS += -dy -Nmisc/ibcm -Nmisc/ibtl # -# The only lint flag we should need +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -94,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/elfexec/Makefile b/usr/src/uts/intel/elfexec/Makefile index 4444623960..463fe1bc50 100644 --- a/usr/src/uts/intel/elfexec/Makefile +++ b/usr/src/uts/intel/elfexec/Makefile @@ -46,7 +46,6 @@ ELFEXEC_OBJS_32 = ELFEXEC_OBJS_64 = elf32.o elf32_notes.o old32_notes.o ELFEXEC_OBJS += $(ELFEXEC_OBJS_$(CLASS)) OBJECTS = $(ELFEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ELFEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE) # @@ -58,19 +57,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) INC_PATH += -I$(UTSBASE)/intel/ia32 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -101,8 +90,6 @@ install: $(INSTALL_DEPS) # include $(UTSBASE)/intel/Makefile.targ -.NO_PARALLEL: $(LINTS) - $(OBJS_DIR)/elf32.o: $(UTSBASE)/common/exec/elf/elf.c $(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c $(CTFCONVERT_O) @@ -114,15 +101,3 @@ $(OBJS_DIR)/elf32_notes.o: $(UTSBASE)/common/exec/elf/elf_notes.c $(OBJS_DIR)/old32_notes.o: $(UTSBASE)/common/exec/elf/old_notes.c $(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c $(CTFCONVERT_O) - -$(LINTS_DIR)/elf32.ln: $(UTSBASE)/common/exec/elf/elf.c - @($(LHEAD) $(LINT.c) -Celf32 -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c $(LTAIL)) - @$(MV) $(@F) $@ - -$(LINTS_DIR)/elf32_notes.ln: $(UTSBASE)/common/exec/elf/elf_notes.c - @($(LHEAD) $(LINT.c) -Celf32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf_notes.c $(LTAIL)) - @$(MV) $(@F) $@ - -$(LINTS_DIR)/old32_notes.ln: $(UTSBASE)/common/exec/elf/old_notes.c - @($(LHEAD) $(LINT.c) -Cold32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c $(LTAIL)) - @$(MV) $(@F) $@ diff --git a/usr/src/uts/intel/elxl/Makefile b/usr/src/uts/intel/elxl/Makefile index 0928deefb8..9f7b2c1ad1 100644 --- a/usr/src/uts/intel/elxl/Makefile +++ b/usr/src/uts/intel/elxl/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = elxl OBJECTS = $(ELXL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ELXL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,9 +55,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -N misc/mac -N misc/mii -# Lint flag # - +# 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-switch CERRWARN += $(CNOWARN_UNINIT) @@ -77,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/emlxs_fw/Makefile b/usr/src/uts/intel/emlxs_fw/Makefile index 4c59ac9ebb..90f6e34528 100644 --- a/usr/src/uts/intel/emlxs_fw/Makefile +++ b/usr/src/uts/intel/emlxs_fw/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = emlxs_fw OBJECTS = $(EMLXS_FW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EMLXS_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EMLXS_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) EMLXS_FLAGS = -DEMLXS_I386 @@ -58,18 +56,12 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\" EMLXS_CFLAGS = $(EMLXS_FLAGS) EMLXS_LFLAGS = $(EMLXS_FLAGS) CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\" -LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\" INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/emul64/Makefile b/usr/src/uts/intel/emul64/Makefile index 4b40975a0e..1c56316e57 100644 --- a/usr/src/uts/intel/emul64/Makefile +++ b/usr/src/uts/intel/emul64/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = emul64 OBJECTS = $(EMUL64_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EMUL64_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,21 +52,14 @@ CFLAGS += $(CCVERBOSE) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/eoib/Makefile b/usr/src/uts/intel/eoib/Makefile index b91672cc9a..996698106b 100644 --- a/usr/src/uts/intel/eoib/Makefile +++ b/usr/src/uts/intel/eoib/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = eoib OBJECTS = $(EOIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EOIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # Module specific debug flag @@ -60,10 +58,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CPPFLAGS += -DEIB_DEBUG # -# Lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/eventfd/Makefile b/usr/src/uts/intel/eventfd/Makefile index 6edff0931a..139bc928a3 100644 --- a/usr/src/uts/intel/eventfd/Makefile +++ b/usr/src/uts/intel/eventfd/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = eventfd OBJECTS = $(EVENTFD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EVENTFD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/exacctsys/Makefile b/usr/src/uts/intel/exacctsys/Makefile index fb878bcacc..029c2df1ca 100644 --- a/usr/src/uts/intel/exacctsys/Makefile +++ b/usr/src/uts/intel/exacctsys/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/intel/exacctsys/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the exacctsys system call module. # intel architecture dependent @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = exacctsys OBJECTS = $(EXACCTSYS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EXACCTSYS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fasttrap/Makefile b/usr/src/uts/intel/fasttrap/Makefile index 259a685067..838cc03a9f 100644 --- a/usr/src/uts/intel/fasttrap/Makefile +++ b/usr/src/uts/intel/fasttrap/Makefile @@ -28,7 +28,6 @@ UTSBASE = ../.. MODULE = fasttrap OBJECTS = $(FASTTRAP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FASTTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/dtrace @@ -36,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/intel/dtrace include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) @@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/fbt/Makefile b/usr/src/uts/intel/fbt/Makefile index 61f5b7e4e4..95dbe8b755 100644 --- a/usr/src/uts/intel/fbt/Makefile +++ b/usr/src/uts/intel/fbt/Makefile @@ -22,13 +22,11 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = fbt OBJECTS = $(FBT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FBT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/dtrace @@ -36,18 +34,10 @@ CONF_SRCDIR = $(UTSBASE)/intel/dtrace include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf -# -# 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_PTRDIFF_OVERFLOW - .KEEP_STATE: def: $(DEF_DEPS) @@ -58,12 +48,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/fcip/Makefile b/usr/src/uts/intel/fcip/Makefile index fd21612a52..07ad6a3c3f 100644 --- a/usr/src/uts/intel/fcip/Makefile +++ b/usr/src/uts/intel/fcip/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = fcip OBJECTS = $(FCIP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCIP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/ @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,14 +58,10 @@ INC_PATH += -I$(SRC)/uts/common LDFLAGS += -dy -Nmisc/fctl -Ndrv/ip # -# Lint tags +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_INCONS_ARG_USED2 -LINTTAGS += -erroff=E_INCONS_VAL_TYPE_USED2 - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fcoe/Makefile b/usr/src/uts/intel/fcoe/Makefile index ac697a75f9..758bc84595 100644 --- a/usr/src/uts/intel/fcoe/Makefile +++ b/usr/src/uts/intel/fcoe/Makefile @@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = fcoe OBJECTS = $(FCOE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCOE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fcoe @@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fcoei/Makefile b/usr/src/uts/intel/fcoei/Makefile index 3a4aa6785c..13bb432cf0 100644 --- a/usr/src/uts/intel/fcoei/Makefile +++ b/usr/src/uts/intel/fcoei/Makefile @@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = fcoei OBJECTS = $(FCOEI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCOEI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/fcoei @@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fcoet/Makefile b/usr/src/uts/intel/fcoet/Makefile index 8f214649f9..07cc3af2c6 100644 --- a/usr/src/uts/intel/fcoet/Makefile +++ b/usr/src/uts/intel/fcoet/Makefile @@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = fcoet OBJECTS = $(FCOET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCOET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # needs work @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fcp/Makefile b/usr/src/uts/intel/fcp/Makefile index 0707670f06..db3c8b063d 100644 --- a/usr/src/uts/intel/fcp/Makefile +++ b/usr/src/uts/intel/fcp/Makefile @@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = fcp OBJECTS = $(FCP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,12 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/fctl -Nmisc/scsi # -# Lint tags +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fcsm/Makefile b/usr/src/uts/intel/fcsm/Makefile index 159d41efed..5a935483b6 100644 --- a/usr/src/uts/intel/fcsm/Makefile +++ b/usr/src/uts/intel/fcsm/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = fcsm OBJECTS = $(FCSM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCSM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/ @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -66,10 +64,10 @@ INC_PATH += -I$(ROOT)/usr/include LDFLAGS += -dy -Nmisc/fctl # -# Lint tags +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fct/Makefile b/usr/src/uts/intel/fct/Makefile index ffdcf940b6..adfd7e4cc0 100644 --- a/usr/src/uts/intel/fct/Makefile +++ b/usr/src/uts/intel/fct/Makefile @@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = fct OBJECTS = $(FCT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/fct @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,12 +60,9 @@ LDFLAGS += -dy -Ndrv/stmf C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# For now, disable these warnings; maintainers should endeavor +# to investigate and remove these for maximum coverage. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_IF_ELSE_ANNOTATION CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-switch @@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fctl/Makefile b/usr/src/uts/intel/fctl/Makefile index d590e8cf19..81144c12a0 100644 --- a/usr/src/uts/intel/fctl/Makefile +++ b/usr/src/uts/intel/fctl/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = fctl OBJECTS = $(FCTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,12 +55,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) INCS += -I$(SRC)/uts/common/ # -# Lint tags +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - CERRWARN += $(CNOWARN_UNINIT) # needs work @@ -81,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fd/Makefile b/usr/src/uts/intel/fd/Makefile index 18a0e03594..d3a2384881 100644 --- a/usr/src/uts/intel/fd/Makefile +++ b/usr/src/uts/intel/fd/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = fd OBJECTS = $(FD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -57,13 +55,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fdc/Makefile b/usr/src/uts/intel/fdc/Makefile index 3169694b23..a647cd43be 100644 --- a/usr/src/uts/intel/fdc/Makefile +++ b/usr/src/uts/intel/fdc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = fdc OBJECTS = $(FDC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FDC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fdfs/Makefile b/usr/src/uts/intel/fdfs/Makefile index bffb97ea6d..a17169bd00 100644 --- a/usr/src/uts/intel/fdfs/Makefile +++ b/usr/src/uts/intel/fdfs/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/fdfs/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the fdfs file system # kernel module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = fdfs OBJECTS = $(FDFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FDFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_FS_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fifofs/Makefile b/usr/src/uts/intel/fifofs/Makefile index 429e63213d..b56ce68b2d 100644 --- a/usr/src/uts/intel/fifofs/Makefile +++ b/usr/src/uts/intel/fifofs/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = fifofs OBJECTS = $(FIFO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FIFO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,12 +63,10 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DFIFO_MODULE CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/flowacct/Makefile b/usr/src/uts/intel/flowacct/Makefile index 5918b997d3..b92dbe08bc 100644 --- a/usr/src/uts/intel/flowacct/Makefile +++ b/usr/src/uts/intel/flowacct/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = flowacct OBJECTS = $(FLOWACCT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FLOWACCT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -56,15 +55,13 @@ LDFLAGS += -dy -Ndrv/ip # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fm/Makefile b/usr/src/uts/intel/fm/Makefile index 687d9d1bb1..22a3799ccb 100644 --- a/usr/src/uts/intel/fm/Makefile +++ b/usr/src/uts/intel/fm/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. MODULE = fm # OBJECTS = $(FM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # For sys/cpu_module.h @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fp/Makefile b/usr/src/uts/intel/fp/Makefile index a102ee87ab..c04504ee21 100644 --- a/usr/src/uts/intel/fp/Makefile +++ b/usr/src/uts/intel/fp/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = fp OBJECTS = $(FP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/fibre-channel/impl/ @@ -50,13 +49,12 @@ include $(UTSBASE)/intel/Makefile.intel # #ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # header file directories # -INCS += -I$(SRC)/uts/common/ +INCS += -I$(SRC)/uts/common/ # # Overrides @@ -64,13 +62,10 @@ INCS += -I$(SRC)/uts/common/ LDFLAGS += -dy -Ndrv/fcp -Nmisc/fctl -Nmisc/scsi # -# Lint tags +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_STATIC_UNUSED - CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-function @@ -90,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fssnap/Makefile b/usr/src/uts/intel/fssnap/Makefile index 8efa81730c..56b27153d6 100644 --- a/usr/src/uts/intel/fssnap/Makefile +++ b/usr/src/uts/intel/fssnap/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = fssnap OBJECTS = $(FSSNAP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FSSNAP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -48,20 +47,18 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Overrides and depends_on # -LDFLAGS += -dy -Nmisc/fssnap_if -Nfs/ufs +LDFLAGS += -dy -Nmisc/fssnap_if -Nfs/ufs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses @@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/fssnap_if/Makefile b/usr/src/uts/intel/fssnap_if/Makefile index 31437aabe0..ea0e210aa4 100644 --- a/usr/src/uts/intel/fssnap_if/Makefile +++ b/usr/src/uts/intel/fssnap_if/Makefile @@ -20,11 +20,9 @@ # CDDL HEADER END # # -# uts/intel/fssnap_if/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" # This makefile drives the production of the file system # snapshot interface kernel module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = fssnap_if OBJECTS = $(FSSNAPIF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FSSNAPIF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/gda/Makefile b/usr/src/uts/intel/gda/Makefile index 5144fd41fe..9ca73d6ac3 100644 --- a/usr/src/uts/intel/gda/Makefile +++ b/usr/src/uts/intel/gda/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/gda/Makefile -# # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the gda "drv" # kernel module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = gda OBJECTS = $(GDA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GDA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/gen_drv/Makefile b/usr/src/uts/intel/gen_drv/Makefile index bf58c6b4d7..194024ef43 100644 --- a/usr/src/uts/intel/gen_drv/Makefile +++ b/usr/src/uts/intel/gen_drv/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = gen_drv OBJECTS = $(GEN_DRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GEN_DRV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -48,15 +47,13 @@ CLOBBERFILES += $(MODULE) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-variable @@ -76,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/gld/Makefile b/usr/src/uts/intel/gld/Makefile index 7a5d77368e..32028c1ae3 100644 --- a/usr/src/uts/intel/gld/Makefile +++ b/usr/src/uts/intel/gld/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = gld OBJECTS = $(GLD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GLD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,19 +53,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/mac # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -84,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hci1394/Makefile b/usr/src/uts/intel/hci1394/Makefile index 87902a5970..965df6b522 100644 --- a/usr/src/uts/intel/hci1394/Makefile +++ b/usr/src/uts/intel/hci1394/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = hci1394 OBJECTS = $(HCI1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HCI1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/1394/adapters LDFLAGS += -dy -Nmisc/s1394 @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,22 +61,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # #ALL_BUILDS = $(ALL_BUILDSONLY64) #DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) DEBUG_DEFS_DBG32 += -DTNF_DEBUG #DEBUG_DEFS_DBG64 += -DTNF_DEBUG # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -96,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hermon/Makefile b/usr/src/uts/intel/hermon/Makefile index b580f00b55..200173e1fe 100644 --- a/usr/src/uts/intel/hermon/Makefile +++ b/usr/src/uts/intel/hermon/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = hermon OBJECTS = $(HERMON_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HERMON_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/hermon LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,11 +60,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) #DEBUG_DEFS_DBG32 += -DTNF_DEBUG #DEBUG_DEFS_DBG64 += -DTNF_DEBUG -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +# +# 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. +# +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-unused-label @@ -89,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hid/Makefile b/usr/src/uts/intel/hid/Makefile index a8b0e576d4..5a50ce4c25 100644 --- a/usr/src/uts/intel/hid/Makefile +++ b/usr/src/uts/intel/hid/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = hid OBJECTS = $(HID_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses @@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hidparser/Makefile b/usr/src/uts/intel/hidparser/Makefile index 9aedf5edd7..abd8042d77 100644 --- a/usr/src/uts/intel/hidparser/Makefile +++ b/usr/src/uts/intel/hidparser/Makefile @@ -24,7 +24,7 @@ # Use is subject to license terms. # # -# This makefile drives the production of the hidparser driver +# This makefile drives the production of the hidparser driver # kernel module. # @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = hidparser OBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hme/Makefile b/usr/src/uts/intel/hme/Makefile index 8f18f7c77d..c94b7b5ef9 100644 --- a/usr/src/uts/intel/hme/Makefile +++ b/usr/src/uts/intel/hme/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = hme OBJECTS = $(HME_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HME_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hook/Makefile b/usr/src/uts/intel/hook/Makefile index c7e3804b3d..9b92759a16 100644 --- a/usr/src/uts/intel/hook/Makefile +++ b/usr/src/uts/intel/hook/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = hook OBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) @@ -60,7 +59,6 @@ $(OBJS_DIR)/hook.o := SMOFF += all_func_returns # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) # diff --git a/usr/src/uts/intel/hpcsvc/Makefile b/usr/src/uts/intel/hpcsvc/Makefile index a2a6e5e134..cee27cd525 100644 --- a/usr/src/uts/intel/hpcsvc/Makefile +++ b/usr/src/uts/intel/hpcsvc/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = hpcsvc OBJECTS = $(HPCSVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HPCSVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hsfs/Makefile b/usr/src/uts/intel/hsfs/Makefile index 88d4ecbbb0..60c3330c35 100644 --- a/usr/src/uts/intel/hsfs/Makefile +++ b/usr/src/uts/intel/hsfs/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = hsfs OBJECTS = $(HSFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HSFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,16 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N fs/specfs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/hubd/Makefile b/usr/src/uts/intel/hubd/Makefile index 1fd5524552..e0dac624f5 100644 --- a/usr/src/uts/intel/hubd/Makefile +++ b/usr/src/uts/intel/hubd/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/intel/hubd/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the hubd driver kernel module. # @@ -52,7 +51,6 @@ $(ROOTCONFIGFILES):= FILEMODE = $(CFILEMODE) # MODULE = hubd OBJECTS = $(HUBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HUBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -64,7 +62,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -91,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTCONFIGFILES) $(ROOTETCUSB)/%: $(ROOTETCUSB) $(SRCDIR)/% diff --git a/usr/src/uts/intel/hxge/Makefile b/usr/src/uts/intel/hxge/Makefile index 911a3cecdf..ea7d5711db 100644 --- a/usr/src/uts/intel/hxge/Makefile +++ b/usr/src/uts/intel/hxge/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. MODULE = hxge HXGE_OBJECTS = $(HXGE_OBJS) $(HXGE_HPI_OBJS) OBJECTS = $(HXGE_OBJECTS:%=$(OBJS_DIR)/%) -LINTS = $(HXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/hxge @@ -55,32 +54,25 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Include hxge specific header files # INC_PATH += -I$(UTSBASE)/common/io/hxge -# -# -# lint pass one enforcement -# + CFLAGS += -DSOLARIS # # Debug flags # # CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG # -LINTFLAGS += -DSOLARIS + # -# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h -# force us to turn off these lint checks. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR - CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -106,12 +98,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/i40e/Makefile b/usr/src/uts/intel/i40e/Makefile index 06cb47cba3..f155df7ee9 100644 --- a/usr/src/uts/intel/i40e/Makefile +++ b/usr/src/uts/intel/i40e/Makefile @@ -17,7 +17,6 @@ UTSBASE = ../.. MODULE = i40e OBJECTS = $(I40E_OBJS:%=$(OBJS_DIR)/%) $(I40E_INTC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(I40E_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/i40e @@ -27,17 +26,9 @@ CPPFLAGS += -I$(UTSBASE)/common/io/i40e CPPFLAGS += -I$(UTSBASE)/common/io/i40e/core ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# The Intel common code defines some values in header files that end up in all -# of our objects. Therefore we don't try to lint for that. -# -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX - -# # The Intel common code defines some enums which are valid unsigned ints that # GCC is fine with, but not Studio. # @@ -60,12 +51,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/Makefile.mapfile diff --git a/usr/src/uts/intel/i8042/Makefile b/usr/src/uts/intel/i8042/Makefile index 0f0062d1f6..f7046fdc14 100644 --- a/usr/src/uts/intel/i8042/Makefile +++ b/usr/src/uts/intel/i8042/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = i8042 OBJECTS = $(I8042_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(I8042_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,16 +51,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) # $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-function @@ -81,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ib/Makefile b/usr/src/uts/intel/ib/Makefile index 8b3939c04b..9255cf8f43 100644 --- a/usr/src/uts/intel/ib/Makefile +++ b/usr/src/uts/intel/ib/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = ib OBJECTS = $(IB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,24 +60,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CERRWARN += $(CNOWARN_UNINIT) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/ibtl # LDFLAGS += -dy -Nmisc/ibdm -Nmisc/ibtl # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -94,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibcm/Makefile b/usr/src/uts/intel/ibcm/Makefile index 43db7246bc..cdc06f2736 100644 --- a/usr/src/uts/intel/ibcm/Makefile +++ b/usr/src/uts/intel/ibcm/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ibcm OBJECTS = $(IBCM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBCM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -54,10 +52,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -75,17 +74,6 @@ SMATCH=off LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_STATIC_UNUSED - -# # Default build targets. # .KEEP_STATE: @@ -98,12 +86,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibdm/Makefile b/usr/src/uts/intel/ibdm/Makefile index 644cbeca3c..3cc97c1de1 100644 --- a/usr/src/uts/intel/ibdm/Makefile +++ b/usr/src/uts/intel/ibdm/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = ibdm OBJECTS = $(IBDM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBDM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,9 +56,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) +CERRWARN += $(CNOWARN_UNINIT) # # depends on misc/ibtl, drv/ib and misc/ibmf @@ -68,16 +69,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf # -# 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_STATIC_UNUSED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -CERRWARN += $(CNOWARN_UNINIT) - -# # Default build targets. # .KEEP_STATE: @@ -90,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibdma/Makefile b/usr/src/uts/intel/ibdma/Makefile index 8b5cb96982..1050d36e43 100644 --- a/usr/src/uts/intel/ibdma/Makefile +++ b/usr/src/uts/intel/ibdma/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = ibdma OBJECTS = $(IBDMA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBDMA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,16 +49,12 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. # -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -68,14 +63,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf # -# 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_STATIC_UNUSED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -88,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibmf/Makefile b/usr/src/uts/intel/ibmf/Makefile index d2271a55b9..5a6b1e72ba 100644 --- a/usr/src/uts/intel/ibmf/Makefile +++ b/usr/src/uts/intel/ibmf/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ibmf OBJECTS = $(IBMF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBMF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,18 +55,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) #DEBUG_DEFS_DBG32 += -DTNF_DEBUG # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # needs work @@ -87,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibp/Makefile b/usr/src/uts/intel/ibp/Makefile index c1755b165f..828118ed11 100644 --- a/usr/src/uts/intel/ibp/Makefile +++ b/usr/src/uts/intel/ibp/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = ibp OBJECTS = $(IBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/ibd LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf -Ndrv/ip \ @@ -48,16 +47,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch @@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ibtl/Makefile b/usr/src/uts/intel/ibtl/Makefile index 4d01e0f362..75cac9861a 100644 --- a/usr/src/uts/intel/ibtl/Makefile +++ b/usr/src/uts/intel/ibtl/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ibtl OBJECTS = $(IBTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -54,21 +52,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/icmp/Makefile b/usr/src/uts/intel/icmp/Makefile index 4a88d2a885..d6a4c9c997 100644 --- a/usr/src/uts/intel/icmp/Makefile +++ b/usr/src/uts/intel/icmp/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = icmp OBJECTS = $(ICMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ICMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -61,7 +60,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -69,15 +67,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - # needs work $(OBJS_DIR)/icmpddi.o := SMOFF += index_overflow @@ -94,12 +83,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/icmp6/Makefile b/usr/src/uts/intel/icmp6/Makefile index 19b3f4374e..b7a331a454 100644 --- a/usr/src/uts/intel/icmp6/Makefile +++ b/usr/src/uts/intel/icmp6/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = icmp6 OBJECTS = $(ICMP6_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ICMP6_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/idm/Makefile b/usr/src/uts/intel/idm/Makefile index d8c9b38121..b8ddb358e8 100644 --- a/usr/src/uts/intel/idm/Makefile +++ b/usr/src/uts/intel/idm/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = idm OBJECTS = $(IDM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IDM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/idmap/Makefile b/usr/src/uts/intel/idmap/Makefile index 89b7b448ba..52208779e6 100644 --- a/usr/src/uts/intel/idmap/Makefile +++ b/usr/src/uts/intel/idmap/Makefile @@ -21,7 +21,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. -# +# # # This makefile drives the production of the idmap (Identity mapping between # Solaris and Windows) kernel module. @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = idmap OBJECTS = $(IDMAP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IDMAP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,21 +51,15 @@ include $(UTSBASE)/intel/Makefile.intel # LDFLAGS += -dy -N"sys/doorfs" -N"strmod/rpcmod" -# -# Lint warnings turned off -# # Function variables unused for rpcgen-generated code # Constant conditions for do { } while (0) macros # -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -erroff=E_CONSTANT_CONDITION - CERRWARN += -_gcc=-Wno-unused-variable # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CLEANFILES += $(MODSTUBS_O) # @@ -82,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/igb/Makefile b/usr/src/uts/intel/igb/Makefile index 579eec258c..b66fcfe28b 100644 --- a/usr/src/uts/intel/igb/Makefile +++ b/usr/src/uts/intel/igb/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. MODULE = igb OBJECTS = $(IGB_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IGB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/igb @@ -44,10 +43,11 @@ CONF_SRCDIR = $(UTSBASE)/common/io/igb # include $(UTSBASE)/intel/Makefile.intel -LINTFLAGS += \ - -I$(UTSBASE)/common/io/igb \ - -I$(UTSBASE)/common/io/e1000api - +# +# 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-switch CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED @@ -62,7 +62,6 @@ CFLAGS += -I$(UTSBASE)/common/io/igb # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -84,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/inst_sync/Makefile b/usr/src/uts/intel/inst_sync/Makefile index 4dfeee22e8..7866e4f849 100644 --- a/usr/src/uts/intel/inst_sync/Makefile +++ b/usr/src/uts/intel/inst_sync/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = inst_sync OBJECTS = $(INSTANCE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INSTANCE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CERRWARN += -_gcc=-Wno-parentheses @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/intel_nb5000/Makefile b/usr/src/uts/intel/intel_nb5000/Makefile index 5d469b5ee9..14b0c52880 100644 --- a/usr/src/uts/intel/intel_nb5000/Makefile +++ b/usr/src/uts/intel/intel_nb5000/Makefile @@ -47,13 +47,11 @@ CONF_SRCDIR = $(UTSBASE)/intel/io/intel_nb5000 include ../Makefile.intel OBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(OBJECTS): $(OBJS_DIR) $(MCAMD_OFF_H) diff --git a/usr/src/uts/intel/intel_nhm/Makefile b/usr/src/uts/intel/intel_nhm/Makefile index 9c72a19c02..51c6e8260e 100644 --- a/usr/src/uts/intel/intel_nhm/Makefile +++ b/usr/src/uts/intel/intel_nhm/Makefile @@ -44,13 +44,11 @@ CONF_SRCDIR = $(UTSBASE)/intel/io/intel_nhm include $(UTSBASE)/intel/Makefile.intel OBJECTS = $(INTEL_NHM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INTEL_NHM_OBJS:%.o=$(LINTS_DIR)/%.ln) # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -I$(UTSBASE)/i86pc @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/intpexec/Makefile b/usr/src/uts/intel/intpexec/Makefile index c450443739..d6aaf51ac2 100644 --- a/usr/src/uts/intel/intpexec/Makefile +++ b/usr/src/uts/intel/intpexec/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = intpexec OBJECTS = $(INTPEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INTPEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iommulib/Makefile b/usr/src/uts/intel/iommulib/Makefile index 1448b5a81f..7c632703cd 100644 --- a/usr/src/uts/intel/iommulib/Makefile +++ b/usr/src/uts/intel/iommulib/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = iommulib OBJECTS = $(IOMMULIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IOMMULIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) INC_PATH += -I$(UTSBASE)/intel INC_PATH += -I$(UTSBASE)/i86pc @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,17 +59,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # DEBUG_DEFS += $(DEBUG_FLGS) -# -# lint pass one non-enforcement -# CFLAGS += $(CCVERBOSE) # -# 3rd party code is not lint clean -# -LINTFLAGS += -errwarn=%all - -# # Default build targets. # .KEEP_STATE: @@ -84,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ip/Makefile b/usr/src/uts/intel/ip/Makefile index 9cc6e5499f..403b6ed4fd 100644 --- a/usr/src/uts/intel/ip/Makefile +++ b/usr/src/uts/intel/ip/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ip OBJECTS = $(IP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CINLINEFLAGS = -xinline=tcp_set_ws_value @@ -97,16 +95,10 @@ LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti LDFLAGS += -N misc/cc -N cc/cc_sunreno -N cc/cc_newreno -N cc/cc_cubic # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV # # Default build targets. @@ -123,11 +115,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) \ clobber.obj64 clobber.debug64 -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) install: $(INSTALL_DEPS) $(SISCHECK_DEPS) diff --git a/usr/src/uts/intel/ip6/Makefile b/usr/src/uts/intel/ip6/Makefile index c45b28ffa0..c52d5d52bd 100644 --- a/usr/src/uts/intel/ip6/Makefile +++ b/usr/src/uts/intel/ip6/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = ip6 OBJECTS = $(IP6_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IP6_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ipc/Makefile b/usr/src/uts/intel/ipc/Makefile index 03969a22ad..61232f5890 100644 --- a/usr/src/uts/intel/ipc/Makefile +++ b/usr/src/uts/intel/ipc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ipc OBJECTS = $(IPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,15 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ipd/Makefile b/usr/src/uts/intel/ipd/Makefile index 701e24cf73..8b329282b5 100644 --- a/usr/src/uts/intel/ipd/Makefile +++ b/usr/src/uts/intel/ipd/Makefile @@ -19,14 +19,12 @@ UTSBASE = ../.. MODULE = ipd OBJECTS = $(IPD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ipd include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/neti -Nmisc/hook @@ -41,12 +39,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/ipf/Makefile b/usr/src/uts/intel/ipf/Makefile index 0cc8d365f0..09575901c5 100644 --- a/usr/src/uts/intel/ipf/Makefile +++ b/usr/src/uts/intel/ipf/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ipf OBJECTS = $(IPF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ipf @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -DUSE_INET6 @@ -58,14 +56,10 @@ LDFLAGS += -Nmisc/mac INC_PATH += -I$(UTSBASE)/common/inet/ipf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -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-function CERRWARN += -_gcc=-Wno-unused-variable @@ -89,12 +83,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) # diff --git a/usr/src/uts/intel/ipgpc/Makefile b/usr/src/uts/intel/ipgpc/Makefile index 8c298cdf71..d920767d39 100644 --- a/usr/src/uts/intel/ipgpc/Makefile +++ b/usr/src/uts/intel/ipgpc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ipgpc OBJECTS = $(IPGPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPGPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -58,18 +57,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -89,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ipmi/Makefile b/usr/src/uts/intel/ipmi/Makefile index 38a63f6d23..655466bb28 100644 --- a/usr/src/uts/intel/ipmi/Makefile +++ b/usr/src/uts/intel/ipmi/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = ipmi OBJECTS = $(IPMI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPMI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/ipmi @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ipnet/Makefile b/usr/src/uts/intel/ipnet/Makefile index 42d2c66c4d..1577252a1c 100644 --- a/usr/src/uts/intel/ipnet/Makefile +++ b/usr/src/uts/intel/ipnet/Makefile @@ -1,4 +1,4 @@ -# +# # CDDL HEADER START # # The contents of this file are subject to the terms of the @@ -23,7 +23,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the ipnet driver +# This makefile drives the production of the ipnet driver # kernel module. # # intel architecture dependent @@ -41,7 +41,6 @@ UTSBASE = ../.. MODULE = ipnet OBJECTS = $(IPNET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPNET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ipnet @@ -56,22 +55,11 @@ include $(UTSBASE)/intel/Makefile.intel # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# - CFLAGS += $(CCVERBOSE) # -# STREAMS API limitations force us to turn off these lint checks. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Depends on ip, neti, and hook. # LDFLAGS += -dy -Ndrv/ip -Nmisc/neti -Nmisc/hook @@ -95,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ippctl/Makefile b/usr/src/uts/intel/ippctl/Makefile index 2b0e6cbad5..9ea5b84ee7 100644 --- a/usr/src/uts/intel/ippctl/Makefile +++ b/usr/src/uts/intel/ippctl/Makefile @@ -23,9 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/intel/ipp/Makefile # # This makefile drives the production of the ipp driver # kernel module. @@ -41,7 +38,6 @@ UTSBASE = ../.. # MODULE = ippctl OBJECTS = $(IPP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/ipp @@ -54,17 +50,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iprb/Makefile b/usr/src/uts/intel/iprb/Makefile index 4b991a68e6..ed59bbb21b 100644 --- a/usr/src/uts/intel/iprb/Makefile +++ b/usr/src/uts/intel/iprb/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = iprb OBJECTS = $(IPRB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPRB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iptun/Makefile b/usr/src/uts/intel/iptun/Makefile index a592222f04..77f1e8534b 100644 --- a/usr/src/uts/intel/iptun/Makefile +++ b/usr/src/uts/intel/iptun/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = iptun OBJECTS = $(IPTUN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/iptun @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -56,8 +54,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip INC_PATH += -I$(UTSBASE)/common/io/bpf -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-switch @@ -76,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ipw/Makefile b/usr/src/uts/intel/ipw/Makefile index 1301d081d3..0a02b001b1 100644 --- a/usr/src/uts/intel/ipw/Makefile +++ b/usr/src/uts/intel/ipw/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ipw OBJECTS = $(IPW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -60,7 +59,6 @@ $(OBJS_DIR)/ipw2100.o := SMOFF += deref_check # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CPPFLAGS += -I. -D_KERNEL @@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iscsi/Makefile b/usr/src/uts/intel/iscsi/Makefile index 9a71674dfa..962275009a 100644 --- a/usr/src/uts/intel/iscsi/Makefile +++ b/usr/src/uts/intel/iscsi/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = iscsi OBJECTS = $(ISCSI_INITIATOR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ISCSI_INITIATOR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/iscsi @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # includes @@ -66,8 +64,6 @@ INC_PATH += -I$(SRC)/common/hdcrc LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -Nmisc/md5 -Nmisc/ksocket LDFLAGS += -N"misc/idm" -LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW -LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-unused-function @@ -91,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iscsit/Makefile b/usr/src/uts/intel/iscsit/Makefile index a35f7fc362..b92aaf3e0a 100644 --- a/usr/src/uts/intel/iscsit/Makefile +++ b/usr/src/uts/intel/iscsit/Makefile @@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = iscsit OBJECTS = $(ISCSIT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ISCSIT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/iscsit @@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iser/Makefile b/usr/src/uts/intel/iser/Makefile index 6245ad5be0..d26e41c240 100644 --- a/usr/src/uts/intel/iser/Makefile +++ b/usr/src/uts/intel/iser/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = iser OBJECTS = $(ISER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ISER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/iser @@ -54,7 +53,6 @@ $(OBJS_DIR)/iser_ib.o := SMOFF += deref_check # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwh/Makefile b/usr/src/uts/intel/iwh/Makefile index ee7e3d9fcf..16165af866 100644 --- a/usr/src/uts/intel/iwh/Makefile +++ b/usr/src/uts/intel/iwh/Makefile @@ -37,9 +37,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = iwh +MODULE = iwh OBJECTS = $(IWH_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IWH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,20 +50,18 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) CPPFLAGS += -I. -D_KERNEL -LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip +LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip # # Default build targets. @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwi/Makefile b/usr/src/uts/intel/iwi/Makefile index 926600b957..f827d161f8 100755 --- a/usr/src/uts/intel/iwi/Makefile +++ b/usr/src/uts/intel/iwi/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = iwi OBJECTS = $(IWI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IWI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CPPFLAGS += -I. -D_KERNEL @@ -68,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwk/Makefile b/usr/src/uts/intel/iwk/Makefile index 12c4766c98..d1b3bf0f12 100644 --- a/usr/src/uts/intel/iwk/Makefile +++ b/usr/src/uts/intel/iwk/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = iwk OBJECTS = $(IWK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IWK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,13 +51,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CPPFLAGS += -I. -D_KERNEL -DIWL=4965 @@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwn/Makefile b/usr/src/uts/intel/iwn/Makefile index 9cc64b5c37..b07bc6b352 100644 --- a/usr/src/uts/intel/iwn/Makefile +++ b/usr/src/uts/intel/iwn/Makefile @@ -72,10 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: -modlintlib: -clean.lint: - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwp/Makefile b/usr/src/uts/intel/iwp/Makefile index faaa67e7af..33c4e5fded 100644 --- a/usr/src/uts/intel/iwp/Makefile +++ b/usr/src/uts/intel/iwp/Makefile @@ -37,9 +37,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = iwp +MODULE = iwp OBJECTS = $(IWP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IWP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,17 +50,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CPPFLAGS += -I. -D_KERNEL -LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip +LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/iwscn/Makefile b/usr/src/uts/intel/iwscn/Makefile index 58c60ee2e6..a33eb6d6b4 100644 --- a/usr/src/uts/intel/iwscn/Makefile +++ b/usr/src/uts/intel/iwscn/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/iwscn/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the iwscn driver # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = iwscn OBJECTS = $(IWSCN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IWSCN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ixgbe/Makefile b/usr/src/uts/intel/ixgbe/Makefile index 27c747535a..98a93e15ab 100644 --- a/usr/src/uts/intel/ixgbe/Makefile +++ b/usr/src/uts/intel/ixgbe/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. MODULE = ixgbe OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe @@ -68,7 +67,6 @@ SMOFF += all_func_returns # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -90,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/javaexec/Makefile b/usr/src/uts/intel/javaexec/Makefile index 78d9436be5..a522efad0e 100644 --- a/usr/src/uts/intel/javaexec/Makefile +++ b/usr/src/uts/intel/javaexec/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = javaexec OBJECTS = $(JAVAEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JAVAEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kaio/Makefile b/usr/src/uts/intel/kaio/Makefile index 7e0c59ca89..0107ff1fae 100644 --- a/usr/src/uts/intel/kaio/Makefile +++ b/usr/src/uts/intel/kaio/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = kaio OBJECTS = $(KAIO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KAIO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,12 +62,10 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DKAIO_MODULE CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kb8042/Makefile b/usr/src/uts/intel/kb8042/Makefile index 173b286437..6d95cf4e75 100644 --- a/usr/src/uts/intel/kb8042/Makefile +++ b/usr/src/uts/intel/kb8042/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/intel/kb8042/%M% # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the kb8042 driver # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = kb8042 OBJECTS = $(KB8042_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KB8042_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,17 +52,9 @@ LDFLAGS += -dy -Nmisc/kbtrans # Define targets # ALL_TARGET = $(BINARY) # $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kbtrans/Makefile b/usr/src/uts/intel/kbtrans/Makefile index 29e6fda4e6..07c0fed81f 100644 --- a/usr/src/uts/intel/kbtrans/Makefile +++ b/usr/src/uts/intel/kbtrans/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kbtrans OBJECTS = $(KBTRANS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KBTRANS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,17 +51,8 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - .KEEP_STATE: def: $(DEF_DEPS) @@ -73,12 +63,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) diff --git a/usr/src/uts/intel/kcf/Makefile b/usr/src/uts/intel/kcf/Makefile index bb758d8fd5..ed17e8e606 100644 --- a/usr/src/uts/intel/kcf/Makefile +++ b/usr/src/uts/intel/kcf/Makefile @@ -34,7 +34,6 @@ COM_DIR = $(COMMONBASE)/crypto # Define the module and object file sets. # MODULE = kcf -LINTS = $(KCF_OBJS:%.o=$(LINTS_DIR)/%.ln) KCF_OBJS_32 = KCF_OBJS_64 = gcm_intel.o KCF_OBJS += $(KCF_OBJS_$(CLASS)) @@ -50,21 +49,17 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# Linkage dependencies -# +CFLAGS += -I$(COM_DIR) +AS_CPPFLAGS += -I../../$(PLATFORM) # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -AS_CPPFLAGS += -I../../$(PLATFORM) - -LINTTAGS += -I$(COM_DIR) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -101,6 +90,3 @@ include $(UTSBASE)/intel/Makefile.targ $(OBJS_DIR)/%.o: $(COM_DIR)/modes/amd64/%.s $(COMPILE.s) -o $@ $(COM_DIR)/modes/amd64/${@F:.o=.s} - -$(OBJS_DIR)/%.ln: $(COM_DIR)/modes/amd64/%.s - @($(LHEAD) $(LINT.s) $(COM_DIR)/modes/amd64/${@F:.ln=.s} $(LTAIL)) diff --git a/usr/src/uts/intel/keysock/Makefile b/usr/src/uts/intel/keysock/Makefile index 2670a2e7b6..8bc043c80b 100644 --- a/usr/src/uts/intel/keysock/Makefile +++ b/usr/src/uts/intel/keysock/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = keysock OBJECTS = $(KEYSOCK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -65,14 +63,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-variable @@ -92,12 +86,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/kgssapi/Makefile b/usr/src/uts/intel/kgssapi/Makefile index 936b08b18c..c8cb009a23 100644 --- a/usr/src/uts/intel/kgssapi/Makefile +++ b/usr/src/uts/intel/kgssapi/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. MODULE = kgssapi OBJECTS = $(KGSSD_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KGSSD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # # Include common rules. @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR) # @@ -58,12 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR) LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += $(CNOWARN_UNINIT) @@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kiconv_emea/Makefile b/usr/src/uts/intel/kiconv_emea/Makefile index f39f2eb79e..d81a64313e 100644 --- a/usr/src/uts/intel/kiconv_emea/Makefile +++ b/usr/src/uts/intel/kiconv_emea/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/kiconv_emea/Makefile -# # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the kiconv_emea kernel module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = kiconv_emea OBJECTS = $(KICONV_EMEA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_EMEA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) # -# 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_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -81,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kiconv_ja/Makefile b/usr/src/uts/intel/kiconv_ja/Makefile index 739a1768b6..4b2713c76e 100644 --- a/usr/src/uts/intel/kiconv_ja/Makefile +++ b/usr/src/uts/intel/kiconv_ja/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = kiconv_ja OBJECTS = $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -56,13 +54,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # CFLAGS += $(CCVERBOSE) -# -# 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_PTRDIFF_OVERFLOW - # smatch not happy with this source SMATCH=off @@ -79,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kiconv_ko/Makefile b/usr/src/uts/intel/kiconv_ko/Makefile index 30429402db..5022ccb044 100644 --- a/usr/src/uts/intel/kiconv_ko/Makefile +++ b/usr/src/uts/intel/kiconv_ko/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = kiconv_ko OBJECTS = $(KICONV_KO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_KO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,11 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kiconv_sc/Makefile b/usr/src/uts/intel/kiconv_sc/Makefile index 7530719af9..7b3ad6ca05 100755 --- a/usr/src/uts/intel/kiconv_sc/Makefile +++ b/usr/src/uts/intel/kiconv_sc/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/kiconv_sc/Makefile -# # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the kiconv_sc # kernel module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = kiconv_sc OBJECTS = $(KICONV_SC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_SC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) # -# 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_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kiconv_tc/Makefile b/usr/src/uts/intel/kiconv_tc/Makefile index 75cf08b26e..9fdee27e1f 100755 --- a/usr/src/uts/intel/kiconv_tc/Makefile +++ b/usr/src/uts/intel/kiconv_tc/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/kiconv_tc/Makefile -# # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the kiconv_tc # kernel module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = kiconv_tc OBJECTS = $(KICONV_TC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_TC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) # -# 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_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/klmmod/Makefile b/usr/src/uts/intel/klmmod/Makefile index 1786f91a08..1c3650a38d 100644 --- a/usr/src/uts/intel/klmmod/Makefile +++ b/usr/src/uts/intel/klmmod/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = klmmod OBJECTS = $(KLMMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KLMMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/klmops/Makefile b/usr/src/uts/intel/klmops/Makefile index 77deddcf2c..615ab92d90 100644 --- a/usr/src/uts/intel/klmops/Makefile +++ b/usr/src/uts/intel/klmops/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = klmops OBJECTS = $(KLMOPS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KLMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kmdb/Makefile b/usr/src/uts/intel/kmdb/Makefile index 66a2641f2f..7c9dba50b6 100644 --- a/usr/src/uts/intel/kmdb/Makefile +++ b/usr/src/uts/intel/kmdb/Makefile @@ -23,21 +23,17 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# UTSBASE = ../.. MODULE = kmdb OBJECTS = $(KMDB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KMDB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/kmdb include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) @@ -53,12 +49,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/kmech_dummy/Makefile b/usr/src/uts/intel/kmech_dummy/Makefile index fb687d3a56..fa61411085 100644 --- a/usr/src/uts/intel/kmech_dummy/Makefile +++ b/usr/src/uts/intel/kmech_dummy/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kmech_dummy OBJECTS = $(KGSS_DUMMY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KGSS_DUMMY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE) # @@ -59,7 +58,6 @@ LDFLAGS += -dy -N misc/kgssapi # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,11 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) # # Do not install the dummy GSS-API mechanism in the proto area diff --git a/usr/src/uts/intel/kmech_krb5/Makefile b/usr/src/uts/intel/kmech_krb5/Makefile index 718cb78994..b8798c0c9b 100644 --- a/usr/src/uts/intel/kmech_krb5/Makefile +++ b/usr/src/uts/intel/kmech_krb5/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kmech_krb5 OBJECTS = $(KGSS_KRB5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KGSS_KRB5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,13 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N misc/kgssapi -N misc/md5 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-label @@ -90,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5 @@ -106,9 +95,6 @@ $(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c $(COMPILE.c) $(KGSSDFLAGS) -o $@ $< $(CTFCONVERT_O) -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - # # Include common targets. # diff --git a/usr/src/uts/intel/ksocket/Makefile b/usr/src/uts/intel/ksocket/Makefile index 288c777b46..f53a83c104 100644 --- a/usr/src/uts/intel/ksocket/Makefile +++ b/usr/src/uts/intel/ksocket/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = ksocket OBJECTS = $(KSOCKET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KSOCKET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kssl/Makefile b/usr/src/uts/intel/kssl/Makefile index 5a9096e243..dadc109453 100644 --- a/usr/src/uts/intel/kssl/Makefile +++ b/usr/src/uts/intel/kssl/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kssl OBJECTS = $(KSSL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KSSL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/kssl @@ -53,20 +52,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ksslf/Makefile b/usr/src/uts/intel/ksslf/Makefile index 575af1dbb5..1bb7e6e271 100644 --- a/usr/src/uts/intel/ksslf/Makefile +++ b/usr/src/uts/intel/ksslf/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = ksslf OBJECTS = $(KSSL_SOCKFIL_MOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KSSL_SOCKFIL_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -49,24 +48,16 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement and OS version -# -CFLAGS += $(CCVERBOSE) - LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf -Ndrv/kssl -Nfs/sockfs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/kstat/Makefile b/usr/src/uts/intel/kstat/Makefile index c4816b6a5c..5fd8bc71d9 100644 --- a/usr/src/uts/intel/kstat/Makefile +++ b/usr/src/uts/intel/kstat/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = kstat OBJECTS = $(KSTAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,15 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ksyms/Makefile b/usr/src/uts/intel/ksyms/Makefile index dbfbb529c3..aeedb26533 100644 --- a/usr/src/uts/intel/ksyms/Makefile +++ b/usr/src/uts/intel/ksyms/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = ksyms OBJECTS = $(KSYMS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KSYMS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ldterm/Makefile b/usr/src/uts/intel/ldterm/Makefile index 0eea144a40..6a529ac311 100644 --- a/usr/src/uts/intel/ldterm/Makefile +++ b/usr/src/uts/intel/ldterm/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = ldterm OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LDTERM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,17 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/llc1/Makefile b/usr/src/uts/intel/llc1/Makefile index 35eca687d9..569b5e1dcb 100644 --- a/usr/src/uts/intel/llc1/Makefile +++ b/usr/src/uts/intel/llc1/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = llc1 OBJECTS = $(LLC1_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LLC1_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -56,16 +55,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/lockstat/Makefile b/usr/src/uts/intel/lockstat/Makefile index 421975b4b4..876f06886e 100644 --- a/usr/src/uts/intel/lockstat/Makefile +++ b/usr/src/uts/intel/lockstat/Makefile @@ -24,19 +24,16 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = lockstat OBJECTS = $(LOCKSTAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOCKSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) include $(UTSBASE)/intel/Makefile.intel @@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/lofi/Makefile b/usr/src/uts/intel/lofi/Makefile index c8d7e11770..e56134105c 100644 --- a/usr/src/uts/intel/lofi/Makefile +++ b/usr/src/uts/intel/lofi/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = lofi OBJECTS = $(LOFI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOFI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -44,7 +43,7 @@ CONF_SRCDIR = $(UTSBASE)/common/io # include $(UTSBASE)/intel/Makefile.intel -# +# # Overrides. # INC_PATH += -I$(SRC)/common/lzma @@ -55,7 +54,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/cmlb @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/lofs/Makefile b/usr/src/uts/intel/lofs/Makefile index 17cd97eeef..ccc40c1e5b 100644 --- a/usr/src/uts/intel/lofs/Makefile +++ b/usr/src/uts/intel/lofs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = lofs OBJECTS = $(LOFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/log/Makefile b/usr/src/uts/intel/log/Makefile index 44614af722..7990cb7029 100644 --- a/usr/src/uts/intel/log/Makefile +++ b/usr/src/uts/intel/log/Makefile @@ -19,14 +19,12 @@ # CDDL HEADER END # # -# uts/intel/log/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # -# This makefile drives the production of the log driver +# This makefile drives the production of the log driver # kernel module. # # intel implementation architecture dependent @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = log OBJECTS = $(LOG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,18 +52,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -79,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/logindmux/Makefile b/usr/src/uts/intel/logindmux/Makefile index 6d8ce52fe9..dbf0921532 100644 --- a/usr/src/uts/intel/logindmux/Makefile +++ b/usr/src/uts/intel/logindmux/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/logindmux/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the logindmux streams kernel # driver. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = logindmux OBJECTS = $(LOGINDMUX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOGINDMUX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,18 +52,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -79,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac/Makefile b/usr/src/uts/intel/mac/Makefile index 667c13744a..a28708cb05 100644 --- a/usr/src/uts/intel/mac/Makefile +++ b/usr/src/uts/intel/mac/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = mac OBJECTS = $(MAC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -56,8 +54,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy INC_PATH += -I$(UTSBASE)/common/io/bpf -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_6to4/Makefile b/usr/src/uts/intel/mac_6to4/Makefile index ffb0800d13..5c7500ba33 100644 --- a/usr/src/uts/intel/mac_6to4/Makefile +++ b/usr/src/uts/intel/mac_6to4/Makefile @@ -23,7 +23,7 @@ # Use is subject to license terms. # # -# This makefile drives the production of the mac_6to4 plugin +# This makefile drives the production of the mac_6to4 plugin # kernel module. # @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = mac_6to4 OBJECTS = $(MAC_6TO4_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_6TO4_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,8 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4 -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW # # Default build targets. @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_ether/Makefile b/usr/src/uts/intel/mac_ether/Makefile index 889f7a73de..52b02f7453 100644 --- a/usr/src/uts/intel/mac_ether/Makefile +++ b/usr/src/uts/intel/mac_ether/Makefile @@ -22,7 +22,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the mac_ether MAC-Type plugin +# This makefile drives the production of the mac_ether MAC-Type plugin # kernel module. # @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = mac_ether OBJECTS = $(MAC_ETHER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_ETHER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_ib/Makefile b/usr/src/uts/intel/mac_ib/Makefile index 5045d1bbbf..5c9cc0f946 100644 --- a/usr/src/uts/intel/mac_ib/Makefile +++ b/usr/src/uts/intel/mac_ib/Makefile @@ -22,7 +22,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the mac_ib MAC-Type plugin +# This makefile drives the production of the mac_ib MAC-Type plugin # kernel module. # @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = mac_ib OBJECTS = $(MAC_IB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_IB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_ipv4/Makefile b/usr/src/uts/intel/mac_ipv4/Makefile index 578a504341..59172f2814 100644 --- a/usr/src/uts/intel/mac_ipv4/Makefile +++ b/usr/src/uts/intel/mac_ipv4/Makefile @@ -22,7 +22,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the mac_ipv4 plugin +# This makefile drives the production of the mac_ipv4 plugin # kernel module. # @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = mac_ipv4 OBJECTS = $(MAC_IPV4_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_IPV4_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,8 +55,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/mac -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW # # Default build targets. @@ -73,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_ipv6/Makefile b/usr/src/uts/intel/mac_ipv6/Makefile index 4d0983e15c..cea92c49d3 100644 --- a/usr/src/uts/intel/mac_ipv6/Makefile +++ b/usr/src/uts/intel/mac_ipv6/Makefile @@ -23,7 +23,7 @@ # Use is subject to license terms. # # -# This makefile drives the production of the mac_ipv6 plugin +# This makefile drives the production of the mac_ipv6 plugin # kernel module. # @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = mac_ipv6 OBJECTS = $(MAC_IPV6_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_IPV6_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,8 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4 -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW # # Default build targets. @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mac_wifi/Makefile b/usr/src/uts/intel/mac_wifi/Makefile index 11f22cfca7..716981a4a6 100644 --- a/usr/src/uts/intel/mac_wifi/Makefile +++ b/usr/src/uts/intel/mac_wifi/Makefile @@ -22,7 +22,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the mac_wifi plugin +# This makefile drives the production of the mac_wifi plugin # kernel module. # @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = mac_wifi OBJECTS = $(MAC_WIFI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_WIFI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ CERRWARN += -_gcc=-Wno-switch # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mc-amd/Makefile b/usr/src/uts/intel/mc-amd/Makefile index b9fdbc0b22..712a2bed61 100644 --- a/usr/src/uts/intel/mc-amd/Makefile +++ b/usr/src/uts/intel/mc-amd/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. MODULE = mc-amd # OBJECTS = $(MCAMD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MCAMD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) SRCDIR = $(UTSBASE)/intel/io/mc-amd CONF_SRCDIR = $(SRCDIR) @@ -50,7 +49,6 @@ include ../Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -77,16 +75,9 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(OBJECTS): $(OBJS_DIR) $(MCAMD_OFF_H) -$(LINTS): $(MCAMD_OFF_H) # # Create mcamd_off.h diff --git a/usr/src/uts/intel/md4/Makefile b/usr/src/uts/intel/md4/Makefile index a9e54a89f0..566b66a123 100644 --- a/usr/src/uts/intel/md4/Makefile +++ b/usr/src/uts/intel/md4/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/md4/Makefile -# # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the md4 crypto kernel module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = md4 OBJECTS = $(MD4_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -58,19 +55,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy # -# 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_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -83,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/md5/Makefile b/usr/src/uts/intel/md5/Makefile index 0f7515139a..e2429bc138 100644 --- a/usr/src/uts/intel/md5/Makefile +++ b/usr/src/uts/intel/md5/Makefile @@ -41,7 +41,6 @@ MD5_OBJS_32 = MD5_OBJS_64 = md5_amd64.o MD5_OBJS += $(MD5_OBJS_$(CLASS)) OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -59,7 +58,6 @@ CLEANFILES += md5_amd64.s # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) @@ -101,6 +93,3 @@ md5_amd64.s: $(COMDIR)/amd64/md5_amd64.pl $(OBJS_DIR)/md5_amd64.o: md5_amd64.s $(COMPILE.s) -o $@ md5_amd64.s - -$(OBJS_DIR)/md5_amd64.ln: md5_amd64.s - @($(LHEAD) $(LINT.c) md5_amd64.s $(LTAIL)) diff --git a/usr/src/uts/intel/mii/Makefile b/usr/src/uts/intel/mii/Makefile index 0c54b575c7..8c9bde0bc1 100644 --- a/usr/src/uts/intel/mii/Makefile +++ b/usr/src/uts/intel/mii/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = mii OBJECTS = $(MII_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N misc/mac @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mm/Makefile b/usr/src/uts/intel/mm/Makefile index 90d8804d8a..8b2dd04091 100644 --- a/usr/src/uts/intel/mm/Makefile +++ b/usr/src/uts/intel/mm/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = mm OBJECTS = $(MM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -56,16 +55,13 @@ CPPFLAGS += -I$(UTSBASE)/i86pc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-clobbered @@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mntfs/Makefile b/usr/src/uts/intel/mntfs/Makefile index 8900c1586a..e189739825 100644 --- a/usr/src/uts/intel/mntfs/Makefile +++ b/usr/src/uts/intel/mntfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = mntfs OBJECTS = $(MNTFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MNTFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,11 +62,10 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DMNTTAB_MODULE CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -85,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mouse8042/Makefile b/usr/src/uts/intel/mouse8042/Makefile index c639b13221..7bee73833e 100644 --- a/usr/src/uts/intel/mouse8042/Makefile +++ b/usr/src/uts/intel/mouse8042/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = mouse8042 OBJECTS = $(MOUSE8042_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MOUSE8042_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,17 +50,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) # $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndacf/consconfig_dacf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mpt_sas/Makefile b/usr/src/uts/intel/mpt_sas/Makefile index 38b7b55634..92057b2db0 100644 --- a/usr/src/uts/intel/mpt_sas/Makefile +++ b/usr/src/uts/intel/mpt_sas/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../../../../src/uts # MODULE = mpt_sas OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/ @@ -46,7 +45,6 @@ LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mr_sas/Makefile b/usr/src/uts/intel/mr_sas/Makefile index 338da74946..91f9a0fab7 100644 --- a/usr/src/uts/intel/mr_sas/Makefile +++ b/usr/src/uts/intel/mr_sas/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = mr_sas OBJECTS = $(MR_SAS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MR_SAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/mr_sas @@ -48,11 +47,10 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/msgsys/Makefile b/usr/src/uts/intel/msgsys/Makefile index 160cfaa10f..0a0f30fb24 100644 --- a/usr/src/uts/intel/msgsys/Makefile +++ b/usr/src/uts/intel/msgsys/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = msgsys OBJECTS = $(IPCMSG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPCMSG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,11 +58,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/ipc # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mwl/Makefile b/usr/src/uts/intel/mwl/Makefile index 65ac0b1348..61fdc2067b 100644 --- a/usr/src/uts/intel/mwl/Makefile +++ b/usr/src/uts/intel/mwl/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = mwl OBJECTS = $(MWL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MWL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,7 +61,6 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-value @@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/mwlfw/Makefile b/usr/src/uts/intel/mwlfw/Makefile index 5885c6fc98..af61ae53b0 100644 --- a/usr/src/uts/intel/mwlfw/Makefile +++ b/usr/src/uts/intel/mwlfw/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = mwlfw OBJECTS = $(MWLFW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MWLFW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) FWOBJ = $(OBJS_DIR)/$(MODULE).o @@ -47,25 +46,14 @@ OBJECTS += $(FWOBJ) # include $(UTSBASE)/intel/Makefile.intel -LDFLAGS = +LDFLAGS = # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) diff --git a/usr/src/uts/intel/mxfe/Makefile b/usr/src/uts/intel/mxfe/Makefile index c2f6349dc7..ec92f6d500 100644 --- a/usr/src/uts/intel/mxfe/Makefile +++ b/usr/src/uts/intel/mxfe/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = mxfe OBJECTS = $(MXFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MXFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/myri10ge/Makefile b/usr/src/uts/intel/myri10ge/Makefile index b12ef0d581..55a690cbd1 100644 --- a/usr/src/uts/intel/myri10ge/Makefile +++ b/usr/src/uts/intel/myri10ge/Makefile @@ -35,7 +35,6 @@ MODULE = myri10ge OBJECTS += $(MYRI10GE_OBJS:%=$(OBJS_DIR)/%) -LINTS += $(MYRI10GE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) @@ -48,13 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED # needs work SMATCH=off @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/namefs/Makefile b/usr/src/uts/intel/namefs/Makefile index 362d2754e6..f84019fb00 100644 --- a/usr/src/uts/intel/namefs/Makefile +++ b/usr/src/uts/intel/namefs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = namefs OBJECTS = $(NAMEFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NAMEFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nca/Makefile b/usr/src/uts/intel/nca/Makefile index 457ac86abc..99d25e033b 100644 --- a/usr/src/uts/intel/nca/Makefile +++ b/usr/src/uts/intel/nca/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = nca OBJECTS = $(NCA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NCA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/nca @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -58,13 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -# -# 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_BAD_PTR_CAST_ALIGN - # needs work $(OBJS_DIR)/ncaddi.o := SMOFF += index_overflow @@ -81,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/net80211/Makefile b/usr/src/uts/intel/net80211/Makefile index 7bb82ef58c..6a4bc6173c 100644 --- a/usr/src/uts/intel/net80211/Makefile +++ b/usr/src/uts/intel/net80211/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = net80211 OBJECTS = $(NET80211_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NET80211_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,20 +51,19 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/mac -Nmac/mac_wifi -Ndrv/ip # -# STREAMS API limitations force us to turn off these lint checks. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -86,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/net_dacf/Makefile b/usr/src/uts/intel/net_dacf/Makefile index 8b0e8cd9d7..8346bb2971 100644 --- a/usr/src/uts/intel/net_dacf/Makefile +++ b/usr/src/uts/intel/net_dacf/Makefile @@ -19,12 +19,9 @@ # CDDL HEADER END # # -# uts/intel/net_dacf/Makefile -# # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -36,7 +33,6 @@ UTSBASE = ../.. # MODULE = net_dacf OBJECTS = $(NET_DACF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NET_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) # @@ -44,17 +40,14 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) # include $(UTSBASE)/intel/Makefile.intel -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) + LDFLAGS += -dy -Ndrv/softmac # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -67,12 +60,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/neti/Makefile b/usr/src/uts/intel/neti/Makefile index 59cdf33c49..52c2a77a58 100644 --- a/usr/src/uts/intel/neti/Makefile +++ b/usr/src/uts/intel/neti/Makefile @@ -19,13 +19,10 @@ # CDDL HEADER END # # -# -# uts/intel/neti/Makefile -# # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the neti driver kernel module. # @@ -42,7 +39,6 @@ UTSBASE = ../.. # MODULE = neti OBJECTS = $(NETI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NETI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) LDFLAGS += -dy -Nmisc/hook @@ -72,12 +67,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) # diff --git a/usr/src/uts/intel/nfs/Makefile b/usr/src/uts/intel/nfs/Makefile index b5ec5bcddd..629715c9ae 100644 --- a/usr/src/uts/intel/nfs/Makefile +++ b/usr/src/uts/intel/nfs/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = nfs OBJECTS = $(NFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE) @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -66,16 +64,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -102,12 +94,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/nfs_dlboot/Makefile b/usr/src/uts/intel/nfs_dlboot/Makefile index 896762d6ab..57db266e4b 100644 --- a/usr/src/uts/intel/nfs_dlboot/Makefile +++ b/usr/src/uts/intel/nfs_dlboot/Makefile @@ -44,7 +44,6 @@ COM_DIR = $(SRC)/common/net/dhcp # MODULE = nfs_dlboot OBJECTS = $(DLBOOT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLBOOT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,13 +64,10 @@ CPPFLAGS += -DDHCP_CLIENT -I$(COM_DIR) LDFLAGS += -dy -Nmisc/strplumb -Nstrmod/rpcmod # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -92,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nfssrv/Makefile b/usr/src/uts/intel/nfssrv/Makefile index d8c93d684b..f728109031 100644 --- a/usr/src/uts/intel/nfssrv/Makefile +++ b/usr/src/uts/intel/nfssrv/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = nfssrv OBJECTS = $(NFSSRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NFSSRV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,15 +63,10 @@ LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec LDFLAGS += -Nmisc/klmmod # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -99,12 +92,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nge/Makefile b/usr/src/uts/intel/nge/Makefile index 35c262905a..5a26f6b856 100644 --- a/usr/src/uts/intel/nge/Makefile +++ b/usr/src/uts/intel/nge/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = nge OBJECTS = $(NGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/nge @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,11 +61,10 @@ INC_PATH += -I$(CONF_SRCDIR) LDFLAGS += -dy -N misc/mac # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nsmb/Makefile b/usr/src/uts/intel/nsmb/Makefile index 891de62ff4..3d95d5da11 100644 --- a/usr/src/uts/intel/nsmb/Makefile +++ b/usr/src/uts/intel/nsmb/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = nsmb OBJECTS = $(NSMB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NSMB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/fs/smbclnt/netsmb OFFSETS_SRC = $(CONF_SRCDIR)/offsets.in @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(ALL_TARGET_$(OBJS_DIR)) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(INSTALL_TARGET_$(OBJS_DIR)) # @@ -88,19 +86,18 @@ INSTALL_TARGET_obj64 = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DNSMB_MODULE CLEANFILES += $(MODSTUBS_O) $(IOC_CHECK_H) -CERRWARN += -erroff=E_STATEMENT_NOT_REACHED INC_PATH += -I$(UTSBASE)/common/fs/smbclnt LDFLAGS += -dy -Ncrypto/md4 -Ncrypto/md5 -Nmisc/tlimod -# 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 += -erroff=E_STATEMENT_NOT_REACHED # 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 - -# same for smatch +# return value checks, so filter those. SMOFF += all_func_returns # needs work @@ -119,12 +116,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ntxn/Makefile b/usr/src/uts/intel/ntxn/Makefile index 092861743e..af12bebc12 100644 --- a/usr/src/uts/intel/ntxn/Makefile +++ b/usr/src/uts/intel/ntxn/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = ntxn OBJECTS = $(NTXN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NTXN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ntxn @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) INC_PATH += -I$(CONF_SRCDIR) @@ -61,11 +59,11 @@ CFLAGS64 += -DSOLARIS11 -xO -I./ # LDFLAGS += -dy -N misc/mac -N drv/ip -# Lint flag # -LINTFLAGS += $(NTXN_DFLAGS) $(NTXN_KFLAGS) -LINTFLAGS += -DSOLARIS11 - +# 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 += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-type-limits @@ -87,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nulldriver/Makefile b/usr/src/uts/intel/nulldriver/Makefile index 1f2891ea3d..b28ea75d0f 100644 --- a/usr/src/uts/intel/nulldriver/Makefile +++ b/usr/src/uts/intel/nulldriver/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = nulldriver OBJECTS = $(NULLDRIVER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NULLDRIVER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nv_sata/Makefile b/usr/src/uts/intel/nv_sata/Makefile index fa7ff76189..5e11cdbb59 100644 --- a/usr/src/uts/intel/nv_sata/Makefile +++ b/usr/src/uts/intel/nv_sata/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = nv_sata OBJECTS = $(NV_SATA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NV_SATA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/nv_sata @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -59,22 +57,16 @@ DEBUG_DEFS += $(DEBUG_FLGS) CPPFLAGS += -DSGPIO_SUPPORT # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # dependency on sata module # LDFLAGS += -dy -N misc/sata # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # needs work @@ -93,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/nvme/Makefile b/usr/src/uts/intel/nvme/Makefile index ba340fa100..81a53c09f1 100644 --- a/usr/src/uts/intel/nvme/Makefile +++ b/usr/src/uts/intel/nvme/Makefile @@ -26,7 +26,6 @@ UTSBASE = ../.. # MODULE = nvme OBJECTS = $(NVME_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NVME_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/nvme # @@ -38,7 +37,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/objfs/Makefile b/usr/src/uts/intel/objfs/Makefile index 552be404bc..a2087cfb51 100644 --- a/usr/src/uts/intel/objfs/Makefile +++ b/usr/src/uts/intel/objfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = objfs OBJECTS = $(OBJFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OBJFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-function @@ -89,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/oce/Makefile b/usr/src/uts/intel/oce/Makefile index e3df59db66..aee967a9da 100644 --- a/usr/src/uts/intel/oce/Makefile +++ b/usr/src/uts/intel/oce/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../../ # MODULE = oce OBJECTS = $(OCE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OCE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ohci/Makefile b/usr/src/uts/intel/ohci/Makefile index 30503428a2..151dcdbd98 100644 --- a/usr/src/uts/intel/ohci/Makefile +++ b/usr/src/uts/intel/ohci/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = ohci OBJECTS = $(OHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci @@ -54,15 +53,13 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/openeepr/Makefile b/usr/src/uts/intel/openeepr/Makefile index eeb42523f6..777aff9272 100644 --- a/usr/src/uts/intel/openeepr/Makefile +++ b/usr/src/uts/intel/openeepr/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = openeepr OBJECTS = $(OPENEEPR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPENEEPR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,17 +53,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndacf/consconfig_dacf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/opteron_pcbe/Makefile b/usr/src/uts/intel/opteron_pcbe/Makefile index e12685d513..8051f317ee 100644 --- a/usr/src/uts/intel/opteron_pcbe/Makefile +++ b/usr/src/uts/intel/opteron_pcbe/Makefile @@ -47,7 +47,6 @@ CPCGEN_SRCS = $(CPCGEN_OBJS:%.o=%.c) opteron_pcbe_cpcgen.h MODULE = pcbe.AuthenticAMD OBJECTS = $(OPTERON_PCBE_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(CPCGEN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPTERON_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE) # @@ -62,17 +61,8 @@ CLEANFILES += $(CPCGEN_SRCS) # Define targets. # ALL_TARGET = $(CPCGEN_COMMON) .WAIT $(BINARY) -LINT_MODULE = opteron_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(CPCGEN_COMMON) .WAIT $(BINARY) $(ROOTMODULE) -# -# 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_ASSIGN_NARROW_CONV - # # Default build targets. @@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) opteron_pcbe_cpcgen.h: diff --git a/usr/src/uts/intel/options/Makefile b/usr/src/uts/intel/options/Makefile index 21d3711aae..8194639b86 100644 --- a/usr/src/uts/intel/options/Makefile +++ b/usr/src/uts/intel/options/Makefile @@ -25,7 +25,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the options driver kernel module. # @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = options OBJECTS = $(OPTIONS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPTIONS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/p4_pcbe/Makefile b/usr/src/uts/intel/p4_pcbe/Makefile index 8100d759b4..d7f594ed3f 100644 --- a/usr/src/uts/intel/p4_pcbe/Makefile +++ b/usr/src/uts/intel/p4_pcbe/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = pcbe.GenuineIntel.15 OBJECTS = $(P4_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(P4_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE) # @@ -46,18 +45,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = p4_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-type-limits CERRWARN += $(CNOWARN_UNINIT) @@ -75,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcfs/Makefile b/usr/src/uts/intel/pcfs/Makefile index 6a8ac0136f..2ce78ad68f 100644 --- a/usr/src/uts/intel/pcfs/Makefile +++ b/usr/src/uts/intel/pcfs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = pcfs OBJECTS = $(PCFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_FS_DIR)/$(MODULE) # @@ -52,16 +51,10 @@ ROOTMODULE = $(USR_FS_DIR)/$(MODULE) include $(UTSBASE)/intel/Makefile.intel # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -76,7 +69,6 @@ SMATCH=off # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pchtemp/Makefile b/usr/src/uts/intel/pchtemp/Makefile index 9473aecceb..8ec4309d93 100644 --- a/usr/src/uts/intel/pchtemp/Makefile +++ b/usr/src/uts/intel/pchtemp/Makefile @@ -22,7 +22,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -35,12 +34,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/pci_pci/Makefile b/usr/src/uts/intel/pci_pci/Makefile index 684162c90f..aecc5a78ce 100644 --- a/usr/src/uts/intel/pci_pci/Makefile +++ b/usr/src/uts/intel/pci_pci/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = pci_pci OBJECTS = $(PCI_PCINEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCI_PCINEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) INC_PATH += -I$(UTSBASE)/i86pc @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcic/Makefile b/usr/src/uts/intel/pcic/Makefile index 7b7da2a471..f038047039 100644 --- a/usr/src/uts/intel/pcic/Makefile +++ b/usr/src/uts/intel/pcic/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = pcic OBJECTS = $(PCIC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -DCARDBUS -DHOTPLUG @@ -65,14 +63,10 @@ CPPFLAGS += -DCARDBUS -DHOTPLUG LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -95,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcicfg/Makefile b/usr/src/uts/intel/pcicfg/Makefile index dbec8ad429..5c5cce3855 100644 --- a/usr/src/uts/intel/pcicfg/Makefile +++ b/usr/src/uts/intel/pcicfg/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = pcicfg OBJECTS = $(PCICFG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCICFG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,14 +61,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/busra -Nmisc/pcie # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-function CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcieb/Makefile b/usr/src/uts/intel/pcieb/Makefile index 38f4b38a98..623b650ec3 100644 --- a/usr/src/uts/intel/pcieb/Makefile +++ b/usr/src/uts/intel/pcieb/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = pcieb OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/pciex @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcihp/Makefile b/usr/src/uts/intel/pcihp/Makefile index 2d2b09a417..8c8e0dea2d 100644 --- a/usr/src/uts/intel/pcihp/Makefile +++ b/usr/src/uts/intel/pcihp/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = pcihp OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIHPNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -55,14 +53,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc -# -# 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_BAD_PTR_CAST_ALIGN - # needs work SMOFF += indenting @@ -79,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pckt/Makefile b/usr/src/uts/intel/pckt/Makefile index ff735b6541..5615e7c210 100644 --- a/usr/src/uts/intel/pckt/Makefile +++ b/usr/src/uts/intel/pckt/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = pckt OBJECTS = $(PCKT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCKT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcmcia/Makefile b/usr/src/uts/intel/pcmcia/Makefile index ef5bd91de6..d5e50f67ca 100644 --- a/usr/src/uts/intel/pcmcia/Makefile +++ b/usr/src/uts/intel/pcmcia/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pcmcia OBJECTS = $(PCMCIA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCMCIA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,10 @@ INC_PATH += -I$(UTSBASE)/i86pc LDFLAGS += -dy -Nmisc/busra -Nmisc/pci_autoconfig # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -100,12 +96,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcn/Makefile b/usr/src/uts/intel/pcn/Makefile index ab40851635..e5bfa94405 100644 --- a/usr/src/uts/intel/pcn/Makefile +++ b/usr/src/uts/intel/pcn/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = pcn OBJECTS = $(PCN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pcs/Makefile b/usr/src/uts/intel/pcs/Makefile index ea8d5d8795..27ecda4cdb 100644 --- a/usr/src/uts/intel/pcs/Makefile +++ b/usr/src/uts/intel/pcs/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/pcs/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the DoRight driver kernel module. # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = pcs OBJECTS = $(PCS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/pfmod/Makefile b/usr/src/uts/intel/pfmod/Makefile index 6aef0dc120..2cbe01fc95 100644 --- a/usr/src/uts/intel/pfmod/Makefile +++ b/usr/src/uts/intel/pfmod/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/pfmod/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of streams packet filter module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = pfmod OBJECTS = $(PFMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,18 +50,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/physmem/Makefile b/usr/src/uts/intel/physmem/Makefile index e8056637fb..0c2d50d342 100644 --- a/usr/src/uts/intel/physmem/Makefile +++ b/usr/src/uts/intel/physmem/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/physmem/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the physmem driver # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = physmem OBJECTS = $(PHYSMEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PHYSMEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -70,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pipe/Makefile b/usr/src/uts/intel/pipe/Makefile index a9b7f51cd1..072ad24d81 100644 --- a/usr/src/uts/intel/pipe/Makefile +++ b/usr/src/uts/intel/pipe/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pipe OBJECTS = $(PIPE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PIPE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pipemod/Makefile b/usr/src/uts/intel/pipemod/Makefile index 44e86a6f0a..78789e807e 100644 --- a/usr/src/uts/intel/pipemod/Makefile +++ b/usr/src/uts/intel/pipemod/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/pipemod/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the pipemod streams kernel # module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = pipemod OBJECTS = $(PIPEMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PIPEMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pit_beep/Makefile b/usr/src/uts/intel/pit_beep/Makefile index 99df825380..484dfdb03e 100644 --- a/usr/src/uts/intel/pit_beep/Makefile +++ b/usr/src/uts/intel/pit_beep/Makefile @@ -23,9 +23,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/intel/pit_beep/Makefile + # # This makefile drives the production of the pit_beep driver. # @@ -38,7 +36,6 @@ UTSBASE = ../.. # MODULE = pit_beep OBJECTS = $(PIT_BEEP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PIT_BEEP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io @@ -47,16 +44,12 @@ CONF_SRCDIR = $(UTSBASE)/intel/io # include $(UTSBASE)/intel/Makefile.intel -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -69,12 +62,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pm/Makefile b/usr/src/uts/intel/pm/Makefile index b7dd6fa040..587d61bfb5 100644 --- a/usr/src/uts/intel/pm/Makefile +++ b/usr/src/uts/intel/pm/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pm OBJECTS = $(PM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pmcs/Makefile b/usr/src/uts/intel/pmcs/Makefile index 6c779a76d1..0ff3358554 100644 --- a/usr/src/uts/intel/pmcs/Makefile +++ b/usr/src/uts/intel/pmcs/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../../../../src/uts # MODULE = pmcs OBJECTS = $(PMCS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PMCS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs @@ -45,7 +44,6 @@ LDFLAGS += -dy -Nmisc/scsi # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -84,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pmcs8001fw/Makefile b/usr/src/uts/intel/pmcs8001fw/Makefile index 8bcf082095..d83f62cf8b 100644 --- a/usr/src/uts/intel/pmcs8001fw/Makefile +++ b/usr/src/uts/intel/pmcs8001fw/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../../../../src/uts # MODULE = pmcs8001fw OBJECTS = $(PMCS8001FW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PMCS8001FW_C_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PMCS_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs @@ -53,15 +52,10 @@ include $(CONF_SRCDIR)/pmcs8001fw.version # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINT_TARGET = $(MODULE).lint LDFLAGS += -dy # -# Lint tags -# - -# # Extra flags # CPPFLAGS += -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \ @@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/poll/Makefile b/usr/src/uts/intel/poll/Makefile index e89e52d63b..31950a0bf8 100644 --- a/usr/src/uts/intel/poll/Makefile +++ b/usr/src/uts/intel/poll/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = poll OBJECTS = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -49,23 +48,17 @@ CONF_SRCDIR = $(UTSBASE)/common/io # include $(UTSBASE)/intel/Makefile.intel -CERRWARN += $(CNOWARN_UNINIT) - # -# It's unfortunate that we have to disable this; however, it's lint's fault. We -# have a line which only causes a lint warning on a 64-bit build. If we suppress -# it, then the 32-bit lint build complains about it being unnecessarily -# suppressed. Therefore, the only thing it seems like we can do is disable the -# lint warning completely. +# 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. # - -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN +CERRWARN += $(CNOWARN_UNINIT) # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -81,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pool/Makefile b/usr/src/uts/intel/pool/Makefile index b81c13383e..1ec81160fb 100644 --- a/usr/src/uts/intel/pool/Makefile +++ b/usr/src/uts/intel/pool/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/pool/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # pool device makefile. # intel architecture dependent @@ -40,7 +38,6 @@ UTSBASE = ../.. # MODULE = pool OBJECTS = $(DEVPOOL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVPOOL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,17 +50,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -76,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/portfs/Makefile b/usr/src/uts/intel/portfs/Makefile index 162a152398..6437ba7238 100644 --- a/usr/src/uts/intel/portfs/Makefile +++ b/usr/src/uts/intel/portfs/Makefile @@ -44,7 +44,6 @@ PORTFS_OBJS += port.o port_vnops.o port_fd.o port_fop.o # MODULE = portfs OBJECTS = $(PORTFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PORTFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -57,22 +56,19 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. # MODSTUBS_DIR = $(OBJS_DIR) -$(MODSTUBS_O) := AS_CPPFLAGS += CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -93,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/power/Makefile b/usr/src/uts/intel/power/Makefile index 7765878b09..6965b7e71b 100644 --- a/usr/src/uts/intel/power/Makefile +++ b/usr/src/uts/intel/power/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = power OBJECTS = $(POWER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(POWER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,33 +54,23 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # ACPI power button # CFLAGS += -DACPI_POWER_BUTTON -LINTFLAGS += -DACPI_POWER_BUTTON - -CERRWARN += -_gcc=-Wno-unused-function LDFLAGS += -dy -N misc/acpica # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED - -CERRWARN += -_gcc=-Wno-unused-variable +CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += -_gcc=-Wno-unused-variable # # Default build targets. @@ -96,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pppt/Makefile b/usr/src/uts/intel/pppt/Makefile index d4d4dcbdbf..fd2e3d3aec 100644 --- a/usr/src/uts/intel/pppt/Makefile +++ b/usr/src/uts/intel/pppt/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the pppt pseudo-driver for +# This makefile drives the production of the pppt pseudo-driver for # COMSTAR. # @@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = pppt OBJECTS = $(PPPT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PPPT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/pppt @@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/procfs/Makefile b/usr/src/uts/intel/procfs/Makefile index 630b6a25d3..39d77f3c9c 100644 --- a/usr/src/uts/intel/procfs/Makefile +++ b/usr/src/uts/intel/procfs/Makefile @@ -44,7 +44,6 @@ UTSBASE = ../.. # MODULE = procfs OBJECTS = $(PROC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PROC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,13 +65,10 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DPROC_MODULE CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -99,12 +94,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/profile/Makefile b/usr/src/uts/intel/profile/Makefile index 46cc4ed611..cff4834db5 100644 --- a/usr/src/uts/intel/profile/Makefile +++ b/usr/src/uts/intel/profile/Makefile @@ -23,13 +23,11 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = profile OBJECTS = $(PROFILE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PROFILE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace @@ -37,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/dtrace @@ -52,12 +49,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/pset/Makefile b/usr/src/uts/intel/pset/Makefile index f9df306aad..a4e08c3e06 100644 --- a/usr/src/uts/intel/pset/Makefile +++ b/usr/src/uts/intel/pset/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/pset/Makefile -# # Copyright (c) 1996-1999 by Sun Microsystems, Inc. # All rights reserved. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the pset syscall module. # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = pset OBJECTS = $(PSET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PSET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pseudo/Makefile b/usr/src/uts/intel/pseudo/Makefile index 0b7471d20f..20b3ba5271 100644 --- a/usr/src/uts/intel/pseudo/Makefile +++ b/usr/src/uts/intel/pseudo/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/pseudo/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the pseudo driver # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = pseudo OBJECTS = $(PSEUDO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PSEUDO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pshot/Makefile b/usr/src/uts/intel/pshot/Makefile index c1866a81db..23e4c38282 100644 --- a/usr/src/uts/intel/pshot/Makefile +++ b/usr/src/uts/intel/pshot/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = pshot OBJECTS = $(PSHOT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PSHOT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,15 +52,13 @@ CLOBBERFILES += $(MODULE) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ptc/Makefile b/usr/src/uts/intel/ptc/Makefile index 28272a76f8..a3dadaac19 100644 --- a/usr/src/uts/intel/ptc/Makefile +++ b/usr/src/uts/intel/ptc/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/ptc/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the ptc driver # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = ptc OBJECTS = $(PTC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,14 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CLOBBERFILES += $(MODULE) # -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -83,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ptem/Makefile b/usr/src/uts/intel/ptem/Makefile index 639f8d7797..b5c48c0105 100644 --- a/usr/src/uts/intel/ptem/Makefile +++ b/usr/src/uts/intel/ptem/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = ptem OBJECTS = $(PTEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ptm/Makefile b/usr/src/uts/intel/ptm/Makefile index 8be47b8840..9e881ad7fa 100644 --- a/usr/src/uts/intel/ptm/Makefile +++ b/usr/src/uts/intel/ptm/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/ptm/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the ptm driver # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = ptm OBJECTS = $(PTM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,17 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pts/Makefile b/usr/src/uts/intel/pts/Makefile index 7d15ce5e54..c470123394 100644 --- a/usr/src/uts/intel/pts/Makefile +++ b/usr/src/uts/intel/pts/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/pts/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the pts driver # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = pts OBJECTS = $(PTS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,17 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ptsl/Makefile b/usr/src/uts/intel/ptsl/Makefile index 62cc5bc04d..2e8e7d60dc 100644 --- a/usr/src/uts/intel/ptsl/Makefile +++ b/usr/src/uts/intel/ptsl/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ptsl OBJECTS = $(PTSL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTSL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,16 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/pvscsi/Makefile b/usr/src/uts/intel/pvscsi/Makefile index 5ea943cfaa..9b0f9d9856 100644 --- a/usr/src/uts/intel/pvscsi/Makefile +++ b/usr/src/uts/intel/pvscsi/Makefile @@ -17,18 +17,15 @@ UTSBASE= $(SRC)/uts MODULE= pvscsi OBJECTS= $(PVSCSI_OBJS:%=$(OBJS_DIR)/%) -LINTS= $(PVSCSI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE= $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/intel/Makefile.intel ALL_TARGET= $(BINARY) -LINT_TARGET= $(MODULE).lint INSTALL_TARGET= $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N misc/scsi -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN .KEEP_STATE: @@ -36,16 +33,11 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) -clean.lint: $(CLEAN_LINT_DEPS) - clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) install: $(INSTALL_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/qede/Makefile b/usr/src/uts/intel/qede/Makefile index 9fdf8cca18..02cc397bfd 100644 --- a/usr/src/uts/intel/qede/Makefile +++ b/usr/src/uts/intel/qede/Makefile @@ -76,10 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: -modlintlib: -clean.lint: - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/qlc/Makefile b/usr/src/uts/intel/qlc/Makefile index c165f33852..f258abcf46 100644 --- a/usr/src/uts/intel/qlc/Makefile +++ b/usr/src/uts/intel/qlc/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = qlc OBJECTS = $(QLC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,12 +60,6 @@ INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl LDFLAGS += -dy -Nmisc/fctl -# -# Lint tags -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - FWIMAGES = 2200 FWIMAGES += 2300 FWIMAGES += 2400 @@ -98,12 +90,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_2200/Makefile b/usr/src/uts/intel/qlc_fw_2200/Makefile index ecf7f66f49..b561e66458 100644 --- a/usr/src/uts/intel/qlc_fw_2200/Makefile +++ b/usr/src/uts/intel/qlc_fw_2200/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_2200 OBJECTS = $(QLC_FW_2200_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_2200_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,19 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# - -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - - -# # Default build targets. # .KEEP_STATE: @@ -73,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_2300/Makefile b/usr/src/uts/intel/qlc_fw_2300/Makefile index b1801137f2..b7d917e82e 100644 --- a/usr/src/uts/intel/qlc_fw_2300/Makefile +++ b/usr/src/uts/intel/qlc_fw_2300/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_2300 OBJECTS = $(QLC_FW_2300_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_2300_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,17 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -71,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_2400/Makefile b/usr/src/uts/intel/qlc_fw_2400/Makefile index bd2f56cdb5..67cddbb596 100644 --- a/usr/src/uts/intel/qlc_fw_2400/Makefile +++ b/usr/src/uts/intel/qlc_fw_2400/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_2400 OBJECTS = $(QLC_FW_2400_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_2400_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,17 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -71,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_2500/Makefile b/usr/src/uts/intel/qlc_fw_2500/Makefile index f3bc21a51b..1db7ae244f 100644 --- a/usr/src/uts/intel/qlc_fw_2500/Makefile +++ b/usr/src/uts/intel/qlc_fw_2500/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_2500 OBJECTS = $(QLC_FW_2500_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_2500_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,18 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# - -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_6322/Makefile b/usr/src/uts/intel/qlc_fw_6322/Makefile index 69ef5777f8..eaa1a5e749 100644 --- a/usr/src/uts/intel/qlc_fw_6322/Makefile +++ b/usr/src/uts/intel/qlc_fw_6322/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_6322 OBJECTS = $(QLC_FW_6322_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_6322_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,17 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -71,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlc_fw_8100/Makefile b/usr/src/uts/intel/qlc_fw_8100/Makefile index b7a4ca1a19..44ab208719 100644 --- a/usr/src/uts/intel/qlc_fw_8100/Makefile +++ b/usr/src/uts/intel/qlc_fw_8100/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = qlc_fw_8100 OBJECTS = $(QLC_FW_8100_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLC_FW_8100_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc @@ -48,18 +47,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# - -LINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -# # Default build targets. # .KEEP_STATE: @@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlge/Makefile b/usr/src/uts/intel/qlge/Makefile index ad10aadb72..1121b9d596 100644 --- a/usr/src/uts/intel/qlge/Makefile +++ b/usr/src/uts/intel/qlge/Makefile @@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = qlge OBJECTS = $(QLGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/qlt/Makefile b/usr/src/uts/intel/qlt/Makefile index 9098c57c59..cd5989db35 100644 --- a/usr/src/uts/intel/qlt/Makefile +++ b/usr/src/uts/intel/qlt/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the qlt driver for +# This makefile drives the production of the qlt driver for # COMSTAR. # @@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = qlt OBJECTS = $(QLT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QLT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/qlt @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,17 +56,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) MODSTUBS_DIR = $(OBJS_DIR) LDFLAGS += -dy -Ndrv/fct -Ndrv/stmf CFLAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DUNIQUE_FW_NAME C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# For now, disable these warnings; maintainers should endeavor +# to investigate and remove these for maximum coverage. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ral/Makefile b/usr/src/uts/intel/ral/Makefile index 50458e4d39..7887eab723 100644 --- a/usr/src/uts/intel/ral/Makefile +++ b/usr/src/uts/intel/ral/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" # # This makefile drives the production of the wpi driver kernel module. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = ral OBJECTS = $(RAL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RAL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ramdisk/Makefile b/usr/src/uts/intel/ramdisk/Makefile index a959edf3d0..bdb083e80e 100644 --- a/usr/src/uts/intel/ramdisk/Makefile +++ b/usr/src/uts/intel/ramdisk/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/ramdisk/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the ramdisk driver kernel # module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = ramdisk OBJECTS = $(RAMDISK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RAMDISK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,17 +52,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/random/Makefile b/usr/src/uts/intel/random/Makefile index 30e6951ee0..1f475e85f4 100644 --- a/usr/src/uts/intel/random/Makefile +++ b/usr/src/uts/intel/random/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/random/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the random driver # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = random OBJECTS = $(RANDOM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RANDOM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -76,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rds/Makefile b/usr/src/uts/intel/rds/Makefile index 71446fe7a0..f4c668d46a 100644 --- a/usr/src/uts/intel/rds/Makefile +++ b/usr/src/uts/intel/rds/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = rds OBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds @@ -48,7 +47,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,12 +62,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rdsib/Makefile b/usr/src/uts/intel/rdsib/Makefile index 6213028921..dcb9efb6b7 100644 --- a/usr/src/uts/intel/rdsib/Makefile +++ b/usr/src/uts/intel/rdsib/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = rdsib OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds @@ -49,7 +48,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -65,12 +63,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rdsv3/Makefile b/usr/src/uts/intel/rdsv3/Makefile index c389402f37..0fad7ce58d 100644 --- a/usr/src/uts/intel/rdsv3/Makefile +++ b/usr/src/uts/intel/rdsv3/Makefile @@ -33,9 +33,8 @@ UTSBASE = ../.. # MODULE = rdsv3 OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -CFLAGS += $(CCVERBOSE) $(_XPG4_2) +CFLAGS += $(CCVERBOSE) $(_XPG4_2) LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3 # @@ -43,23 +42,14 @@ CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3 # include $(UTSBASE)/intel/Makefile.intel -# CFLAGS += -DOFA_SOLARIS +# CFLAGS += -DOFA_SOLARIS # -# Disable these lint checks since some errors suppressed here are -# in the OFED code, but we'd like to keep it as is as much as possible. -# Note. maintainers should endeavor to investigate and remove these for -# maximum lint coverage, but please do not carry these forward to new -# Makefiles blindly. -# -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_CONSTANT_CONDITION -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED - +# Disable these warnings since some errors suppressed here are in the OFED +# code, but we'd like to keep it as is as much as possible. Note. maintainers +# should endeavor to investigate and remove these for maximum coverage, please +# do not carry these forward to new Makefiles blindly. +# CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function @@ -73,7 +63,6 @@ SMATCH=off # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -89,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/redirmod/Makefile b/usr/src/uts/intel/redirmod/Makefile index 0f57708d74..e4ae5fac10 100644 --- a/usr/src/uts/intel/redirmod/Makefile +++ b/usr/src/uts/intel/redirmod/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/redirmod/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the redirmod streams kernel # module. @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = redirmod OBJECTS = $(REDIRMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(REDIRMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rge/Makefile b/usr/src/uts/intel/rge/Makefile index fb9a8da37e..c92fea69a3 100644 --- a/usr/src/uts/intel/rge/Makefile +++ b/usr/src/uts/intel/rge/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = rge OBJECTS = $(RGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,11 +57,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N misc/mac -N drv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rlmod/Makefile b/usr/src/uts/intel/rlmod/Makefile index a1b90ed1de..2fc10228e5 100644 --- a/usr/src/uts/intel/rlmod/Makefile +++ b/usr/src/uts/intel/rlmod/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = rlmod OBJECTS = $(RLMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RLMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -81,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rpcib/Makefile b/usr/src/uts/intel/rpcib/Makefile index 016dce38e9..8683919d6c 100644 --- a/usr/src/uts/intel/rpcib/Makefile +++ b/usr/src/uts/intel/rpcib/Makefile @@ -25,7 +25,7 @@ # Copyright (c) 2018, Joyent, Inc. # -# This makefile drives the production of the kernel +# This makefile drives the production of the kernel # rpcib module. # # intel implementation architecture dependent @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = rpcib OBJECTS = $(RPCIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RPCIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/rpc @@ -53,27 +52,19 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # depends on misc/ibtl and misc/ibcm # LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function CERRWARN += $(CNOWARN_UNINIT) @@ -94,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rpcmod/Makefile b/usr/src/uts/intel/rpcmod/Makefile index 6833fdd7c1..4193c0f006 100644 --- a/usr/src/uts/intel/rpcmod/Makefile +++ b/usr/src/uts/intel/rpcmod/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = rpcmod OBJECTS = $(RPCMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RPCMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE) @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -72,16 +70,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/tlimod # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -106,12 +98,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/rpcsec/Makefile b/usr/src/uts/intel/rpcsec/Makefile index ff8178bfb9..3d6f859516 100644 --- a/usr/src/uts/intel/rpcsec/Makefile +++ b/usr/src/uts/intel/rpcsec/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = rpcsec OBJECTS = $(RPCSEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RPCSEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,13 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rpcsec_gss/Makefile b/usr/src/uts/intel/rpcsec_gss/Makefile index 22ae1fbaf3..7a030d3d9a 100644 --- a/usr/src/uts/intel/rpcsec_gss/Makefile +++ b/usr/src/uts/intel/rpcsec_gss/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = rpcsec_gss OBJECTS = $(RPCSEC_GSS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RPCSEC_GSS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,13 +58,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N strmod/rpcmod -N misc/kgssapi # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rsa/Makefile b/usr/src/uts/intel/rsa/Makefile index 4e61a69ad2..ae9c24b5e3 100644 --- a/usr/src/uts/intel/rsa/Makefile +++ b/usr/src/uts/intel/rsa/Makefile @@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto # MODULE = rsa OBJECTS = $(RSAPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RSAPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,13 +62,10 @@ LDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf CPPFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rsm/Makefile b/usr/src/uts/intel/rsm/Makefile index 172022c0ad..35867cddaf 100644 --- a/usr/src/uts/intel/rsm/Makefile +++ b/usr/src/uts/intel/rsm/Makefile @@ -26,7 +26,7 @@ # Copyright (c) 2018, Joyent, Inc. # -# This makefile drives the production of the rsm kernel agent +# This makefile drives the production of the rsm kernel agent # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -36,9 +36,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = rsm +MODULE = rsm OBJECTS = $(RSM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RSM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/rsm @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,13 +69,10 @@ LDFLAGS += -dy -Nmisc/rsmops #LDFLAGS += -Ndrv/rsm_drtest # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -98,12 +93,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rsmops/Makefile b/usr/src/uts/intel/rsmops/Makefile index 7991617edc..1bc26c8ff3 100644 --- a/usr/src/uts/intel/rsmops/Makefile +++ b/usr/src/uts/intel/rsmops/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/intel/rsmops/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the rsmops module # @@ -37,9 +36,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = rsmops +MODULE = rsmops OBJECTS = $(RSMOPS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RSMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -72,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rtls/Makefile b/usr/src/uts/intel/rtls/Makefile index aea726b2af..549ef7b38f 100644 --- a/usr/src/uts/intel/rtls/Makefile +++ b/usr/src/uts/intel/rtls/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = rtls OBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rts/Makefile b/usr/src/uts/intel/rts/Makefile index d0ca2cd069..540e48859b 100644 --- a/usr/src/uts/intel/rts/Makefile +++ b/usr/src/uts/intel/rts/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = rts OBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_SOCK_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/ip @@ -57,7 +56,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -65,15 +63,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - # needs work $(OBJS_DIR)/rtsddi.o := SMOFF += index_overflow @@ -90,12 +79,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(SISCHECK_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/rtw/Makefile b/usr/src/uts/intel/rtw/Makefile index 2ca9ae5e1f..75dcc63344 100644 --- a/usr/src/uts/intel/rtw/Makefile +++ b/usr/src/uts/intel/rtw/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = rtw OBJECTS = $(RTW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RTW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rum/Makefile b/usr/src/uts/intel/rum/Makefile index 5ecd82a6ec..5678c97b39 100644 --- a/usr/src/uts/intel/rum/Makefile +++ b/usr/src/uts/intel/rum/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = rum OBJECTS = $(RUM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RUM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rwd/Makefile b/usr/src/uts/intel/rwd/Makefile index 3829752c75..512ad333ee 100644 --- a/usr/src/uts/intel/rwd/Makefile +++ b/usr/src/uts/intel/rwd/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = rwd OBJECTS = $(RWD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RWD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,7 +60,6 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN # # Default build targets. @@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/rwn/Makefile b/usr/src/uts/intel/rwn/Makefile index 69c4e8127e..4417802404 100644 --- a/usr/src/uts/intel/rwn/Makefile +++ b/usr/src/uts/intel/rwn/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = rwn OBJECTS = $(RWN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RWN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,7 +60,6 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-parentheses @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/s10_brand/Makefile b/usr/src/uts/intel/s10_brand/Makefile index ffda173a95..bb554229a7 100644 --- a/usr/src/uts/intel/s10_brand/Makefile +++ b/usr/src/uts/intel/s10_brand/Makefile @@ -36,7 +36,6 @@ S10_BASE = $(UTSBASE)/common/brand/solaris10 # MODULE = s10_brand OBJECTS = $(S10_BRAND_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(S10_BRAND_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) @@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/s1394/Makefile b/usr/src/uts/intel/s1394/Makefile index 2968cc45d4..6368cd6b7b 100644 --- a/usr/src/uts/intel/s1394/Makefile +++ b/usr/src/uts/intel/s1394/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = s1394 OBJECTS = $(S1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(S1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,22 +60,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # #ALL_BUILDS = $(ALL_BUILDSONLY64) #DEF_BUILDS = $(DEF_BUILDSONLY64) -#CLEANLINTFILES += $(LINT32_FILES) DEBUG_DEFS_DBG32 += -DTNF_DEBUG #DEBUG_DEFS_DBG64 += -DTNF_DEBUG # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -100,12 +91,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sad/Makefile b/usr/src/uts/intel/sad/Makefile index d9c67f0357..33d2a640d2 100644 --- a/usr/src/uts/intel/sad/Makefile +++ b/usr/src/uts/intel/sad/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = sad OBJECTS = $(SAD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SAD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,12 +61,10 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DSAD_MODULE CLEANFILES += $(MODSTUBS_O) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sata/Makefile b/usr/src/uts/intel/sata/Makefile index 436c53f4a3..709de4d420 100644 --- a/usr/src/uts/intel/sata/Makefile +++ b/usr/src/uts/intel/sata/Makefile @@ -45,7 +45,6 @@ UTSBASE = ../.. # MODULE = sata OBJECTS = $(SATA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SATA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,25 +65,16 @@ DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # dependency on scsi module # LDFLAGS += -dy -Nmisc/scsi # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-function @@ -109,12 +98,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sbp2/Makefile b/usr/src/uts/intel/sbp2/Makefile index 26d2f46fb9..0c733d0e77 100644 --- a/usr/src/uts/intel/sbp2/Makefile +++ b/usr/src/uts/intel/sbp2/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = sbp2 OBJECTS = $(SBP2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SBP2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -49,18 +48,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-function @@ -74,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsa1394/Makefile b/usr/src/uts/intel/scsa1394/Makefile index 9e8573e82d..d10b1e42b7 100644 --- a/usr/src/uts/intel/scsa1394/Makefile +++ b/usr/src/uts/intel/scsa1394/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = scsa1394 OBJECTS = $(SCSA1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -56,13 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -82,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsa2usb/Makefile b/usr/src/uts/intel/scsa2usb/Makefile index 3542ef25de..213045ba98 100644 --- a/usr/src/uts/intel/scsa2usb/Makefile +++ b/usr/src/uts/intel/scsa2usb/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = scsa2usb OBJECTS = $(SCSA2USB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSA2USB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Nmisc/scsi # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -90,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi/Makefile b/usr/src/uts/intel/scsi/Makefile index f29902c748..09f3a2636d 100644 --- a/usr/src/uts/intel/scsi/Makefile +++ b/usr/src/uts/intel/scsi/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = scsi OBJECTS = $(SCSI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,13 +62,10 @@ DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -92,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci/Makefile b/usr/src/uts/intel/scsi_vhci/Makefile index f42501361b..6bde4f70df 100644 --- a/usr/src/uts/intel/scsi_vhci/Makefile +++ b/usr/src/uts/intel/scsi_vhci/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci OBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci @@ -60,7 +59,6 @@ SMATCH=off # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci_f_sym/Makefile b/usr/src/uts/intel/scsi_vhci_f_sym/Makefile index f1e338f5c7..efa246230c 100644 --- a/usr/src/uts/intel/scsi_vhci_f_sym/Makefile +++ b/usr/src/uts/intel/scsi_vhci_f_sym/Makefile @@ -25,8 +25,6 @@ # # -#pragma ident "%Z%%M% %I% %E% SMI" -# # This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym # intel architecture dependent module # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci_f_sym OBJECTS = $(SCSI_VHCI_F_SYM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_F_SYM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci_f_sym_hds/Makefile b/usr/src/uts/intel/scsi_vhci_f_sym_hds/Makefile index eccb111a50..fe0f5c939d 100644 --- a/usr/src/uts/intel/scsi_vhci_f_sym_hds/Makefile +++ b/usr/src/uts/intel/scsi_vhci_f_sym_hds/Makefile @@ -25,8 +25,6 @@ # # -#pragma ident "%Z%%M% %I% %E% SMI" -# # This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym_hds # intel architecture dependent # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci_f_sym_hds OBJECTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci_f_tape/Makefile b/usr/src/uts/intel/scsi_vhci_f_tape/Makefile index 068460d595..e488ed313b 100644 --- a/usr/src/uts/intel/scsi_vhci_f_tape/Makefile +++ b/usr/src/uts/intel/scsi_vhci_f_tape/Makefile @@ -25,8 +25,6 @@ # # -#pragma ident "%Z%%M% %I% %E% SMI" -# # This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tape # intel architecture dependent # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci_f_tape OBJECTS = $(SCSI_VHCI_F_TAPE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_F_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci_f_tpgs/Makefile b/usr/src/uts/intel/scsi_vhci_f_tpgs/Makefile index 75e9c3cc9a..abef0042f5 100644 --- a/usr/src/uts/intel/scsi_vhci_f_tpgs/Makefile +++ b/usr/src/uts/intel/scsi_vhci_f_tpgs/Makefile @@ -25,8 +25,6 @@ # # -#pragma ident "%Z%%M% %I% %E% SMI" -# # This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs # intel architecture dependent # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci_f_tpgs OBJECTS = $(SCSI_VHCI_F_TPGS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_F_TPGS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/scsi_vhci_f_tpgs_tape/Makefile b/usr/src/uts/intel/scsi_vhci_f_tpgs_tape/Makefile index 7475f34a9c..f030c8014c 100644 --- a/usr/src/uts/intel/scsi_vhci_f_tpgs_tape/Makefile +++ b/usr/src/uts/intel/scsi_vhci_f_tpgs_tape/Makefile @@ -25,8 +25,6 @@ # # -#pragma ident "%Z%%M% %I% %E% SMI" -# # This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs_tape # intel architecture dependent # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = scsi_vhci_f_tpgs_tape OBJECTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sd/Makefile b/usr/src/uts/intel/sd/Makefile index 1cdd67cd86..f641deb6a2 100644 --- a/usr/src/uts/intel/sd/Makefile +++ b/usr/src/uts/intel/sd/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = sd OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,17 +58,6 @@ DEBUG_DEFS += $(DEBUG_FLGS) INC_PATH += -I$(UTSBASE)/intel/io/scsi/targets -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - # needs work SMOFF += index_overflow,shift_to_zero,signed @@ -92,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sda/Makefile b/usr/src/uts/intel/sda/Makefile index 608d55936b..2ea31aa7c7 100644 --- a/usr/src/uts/intel/sda/Makefile +++ b/usr/src/uts/intel/sda/Makefile @@ -44,7 +44,6 @@ UTSBASE = ../.. # MODULE = sda OBJECTS = $(SDA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,9 +63,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -92,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sdhost/Makefile b/usr/src/uts/intel/sdhost/Makefile index 3bf17f9e1c..3771f74433 100644 --- a/usr/src/uts/intel/sdhost/Makefile +++ b/usr/src/uts/intel/sdhost/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = sdhost OBJECTS = $(SDHOST_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDHOST_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,9 +61,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sdp/Makefile b/usr/src/uts/intel/sdp/Makefile index 472c7eeaf8..903bf1f0bf 100755 --- a/usr/src/uts/intel/sdp/Makefile +++ b/usr/src/uts/intel/sdp/Makefile @@ -22,9 +22,6 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -36,7 +33,6 @@ UTSBASE = ../.. # MODULE = sdp OBJECTS = $(SDP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/sdp @@ -49,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -65,12 +60,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sdt/Makefile b/usr/src/uts/intel/sdt/Makefile index c1ef2459a1..61bb7364af 100644 --- a/usr/src/uts/intel/sdt/Makefile +++ b/usr/src/uts/intel/sdt/Makefile @@ -23,13 +23,11 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = sdt OBJECTS = $(SDT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/dtrace @@ -37,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/intel/dtrace include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/dtrace @@ -52,12 +49,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/semsys/Makefile b/usr/src/uts/intel/semsys/Makefile index 02c21c77b7..d256e06a1b 100644 --- a/usr/src/uts/intel/semsys/Makefile +++ b/usr/src/uts/intel/semsys/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = semsys OBJECTS = $(IPCSEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPCSEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,11 +61,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/ipc # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -85,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ses/Makefile b/usr/src/uts/intel/ses/Makefile index a0e45fb059..7b08f32217 100644 --- a/usr/src/uts/intel/ses/Makefile +++ b/usr/src/uts/intel/ses/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ses OBJECTS = $(SES_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SES_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets @@ -54,18 +53,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Depends on scsi # LDFLAGS += -dy -N misc/scsi @@ -83,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sfe/Makefile b/usr/src/uts/intel/sfe/Makefile index 2df44c6a42..3fd55ee6fb 100644 --- a/usr/src/uts/intel/sfe/Makefile +++ b/usr/src/uts/intel/sfe/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = sfe OBJECTS = $(SFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -101,12 +99,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sfxge/Makefile b/usr/src/uts/intel/sfxge/Makefile index 5a7e71ff8c..b26e894853 100644 --- a/usr/src/uts/intel/sfxge/Makefile +++ b/usr/src/uts/intel/sfxge/Makefile @@ -19,8 +19,6 @@ UTSBASE = ../.. MODULE = sfxge OBJECTS = $(SFXGE_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(SFXGE_SF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SFXGE_OBJS:%.o=$(LINTS_DIR)/%.ln) -LINTS += $(SFXGE_SF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/intel/Makefile.intel @@ -29,7 +27,6 @@ include $(UTSBASE)/intel/Makefile.intel # Targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sgen/Makefile b/usr/src/uts/intel/sgen/Makefile index 2fd9d9cd80..b6648dd4b0 100644 --- a/usr/src/uts/intel/sgen/Makefile +++ b/usr/src/uts/intel/sgen/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = sgen OBJECTS = $(SGEN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGEN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,12 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -N"misc/scsi" # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sha1/Makefile b/usr/src/uts/intel/sha1/Makefile index d0cb272374..88a402d6b4 100644 --- a/usr/src/uts/intel/sha1/Makefile +++ b/usr/src/uts/intel/sha1/Makefile @@ -38,7 +38,6 @@ SHA1_OBJS_32 = SHA1_OBJS_64 = sha1-x86_64.o SHA1_OBJS += $(SHA1_OBJS_$(CLASS)) OBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -58,14 +57,12 @@ CLEANFILES += sha1-x86_64.s LDFLAGS += -dy -Nmisc/kcf CFLAGS += -I$(COMDIR) -LINTFLAGS += -I$(COMDIR) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) @@ -100,8 +91,5 @@ include $(UTSBASE)/intel/Makefile.targ $(OBJS_DIR)/sha1-x86_64.o: sha1-x86_64.s $(COMPILE.s) -o $@ ${@F:.o=.s} -$(OBJS_DIR)/sha1-x86_64.ln: sha1-x86_64.s - @($(LHEAD) $(LINT.c) ${@F:.ln=.s} $(LTAIL)) - sha1-x86_64.s: $(COMDIR)/sha1/amd64/sha1-x86_64.pl $(PERL) $? $@ diff --git a/usr/src/uts/intel/sha2/Makefile b/usr/src/uts/intel/sha2/Makefile index bad616925f..ee4ac5e172 100644 --- a/usr/src/uts/intel/sha2/Makefile +++ b/usr/src/uts/intel/sha2/Makefile @@ -38,7 +38,6 @@ SHA2_OBJS_32 = SHA2_OBJS_64 = sha512-x86_64.o sha256-x86_64.o SHA2_OBJS += $(SHA2_OBJS_$(CLASS)) OBJECTS = $(SHA2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHA2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -56,7 +55,6 @@ CLEANFILES += sha512-x86_64.s sha256-x86_64.s # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -65,7 +63,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) LDFLAGS += -dy -Nmisc/kcf CFLAGS += -I$(COMDIR) -LINTFLAGS += -I$(COMDIR) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) @@ -102,9 +93,6 @@ include $(UTSBASE)/intel/Makefile.targ $(OBJS_DIR)/%.o: %.s $(COMPILE.s) -o $@ ${@F:.o=.s} -$(OBJS_DIR)/%.ln: %.s - @($(LHEAD) $(LINT.c) ${@F:.ln=.s} $(LTAIL)) - sha512-x86_64.s: $(COMDIR)/sha2/amd64/sha512-x86_64.pl $(PERL) $? $@ diff --git a/usr/src/uts/intel/sharefs/Makefile b/usr/src/uts/intel/sharefs/Makefile index 8b15f71c0d..0098c44e13 100644 --- a/usr/src/uts/intel/sharefs/Makefile +++ b/usr/src/uts/intel/sharefs/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = sharefs OBJECTS = $(SHAREFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHAREFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/shbinexec/Makefile b/usr/src/uts/intel/shbinexec/Makefile index 729e4a88ab..216170fa47 100644 --- a/usr/src/uts/intel/shbinexec/Makefile +++ b/usr/src/uts/intel/shbinexec/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = shbinexec OBJECTS = $(SHBINEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHBINEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/shmsys/Makefile b/usr/src/uts/intel/shmsys/Makefile index 0c4420703d..9da6582795 100644 --- a/usr/src/uts/intel/shmsys/Makefile +++ b/usr/src/uts/intel/shmsys/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = shmsys OBJECTS = $(IPCSHM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPCSHM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,12 +61,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/ipc # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/si3124/Makefile b/usr/src/uts/intel/si3124/Makefile index 78fe0d92bc..0f605b3997 100644 --- a/usr/src/uts/intel/si3124/Makefile +++ b/usr/src/uts/intel/si3124/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = si3124 OBJECTS = $(SI3124_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SI3124_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/si3124 @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,9 +65,11 @@ DEBUG_DEFS += $(DEBUG_FLGS) CERRWARN += $(CNOWARN_UNINIT) # -# lint pass one enforcement +# 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. # -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # @@ -89,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/signalfd/Makefile b/usr/src/uts/intel/signalfd/Makefile index d1a461c2f1..c37d746953 100644 --- a/usr/src/uts/intel/signalfd/Makefile +++ b/usr/src/uts/intel/signalfd/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = signalfd OBJECTS = $(SIGNALFD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SIGNALFD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/skd/Makefile b/usr/src/uts/intel/skd/Makefile index 77162a47fa..06bd6468b8 100644 --- a/usr/src/uts/intel/skd/Makefile +++ b/usr/src/uts/intel/skd/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = skd OBJECTS = $(SKD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SKD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/skd @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,7 +56,7 @@ LDFLAGS += -dy -N drv/blkdev # Overrides # # For now, disable these compiler warnigns; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# to investigate and remove these for maximum coverage. # Please do not carry these forward to new Makefiles. CERRWARN += -_gcc=-Wno-format CERRWARN += -_gcc=-Wno-format-extra-args @@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/skein/Makefile b/usr/src/uts/intel/skein/Makefile index 1028a97b80..9f08cc34c3 100644 --- a/usr/src/uts/intel/skein/Makefile +++ b/usr/src/uts/intel/skein/Makefile @@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto # MODULE = skein OBJECTS = $(SKEIN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SKEIN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) LDFLAGS += -dy -Nmisc/kcf CFLAGS += -I$(COMDIR) -LINTFLAGS += -I$(COMDIR) # # Default build targets. @@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE) 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) # diff --git a/usr/src/uts/intel/smbios/Makefile b/usr/src/uts/intel/smbios/Makefile index ae91d18a7a..d617f2f978 100644 --- a/usr/src/uts/intel/smbios/Makefile +++ b/usr/src/uts/intel/smbios/Makefile @@ -31,14 +31,12 @@ UTSBASE = ../.. MODULE = smbios OBJECTS = $(OBJS_DIR)/smbios.o -LINTS = $(LINTS_DIR)/smbios.ln ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # needs work @@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/smbsrv/Makefile b/usr/src/uts/intel/smbsrv/Makefile index 021dd38404..b0f4817c0b 100644 --- a/usr/src/uts/intel/smbsrv/Makefile +++ b/usr/src/uts/intel/smbsrv/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = smbsrv OBJECTS = $(SMBSRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SMBSRV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/fs/smbsrv @@ -61,7 +60,6 @@ LDFLAGS += -Nmisc/kcf # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -90,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/smp/Makefile b/usr/src/uts/intel/smp/Makefile index a001702635..c301cfa919 100644 --- a/usr/src/uts/intel/smp/Makefile +++ b/usr/src/uts/intel/smp/Makefile @@ -23,8 +23,6 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # # This makefile drives the production of the smp driver. @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = smp OBJECTS = $(SMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sn1_brand/Makefile b/usr/src/uts/intel/sn1_brand/Makefile index b0b3ca2635..c55271deb7 100644 --- a/usr/src/uts/intel/sn1_brand/Makefile +++ b/usr/src/uts/intel/sn1_brand/Makefile @@ -36,7 +36,6 @@ SN1_BASE = $(UTSBASE)/common/brand/sn1 # MODULE = sn1_brand OBJECTS = $(SN1_BRAND_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SN1_BRAND_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) @@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sockpfp/Makefile b/usr/src/uts/intel/sockpfp/Makefile index cd2b1a0232..23282369cf 100644 --- a/usr/src/uts/intel/sockpfp/Makefile +++ b/usr/src/uts/intel/sockpfp/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = sockpfp OBJECTS = $(PFP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SOCK_DIR)/$(MODULE) # @@ -46,24 +45,17 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement and OS version -# -CFLAGS += $(CCVERBOSE) - LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-label @@ -83,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sockrds/Makefile b/usr/src/uts/intel/sockrds/Makefile index 64a8ccd3c8..691b972686 100644 --- a/usr/src/uts/intel/sockrds/Makefile +++ b/usr/src/uts/intel/sockrds/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the nca driver +# This makefile drives the production of the nca driver # kernel module. # # intel architecture dependent @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = sockrds OBJECTS = $(RDS_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDS_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -49,12 +48,8 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement and OS version -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -Ndrv/rdsv3 @@ -72,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/socksctp/Makefile b/usr/src/uts/intel/socksctp/Makefile index 00e6ee4b75..fa3e38aa76 100644 --- a/usr/src/uts/intel/socksctp/Makefile +++ b/usr/src/uts/intel/socksctp/Makefile @@ -22,7 +22,7 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the nca driver +# This makefile drives the production of the nca driver # kernel module. # # intel architecture dependent @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = socksctp OBJECTS = $(SCTP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCTP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -50,24 +49,16 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement and OS version -# -CFLAGS += $(CCVERBOSE) - LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/socksdp/Makefile b/usr/src/uts/intel/socksdp/Makefile index 32248ae0a6..8bb0a0a383 100644 --- a/usr/src/uts/intel/socksdp/Makefile +++ b/usr/src/uts/intel/socksdp/Makefile @@ -22,7 +22,7 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the nca driver +# This makefile drives the production of the nca driver # kernel module. # # intel architecture dependent @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = socksdp OBJECTS = $(SDP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SDP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -50,14 +49,14 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement and OS version +# 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. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/softmac/Makefile b/usr/src/uts/intel/softmac/Makefile index 5fe4962f88..e3f3d8f6d3 100644 --- a/usr/src/uts/intel/softmac/Makefile +++ b/usr/src/uts/intel/softmac/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = softmac OBJECTS = $(SOFTMAC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOFTMAC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/softmac @@ -46,22 +45,19 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Overrides # -CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls # -# For now, disable these lint checks as it is a generic STREAMS problem; +# For now, disable these warnings as it is a generic STREAMS problem; # maintainers should endeavor to investigate and remove these for maximum -# lint coverage. +# coverage. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-label @@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sol_ofs/Makefile b/usr/src/uts/intel/sol_ofs/Makefile index c6a548a28e..df7a07c99f 100644 --- a/usr/src/uts/intel/sol_ofs/Makefile +++ b/usr/src/uts/intel/sol_ofs/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = sol_ofs OBJECTS = $(SOL_OFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOL_OFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm @@ -48,18 +47,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sol_ucma/Makefile b/usr/src/uts/intel/sol_ucma/Makefile index 7069d920b4..22a93c2b51 100644 --- a/usr/src/uts/intel/sol_ucma/Makefile +++ b/usr/src/uts/intel/sol_ucma/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = sol_ucma OBJECTS = $(SOL_UCMA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOL_UCMA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/sol_ofs CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_ucma @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -56,13 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/ofv/sol_ucma -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED # needs work SMOFF += all_func_returns,logical_instead_of_bitwise @@ -80,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sol_umad/Makefile b/usr/src/uts/intel/sol_umad/Makefile index 0d99bc8fb1..7b37d0f0b1 100644 --- a/usr/src/uts/intel/sol_umad/Makefile +++ b/usr/src/uts/intel/sol_umad/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = sol_umad OBJECTS = $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOL_UMAD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_umad LDFLAGS += -dy -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl @@ -48,7 +47,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sol_uverbs/Makefile b/usr/src/uts/intel/sol_uverbs/Makefile index 89eede3923..e0de79db95 100644 --- a/usr/src/uts/intel/sol_uverbs/Makefile +++ b/usr/src/uts/intel/sol_uverbs/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = sol_uverbs OBJECTS = $(SOL_UVERBS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOL_UVERBS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/sol_ofs CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_uverbs @@ -47,18 +46,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-switch @@ -83,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/specfs/Makefile b/usr/src/uts/intel/specfs/Makefile index 77e6bf92d8..88f88293cd 100644 --- a/usr/src/uts/intel/specfs/Makefile +++ b/usr/src/uts/intel/specfs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = specfs OBJECTS = $(SPEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,14 +62,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DSPEC_MODULE CLEANFILES += $(MODSTUBS_O) -LDFLAGS += -dy -Nfs/fifofs +LDFLAGS += -dy -Nfs/fifofs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -92,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sppp/Makefile b/usr/src/uts/intel/sppp/Makefile index 7f57d575e5..de249a4954 100644 --- a/usr/src/uts/intel/sppp/Makefile +++ b/usr/src/uts/intel/sppp/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = sppp OBJECTS = $(SPPP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPPP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppp @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -69,12 +67,10 @@ CPPFLAGS += -DINTERNAL_BUILD -DSOL2 INC_PATH += -I$(UTSBASE)/common/io/ppp/common # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -92,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/spppasyn/Makefile b/usr/src/uts/intel/spppasyn/Makefile index ecbd186207..a273f391eb 100644 --- a/usr/src/uts/intel/spppasyn/Makefile +++ b/usr/src/uts/intel/spppasyn/Makefile @@ -25,7 +25,7 @@ # Use is subject to license terms. # Copyright (c) 2011 Bayard G. Bell. All rights reserved. # -# This makefile drives the production of the spppasyn STREAMS +# This makefile drives the production of the spppasyn STREAMS # kernel module. # # intel architecture dependent @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = spppasyn OBJECTS = $(SPPPASYN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPPPASYN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,18 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # CPPFLAGS += -DINTERNAL_BUILD -DSOL2 -# -# Additional compiler definitions -# -INC_PATH += -I$(UTSBASE)/common/io/ppp/common - # -# 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. +# Additional compiler definitions # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW +INC_PATH += -I$(UTSBASE)/common/io/ppp/common # # Depends on sppp @@ -92,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sppptun/Makefile b/usr/src/uts/intel/sppptun/Makefile index 827c7e896f..e9dec65ef7 100644 --- a/usr/src/uts/intel/sppptun/Makefile +++ b/usr/src/uts/intel/sppptun/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = sppptun OBJECTS = $(SPPPTUN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPPPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) ROOTLINK = $(USR_STRMOD_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppptun @@ -56,7 +55,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -70,13 +68,10 @@ CPPFLAGS += -DINTERNAL_BUILD -DSOL2 INC_PATH += -I$(UTSBASE)/common/io/ppp/common # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -93,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(USR_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/srn/Makefile b/usr/src/uts/intel/srn/Makefile index 7eca930ebf..07e171bea7 100644 --- a/usr/src/uts/intel/srn/Makefile +++ b/usr/src/uts/intel/srn/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = srn OBJECTS = $(SRN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SRN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -56,7 +55,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/srpt/Makefile b/usr/src/uts/intel/srpt/Makefile index e06aed2c91..3a030aa82f 100644 --- a/usr/src/uts/intel/srpt/Makefile +++ b/usr/src/uts/intel/srpt/Makefile @@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = srpt OBJECTS = $(SRPT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SRPT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/srpt @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/st/Makefile b/usr/src/uts/intel/st/Makefile index b4da8fff9f..4f5d0a3f2f 100644 --- a/usr/src/uts/intel/st/Makefile +++ b/usr/src/uts/intel/st/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = st OBJECTS = $(ST_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ST_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -59,13 +57,10 @@ DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -92,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/stmf/Makefile b/usr/src/uts/intel/stmf/Makefile index 351d4b5781..2ef50bc67a 100644 --- a/usr/src/uts/intel/stmf/Makefile +++ b/usr/src/uts/intel/stmf/Makefile @@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = stmf OBJECTS = $(STMF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(STMF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/stmf @@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,11 +61,9 @@ SMATCH=off C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# For now, disable these warnings; maintainers should endeavor +# to investigate and remove these for maximum coverage. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch @@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/stmf_sbd/Makefile b/usr/src/uts/intel/stmf_sbd/Makefile index bbee85d605..cd6f841ccd 100644 --- a/usr/src/uts/intel/stmf_sbd/Makefile +++ b/usr/src/uts/intel/stmf_sbd/Makefile @@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = stmf_sbd OBJECTS = $(STMF_SBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(STMF_SBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/comstar/lu/stmf_sbd @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,11 +62,9 @@ INC_PATH += -I$(UTSBASE)/common/fs/zfs C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# For now, disable these warnings; maintainers should endeavor +# to investigate and remove these for maximum coverage. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses @@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/strategy/Makefile b/usr/src/uts/intel/strategy/Makefile index 68733ccbd5..3f3a930bc6 100644 --- a/usr/src/uts/intel/strategy/Makefile +++ b/usr/src/uts/intel/strategy/Makefile @@ -44,7 +44,6 @@ UTSBASE = ../.. # MODULE = strategy OBJECTS = $(STRATEGY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(STRATEGY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -61,7 +60,6 @@ $(OBJS_DIR)/strategy.o := SMOFF += all_func_returns # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/strplumb/Makefile b/usr/src/uts/intel/strplumb/Makefile index 78dbdc7cdd..191a7b0bc0 100644 --- a/usr/src/uts/intel/strplumb/Makefile +++ b/usr/src/uts/intel/strplumb/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = strplumb OBJECTS = $(STRPLUMB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(STRPLUMB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,17 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -81,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/swrand/Makefile b/usr/src/uts/intel/swrand/Makefile index e1abdc1536..3d61ffc942 100644 --- a/usr/src/uts/intel/swrand/Makefile +++ b/usr/src/uts/intel/swrand/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = swrand OBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) INC_PATH += -I../../i86pc @@ -52,14 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) +CFLAGS += -I$(COM_DIR) # # Linkage dependencies @@ -67,13 +61,11 @@ LINTFLAGS += -I$(COM_DIR) LDFLAGS += -dy -Nmisc/kcf -Nmisc/sha1 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function # @@ -89,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sy/Makefile b/usr/src/uts/intel/sy/Makefile index 959dd3b445..37db2a4d6f 100644 --- a/usr/src/uts/intel/sy/Makefile +++ b/usr/src/uts/intel/sy/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/sy/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the sy driver # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = sy OBJECTS = $(SY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sysacct/Makefile b/usr/src/uts/intel/sysacct/Makefile index dd8f9c7848..6983157b12 100644 --- a/usr/src/uts/intel/sysacct/Makefile +++ b/usr/src/uts/intel/sysacct/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/intel/sysacct/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the sysacct driver kernel module. # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = sysacct OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSACCT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) # @@ -54,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sysevent/Makefile b/usr/src/uts/intel/sysevent/Makefile index df25c16796..1ec7fb8cea 100644 --- a/usr/src/uts/intel/sysevent/Makefile +++ b/usr/src/uts/intel/sysevent/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/intel/sysevent/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # sysevent driver makefile. # @@ -39,7 +38,6 @@ UTSBASE = ../.. # MODULE = sysevent OBJECTS = $(SYSEVENT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSEVENT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -52,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/sysmsg/Makefile b/usr/src/uts/intel/sysmsg/Makefile index d1d9d077ca..49bde669e6 100644 --- a/usr/src/uts/intel/sysmsg/Makefile +++ b/usr/src/uts/intel/sysmsg/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/intel/sysmsg/Makefile # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the sysmsg `drv' # kernel module. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = sysmsg OBJECTS = $(SYSMSG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSMSG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,17 +52,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -77,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/systrace/Makefile b/usr/src/uts/intel/systrace/Makefile index d33863ee28..8cb18aef47 100644 --- a/usr/src/uts/intel/systrace/Makefile +++ b/usr/src/uts/intel/systrace/Makefile @@ -23,13 +23,11 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = systrace OBJECTS = $(SYSTRACE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace @@ -37,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/dtrace @@ -52,12 +49,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/tavor/Makefile b/usr/src/uts/intel/tavor/Makefile index 57d416e606..f264630660 100644 --- a/usr/src/uts/intel/tavor/Makefile +++ b/usr/src/uts/intel/tavor/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = tavor OBJECTS = $(TAVOR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TAVOR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/tavor LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,20 +60,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) #DEBUG_DEFS_DBG32 += -DTNF_DEBUG #DEBUG_DEFS_DBG64 += -DTNF_DEBUG -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -97,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tclient/Makefile b/usr/src/uts/intel/tclient/Makefile index 5dc1c68b34..8208a623a9 100644 --- a/usr/src/uts/intel/tclient/Makefile +++ b/usr/src/uts/intel/tclient/Makefile @@ -23,7 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the tclient kernel # driver for testing MPxIO interfaces @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = tclient OBJECTS = $(TCLIENT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TCLIENT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ CLOBBERFILES += $(MODULE) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tcp/Makefile b/usr/src/uts/intel/tcp/Makefile index f617552559..03e57f13cf 100644 --- a/usr/src/uts/intel/tcp/Makefile +++ b/usr/src/uts/intel/tcp/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = tcp OBJECTS = $(TCP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TCP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/tcp @@ -57,14 +56,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # # Inline functions, this probably needs to be changed when compiling with # -xO4. # -CINLINES = -xinline=tcp_set_ws_value,tcp_fill_header +CINLINES = -xinline=tcp_set_ws_value,tcp_fill_header CFLAGS += $(CINLINES) @@ -89,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/tcp6/Makefile b/usr/src/uts/intel/tcp6/Makefile index 386ddd9008..b3dc4c65c1 100644 --- a/usr/src/uts/intel/tcp6/Makefile +++ b/usr/src/uts/intel/tcp6/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = tcp6 OBJECTS = $(TCP6_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TCP6_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/tcp @@ -58,7 +57,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/telmod/Makefile b/usr/src/uts/intel/telmod/Makefile index 731bf2beef..567e5f7b5a 100644 --- a/usr/src/uts/intel/telmod/Makefile +++ b/usr/src/uts/intel/telmod/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = telmod OBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/timerfd/Makefile b/usr/src/uts/intel/timerfd/Makefile index ed7e847842..2151af356e 100644 --- a/usr/src/uts/intel/timerfd/Makefile +++ b/usr/src/uts/intel/timerfd/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = timerfd OBJECTS = $(TIMERFD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TIMERFD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -41,7 +40,6 @@ SMOFF += all_func_returns # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -57,12 +55,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/timod/Makefile b/usr/src/uts/intel/timod/Makefile index 1ffbfc0353..dbfb5f7bb5 100644 --- a/usr/src/uts/intel/timod/Makefile +++ b/usr/src/uts/intel/timod/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = timod OBJECTS = $(TIMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -48,17 +47,8 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - # needs work SMOFF += indenting @@ -75,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tirdwr/Makefile b/usr/src/uts/intel/tirdwr/Makefile index 55f9fc189f..c8e66ada28 100644 --- a/usr/src/uts/intel/tirdwr/Makefile +++ b/usr/src/uts/intel/tirdwr/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = tirdwr OBJECTS = $(TIRDWR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TIRDWR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,16 +53,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses @@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tl/Makefile b/usr/src/uts/intel/tl/Makefile index f49cc7746c..45fe40ddbe 100644 --- a/usr/src/uts/intel/tl/Makefile +++ b/usr/src/uts/intel/tl/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = tl OBJECTS = $(TL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -66,13 +64,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/ip # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-parentheses @@ -94,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tlimod/Makefile b/usr/src/uts/intel/tlimod/Makefile index 73584a9145..5cf971485c 100644 --- a/usr/src/uts/intel/tlimod/Makefile +++ b/usr/src/uts/intel/tlimod/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = tlimod OBJECTS = $(TLIMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TLIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # needs work @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tmpfs/Makefile b/usr/src/uts/intel/tmpfs/Makefile index 97a59fdb1a..441e3d2cf1 100644 --- a/usr/src/uts/intel/tmpfs/Makefile +++ b/usr/src/uts/intel/tmpfs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = tmpfs OBJECTS = $(TMPFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TMPFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -55,16 +54,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tnf/Makefile b/usr/src/uts/intel/tnf/Makefile index 583f831a7f..fcc0fe5dbc 100644 --- a/usr/src/uts/intel/tnf/Makefile +++ b/usr/src/uts/intel/tnf/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = tnf OBJECTS = $(TNF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TNF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/tnf @@ -55,17 +54,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tokenmt/Makefile b/usr/src/uts/intel/tokenmt/Makefile index 22532c5af9..78308af7df 100644 --- a/usr/src/uts/intel/tokenmt/Makefile +++ b/usr/src/uts/intel/tokenmt/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # This makefile creates the tokenmt metering (ipp) module. # intel architecture dependent @@ -39,7 +38,6 @@ UTSBASE = ../.. # MODULE = tokenmt OBJECTS = $(TOKENMT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TOKENMT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -56,20 +54,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/ip # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tphci/Makefile b/usr/src/uts/intel/tphci/Makefile index 230f018d13..f089e6d242 100644 --- a/usr/src/uts/intel/tphci/Makefile +++ b/usr/src/uts/intel/tphci/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = tphci OBJECTS = $(TPHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TPHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tpm/Makefile b/usr/src/uts/intel/tpm/Makefile index 185ddd6c68..3ad6adfc06 100644 --- a/usr/src/uts/intel/tpm/Makefile +++ b/usr/src/uts/intel/tpm/Makefile @@ -30,7 +30,6 @@ UTSBASE = $(SRC)/uts # MODULE = tpm OBJECTS = $(TPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,7 +44,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/trill/Makefile b/usr/src/uts/intel/trill/Makefile index f3aa9d2178..d9670fc993 100644 --- a/usr/src/uts/intel/trill/Makefile +++ b/usr/src/uts/intel/trill/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = trill OBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ SMOFF += all_func_returns # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tswtclmt/Makefile b/usr/src/uts/intel/tswtclmt/Makefile index dc7c3a84fc..fcad89bd92 100644 --- a/usr/src/uts/intel/tswtclmt/Makefile +++ b/usr/src/uts/intel/tswtclmt/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # This makefile creates the tswtclmt metering (ipp) module. # intel architecture dependent @@ -39,7 +38,6 @@ UTSBASE = ../.. # MODULE = tswtclmt OBJECTS = $(TSWTCL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TSWTCL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -56,20 +54,11 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/ip # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ttcompat/Makefile b/usr/src/uts/intel/ttcompat/Makefile index 95f96f477f..31f506844b 100644 --- a/usr/src/uts/intel/ttcompat/Makefile +++ b/usr/src/uts/intel/ttcompat/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/ttcompat/Makefile -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the ttcompat streams kernel # module. @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = ttcompat OBJECTS = $(TTCOMPAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TTCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,18 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/tvhci/Makefile b/usr/src/uts/intel/tvhci/Makefile index 543e9542d8..87797cef45 100644 --- a/usr/src/uts/intel/tvhci/Makefile +++ b/usr/src/uts/intel/tvhci/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = tvhci OBJECTS = $(TVHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TVHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -52,15 +51,13 @@ CLOBBERFILES += $(MODULE) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-function # @@ -76,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/uath/Makefile b/usr/src/uts/intel/uath/Makefile index afa1d62e54..dae14c125c 100644 --- a/usr/src/uts/intel/uath/Makefile +++ b/usr/src/uts/intel/uath/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = uath OBJECTS = $(UATH_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UATH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,7 +60,6 @@ LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN # # Default build targets. @@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/uathfw/Makefile b/usr/src/uts/intel/uathfw/Makefile index 27791c3004..3cc302469b 100644 --- a/usr/src/uts/intel/uathfw/Makefile +++ b/usr/src/uts/intel/uathfw/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = uathfw OBJECTS = $(UATHFW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UATHFW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) FWOBJ = $(OBJS_DIR)/$(MODULE).o @@ -47,25 +46,14 @@ OBJECTS += $(FWOBJ) # include $(UTSBASE)/intel/Makefile.intel -LDFLAGS = +LDFLAGS = # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - -# # Default build targets. # .KEEP_STATE: @@ -78,12 +66,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) diff --git a/usr/src/uts/intel/ucode/Makefile b/usr/src/uts/intel/ucode/Makefile index a9b64b4b99..f54389ee95 100644 --- a/usr/src/uts/intel/ucode/Makefile +++ b/usr/src/uts/intel/ucode/Makefile @@ -22,13 +22,11 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. MODULE = ucode OBJECTS = $(UCODE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UCODE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io @@ -37,7 +35,6 @@ INC_PATH += -I$(SRC)/common/ include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -50,12 +47,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/udfs/Makefile b/usr/src/uts/intel/udfs/Makefile index 91b5c1cc87..236e912639 100644 --- a/usr/src/uts/intel/udfs/Makefile +++ b/usr/src/uts/intel/udfs/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = udfs OBJECTS = $(UDFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UDFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,16 +61,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -N fs/specfs # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -95,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/udmf/Makefile b/usr/src/uts/intel/udmf/Makefile index a4a5495d5e..79e395fdb2 100644 --- a/usr/src/uts/intel/udmf/Makefile +++ b/usr/src/uts/intel/udmf/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = udmf OBJECTS = $(UDMF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UDMF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -41,11 +40,6 @@ CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-label -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED # needs work $(OBJS_DIR)/udmf_usbgem.o := SMOFF += indenting @@ -54,7 +48,6 @@ $(OBJS_DIR)/udmf_usbgem.o := SMOFF += indenting # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +63,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/udp/Makefile b/usr/src/uts/intel/udp/Makefile index 5ae4cfe6e1..c42e631c0f 100644 --- a/usr/src/uts/intel/udp/Makefile +++ b/usr/src/uts/intel/udp/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = udp OBJECTS = $(UDP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UDP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/udp @@ -57,7 +56,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/udp6/Makefile b/usr/src/uts/intel/udp6/Makefile index 28a6e8f978..40e59e9463 100644 --- a/usr/src/uts/intel/udp6/Makefile +++ b/usr/src/uts/intel/udp6/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = udp6 OBJECTS = $(UDP6_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UDP6_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/inet/udp @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ufm/Makefile b/usr/src/uts/intel/ufm/Makefile index ee16a1d019..498b9d9aea 100644 --- a/usr/src/uts/intel/ufm/Makefile +++ b/usr/src/uts/intel/ufm/Makefile @@ -17,14 +17,12 @@ UTSBASE = ../.. MODULE = ufm OBJECTS = $(OBJS_DIR)/ufm.o -LINTS = $(LINTS_DIR)/ufm.ln ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/ufmtest/Makefile b/usr/src/uts/intel/ufmtest/Makefile index 3b4ea07f85..00482d2716 100644 --- a/usr/src/uts/intel/ufmtest/Makefile +++ b/usr/src/uts/intel/ufmtest/Makefile @@ -17,14 +17,12 @@ UTSBASE = ../.. MODULE = ufmtest OBJECTS = $(OBJS_DIR)/ufmtest.o -LINTS = $(LINTS_DIR)/ufmtest.ln ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/ufs/Makefile b/usr/src/uts/intel/ufs/Makefile index 8faca5b49d..06d4ad7501 100644 --- a/usr/src/uts/intel/ufs/Makefile +++ b/usr/src/uts/intel/ufs/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = ufs OBJECTS = $(UFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,16 +65,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nfs/specfs -Nmisc/fssnap_if # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -99,12 +91,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/ugen/Makefile b/usr/src/uts/intel/ugen/Makefile index 9f128da034..ca7eacbcd0 100644 --- a/usr/src/uts/intel/ugen/Makefile +++ b/usr/src/uts/intel/ugen/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = ugen OBJECTS = $(UGEN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/uhci/Makefile b/usr/src/uts/intel/uhci/Makefile index 687ef09254..99f2914bb2 100644 --- a/usr/src/uts/intel/uhci/Makefile +++ b/usr/src/uts/intel/uhci/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = uhci OBJECTS = $(UHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/upf/Makefile b/usr/src/uts/intel/upf/Makefile index c9b724ff24..e1ab955a6e 100644 --- a/usr/src/uts/intel/upf/Makefile +++ b/usr/src/uts/intel/upf/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = upf OBJECTS = $(UPF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UPF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -44,18 +43,11 @@ CERRWARN += -_gcc=-Wno-unused-label # needs work $(OBJS_DIR)/upf_usbgem.o := SMOFF += all_func_returns -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,12 +63,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/ural/Makefile b/usr/src/uts/intel/ural/Makefile index de779ab288..ff79bdb293 100644 --- a/usr/src/uts/intel/ural/Makefile +++ b/usr/src/uts/intel/ural/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = ural OBJECTS = $(URAL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(URAL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/urf/Makefile b/usr/src/uts/intel/urf/Makefile index a9f2f815e8..89d8cf2b00 100644 --- a/usr/src/uts/intel/urf/Makefile +++ b/usr/src/uts/intel/urf/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = urf OBJECTS = $(URF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(URF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -41,17 +40,11 @@ CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-label -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,12 +60,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/urtw/Makefile b/usr/src/uts/intel/urtw/Makefile index 12c20b148c..12f238a688 100644 --- a/usr/src/uts/intel/urtw/Makefile +++ b/usr/src/uts/intel/urtw/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = urtw OBJECTS = $(URTW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(URTW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usb_ac/Makefile b/usr/src/uts/intel/usb_ac/Makefile index a4cf979a15..7cf9dec3c8 100644 --- a/usr/src/uts/intel/usb_ac/Makefile +++ b/usr/src/uts/intel/usb_ac/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usb_ac OBJECTS = $(USB_AC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_AC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -85,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usb_ah/Makefile b/usr/src/uts/intel/usb_ah/Makefile index aac32060a4..0f55f88bb7 100644 --- a/usr/src/uts/intel/usb_ah/Makefile +++ b/usr/src/uts/intel/usb_ah/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = usb_ah OBJECTS = $(USB_AH_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_AH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,11 +64,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -87,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usb_as/Makefile b/usr/src/uts/intel/usb_as/Makefile index a2b03b11e7..0640e53411 100644 --- a/usr/src/uts/intel/usb_as/Makefile +++ b/usr/src/uts/intel/usb_as/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = usb_as OBJECTS = $(USB_AS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_AS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label @@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usb_ia/Makefile b/usr/src/uts/intel/usb_ia/Makefile index 5cb2c86e7a..89bb3cb732 100644 --- a/usr/src/uts/intel/usb_ia/Makefile +++ b/usr/src/uts/intel/usb_ia/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usb_ia OBJECTS = $(USB_IA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usb_mid/Makefile b/usr/src/uts/intel/usb_mid/Makefile index 67e5a49dd0..fb8d1e5f09 100644 --- a/usr/src/uts/intel/usb_mid/Makefile +++ b/usr/src/uts/intel/usb_mid/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usb_mid OBJECTS = $(USB_MID_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_MID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usba/Makefile b/usr/src/uts/intel/usba/Makefile index 37c0664abe..b43c7e7c52 100644 --- a/usr/src/uts/intel/usba/Makefile +++ b/usr/src/uts/intel/usba/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = usba OBJECTS = $(USBA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,12 +61,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usba10/Makefile b/usr/src/uts/intel/usba10/Makefile index 84df097140..39ee3146bb 100644 --- a/usr/src/uts/intel/usba10/Makefile +++ b/usr/src/uts/intel/usba10/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/intel/usba10/Makefile # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the USB nexus driver # @@ -39,7 +38,6 @@ UTSBASE = ../.. # MODULE = usba10 OBJECTS = $(USBA10_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBA10_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,12 +49,8 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbecm/Makefile b/usr/src/uts/intel/usbecm/Makefile index b9687406f9..4395b90283 100644 --- a/usr/src/uts/intel/usbecm/Makefile +++ b/usr/src/uts/intel/usbecm/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbecm OBJECTS = $(USBECM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBECM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/mac # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # needs work @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbftdi/Makefile b/usr/src/uts/intel/usbftdi/Makefile index 8eb47fb6a8..0686fa04de 100644 --- a/usr/src/uts/intel/usbftdi/Makefile +++ b/usr/src/uts/intel/usbftdi/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbftdi OBJECTS = $(USBFTDI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBFTDI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbser/usbftdi @@ -54,7 +53,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbgem/Makefile b/usr/src/uts/intel/usbgem/Makefile index 6afc012974..90efb4181c 100644 --- a/usr/src/uts/intel/usbgem/Makefile +++ b/usr/src/uts/intel/usbgem/Makefile @@ -23,7 +23,6 @@ UTSBASE = ../.. # MODULE = usbgem OBJECTS = $(USBGEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBGEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,14 +51,6 @@ CERRWARN += -_gcc=-Wno-unused-function # needs work SMOFF += all_func_returns -LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -LINTTAGS += -erroff=E_FUNC_ARG_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_FUNC_SET_NOT_USED -LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2 -LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 -LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2 -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba @@ -67,7 +58,6 @@ LDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -83,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/intel/usbkbm/Makefile b/usr/src/uts/intel/usbkbm/Makefile index 0778ac32dc..51e96786b6 100644 --- a/usr/src/uts/intel/usbkbm/Makefile +++ b/usr/src/uts/intel/usbkbm/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbkbm OBJECTS = $(USBKBM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBKBM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,13 +62,6 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Nmisc/kbtrans -Nmisc/hidparser # -# 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbms/Makefile b/usr/src/uts/intel/usbms/Makefile index e6819d37a6..8a8c273cbe 100644 --- a/usr/src/uts/intel/usbms/Makefile +++ b/usr/src/uts/intel/usbms/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = usbms OBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,11 +60,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -87,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbprn/Makefile b/usr/src/uts/intel/usbprn/Makefile index d01d9c2106..43cc13d54b 100644 --- a/usr/src/uts/intel/usbprn/Makefile +++ b/usr/src/uts/intel/usbprn/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usbprn OBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbs49_fw/Makefile b/usr/src/uts/intel/usbs49_fw/Makefile index 64eadcc940..4351d444d1 100644 --- a/usr/src/uts/intel/usbs49_fw/Makefile +++ b/usr/src/uts/intel/usbs49_fw/Makefile @@ -20,9 +20,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/intel/usbs49_fw/Makefile + # # Path to the base of the uts directory tree (usually /usr/src/uts). # @@ -33,7 +31,6 @@ UTSBASE = ../.. # MODULE = usbs49_fw OBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -45,7 +42,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,12 +57,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbsacm/Makefile b/usr/src/uts/intel/usbsacm/Makefile index 3d17fc199e..34c9f01868 100644 --- a/usr/src/uts/intel/usbsacm/Makefile +++ b/usr/src/uts/intel/usbsacm/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = usbsacm OBJECTS = $(USBSACM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ SMOFF += deref_check # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbser/Makefile b/usr/src/uts/intel/usbser/Makefile index 7932c9894f..3e8577253b 100644 --- a/usr/src/uts/intel/usbser/Makefile +++ b/usr/src/uts/intel/usbser/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usbser OBJECTS = $(USBSER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -55,16 +54,8 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# 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_BAD_PTR_CAST_ALIGN - # needs work SMOFF += all_func_returns @@ -78,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbskel/Makefile b/usr/src/uts/intel/usbskel/Makefile index af92d96c7d..ff3c79b61d 100644 --- a/usr/src/uts/intel/usbskel/Makefile +++ b/usr/src/uts/intel/usbskel/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usbskel OBJECTS = $(USBSKEL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSKEL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbsksp/Makefile b/usr/src/uts/intel/usbsksp/Makefile index b34c75efe5..a6ccea7ffd 100644 --- a/usr/src/uts/intel/usbsksp/Makefile +++ b/usr/src/uts/intel/usbsksp/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = usbsksp OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbsprl/Makefile b/usr/src/uts/intel/usbsprl/Makefile index 7e0e3d9539..78f46a60e8 100644 --- a/usr/src/uts/intel/usbsprl/Makefile +++ b/usr/src/uts/intel/usbsprl/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbsprl OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -66,12 +64,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbvc/Makefile b/usr/src/uts/intel/usbvc/Makefile index 5a641fc43a..d023b07333 100644 --- a/usr/src/uts/intel/usbvc/Makefile +++ b/usr/src/uts/intel/usbvc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = usbvc OBJECTS = $(USBVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -71,7 +69,6 @@ LDFLAGS += -dy -Nmisc/usba # Disable this because it is necessary for this driver # and it is surely safe # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/usbwcm/Makefile b/usr/src/uts/intel/usbwcm/Makefile index bf0e3c9f00..06e59bb944 100644 --- a/usr/src/uts/intel/usbwcm/Makefile +++ b/usr/src/uts/intel/usbwcm/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbwcm OBJECTS = $(USBWCM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBWCM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,11 +62,10 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/usba # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vgatext/Makefile b/usr/src/uts/intel/vgatext/Makefile index 3ee010cb6b..1d0d388171 100644 --- a/usr/src/uts/intel/vgatext/Makefile +++ b/usr/src/uts/intel/vgatext/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = vgatext OBJECTS = $(VGATEXT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VGATEXT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) GFX_DIR = $(UTSBASE)/i86pc/io/gfx_private INC_PATH += -I$(GFX_DIR) @@ -57,7 +56,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) # $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vmxnet3s/Makefile b/usr/src/uts/intel/vmxnet3s/Makefile index 9e6e6cc0a6..a65ef4c3c7 100644 --- a/usr/src/uts/intel/vmxnet3s/Makefile +++ b/usr/src/uts/intel/vmxnet3s/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = vmxnet3s OBJECTS = $(VMXNET3S_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VMXNET3S_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/vmxnet3s @@ -55,7 +54,6 @@ INC_PATH += -I$(UTSBASE)/intel/io/vmxnet3s # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,8 +61,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # LDFLAGS += -dy -N misc/mac -LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN # # Default build targets. @@ -80,11 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) install: $(INSTALL_DEPS) diff --git a/usr/src/uts/intel/vnic/Makefile b/usr/src/uts/intel/vnic/Makefile index 199e85fa5d..0a2bf26606 100644 --- a/usr/src/uts/intel/vnic/Makefile +++ b/usr/src/uts/intel/vnic/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = vnic OBJECTS = $(VNIC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VNIC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/vnic @@ -47,7 +46,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vr/Makefile b/usr/src/uts/intel/vr/Makefile index 2a74aa40b4..0bf11c6d61 100644 --- a/usr/src/uts/intel/vr/Makefile +++ b/usr/src/uts/intel/vr/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = vr OBJECTS = $(VR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vscan/Makefile b/usr/src/uts/intel/vscan/Makefile index e681867e02..fd0c380399 100644 --- a/usr/src/uts/intel/vscan/Makefile +++ b/usr/src/uts/intel/vscan/Makefile @@ -22,7 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the vscan service # kernel module. @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = vscan OBJECTS = $(VSCAN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VSCAN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/vscan @@ -58,7 +57,6 @@ LDFLAGS += -dy -N"fs/sockfs" -N"sys/doorfs" # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/vuid2ps2/Makefile b/usr/src/uts/intel/vuid2ps2/Makefile index 031574dc37..618c23d02f 100644 --- a/usr/src/uts/intel/vuid2ps2/Makefile +++ b/usr/src/uts/intel/vuid2ps2/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = vuid2ps2 OBJECTS = $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDPS2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -61,7 +60,6 @@ SMOFF += deref_check # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -82,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vuid3ps2/Makefile b/usr/src/uts/intel/vuid3ps2/Makefile index 941929e64e..8245db9283 100644 --- a/usr/src/uts/intel/vuid3ps2/Makefile +++ b/usr/src/uts/intel/vuid3ps2/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = vuid3ps2 OBJECTS = $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDPS2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -61,7 +60,6 @@ SMOFF += deref_check # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -82,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vuidm3p/Makefile b/usr/src/uts/intel/vuidm3p/Makefile index bf2b8420bc..5f6d6a9bd3 100644 --- a/usr/src/uts/intel/vuidm3p/Makefile +++ b/usr/src/uts/intel/vuidm3p/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = vuidm3p OBJECTS = $(VUIDM3P_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDM3P_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vuidm4p/Makefile b/usr/src/uts/intel/vuidm4p/Makefile index d0427eea4c..9b1d915580 100644 --- a/usr/src/uts/intel/vuidm4p/Makefile +++ b/usr/src/uts/intel/vuidm4p/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = vuidm4p OBJECTS = $(VUIDM4P_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDM4P_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/vuidm5p/Makefile b/usr/src/uts/intel/vuidm5p/Makefile index ff26e2ad7e..607fdc229e 100644 --- a/usr/src/uts/intel/vuidm5p/Makefile +++ b/usr/src/uts/intel/vuidm5p/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = vuidm5p OBJECTS = $(VUIDM5P_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDM5P_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_DEFS += -DVUIDM5P @@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/wc/Makefile b/usr/src/uts/intel/wc/Makefile index b8a4d2e366..5a030af3da 100644 --- a/usr/src/uts/intel/wc/Makefile +++ b/usr/src/uts/intel/wc/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = wc OBJECTS = $(WC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(WC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -48,7 +47,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/winlock/Makefile b/usr/src/uts/intel/winlock/Makefile index 2d2e266e76..9bc0bffc01 100644 --- a/usr/src/uts/intel/winlock/Makefile +++ b/usr/src/uts/intel/winlock/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = winlock OBJECTS = $(WINLOCK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(WINLOCK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -53,16 +52,13 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -79,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/wpi/Makefile b/usr/src/uts/intel/wpi/Makefile index 1295bf7237..9c99b03cc7 100644 --- a/usr/src/uts/intel/wpi/Makefile +++ b/usr/src/uts/intel/wpi/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" # # This makefile drives the production of the wpi driver kernel module. # @@ -38,9 +37,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = wpi +MODULE = wpi OBJECTS = $(WPI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(WPI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,17 +50,15 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CPPFLAGS += -I. -D_KERNEL -LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip +LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip # # Default build targets. @@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/xhci/Makefile b/usr/src/uts/intel/xhci/Makefile index 0a49e69579..c878bcb046 100644 --- a/usr/src/uts/intel/xhci/Makefile +++ b/usr/src/uts/intel/xhci/Makefile @@ -17,14 +17,12 @@ UTSBASE = ../.. MODULE = xhci OBJECTS = $(XHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/xhci include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/usba @@ -39,12 +37,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ diff --git a/usr/src/uts/intel/yge/Makefile b/usr/src/uts/intel/yge/Makefile index 49b2d4ca45..b1b996dac5 100644 --- a/usr/src/uts/intel/yge/Makefile +++ b/usr/src/uts/intel/yge/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = yge OBJECTS = $(YGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(YGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,9 +55,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -N misc/mac -N misc/mii -# Lint flag # - +# 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-unused-label # @@ -76,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/zcons/Makefile b/usr/src/uts/intel/zcons/Makefile index df80cfe2c3..f1f4504a0a 100644 --- a/usr/src/uts/intel/zcons/Makefile +++ b/usr/src/uts/intel/zcons/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/intel/zcons/Makefile -# # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the zcons driver # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = zcons OBJECTS = $(ZCONS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ZCONS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,12 +65,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/zfs/Makefile b/usr/src/uts/intel/zfs/Makefile index 8847b2445f..0ead0381dc 100644 --- a/usr/src/uts/intel/zfs/Makefile +++ b/usr/src/uts/intel/zfs/Makefile @@ -43,8 +43,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = zfs OBJECTS = $(ZFS_OBJS:%=$(OBJS_DIR)/%) $(LUA_OBJS:%=$(OBJS_DIR)/%) -# LUA_OBJS are intentionally omitted from LINTS -LINTS = $(ZFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_FS_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/fs/zfs @@ -58,7 +56,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -77,16 +74,10 @@ INC_PATH += -I$(UTSBASE)/i86pc C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-switch @@ -119,12 +110,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_FS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/intel/zut/Makefile b/usr/src/uts/intel/zut/Makefile index 1ec757e8e8..1d1ee7d054 100644 --- a/usr/src/uts/intel/zut/Makefile +++ b/usr/src/uts/intel/zut/Makefile @@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd` # MODULE = zut OBJECTS = $(ZUT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ZUT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/fs/zut @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -65,11 +63,10 @@ INC_PATH += -I$(COMMONBASE)/zut C99LMODE= -Xc99=%all # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# 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. # -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -87,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/intel/zyd/Makefile b/usr/src/uts/intel/zyd/Makefile index 7d3e76e441..b1b48391c2 100644 --- a/usr/src/uts/intel/zyd/Makefile +++ b/usr/src/uts/intel/zyd/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = zyd OBJECTS = $(ZYD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ZYD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # |