diff options
Diffstat (limited to 'usr')
1170 files changed, 1883 insertions, 16674 deletions
diff --git a/usr/src/uts/Makefile b/usr/src/uts/Makefile index d03de46952..7e83978de5 100644 --- a/usr/src/uts/Makefile +++ b/usr/src/uts/Makefile @@ -77,15 +77,13 @@ install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber clobber_h := TARGET= clobber -lint := TARGET= lint -clean.lint := TARGET= clean.lint check := TARGET= check modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ .KEEP_STATE: -def all lint: all_h $(PMTMO_FILE) $($(MACH)_ARCHITECTURES) +def all: all_h $(PMTMO_FILE) $($(MACH)_ARCHITECTURES) install: all_h install_dirs $(PMTMO_FILE) $($(MACH)_ARCHITECTURES) @@ -202,7 +200,7 @@ clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS) # testing convenience clobber_h: $(DYNHDRDIRS) -clean.lint modlist: $($(MACH)_ARCHITECTURES) +modlist: $($(MACH)_ARCHITECTURES) # # Cross-reference customization: build a cross-reference over all of diff --git a/usr/src/uts/Makefile.targ b/usr/src/uts/Makefile.targ index c42f458948..9c1a55c2e2 100644 --- a/usr/src/uts/Makefile.targ +++ b/usr/src/uts/Makefile.targ @@ -32,12 +32,6 @@ # # -# Default rule for building the lint library directory: -# -$(LINT_LIB_DIR): - -@mkdir -p $@ 2> /dev/null - -# # All C objects depend on inline files. However, cc(1) doesn't generate # the correct dependency info. Also, these Makefiles don't contain a # separate list of C-derived object files (but it is light weight to @@ -68,28 +62,9 @@ $(MODULE).check.targ: $(BINARY) $(OBJECTS) $(EXTRA_CHECK_OBJS) $(UNIX_O) $(MODST $(LD) -o /dev/null $(OBJECTS) $(EXTRA_CHECK_OBJS) $(UNIX_O) $(MODSTUBS_O) $(GENLIB) # -# Module lint library construction targets. -# -MOD_LINT_LIB = $(LINT_LIB_DIR)/llib-l$(LINT_MODULE).ln - -$(MOD_LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @-$(ECHO) "\n$(OBJS_DIR)/$(MODULE): (library construction):" - @($(LINT) -o $(LINT_MODULE)-$(OBJS_DIR) \ - $(LINTFLAGS) $(LINTS) $(LTAIL)) - @$(MV) llib-l$(LINT_MODULE)-$(OBJS_DIR).ln $@ - -$(LINT_MODULE).lint: $(MOD_LINT_LIB) $(LINT_LIB) $(GEN_LINT_LIB) - @-$(ECHO) "\n$(OBJS_DIR)/$(LINT_MODULE): global crosschecks:" - @($(LINT) $(LINTFLAGS) $(MOD_LINT_LIB) \ - $(LINT_LIB) $(GEN_LINT_LIB) $(LTAIL)) - -# -# Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .nse_depinfo file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. The -# actual lists are defined in */Makefile.files. +# Since assym.h is a derived file, the dependency must be explicit for all +# files including this file. The actual lists are defined in +# */Makefile.files. # $(ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/assym.h @@ -100,9 +75,6 @@ $(ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/assym.h $(MODSTUBS_O): $(MODSTUBS) $(COMPILE.s) -o $@ $(MODSTUBS) -$(LINTS_DIR)/modstubs.ln: $(MODSTUBS) - @($(LHEAD) $(LINT.s) $(MODSTUBS) $(LTAIL)) - # # Build the source file which contains the kernel's utsname, # with release, version and machine set as follows: @@ -121,10 +93,6 @@ $(OBJS_DIR)/vers.o: $(OBJECTS) $(CTFCONVERT_O) $(POST_PROCESS_O) -$(LINTS_DIR)/vers.ln: $(SRC)/uts/common/os/vers.c - @($(LHEAD) $(LINT.c) -DUTS_RELEASE=\"\" -DUTS_VERSION=\"\" \ - -DUTS_PLATFORM=\"\" $(SRC)/uts/common/os/vers.c $(LTAIL)) - # # Installation targets and rules: # @@ -300,16 +268,12 @@ def $(DEF_DEPS) := TARGET = def all $(ALL_DEPS) := TARGET = all clean $(CLEAN_DEPS) := TARGET = clean clobber $(CLOBBER_DEPS) := TARGET = clobber -lint $(LINT_DEPS) := TARGET = lint -modlintlib $(MODLINTLIB_DEPS) := TARGET = modlintlib modlist $(MODLIST_DEPS) := TARGET = modlist modlist $(MODLIST_DEPS) := NO_STATE= -K $$MODSTATE$$$$ -clean.lint $(CLEAN_LINT_DEPS) := TARGET = clean.lint install $(INSTALL_DEPS) := TARGET = install symcheck $(SYM_DEPS) := TARGET = symcheck -ALL_TARGS = def all clean clobber lint modlintlib \ - clean.lint lintlib install symcheck +ALL_TARGS = def all clean clobber install symcheck ALL_OBJ32 = $(ALL_TARGS:%=%.obj32) @@ -364,10 +328,6 @@ def.targ: $(OBJS_DIR) $(ALL_TARGET) all.targ: $(OBJS_DIR) $(ALL_TARGET) -lint.targ: $(OBJS_DIR) $(LINT_TARGET) - -modlintlib.targ: $(OBJS_DIR) $(MOD_LINT_LIB) - install.targ: $(OBJS_DIR) $(INSTALL_TARGET) # @@ -479,33 +439,4 @@ clean.targ: clobber.targ: -$(RM) $(CLOBBERFILES) Nothing_to_remove -clean.lint.targ: - -$(RM) $(CLEANLINTFILES) Nothing_to_remove - -# -# Create fake lintlibs in the 64b dirs so -# global linting works -# -lint64: - @$(ECHO) $(MODULE) fake lints - @for dir in $(LINT64_DIRS); do \ - if [ ! -d $$dir ]; then mkdir $$dir; fi \ - done - @for file in $(LINT64_FILES); do \ - if [ ! -f $$file ]; then touch $$file; fi \ - done - -# -# In some places we also need to create fake lintlibs for 32b -# dirs so global linting works -# -lint32: - @$(ECHO) $(MODULE) fake lints - @for dir in $(LINT32_DIRS); do \ - if [ ! -d $$dir ]; then mkdir $$dir; fi \ - done - @for file in $(LINT32_FILES); do \ - if [ ! -f $$file ]; then touch $$file; fi \ - done - FRC: diff --git a/usr/src/uts/Makefile.uts b/usr/src/uts/Makefile.uts index 4cdfbdc486..cd1ca0a657 100644 --- a/usr/src/uts/Makefile.uts +++ b/usr/src/uts/Makefile.uts @@ -56,7 +56,7 @@ COMMONBASE= $(UTSBASE)/../common # # -# DEF_BUILDS is for def, lint, sischeck, and install +# DEF_BUILDS is for def, sischeck, and install # ALL_BUILDS is for everything else (all, clean, ...) # # The NOT_RELEASE_BUILD noise is to maintain compatibility with the @@ -73,14 +73,6 @@ ALL_BUILDS64 = obj64 debug64 ALL_BUILDSONLY64 = obj64 debug64 # -# For modules in 64b dirs that aren't built 64b -# or modules in 64b dirs that aren't built 32b we -# need to create empty modlintlib files so global lint works -# -LINT32_BUILDS = debug32 -LINT64_BUILDS = debug64 - -# # Build class (32b or 64b) # CLASS_OBJ32 = 32 @@ -135,53 +127,11 @@ LD_amd64_64 = $(amd64_LD) LD = $(LD_$(MACH)_$(CLASS)) -LINT_sparc_32 = $(sparc_LINT) -LINT_sparc_64 = $(sparcv9_LINT) - -LINT_i386_32 = $(i386_LINT) -LINT_i386_64 = $(amd64_LINT) -LINT_amd64_64 = $(amd64_LINT) - -LINT = $(LINT_$(MACH)_$(CLASS)) - MODEL_32 = ilp32 MODEL_64 = lp64 MODEL = $(MODEL_$(CLASS)) # -# Build rules for linting the kernel. -# -LHEAD = $(ECHO) "\n$@"; - -# Note: egrep returns "failure" if there are no matches, which is -# exactly the opposite of what we need. -LGREP.2 = if egrep -v ' (_init|_fini|_info) '; then false; else true; fi - -LTAIL = - -LINT.c = $(LINT) -c -dirout=$(LINTS_DIR) $(LINTFLAGS) $(LINT_DEFS) $(CPPFLAGS) - -# Please do not add new erroff directives here. If you need to disable -# lint warnings in your module for things that cannot be fixed in any -# reasonable manner, please augment LINTTAGS in your module Makefile -# instead. -LINTTAGS = -erroff=E_INCONS_ARG_DECL2 -LINTTAGS += -erroff=E_INCONS_VAL_TYPE_DECL2 - -LINTFLAGS_sparc_32 = $(LINTCCMODE) -nsxmuF -errtags=yes -LINTFLAGS_sparc_64 = $(LINTFLAGS_sparc_32) -m64 -LINTFLAGS_i386_32 = $(LINTCCMODE) -nsxmuF -errtags=yes -LINTFLAGS_i386_64 = $(LINTFLAGS_i386_32) -m64 - -LINTFLAGS = $(LINTFLAGS_$(MACH)_$(CLASS)) $(LINTTAGS) -LINTFLAGS += $(C99LMODE) - -# -# Override this variable to modify the name of the lint target. -# -LINT_MODULE= $(MODULE) - -# # Build the compile/assemble lines: # EXTRA_OPTIONS = @@ -279,10 +229,10 @@ CFLAGS_uts += $(CFLAGS_uts_$(MACH)) CFLAGS_uts += -_gcc=-fno-asynchronous-unwind-tables # -# Declare that $(OBJECTS) and $(LINTS) can be compiled in parallel. -# The DUMMY target is for those instances where OBJECTS and LINTS -# are empty (to avoid an unconditional .PARALLEL). -.PARALLEL: $(OBJECTS) $(LINTS) DUMMY +# Declare that $(OBJECTS) can be compiled in parallel. The DUMMY target +# is for those instances where OBJECTS is empty (to avoid an +# unconditional .PARALLEL). +.PARALLEL: $(OBJECTS) DUMMY # # Expanded dependencies @@ -291,10 +241,7 @@ DEF_DEPS = $(DEF_BUILDS:%=def.%) ALL_DEPS = $(ALL_BUILDS:%=all.%) CLEAN_DEPS = $(ALL_BUILDS:%=clean.%) CLOBBER_DEPS = $(ALL_BUILDS:%=clobber.%) -LINT_DEPS = $(DEF_BUILDS:%=lint.%) -MODLINTLIB_DEPS = $(DEF_BUILDS:%=modlintlib.%) MODLIST_DEPS = $(DEF_BUILDS:%=modlist.%) -CLEAN_LINT_DEPS = $(ALL_BUILDS:%=clean.lint.%) INSTALL_DEPS = $(DEF_BUILDS:%=install.%) SYM_DEPS = $(SYM_BUILDS:%=symcheck.%) SISCHECK_DEPS = $(DEF_BUILDS:%=sischeck.%) @@ -308,8 +255,7 @@ BINARY = $(OBJS_DIR)/$(MODULE) # # Default cleanup definitions # -CLEANLINTFILES = $(LINTS) $(MOD_LINT_LIB) -CLEANFILES = $(OBJECTS) $(CLEANLINTFILES) +CLEANFILES = $(OBJECTS) CLOBBERFILES = $(BINARY) $(CLEANFILES) # @@ -637,13 +583,6 @@ KMODS = $(GENUNIX_KMODS) $(PARALLEL_KMODS) $(PARALLEL_KMODS): $(GENUNIX_KMODS) -LINT_KMODS = $(DRV_KMODS) $(EXEC_KMODS) $(FS_KMODS) $(SCHED_KMODS) \ - $(TOD_KMODS) $(STRMOD_KMODS) $(SYS_KMODS) $(MISC_KMODS) \ - $(MACH_KMODS) $(GSS_KMODS) $(DACF_KMODS) $(IPP_KMODS) \ - $(CRYPTO_KMODS) $(PCBE_KMODS) \ - $(DRV_KMODS_$(CLASS)) $(MISC_KMODS_$(CLASS)) $(MAC_KMODS) \ - $(BRAND_KMODS) $(KICONV_KMODS) $(CC_KMODS) $(SOCKET_KMODS) - # # Files to be compiled with -xa, to generate basic block execution # count data. @@ -666,7 +605,6 @@ $(BB_FILES) := XAOPT = -xa # $(RELEASE_BUILD) is on for a number of the late beta and fcs builds. # $(NOT_RELEASE_BUILD)$(OBJS_DIR)/unix_bb.o := CPPFLAGS += -DKCOV -$(NOT_RELEASE_BUILD)$(OBJS_DIR)/unix_bb.ln := CPPFLAGS += -DKCOV # # Do not let unix_bb.o get compiled with -xa! diff --git a/usr/src/uts/common/Makefile.files b/usr/src/uts/common/Makefile.files index a61a3b60df..477041d2f0 100644 --- a/usr/src/uts/common/Makefile.files +++ b/usr/src/uts/common/Makefile.files @@ -1934,7 +1934,6 @@ NVME_OBJS = nvme.o # # Build up defines and paths. # -LINT_DEFS += -Dunix # # This duality can be removed when the native and target compilers diff --git a/usr/src/uts/common/Makefile.rules b/usr/src/uts/common/Makefile.rules index 1bdb9d46b2..4e3221ac23 100644 --- a/usr/src/uts/common/Makefile.rules +++ b/usr/src/uts/common/Makefile.rules @@ -1658,1148 +1658,3 @@ $(OBJS_DIR)/bz2%.o: $(COMMONBASE)/bzip2/%.c $(COMPILE.c) -o $@ -I$(COMMONBASE)/bzip2 $< $(CTFCONVERT_O) -BZ2LINT = -erroff=%all -I$(UTSBASE)/common/bzip2 - -$(LINTS_DIR)/bz2%.ln: $(COMMONBASE)/bzip2/%.c - @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/`basename $@ .ln` $(BZ2LINT) $< $(LTAIL)) - -# -# Section 1b: Lint `objects' -# -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/aes/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/arcfour/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/blowfish/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/ecc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/modes/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/padding/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/rng/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/rsa/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/bignum/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/bignum/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/mpi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/acl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/avl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/ucode/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/brand/sn1/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/brand/solaris10/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/c2/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/conf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/contract/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/cpr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ctf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/ctf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/pci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/devid/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/des/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/secflags/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/smbios/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/des/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/crypto/api/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/crypto/core/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/crypto/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/crypto/spi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/disp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/dtrace/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/exacct/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/exec/aout/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/exec/elf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/exec/intp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/exec/shbin/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/exec/java/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/autofs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/bootfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/ctfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/doorfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/dcfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/devfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/dev/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/fd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/fifofs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/hsfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/lofs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/mntfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/namefs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/smbsrv/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/smbsrv/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/nfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/objfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/pcfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/portfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/proc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/sharefs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/smbclnt/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/smbclnt/netsmb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/smbclnt/smbfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/sockfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/specfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/swapfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/tmpfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/udfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/ufs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/ufs_log/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vscan/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/zfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/zfs/lua/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/fs/zut/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/xattr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/zfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/gssapi/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/gssapi/mechs/dummy/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/des/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/dk/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/os/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/arcfour/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/enc_provider/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/hash_provider/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/keyhash_provider/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/raw/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/old/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/krb5/krb/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/krb5/os/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/mech/%.c - @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/idmap/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sockmods/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/arp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ip/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ipnet/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/iptun/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ipd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ipf/%.c - @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/kssl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/net/patricia/%.c - @($(LHEAD) $(LINT.c) $(IPFFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/udp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/sctp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/tcp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/ilb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/nca/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/dlpistub/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/cc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/font/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/adapters/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/av1394/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/dcam1394/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sbp2/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/aac/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/afe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/atge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/arn/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ath/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/atu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/ac97/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audio1575/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audio810/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiocmi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiocmihd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audioens/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audioemu10k/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiohd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audioixp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiols/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiopci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiop16x/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiosolo/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiots/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/audio/drv/audiovia823x/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bfe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bpf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/blkdev/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/common/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/ecore/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/lm/device/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/lm/fw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/lm/l4/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/lm/l5/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/bnxe/577xx/drivers/common/lm/device/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cardbus/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/lu/stmf_sbd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/fct/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/qlt/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/srpt/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/iscsit/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/fcoet/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/iscsit/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/port/pppt/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/comstar/stmf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cpqary3/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dld/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dls/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/dmfe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/efe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/elxl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fcoe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hme/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/hpcsvc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/hotplug/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hotplug/pcihp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rds/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/rdsv3/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/iser/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/ibd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/eoib/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/of/sol_ofs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/of/sol_ucma/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/of/sol_umad/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/of/sol_uverbs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/sdp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/mgt/ibcm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/mgt/ibdm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/mgt/ibdma/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/mgt/ibmf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/ibnex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/ibtl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/adapters/tavor/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/adapters/hermon/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ib/clients/daplt/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/iscsi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/idm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ipw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/iwh/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/iwi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/iwk/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/iwp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/kb8042/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/kbtrans/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ksocket/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/aggr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/lp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mac/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mac/plugins/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mega_sas/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mii/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mr_sas/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/mpt_sas/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mxfe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mwl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/mwl/mwl_fw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/net80211/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/nge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/nvme/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/nxge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/nxge/%.s - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/nxge/npi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pci-ide/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pcn/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/sppp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/spppasyn/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/sppptun/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/qede/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ral/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rtls/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rsm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rtw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rum/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rwd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/rwn/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sata/adapters/ahci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sata/adapters/nv_sata/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sata/adapters/si3124/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sata/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/blk2scsa/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/pmcs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/scsi_vhci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/scsi_vhci/fops/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/ulp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/fca/qlc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/fca/qlge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/fca/emlxs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/fca/oce/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/fibre-channel/fca/fcoei/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/conf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/targets/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sdcard/adapters/sdhost/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sdcard/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sdcard/targets/sdcard/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sfe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/simnet/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/softmac/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/uath/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/uath/uath_fw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ural/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/urtw/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/audio/usb_ac/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/audio/usb_as/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/audio/usb_ah/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbskel/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/video/usbvc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/hid/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/hidparser/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbkbm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbms/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbinput/usbwcm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/ugen/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/printer/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbser/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbser/usbsacm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbser/usbftdi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbser/usbser_keyspan/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbser/usbsprl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/clients/usbecm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/hcd/openhci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/hcd/ehci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/hcd/xhci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/hcd/uhci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/hubd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/scsa2usb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/usb_mid/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/usb_ia/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/usba/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usb/usba10/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/usbgem/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/axf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/udmf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/upf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/urf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vuidmice/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vnic/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/wpi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/zyd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/chxge/com/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/chxge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cxgbe/common/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cxgbe/shared/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cxgbe/firmware/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cxgbe/t4nex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/cxgbe/cxgbe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ixgb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/xge/drv/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/xge/hal/xgehal/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/e1000g/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/e1000api/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/igb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/iprb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ixgbe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ixgbe/core/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/i40e/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ntxn/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/myri10ge/drv/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/ipgpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/dlcosmk/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/flowacct/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/dscpmk/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ipp/meters/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kiconv/kiconv_emea/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kiconv/kiconv_ja/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kiconv/kiconv_ko/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kiconv/kiconv_sc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kiconv/kiconv_tc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/klm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/kmdb/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/ktli/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/list/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/lzma/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/md4/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/md5/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/net/dhcp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/nvpair/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/rpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/pcmcia/cs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/pcmcia/cis/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/pcmcia/nexus/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/pcmcia/pcs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/rpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/rpc/sec/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/rpc/sec_gss/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/edonr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/sha1/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/sha2/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/crypto/skein/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/syscall/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/tnf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/tsol/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/util/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/unicode/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/iscsi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/iscsi/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/inet/kifconf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/virtio/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vioblk/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vioif/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -ZMODLINTFLAGS = -erroff=E_CONSTANT_CONDITION - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/zmod/%.c - @($(LHEAD) $(LINT.c) $(ZMODLINTFLAGS) $< $(LTAIL)) - -$(LINTS_DIR)/zlib_obj.ln: $(ZLIB_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(UTSBASE)/common/zmod/zlib_lint.c - @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/zlib_obj \ - $(UTSBASE)/common/zmod/zlib_lint.c $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/hxge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/tpm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/tpm/%.s - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/vr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/yge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sfxge/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/sfxge/common/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/skd/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(COMMONBASE)/fsreparse/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/common/klm/Makefile b/usr/src/uts/common/klm/Makefile index 3c6d5eb673..fc81476b8b 100644 --- a/usr/src/uts/common/klm/Makefile +++ b/usr/src/uts/common/klm/Makefile @@ -68,6 +68,4 @@ clean: clobber: clean -lint: - .KEEP_STATE: diff --git a/usr/src/uts/i86pc/imc/Makefile b/usr/src/uts/i86pc/imc/Makefile index f649faa4d4..32f24db809 100644 --- a/usr/src/uts/i86pc/imc/Makefile +++ b/usr/src/uts/i86pc/imc/Makefile @@ -17,14 +17,12 @@ UTSBASE = ../.. MODULE = imc OBJECTS = $(IMC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IMC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/i86pc/io/imc include $(UTSBASE)/i86pc/Makefile.i86pc ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CPPFLAGS += -I$(CONF_SRCDIR) @@ -40,12 +38,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/i86pc/Makefile.targ diff --git a/usr/src/uts/i86pc/imcstub/Makefile b/usr/src/uts/i86pc/imcstub/Makefile index afec0a8127..6c0026ef51 100644 --- a/usr/src/uts/i86pc/imcstub/Makefile +++ b/usr/src/uts/i86pc/imcstub/Makefile @@ -17,13 +17,11 @@ UTSBASE = ../.. MODULE = imcstub OBJECTS = $(IMCSTUB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IMCSTUB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) include $(UTSBASE)/i86pc/Makefile.i86pc ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/imc @@ -38,12 +36,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/i86pc/Makefile.targ diff --git a/usr/src/uts/i86pc/unix/Makefile b/usr/src/uts/i86pc/unix/Makefile index 188d72c6f8..066edbadb0 100644 --- a/usr/src/uts/i86pc/unix/Makefile +++ b/usr/src/uts/i86pc/unix/Makefile @@ -105,15 +105,12 @@ CLEANFILES += \ $(OBJS_DIR)/fb_swtch_src \ $(OBJS_DIR)/fb_swtch.s -CLEANFILES += \ - $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.o) \ - $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.ln) +CLEANFILES += $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.o) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) # instr_size needs a special header $(OBJS_DIR)/instr_size.o := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386 -$(OBJS_DIR)/instr_size.ln := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386 # # When performing shadow studio builds, the pre-processed comm page diff --git a/usr/src/uts/i86xpv/Makefile b/usr/src/uts/i86xpv/Makefile index 7d3866b4ee..ba2927dfa6 100644 --- a/usr/src/uts/i86xpv/Makefile +++ b/usr/src/uts/i86xpv/Makefile @@ -32,37 +32,13 @@ UTSBASE = .. include Makefile.i86xpv -# -# The following are x86 specific (rather than i86pc) specific modules -# which are required for the i86pc kernel to completely lint. They are -# not involved in the build in any other way. In order to minimize -# build time, it is assumed that they are up to date. -# -INTEL_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR) - -INTEL_LINTS = genunix - -LINT_LIBS = \ - $(GENUNIX_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(PARALLEL_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(INTEL_LINTS:%=$(INTEL_LIB_DIR)/llib-l%.ln) - -I86XPV_LINTS = xdb xnb xnbe xnbo xnbu xpvtap - -# -# -# def := TARGET= def all := TARGET= all install := TARGET= install clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -machmodlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist modlist.intel := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check .KEEP_STATE: @@ -74,14 +50,13 @@ INITIAL_TARGETS = \ unix \ cpu/scripts -def all clean clobber clean.lint: setup genassym unix .WAIT \ +def all clean clobber: setup genassym unix .WAIT \ $(KMODS) $(XMODS) install: install_platforms setup genassym unix .WAIT \ $(KMODS) $(XMODS) -# Need to clean in here too because of lint. -clean: $(I86XPV_LINTS) +clean: # list the modules under i86xpv. modlist: unix $(KMODS) $(XMODS) @@ -92,10 +67,6 @@ modlist.karch: modlist modlist.intel modlist.intel: @cd $(SRC)/uts/intel; pwd; $(MAKE) $(NO_STATE) modlist -lintlib: unix - -modlintlib: $(KMODS) - genassym unix $(KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) @@ -128,23 +99,6 @@ install_platforms: $(ROOT_PSM_DIR) $(USR_PSM_DIR) \ $(ROOT_PLAT_LINKS) $(USR_PLAT_LINKS) \ $(OEM_USR_PLAT_LINKS) -# -# Full kernel lint target. -# -LINT_TARGET = globallint - -# workaround for multiply defined errors -globallint := LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2 - -globallint: - @-$(ECHO) "\nFULL KERNEL: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIB) $(LINT_LIBS) 2>&1 | $(LGREP.2) - -lint: lintlib .WAIT modlintlib .WAIT $(INTEL_LINTS) $(LINT_DEPS) - -$(INTEL_LINTS): FRC - @cd $(UTSBASE)/intel/$@; pwd; $(MAKE) modlintlib - FRC: include ../Makefile.targ diff --git a/usr/src/uts/i86xpv/Makefile.files b/usr/src/uts/i86xpv/Makefile.files index 5c737cd038..4288314e71 100644 --- a/usr/src/uts/i86xpv/Makefile.files +++ b/usr/src/uts/i86xpv/Makefile.files @@ -224,10 +224,7 @@ INC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/i86pc -I$(SRC)/common \ # # Since the assym files are derived, the dependencies must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .nse_depinfo file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(__lint) is true. +# all files including this file. # ASSYM_DEPS += \ diff --git a/usr/src/uts/i86xpv/Makefile.i86xpv b/usr/src/uts/i86xpv/Makefile.i86xpv index 8d203e1196..dcb023338b 100644 --- a/usr/src/uts/i86xpv/Makefile.i86xpv +++ b/usr/src/uts/i86xpv/Makefile.i86xpv @@ -50,9 +50,6 @@ UNIX_DIR = $(UTSBASE)/$(PLATFORM)/unix GENLIB_DIR = $(UTSBASE)/intel/genunix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR) -GEN_LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR) DTRACESTUBS_O = $(OBJS_DIR)/dtracestubs.o DTRACESTUBS = $(OBJS_DIR)/libdtracestubs.so @@ -62,12 +59,6 @@ SYM_MOD = $(OBJS_DIR)/unix.sym UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln -DBOOT_LINT_LIB = $(LINT_LIB_DIR)/llib-ldboot.ln -GEN_LINT_LIB = $(GEN_LINT_LIB_DIR)/llib-lgenunix.ln - -LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%) -LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln) # # Include the makefiles which define build rule templates, the diff --git a/usr/src/uts/i86xpv/Makefile.rules b/usr/src/uts/i86xpv/Makefile.rules index 1ae9301b22..a621c55e45 100644 --- a/usr/src/uts/i86xpv/Makefile.rules +++ b/usr/src/uts/i86xpv/Makefile.rules @@ -112,8 +112,6 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/pciex/%.c # We need this one to make sure we share dtrace_subr.c with i86pc # Otherwise we pick up common/os/dtrace_subr.c instead :( -# Note that only the non-commented versions of this hack end up -# in the lint section below. $(OBJS_DIR)/dtrace_subr.o: $(UTSBASE)/i86pc/os/dtrace_subr.c $(COMPILE.c) -o $@ $(UTSBASE)/i86pc/os/dtrace_subr.c @@ -135,42 +133,6 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/xen/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/common/xen/dtrace/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/conf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/io/psm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/boot/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/boot/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/xen/dtrace/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -# See note above. - -$(LINTS_DIR)/dtrace_subr.ln: $(UTSBASE)/i86pc/os/dtrace_subr.c - @($(LHEAD) $(LINT.c) $(UTSBASE)/i86pc/os/dtrace_subr.c $(LTAIL)) - # # stuff for dboot # @@ -191,8 +153,6 @@ DBOOT_AS_XARCH_32 = $(i386_AS_XARCH) DBOOT_AS_XARCH_64 = $(amd64_AS_XARCH) DBOOT_ASFLAGS = $(DBOOT_AS_XARCH_$(CLASS)) -P -D_ASM -DBOOT_LINTFLAGS_i86xpv = $(LINTFLAGS_i386_$(CLASS)) $(LINTTAGS_i386_$(CLASS)) - $(DBOOT_OBJS_DIR)/%.o: $(UTSBASE)/common/xen/os/%.c $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $< @@ -232,57 +192,3 @@ $(DBOOT_OBJS_DIR)/%.o: $(UTSBASE)/i86pc/dboot/%.s include $(UTSBASE)/i86pc/Makefile.rules DBOOT_DEFS += -D__xpv - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/cpr/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/font/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/ioat/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/pci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/hotplug/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/gfx_private/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/xsvc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/xen/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/xen/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(SRC)/common/font/%.c - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(DBOOT_LINTS_DIR)/%.c - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/common/xen/os/%.c - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/os/%.c - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/ml/%.s - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) - -$(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86xpv/boot/%.c - @($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL)) diff --git a/usr/src/uts/i86xpv/amd_opteron/Makefile b/usr/src/uts/i86xpv/amd_opteron/Makefile index 49f2519a8b..3dd7513ca4 100644 --- a/usr/src/uts/i86xpv/amd_opteron/Makefile +++ b/usr/src/uts/i86xpv/amd_opteron/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. MODULE = cpu_ms.AuthenticAMD.15 # OBJECTS = $(CPU_AO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPU_AO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SRCDIR = ../../i86pc/cpu/amd_opteron @@ -51,15 +50,9 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv include $(UTSBASE)/i86pc/cpu/Makefile.files # -# Our lint library has a different name from that of the module we build. -# -LINT_MODULE = amd_opteron - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -84,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/i86xpv/authenticamd/Makefile b/usr/src/uts/i86xpv/authenticamd/Makefile index 8fdf290220..7b57a0438f 100644 --- a/usr/src/uts/i86xpv/authenticamd/Makefile +++ b/usr/src/uts/i86xpv/authenticamd/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. MODULE = cpu_ms.AuthenticAMD # OBJECTS = $(CPU_AUTHAMD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPU_AUTHAMD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SRCDIR = ../cpu/authenticamd @@ -44,15 +43,9 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv include $(UTSBASE)/i86pc/cpu/Makefile.files # -# Our lint library has a different name from that of the module we build. -# -LINT_MODULE = authenticamd - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/i86xpv/balloon/Makefile b/usr/src/uts/i86xpv/balloon/Makefile index 6a557a0b3d..807e40ef79 100644 --- a/usr/src/uts/i86xpv/balloon/Makefile +++ b/usr/src/uts/i86xpv/balloon/Makefile @@ -23,7 +23,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 balloon # driver kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = balloon OBJECTS = $(BALLOON_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BALLOON_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # 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/i86xpv/consconfig_dacf/Makefile b/usr/src/uts/i86xpv/consconfig_dacf/Makefile index 5994e5a22b..cc680d3486 100644 --- a/usr/src/uts/i86xpv/consconfig_dacf/Makefile +++ b/usr/src/uts/i86xpv/consconfig_dacf/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = consconfig_dacf OBJECTS = $(CONSCONFIG_DACF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONSCONFIG_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DACF_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # 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/i86xpv/domcaps/Makefile b/usr/src/uts/i86xpv/domcaps/Makefile index b6fb32f055..3cc401d368 100644 --- a/usr/src/uts/i86xpv/domcaps/Makefile +++ b/usr/src/uts/i86xpv/domcaps/Makefile @@ -23,7 +23,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 domcaps # driver kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = domcaps OBJECTS = $(DOMCAPS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DOMCAPS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # 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/i86xpv/evtchn/Makefile b/usr/src/uts/i86xpv/evtchn/Makefile index d13dba1e05..49436e189d 100644 --- a/usr/src/uts/i86xpv/evtchn/Makefile +++ b/usr/src/uts/i86xpv/evtchn/Makefile @@ -23,7 +23,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 evtchn # driver kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = evtchn OBJECTS = $(EVTCHN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EVTCHN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,15 +52,9 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# Since we don't always pick up $(ALWAYS_LINT_DEFS)... -# -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -74,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/i86xpv/genassym/Makefile b/usr/src/uts/i86xpv/genassym/Makefile index a5b77cd9cf..31944c010a 100644 --- a/usr/src/uts/i86xpv/genassym/Makefile +++ b/usr/src/uts/i86xpv/genassym/Makefile @@ -74,8 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def # diff --git a/usr/src/uts/i86xpv/generic_cpu/Makefile b/usr/src/uts/i86xpv/generic_cpu/Makefile index cb5182ddad..d9da701160 100644 --- a/usr/src/uts/i86xpv/generic_cpu/Makefile +++ b/usr/src/uts/i86xpv/generic_cpu/Makefile @@ -35,7 +35,6 @@ MODULE = cpu.generic # OBJECTS = $(CPU_GCPU_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(CPU_GCPU_XPV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPU_GCPU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) # @@ -49,15 +48,9 @@ CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-variable # -# Our lint library has a different name from that of the module we build. -# -LINT_MODULE = generic_cpu - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,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/i86xpv/genuineintel/Makefile b/usr/src/uts/i86xpv/genuineintel/Makefile index 76cc726c0c..08f7f7d19f 100644 --- a/usr/src/uts/i86xpv/genuineintel/Makefile +++ b/usr/src/uts/i86xpv/genuineintel/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. MODULE = cpu_ms.GenuineIntel # OBJECTS = $(CPU_GENINTEL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPU_GENINTEL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SRCDIR = ../../i86pc/cpu/genuineintel @@ -44,15 +43,9 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv include $(UTSBASE)/i86pc/cpu/Makefile.files # -# Our lint library has a different name from that of the module we build. -# -LINT_MODULE = genuineintel - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/i86xpv/gfx_private/Makefile b/usr/src/uts/i86xpv/gfx_private/Makefile index b2627ac283..ce50122e69 100644 --- a/usr/src/uts/i86xpv/gfx_private/Makefile +++ b/usr/src/uts/i86xpv/gfx_private/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = gfx_private OBJECTS = $(GFX_PRIVATE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GFX_PRIVATE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -59,12 +58,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -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/i86xpv/ioat/Makefile b/usr/src/uts/i86xpv/ioat/Makefile index 880c968740..b55d7d11a0 100644 --- a/usr/src/uts/i86xpv/ioat/Makefile +++ b/usr/src/uts/i86xpv/ioat/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ioat OBJECTS = $(IOAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IOAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/i86pc/io/ioat @@ -53,10 +52,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label 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/i86xpv/isa/Makefile b/usr/src/uts/i86xpv/isa/Makefile index 348a36ba23..2b4aec327a 100644 --- a/usr/src/uts/i86xpv/isa/Makefile +++ b/usr/src/uts/i86xpv/isa/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = isa OBJECTS = $(ISANEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ISANEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) INC_PATH += -I$(UTSBASE)/i86pc/sys/acpi @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(OBJS_DIR)/isa.o := CERRWARN += -_gcc=-Wno-unused-function @@ -62,9 +60,12 @@ $(OBJS_DIR)/isa.o := CERRWARN += -_gcc=-Wno-unused-function $(OBJS_DIR)/i8237A.o := SMOFF += indenting # -# 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-unused-variable # # Dependency @@ -73,40 +74,37 @@ LDFLAGS += -dy -Nmisc/acpica -Nmisc/busra -Nmisc/pci_autoconfig # # Define our version of dma_engine and i8237A interfaces # -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_init=$(MODULE)_i_dmae_init -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_acquire=$(MODULE)_i_dmae_acquire -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_free=$(MODULE)_i_dmae_free -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_get_best_mode=$(MODULE)_i_dmae_get_best_mode -$(OBJECTS) $(LINTS) := CPPFLAGS += -D_dmae_nxcookie=$(MODULE)__dmae_nxcookie -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_prog=$(MODULE)_i_dmae_prog -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swstart=$(MODULE)_i_dmae_swstart -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_stop=$(MODULE)_i_dmae_stop -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_enable=$(MODULE)_i_dmae_enable -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_disable=$(MODULE)_i_dmae_disable -$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_get_chan_stat=$(MODULE)_i_dmae_get_chan_stat -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_init=$(MODULE)_d37A_init -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_valid=$(MODULE)_d37A_dma_valid -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_release=$(MODULE)_d37A_dma_release -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_disable=$(MODULE)_d37A_dma_disable -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_enable=$(MODULE)_d37A_dma_enable -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_get_best_mode=$(MODULE)_d37A_get_best_mode -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_intr=$(MODULE)_d37A_intr -$(OBJECTS) $(LINTS) := CPPFLAGS += -DdEISA_setchain=$(MODULE)_dEISA_setchain -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_prog_chan=$(MODULE)_d37A_prog_chan -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_swsetup=$(MODULE)_d37A_dma_swsetup -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_swstart=$(MODULE)_d37A_dma_swstart -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_stop=$(MODULE)_d37A_dma_stop -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_get_chan_stat=$(MODULE)_d37A_get_chan_stat -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_set_mode=$(MODULE)_d37A_set_mode -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_write_addr=$(MODULE)_d37A_write_addr -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_read_addr=$(MODULE)_d37A_read_addr -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_write_count=$(MODULE)_d37A_write_count -$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_read_count=$(MODULE)_d37A_read_count - -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -CERRWARN += -_gcc=-Wno-unused-variable +$(OBJECTS) := CPPFLAGS += -Di_dmae_init=$(MODULE)_i_dmae_init +$(OBJECTS) := CPPFLAGS += -Di_dmae_acquire=$(MODULE)_i_dmae_acquire +$(OBJECTS) := CPPFLAGS += -Di_dmae_free=$(MODULE)_i_dmae_free +$(OBJECTS) := CPPFLAGS += -Di_dmae_get_best_mode=$(MODULE)_i_dmae_get_best_mode +$(OBJECTS) := CPPFLAGS += -D_dmae_nxcookie=$(MODULE)__dmae_nxcookie +$(OBJECTS) := CPPFLAGS += -Di_dmae_prog=$(MODULE)_i_dmae_prog +$(OBJECTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup +$(OBJECTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup +$(OBJECTS) := CPPFLAGS += -Di_dmae_swstart=$(MODULE)_i_dmae_swstart +$(OBJECTS) := CPPFLAGS += -Di_dmae_stop=$(MODULE)_i_dmae_stop +$(OBJECTS) := CPPFLAGS += -Di_dmae_enable=$(MODULE)_i_dmae_enable +$(OBJECTS) := CPPFLAGS += -Di_dmae_disable=$(MODULE)_i_dmae_disable +$(OBJECTS) := CPPFLAGS += -Di_dmae_get_chan_stat=$(MODULE)_i_dmae_get_chan_stat +$(OBJECTS) := CPPFLAGS += -Dd37A_init=$(MODULE)_d37A_init +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_valid=$(MODULE)_d37A_dma_valid +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_release=$(MODULE)_d37A_dma_release +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_disable=$(MODULE)_d37A_dma_disable +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_enable=$(MODULE)_d37A_dma_enable +$(OBJECTS) := CPPFLAGS += -Dd37A_get_best_mode=$(MODULE)_d37A_get_best_mode +$(OBJECTS) := CPPFLAGS += -Dd37A_intr=$(MODULE)_d37A_intr +$(OBJECTS) := CPPFLAGS += -DdEISA_setchain=$(MODULE)_dEISA_setchain +$(OBJECTS) := CPPFLAGS += -Dd37A_prog_chan=$(MODULE)_d37A_prog_chan +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_swsetup=$(MODULE)_d37A_dma_swsetup +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_swstart=$(MODULE)_d37A_dma_swstart +$(OBJECTS) := CPPFLAGS += -Dd37A_dma_stop=$(MODULE)_d37A_dma_stop +$(OBJECTS) := CPPFLAGS += -Dd37A_get_chan_stat=$(MODULE)_d37A_get_chan_stat +$(OBJECTS) := CPPFLAGS += -Dd37A_set_mode=$(MODULE)_d37A_set_mode +$(OBJECTS) := CPPFLAGS += -Dd37A_write_addr=$(MODULE)_d37A_write_addr +$(OBJECTS) := CPPFLAGS += -Dd37A_read_addr=$(MODULE)_d37A_read_addr +$(OBJECTS) := CPPFLAGS += -Dd37A_write_count=$(MODULE)_d37A_write_count +$(OBJECTS) := CPPFLAGS += -Dd37A_read_count=$(MODULE)_d37A_read_count # # Default build targets. @@ -121,12 +119,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/i86xpv/npe/Makefile b/usr/src/uts/i86xpv/npe/Makefile index 5bcbb397dd..1b6730c523 100644 --- a/usr/src/uts/i86xpv/npe/Makefile +++ b/usr/src/uts/i86xpv/npe/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = npe OBJECTS = $(PCI_E_NEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCI_E_NEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,10 +67,7 @@ LDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie # PCI/PCI-express nexi # CFLAGS += -D_MODULE_NAME="\"$(MODULE)\"" -LINTFLAGS += -D_MODULE_NAME="\"$(MODULE)\"" -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -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/i86xpv/pci-ide/Makefile b/usr/src/uts/i86xpv/pci-ide/Makefile index 496f59c4a6..3c89c3bed3 100644 --- a/usr/src/uts/i86xpv/pci-ide/Makefile +++ b/usr/src/uts/i86xpv/pci-ide/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = pci-ide OBJECTS = $(PCIIDE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIIDE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/pci-ide @@ -56,7 +55,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/i86xpv/pci/Makefile b/usr/src/uts/i86xpv/pci/Makefile index ee10c510b8..9b5674738f 100644 --- a/usr/src/uts/i86xpv/pci/Makefile +++ b/usr/src/uts/i86xpv/pci/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = pci OBJECTS = $(PCINEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCINEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -67,10 +65,7 @@ LDFLAGS += -dy -Nmisc/pcihp # PCI/PCI-express nexi # CFLAGS += -D_MODULE_NAME="\"$(MODULE)\"" -LINTFLAGS += -D_MODULE_NAME="\"$(MODULE)\"" -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -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/i86xpv/pit_beep/Makefile b/usr/src/uts/i86xpv/pit_beep/Makefile index 0810eea833..29e191fd1b 100644 --- a/usr/src/uts/i86xpv/pit_beep/Makefile +++ b/usr/src/uts/i86xpv/pit_beep/Makefile @@ -23,9 +23,7 @@ # Copyright 2008 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. # @@ -40,7 +38,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 @@ -49,16 +46,12 @@ CONF_SRCDIR = $(UTSBASE)/intel/io # include $(UTSBASE)/i86xpv/Makefile.i86xpv -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .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/i86xpv/privcmd/Makefile b/usr/src/uts/i86xpv/privcmd/Makefile index 5c01fdfc79..552d314896 100644 --- a/usr/src/uts/i86xpv/privcmd/Makefile +++ b/usr/src/uts/i86xpv/privcmd/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = privcmd OBJECTS = $(PRIVCMD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PRIVCMD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,10 +52,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) @@ -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/i86xpv/rootnex/Makefile b/usr/src/uts/i86xpv/rootnex/Makefile index 9b966d99ad..e175b9926f 100644 --- a/usr/src/uts/i86xpv/rootnex/Makefile +++ b/usr/src/uts/i86xpv/rootnex/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = rootnex OBJECTS = $(ROOTNEX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ROOTNEX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,8 +60,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-label @@ -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/i86xpv/unix/Makefile b/usr/src/uts/i86xpv/unix/Makefile index 28a20705b9..dd6cf2e5ce 100644 --- a/usr/src/uts/i86xpv/unix/Makefile +++ b/usr/src/uts/i86xpv/unix/Makefile @@ -46,13 +46,6 @@ OBJECTS = $(SPECIAL_OBJS:%=$(OBJS_DIR)/%) \ $(KRTLD_OBJS:%=$(OBJS_DIR)/%) \ $(MACH_NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(SPECIAL_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CORE_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(KRTLD_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(MACH_NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) \ - $(LINTS_DIR)/vers.ln \ - $(LINTS_DIR)/modstubs.ln - ROOTMODULE = $(ROOT_PSM_KERN_DIR)/$(UNIX) UNIX_BIN = $(OBJS_DIR)/$(UNIX) @@ -71,8 +64,6 @@ DBOOT_OBJECTS = $(DBOOT_OBJS:%=$(DBOOT_OBJS_DIR)/%) DBOOT_BIN = $(DBOOT_OBJS_DIR)/$(DBOOT) DBOOT_O = $(OBJS_DIR)/$(DBOOT).o DBOOT_S = $(DBOOT_O:%.o=%.s) -DBOOT_LINTS = $(DBOOT_OBJS:%.o=$(DBOOT_OBJS_DIR)/%.ln) -DBOOT_LINT = $(LINT_$(MACH)_$(CLASS)) # # Include common rules. @@ -83,7 +74,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(UNIX_BIN) -LINT_TARGET = $(LINT_LIB) $(DBOOT_LINT_LIB) INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) # @@ -114,31 +104,20 @@ CLEANFILES += \ $(OBJS_DIR)/fb_swtch_src \ $(OBJS_DIR)/fb_swtch.s -CLEANFILES += \ - $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.o) \ - $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.ln) +CLEANFILES += $(ZLIB_OBJS:%.o=$(OBJS_DIR)/%.o) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) -CLEANLINTFILES += $(LINT_LIB) $(DBOOT_LINT_LIB) $(DBOOT_LINTS) # instr_size needs a special header $(OBJS_DIR)/instr_size.o := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386 -$(OBJS_DIR)/instr_size.ln := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386 CFLAGS += -DDIS_MEM # -# 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_SUSPICIOUS_COMPARISON -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) CERRWARN += -_gcc=-Wno-char-subscripts @@ -153,11 +132,6 @@ CERRWARN += -_gcc=-Wno-empty-body # needs work SMATCH=off -# Ensure that lint sees 'struct cpu' containing a fully declared -# embedded 'struct machcpu' -# -LINTFLAGS += -D_MACHDEP -I../../i86pc - # # Default build targets. # @@ -171,10 +145,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) MAPFILE_32 = $(UNIX_MAPFILE) @@ -214,30 +184,6 @@ $(DSF_DIR)/$(OBJS_DIR)/assym.h $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h: FRC @cd $(DSF_DIR); $(MAKE) all.targ # -# The global lint target builds the kernel lint library (llib-lunix.ln) -# which is equivalent to a lint of /unix.o. Then all kernel modules for -# this architecture are linted against the kernel lint library. -# -# Note: lint errors in the kernel lint library will be repeated for -# each module. It is important that the kernel lint library -# be clean to keep the textual output to a reasonable level. -# - -$(LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @pwd - @-$(ECHO) "\n$(UNIX): (library construction):" - @$(LINT) -o$(UNIX) $(LINTFLAGS) $(LINTS) - @$(MV) $(@F) $@ - -$(DBOOT_LINT_LIB): $(LINT_LIB_DIR) $(DBOOT_LINTS) - @pwd - @-$(ECHO) "\n$(DBOOT): (library construction):" - @$(LINT) -o$(DBOOT) $(DBOOT_LINTFLAGS) $(DBOOT_LINTS) - @$(MV) $(@F) $@ - -lintlib: $(LINT_DEPS) - -# # Include common targets. # include $(UTSBASE)/i86xpv/Makefile.targ diff --git a/usr/src/uts/i86xpv/vm/Makefile b/usr/src/uts/i86xpv/vm/Makefile index b0ca150cea..b93b7d7f4b 100644 --- a/usr/src/uts/i86xpv/vm/Makefile +++ b/usr/src/uts/i86xpv/vm/Makefile @@ -76,6 +76,4 @@ CLEANFILES= CLOBBERFILES= -CLEANLINTFILES= - include ../../Makefile.targ diff --git a/usr/src/uts/i86xpv/xdb/Makefile b/usr/src/uts/i86xpv/xdb/Makefile index f8f78d01df..dbb2f8ef22 100644 --- a/usr/src/uts/i86xpv/xdb/Makefile +++ b/usr/src/uts/i86xpv/xdb/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = xdb OBJECTS = $(XDB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XDB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -50,10 +49,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-switch @@ -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/i86xpv/xdf/Makefile b/usr/src/uts/i86xpv/xdf/Makefile index 01a5aea021..6687ee1d5b 100644 --- a/usr/src/uts/i86xpv/xdf/Makefile +++ b/usr/src/uts/i86xpv/xdf/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = xdf OBJECTS = $(XDF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XDF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -51,15 +50,11 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # Overrides LDFLAGS += -dy -Nmisc/cmlb -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -77,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/i86xpv/xdt/Makefile b/usr/src/uts/i86xpv/xdt/Makefile index 7a5cf0844e..669087e600 100644 --- a/usr/src/uts/i86xpv/xdt/Makefile +++ b/usr/src/uts/i86xpv/xdt/Makefile @@ -28,14 +28,12 @@ UTSBASE = ../.. MODULE = xdt OBJECTS = $(XDT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XDT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/xen/dtrace include $(UTSBASE)/i86xpv/Makefile.i86xpv ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/dtrace @@ -52,12 +50,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/i86xpv/Makefile.targ diff --git a/usr/src/uts/i86xpv/xenbus/Makefile b/usr/src/uts/i86xpv/xenbus/Makefile index a20aa84a9d..6def754ff1 100644 --- a/usr/src/uts/i86xpv/xenbus/Makefile +++ b/usr/src/uts/i86xpv/xenbus/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = xenbus OBJECTS = $(XENBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XENBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -55,10 +54,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-parentheses 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/i86xpv/xencons/Makefile b/usr/src/uts/i86xpv/xencons/Makefile index 9acb97f2f2..22938b5669 100644 --- a/usr/src/uts/i86xpv/xencons/Makefile +++ b/usr/src/uts/i86xpv/xencons/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = xencons OBJECTS = $(XENCONS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XENCONS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/xen/io @@ -56,12 +55,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable @@ -79,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/i86xpv/xnb/Makefile b/usr/src/uts/i86xpv/xnb/Makefile index f8ee1c9fd4..977be67a8a 100644 --- a/usr/src/uts/i86xpv/xnb/Makefile +++ b/usr/src/uts/i86xpv/xnb/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = xnb OBJECTS = $(XNB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XNB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,11 +63,7 @@ LDFLAGS += -dy -N misc/mac # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -89,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/i86xpv/xnbe/Makefile b/usr/src/uts/i86xpv/xnbe/Makefile index b9701c2323..1eb82662ab 100644 --- a/usr/src/uts/i86xpv/xnbe/Makefile +++ b/usr/src/uts/i86xpv/xnbe/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = xnbe OBJECTS = $(XNBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XNBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,7 +68,6 @@ ALL_BUILDS = $(ALL_BUILDS64) # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS # # Default build targets. @@ -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/i86xpv/xnbo/Makefile b/usr/src/uts/i86xpv/xnbo/Makefile index c127edfc82..5c4af39c5f 100644 --- a/usr/src/uts/i86xpv/xnbo/Makefile +++ b/usr/src/uts/i86xpv/xnbo/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = xnbo OBJECTS = $(XNBO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XNBO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,7 +68,6 @@ LDFLAGS += -dy -N misc/xnb -N misc/mac # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS # # Default build targets. @@ -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/i86xpv/xnbu/Makefile b/usr/src/uts/i86xpv/xnbu/Makefile index 9ffa2b7a8d..266a4e5925 100644 --- a/usr/src/uts/i86xpv/xnbu/Makefile +++ b/usr/src/uts/i86xpv/xnbu/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = xnbu OBJECTS = $(XNBU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XNBU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,7 +68,6 @@ LDFLAGS += -dy -N misc/xnb -N misc/mac # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS # # Default build targets. @@ -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/i86xpv/xnf/Makefile b/usr/src/uts/i86xpv/xnf/Makefile index e897ea37e2..d45d8fc316 100644 --- a/usr/src/uts/i86xpv/xnf/Makefile +++ b/usr/src/uts/i86xpv/xnf/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = xnf OBJECTS = $(XNF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XNF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,11 +59,7 @@ LDFLAGS += -dy -N misc/mac -N drv/ip # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN # needs work SMATCH=off @@ -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/i86xpv/xpv_autoconfig/Makefile b/usr/src/uts/i86xpv/xpv_autoconfig/Makefile index 4f43201ec7..77570dbdff 100644 --- a/usr/src/uts/i86xpv/xpv_autoconfig/Makefile +++ b/usr/src/uts/i86xpv/xpv_autoconfig/Makefile @@ -23,7 +23,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 xpv autoconfiguration # kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = xpv_autoconfig OBJECTS = $(XPV_AUTOCONFIG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPV_AUTOCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # 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/i86xpv/xpv_psm/Makefile b/usr/src/uts/i86xpv/xpv_psm/Makefile index 1c40f8790b..bca90259d9 100644 --- a/usr/src/uts/i86xpv/xpv_psm/Makefile +++ b/usr/src/uts/i86xpv/xpv_psm/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = xpv_psm OBJECTS = $(XPV_PSM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPV_PSM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,10 +68,6 @@ DEBUG_DEFS += $(DEBUG_FLGS) # LDFLAGS += -dy -N misc/acpica -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-parentheses @@ -96,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/i86xpv/xpv_uppc/Makefile b/usr/src/uts/i86xpv/xpv_uppc/Makefile index be887878b9..5ab3f695ce 100644 --- a/usr/src/uts/i86xpv/xpv_uppc/Makefile +++ b/usr/src/uts/i86xpv/xpv_uppc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = xpv_uppc OBJECTS = $(XPV_UPPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPV_UPPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -73,10 +71,6 @@ $(OBJS_DIR)/psm_common.o := SMOFF += deref_check # LDFLAGS += -dy -N misc/acpica -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON # Default build targets. # @@ -90,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/i86xpv/xpvd/Makefile b/usr/src/uts/i86xpv/xpvd/Makefile index 3acabb2c10..caa215cecc 100644 --- a/usr/src/uts/i86xpv/xpvd/Makefile +++ b/usr/src/uts/i86xpv/xpvd/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = xpvd OBJECTS = $(XPVD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPVD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,11 +51,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += $(CNOWARN_UNINIT) @@ -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/i86xpv/xpvtap/Makefile b/usr/src/uts/i86xpv/xpvtap/Makefile index d231d9c3db..bab1f2b379 100644 --- a/usr/src/uts/i86xpv/xpvtap/Makefile +++ b/usr/src/uts/i86xpv/xpvtap/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = xpvtap OBJECTS = $(XPVTAP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPVTAP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,18 +60,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) DEF_BUILDS = $(DEF_BUILDS64) ALL_BUILDS = $(ALL_BUILDS64) -LDFLAGS += - # # use Solaris specific code in xen public header files # CFLAGS += -D_SOLARIS -LINTFLAGS += -D_SOLARIS -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_CONSTANT_CONDITION CERRWARN += -_gcc=-Wno-unused-label @@ -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/i86xpv/xpvtod/Makefile b/usr/src/uts/i86xpv/xpvtod/Makefile index ba00064a39..d594a8a4f5 100644 --- a/usr/src/uts/i86xpv/xpvtod/Makefile +++ b/usr/src/uts/i86xpv/xpvtod/Makefile @@ -23,7 +23,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 xpvtod kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = xpvtod OBJECTS = $(XPVTOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XPVTOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -52,10 +51,8 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV # # Default build targets. @@ -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/i86xpv/xsvc/Makefile b/usr/src/uts/i86xpv/xsvc/Makefile index ae3deaeb48..0817578f51 100644 --- a/usr/src/uts/i86xpv/xsvc/Makefile +++ b/usr/src/uts/i86xpv/xsvc/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = xsvc OBJECTS = $(XSVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XSVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/i86pc/io/xsvc @@ -52,7 +51,6 @@ include $(UTSBASE)/i86xpv/Makefile.i86xpv # 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/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) # diff --git a/usr/src/uts/sfmmu/Makefile.files b/usr/src/uts/sfmmu/Makefile.files index 7ec918cb08..e9b6fbfede 100644 --- a/usr/src/uts/sfmmu/Makefile.files +++ b/usr/src/uts/sfmmu/Makefile.files @@ -20,13 +20,12 @@ # CDDL HEADER END # # -# uts/sfmmu/Makefile.files # Copyright (c) 1991 by Sun Microsystems, Inc. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines all file modules and build rules for the -# directory uts/sfmmu and it's children. These are the source files which +# directory uts/sfmmu and its children. These are the source files which # are specific to the sparc9 processor. # @@ -41,13 +40,3 @@ # Section 3: misc. # INC_PATH += -I$(UTSBASE)/sfmmu - -# -# Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .nse_depinfo file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. -# -# ASSYM_DEPS += overflow.o -# ASSYM_DEPS += underflow.o diff --git a/usr/src/uts/sfmmu/Makefile.rules b/usr/src/uts/sfmmu/Makefile.rules index bfb1c6a1e6..f6c908bfc0 100644 --- a/usr/src/uts/sfmmu/Makefile.rules +++ b/usr/src/uts/sfmmu/Makefile.rules @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sfmmu/Makefile.rules # Copyright (c) 1991-2001 by Sun Microsystems, Inc. # All rights reserved. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines all build rules for the directory uts/sfmmu and # its children. These are the source files which are common to all sfmmu @@ -38,11 +37,3 @@ # Lines whose initial directory components are equal are sorted # alphabetically by the remaining components. -# -# Section 1a: C object build rules -# - - -# -# Section 1b: Lint `object' build rules -# diff --git a/usr/src/uts/sparc/FSS/Makefile b/usr/src/uts/sparc/FSS/Makefile index 095998c3f9..4164d60258 100644 --- a/usr/src/uts/sparc/FSS/Makefile +++ b/usr/src/uts/sparc/FSS/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = FSS OBJECTS = $(FSS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FSS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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_ASSIGN_NARROW_CONV 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/sparc/FX/Makefile b/usr/src/uts/sparc/FX/Makefile index 9f772dbcfd..7492adac4a 100644 --- a/usr/src/uts/sparc/FX/Makefile +++ b/usr/src/uts/sparc/FX/Makefile @@ -22,9 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/sparc/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,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,13 +60,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_ASSIGN_NARROW_CONV - -# # 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/sparc/FX_DPTBL/Makefile b/usr/src/uts/sparc/FX_DPTBL/Makefile index 11f6aa46bb..0912697778 100644 --- a/usr/src/uts/sparc/FX_DPTBL/Makefile +++ b/usr/src/uts/sparc/FX_DPTBL/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/sparc/FX_DPTL/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DFX_DPTBL_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -83,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/sparc/IA/Makefile b/usr/src/uts/sparc/IA/Makefile index c9fb876947..208acb107f 100644 --- a/usr/src/uts/sparc/IA/Makefile +++ b/usr/src/uts/sparc/IA/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = IA OBJECTS = $(IA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -79,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/sparc/Makefile b/usr/src/uts/sparc/Makefile index 4bbdc7cf57..6fe0be4ce9 100644 --- a/usr/src/uts/sparc/Makefile +++ b/usr/src/uts/sparc/Makefile @@ -33,13 +33,6 @@ UTSBASE = .. include Makefile.sparc -LINT_KMODS_X1 = $(LINT_KMODS:nsmb=) -LINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=) -LINT_KMODLIBS = $(LINT_KMODS_X2:e1000g=) -LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \ - $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) - DRV_KMODS += dprov def := TARGET= def @@ -47,22 +40,17 @@ all := TARGET= all install := TARGET= install clean := TARGET= clean clobber := TARGET= clobber -lint := 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 .KEEP_STATE: -.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS) +.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config def all install clean clobber modlist: $(KMODS) $(XMODS) config -modlintlib clean.lint: $(LINT_KMODS) $(XMODS) - $(KMODS) config: FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) @@ -79,15 +67,4 @@ install_h check: FRC @cd v7/sys; pwd; $(MAKE) $(TARGET) @cd v9/sys; pwd; $(MAKE) $(TARGET) -# -# Full kernel lint target. -# -LINT_TARGET = globallint - -globallint: - @-$(ECHO) "\nFULL KERNEL: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - -lint: modlintlib .WAIT $(LINT_DEPS) - include ../Makefile.targ diff --git a/usr/src/uts/sparc/Makefile.files b/usr/src/uts/sparc/Makefile.files index d81abd33fd..bb662117a5 100644 --- a/usr/src/uts/sparc/Makefile.files +++ b/usr/src/uts/sparc/Makefile.files @@ -23,7 +23,7 @@ # Use is subject to license terms. # # This Makefile defines all file modules and build rules for the -# directory uts/sparc and it's children. These are the source files which +# directory uts/sparc and its children. These are the source files which # are specific to the sparc processor. # @@ -109,16 +109,12 @@ SDT_OBJS += sdt.o # # Build up paths and defines. # -LINT_DEFS += -Dsparc INC_PATH += -I$(UTSBASE)/sparc INC_PATH += -I$(UTSBASE)/sparc/krtld # # Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .nse_depinfo file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. +# all files including this file. # ASSYM_DEPS += sparc_ddi.o diff --git a/usr/src/uts/sparc/Makefile.rules b/usr/src/uts/sparc/Makefile.rules index c9c1a50d23..001b100f88 100644 --- a/usr/src/uts/sparc/Makefile.rules +++ b/usr/src/uts/sparc/Makefile.rules @@ -92,49 +92,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/syscall/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules. -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fpu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/zfs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fs/proc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(OBJS_DIR)/kobj_bootflags.ln := CPPFLAGS += -I$(SRC)/common -$(OBJS_DIR)/kobj.ln := CPPFLAGS += -DMODDIR_SUFFIX=\"sparcv9\" -$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_RELSEG - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/nskern/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/syscall/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sparc/Makefile.sparc b/usr/src/uts/sparc/Makefile.sparc index 18244edf44..879d6dc1d9 100644 --- a/usr/src/uts/sparc/Makefile.sparc +++ b/usr/src/uts/sparc/Makefile.sparc @@ -54,27 +54,10 @@ GENLIB_DIR = $(UTSBASE)/sun4u/genunix IPDRV_DIR = $(UTSBASE)/sparc/ip MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UNIX_DIR) -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR) UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o -GENLIB = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/libgenunix.so - -LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln -GEN_LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln - -LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln -GEN_LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln - -LINT_LIB = $(LINT_LIB_$(CLASS)) -GEN_LINT_LIB = $(GEN_LINT_LIB_$(CLASS)) - -LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%) -LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln) - -LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%) -LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln) +GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so # # Include the makefiles which define build rule templates, the @@ -154,9 +137,6 @@ CFLAGS += $(CUSERFLAGS) ASFLAGS += $(XARCH) -LINT_DEFS_32 = -LINT_DEFS_64 = -m64 -LINT_DEFS += $(LINT_DEFS_$(CLASS)) # # The following must be defined for all implementations: @@ -525,14 +505,6 @@ SOCKET_KMODS += ksslf KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc # -# 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. -# -$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \ - -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu - -# # Sensor related drivers # DRV_KMODS += ksensor ksensor_test diff --git a/usr/src/uts/sparc/RT/Makefile b/usr/src/uts/sparc/RT/Makefile index 986d5d80a9..16f90ce565 100644 --- a/usr/src/uts/sparc/RT/Makefile +++ b/usr/src/uts/sparc/RT/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 scheduling class # kernel module. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = RT OBJECTS = $(RT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE) # @@ -53,22 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -81,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/sparc/RT_DPTBL/Makefile b/usr/src/uts/sparc/RT_DPTBL/Makefile index 98e2a86fee..b50bdc48b8 100644 --- a/usr/src/uts/sparc/RT_DPTBL/Makefile +++ b/usr/src/uts/sparc/RT_DPTBL/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/RT_DPTBL/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 RT_DPTBL driver kernel module. # @@ -41,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) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DRT_DPTBL_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/SDC/Makefile b/usr/src/uts/sparc/SDC/Makefile index 9b2b0ce42f..adff46d387 100644 --- a/usr/src/uts/sparc/SDC/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/TS/Makefile b/usr/src/uts/sparc/TS/Makefile index 16b84f89dd..4c66b20ac4 100644 --- a/usr/src/uts/sparc/TS/Makefile +++ b/usr/src/uts/sparc/TS/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = TS OBJECTS = $(TS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -81,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/sparc/TS_DPTBL/Makefile b/usr/src/uts/sparc/TS_DPTBL/Makefile index 2a59ec5d75..a83a7ee117 100644 --- a/usr/src/uts/sparc/TS_DPTBL/Makefile +++ b/usr/src/uts/sparc/TS_DPTBL/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/TS_DPTBL/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 TS_DPTBL dispatch table # kernel module. @@ -42,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) # @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DTS_DPTBL_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -82,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/sparc/aac/Makefile b/usr/src/uts/sparc/aac/Makefile index a9b097d1f3..b4724b9808 100644 --- a/usr/src/uts/sparc/aac/Makefile +++ b/usr/src/uts/sparc/aac/Makefile @@ -40,7 +40,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 @@ -53,23 +52,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi # -# Overrides +# 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-parentheses CERRWARN += -_gcc=-Wno-unused-value @@ -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/sparc/ac97/Makefile b/usr/src/uts/sparc/ac97/Makefile index 1abee91426..d457893cdb 100644 --- a/usr/src/uts/sparc/ac97/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Ndrv/audio @@ -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/sparc/acctctl/Makefile b/usr/src/uts/sparc/acctctl/Makefile index 55bec80b11..e1c1446865 100644 --- a/usr/src/uts/sparc/acctctl/Makefile +++ b/usr/src/uts/sparc/acctctl/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/sparc/acctctl/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the acctctl system call module. # sparc 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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) @@ -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/sparc/aes/Makefile b/usr/src/uts/sparc/aes/Makefile index eae7c2dce7..72349060f3 100644 --- a/usr/src/uts/sparc/aes/Makefile +++ b/usr/src/uts/sparc/aes/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = aes OBJECTS = $(AESPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AESPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,12 +57,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) +CFLAGS += $(CCVERBOSE) + +CFLAGS += -I$(COM_DIR) CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\" -LINTFLAGS += -I$(COM_DIR) # # Default build targets. @@ -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/sparc/afe/Makefile b/usr/src/uts/sparc/afe/Makefile index f384c335d6..2fabb8c401 100644 --- a/usr/src/uts/sparc/afe/Makefile +++ b/usr/src/uts/sparc/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,12 +47,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -74,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/sparc/aggr/Makefile b/usr/src/uts/sparc/aggr/Makefile index 06895b3c11..b562dcc6c2 100644 --- a/usr/src/uts/sparc/aggr/Makefile +++ b/usr/src/uts/sparc/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,22 +45,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/dls +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/sparc/aoutexec/Makefile b/usr/src/uts/sparc/aoutexec/Makefile index 4c050e4ead..f869d742bd 100644 --- a/usr/src/uts/sparc/aoutexec/Makefile +++ b/usr/src/uts/sparc/aoutexec/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = aoutexec OBJECTS = $(AOUTEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AOUTEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE) # @@ -53,11 +52,12 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -80,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/sparc/arcfour/Makefile b/usr/src/uts/sparc/arcfour/Makefile index 7bfbdfc7ce..e692c52250 100644 --- a/usr/src/uts/sparc/arcfour/Makefile +++ b/usr/src/uts/sparc/arcfour/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour # MODULE = arcfour OBJECTS = $(ARCFOURPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -51,14 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 += $(CCVERBOSE) + +CFLAGS += -I$(COM_DIR) # # 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/sparc/audio1575/Makefile b/usr/src/uts/sparc/audio1575/Makefile index acc5d00f68..987582a24e 100644 --- a/usr/src/uts/sparc/audio1575/Makefile +++ b/usr/src/uts/sparc/audio1575/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = audio1575 OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# 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-switch # # Depends on drv/audio and misc/ac97 # LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97 -CERRWARN += -_gcc=-Wno-switch - # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -77,18 +76,12 @@ DEF_BUILDS = $(DEF_BUILDSONLY64) def: $(DEF_DEPS) -all: $(ALL_DEPS) +all: $(ALL_DEPS) clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/audiocs/Makefile b/usr/src/uts/sparc/audiocs/Makefile index 30f41da658..91597e01eb 100644 --- a/usr/src/uts/sparc/audiocs/Makefile +++ b/usr/src/uts/sparc/audiocs/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = audiocs OBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/audioens/Makefile b/usr/src/uts/sparc/audioens/Makefile index ef97517997..2b7d1d2658 100644 --- a/usr/src/uts/sparc/audioens/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/audiols/Makefile b/usr/src/uts/sparc/audiols/Makefile index fc43d0a255..3984d15085 100644 --- a/usr/src/uts/sparc/audiols/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/audiop16x/Makefile b/usr/src/uts/sparc/audiop16x/Makefile index 901d7781cf..8ce34f1b00 100644 --- a/usr/src/uts/sparc/audiop16x/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/audiopci/Makefile b/usr/src/uts/sparc/audiopci/Makefile index 53f3ee95a2..b7e20ecf8f 100644 --- a/usr/src/uts/sparc/audiopci/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/audiots/Makefile b/usr/src/uts/sparc/audiots/Makefile index c830c5bfb9..ee51df6a0a 100644 --- a/usr/src/uts/sparc/audiots/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc -# -# 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) # @@ -83,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/sparc/autofs/Makefile b/usr/src/uts/sparc/autofs/Makefile index 291808a5d2..4ad6ad44e4 100644 --- a/usr/src/uts/sparc/autofs/Makefile +++ b/usr/src/uts/sparc/autofs/Makefile @@ -40,7 +40,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) @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -67,13 +65,10 @@ CFLAGS += $(CCVERBOSE) 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -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): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/av1394/Makefile b/usr/src/uts/sparc/av1394/Makefile index b1daba5cae..d06b3264a4 100644 --- a/usr/src/uts/sparc/av1394/Makefile +++ b/usr/src/uts/sparc/av1394/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = av1394 OBJECTS = $(AV1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AV1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -53,28 +51,16 @@ 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 # -# 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 @@ -95,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/bge/Makefile b/usr/src/uts/sparc/bge/Makefile index 0a8b2cabc4..e386453d9c 100644 --- a/usr/src/uts/sparc/bge/Makefile +++ b/usr/src/uts/sparc/bge/Makefile @@ -54,11 +54,6 @@ ALL_TARGET = $(BINARY) INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -69,11 +64,11 @@ CFLAGS += -dalign 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. # - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses diff --git a/usr/src/uts/sparc/bignum/Makefile b/usr/src/uts/sparc/bignum/Makefile index 5fec2994f9..50c7da9b07 100644 --- a/usr/src/uts/sparc/bignum/Makefile +++ b/usr/src/uts/sparc/bignum/Makefile @@ -19,7 +19,7 @@ # CDDL HEADER END # # -# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # # # This makefile drives the production of the misx/bignum module. @@ -39,7 +39,6 @@ COM1_DIR = $(COMMONBASE)/bignum # MODULE = bignum OBJECTS = $(BIGNUM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BIGNUM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,13 +57,8 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) -I$(CRYPTODIR) -I$(COM1_DIR) CFLAGS += -DUMUL64 -LINTFLAGS += -I$(CRYPTODIR) -I$(COM1_DIR) - # # Default build targets. @@ -80,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/sparc/bl/Makefile b/usr/src/uts/sparc/bl/Makefile index 9e19765748..5191e88c98 100644 --- a/usr/src/uts/sparc/bl/Makefile +++ b/usr/src/uts/sparc/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,13 +43,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += -v +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -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/sparc/blkdev/Makefile b/usr/src/uts/sparc/blkdev/Makefile index f0ff1bcbdc..684315413f 100644 --- a/usr/src/uts/sparc/blkdev/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/blowfish/Makefile b/usr/src/uts/sparc/blowfish/Makefile index 16cf0e6148..ce1c4df349 100644 --- a/usr/src/uts/sparc/blowfish/Makefile +++ b/usr/src/uts/sparc/blowfish/Makefile @@ -40,7 +40,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = blowfish OBJECTS = $(BLOWFISHPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BLOWFISHPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,22 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) +CFLAGS += -I$(COM_DIR) CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\" -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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -92,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/sparc/bnxe/Makefile b/usr/src/uts/sparc/bnxe/Makefile index bba862b1e7..3071f4c145 100644 --- a/usr/src/uts/sparc/bnxe/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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 \ @@ -98,22 +96,6 @@ CERRWARN += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED CERRWARN += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL CERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX -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. @@ -128,12 +110,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/bofi/Makefile b/usr/src/uts/sparc/bofi/Makefile index 4e5662616a..0ce800067f 100644 --- a/usr/src/uts/sparc/bofi/Makefile +++ b/usr/src/uts/sparc/bofi/Makefile @@ -25,7 +25,7 @@ # # -# 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) # @@ -67,22 +65,14 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DBOFI_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# -LINTFLAGS += -I../../sun4 -CFLAGS += $(CCVERBOSE) -I../../sun4 +CFLAGS += -I../../sun4 # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -98,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/sparc/bootfs/Makefile b/usr/src/uts/sparc/bootfs/Makefile index f717c850c5..b3bd51d795 100644 --- a/usr/src/uts/sparc/bootfs/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/bpf/Makefile b/usr/src/uts/sparc/bpf/Makefile index c1dda2a861..91ba7a74a5 100644 --- a/usr/src/uts/sparc/bpf/Makefile +++ b/usr/src/uts/sparc/bpf/Makefile @@ -25,7 +25,7 @@ # uts/sparc/bpf/Makefile # # -# This makefile drives the production of the bpf driver +# This makefile drives the production of the bpf driver # kernel module. # # sparc architecture dependent @@ -41,7 +41,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,11 +62,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) @@ -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/sparc/bridge/Makefile b/usr/src/uts/sparc/bridge/Makefile index 0dc192e56d..b318377e7a 100644 --- a/usr/src/uts/sparc/bridge/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/bufmod/Makefile b/usr/src/uts/sparc/bufmod/Makefile index 0d64cbd3ae..3f32518b01 100644 --- a/usr/src/uts/sparc/bufmod/Makefile +++ b/usr/src/uts/sparc/bufmod/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = bufmod OBJECTS = $(BUFMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BUFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -52,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,15 +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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -82,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/sparc/busra/Makefile b/usr/src/uts/sparc/busra/Makefile index 36e3cbfd21..abbacf0dcf 100644 --- a/usr/src/uts/sparc/busra/Makefile +++ b/usr/src/uts/sparc/busra/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = busra OBJECTS = $(BUSRA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,7 +64,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) DEF_BUILDS = $(DEF_BUILDS64) ALL_BUILDS = $(ALL_BUILDS64) -CLEANLINTFILES += $(LINT64_FILES) # # Default build targets. @@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/c2audit/Makefile b/usr/src/uts/sparc/c2audit/Makefile index 1453514a90..ec8d8aff32 100644 --- a/usr/src/uts/sparc/c2audit/Makefile +++ b/usr/src/uts/sparc/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,29 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Define dependency on sockfs # LDFLAGS += -dy -N fs/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_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/sparc/cardbus/Makefile b/usr/src/uts/sparc/cardbus/Makefile index c72edb640f..2e78a5f6ba 100644 --- a/usr/src/uts/sparc/cardbus/Makefile +++ b/usr/src/uts/sparc/cardbus/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = cardbus OBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,11 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 @@ -66,33 +64,28 @@ INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4 # DEF_BUILDS = $(DEF_BUILDS64) ALL_BUILDS = $(ALL_BUILDS64) -CLEANLINTFILES += $(LINT64_FILES) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) CPPFLAGS += -DHOTPLUG # dependency LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc +# +# 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-parentheses CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON # # Default build targets. @@ -107,12 +100,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/sparc/cc/Makefile b/usr/src/uts/sparc/cc/Makefile index 928a085458..b643fe4eb5 100644 --- a/usr/src/uts/sparc/cc/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/cc_cubic/Makefile b/usr/src/uts/sparc/cc_cubic/Makefile index ae7926a614..6a3b36936c 100644 --- a/usr/src/uts/sparc/cc_cubic/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/cc_newreno/Makefile b/usr/src/uts/sparc/cc_newreno/Makefile index 6159e48c72..baf51f4e09 100644 --- a/usr/src/uts/sparc/cc_newreno/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/cc_sunreno/Makefile b/usr/src/uts/sparc/cc_sunreno/Makefile index 912019834f..df89f57373 100644 --- a/usr/src/uts/sparc/cc_sunreno/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/chxge/Makefile b/usr/src/uts/sparc/chxge/Makefile index da43a14bee..63c52375a2 100644 --- a/usr/src/uts/sparc/chxge/Makefile +++ b/usr/src/uts/sparc/chxge/Makefile @@ -39,7 +39,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) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \ @@ -74,31 +72,11 @@ 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 @@ -119,12 +97,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/clone/Makefile b/usr/src/uts/sparc/clone/Makefile index f508a10cfe..cb82ee68d7 100644 --- a/usr/src/uts/sparc/clone/Makefile +++ b/usr/src/uts/sparc/clone/Makefile @@ -24,7 +24,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 clone driver # @@ -41,7 +41,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # 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/sparc/cmlb/Makefile b/usr/src/uts/sparc/cmlb/Makefile index 193a612279..1920742984 100644 --- a/usr/src/uts/sparc/cmlb/Makefile +++ b/usr/src/uts/sparc/cmlb/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = cmlb OBJECTS = $(CMLB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,14 +62,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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-type-limits @@ -92,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/sparc/cn/Makefile b/usr/src/uts/sparc/cn/Makefile index 07a52fb497..e461922188 100644 --- a/usr/src/uts/sparc/cn/Makefile +++ b/usr/src/uts/sparc/cn/Makefile @@ -20,13 +20,12 @@ # CDDL HEADER END # # -# uts/sparc/cn/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 cn driver +# This makefile drives the production of the cn driver # kernel module. # # sparc architecture dependent @@ -42,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 @@ -55,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/config/Makefile b/usr/src/uts/sparc/config/Makefile index 3dea9d543f..f800674c1f 100644 --- a/usr/src/uts/sparc/config/Makefile +++ b/usr/src/uts/sparc/config/Makefile @@ -80,13 +80,12 @@ $(ROOTETCSEC)/%: $(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/sparc/connld/Makefile b/usr/src/uts/sparc/connld/Makefile index ec09202e22..1be56b5923 100644 --- a/usr/src/uts/sparc/connld/Makefile +++ b/usr/src/uts/sparc/connld/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/connld/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 connld streams kernel # module. @@ -42,7 +41,6 @@ UTSBASE = ../.. # MODULE = connld OBJECTS = $(CONNLD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONNLD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/sparc/consconfig/Makefile b/usr/src/uts/sparc/consconfig/Makefile index e48121895d..56332e7fcd 100644 --- a/usr/src/uts/sparc/consconfig/Makefile +++ b/usr/src/uts/sparc/consconfig/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/consconfig/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 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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -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/sparc/consconfig_dacf/Makefile b/usr/src/uts/sparc/consconfig_dacf/Makefile index 2170a45137..59d4b94774 100644 --- a/usr/src/uts/sparc/consconfig_dacf/Makefile +++ b/usr/src/uts/sparc/consconfig_dacf/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = consconfig_dacf OBJECTS = $(CONSCONFIG_DACF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CONSCONFIG_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) # @@ -43,24 +42,18 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # 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 +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: @@ -73,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/sparc/conskbd/Makefile b/usr/src/uts/sparc/conskbd/Makefile index 33693249fc..885db9ac92 100644 --- a/usr/src/uts/sparc/conskbd/Makefile +++ b/usr/src/uts/sparc/conskbd/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,13 +61,6 @@ CFLAGS += $(CCVERBOSE) 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: @@ -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/sparc/consms/Makefile b/usr/src/uts/sparc/consms/Makefile index f10d86e5b0..9ee642c90e 100644 --- a/usr/src/uts/sparc/consms/Makefile +++ b/usr/src/uts/sparc/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,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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 CERRWARN += -_gcc=-Wno-switch @@ -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/sparc/cpuid/Makefile b/usr/src/uts/sparc/cpuid/Makefile index 2479e762de..12afe3ae61 100644 --- a/usr/src/uts/sparc/cpuid/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CFLAGS += -v @@ -51,12 +48,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/cryptmod/Makefile b/usr/src/uts/sparc/cryptmod/Makefile index 2c22229d42..3fd1c981cd 100644 --- a/usr/src/uts/sparc/cryptmod/Makefile +++ b/usr/src/uts/sparc/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,24 +51,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -85,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/sparc/crypto/Makefile b/usr/src/uts/sparc/crypto/Makefile index 8a9e787a5d..b6141fef24 100644 --- a/usr/src/uts/sparc/crypto/Makefile +++ b/usr/src/uts/sparc/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,16 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) +LDFLAGS += -dy -Nmisc/kcf + # -# 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) - -LDFLAGS += -dy -Nmisc/kcf - 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/sparc/cryptoadm/Makefile b/usr/src/uts/sparc/cryptoadm/Makefile index dc1890e064..e3b34b368c 100644 --- a/usr/src/uts/sparc/cryptoadm/Makefile +++ b/usr/src/uts/sparc/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,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -86,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/sparc/ctf/Makefile b/usr/src/uts/sparc/ctf/Makefile index 55dc972c1c..88982e1b9e 100644 --- a/usr/src/uts/sparc/ctf/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) C99LMODE= -Xc99=%all @@ -45,12 +43,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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) @@ -64,12 +60,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/ctfs/Makefile b/usr/src/uts/sparc/ctfs/Makefile index 3f8ddeee8b..73980ef44e 100644 --- a/usr/src/uts/sparc/ctfs/Makefile +++ b/usr/src/uts/sparc/ctfs/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ctfs OBJECTS = $(CTFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CTFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,11 +59,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_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses @@ -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/sparc/dad/Makefile b/usr/src/uts/sparc/dad/Makefile index f57c3fc370..2c1f29c8c8 100644 --- a/usr/src/uts/sparc/dad/Makefile +++ b/usr/src/uts/sparc/dad/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = dad OBJECTS = $(DAD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DAD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/dada/targets @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,14 +62,10 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/dada -Nmisc/cmlb # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable @@ -94,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/dada/Makefile b/usr/src/uts/sparc/dada/Makefile index 692b84c327..0d586351b9 100644 --- a/usr/src/uts/sparc/dada/Makefile +++ b/usr/src/uts/sparc/dada/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = dada OBJECTS = $(DADA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DADA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,13 +55,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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -76,10 +67,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/daplt/Makefile b/usr/src/uts/sparc/daplt/Makefile index bc346b9cfc..4a2add5661 100644 --- a/usr/src/uts/sparc/daplt/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,25 +56,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Overrides. # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function @@ -95,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/sparc/dca/Makefile b/usr/src/uts/sparc/dca/Makefile index 1f4c8a7b2e..b574b78a60 100644 --- a/usr/src/uts/sparc/dca/Makefile +++ b/usr/src/uts/sparc/dca/Makefile @@ -42,7 +42,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 @@ -55,23 +54,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(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 -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -88,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_CRYPTO_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/dcam1394/Makefile b/usr/src/uts/sparc/dcam1394/Makefile index e43ec22386..290a78923a 100644 --- a/usr/src/uts/sparc/dcam1394/Makefile +++ b/usr/src/uts/sparc/dcam1394/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = dcam1394 OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -46,7 +45,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -54,17 +52,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) # # depends on misc/s1394 LDFLAGS += -dy -Nmisc/s1394 +# +# 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 CERRWARN += $(CNOWARN_UNINIT) @@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/dcfs/Makefile b/usr/src/uts/sparc/dcfs/Makefile index de6c0a6ae2..2ef22c0f2b 100644 --- a/usr/src/uts/sparc/dcfs/Makefile +++ b/usr/src/uts/sparc/dcfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = dcfs OBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/dcpc/Makefile b/usr/src/uts/sparc/dcpc/Makefile index 1a8c50de78..0089a862c6 100644 --- a/usr/src/uts/sparc/dcpc/Makefile +++ b/usr/src/uts/sparc/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) include $(UTSBASE)/sparc/Makefile.sparc @@ -51,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/sparc/dedump/Makefile b/usr/src/uts/sparc/dedump/Makefile index 42c3f0512f..aed73980dc 100644 --- a/usr/src/uts/sparc/dedump/Makefile +++ b/usr/src/uts/sparc/dedump/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = dedump OBJECTS = $(DEDUMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEDUMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,15 +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_BAD_PTR_CAST_ALIGN -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/sparc/des/Makefile b/usr/src/uts/sparc/des/Makefile index b205c669ee..26fb4a4e20 100644 --- a/usr/src/uts/sparc/des/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -76,21 +74,19 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/kcf # -# 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) -LINTFLAGS += -I$(COM_DIR) - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) # -# 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 # # Default build targets. @@ -105,12 +101,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/sparc/dev/Makefile b/usr/src/uts/sparc/dev/Makefile index a918d401af..55b3e63746 100644 --- a/usr/src/uts/sparc/dev/Makefile +++ b/usr/src/uts/sparc/dev/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = dev OBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,8 +64,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/sparc/devfs/Makefile b/usr/src/uts/sparc/devfs/Makefile index c80af73300..233b5680a7 100644 --- a/usr/src/uts/sparc/devfs/Makefile +++ b/usr/src/uts/sparc/devfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = devfs OBJECTS = $(DEVFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses # 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/sparc/devinfo/Makefile b/usr/src/uts/sparc/devinfo/Makefile index 7f97558d29..6a56f13807 100644 --- a/usr/src/uts/sparc/devinfo/Makefile +++ b/usr/src/uts/sparc/devinfo/Makefile @@ -40,7 +40,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,15 +55,16 @@ CFLAGS += $(CCVERBOSE) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) +CPPFLAGS += -I$(SRC)/common + # -# 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) -CPPFLAGS += -I$(SRC)/common - CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -83,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/sparc/dlcosmk/Makefile b/usr/src/uts/sparc/dlcosmk/Makefile index 6a6367e539..be37f7eddc 100644 --- a/usr/src/uts/sparc/dlcosmk/Makefile +++ b/usr/src/uts/sparc/dlcosmk/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # This makefile creates the dlcosmk (ipp) module. # sparc 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,22 +54,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) 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_ASSIGN_NARROW_CONV +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -86,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/sparc/dld/Makefile b/usr/src/uts/sparc/dld/Makefile index e288e2e357..5fca1a54a9 100644 --- a/usr/src/uts/sparc/dld/Makefile +++ b/usr/src/uts/sparc/dld/Makefile @@ -33,7 +33,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) @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,14 +58,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 @@ -86,12 +80,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/sparc/dlpistub/Makefile b/usr/src/uts/sparc/dlpistub/Makefile index 548361738a..aff2c694a1 100644 --- a/usr/src/uts/sparc/dlpistub/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/dls/Makefile b/usr/src/uts/sparc/dls/Makefile index b32db65dd0..38a104cef4 100644 --- a/usr/src/uts/sparc/dls/Makefile +++ b/usr/src/uts/sparc/dls/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = dls OBJECTS = $(DLS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -58,14 +56,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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += $(CNOWARN_UNINIT) @@ -82,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/sparc/dmfe/Makefile b/usr/src/uts/sparc/dmfe/Makefile index 1220b595fd..7fcee1d9b7 100644 --- a/usr/src/uts/sparc/dmfe/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/doorfs/Makefile b/usr/src/uts/sparc/doorfs/Makefile index d8bd5421c0..bbb31ec778 100644 --- a/usr/src/uts/sparc/doorfs/Makefile +++ b/usr/src/uts/sparc/doorfs/Makefile @@ -42,7 +42,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) # @@ -55,25 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) 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 CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/dprov/Makefile b/usr/src/uts/sparc/dprov/Makefile index 0aa53e059a..e9b765fe14 100644 --- a/usr/src/uts/sparc/dprov/Makefile +++ b/usr/src/uts/sparc/dprov/Makefile @@ -41,7 +41,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) @@ -58,7 +57,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -69,21 +67,14 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # uses private KCF functions. LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) +CFLAGS += -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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -101,12 +92,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/sparc/drcompat/Makefile b/usr/src/uts/sparc/drcompat/Makefile index f16a3d3c15..d5e9f1142c 100644 --- a/usr/src/uts/sparc/drcompat/Makefile +++ b/usr/src/uts/sparc/drcompat/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,14 +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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # 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/sparc/dscpmk/Makefile b/usr/src/uts/sparc/dscpmk/Makefile index e4f488c306..50f134cc72 100644 --- a/usr/src/uts/sparc/dscpmk/Makefile +++ b/usr/src/uts/sparc/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,23 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -87,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/sparc/dtrace/Makefile b/usr/src/uts/sparc/dtrace/Makefile index 941f5873ca..6f3c2f3b39 100644 --- a/usr/src/uts/sparc/dtrace/Makefile +++ b/usr/src/uts/sparc/dtrace/Makefile @@ -28,7 +28,6 @@ UTSBASE = ../.. PLATFORM = sun4u MODULE = dtrace OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/dtrace @@ -44,13 +43,12 @@ CERRWARN += -_gcc=-Wno-type-limits CERRWARN += $(CNOWARN_UNINIT) ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) DTRACE_INC_32 = -I$(UTSBASE)/sparc/v7 DTRACE_INC_64 = -I$(UTSBASE)/sparc/v9 -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) CPPFLAGS += $(DTRACE_INC_$(CLASS)) CPPFLAGS += -I$(SRC)/common/util @@ -64,16 +62,10 @@ AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR) ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h # -# 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 .KEEP_STATE: @@ -85,12 +77,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/sparc/dump/Makefile b/usr/src/uts/sparc/dump/Makefile index 7c38303ed7..2e4dcabba5 100644 --- a/usr/src/uts/sparc/dump/Makefile +++ b/usr/src/uts/sparc/dump/Makefile @@ -22,7 +22,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" UTSBASE = ../.. @@ -31,7 +30,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 @@ -44,7 +42,6 @@ include $(UTSBASE)/$(MACH)/Makefile.$(MACH) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -53,13 +50,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -72,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/sparc/e1000g/Makefile b/usr/src/uts/sparc/e1000g/Makefile index f22795fdce..caae3659da 100644 --- a/usr/src/uts/sparc/e1000g/Makefile +++ b/usr/src/uts/sparc/e1000g/Makefile @@ -41,7 +41,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 @@ -54,14 +53,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -LINTFLAGS += \ - -I$(UTSBASE)/common/io/e1000g \ - -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. +# +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -69,19 +68,12 @@ CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED -LINTTAGS += -erroff=E_CONSTANT_CONDITION # # Override defaults # INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # @@ -107,11 +99,6 @@ clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) install: $(INSTALL_DEPS) diff --git a/usr/src/uts/sparc/ecc/Makefile b/usr/src/uts/sparc/ecc/Makefile index 7930035fed..e4dc8c5ae8 100644 --- a/usr/src/uts/sparc/ecc/Makefile +++ b/usr/src/uts/sparc/ecc/Makefile @@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto # MODULE = ecc OBJECTS = $(ECCPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LINTS_DIR)/ecc.ln ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,13 +59,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR) +CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B -LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) +# +# 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-label CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/ecpp/Makefile b/usr/src/uts/sparc/ecpp/Makefile index bbf1a3a00c..0f26a6c506 100644 --- a/usr/src/uts/sparc/ecpp/Makefile +++ b/usr/src/uts/sparc/ecpp/Makefile @@ -40,7 +40,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 @@ -53,29 +52,23 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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) - -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun/io/ecpp.il - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable # -# 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 # Default build targets. # @@ -89,10 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/edonr/Makefile b/usr/src/uts/sparc/edonr/Makefile index b0c6eb0f8c..3b2a5524d6 100644 --- a/usr/src/uts/sparc/edonr/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/efe/Makefile b/usr/src/uts/sparc/efe/Makefile index 119d855117..1c15299e33 100644 --- a/usr/src/uts/sparc/efe/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/ehci/Makefile b/usr/src/uts/sparc/ehci/Makefile index 42f0e0d7bb..d1c34085fd 100644 --- a/usr/src/uts/sparc/ehci/Makefile +++ b/usr/src/uts/sparc/ehci/Makefile @@ -40,7 +40,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 @@ -50,7 +49,9 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci include $(UTSBASE)/sparc/Makefile.sparc # -# 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) @@ -65,7 +66,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -78,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/sparc/eibnx/Makefile b/usr/src/uts/sparc/eibnx/Makefile index 3dd9c47375..04edd34912 100644 --- a/usr/src/uts/sparc/eibnx/Makefile +++ b/usr/src/uts/sparc/eibnx/Makefile @@ -39,7 +39,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 @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -66,20 +64,16 @@ DEF_BUILDS = $(DEF_BUILDSONLY64) 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) @@ -96,12 +90,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/elfexec/Makefile b/usr/src/uts/sparc/elfexec/Makefile index ba49e2b0d5..1cc0fe03bc 100644 --- a/usr/src/uts/sparc/elfexec/Makefile +++ b/usr/src/uts/sparc/elfexec/Makefile @@ -44,7 +44,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) # @@ -56,7 +55,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,13 +63,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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # @@ -102,8 +91,6 @@ install: $(INSTALL_DEPS) # include $(UTSBASE)/sparc/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) @@ -115,15 +102,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/sparc/emlxs/Makefile b/usr/src/uts/sparc/emlxs/Makefile index 16ac3b05df..8fb682d782 100644 --- a/usr/src/uts/sparc/emlxs/Makefile +++ b/usr/src/uts/sparc/emlxs/Makefile @@ -35,7 +35,6 @@ COMMON_BASE = ../../../common # MODULE = emlxs OBJECTS = $(EMLXS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EMLXS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) EMLXS_FLAGS = -DEMLXS_SPARC @@ -59,7 +57,6 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\" EMLXS_CFLAGS = $(EMLXS_FLAGS) EMLXS_LFLAGS = $(EMLXS_FLAGS) CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"64\" -LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"64\" # @@ -78,14 +75,9 @@ LDFLAGS += -dy -Nmisc/md5 -Nmisc/sha1 LDFLAGS += -Nmisc/bignum -Nmisc/fctl # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_INCONS_VAL_TYPE_DECL2 CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -104,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/sparc/emlxs_fw/Makefile b/usr/src/uts/sparc/emlxs_fw/Makefile index 724fc9531f..57baa04fc0 100644 --- a/usr/src/uts/sparc/emlxs_fw/Makefile +++ b/usr/src/uts/sparc/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 @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) EMLXS_FLAGS = -DEMLXS_SPARC @@ -57,19 +55,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 += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\" - -# # Default build targets. # .KEEP_STATE: @@ -82,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/sparc/emul64/Makefile b/usr/src/uts/sparc/emul64/Makefile index 86cfecacd1..313ef518e2 100644 --- a/usr/src/uts/sparc/emul64/Makefile +++ b/usr/src/uts/sparc/emul64/Makefile @@ -36,7 +36,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 @@ -52,29 +51,27 @@ 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) - -# # Define dependency on scsi # LDFLAGS += -dy -N misc/scsi +# +# 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 CERRWARN += $(CNOWARN_UNINIT) # -# 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 # # Default build targets. @@ -89,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/sparc/eoib/Makefile b/usr/src/uts/sparc/eoib/Makefile index ffa1ac053d..1f9c9e747a 100644 --- a/usr/src/uts/sparc/eoib/Makefile +++ b/usr/src/uts/sparc/eoib/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = eoib OBJECTS = $(EOIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EOIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,10 +63,11 @@ DEF_BUILDS = $(DEF_BUILDSONLY64) 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) @@ -90,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/eri/Makefile b/usr/src/uts/sparc/eri/Makefile index d0976890d7..16be73401a 100644 --- a/usr/src/uts/sparc/eri/Makefile +++ b/usr/src/uts/sparc/eri/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = eri OBJECTS = $(ERI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ERI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,15 +57,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) +LDFLAGS += -dy -N misc/mac -N drv/ip # -# Overrides. +# 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 CERRWARN += -_gcc=-Wno-unused-label -LDFLAGS += -dy -N misc/mac -N drv/ip # # Default build targets. @@ -82,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/eventfd/Makefile b/usr/src/uts/sparc/eventfd/Makefile index 063aa29b78..f0733e83e9 100644 --- a/usr/src/uts/sparc/eventfd/Makefile +++ b/usr/src/uts/sparc/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/sparc/exacctsys/Makefile b/usr/src/uts/sparc/exacctsys/Makefile index 3c89b44cfb..ade76a4a9c 100644 --- a/usr/src/uts/sparc/exacctsys/Makefile +++ b/usr/src/uts/sparc/exacctsys/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/sparc/exacctsys/Makefile -# -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the exacctsys system call module. # sparc 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,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -74,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/sparc/fas/Makefile b/usr/src/uts/sparc/fas/Makefile index 03eec24a86..77ce9bb94b 100644 --- a/usr/src/uts/sparc/fas/Makefile +++ b/usr/src/uts/sparc/fas/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = fas OBJECTS = $(FAS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -51,28 +50,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Defines dependency on scsi # 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -89,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/sparc/fasttrap/Makefile b/usr/src/uts/sparc/fasttrap/Makefile index e69edd4f6f..daf6d8d192 100644 --- a/usr/src/uts/sparc/fasttrap/Makefile +++ b/usr/src/uts/sparc/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)/sparc/dtrace @@ -36,7 +35,6 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace include $(UTSBASE)/sparc/Makefile.sparc 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/sparc/fbt/Makefile b/usr/src/uts/sparc/fbt/Makefile index 79286b526e..c532e71406 100644 --- a/usr/src/uts/sparc/fbt/Makefile +++ b/usr/src/uts/sparc/fbt/Makefile @@ -27,7 +27,6 @@ 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)/sparc/dtrace @@ -35,19 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace include $(UTSBASE)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf # -# 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 @@ -63,12 +59,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/sparc/fcip/Makefile b/usr/src/uts/sparc/fcip/Makefile index 6e70560f9b..47a17da531 100644 --- a/usr/src/uts/sparc/fcip/Makefile +++ b/usr/src/uts/sparc/fcip/Makefile @@ -38,7 +38,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/ @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,14 +61,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/sparc/fcode/Makefile b/usr/src/uts/sparc/fcode/Makefile index 6077d2646a..2b297a0e82 100644 --- a/usr/src/uts/sparc/fcode/Makefile +++ b/usr/src/uts/sparc/fcode/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = fcode OBJECTS = $(FCODE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCODE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4/io/efcode @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,12 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # INC_PATH += -I$(UTSBASE)/sun4 -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4/io/fcode.il - -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/fcodem/Makefile b/usr/src/uts/sparc/fcodem/Makefile index 57bee792a0..6f00465d92 100644 --- a/usr/src/uts/sparc/fcodem/Makefile +++ b/usr/src/uts/sparc/fcodem/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/fcodem/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 fcodem misc kernel module # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = fcodem OBJECTS = $(FCODEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCODEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,12 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # INC_PATH += -I$(UTSBASE)/sun4 -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4/io/fcode.il - -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -87,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/sparc/fcoe/Makefile b/usr/src/uts/sparc/fcoe/Makefile index 58215fc027..05b4f2177d 100644 --- a/usr/src/uts/sparc/fcoe/Makefile +++ b/usr/src/uts/sparc/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/sparc/fcoei/Makefile b/usr/src/uts/sparc/fcoei/Makefile index 4f4c80292f..6dd2213e5b 100644 --- a/usr/src/uts/sparc/fcoei/Makefile +++ b/usr/src/uts/sparc/fcoei/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 fcoei driver for +# This makefile drives the production of the fcoei driver for # LEADVILLE. # @@ -36,7 +36,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 @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # 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/sparc/fcoet/Makefile b/usr/src/uts/sparc/fcoet/Makefile index ee28b5510f..b664831d7c 100644 --- a/usr/src/uts/sparc/fcoet/Makefile +++ b/usr/src/uts/sparc/fcoet/Makefile @@ -36,7 +36,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) # @@ -48,7 +47,6 @@ include ../Makefile.$(ARCHDIR) # 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/sparc/fcp/Makefile b/usr/src/uts/sparc/fcp/Makefile index 8ba05be670..7abfbffaba 100644 --- a/usr/src/uts/sparc/fcp/Makefile +++ b/usr/src/uts/sparc/fcp/Makefile @@ -37,7 +37,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 @@ -50,7 +49,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -59,12 +57,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) @@ -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/sparc/fcpci/Makefile b/usr/src/uts/sparc/fcpci/Makefile index eacdd19548..b4848262ea 100644 --- a/usr/src/uts/sparc/fcpci/Makefile +++ b/usr/src/uts/sparc/fcpci/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = fcpci OBJECTS = $(FCPCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCPCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,14 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # INC_PATH += -I$(UTSBASE)/sun4 -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4/io/fcode.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # @@ -78,14 +68,11 @@ CFLAGS += -dalign LDFLAGS += -dy -N misc/fcodem -N misc/busra # -# 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_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -102,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/sparc/fcsm/Makefile b/usr/src/uts/sparc/fcsm/Makefile index fc93e07a59..309f26c502 100644 --- a/usr/src/uts/sparc/fcsm/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,10 +61,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) @@ -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/sparc/fct/Makefile b/usr/src/uts/sparc/fct/Makefile index c4c89b3a46..42ec698329 100644 --- a/usr/src/uts/sparc/fct/Makefile +++ b/usr/src/uts/sparc/fct/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the fct driver for +# This makefile drives the production of the fct driver for # COMSTAR. # @@ -38,7 +38,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 @@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,12 +61,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 @@ -87,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/sparc/fctl/Makefile b/usr/src/uts/sparc/fctl/Makefile index b0c525ed3e..acfebaa812 100644 --- a/usr/src/uts/sparc/fctl/Makefile +++ b/usr/src/uts/sparc/fctl/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = fctl OBJECTS = $(FCTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FCTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,14 +59,11 @@ 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) # @@ -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/sparc/fdfs/Makefile b/usr/src/uts/sparc/fdfs/Makefile index 9122961e83..83731e7bdf 100644 --- a/usr/src/uts/sparc/fdfs/Makefile +++ b/usr/src/uts/sparc/fdfs/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/fdfs/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 fdfs file system # kernel module. @@ -42,7 +41,6 @@ UTSBASE = ../.. # MODULE = fdfs OBJECTS = $(FDFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FDFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_FS_DIR)/$(MODULE) # @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/sparc/fifofs/Makefile b/usr/src/uts/sparc/fifofs/Makefile index a12c89e2b0..d36be1a990 100644 --- a/usr/src/uts/sparc/fifofs/Makefile +++ b/usr/src/uts/sparc/fifofs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = fifofs OBJECTS = $(FIFO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FIFO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,12 +63,10 @@ CLEANFILES += $(MODSTUBS_O) 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 -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/sparc/flowacct/Makefile b/usr/src/uts/sparc/flowacct/Makefile index 56a16ddc8b..eec56f716b 100644 --- a/usr/src/uts/sparc/flowacct/Makefile +++ b/usr/src/uts/sparc/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) # @@ -55,22 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp # -# 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) # @@ -86,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/sparc/fm/Makefile b/usr/src/uts/sparc/fm/Makefile index d16d54a828..de5d38da49 100644 --- a/usr/src/uts/sparc/fm/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(LINT_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/sparc/fp/Makefile b/usr/src/uts/sparc/fp/Makefile index 5d446e7ca9..078f0056f0 100644 --- a/usr/src/uts/sparc/fp/Makefile +++ b/usr/src/uts/sparc/fp/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = fp OBJECTS = $(FP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sparc/io/fibre-channel/impl/ @@ -54,24 +53,20 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # 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/ LDFLAGS += -dy -Nmisc/fctl -Ndrv/fcp -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 @@ -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/sparc/fssnap/Makefile b/usr/src/uts/sparc/fssnap/Makefile index 5d0eb504ae..15e5968cb2 100644 --- a/usr/src/uts/sparc/fssnap/Makefile +++ b/usr/src/uts/sparc/fssnap/Makefile @@ -37,7 +37,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 @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,11 +58,10 @@ CFLAGS += $(CCVERBOSE) 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 @@ -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/sparc/fssnap_if/Makefile b/usr/src/uts/sparc/fssnap_if/Makefile index 3177067dfc..e326b49470 100644 --- a/usr/src/uts/sparc/fssnap_if/Makefile +++ b/usr/src/uts/sparc/fssnap_if/Makefile @@ -20,11 +20,9 @@ # CDDL HEADER END # # -# uts/sparc/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 @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = fssnap_if OBJECTS = $(FSSNAPIF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FSSNAPIF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -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/sparc/gen_drv/Makefile b/usr/src/uts/sparc/gen_drv/Makefile index a4a8448844..5a34989cd4 100644 --- a/usr/src/uts/sparc/gen_drv/Makefile +++ b/usr/src/uts/sparc/gen_drv/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = gen_drv OBJECTS = $(GEN_DRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GEN_DRV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -53,21 +52,14 @@ CFLAGS += $(CCVERBOSE) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable # @@ -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/sparc/gld/Makefile b/usr/src/uts/sparc/gld/Makefile index ad3519c146..682b2bdc06 100644 --- a/usr/src/uts/sparc/gld/Makefile +++ b/usr/src/uts/sparc/gld/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = gld OBJECTS = $(GLD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GLD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/mac @@ -64,13 +62,10 @@ LDFLAGS += -dy -Nmisc/mac 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -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/sparc/hci1394/Makefile b/usr/src/uts/sparc/hci1394/Makefile index 07b8f1c907..23d9a71a86 100644 --- a/usr/src/uts/sparc/hci1394/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,28 +61,16 @@ 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 # -# 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 @@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/hermon/Makefile b/usr/src/uts/sparc/hermon/Makefile index b91d41e52c..27d82f4688 100644 --- a/usr/src/uts/sparc/hermon/Makefile +++ b/usr/src/uts/sparc/hermon/Makefile @@ -40,7 +40,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -67,11 +65,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 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 @@ -91,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/sparc/hid/Makefile b/usr/src/uts/sparc/hid/Makefile index 85f360fd7d..7baf7a31e0 100644 --- a/usr/src/uts/sparc/hid/Makefile +++ b/usr/src/uts/sparc/hid/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = hid OBJECTS = $(HID_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,11 +49,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/usba # LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf @@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += -_gcc=-Wno-parentheses - # -# 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-parentheses .KEEP_STATE: @@ -85,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/sparc/hidparser/Makefile b/usr/src/uts/sparc/hidparser/Makefile index 31eb5a23b6..8ed0f9cc6b 100644 --- a/usr/src/uts/sparc/hidparser/Makefile +++ b/usr/src/uts/sparc/hidparser/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = hidparser OBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) @@ -49,9 +48,11 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# 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) @@ -64,7 +65,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -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/sparc/hme/Makefile b/usr/src/uts/sparc/hme/Makefile index 492dfe2a25..59b95ff672 100644 --- a/usr/src/uts/sparc/hme/Makefile +++ b/usr/src/uts/sparc/hme/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = hme OBJECTS = $(HME_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HME_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/hook/Makefile b/usr/src/uts/sparc/hook/Makefile index 5e68af14d3..8b45c9fa43 100644 --- a/usr/src/uts/sparc/hook/Makefile +++ b/usr/src/uts/sparc/hook/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = hook OBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -55,11 +54,12 @@ CERRWARN += $(CNOWARN_UNINIT) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # -# 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) @@ -76,12 +76,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/sparc/hpcsvc/Makefile b/usr/src/uts/sparc/hpcsvc/Makefile index 3472ca053a..d77cb933a9 100644 --- a/usr/src/uts/sparc/hpcsvc/Makefile +++ b/usr/src/uts/sparc/hpcsvc/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = hpcsvc OBJECTS = $(HPCSVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HPCSVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,12 +61,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) DEBUG_FLGS = DEBUG_DEFS += $(DEBUG_FLGS) -CERRWARN += $(CNOWARN_UNINIT) - # -# 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 += $(CNOWARN_UNINIT) # # Default build targets. @@ -83,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/sparc/hsfs/Makefile b/usr/src/uts/sparc/hsfs/Makefile index 1303c74a7e..a9aed3cc3b 100644 --- a/usr/src/uts/sparc/hsfs/Makefile +++ b/usr/src/uts/sparc/hsfs/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = hsfs OBJECTS = $(HSFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HSFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,16 +64,10 @@ CFLAGS += $(CCVERBOSE) 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) @@ -96,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/sparc/hubd/Makefile b/usr/src/uts/sparc/hubd/Makefile index c53d68add8..a3c23bda29 100644 --- a/usr/src/uts/sparc/hubd/Makefile +++ b/usr/src/uts/sparc/hubd/Makefile @@ -20,15 +20,12 @@ # CDDL HEADER END # # -# uts/sparc/hubd/Makefile -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # This makefile drives the production of the hubd driver kernel module. # sparc architecture dependent # -#ident "%Z%%M% %I% %E% SMI" # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -53,7 +50,6 @@ $(ROOTCONFIGFILES):= FILEMODE = $(CFILEMODE) # MODULE = hubd OBJECTS = $(HUBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HUBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -61,9 +57,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -75,7 +68,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -88,12 +80,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/sparc/hxge/Makefile b/usr/src/uts/sparc/hxge/Makefile index 46343ada36..b093760a0d 100644 --- a/usr/src/uts/sparc/hxge/Makefile +++ b/usr/src/uts/sparc/hxge/Makefile @@ -37,7 +37,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 @@ -57,7 +56,6 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -69,25 +67,20 @@ CFLAGS += -dalign # 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. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR +# +# 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 CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -111,12 +104,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/i8042/Makefile b/usr/src/uts/sparc/i8042/Makefile index a08c71cac1..cd25201939 100644 --- a/usr/src/uts/sparc/i8042/Makefile +++ b/usr/src/uts/sparc/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,15 +51,13 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 CERRWARN += -_gcc=-Wno-unused-function @@ -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/sparc/ib/Makefile b/usr/src/uts/sparc/ib/Makefile index 83e44c69f2..5bb271e6c1 100644 --- a/usr/src/uts/sparc/ib/Makefile +++ b/usr/src/uts/sparc/ib/Makefile @@ -41,7 +41,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,24 +61,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CERRWARN += $(CNOWARN_UNINIT) - -# -# 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) # # depends on misc/ibtl @@ -100,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibcm/Makefile b/usr/src/uts/sparc/ibcm/Makefile index 71f1f79fcc..41681e88d6 100644 --- a/usr/src/uts/sparc/ibcm/Makefile +++ b/usr/src/uts/sparc/ibcm/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = ibcm OBJECTS = $(IBCM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBCM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,11 +57,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -# -# 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-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -77,15 +76,6 @@ CERRWARN += -_gcc=-Wno-unused-value # 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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON # # Default build targets. @@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibdm/Makefile b/usr/src/uts/sparc/ibdm/Makefile index 1308ed72b3..2b56a0f005 100644 --- a/usr/src/uts/sparc/ibdm/Makefile +++ b/usr/src/uts/sparc/ibdm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ibdm OBJECTS = $(IBDM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBDM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,22 +60,16 @@ ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/ibtl, and misc/ibmf # LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf # -# 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) # @@ -93,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibdma/Makefile b/usr/src/uts/sparc/ibdma/Makefile index cb60c81a3c..00596363ea 100644 --- a/usr/src/uts/sparc/ibdma/Makefile +++ b/usr/src/uts/sparc/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,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,9 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -70,13 +65,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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -89,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibmf/Makefile b/usr/src/uts/sparc/ibmf/Makefile index 6de209c25c..c353e95e8d 100644 --- a/usr/src/uts/sparc/ibmf/Makefile +++ b/usr/src/uts/sparc/ibmf/Makefile @@ -39,7 +39,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 @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,18 +62,11 @@ ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) # -# 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) # @@ -91,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibp/Makefile b/usr/src/uts/sparc/ibp/Makefile index 8e837ad67d..12a2446eea 100644 --- a/usr/src/uts/sparc/ibp/Makefile +++ b/usr/src/uts/sparc/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,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -56,21 +54,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch @@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/ibtl/Makefile b/usr/src/uts/sparc/ibtl/Makefile index 31da41ff10..cef3dc1e16 100644 --- a/usr/src/uts/sparc/ibtl/Makefile +++ b/usr/src/uts/sparc/ibtl/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = ibtl OBJECTS = $(IBTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IBTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,21 +58,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -# -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -94,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/icmp/Makefile b/usr/src/uts/sparc/icmp/Makefile index 55c11a1ea0..4bf37054c0 100644 --- a/usr/src/uts/sparc/icmp/Makefile +++ b/usr/src/uts/sparc/icmp/Makefile @@ -38,7 +38,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 @@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -73,15 +68,6 @@ CFLAGS += $(CCVERBOSE) 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 - -# # Default build targets. # .KEEP_STATE: @@ -94,12 +80,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/sparc/icmp6/Makefile b/usr/src/uts/sparc/icmp6/Makefile index 2c3983a677..9c22a17601 100644 --- a/usr/src/uts/sparc/icmp6/Makefile +++ b/usr/src/uts/sparc/icmp6/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 icmp6 IP driver # @@ -40,7 +40,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 @@ -53,15 +52,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on ip ip6 and icmp # LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp @@ -79,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/sparc/idm/Makefile b/usr/src/uts/sparc/idm/Makefile index 6ae749af13..bac16c2e6c 100644 --- a/usr/src/uts/sparc/idm/Makefile +++ b/usr/src/uts/sparc/idm/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = idm OBJECTS = $(IDM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IDM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/idmap/Makefile b/usr/src/uts/sparc/idmap/Makefile index a832800e41..a5c07efd4d 100644 --- a/usr/src/uts/sparc/idmap/Makefile +++ b/usr/src/uts/sparc/idmap/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = idmap OBJECTS = $(IDMAP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IDMAP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,20 +52,17 @@ include $(UTSBASE)/sparc/Makefile.sparc LDFLAGS += -dy -N"sys/doorfs" -N"strmod/rpcmod" # -# Lint warnings turned off +# 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) @@ -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/sparc/igb/Makefile b/usr/src/uts/sparc/igb/Makefile index 3e8c78c94d..a8bb94b376 100644 --- a/usr/src/uts/sparc/igb/Makefile +++ b/usr/src/uts/sparc/igb/Makefile @@ -41,7 +41,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 @@ -50,10 +49,13 @@ CONF_SRCDIR = $(UTSBASE)/common/io/igb # include $(UTSBASE)/sparc/Makefile.sparc -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. +# +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED @@ -62,7 +64,6 @@ CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -71,11 +72,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -98,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/sparc/inst_sync/Makefile b/usr/src/uts/sparc/inst_sync/Makefile index a400fc61a2..a7192958e6 100644 --- a/usr/src/uts/sparc/inst_sync/Makefile +++ b/usr/src/uts/sparc/inst_sync/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = inst_sync OBJECTS = $(INSTANCE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INSTANCE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CERRWARN += -_gcc=-Wno-parentheses @@ -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/sparc/intpexec/Makefile b/usr/src/uts/sparc/intpexec/Makefile index 6de8290733..ac4dde7fcc 100644 --- a/usr/src/uts/sparc/intpexec/Makefile +++ b/usr/src/uts/sparc/intpexec/Makefile @@ -41,14 +41,12 @@ UTSBASE = ../.. # MODULE = intpexec OBJECTS = $(INTPEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(INTPEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE) # # 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/sparc/ip/Makefile b/usr/src/uts/sparc/ip/Makefile index 4b6ac89108..58b5552cc6 100644 --- a/usr/src/uts/sparc/ip/Makefile +++ b/usr/src/uts/sparc/ip/Makefile @@ -24,7 +24,7 @@ # # Copyright 2019 Joyent, Inc. # -# This makefile drives the production of the ip driver +# This makefile drives the production of the ip driver # kernel module. # # sparc architecture dependent @@ -39,7 +39,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 @@ -53,14 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -CFLAGS += -xinline=tcp_set_ws_value +CFLAGS += -xinline=tcp_set_ws_value + # # To get the BPF header files included by ipnet.h # @@ -80,17 +75,11 @@ 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-function @@ -112,12 +101,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/sparc/ip6/Makefile b/usr/src/uts/sparc/ip6/Makefile index 4108089199..741c43cd4b 100644 --- a/usr/src/uts/sparc/ip6/Makefile +++ b/usr/src/uts/sparc/ip6/Makefile @@ -23,9 +23,9 @@ # 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 ip6 driver +# This makefile drives the production of the ip6 driver # kernel module. # # sparc architecture dependent @@ -41,7 +41,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 @@ -54,12 +53,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/ipc/Makefile b/usr/src/uts/sparc/ipc/Makefile index 1ed5f1f9fe..1928960a7e 100644 --- a/usr/src/uts/sparc/ipc/Makefile +++ b/usr/src/uts/sparc/ipc/Makefile @@ -40,14 +40,12 @@ UTSBASE = ../.. # MODULE = ipc OBJECTS = $(IPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,11 +59,10 @@ include $(UTSBASE)/sparc/Makefile.sparc 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 CERRWARN += -_gcc=-Wno-parentheses 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) # diff --git a/usr/src/uts/sparc/ipd/Makefile b/usr/src/uts/sparc/ipd/Makefile index 597bf0fb8d..f9b330b74d 100644 --- a/usr/src/uts/sparc/ipd/Makefile +++ b/usr/src/uts/sparc/ipd/Makefile @@ -20,14 +20,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)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/neti -Nmisc/hook @@ -42,12 +40,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/ipf/Makefile b/usr/src/uts/sparc/ipf/Makefile index 3250d51003..9352b1996d 100644 --- a/usr/src/uts/sparc/ipf/Makefile +++ b/usr/src/uts/sparc/ipf/Makefile @@ -26,7 +26,7 @@ # uts/sparc/ipf/Makefile # # -# This makefile drives the production of the ipf driver +# This makefile drives the production of the ipf driver # kernel module. # # sparc architecture dependent @@ -42,7 +42,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 @@ -55,14 +54,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement and OS version -# -CFLAGS += $(CCVERBOSE) -CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP +CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN -DUSE_INET6 LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf LDFLAGS += -Nmisc/mac @@ -70,15 +64,11 @@ 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_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-unused-function CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-parentheses @@ -98,12 +88,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/sparc/ipgpc/Makefile b/usr/src/uts/sparc/ipgpc/Makefile index a5d60bf915..a6415e216e 100644 --- a/usr/src/uts/sparc/ipgpc/Makefile +++ b/usr/src/uts/sparc/ipgpc/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ipgpc OBJECTS = $(IPGPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IPGPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE) # @@ -57,25 +56,23 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) +LDFLAGS += -dy -Ndrv/ip + # -# 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) - -LDFLAGS += -dy -Ndrv/ip - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # -# 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_SUSPICIOUS_COMPARISON # # Default build targets. @@ -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/sparc/ipnet/Makefile b/usr/src/uts/sparc/ipnet/Makefile index 3693a3df57..b2a8c688f7 100644 --- a/usr/src/uts/sparc/ipnet/Makefile +++ b/usr/src/uts/sparc/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. # # sparc 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,28 +55,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# - CFLAGS += $(CCVERBOSE) # -# 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 @@ -101,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/sparc/ippctl/Makefile b/usr/src/uts/sparc/ippctl/Makefile index 0f4ce838ef..140b60b8fd 100644 --- a/usr/src/uts/sparc/ippctl/Makefile +++ b/usr/src/uts/sparc/ippctl/Makefile @@ -23,9 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/sparc/ippctl/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,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -82,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/sparc/iptun/Makefile b/usr/src/uts/sparc/iptun/Makefile index 3b5ad846bf..ec78eb85ac 100644 --- a/usr/src/uts/sparc/iptun/Makefile +++ b/usr/src/uts/sparc/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,18 +45,15 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/dls -Nmisc/mac -Ndrv/ip +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/sparc/iscsi/Makefile b/usr/src/uts/sparc/iscsi/Makefile index 7b0c73fd6b..56decc8082 100644 --- a/usr/src/uts/sparc/iscsi/Makefile +++ b/usr/src/uts/sparc/iscsi/Makefile @@ -39,7 +39,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 @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # includes @@ -65,8 +63,6 @@ INC_PATH += -I$(SRC)/common/hdcrc LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/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 @@ -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/sparc/iscsit/Makefile b/usr/src/uts/sparc/iscsit/Makefile index 45954abf12..379ab9195f 100644 --- a/usr/src/uts/sparc/iscsit/Makefile +++ b/usr/src/uts/sparc/iscsit/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the iscsit pseudo-driver for +# This makefile drives the production of the iscsit pseudo-driver for # COMSTAR. # @@ -38,7 +38,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 @@ -51,7 +50,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/sparc/iser/Makefile b/usr/src/uts/sparc/iser/Makefile index f4fd1b5c41..0812f68ae6 100644 --- a/usr/src/uts/sparc/iser/Makefile +++ b/usr/src/uts/sparc/iser/Makefile @@ -33,7 +33,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 @@ -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/sparc/iwscn/Makefile b/usr/src/uts/sparc/iwscn/Makefile index 0a74c9ca33..965e74592f 100644 --- a/usr/src/uts/sparc/iwscn/Makefile +++ b/usr/src/uts/sparc/iwscn/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/iwscn/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 iwscn driver # @@ -41,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 @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/ixgbe/Makefile b/usr/src/uts/sparc/ixgbe/Makefile index 493f91652d..3dcaeed9e3 100644 --- a/usr/src/uts/sparc/ixgbe/Makefile +++ b/usr/src/uts/sparc/ixgbe/Makefile @@ -42,7 +42,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 @@ -54,17 +53,10 @@ include $(UTSBASE)/sparc/Makefile.sparc INC_PATH += -I$(UTSBASE)/common/io/ixgbe INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-switch -CERRWARN += $(CNOWARN_UNINIT) -CERRWARN += -_gcc=-Wno-unused-value -CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED - # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,9 +65,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) INC_PATH += -I$(CONF_SRCDIR) # -# 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 +CERRWARN += -_gcc=-Wno-switch +CERRWARN += $(CNOWARN_UNINIT) +CERRWARN += -_gcc=-Wno-unused-value +CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED # # Turn on doubleword alignment for 64 bit registers @@ -100,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/sparc/javaexec/Makefile b/usr/src/uts/sparc/javaexec/Makefile index 7b25a52726..6923b4d181 100644 --- a/usr/src/uts/sparc/javaexec/Makefile +++ b/usr/src/uts/sparc/javaexec/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = javaexec OBJECTS = $(JAVAEXEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JAVAEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE) # @@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses # 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/sparc/kaio/Makefile b/usr/src/uts/sparc/kaio/Makefile index 41f948fc03..8961401729 100644 --- a/usr/src/uts/sparc/kaio/Makefile +++ b/usr/src/uts/sparc/kaio/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kaio OBJECTS = $(KAIO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KAIO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,18 +61,11 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DKAIO_MODULE CLEANFILES += $(MODSTUBS_O) # -# 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 += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) @@ -92,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/sparc/kb8042/Makefile b/usr/src/uts/sparc/kb8042/Makefile index 258a09323a..efe5750d43 100644 --- a/usr/src/uts/sparc/kb8042/Makefile +++ b/usr/src/uts/sparc/kb8042/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = kb8042 OBJECTS = $(KB8042_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KB8042_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -54,15 +53,13 @@ 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. +# 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/sparc/kbtrans/Makefile b/usr/src/uts/sparc/kbtrans/Makefile index 0669817680..fb9512b47a 100644 --- a/usr/src/uts/sparc/kbtrans/Makefile +++ b/usr/src/uts/sparc/kbtrans/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = kbtrans OBJECTS = $(KBTRANS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KBTRANS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,26 +49,18 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-empty-body CERRWARN += -_gcc=-Wno-unused-braces @@ -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/sparc/kcf/Makefile b/usr/src/uts/sparc/kcf/Makefile index 7d7eee4c01..cdd8cfdae5 100644 --- a/usr/src/uts/sparc/kcf/Makefile +++ b/usr/src/uts/sparc/kcf/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = kcf OBJECTS = $(KCF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KCF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,20 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# Linkage dependencies -# +CFLAGS += -I$(COM_DIR) # -# 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) - -LINTTAGS += -I$(COM_DIR) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) 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/sparc/keysock/Makefile b/usr/src/uts/sparc/keysock/Makefile index f73ad4e981..9c7a524d1b 100644 --- a/usr/src/uts/sparc/keysock/Makefile +++ b/usr/src/uts/sparc/keysock/Makefile @@ -25,7 +25,7 @@ # # -# This makefile drives the production of the keysock driver +# This makefile drives the production of the keysock driver # kernel module. # # sparc architecture dependent @@ -41,7 +41,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 @@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -64,20 +62,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) LDFLAGS += -dy -Ndrv/ip # -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable # @@ -93,12 +82,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/sparc/kgssapi/Makefile b/usr/src/uts/sparc/kgssapi/Makefile index 3e25d28a02..315d1df70b 100644 --- a/usr/src/uts/sparc/kgssapi/Makefile +++ b/usr/src/uts/sparc/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,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Define dependencies on rpc, rpcsec, and tlimod # 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += $(CNOWARN_UNINIT) @@ -86,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/sparc/kiconv_emea/Makefile b/usr/src/uts/sparc/kiconv_emea/Makefile index 4afc3065c1..e974575042 100644 --- a/usr/src/uts/sparc/kiconv_emea/Makefile +++ b/usr/src/uts/sparc/kiconv_emea/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/kiconv_ja/Makefile b/usr/src/uts/sparc/kiconv_ja/Makefile index de9f8e0559..a7c5252688 100644 --- a/usr/src/uts/sparc/kiconv_ja/Makefile +++ b/usr/src/uts/sparc/kiconv_ja/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/kiconv_ja/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_ja kernel module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = kiconv_ja OBJECTS = $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/kiconv_ko/Makefile b/usr/src/uts/sparc/kiconv_ko/Makefile index 066b2398ba..7af6f50f72 100644 --- a/usr/src/uts/sparc/kiconv_ko/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/kiconv_sc/Makefile b/usr/src/uts/sparc/kiconv_sc/Makefile index b658e00830..c74c128975 100755 --- a/usr/src/uts/sparc/kiconv_sc/Makefile +++ b/usr/src/uts/sparc/kiconv_sc/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/kiconv_tc/Makefile b/usr/src/uts/sparc/kiconv_tc/Makefile index a04c0f0e50..afaae26122 100755 --- a/usr/src/uts/sparc/kiconv_tc/Makefile +++ b/usr/src/uts/sparc/kiconv_tc/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/klmmod/Makefile b/usr/src/uts/sparc/klmmod/Makefile index a3523ab775..955c4289be 100644 --- a/usr/src/uts/sparc/klmmod/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/klmops/Makefile b/usr/src/uts/sparc/klmops/Makefile index be0b805e5e..6a85e677c0 100644 --- a/usr/src/uts/sparc/klmops/Makefile +++ b/usr/src/uts/sparc/klmops/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = klmops OBJECTS = $(KLMOPS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KLMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/kmdb/Makefile b/usr/src/uts/sparc/kmdb/Makefile index 927e043bf6..ba6242f049 100644 --- a/usr/src/uts/sparc/kmdb/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc 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)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/kmech_dummy/Makefile b/usr/src/uts/sparc/kmech_dummy/Makefile index f8ea726961..08b84ccec1 100644 --- a/usr/src/uts/sparc/kmech_dummy/Makefile +++ b/usr/src/uts/sparc/kmech_dummy/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = kmech_dummy OBJECTS = $(KGSS_DUMMY_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KGSS_DUMMY_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE) # @@ -52,13 +51,9 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # Define dependency on kgssapi @@ -78,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/sparc/kmech_krb5/Makefile b/usr/src/uts/sparc/kmech_krb5/Makefile index dc76bb0d91..8eec486ca3 100644 --- a/usr/src/uts/sparc/kmech_krb5/Makefile +++ b/usr/src/uts/sparc/kmech_krb5/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = kmech_krb5 OBJECTS = $(KGSS_KRB5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(KGSS_KRB5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE) # @@ -51,32 +50,24 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Define dependencies on kgssapi and md5 # LDFLAGS += -dy -N misc/kgssapi -N crypto/md5 -CERRWARN += -_gcc=-Wno-unused-function -CERRWARN += -_gcc=-Wno-unused-label -CERRWARN += $(CNOWARN_UNINIT) -CERRWARN += -_gcc=-Wno-parentheses # -# 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 -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED +CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += -_gcc=-Wno-unused-label +CERRWARN += $(CNOWARN_UNINIT) +CERRWARN += -_gcc=-Wno-parentheses # # Default build targets. @@ -91,12 +82,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 @@ -107,9 +92,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/sparc/ksocket/Makefile b/usr/src/uts/sparc/ksocket/Makefile index 287a7cfda6..3128fc1819 100644 --- a/usr/src/uts/sparc/ksocket/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/kssl/Makefile b/usr/src/uts/sparc/kssl/Makefile index 566bbeb13a..4adf733e15 100644 --- a/usr/src/uts/sparc/kssl/Makefile +++ b/usr/src/uts/sparc/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,26 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -88,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/sparc/ksslf/Makefile b/usr/src/uts/sparc/ksslf/Makefile index a65199e8ec..4bf5cb72a9 100644 --- a/usr/src/uts/sparc/ksslf/Makefile +++ b/usr/src/uts/sparc/ksslf/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the kssl socket filter +# This makefile drives the production of the kssl socket filter # kernel module. # # sparc architecture dependent @@ -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)/sparc/Makefile.sparc # 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/sparc/kstat/Makefile b/usr/src/uts/sparc/kstat/Makefile index efe30fdacd..8426fa58aa 100644 --- a/usr/src/uts/sparc/kstat/Makefile +++ b/usr/src/uts/sparc/kstat/Makefile @@ -40,7 +40,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 @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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 += $(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) # diff --git a/usr/src/uts/sparc/ksyms/Makefile b/usr/src/uts/sparc/ksyms/Makefile index 34ba77de3f..7eda6dfc1b 100644 --- a/usr/src/uts/sparc/ksyms/Makefile +++ b/usr/src/uts/sparc/ksyms/Makefile @@ -41,7 +41,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 @@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/ldterm/Makefile b/usr/src/uts/sparc/ldterm/Makefile index 82f018cb9c..cdcafc0073 100644 --- a/usr/src/uts/sparc/ldterm/Makefile +++ b/usr/src/uts/sparc/ldterm/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ldterm OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LDTERM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,13 +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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON 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/sparc/llc1/Makefile b/usr/src/uts/sparc/llc1/Makefile index 5cc83a519b..278d1a5c41 100644 --- a/usr/src/uts/sparc/llc1/Makefile +++ b/usr/src/uts/sparc/llc1/Makefile @@ -34,7 +34,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 @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -56,12 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_PTRDIFF_OVERFLOW CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/lockstat/Makefile b/usr/src/uts/sparc/lockstat/Makefile index bc2c04ff53..d4c5d251c4 100644 --- a/usr/src/uts/sparc/lockstat/Makefile +++ b/usr/src/uts/sparc/lockstat/Makefile @@ -23,19 +23,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)/sparc/Makefile.sparc @@ -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/sparc/lofi/Makefile b/usr/src/uts/sparc/lofi/Makefile index 6fa0f0b8e0..28c1d4e1bd 100644 --- a/usr/src/uts/sparc/lofi/Makefile +++ b/usr/src/uts/sparc/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 @@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) LDFLAGS += -dy -Nmisc/cmlb @@ -60,7 +58,7 @@ CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) -INC_PATH += -I$(SRC)/common/lzma +INC_PATH += -I$(SRC)/common/lzma # # Default build targets. @@ -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/sparc/lofs/Makefile b/usr/src/uts/sparc/lofs/Makefile index ec0a876cb1..7be801ec0a 100644 --- a/usr/src/uts/sparc/lofs/Makefile +++ b/usr/src/uts/sparc/lofs/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = lofs OBJECTS = $(LOFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses # 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/sparc/log/Makefile b/usr/src/uts/sparc/log/Makefile index f76f3563fd..f821364c09 100644 --- a/usr/src/uts/sparc/log/Makefile +++ b/usr/src/uts/sparc/log/Makefile @@ -19,13 +19,12 @@ # CDDL HEADER END # # -# uts/sparc/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. # # sparc implementation architecture dependent @@ -41,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 @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,20 +61,9 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DLOG_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -90,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/sparc/logindmux/Makefile b/usr/src/uts/sparc/logindmux/Makefile index 179e66f20b..fede6266b4 100644 --- a/usr/src/uts/sparc/logindmux/Makefile +++ b/usr/src/uts/sparc/logindmux/Makefile @@ -21,7 +21,7 @@ # 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. @@ -39,7 +39,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 @@ -52,20 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - -# # Default build targets. # .KEEP_STATE: @@ -78,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/sparc/mac/Makefile b/usr/src/uts/sparc/mac/Makefile index c5fcd87bb7..99ccc04b62 100644 --- a/usr/src/uts/sparc/mac/Makefile +++ b/usr/src/uts/sparc/mac/Makefile @@ -23,7 +23,7 @@ # Use is subject to license terms. # # -# This makefile drives the production of the mac driver +# This makefile drives the production of the mac driver # kernel module. # # sparc architecture dependent @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = mac OBJECTS = $(MAC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,14 +60,12 @@ $(RELEASE_BUILD)COPTIMIZE = -xO5 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) -CERRWARN += -_gcc=-Wno-type-limits -CERRWARN += -_gcc=-Wno-switch -CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-unused-label +CERRWARN += $(CNOWARN_UNINIT) +CERRWARN += -_gcc=-Wno-type-limits +CERRWARN += -_gcc=-Wno-switch +CERRWARN += -_gcc=-Wno-unused-variable # # Default build targets. @@ -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/sparc/mac_6to4/Makefile b/usr/src/uts/sparc/mac_6to4/Makefile index b9f87dc2f7..ba2d62844f 100644 --- a/usr/src/uts/sparc/mac_6to4/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/mac_ether/Makefile b/usr/src/uts/sparc/mac_ether/Makefile index 3ec066d4c6..691a3eea97 100644 --- a/usr/src/uts/sparc/mac_ether/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/mac_ib/Makefile b/usr/src/uts/sparc/mac_ib/Makefile index 339b88fb6b..6ead65146c 100644 --- a/usr/src/uts/sparc/mac_ib/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/mac_ipv4/Makefile b/usr/src/uts/sparc/mac_ipv4/Makefile index f9d0b1f58b..7804ed49db 100644 --- a/usr/src/uts/sparc/mac_ipv4/Makefile +++ b/usr/src/uts/sparc/mac_ipv4/Makefile @@ -23,7 +23,7 @@ # 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. # @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = mac_ipv4 OBJECTS = $(MAC_IPV4_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MAC_IPV4_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 -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/sparc/mac_ipv6/Makefile b/usr/src/uts/sparc/mac_ipv6/Makefile index b726e67c63..054132aaf2 100644 --- a/usr/src/uts/sparc/mac_ipv6/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/mac_wifi/Makefile b/usr/src/uts/sparc/mac_wifi/Makefile index 66dcd3ac3f..5139478337 100644 --- a/usr/src/uts/sparc/mac_wifi/Makefile +++ b/usr/src/uts/sparc/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/sparc/md4/Makefile b/usr/src/uts/sparc/md4/Makefile index ab13ec964f..1bda5d5010 100644 --- a/usr/src/uts/sparc/md4/Makefile +++ b/usr/src/uts/sparc/md4/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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,24 +55,13 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) 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: @@ -88,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/sparc/md5/Makefile b/usr/src/uts/sparc/md5/Makefile index 64d71ba216..a65fbda29f 100644 --- a/usr/src/uts/sparc/md5/Makefile +++ b/usr/src/uts/sparc/md5/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = md5 OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -57,12 +56,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -83,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) diff --git a/usr/src/uts/sparc/mii/Makefile b/usr/src/uts/sparc/mii/Makefile index 3dce507659..91f9c3b7c0 100644 --- a/usr/src/uts/sparc/mii/Makefile +++ b/usr/src/uts/sparc/mii/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = mii OBJECTS = $(MII_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -N misc/mac @@ -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/sparc/mm/Makefile b/usr/src/uts/sparc/mm/Makefile index 9382e2d30e..0ab1e988f4 100644 --- a/usr/src/uts/sparc/mm/Makefile +++ b/usr/src/uts/sparc/mm/Makefile @@ -40,7 +40,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 @@ -53,21 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-clobbered @@ -84,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/sparc/mntfs/Makefile b/usr/src/uts/sparc/mntfs/Makefile index 5dec303245..e661fe8f56 100644 --- a/usr/src/uts/sparc/mntfs/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O) 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 @@ -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/sparc/mouse8042/Makefile b/usr/src/uts/sparc/mouse8042/Makefile index be8ec6689c..fd679c1e53 100644 --- a/usr/src/uts/sparc/mouse8042/Makefile +++ b/usr/src/uts/sparc/mouse8042/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = mouse8042 OBJECTS = $(MOUSE8042_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MOUSE8042_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,17 +49,15 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 @@ -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/sparc/mpt_sas/Makefile b/usr/src/uts/sparc/mpt_sas/Makefile index b63d1b04f4..63f88dd052 100644 --- a/usr/src/uts/sparc/mpt_sas/Makefile +++ b/usr/src/uts/sparc/mpt_sas/Makefile @@ -36,7 +36,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 @@ -49,7 +48,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) # @@ -58,10 +56,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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 += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch @@ -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/sparc/mr_sas/Makefile b/usr/src/uts/sparc/mr_sas/Makefile index 3429251238..63a40b356e 100644 --- a/usr/src/uts/sparc/mr_sas/Makefile +++ b/usr/src/uts/sparc/mr_sas/Makefile @@ -38,7 +38,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 @@ -51,14 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -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 += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -69,12 +68,12 @@ CERRWARN += $(CNOWARN_UNINIT) CFLAGS += -dalign # -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi # -# Overrides +# Overrides # # @@ -90,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/sparc/ms/Makefile b/usr/src/uts/sparc/ms/Makefile index d06232df74..5c28ee5516 100644 --- a/usr/src/uts/sparc/ms/Makefile +++ b/usr/src/uts/sparc/ms/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/ms/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 ms streams kernel # module. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = ms OBJECTS = $(MS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,21 +51,12 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. -# -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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -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/sparc/msgsys/Makefile b/usr/src/uts/sparc/msgsys/Makefile index a16e294bea..ea285208b8 100644 --- a/usr/src/uts/sparc/msgsys/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,11 +59,10 @@ CFLAGS += $(CCVERBOSE) 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) @@ -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/sparc/mxfe/Makefile b/usr/src/uts/sparc/mxfe/Makefile index 17c7174a5c..480b3a9c0d 100644 --- a/usr/src/uts/sparc/mxfe/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/myri10ge/Makefile b/usr/src/uts/sparc/myri10ge/Makefile index 333e5c4bab..1255295bfd 100644 --- a/usr/src/uts/sparc/myri10ge/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides # -LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED #COPTIMIZE = -xO4 @@ -80,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/sparc/namefs/Makefile b/usr/src/uts/sparc/namefs/Makefile index 5a00eac980..b21a1c42c1 100644 --- a/usr/src/uts/sparc/namefs/Makefile +++ b/usr/src/uts/sparc/namefs/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = namefs OBJECTS = $(NAMEFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NAMEFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -56,7 +55,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/sparc/nca/Makefile b/usr/src/uts/sparc/nca/Makefile index fd7a3102b3..b569b8a443 100644 --- a/usr/src/uts/sparc/nca/Makefile +++ b/usr/src/uts/sparc/nca/Makefile @@ -19,14 +19,12 @@ # CDDL HEADER END # # -# uts/sparc/nca/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 nca driver +# This makefile drives the production of the nca driver # kernel module. # # sparc architecture dependent @@ -42,7 +40,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 @@ -56,24 +53,13 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# 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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/net_dacf/Makefile b/usr/src/uts/sparc/net_dacf/Makefile index 5dfe832d72..454bc88922 100644 --- a/usr/src/uts/sparc/net_dacf/Makefile +++ b/usr/src/uts/sparc/net_dacf/Makefile @@ -19,12 +19,9 @@ # CDDL HEADER END # # -# uts/sparc/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,9 +40,6 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/softmac @@ -54,7 +47,6 @@ LDFLAGS += -dy -Ndrv/softmac # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -67,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/sparc/neti/Makefile b/usr/src/uts/sparc/neti/Makefile index 2520b77173..9e0a7dce60 100644 --- a/usr/src/uts/sparc/neti/Makefile +++ b/usr/src/uts/sparc/neti/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = neti OBJECTS = $(NETI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NETI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/hook @@ -74,12 +69,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/sparc/nfs/Makefile b/usr/src/uts/sparc/nfs/Makefile index 4e85d846a5..fd17de0071 100644 --- a/usr/src/uts/sparc/nfs/Makefile +++ b/usr/src/uts/sparc/nfs/Makefile @@ -41,7 +41,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) @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -71,16 +69,10 @@ CFLAGS += $(CCVERBOSE) 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 @@ -104,12 +96,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/sparc/nfs_dlboot/Makefile b/usr/src/uts/sparc/nfs_dlboot/Makefile index 27e68a8180..e312e01bed 100644 --- a/usr/src/uts/sparc/nfs_dlboot/Makefile +++ b/usr/src/uts/sparc/nfs_dlboot/Makefile @@ -43,7 +43,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) # @@ -55,23 +54,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. # CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -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 CERRWARN += -_gcc=-Wno-parentheses @@ -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/sparc/nfssrv/Makefile b/usr/src/uts/sparc/nfssrv/Makefile index b0dfc398d2..718b706a46 100644 --- a/usr/src/uts/sparc/nfssrv/Makefile +++ b/usr/src/uts/sparc/nfssrv/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = nfssrv OBJECTS = $(NFSSRV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NFSSRV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,15 +62,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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits @@ -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/sparc/nsmb/Makefile b/usr/src/uts/sparc/nsmb/Makefile index 7100a34dd9..4393989975 100644 --- a/usr/src/uts/sparc/nsmb/Makefile +++ b/usr/src/uts/sparc/nsmb/Makefile @@ -39,7 +39,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(ALL_TARGET_$(OBJS_DIR)) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(INSTALL_TARGET_$(OBJS_DIR)) # @@ -87,17 +85,15 @@ 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 - -# 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 +# +# 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 # # Default build targets. @@ -112,12 +108,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/nulldriver/Makefile b/usr/src/uts/sparc/nulldriver/Makefile index e49222c0a7..0a9c8873b7 100644 --- a/usr/src/uts/sparc/nulldriver/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/objfs/Makefile b/usr/src/uts/sparc/objfs/Makefile index 9a0845e331..ef6dd87226 100644 --- a/usr/src/uts/sparc/objfs/Makefile +++ b/usr/src/uts/sparc/objfs/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = objfs OBJECTS = $(OBJFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OBJFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,12 +59,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 @@ -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/sparc/oce/Makefile b/usr/src/uts/sparc/oce/Makefile index 375aba9280..59f832dcdf 100644 --- a/usr/src/uts/sparc/oce/Makefile +++ b/usr/src/uts/sparc/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/sparc/ohci/Makefile b/usr/src/uts/sparc/ohci/Makefile index 3c0ee37ec4..0dc38836f4 100644 --- a/usr/src/uts/sparc/ohci/Makefile +++ b/usr/src/uts/sparc/ohci/Makefile @@ -40,7 +40,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 @@ -50,11 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci include $(UTSBASE)/sparc/Makefile.sparc # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/usba # LDFLAGS += -dy -Nmisc/usba @@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -CERRWARN += $(CNOWARN_UNINIT) - # -# 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) .KEEP_STATE: @@ -85,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/sparc/openeepr/Makefile b/usr/src/uts/sparc/openeepr/Makefile index b536c6c58c..7919dcb4fc 100644 --- a/usr/src/uts/sparc/openeepr/Makefile +++ b/usr/src/uts/sparc/openeepr/Makefile @@ -40,7 +40,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 @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) @@ -64,12 +62,10 @@ CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) # -# 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 # # Default build targets. @@ -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/sparc/options/Makefile b/usr/src/uts/sparc/options/Makefile index 2df03f78bf..b688548af7 100644 --- a/usr/src/uts/sparc/options/Makefile +++ b/usr/src/uts/sparc/options/Makefile @@ -24,7 +24,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 options driver kernel module. # @@ -41,7 +41,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/pcfs/Makefile b/usr/src/uts/sparc/pcfs/Makefile index 59c53e2458..007789bcae 100644 --- a/usr/src/uts/sparc/pcfs/Makefile +++ b/usr/src/uts/sparc/pcfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pcfs OBJECTS = $(PCFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -68,16 +66,10 @@ CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-function # -# 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. @@ -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/sparc/pci_pci/Makefile b/usr/src/uts/sparc/pci_pci/Makefile index b9fd029289..ad2fab1bc7 100644 --- a/usr/src/uts/sparc/pci_pci/Makefile +++ b/usr/src/uts/sparc/pci_pci/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = pci_pci OBJECTS = $(PCI_PCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCI_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,12 +48,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/pci.il - # # Include sun4u and sun4 specific headers files # @@ -62,22 +57,16 @@ INC_PATH += -I$(UTSBASE)/sun4u INC_PATH += -I$(UTSBASE)/sun4 # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# 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-switch CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-value @@ -100,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/sparc/pcic/Makefile b/usr/src/uts/sparc/pcic/Makefile index 93e2eb1198..a843e06d9c 100644 --- a/usr/src/uts/sparc/pcic/Makefile +++ b/usr/src/uts/sparc/pcic/Makefile @@ -40,7 +40,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 @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -66,31 +64,23 @@ INC_PATH += -I$(UTSBASE)/sun4u # DEF_BUILDS = $(DEF_BUILDS64) ALL_BUILDS = $(ALL_BUILDS64) -CLEANLINTFILES += $(LINT64_FILES) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) CPPFLAGS += -DCARDBUS -DHOTPLUG # dependency LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-unused-variable -CERRWARN += -_gcc=-Wno-unused-function -CERRWARN += $(CNOWARN_UNINIT) # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON +CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += $(CNOWARN_UNINIT) # # Default build targets. @@ -105,12 +95,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/sparc/pcicfg/Makefile b/usr/src/uts/sparc/pcicfg/Makefile index b403c87670..025f182278 100644 --- a/usr/src/uts/sparc/pcicfg/Makefile +++ b/usr/src/uts/sparc/pcicfg/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = pcicfg OBJECTS = $(PCICFG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCICFG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,15 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # INC_PATH += -I$(UTSBASE)/sun4 - -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/pcicfg.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # @@ -78,14 +67,11 @@ CFLAGS += -dalign -DPCICFG_INTERPRET_FCODE LDFLAGS += -dy -Nmisc/busra -Nmisc/fcpci -Nmisc/fcodem -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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-unused-variable @@ -104,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/sparc/pcieb/Makefile b/usr/src/uts/sparc/pcieb/Makefile index 9e2785998d..817f75bf76 100644 --- a/usr/src/uts/sparc/pcieb/Makefile +++ b/usr/src/uts/sparc/pcieb/Makefile @@ -37,9 +37,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = pcieb +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/ @@ -52,22 +51,15 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# Enable PLX workaround code and lint duplicate symbol -# avoidance hack +# Enable PLX workaround code # CPPFLAGS += -DPX_PLX @@ -77,13 +69,11 @@ CPPFLAGS += -DPX_PLX LDFLAGS += -dy -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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-unused-variable @@ -100,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/sparc/pcieb_bcm/Makefile b/usr/src/uts/sparc/pcieb_bcm/Makefile index f1e7efe3a6..2f63cad7e7 100644 --- a/usr/src/uts/sparc/pcieb_bcm/Makefile +++ b/usr/src/uts/sparc/pcieb_bcm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = pcieb_bcm OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,22 +51,15 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# Enable Broadcom 5714/5715 workaround code and lint duplicate symbol -# avoidance hack +# Enable Broadcom 5714/5715 workaround code # CPPFLAGS += -DPCIEB_BCM -DPX_MOD_NAME=pcieb_bcm @@ -77,14 +69,11 @@ CPPFLAGS += -DPCIEB_BCM -DPX_MOD_NAME=pcieb_bcm LDFLAGS += -dy -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_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-type-limits @@ -102,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/sparc/pcihp/Makefile b/usr/src/uts/sparc/pcihp/Makefile index 2ab823fe58..fb26a9c4a0 100644 --- a/usr/src/uts/sparc/pcihp/Makefile +++ b/usr/src/uts/sparc/pcihp/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = pcihp OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCIHPNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -71,14 +66,6 @@ CLEANFILES += $(MODSTUBS_O) LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc -Nmisc/pcicfg # -# 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_SUSPICIOUS_COMPARISON - -# # Default build targets. # .KEEP_STATE: @@ -91,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/sparc/pckt/Makefile b/usr/src/uts/sparc/pckt/Makefile index 707f3571bb..6a8108a3c0 100644 --- a/usr/src/uts/sparc/pckt/Makefile +++ b/usr/src/uts/sparc/pckt/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pckt OBJECTS = $(PCKT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCKT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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_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/sparc/pcmcia/Makefile b/usr/src/uts/sparc/pcmcia/Makefile index e8d67d5fdb..72f41f84a2 100644 --- a/usr/src/uts/sparc/pcmcia/Makefile +++ b/usr/src/uts/sparc/pcmcia/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = pcmcia OBJECTS = $(PCMCIA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCMCIA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,29 +58,21 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DPCMCIA_MODULE CLEANFILES += $(MODSTUBS_O) -CLEANLINTFILES += $(LINT64_FILES) # # Include sun4 specific header files # INC_PATH += -I$(UTSBASE)/sun4 -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # dependency LDFLAGS += -dy -Nmisc/busra # -# 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) CERRWARN += -_gcc=-Wno-parentheses @@ -99,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/sparc/pcs/Makefile b/usr/src/uts/sparc/pcs/Makefile index dd59e130c9..b46bc8de9f 100644 --- a/usr/src/uts/sparc/pcs/Makefile +++ b/usr/src/uts/sparc/pcs/Makefile @@ -20,11 +20,9 @@ # CDDL HEADER END # # -# uts/sparc/pcs/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 DoRight driver kernel module. # @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = pcs OBJECTS = $(PCS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,11 +57,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # DEF_BUILDS = $(DEF_BUILDS64) ALL_BUILDS = $(ALL_BUILDS64) -CLEANLINTFILES += $(LINT64_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # Include common targets. diff --git a/usr/src/uts/sparc/pfmod/Makefile b/usr/src/uts/sparc/pfmod/Makefile index 519aae73ee..02dea98af2 100644 --- a/usr/src/uts/sparc/pfmod/Makefile +++ b/usr/src/uts/sparc/pfmod/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = pfmod OBJECTS = $(PFMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -52,23 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# 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: @@ -81,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/sparc/physmem/Makefile b/usr/src/uts/sparc/physmem/Makefile index adeb15139b..5b5e889dc2 100644 --- a/usr/src/uts/sparc/physmem/Makefile +++ b/usr/src/uts/sparc/physmem/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 mm driver # @@ -40,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 @@ -53,12 +51,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/pipe/Makefile b/usr/src/uts/sparc/pipe/Makefile index ab513f2ba4..81deef4e86 100644 --- a/usr/src/uts/sparc/pipe/Makefile +++ b/usr/src/uts/sparc/pipe/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = pipe OBJECTS = $(PIPE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PIPE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,10 +62,7 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DPIPE_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # Define dependency on fifofs @@ -87,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/sparc/pipemod/Makefile b/usr/src/uts/sparc/pipemod/Makefile index e236cd9563..41ceff403e 100644 --- a/usr/src/uts/sparc/pipemod/Makefile +++ b/usr/src/uts/sparc/pipemod/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/pipemod/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 pipemod streams kernel # module. @@ -42,7 +41,6 @@ UTSBASE = ../.. # MODULE = pipemod OBJECTS = $(PIPEMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PIPEMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/sparc/pm/Makefile b/usr/src/uts/sparc/pm/Makefile index ce992428df..5e26fe0645 100644 --- a/usr/src/uts/sparc/pm/Makefile +++ b/usr/src/uts/sparc/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,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) 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 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/sparc/pmcs/Makefile b/usr/src/uts/sparc/pmcs/Makefile index 6689465afd..9e98596643 100644 --- a/usr/src/uts/sparc/pmcs/Makefile +++ b/usr/src/uts/sparc/pmcs/Makefile @@ -36,7 +36,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 @@ -49,7 +48,6 @@ LDFLAGS += -dy -Nmisc/scsi # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/pmcs8001fw/Makefile b/usr/src/uts/sparc/pmcs8001fw/Makefile index 58eb229918..aaa0b0af5b 100644 --- a/usr/src/uts/sparc/pmcs8001fw/Makefile +++ b/usr/src/uts/sparc/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/sparc/poll/Makefile b/usr/src/uts/sparc/poll/Makefile index af97f9371f..7cd01a7d1f 100644 --- a/usr/src/uts/sparc/poll/Makefile +++ b/usr/src/uts/sparc/poll/Makefile @@ -34,7 +34,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 @@ -47,21 +46,17 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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) # -# See uts/intel/poll/Makefile for why this is necessary. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -74,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/sparc/pool/Makefile b/usr/src/uts/sparc/pool/Makefile index 67fa67d965..fdb44c2588 100644 --- a/usr/src/uts/sparc/pool/Makefile +++ b/usr/src/uts/sparc/pool/Makefile @@ -19,12 +19,9 @@ # CDDL HEADER END # # -# uts/sparc/pool/Makefile -# # Copyright 2006 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 = pool OBJECTS = $(DEVPOOL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DEVPOOL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -49,22 +45,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -77,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/sparc/portfs/Makefile b/usr/src/uts/sparc/portfs/Makefile index faad9243ee..683785c905 100644 --- a/usr/src/uts/sparc/portfs/Makefile +++ b/usr/src/uts/sparc/portfs/Makefile @@ -42,7 +42,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) # @@ -55,24 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) 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_ASSIGN_NARROW_CONV CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -90,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/sparc/pppt/Makefile b/usr/src/uts/sparc/pppt/Makefile index d4d4dcbdbf..fd2e3d3aec 100644 --- a/usr/src/uts/sparc/pppt/Makefile +++ b/usr/src/uts/sparc/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/sparc/profile/Makefile b/usr/src/uts/sparc/profile/Makefile index d9e7475786..a23f125d2a 100644 --- a/usr/src/uts/sparc/profile/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) @@ -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/sparc/pset/Makefile b/usr/src/uts/sparc/pset/Makefile index be14b6f094..7986029140 100644 --- a/usr/src/uts/sparc/pset/Makefile +++ b/usr/src/uts/sparc/pset/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/pset/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 pset system call module. # @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = pset OBJECTS = $(PSET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PSET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DPSET_MODULE CLEANFILES += $(MODSTUBS_O) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/pseudo/Makefile b/usr/src/uts/sparc/pseudo/Makefile index 5b6ecb8fd6..0d4a6e187c 100644 --- a/usr/src/uts/sparc/pseudo/Makefile +++ b/usr/src/uts/sparc/pseudo/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/pseudo/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 pseudo driver # @@ -41,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 @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -75,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/sparc/pshot/Makefile b/usr/src/uts/sparc/pshot/Makefile index e0fc89d2d8..eca9ca31dc 100644 --- a/usr/src/uts/sparc/pshot/Makefile +++ b/usr/src/uts/sparc/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 @@ -54,21 +53,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_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable @@ -85,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/sparc/ptc/Makefile b/usr/src/uts/sparc/ptc/Makefile index c26fc502cf..b0f04a8f6d 100644 --- a/usr/src/uts/sparc/ptc/Makefile +++ b/usr/src/uts/sparc/ptc/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 # @@ -40,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 @@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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. -# 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: @@ -82,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/sparc/ptem/Makefile b/usr/src/uts/sparc/ptem/Makefile index 0031ebe676..267d22277f 100644 --- a/usr/src/uts/sparc/ptem/Makefile +++ b/usr/src/uts/sparc/ptem/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ptem OBJECTS = $(PTEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PTEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses 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/sparc/ptm/Makefile b/usr/src/uts/sparc/ptm/Makefile index 6ecbacacca..877327ab44 100644 --- a/usr/src/uts/sparc/ptm/Makefile +++ b/usr/src/uts/sparc/ptm/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 # @@ -40,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 @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -81,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/sparc/pts/Makefile b/usr/src/uts/sparc/pts/Makefile index 725ceec33c..5a148c0249 100644 --- a/usr/src/uts/sparc/pts/Makefile +++ b/usr/src/uts/sparc/pts/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 # @@ -40,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 @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_BAD_PTR_CAST_ALIGN - -# # Default build targets. # .KEEP_STATE: @@ -81,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/sparc/ptsl/Makefile b/usr/src/uts/sparc/ptsl/Makefile index e1587285d7..028bc70104 100644 --- a/usr/src/uts/sparc/ptsl/Makefile +++ b/usr/src/uts/sparc/ptsl/Makefile @@ -39,7 +39,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 @@ -52,28 +51,20 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Define dependency on ptc # LDFLAGS += -dy -N drv/ptc -CERRWARN += -_gcc=-Wno-parentheses - # -# 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-parentheses # # Default build targets. @@ -88,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/sparc/qfe/Makefile b/usr/src/uts/sparc/qfe/Makefile index 99f2d1bc60..5c1c043e49 100644 --- a/usr/src/uts/sparc/qfe/Makefile +++ b/usr/src/uts/sparc/qfe/Makefile @@ -19,10 +19,6 @@ # CDDL HEADER END # # -# uts/sparc/qfe/Makefile -# -# ident "%Z%%M% %I% %E% SMI" -# # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -40,7 +36,6 @@ UTSBASE = ../.. # MODULE = qfe OBJECTS = $(QFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -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/sparc/qlc/Makefile b/usr/src/uts/sparc/qlc/Makefile index 2d492a8baa..11023b0d4b 100644 --- a/usr/src/uts/sparc/qlc/Makefile +++ b/usr/src/uts/sparc/qlc/Makefile @@ -33,7 +33,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 @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,12 +59,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 @@ -94,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/sparc/qlc_fw_2200/Makefile b/usr/src/uts/sparc/qlc_fw_2200/Makefile index 157ad5a558..f1d279475c 100644 --- a/usr/src/uts/sparc/qlc_fw_2200/Makefile +++ b/usr/src/uts/sparc/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,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\" - -# # 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/sparc/qlc_fw_2300/Makefile b/usr/src/uts/sparc/qlc_fw_2300/Makefile index 6bff90a028..d22aaa9f33 100644 --- a/usr/src/uts/sparc/qlc_fw_2300/Makefile +++ b/usr/src/uts/sparc/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,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\" - -# # 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/sparc/qlc_fw_2400/Makefile b/usr/src/uts/sparc/qlc_fw_2400/Makefile index df071e6272..1ca3e62a23 100644 --- a/usr/src/uts/sparc/qlc_fw_2400/Makefile +++ b/usr/src/uts/sparc/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,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\" - -# # 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/sparc/qlc_fw_2500/Makefile b/usr/src/uts/sparc/qlc_fw_2500/Makefile index b4e7836162..abb60cafe7 100644 --- a/usr/src/uts/sparc/qlc_fw_2500/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\" - -# # 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/sparc/qlc_fw_6322/Makefile b/usr/src/uts/sparc/qlc_fw_6322/Makefile index b0b5de9ea7..3104cca7f4 100644 --- a/usr/src/uts/sparc/qlc_fw_6322/Makefile +++ b/usr/src/uts/sparc/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,18 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\" - -# # 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/sparc/qlc_fw_8100/Makefile b/usr/src/uts/sparc/qlc_fw_8100/Makefile index b75487441a..5d4e7199fc 100644 --- a/usr/src/uts/sparc/qlc_fw_8100/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) LDFLAGS += -dy -Nmisc/fctl # -# Lint tags -# -LINTTAGS += -DUNIQUE_FW_NAME -LINTTAGS += -DFW_VERSION_STRING=\"5.00.00\" - -# # 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/sparc/qlge/Makefile b/usr/src/uts/sparc/qlge/Makefile index a823631732..3489a36dd4 100644 --- a/usr/src/uts/sparc/qlge/Makefile +++ b/usr/src/uts/sparc/qlge/Makefile @@ -37,7 +37,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) # @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # 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/sparc/qlt/Makefile b/usr/src/uts/sparc/qlt/Makefile index 16fd3ef9ed..cd5989db35 100644 --- a/usr/src/uts/sparc/qlt/Makefile +++ b/usr/src/uts/sparc/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) # @@ -62,13 +60,9 @@ CFLAGS += -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 += -DUNIQUE_FW_NAME -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/sparc/ramdisk/Makefile b/usr/src/uts/sparc/ramdisk/Makefile index 28d4b32ba3..616797dbe9 100644 --- a/usr/src/uts/sparc/ramdisk/Makefile +++ b/usr/src/uts/sparc/ramdisk/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 ramdisk driver kernel # module. @@ -41,7 +41,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 @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/random/Makefile b/usr/src/uts/sparc/random/Makefile index ca3b92c48a..d18663cace 100644 --- a/usr/src/uts/sparc/random/Makefile +++ b/usr/src/uts/sparc/random/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/random/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 random driver # @@ -41,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 @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,9 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/rds/Makefile b/usr/src/uts/sparc/rds/Makefile index 8e078da5da..deed8207d4 100644 --- a/usr/src/uts/sparc/rds/Makefile +++ b/usr/src/uts/sparc/rds/Makefile @@ -24,7 +24,7 @@ # # -# This makefile drives the production of the rds driver +# This makefile drives the production of the rds driver # kernel module. # # sparc architecture dependent @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = rds OBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds @@ -53,14 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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) - CERRWARN += $(CNOWARN_UNINIT) LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip @@ -78,12 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/rdsib/Makefile b/usr/src/uts/sparc/rdsib/Makefile index 8325150c18..2294658fd4 100644 --- a/usr/src/uts/sparc/rdsib/Makefile +++ b/usr/src/uts/sparc/rdsib/Makefile @@ -24,7 +24,7 @@ # # -# This makefile drives the production of the rds driver +# This makefile drives the production of the rds driver # kernel module. # # sparc architecture dependent @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = rdsib OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds @@ -53,14 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# 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-switch CERRWARN += $(CNOWARN_UNINIT) @@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/rdsv3/Makefile b/usr/src/uts/sparc/rdsv3/Makefile index 42218769c8..d46f687574 100644 --- a/usr/src/uts/sparc/rdsv3/Makefile +++ b/usr/src/uts/sparc/rdsv3/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = rdsv3 OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3 @@ -50,37 +49,22 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement and OS version +# 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, but please do not carry these forward to new +# Makefiles blindly. # -CFLAGS += $(CCVERBOSE) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses -# -# 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 -LINTTAGS += -erroff=E_FUNC_USED_VAR_ARG2 -LINTTAGS += -erroff=E_INCONS_ARG_USED2 - LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs # @@ -96,12 +80,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/redirmod/Makefile b/usr/src/uts/sparc/redirmod/Makefile index 30ab743cb0..b204c03f6f 100644 --- a/usr/src/uts/sparc/redirmod/Makefile +++ b/usr/src/uts/sparc/redirmod/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/redirmod/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 redirmod streams kernel # module. @@ -42,7 +41,6 @@ UTSBASE = ../.. # MODULE = redirmod OBJECTS = $(REDIRMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(REDIRMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -75,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/sparc/rge/Makefile b/usr/src/uts/sparc/rge/Makefile index 48b7f673ed..a57856ab06 100644 --- a/usr/src/uts/sparc/rge/Makefile +++ b/usr/src/uts/sparc/rge/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = rge OBJECTS = $(RGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,15 +49,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -68,17 +61,14 @@ CFLAGS += -dalign # LDFLAGS += -dy -N misc/mac -N drv/ip -CERRWARN += -_gcc=-Wno-switch -CERRWARN += $(CNOWARN_UNINIT) - # -# 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-switch +CERRWARN += $(CNOWARN_UNINIT) # # Default build targets. @@ -93,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/sparc/rlmod/Makefile b/usr/src/uts/sparc/rlmod/Makefile index dc8cdff3a3..b173fa1079 100644 --- a/usr/src/uts/sparc/rlmod/Makefile +++ b/usr/src/uts/sparc/rlmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = rlmod OBJECTS = $(RLMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RLMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -85,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/sparc/rpcib/Makefile b/usr/src/uts/sparc/rpcib/Makefile index 7d8e43ea31..c04744754b 100644 --- a/usr/src/uts/sparc/rpcib/Makefile +++ b/usr/src/uts/sparc/rpcib/Makefile @@ -24,7 +24,7 @@ # # -# This makefile drives the production of the kernel +# This makefile drives the production of the kernel # rpcib module. # # sparc implementation architecture dependent @@ -39,7 +39,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 @@ -52,27 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) @@ -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/sparc/rpcmod/Makefile b/usr/src/uts/sparc/rpcmod/Makefile index e25ca4bb83..d41fe9865c 100644 --- a/usr/src/uts/sparc/rpcmod/Makefile +++ b/usr/src/uts/sparc/rpcmod/Makefile @@ -41,7 +41,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) @@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -69,23 +67,12 @@ CLEANFILES += $(MODSTUBS_O) # LDFLAGS += -dy -Nmisc/tlimod -# -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch @@ -106,12 +93,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/sparc/rpcsec/Makefile b/usr/src/uts/sparc/rpcsec/Makefile index ac2536bc4f..33622281df 100644 --- a/usr/src/uts/sparc/rpcsec/Makefile +++ b/usr/src/uts/sparc/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,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Define dependencies on rpcmod and tlimod # 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -86,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/sparc/rpcsec_gss/Makefile b/usr/src/uts/sparc/rpcsec_gss/Makefile index c75c8e548e..7804e282c3 100644 --- a/usr/src/uts/sparc/rpcsec_gss/Makefile +++ b/usr/src/uts/sparc/rpcsec_gss/Makefile @@ -23,7 +23,7 @@ # Use is subject to license terms. # Copyright (c) 2011 Bayard G. Bell. All rights reserved. # -# This makefile drives the production of the kernel +# This makefile drives the production of the kernel # rpcsec_gss module. # # sparc implementation architecture dependent @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = rpcsec_gss OBJECTS = $(RPCSEC_GSS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(RPCSEC_GSS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -50,28 +49,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Define dependencies on rpcmod and kgssapi # 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -87,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/sparc/rsa/Makefile b/usr/src/uts/sparc/rsa/Makefile index 048e02f81e..691c78da70 100644 --- a/usr/src/uts/sparc/rsa/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,24 +59,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR) +CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR) CFLAGS += -DUMUL64 -LINTFLAGS += -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_SUSPICIOUS_COMPARISON -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -95,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/sparc/rsm/Makefile b/usr/src/uts/sparc/rsm/Makefile index cfd0eccedc..9e34c252fc 100644 --- a/usr/src/uts/sparc/rsm/Makefile +++ b/usr/src/uts/sparc/rsm/Makefile @@ -25,7 +25,7 @@ # # -# 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). @@ -35,9 +35,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 @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,11 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # INC_PATH += -I $(UTSBASE)/common/sys/rsm -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # depends on rsmops # @@ -75,14 +68,11 @@ 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses @@ -99,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/sparc/rsmops/Makefile b/usr/src/uts/sparc/rsmops/Makefile index de0d4740d2..9fc7bba9d4 100644 --- a/usr/src/uts/sparc/rsmops/Makefile +++ b/usr/src/uts/sparc/rsmops/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -59,9 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # INC_PATH += -I $(UTSBASE)/common/sys/rsm -# -# 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/sparc/rtls/Makefile b/usr/src/uts/sparc/rtls/Makefile index 6a9e60d6a3..92aa45954b 100644 --- a/usr/src/uts/sparc/rtls/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/rts/Makefile b/usr/src/uts/sparc/rts/Makefile index 4078c24237..b552f71e9b 100644 --- a/usr/src/uts/sparc/rts/Makefile +++ b/usr/src/uts/sparc/rts/Makefile @@ -38,7 +38,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 @@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -73,15 +68,6 @@ CFLAGS += $(CCVERBOSE) 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 - -# # Default build targets. # .KEEP_STATE: @@ -94,12 +80,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/sparc/s1394/Makefile b/usr/src/uts/sparc/s1394/Makefile index 67e21511cd..e9c197f309 100644 --- a/usr/src/uts/sparc/s1394/Makefile +++ b/usr/src/uts/sparc/s1394/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = s1394 OBJECTS = $(S1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(S1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,28 +59,16 @@ 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 -# -# 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 += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-variable @@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/sad/Makefile b/usr/src/uts/sparc/sad/Makefile index f55534c3e7..3c605aed95 100644 --- a/usr/src/uts/sparc/sad/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,12 +62,10 @@ CLEANFILES += $(MODSTUBS_O) 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_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/sata/Makefile b/usr/src/uts/sparc/sata/Makefile index 71ed1be9ae..d3726c78f4 100644 --- a/usr/src/uts/sparc/sata/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/sbp2/Makefile b/usr/src/uts/sparc/sbp2/Makefile index 7d3db7b1d2..79248a1ced 100644 --- a/usr/src/uts/sparc/sbp2/Makefile +++ b/usr/src/uts/sparc/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,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -57,22 +55,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function .KEEP_STATE: @@ -85,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/sparc/scsa1394/Makefile b/usr/src/uts/sparc/scsa1394/Makefile index 5eab76a7ed..06f3c1c106 100644 --- a/usr/src/uts/sparc/scsa1394/Makefile +++ b/usr/src/uts/sparc/scsa1394/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = scsa1394 OBJECTS = $(SCSA1394_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -53,30 +51,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# -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_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 # # depends on # LDFLAGS += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2 +# +# 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 CERRWARN += $(CNOWARN_UNINIT) @@ -92,12 +79,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) lint32 - -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/scsa2usb/Makefile b/usr/src/uts/sparc/scsa2usb/Makefile index eb7fdbbf9c..0af0aee092 100644 --- a/usr/src/uts/sparc/scsa2usb/Makefile +++ b/usr/src/uts/sparc/scsa2usb/Makefile @@ -41,7 +41,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,10 +49,7 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) + # depends on misc/usba misc/scsi # @@ -63,18 +59,16 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/scsi # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -CERRWARN += -_gcc=-Wno-unused-label -CERRWARN += $(CNOWARN_UNINIT) - # -# 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) .KEEP_STATE: @@ -86,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/sparc/scsi/Makefile b/usr/src/uts/sparc/scsi/Makefile index 1d464fca09..aa666fa106 100644 --- a/usr/src/uts/sparc/scsi/Makefile +++ b/usr/src/uts/sparc/scsi/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = scsi OBJECTS = $(SCSI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -87,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/sparc/scsi_vhci/Makefile b/usr/src/uts/sparc/scsi_vhci/Makefile index fbe826d733..3de8bb2e63 100644 --- a/usr/src/uts/sparc/scsi_vhci/Makefile +++ b/usr/src/uts/sparc/scsi_vhci/Makefile @@ -39,7 +39,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 @@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-unused-label # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/scsi_vhci_f_sym/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile index 85c22ade33..428142d7be 100644 --- a/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile +++ b/usr/src/uts/sparc/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 # sparc architecture dependent # @@ -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)/sparc/Makefile.sparc # 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/sparc/scsi_vhci_f_sym_hds/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile index 87f77066df..42ff86f68d 100644 --- a/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile +++ b/usr/src/uts/sparc/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 # sparc 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)/sparc/Makefile.sparc # 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/sparc/scsi_vhci_f_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile index bf6598a9eb..2afe814945 100644 --- a/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile +++ b/usr/src/uts/sparc/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 # sparc 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)/sparc/Makefile.sparc # 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/sparc/scsi_vhci_f_tpgs/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile index 62cb1fb4b6..b45900405b 100644 --- a/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile +++ b/usr/src/uts/sparc/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 # sparc 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)/sparc/Makefile.sparc # 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/sparc/scsi_vhci_f_tpgs_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile index ee2288cff7..c9853144bc 100644 --- a/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile +++ b/usr/src/uts/sparc/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 # sparc 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)/sparc/Makefile.sparc # 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/sparc/sd/Makefile b/usr/src/uts/sparc/sd/Makefile index e97a15f713..3b5c08f41e 100644 --- a/usr/src/uts/sparc/sd/Makefile +++ b/usr/src/uts/sparc/sd/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = sd OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets @@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -67,16 +62,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -N misc/scsi -N misc/cmlb # -# 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 -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - -# # Default build targets. # .KEEP_STATE: @@ -89,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/sparc/sdp/Makefile b/usr/src/uts/sparc/sdp/Makefile index c9b216840d..e7801a35d2 100644 --- a/usr/src/uts/sparc/sdp/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/sdt/Makefile b/usr/src/uts/sparc/sdt/Makefile index 7100325717..015bdd6d55 100644 --- a/usr/src/uts/sparc/sdt/Makefile +++ b/usr/src/uts/sparc/sdt/Makefile @@ -27,7 +27,6 @@ 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)/sparc/dtrace @@ -35,18 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace include $(UTSBASE)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf # -# 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 @@ -60,12 +57,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/sparc/semsys/Makefile b/usr/src/uts/sparc/semsys/Makefile index 9f7dba60b4..b6b6873b1a 100644 --- a/usr/src/uts/sparc/semsys/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,11 +62,10 @@ CFLAGS += $(CCVERBOSE) 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) @@ -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/sparc/ses/Makefile b/usr/src/uts/sparc/ses/Makefile index 73e29f288d..d3e69c016b 100644 --- a/usr/src/uts/sparc/ses/Makefile +++ b/usr/src/uts/sparc/ses/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ses OBJECTS = $(SES_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SES_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,15 +60,6 @@ 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. -# 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 - -# # Default build targets. # .KEEP_STATE: @@ -83,10 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/sfe/Makefile b/usr/src/uts/sparc/sfe/Makefile index ff245466d1..77e795671d 100644 --- a/usr/src/uts/sparc/sfe/Makefile +++ b/usr/src/uts/sparc/sfe/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = sfe OBJECTS = $(SFE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SFE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -96,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/sparc/sgen/Makefile b/usr/src/uts/sparc/sgen/Makefile index c342af394e..b245dcc25e 100644 --- a/usr/src/uts/sparc/sgen/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,15 +61,13 @@ LDFLAGS += -dy -N"misc/scsi" # # Overrides. # -CFLAGS += $(CCVERBOSE) +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 CERRWARN += -_gcc=-Wno-unused-label 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/sparc/sha1/Makefile b/usr/src/uts/sparc/sha1/Makefile index e2a65b662b..a3f4a67121 100644 --- a/usr/src/uts/sparc/sha1/Makefile +++ b/usr/src/uts/sparc/sha1/Makefile @@ -42,7 +42,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = sha1 OBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -60,7 +59,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -68,11 +66,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) # # Default build targets. @@ -87,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_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/sha2/Makefile b/usr/src/uts/sparc/sha2/Makefile index df8e453ddc..ba385c6c98 100644 --- a/usr/src/uts/sparc/sha2/Makefile +++ b/usr/src/uts/sparc/sha2/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = sha2 OBJECTS = $(SHA2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHA2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE) @@ -57,7 +56,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -65,12 +63,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # LDFLAGS += -dy -Nmisc/kcf + +CFLAGS += -I$(COM_DIR) + # -# 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) -LINTFLAGS += -I$(COM_DIR) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -87,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_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/sharefs/Makefile b/usr/src/uts/sparc/sharefs/Makefile index f212780a6d..e4ab636a74 100644 --- a/usr/src/uts/sparc/sharefs/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/shbinexec/Makefile b/usr/src/uts/sparc/shbinexec/Makefile index a37c5c2294..d2fce021af 100644 --- a/usr/src/uts/sparc/shbinexec/Makefile +++ b/usr/src/uts/sparc/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/sparc/shmsys/Makefile b/usr/src/uts/sparc/shmsys/Makefile index be041263ec..8d7fa800b3 100644 --- a/usr/src/uts/sparc/shmsys/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,12 +62,10 @@ CFLAGS += $(CCVERBOSE) 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 @@ -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/sparc/signalfd/Makefile b/usr/src/uts/sparc/signalfd/Makefile index a60bc617e1..a89a84cd2e 100644 --- a/usr/src/uts/sparc/signalfd/Makefile +++ b/usr/src/uts/sparc/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/sparc/simnet/Makefile b/usr/src/uts/sparc/simnet/Makefile index f58942d867..fe30719de0 100644 --- a/usr/src/uts/sparc/simnet/Makefile +++ b/usr/src/uts/sparc/simnet/Makefile @@ -32,7 +32,6 @@ UTSBASE = ../.. # MODULE = simnet OBJECTS = $(SIMNET_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SIMNET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/$(MODULE) @@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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/sparc/skein/Makefile b/usr/src/uts/sparc/skein/Makefile index 6f1b4ecfab..737d13c52d 100644 --- a/usr/src/uts/sparc/skein/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/smbfs/Makefile b/usr/src/uts/sparc/smbfs/Makefile index 346972e300..bf7b25626b 100644 --- a/usr/src/uts/sparc/smbfs/Makefile +++ b/usr/src/uts/sparc/smbfs/Makefile @@ -24,7 +24,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# This makefile drives the production of the smbfs (Server +# This makefile drives the production of the smbfs (Server # message block file system) kernel module. # # sparc architecture dependent @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = smbfs OBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_FS_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -65,16 +63,14 @@ 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) -# 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 - # # Default build targets. # @@ -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/sparc/smbsrv/Makefile b/usr/src/uts/sparc/smbsrv/Makefile index 57de6d9140..4da983f440 100644 --- a/usr/src/uts/sparc/smbsrv/Makefile +++ b/usr/src/uts/sparc/smbsrv/Makefile @@ -40,7 +40,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 @@ -59,7 +58,6 @@ LDFLAGS += -Nmisc/kcf # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(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) $(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/smp/Makefile b/usr/src/uts/sparc/smp/Makefile index 7e8c71a047..6416f2b325 100644 --- a/usr/src/uts/sparc/smp/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets. # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/socal/Makefile b/usr/src/uts/sparc/socal/Makefile index e79fdc9bd2..4eb95ff3a1 100644 --- a/usr/src/uts/sparc/socal/Makefile +++ b/usr/src/uts/sparc/socal/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = socal OBJECTS = $(SOCAL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,16 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) -dalign # -# 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) @@ -88,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/sparc/sockpfp/Makefile b/usr/src/uts/sparc/sockpfp/Makefile index 59e17ddc64..e06887cdd9 100644 --- a/usr/src/uts/sparc/sockpfp/Makefile +++ b/usr/src/uts/sparc/sockpfp/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 nca driver +# This makefile drives the production of the nca driver # kernel module. # # sparc architecture dependent @@ -38,7 +38,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) # @@ -50,25 +49,17 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-label @@ -85,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/sparc/sockrds/Makefile b/usr/src/uts/sparc/sockrds/Makefile index a8e1a0702f..d61e7f7ffd 100644 --- a/usr/src/uts/sparc/sockrds/Makefile +++ b/usr/src/uts/sparc/sockrds/Makefile @@ -23,7 +23,7 @@ # # -# This makefile drives the production of the nca driver +# This makefile drives the production of the nca driver # kernel module. # # sparc architecture dependent @@ -39,7 +39,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) # @@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 @@ -74,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/sparc/socksctp/Makefile b/usr/src/uts/sparc/socksctp/Makefile index 50ce165fd1..bb7c3872a8 100644 --- a/usr/src/uts/sparc/socksctp/Makefile +++ b/usr/src/uts/sparc/socksctp/Makefile @@ -23,7 +23,7 @@ # 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. # # sparc architecture dependent @@ -39,7 +39,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) # @@ -51,24 +50,18 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) @@ -85,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/sparc/socksdp/Makefile b/usr/src/uts/sparc/socksdp/Makefile index 746f8c90c5..e921aea8c1 100644 --- a/usr/src/uts/sparc/socksdp/Makefile +++ b/usr/src/uts/sparc/socksdp/Makefile @@ -23,7 +23,7 @@ # 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. # # sparc architecture dependent @@ -39,7 +39,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) # @@ -51,14 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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) @@ -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/sparc/softmac/Makefile b/usr/src/uts/sparc/softmac/Makefile index dc9a3f53de..4b53f18a9f 100644 --- a/usr/src/uts/sparc/softmac/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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 +LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls # -# For now, disable these lint checks as it is a generic STREAMS problem; -# 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) 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/sparc/sol_ofs/Makefile b/usr/src/uts/sparc/sol_ofs/Makefile index 1b2c55fd77..3f62229d4f 100644 --- a/usr/src/uts/sparc/sol_ofs/Makefile +++ b/usr/src/uts/sparc/sol_ofs/Makefile @@ -33,7 +33,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 @@ -46,18 +45,13 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 @@ -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/sparc/sol_ucma/Makefile b/usr/src/uts/sparc/sol_ucma/Makefile index d263e60262..4152f59807 100644 --- a/usr/src/uts/sparc/sol_ucma/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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 # # Default build targets. @@ -77,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/sparc/sol_umad/Makefile b/usr/src/uts/sparc/sol_umad/Makefile index 8e7dcaa7ef..b4624f489b 100644 --- a/usr/src/uts/sparc/sol_umad/Makefile +++ b/usr/src/uts/sparc/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 @@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/sol_uverbs/Makefile b/usr/src/uts/sparc/sol_uverbs/Makefile index 67ea35fb18..665aec7a9b 100644 --- a/usr/src/uts/sparc/sol_uverbs/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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 @@ -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/sparc/spdsock/Makefile b/usr/src/uts/sparc/spdsock/Makefile index 21b7d7c667..3726cbc2a8 100644 --- a/usr/src/uts/sparc/spdsock/Makefile +++ b/usr/src/uts/sparc/spdsock/Makefile @@ -64,10 +64,11 @@ LDFLAGS += -dy -Ndrv/ip INC_PATH += -I$(UTSBASE)/common/io/bpf # -# 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) # diff --git a/usr/src/uts/sparc/specfs/Makefile b/usr/src/uts/sparc/specfs/Makefile index 07a23b1309..3a18a26e80 100644 --- a/usr/src/uts/sparc/specfs/Makefile +++ b/usr/src/uts/sparc/specfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = specfs OBJECTS = $(SPEC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPEC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,7 +61,7 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DSPEC_MODULE CLEANFILES += $(MODSTUBS_O) CFLAGS += $(CCVERBOSE) -LDFLAGS += -dy -Nfs/fifofs +LDFLAGS += -dy -Nfs/fifofs CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/sppp/Makefile b/usr/src/uts/sparc/sppp/Makefile index c281897458..35260e4162 100644 --- a/usr/src/uts/sparc/sppp/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -70,12 +68,10 @@ INC_PATH += -I$(UTSBASE)/common/io/ppp/common 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_PTRDIFF_OVERFLOW CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/spppasyn/Makefile b/usr/src/uts/sparc/spppasyn/Makefile index 60acb99288..1a319c6fc7 100644 --- a/usr/src/uts/sparc/spppasyn/Makefile +++ b/usr/src/uts/sparc/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. # # sparc 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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,9 +59,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # CPPFLAGS += -DINTERNAL_BUILD -DSOL2 -# +# # Additional compiler definitions -# +# INC_PATH += -I$(UTSBASE)/common/io/ppp/common CFLAGS += $(CCVERBOSE) @@ -72,16 +70,6 @@ CFLAGS += $(CCVERBOSE) # LDFLAGS += -dy -N drv/sppp -CLEANLINTFILES += $(LINT64_FILES) - -# -# 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. # @@ -95,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/spppcomp/Makefile b/usr/src/uts/sparc/spppcomp/Makefile index 7f603cc521..2b163e5ce9 100644 --- a/usr/src/uts/sparc/spppcomp/Makefile +++ b/usr/src/uts/sparc/spppcomp/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 spppcomp STREAMS +# This makefile drives the production of the spppcomp STREAMS # kernel module. # # sparc architecture dependent @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = spppcomp OBJECTS = $(SPPPCOMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPPPCOMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -61,30 +59,24 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # CPPFLAGS += -DINTERNAL_BUILD -DSOL2 -DMUX_FRAME -# +# # Additional compiler definitions -# +# INC_PATH += -I$(UTSBASE)/common/io/ppp/common -CFLAGS += $(CCVERBOSE) # # Define dependency on sppp # LDFLAGS += -dy -N drv/sppp -CLEANLINTFILES += $(LINT64_FILES) - -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += $(CNOWARN_UNINIT) - # -# 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 +CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += $(CNOWARN_UNINIT) # # Default build targets. @@ -99,17 +91,8 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/spppcomp/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/ppp/spppcomp/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) diff --git a/usr/src/uts/sparc/sppptun/Makefile b/usr/src/uts/sparc/sppptun/Makefile index 94776f4695..de6a4b485b 100644 --- a/usr/src/uts/sparc/sppptun/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -68,19 +66,13 @@ CPPFLAGS += -DINTERNAL_BUILD -DSOL2 # Overrides. # INC_PATH += -I$(UTSBASE)/common/io/ppp/common -CFLAGS += $(CCVERBOSE) - -CLEANLINTFILES += $(LINT64_FILES) # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) lint64 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(USR_STRMOD_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/srpt/Makefile b/usr/src/uts/sparc/srpt/Makefile index 424e85470e..4243dec8db 100644 --- a/usr/src/uts/sparc/srpt/Makefile +++ b/usr/src/uts/sparc/srpt/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the srpt pseudo-driver for +# This makefile drives the production of the srpt pseudo-driver for # COMSTAR. # @@ -38,7 +38,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 @@ -51,7 +50,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/ssd/Makefile b/usr/src/uts/sparc/ssd/Makefile index 108607f00b..0e7dbf16b2 100644 --- a/usr/src/uts/sparc/ssd/Makefile +++ b/usr/src/uts/sparc/ssd/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = ssd OBJECTS = $(SSD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SSD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets @@ -55,26 +54,17 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -D__fibre -dalign -LINTFLAGS += -D__fibre +CFLAGS += -D__fibre -dalign WLCCFLAGS = -D__fibre # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-parentheses @@ -100,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/sparc/st/Makefile b/usr/src/uts/sparc/st/Makefile index d36ea2464a..dbea488d34 100644 --- a/usr/src/uts/sparc/st/Makefile +++ b/usr/src/uts/sparc/st/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = st OBJECTS = $(ST_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ST_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets @@ -52,28 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Define dependency on scsi # 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -91,12 +81,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/sparc/stmf/Makefile b/usr/src/uts/sparc/stmf/Makefile index f32c38fab7..21788784aa 100644 --- a/usr/src/uts/sparc/stmf/Makefile +++ b/usr/src/uts/sparc/stmf/Makefile @@ -21,7 +21,7 @@ # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # -# This makefile drives the production of the stmf driver for +# This makefile drives the production of the stmf driver for # COMSTAR. # @@ -36,7 +36,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 @@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,11 +59,9 @@ CERRWARN += -erroff=E_STATEMENT_NOT_REACHED 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 @@ -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/sparc/stmf_sbd/Makefile b/usr/src/uts/sparc/stmf_sbd/Makefile index bbee85d605..cd6f841ccd 100644 --- a/usr/src/uts/sparc/stmf_sbd/Makefile +++ b/usr/src/uts/sparc/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/sparc/strplumb/Makefile b/usr/src/uts/sparc/strplumb/Makefile index 27f3fa9677..f03abcd7b7 100644 --- a/usr/src/uts/sparc/strplumb/Makefile +++ b/usr/src/uts/sparc/strplumb/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = strplumb OBJECTS = $(STRPLUMB_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(STRPLUMB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,23 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -85,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/sparc/swrand/Makefile b/usr/src/uts/sparc/swrand/Makefile index 5ec8395245..eccf360869 100644 --- a/usr/src/uts/sparc/swrand/Makefile +++ b/usr/src/uts/sparc/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) # @@ -51,14 +50,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 @@ -66,13 +60,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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function # @@ -88,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/sparc/sy/Makefile b/usr/src/uts/sparc/sy/Makefile index bcd403be9f..8a6d4adc59 100644 --- a/usr/src/uts/sparc/sy/Makefile +++ b/usr/src/uts/sparc/sy/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/sy/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 sy driver # @@ -41,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 @@ -54,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sparc/sysacct/Makefile b/usr/src/uts/sparc/sysacct/Makefile index d9f0896630..92910b045f 100644 --- a/usr/src/uts/sparc/sysacct/Makefile +++ b/usr/src/uts/sparc/sysacct/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/sysacct/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 sysacct driver kernel module. # @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = sysacct OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSACCT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -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/sparc/sysevent/Makefile b/usr/src/uts/sparc/sysevent/Makefile index cdeaa8760d..cfec58956f 100644 --- a/usr/src/uts/sparc/sysevent/Makefile +++ b/usr/src/uts/sparc/sysevent/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -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/sparc/sysmsg/Makefile b/usr/src/uts/sparc/sysmsg/Makefile index 9ac0183dac..c803f31ed6 100644 --- a/usr/src/uts/sparc/sysmsg/Makefile +++ b/usr/src/uts/sparc/sysmsg/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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 driver # @@ -40,7 +39,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 @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 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_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -81,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/sparc/systrace/Makefile b/usr/src/uts/sparc/systrace/Makefile index f8e2f88fdd..035b76d403 100644 --- a/usr/src/uts/sparc/systrace/Makefile +++ b/usr/src/uts/sparc/systrace/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 = 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)/sparc/Makefile.sparc ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) CFLAGS += $(CCVERBOSE) @@ -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/sparc/tavor/Makefile b/usr/src/uts/sparc/tavor/Makefile index e5fe4d0452..738a380c64 100644 --- a/usr/src/uts/sparc/tavor/Makefile +++ b/usr/src/uts/sparc/tavor/Makefile @@ -38,7 +38,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 @@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # Build with no debug TNF probes enabled (by default) @@ -69,19 +66,11 @@ CLEANLINTFILES += $(LINT32_FILES) #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) @@ -96,16 +85,11 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) -lint: $(LINT_DEPS) clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -modlintlib: $(MODLINTLIB_DEPS) lint32 - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sparc/tclient/Makefile b/usr/src/uts/sparc/tclient/Makefile index 10ef9227c7..35d77ada27 100644 --- a/usr/src/uts/sparc/tclient/Makefile +++ b/usr/src/uts/sparc/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 to testing mpxio configurations @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = tclient OBJECTS = $(TCLIENT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TCLIENT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) # @@ -54,12 +53,8 @@ CFLAGS += $(CCVERBOSE) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -75,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/sparc/tcp/Makefile b/usr/src/uts/sparc/tcp/Makefile index 7276ecfaeb..3c668d2872 100644 --- a/usr/src/uts/sparc/tcp/Makefile +++ b/usr/src/uts/sparc/tcp/Makefile @@ -38,7 +38,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 @@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -91,12 +86,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/sparc/tcp6/Makefile b/usr/src/uts/sparc/tcp6/Makefile index f8f9eb0970..3a62a65fa8 100644 --- a/usr/src/uts/sparc/tcp6/Makefile +++ b/usr/src/uts/sparc/tcp6/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 tcp6 driver kernel module. # @@ -40,7 +40,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 @@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/tcp -Ndrv/ip -Ndrv/ip6 @@ -75,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/sparc/telmod/Makefile b/usr/src/uts/sparc/telmod/Makefile index 7015a89727..15ac2a65e1 100644 --- a/usr/src/uts/sparc/telmod/Makefile +++ b/usr/src/uts/sparc/telmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = telmod OBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE) # @@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -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/sparc/timerfd/Makefile b/usr/src/uts/sparc/timerfd/Makefile index 969ca6dd1a..1a8dbdd5ec 100644 --- a/usr/src/uts/sparc/timerfd/Makefile +++ b/usr/src/uts/sparc/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 @@ -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/sparc/timod/Makefile b/usr/src/uts/sparc/timod/Makefile index 3ecd937f14..67a62c0aaf 100644 --- a/usr/src/uts/sparc/timod/Makefile +++ b/usr/src/uts/sparc/timod/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/timod/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 timod streams kernel # module. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = timod OBJECTS = $(TIMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# 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 +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/sparc/tirdwr/Makefile b/usr/src/uts/sparc/tirdwr/Makefile index c9140dccd1..e769f809be 100644 --- a/usr/src/uts/sparc/tirdwr/Makefile +++ b/usr/src/uts/sparc/tirdwr/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = tirdwr OBJECTS = $(TIRDWR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TIRDWR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -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/sparc/tl/Makefile b/usr/src/uts/sparc/tl/Makefile index 21104104ce..91b5f26cc8 100644 --- a/usr/src/uts/sparc/tl/Makefile +++ b/usr/src/uts/sparc/tl/Makefile @@ -40,7 +40,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 @@ -53,15 +52,9 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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 ip; this is for sharing common option management code # which happens to live in "ip" kernel module only. Needed to do # AF_UNIX socket options. @@ -69,14 +62,11 @@ CFLAGS += $(CCVERBOSE) 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -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/sparc/tlimod/Makefile b/usr/src/uts/sparc/tlimod/Makefile index 7da7ffaf30..1240954f90 100644 --- a/usr/src/uts/sparc/tlimod/Makefile +++ b/usr/src/uts/sparc/tlimod/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/tlimod/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 tlimod # kernel module. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = tlimod OBJECTS = $(TLIMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TLIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -74,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/sparc/tmpfs/Makefile b/usr/src/uts/sparc/tmpfs/Makefile index 42ec7b74c6..69ce75d2f6 100644 --- a/usr/src/uts/sparc/tmpfs/Makefile +++ b/usr/src/uts/sparc/tmpfs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = tmpfs OBJECTS = $(TMPFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TMPFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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_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/sparc/tnf/Makefile b/usr/src/uts/sparc/tnf/Makefile index f450067556..44de22b9e4 100644 --- a/usr/src/uts/sparc/tnf/Makefile +++ b/usr/src/uts/sparc/tnf/Makefile @@ -40,7 +40,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 @@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -63,12 +61,10 @@ CCMODE = -Xt 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 -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED 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/sparc/tokenmt/Makefile b/usr/src/uts/sparc/tokenmt/Makefile index 7009985f0d..45670deef1 100644 --- a/usr/src/uts/sparc/tokenmt/Makefile +++ b/usr/src/uts/sparc/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. # sparc 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,24 +54,12 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) 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: @@ -86,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/sparc/tphci/Makefile b/usr/src/uts/sparc/tphci/Makefile index c5e21e16d0..406b196e4b 100644 --- a/usr/src/uts/sparc/tphci/Makefile +++ b/usr/src/uts/sparc/tphci/Makefile @@ -43,7 +43,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 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/trill/Makefile b/usr/src/uts/sparc/trill/Makefile index 0a4229f9be..0e40bbfaa9 100644 --- a/usr/src/uts/sparc/trill/Makefile +++ b/usr/src/uts/sparc/trill/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = trill OBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE) # @@ -54,7 +53,6 @@ CERRWARN += $(CNOWARN_UNINIT) # 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/sparc/tswtclmt/Makefile b/usr/src/uts/sparc/tswtclmt/Makefile index 0dd5c681e7..c3ec23ca31 100644 --- a/usr/src/uts/sparc/tswtclmt/Makefile +++ b/usr/src/uts/sparc/tswtclmt/Makefile @@ -23,7 +23,6 @@ # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # This makefile creates the tswtclmt (ipp) module. # sparc 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,24 +54,12 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) 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: @@ -86,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/sparc/ttcompat/Makefile b/usr/src/uts/sparc/ttcompat/Makefile index 710e729ad5..0594fe6269 100644 --- a/usr/src/uts/sparc/ttcompat/Makefile +++ b/usr/src/uts/sparc/ttcompat/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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. @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = ttcompat OBJECTS = $(TTCOMPAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TTCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -62,14 +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_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/sparc/tvhci/Makefile b/usr/src/uts/sparc/tvhci/Makefile index e487290629..4fe51879ef 100644 --- a/usr/src/uts/sparc/tvhci/Makefile +++ b/usr/src/uts/sparc/tvhci/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = tvhci OBJECTS = $(TVHCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TVHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_DRV_DIR)/$(MODULE) @@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,11 +62,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CFLAGS += $(CCVERBOSE) -dalign # -# 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 # @@ -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/sparc/udfs/Makefile b/usr/src/uts/sparc/udfs/Makefile index a47ed38860..d9d45b8cd9 100644 --- a/usr/src/uts/sparc/udfs/Makefile +++ b/usr/src/uts/sparc/udfs/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = udfs OBJECTS = $(UDFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UDFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -68,16 +66,10 @@ CFLAGS += $(CCVERBOSE) 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 @@ -97,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) putback: diff --git a/usr/src/uts/sparc/udp/Makefile b/usr/src/uts/sparc/udp/Makefile index 07a4435112..175537bda6 100644 --- a/usr/src/uts/sparc/udp/Makefile +++ b/usr/src/uts/sparc/udp/Makefile @@ -38,7 +38,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 @@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -85,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_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sparc/udp6/Makefile b/usr/src/uts/sparc/udp6/Makefile index af905cda2d..e1b1760888 100644 --- a/usr/src/uts/sparc/udp6/Makefile +++ b/usr/src/uts/sparc/udp6/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 udp6 driver kernel module. # @@ -40,7 +40,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 @@ -53,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -79,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/sparc/ufm/Makefile b/usr/src/uts/sparc/ufm/Makefile index abe94f08fc..e27a726038 100644 --- a/usr/src/uts/sparc/ufm/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc 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)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/ufmtest/Makefile b/usr/src/uts/sparc/ufmtest/Makefile index 44827a5d96..125445d510 100644 --- a/usr/src/uts/sparc/ufmtest/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc 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)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/ufs/Makefile b/usr/src/uts/sparc/ufs/Makefile index 0e13f2371f..d36053842e 100644 --- a/usr/src/uts/sparc/ufs/Makefile +++ b/usr/src/uts/sparc/ufs/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ufs OBJECTS = $(UFS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # @@ -50,22 +49,15 @@ ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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 # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -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/sparc/ugen/Makefile b/usr/src/uts/sparc/ugen/Makefile index 49918eeb70..b52074424a 100644 --- a/usr/src/uts/sparc/ugen/Makefile +++ b/usr/src/uts/sparc/ugen/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = ugen OBJECTS = $(UGEN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -50,9 +49,11 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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) # @@ -64,7 +65,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -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/sparc/uhci/Makefile b/usr/src/uts/sparc/uhci/Makefile index 6895a2e161..609de1c65b 100644 --- a/usr/src/uts/sparc/uhci/Makefile +++ b/usr/src/uts/sparc/uhci/Makefile @@ -40,7 +40,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,11 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci include $(UTSBASE)/sparc/Makefile.sparc # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/usba # LDFLAGS += -dy -Nmisc/usba @@ -63,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -CERRWARN += $(CNOWARN_UNINIT) - # -# 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) .KEEP_STATE: @@ -85,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/sparc/usb_ac/Makefile b/usr/src/uts/sparc/usb_ac/Makefile index 5915676942..fc7accb1d9 100644 --- a/usr/src/uts/sparc/usb_ac/Makefile +++ b/usr/src/uts/sparc/usb_ac/Makefile @@ -39,7 +39,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 @@ -48,10 +47,7 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) + # LDFLAGS += -dy -Nmisc/usba -Ndrv/audio @@ -60,21 +56,19 @@ LDFLAGS += -dy -Nmisc/usba -Ndrv/audio # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) +# +# 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-type-limits CERRWARN += -_gcc=-Wno-unused-label CERRWARN += $(CNOWARN_UNINIT) -# -# 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 - .KEEP_STATE: all: $(ALL_DEPS) @@ -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/sparc/usb_ah/Makefile b/usr/src/uts/sparc/usb_ah/Makefile index 7ab174b77b..9ec820f61c 100644 --- a/usr/src/uts/sparc/usb_ah/Makefile +++ b/usr/src/uts/sparc/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) # @@ -47,10 +46,6 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) # # depends on usba, hidparser and audio related misc modules @@ -61,17 +56,15 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += $(CNOWARN_UNINIT) - # -# 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) .KEEP_STATE: @@ -83,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/sparc/usb_as/Makefile b/usr/src/uts/sparc/usb_as/Makefile index 75b280aea7..1bd6d24fa6 100644 --- a/usr/src/uts/sparc/usb_as/Makefile +++ b/usr/src/uts/sparc/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) # @@ -49,10 +48,7 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) + # LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac @@ -61,17 +57,15 @@ LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += -_gcc=-Wno-unused-label - # -# 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 .KEEP_STATE: @@ -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/sparc/usb_ia/Makefile b/usr/src/uts/sparc/usb_ia/Makefile index bbb641d95f..b29516c261 100644 --- a/usr/src/uts/sparc/usb_ia/Makefile +++ b/usr/src/uts/sparc/usb_ia/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = usb_ia OBJECTS = $(USB_IA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,9 +48,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -63,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -76,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/sparc/usb_mid/Makefile b/usr/src/uts/sparc/usb_mid/Makefile index a1b63e810d..5c47a2a9ee 100644 --- a/usr/src/uts/sparc/usb_mid/Makefile +++ b/usr/src/uts/sparc/usb_mid/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = usb_mid OBJECTS = $(USB_MID_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USB_MID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,9 +48,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -63,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -76,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/sparc/usba/Makefile b/usr/src/uts/sparc/usba/Makefile index 8443b068e5..45a8954170 100644 --- a/usr/src/uts/sparc/usba/Makefile +++ b/usr/src/uts/sparc/usba/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usba OBJECTS = $(USBA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -47,10 +46,11 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch @@ -62,7 +62,6 @@ CERRWARN += -_gcc=-Wno-unused-variable # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -75,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/sparc/usba10/Makefile b/usr/src/uts/sparc/usba10/Makefile index aa5eb4cc2f..4d6dccf96f 100644 --- a/usr/src/uts/sparc/usba10/Makefile +++ b/usr/src/uts/sparc/usba10/Makefile @@ -21,9 +21,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/sparc/usba10/Makefile - -#ident "%Z%%M% %I% %E% SMI" # # This makefile drives the production of the usba kernel module. @@ -38,7 +35,6 @@ UTSBASE = ../.. # MODULE = usba10 OBJECTS = $(USBA10_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBA10_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -46,9 +42,6 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -60,7 +53,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -73,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/sparc/usbecm/Makefile b/usr/src/uts/sparc/usbecm/Makefile index e4bfdcb03f..3a42b09e3a 100644 --- a/usr/src/uts/sparc/usbecm/Makefile +++ b/usr/src/uts/sparc/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) # @@ -47,16 +46,12 @@ include $(UTSBASE)/sparc/Makefile.sparc LDFLAGS += -dy -Nmisc/usba -Nmisc/mac -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -69,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/sparc/usbftdi/Makefile b/usr/src/uts/sparc/usbftdi/Makefile index 9e793402e4..c5eb05dcfd 100644 --- a/usr/src/uts/sparc/usbftdi/Makefile +++ b/usr/src/uts/sparc/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/sparc/usbkbm/Makefile b/usr/src/uts/sparc/usbkbm/Makefile index bfbe28b2a0..928ac790da 100644 --- a/usr/src/uts/sparc/usbkbm/Makefile +++ b/usr/src/uts/sparc/usbkbm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = usbkbm OBJECTS = $(USBKBM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBKBM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -48,10 +47,7 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # depends on misc/usba @@ -62,16 +58,8 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/kbtrans -Nmisc/hidparser # 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 - .KEEP_STATE: def: $(DEF_DEPS) @@ -82,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/sparc/usbms/Makefile b/usr/src/uts/sparc/usbms/Makefile index 6d4be539a3..ae64ac4bc4 100644 --- a/usr/src/uts/sparc/usbms/Makefile +++ b/usr/src/uts/sparc/usbms/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = usbms OBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -48,10 +47,7 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) + # # depends on misc/usba @@ -62,18 +58,16 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += $(CNOWARN_UNINIT) - # -# 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-parentheses +CERRWARN += $(CNOWARN_UNINIT) .KEEP_STATE: @@ -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/sparc/usbprn/Makefile b/usr/src/uts/sparc/usbprn/Makefile index 8a797f86b8..c0cd3503f9 100644 --- a/usr/src/uts/sparc/usbprn/Makefile +++ b/usr/src/uts/sparc/usbprn/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = usbprn OBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -47,9 +46,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -60,7 +56,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -73,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/sparc/usbs49_fw/Makefile b/usr/src/uts/sparc/usbs49_fw/Makefile index 2e709f98a3..c48a14fb15 100644 --- a/usr/src/uts/sparc/usbs49_fw/Makefile +++ b/usr/src/uts/sparc/usbs49_fw/Makefile @@ -23,9 +23,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/sparc/usbs49_fw/Makefile # # This makefile drives the production of the usbs49_fw kernel module. @@ -40,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbs49_fw OBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -48,16 +44,12 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -70,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/sparc/usbsacm/Makefile b/usr/src/uts/sparc/usbsacm/Makefile index 6655e2b194..3d4a53747c 100644 --- a/usr/src/uts/sparc/usbsacm/Makefile +++ b/usr/src/uts/sparc/usbsacm/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = usbsacm OBJECTS = $(USBSACM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -45,20 +44,20 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser +# +# 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) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -71,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/sparc/usbser/Makefile b/usr/src/uts/sparc/usbser/Makefile index 7f7c072d46..c38ec4debf 100644 --- a/usr/src/uts/sparc/usbser/Makefile +++ b/usr/src/uts/sparc/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) # @@ -47,11 +46,6 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/usba # LDFLAGS += -dy -Nmisc/usba @@ -60,16 +54,14 @@ 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. +# 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) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label @@ -84,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/sparc/usbskel/Makefile b/usr/src/uts/sparc/usbskel/Makefile index 627b16e9d9..d8e234f3f3 100644 --- a/usr/src/uts/sparc/usbskel/Makefile +++ b/usr/src/uts/sparc/usbskel/Makefile @@ -41,7 +41,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 @@ -50,9 +49,6 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -64,7 +60,6 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) .KEEP_STATE: @@ -77,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/sparc/usbsksp/Makefile b/usr/src/uts/sparc/usbsksp/Makefile index 3172890fca..f345ad89a6 100644 --- a/usr/src/uts/sparc/usbsksp/Makefile +++ b/usr/src/uts/sparc/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) # @@ -49,9 +48,12 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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) LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw @@ -59,7 +61,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: @@ -72,17 +73,9 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # # Include common targets. # include $(UTSBASE)/sparc/Makefile.targ - -CERRWARN += $(CNOWARN_UNINIT) diff --git a/usr/src/uts/sparc/usbsprl/Makefile b/usr/src/uts/sparc/usbsprl/Makefile index a5e3449d2e..bfa981a606 100644 --- a/usr/src/uts/sparc/usbsprl/Makefile +++ b/usr/src/uts/sparc/usbsprl/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = usbsprl OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -47,10 +46,11 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# 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) LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser @@ -59,7 +59,6 @@ LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -72,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/sparc/usbvc/Makefile b/usr/src/uts/sparc/usbvc/Makefile index 876c334829..eba6cba89e 100644 --- a/usr/src/uts/sparc/usbvc/Makefile +++ b/usr/src/uts/sparc/usbvc/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../.. # MODULE = usbvc OBJECTS = $(USBVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -52,11 +51,6 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) include $(UTSBASE)/sparc/Makefile.sparc # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # depends on misc/usba LDFLAGS += -dy -Nmisc/usba @@ -64,16 +58,15 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += $(CNOWARN_UNINIT) - # -# Disable this because it is necessary for this driver -# and it is surely safe +# 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) .KEEP_STATE: @@ -85,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/sparc/usbwcm/Makefile b/usr/src/uts/sparc/usbwcm/Makefile index 05e339f96f..13f1dc6d0f 100644 --- a/usr/src/uts/sparc/usbwcm/Makefile +++ b/usr/src/uts/sparc/usbwcm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = usbwcm OBJECTS = $(USBWCM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(USBWCM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # @@ -48,11 +47,6 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) # include $(UTSBASE)/sparc/Makefile.sparc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # depends on misc/usba # @@ -62,18 +56,16 @@ LDFLAGS += -dy -Nmisc/usba # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += $(CNOWARN_UNINIT) - # -# 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-parentheses +CERRWARN += $(CNOWARN_UNINIT) .KEEP_STATE: @@ -85,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/sparc/v9/Makefile.files b/usr/src/uts/sparc/v9/Makefile.files index 55a90f5461..21a291c1ac 100644 --- a/usr/src/uts/sparc/v9/Makefile.files +++ b/usr/src/uts/sparc/v9/Makefile.files @@ -20,14 +20,13 @@ # CDDL HEADER END # # -# uts/sparc/v9/Makefile.files # Copyright 1991,1998-1999,2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines all file modules and build rules for the -# directory uts/sparc/v9 and it's children. These are the source files which +# directory uts/sparc/v9 and its children. These are the source files which # are specific to the sparcv9 processor. # @@ -62,10 +61,7 @@ INC_PATH += -I$(UTSBASE)/sparc/v9 # # Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .nse_depinfo file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. +# all files including this file. # ASSYM_DEPS += crt.o \ float.o \ diff --git a/usr/src/uts/sparc/v9/Makefile.rules b/usr/src/uts/sparc/v9/Makefile.rules index 36c5331f43..d094ba364f 100644 --- a/usr/src/uts/sparc/v9/Makefile.rules +++ b/usr/src/uts/sparc/v9/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 1991-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines all file modules and build rules for the # directory uts/sparc/v9 and its children. These are the source files which @@ -58,22 +58,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/syscall/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/vm/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules. -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/fpu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/syscall/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - diff --git a/usr/src/uts/sparc/vnic/Makefile b/usr/src/uts/sparc/vnic/Makefile index 4eb75ef18b..303d9e000a 100644 --- a/usr/src/uts/sparc/vnic/Makefile +++ b/usr/src/uts/sparc/vnic/Makefile @@ -32,7 +32,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 @@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # 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/sparc/vr/Makefile b/usr/src/uts/sparc/vr/Makefile index 567d4c4f6b..ebe3acee33 100644 --- a/usr/src/uts/sparc/vr/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/vscan/Makefile b/usr/src/uts/sparc/vscan/Makefile index 6123739c34..6325949061 100644 --- a/usr/src/uts/sparc/vscan/Makefile +++ b/usr/src/uts/sparc/vscan/Makefile @@ -19,11 +19,9 @@ # CDDL HEADER END # # -# # 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 @@ -40,7 +38,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 +55,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 +76,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/sparc/vuid3ps2/Makefile b/usr/src/uts/sparc/vuid3ps2/Makefile index ad7ce36c5b..5bf8a7b669 100644 --- a/usr/src/uts/sparc/vuid3ps2/Makefile +++ b/usr/src/uts/sparc/vuid3ps2/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = vuid3ps2 OBJECTS = $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VUIDPS2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_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/sparc/wc/Makefile b/usr/src/uts/sparc/wc/Makefile index 37482ac950..5956bc79c5 100644 --- a/usr/src/uts/sparc/wc/Makefile +++ b/usr/src/uts/sparc/wc/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = wc OBJECTS = $(WC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(WC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io @@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,12 +59,14 @@ MODSTUBS_DIR = $(OBJS_DIR) $(MODSTUBS_O) := AS_CPPFLAGS += -DWC_MODULE CLEANFILES += $(MODSTUBS_O) -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) +CERRWARN += $(CNOWARN_UNINIT) + LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf # @@ -82,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/sparc/winlock/Makefile b/usr/src/uts/sparc/winlock/Makefile index 10ee83f9eb..e2f182b314 100644 --- a/usr/src/uts/sparc/winlock/Makefile +++ b/usr/src/uts/sparc/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,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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 -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -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/sparc/xge/Makefile b/usr/src/uts/sparc/xge/Makefile index 5a252dc13d..f3429bd5fd 100644 --- a/usr/src/uts/sparc/xge/Makefile +++ b/usr/src/uts/sparc/xge/Makefile @@ -37,7 +37,6 @@ UTSBASE = ../.. # MODULE = xge OBJECTS = $(XGE_HAL_OBJS:%=$(OBJS_DIR)/%) $(XGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XGE_HAL_OBJS:%.o=$(LINTS_DIR)/%.ln) $(XGE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) # @@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -76,7 +74,7 @@ HAL_CFLAGS = -DXGE_HAL_USE_MGMT_AUX #TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0xffffffff \ # -DXGE_DEBUG_TRACE_MASK=0xffffffff \ # -DXGE_DEBUG_ERR_MASK=0xffffffff -TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \ +TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \ -DXGE_DEBUG_TRACE_MASK=0x00000000 \ -DXGE_DEBUG_ERR_MASK=0x00003010 @@ -93,19 +91,11 @@ CFLAGS64 += $(XGE_CFLAGS) -xO4 -xcrossfile # LDFLAGS += -dy -N misc/mac -N drv/ip -# Lint flag # -LINTFLAGS += $(XGE_CFLAGS) -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_STATIC_UNUSED - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-label @@ -126,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/sparc/yge/Makefile b/usr/src/uts/sparc/yge/Makefile index 8b376f704b..9a56b8911b 100644 --- a/usr/src/uts/sparc/yge/Makefile +++ b/usr/src/uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/zcons/Makefile b/usr/src/uts/sparc/zcons/Makefile index 5c2d629369..70967385a9 100644 --- a/usr/src/uts/sparc/zcons/Makefile +++ b/usr/src/uts/sparc/zcons/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sparc/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)/sparc/Makefile.sparc # 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/sparc/zfs/Makefile b/usr/src/uts/sparc/zfs/Makefile index 617d495325..1379e5e87d 100644 --- a/usr/src/uts/sparc/zfs/Makefile +++ b/usr/src/uts/sparc/zfs/Makefile @@ -44,8 +44,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 @@ -59,7 +57,6 @@ include ../Makefile.$(ARCHDIR) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) # @@ -81,16 +78,10 @@ INC_PATH += -I$(UTSBASE)/sun4 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 @@ -112,12 +103,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/sparc/zut/Makefile b/usr/src/uts/sparc/zut/Makefile index 1ec757e8e8..1d1ee7d054 100644 --- a/usr/src/uts/sparc/zut/Makefile +++ b/usr/src/uts/sparc/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/sun/Makefile.files b/usr/src/uts/sun/Makefile.files index d31bda8f11..0d626ddb71 100644 --- a/usr/src/uts/sun/Makefile.files +++ b/usr/src/uts/sun/Makefile.files @@ -77,6 +77,5 @@ ZSH_OBJS += zs_hdlc.o # # Section 3: Misc. # -LINT_DEFS += -Dsun INC_PATH += -I$(UTSBASE)/sun diff --git a/usr/src/uts/sun/Makefile.rules b/usr/src/uts/sun/Makefile.rules index 3394bde438..ec295ca2cd 100644 --- a/usr/src/uts/sun/Makefile.rules +++ b/usr/src/uts/sun/Makefile.rules @@ -77,33 +77,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun/io/scsi/targets/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/scsi/adapters/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/audio/drv/audiocs/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/eri/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/scsi/adapters/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/scsi/targets/%.c - @($(LHEAD) $(LINT.c) -I. $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/dada/impl/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/dada/conf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun/io/dada/targets/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/scsi/adapters/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4/Makefile.files b/usr/src/uts/sun4/Makefile.files index d34d86084f..db7d81a80b 100644 --- a/usr/src/uts/sun4/Makefile.files +++ b/usr/src/uts/sun4/Makefile.files @@ -24,7 +24,7 @@ # Use is subject to license terms. # # This Makefile defines all file modules for the directory uts/sun4 -# and it's children. These are the source files which are common +# and its children. These are the source files which are common # between sun4u and sun4r. # @@ -95,10 +95,7 @@ INC_PATH += -I$(UTSBASE)/sun4 # # Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .make.state file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. +# all files including this file. # ASSYM_DEPS += genalign.o copy.o ip_ocsum.o ASSYM_DEPS += common_asm.o diff --git a/usr/src/uts/sun4/Makefile.rules b/usr/src/uts/sun4/Makefile.rules index 48f9f83fcd..d8ddbd53df 100644 --- a/usr/src/uts/sun4/Makefile.rules +++ b/usr/src/uts/sun4/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory uts/sun4 # and its children. These are the source files which are generic @@ -86,45 +86,3 @@ $(OBJS_DIR)/%.o: $(SUN4_BASE)/vm/%.c $(OBJS_DIR)/%.o: $(SUN4_BASE)/ebus/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/conf/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/conf/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/cpu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/cpu/%.s - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/io/efcode/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/io/pci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/io/px/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/io/fpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SUN4_BASE)/ebus/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/Makefile b/usr/src/uts/sun4u/Makefile index d8fc99e661..7da95236ca 100644 --- a/usr/src/uts/sun4u/Makefile +++ b/usr/src/uts/sun4u/Makefile @@ -31,25 +31,6 @@ UTSBASE = .. include Makefile.sun4u -# -# The following are SPARC specific (rather than sun4u) specific modules -# which are required for the sun4u kernel to completely lint. They are -# not involved in the build in any other way. In order to minimize -# build time, it is assumed that they are up to date. But since sun4u -# is really a separate architecture we cannot use the v7 sparc modules. -# -SPARC_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR) - -SPARC_LINTS = - -# -# -# -LINT_LIBS = $(LINT_LIB) \ - $(LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(SPARC_LINTS:%=$(SPARC_LIB_DIR)/llib-l%.ln) - - def := TARGET= def def.prereq := TARGET= def all := TARGET= all @@ -60,13 +41,8 @@ install_h := TARGET= install_h install_h.prere := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lint.prereq := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist modlist.sparc := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check .KEEP_STATE: @@ -79,7 +55,7 @@ check := TARGET= check # in parallel .NO_PARALLEL: $(CPU_KMODS) -def all clean clobber clean.lint: genassym unix .WAIT \ +def all clean clobber: genassym unix .WAIT \ $(KMODS) $(XMODS) $(IMPLEMENTATIONS) clobber: clobber.targ @@ -96,10 +72,6 @@ modlist.sparc: install: install_platforms genassym unix .WAIT $(KMODS) \ $(XMODS) $(IMPLEMENTATIONS) -lintlib: unix - -modlintlib: $(LINT_KMODS) - genassym unix $(KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) @@ -157,19 +129,6 @@ install_h.prereq: FRC @cd sys; pwd; $(MAKE) $(TARGET) # -# sun4u/unix and sun4u/genunix should be linted first since sparc does global -# cross-check with these lint libraries. The sun4u/unix and sun4u/genunix can be -# linted in parallel. -# -LINT_PREREQ = unix.lint genunix.lint -lint.prereq: $(LINT_PREREQ) - -.PARALLEL: $(LINT_PREREQ) - -$(LINT_PREREQ): - @cd $(@:%.lint=%); pwd; $(MAKE) $(TARGET) - -# # Nothing to do with any other prerequisites # %.prereq: @@ -259,19 +218,6 @@ $(USR_DESKTOP_SBIN_DIR): $(USR_DESKTOP_DIR) $(USR_DESKTOP_LIB_DIR): $(USR_DESKTOP_DIR) -$(INS.dir) -# -# Full kernel lint target. -# -LINT_TARGET = globallint - -globallint: - @pwd - @-$(ECHO) "\nSUN4U KERNEL: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - -lint: lintlib .WAIT modlintlib .WAIT $(SPARC_LINTS) $(LINT_DEPS) \ - $(IMPLEMENTATIONS) $(CPU_KMODS) - include ../Makefile.targ # diff --git a/usr/src/uts/sun4u/Makefile.files b/usr/src/uts/sun4u/Makefile.files index 740f792c5d..fe690606e6 100644 --- a/usr/src/uts/sun4u/Makefile.files +++ b/usr/src/uts/sun4u/Makefile.files @@ -25,7 +25,7 @@ # Copyright 2019 Peter Tribble. # # This Makefile defines all file modules for the directory uts/sun4u -# and it's children. These are the source files which are sun4u +# and its children. These are the source files which are sun4u # "implementation architecture" dependent. # @@ -216,10 +216,7 @@ INC_PATH += -I$(UTSBASE)/sun4u # # Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .make.state file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. +# all files including this file. # ASSYM_DEPS += mach_locore.o ASSYM_DEPS += module_sfmmu_asm.o diff --git a/usr/src/uts/sun4u/Makefile.rules b/usr/src/uts/sun4u/Makefile.rules index f16022e6fc..16e02ab4c5 100644 --- a/usr/src/uts/sun4u/Makefile.rules +++ b/usr/src/uts/sun4u/Makefile.rules @@ -177,111 +177,3 @@ $(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS) $(DTRACESTUBS): $(DTRACESTUBS_O) $(BUILD.SO) $(DTRACESTUBS_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/cpu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/cpu/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/ppm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/i2c/clients/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/i2c/misc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/i2c/nexus/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/pci/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/pci/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/px/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/px/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/pciex/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/pcbe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4/brand/sn1/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4/brand/solaris10/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/vm/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sfmmu/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sfmmu/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/bignum/sun4u/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/aes/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/arcfour/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/des/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/aes/sun4u/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/arcfour/sun4u/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/des/sun4u/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/sha1/sparc/sun4u/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/atomic/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/Makefile.sun4u b/usr/src/uts/sun4u/Makefile.sun4u index 7b4b7c0985..f170d03d11 100644 --- a/usr/src/uts/sun4u/Makefile.sun4u +++ b/usr/src/uts/sun4u/Makefile.sun4u @@ -103,8 +103,6 @@ UNIX_DIR = $(UTSBASE)/$(PLATFORM)/unix GENLIB_DIR = $(UTSBASE)/$(PLATFORM)/genunix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR) DTRACESTUBS_O = $(OBJS_DIR)/dtracestubs.o DTRACESTUBS = $(OBJS_DIR)/libdtracestubs.so @@ -113,12 +111,6 @@ UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln -GEN_LINT_LIB = $(LINT_LIB_DIR)/llib-lgenunix.ln - -LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%) -LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln) - # # cpu and platform modules need to know how to build their own symcheck module # @@ -216,9 +208,7 @@ ASFLAGS += $(AS_XARCH) AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR) -LINT_KMODS += $(GENUNIX_KMODS) -LINT_DEFS = -m64 # # The following must be defined for all implementations: @@ -438,9 +428,6 @@ CRYPTO_KMODS += des # GENUNIX_KMODS += genunix -# 'User' "Modules" excluded from the Full Kernel lint target: -# - # # Modules eXcluded from the product: # diff --git a/usr/src/uts/sun4u/aes/Makefile b/usr/src/uts/sun4u/aes/Makefile index 8042737faa..671dccccb4 100644 --- a/usr/src/uts/sun4u/aes/Makefile +++ b/usr/src/uts/sun4u/aes/Makefile @@ -44,7 +44,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = aes OBJECTS = $(AES_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AES_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_US3_CRYPTO_DIR)/$(MODULE) # @@ -56,7 +55,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -64,12 +62,8 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) -I$(COM_DIR) CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\" -LINTFLAGS += -I$(COM_DIR) # # Turn on doubleword alignment for 64 bit registers @@ -89,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/sun4u/arcfour/Makefile b/usr/src/uts/sun4u/arcfour/Makefile index 239cc9631e..414eeb972e 100644 --- a/usr/src/uts/sun4u/arcfour/Makefile +++ b/usr/src/uts/sun4u/arcfour/Makefile @@ -42,7 +42,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour # MODULE = arcfour OBJECTS = $(ARCFOUR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ARCFOUR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE) # @@ -54,15 +53,16 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) +CFLAGS += -I$(COM_DIR) + # -# 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) -LINTFLAGS += -I$(COM_DIR) - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses # @@ -83,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/sun4u/bbc_beep/Makefile b/usr/src/uts/sun4u/bbc_beep/Makefile index 36ec611670..cec7e677e4 100644 --- a/usr/src/uts/sun4u/bbc_beep/Makefile +++ b/usr/src/uts/sun4u/bbc_beep/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/bbc_beep/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 consconfig_dacf module. # @@ -39,7 +37,6 @@ UTSBASE = ../.. # MODULE = bbc_beep OBJECTS = $(BBC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BBC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -47,16 +44,12 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/Makefile.sun4u -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .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/sun4u/bootdev/Makefile b/usr/src/uts/sun4u/bootdev/Makefile index 89e6f1964f..5d73ba9b0e 100644 --- a/usr/src/uts/sun4u/bootdev/Makefile +++ b/usr/src/uts/sun4u/bootdev/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = bootdev OBJECTS = $(BOOTDEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOOTDEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -51,21 +50,14 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -81,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/sun4u/boston/Makefile.boston b/usr/src/uts/sun4u/boston/Makefile.boston index ab809b8a13..c8710a1e39 100644 --- a/usr/src/uts/sun4u/boston/Makefile.boston +++ b/usr/src/uts/sun4u/boston/Makefile.boston @@ -54,8 +54,6 @@ USR_BOSTON_SBIN_PRTDIAG = $(USR_BOSTON_SBIN_DIR)/prtdiag USR_BOSTON_SBIN_FRUADM = $(USR_BOSTON_SBIN_DIR)/fruadm USR_BOSTON_LIB_DIR = $(USR_BOSTON_DIR)/lib -BOSTON_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/boston/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/boston/Makefile.rules b/usr/src/uts/sun4u/boston/Makefile.rules index f37fe504fc..b0f82cf17f 100644 --- a/usr/src/uts/sun4u/boston/Makefile.rules +++ b/usr/src/uts/sun4u/boston/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -45,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/boston/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/boston/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/boston/platmod/Makefile b/usr/src/uts/sun4u/boston/platmod/Makefile index df85dff684..e9f4b8dfbc 100644 --- a/usr/src/uts/sun4u/boston/platmod/Makefile +++ b/usr/src/uts/sun4u/boston/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(BOSTON_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOSTON_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_BOSTON_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(BOSTON_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/cheetahplus/Makefile b/usr/src/uts/sun4u/cheetahplus/Makefile index f4bb408f25..6c6d5adffc 100644 --- a/usr/src/uts/sun4u/cheetahplus/Makefile +++ b/usr/src/uts/sun4u/cheetahplus/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = SUNW,UltraSPARC-III+ OBJECTS = $(CHEETAHPLUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CHEETAHPLUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SOFTLINKS = SUNW,UltraSPARC-IV SUNW,UltraSPARC-IV+ ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -63,14 +62,15 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # -# 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) -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ - -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT +CFLAGS += -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ + -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT ASFLAGS += -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT @@ -95,12 +95,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) @@ -119,16 +113,11 @@ $(ROOTSOFTLINKS): $(ROOTMODULE) include $(UTSBASE)/sun4u/Makefile.targ # -# 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 += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-variable diff --git a/usr/src/uts/sun4u/cherrystone/Makefile.cherrystone b/usr/src/uts/sun4u/cherrystone/Makefile.cherrystone index aa286c04f9..4ab2065609 100644 --- a/usr/src/uts/sun4u/cherrystone/Makefile.cherrystone +++ b/usr/src/uts/sun4u/cherrystone/Makefile.cherrystone @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/cherrystone/Makefile.cherrystone # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile contains the common definitions for the # sun4u Littleneck system dependent modules. @@ -59,7 +58,6 @@ USR_CHERRYSTONE_SBIN_DIR = $(USR_CHERRYSTONE_DIR)/sbin USR_CHERRYSTONE_LIB_DIR = $(USR_CHERRYSTONE_DIR)/lib USR_CHERRYSTONE_ISYS_DIR = $(USR_CHERRYSTONE_INC_DIR)/sys -CHERRYSTONE_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/cherrystone/lint-libs/$(OBJS_DIR) # # Define objects. # @@ -81,11 +79,3 @@ include $(UTSBASE)/sun4u/cherrystone/Makefile.files # Include common rules. # include $(UTSBASE)/sun4u/Makefile.sun4u - -# -# 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 - diff --git a/usr/src/uts/sun4u/cherrystone/Makefile.rules b/usr/src/uts/sun4u/cherrystone/Makefile.rules index 0b092a3197..358631a2d4 100644 --- a/usr/src/uts/sun4u/cherrystone/Makefile.rules +++ b/usr/src/uts/sun4u/cherrystone/Makefile.rules @@ -23,9 +23,9 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # -# This Makefile defines the build rules for the directory +# This Makefile defines the build rules for the directory # uts/sun4u/cherrystone and its children. # @@ -38,12 +38,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/cherrystone/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/cherrystone/ml/%.s $(COMPILE.s) -o $@ $< - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/cherrystone/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/cherrystone/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/cherrystone/platmod/Makefile b/usr/src/uts/sun4u/cherrystone/platmod/Makefile index 68ff3e184a..baa7809949 100644 --- a/usr/src/uts/sun4u/cherrystone/platmod/Makefile +++ b/usr/src/uts/sun4u/cherrystone/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(CSTONEPLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CSTONEPLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CHERRYSTONE_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,7 +59,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = debug64 obj64 @@ -68,7 +66,9 @@ DEF_BUILDS = obj64 $(NOT_RELEASE_BUILD)DEF_BUILDS = debug64 # -# 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-function @@ -86,17 +86,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(CHERRYSTONE_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/chicago/Makefile.chicago b/usr/src/uts/sun4u/chicago/Makefile.chicago index dad45c56de..f7e612dfe4 100644 --- a/usr/src/uts/sun4u/chicago/Makefile.chicago +++ b/usr/src/uts/sun4u/chicago/Makefile.chicago @@ -22,7 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -54,8 +54,6 @@ USR_CHICAGO_ISYS_DIR = $(USR_CHICAGO_INC_DIR)/sys USR_CHICAGO_SBIN_DIR = $(USR_CHICAGO_DIR)/sbin USR_CHICAGO_LIB_DIR = $(USR_CHICAGO_DIR)/lib -CHICAGO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/chicago/lint-libs/$(OBJS_DIR) - # # Define objects. # @@ -77,11 +75,3 @@ include $(UTSBASE)/sun4u/chicago/Makefile.files # Include common rules. # include $(UTSBASE)/sun4u/Makefile.sun4u - -# -# 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 - diff --git a/usr/src/uts/sun4u/chicago/Makefile.rules b/usr/src/uts/sun4u/chicago/Makefile.rules index 51c800c0d0..da44197264 100644 --- a/usr/src/uts/sun4u/chicago/Makefile.rules +++ b/usr/src/uts/sun4u/chicago/Makefile.rules @@ -22,8 +22,6 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -48,14 +46,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/chicago/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/chicago/io/fpc/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/chicago/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/chicago/io/fpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - diff --git a/usr/src/uts/sun4u/chicago/fpc/Makefile b/usr/src/uts/sun4u/chicago/fpc/Makefile index bc5c45d7ed..b372ee43cf 100644 --- a/usr/src/uts/sun4u/chicago/fpc/Makefile +++ b/usr/src/uts/sun4u/chicago/fpc/Makefile @@ -43,7 +43,6 @@ UTSBASE = ../../.. # MODULE = fpc OBJECTS = $(FPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CHICAGO_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4/io/fpc @@ -76,7 +75,6 @@ include $(UTSBASE)/sun4u/chicago/Makefile.chicago # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) \ $(BOSTON_ROOTMODULE) $(BOSTON_CONFFILE) \ $(SEATTLE_ROOTMODULE) $(SEATTLE_CONFFILE) @@ -86,10 +84,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) \ # INC_PATH += -I$(UTSBASE)/sun4/io/fpc -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) # # Turn on doubleword alignment for 64 bit registers @@ -97,12 +91,11 @@ CFLAGS += $(CCVERBOSE) CFLAGS += -dalign # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-variable # @@ -118,12 +111,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOT_BOSTON_DIR): $(ROOT_PLAT_DIR) diff --git a/usr/src/uts/sun4u/chicago/platmod/Makefile b/usr/src/uts/sun4u/chicago/platmod/Makefile index 854c8d087b..65cbd67330 100644 --- a/usr/src/uts/sun4u/chicago/platmod/Makefile +++ b/usr/src/uts/sun4u/chicago/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(CHICAGO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CHICAGO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CHICAGO_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,11 +59,12 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -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) CERRWARN += -_gcc=-Wno-unused-variable @@ -82,17 +82,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(CHICAGO_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/chicago/ppm/Makefile b/usr/src/uts/sun4u/chicago/ppm/Makefile index e0f065da9c..c16dde5fa1 100644 --- a/usr/src/uts/sun4u/chicago/ppm/Makefile +++ b/usr/src/uts/sun4u/chicago/ppm/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/chicago/ppm/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 platform power # management driver in the sun4u Chicago system. @@ -60,7 +59,6 @@ INSTALL_TARGET = $(ROOT_CONFFILE) NO_BUILDS = ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # The only thing we do from here is install the .conf file @@ -86,7 +84,7 @@ CFLAGS += -dalign # .KEEP_STATE: -def all clean clobber lint modlintlib clean.lint: +def all clean clobber: install: $(CONF_INSTALL_DEPS) diff --git a/usr/src/uts/sun4u/cpc/Makefile b/usr/src/uts/sun4u/cpc/Makefile index 42680e6a00..024189d20b 100644 --- a/usr/src/uts/sun4u/cpc/Makefile +++ b/usr/src/uts/sun4u/cpc/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/cpc/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 cpc kernel module. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = cpc OBJECTS = $(CPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_SYS_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,22 +52,11 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_PSM_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/daktari/Makefile.daktari b/usr/src/uts/sun4u/daktari/Makefile.daktari index f7cec459e7..4296346b6e 100644 --- a/usr/src/uts/sun4u/daktari/Makefile.daktari +++ b/usr/src/uts/sun4u/daktari/Makefile.daktari @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/daktari/Makefile.daktari # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile contains the common definitions for the # sun4u Daktari system dependent modules. @@ -59,8 +58,6 @@ USR_DAKTARI_SBIN_DIR = $(USR_DAKTARI_DIR)/sbin USR_DAKTARI_LIB_DIR = $(USR_DAKTARI_DIR)/lib USR_DAKTARI_ISYS_DIR = $(USR_DAKTARI_INC_DIR)/sys -DAKTARI_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/daktari/lint-libs/$(OBJS_DIR) - # # Define objects. @@ -82,12 +79,3 @@ include $(UTSBASE)/sun4u/daktari/Makefile.files # Include common rules. # include $(UTSBASE)/sun4u/Makefile.sun4u - -# -# 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_STATIC_UNUSED - diff --git a/usr/src/uts/sun4u/daktari/Makefile.rules b/usr/src/uts/sun4u/daktari/Makefile.rules index e0640730e6..536d7ef703 100644 --- a/usr/src/uts/sun4u/daktari/Makefile.rules +++ b/usr/src/uts/sun4u/daktari/Makefile.rules @@ -23,9 +23,9 @@ # Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # -# This Makefile defines the build rules for the directory +# This Makefile defines the build rules for the directory # uts/sun4u/daktari and its children. # # The following two-level ordering must be maintained in this file. @@ -49,15 +49,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/daktari/ml/%.s $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/daktari/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/daktari/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/daktari/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/daktari/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/daktari/hpc3130/Makefile b/usr/src/uts/sun4u/daktari/hpc3130/Makefile index abd8689d12..bd27cd616e 100644 --- a/usr/src/uts/sun4u/daktari/hpc3130/Makefile +++ b/usr/src/uts/sun4u/daktari/hpc3130/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = hpc3130 OBJECTS = $(HPC3130_DAK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HPC3130_DAK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DAKTARI_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/daktari/io @@ -53,7 +52,6 @@ include $(UTSBASE)/sun4u/daktari/Makefile.daktari # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,10 +59,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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-char-subscripts @@ -90,15 +89,8 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) +install: $(INSTALL_DEPS) -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -LINT_LIB_DIR = $(DAKTARI_LINT_LIB_DIR) # # Include common targets. diff --git a/usr/src/uts/sun4u/daktari/platmod/Makefile b/usr/src/uts/sun4u/daktari/platmod/Makefile index 4bff868623..6800f075dd 100644 --- a/usr/src/uts/sun4u/daktari/platmod/Makefile +++ b/usr/src/uts/sun4u/daktari/platmod/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(DAKTARI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DAKTARI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DAKTARI_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -58,7 +57,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -66,10 +64,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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-function @@ -87,17 +86,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(DAKTARI_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/darwin/Makefile b/usr/src/uts/sun4u/darwin/Makefile index 22bba73af1..a575997192 100644 --- a/usr/src/uts/sun4u/darwin/Makefile +++ b/usr/src/uts/sun4u/darwin/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/darwin/Makefile # Copyright 2005 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 sun4u darwin platform # module. @@ -48,12 +47,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -61,32 +56,12 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(DARWIN_KMODS) - -modlintlib: $(DARWIN_KMODS) +def all clean clobber modlist: $(DARWIN_KMODS) install: $(ROOT_DARWIN_DIR) $(USR_DARWIN_DIR) $(DARWIN_KMODS) check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the darwin platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/darwin.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(DARWIN_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nDarwin Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(DARWIN_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/darwin/Makefile.darwin b/usr/src/uts/sun4u/darwin/Makefile.darwin index fb6865bf5c..5b912a7b19 100644 --- a/usr/src/uts/sun4u/darwin/Makefile.darwin +++ b/usr/src/uts/sun4u/darwin/Makefile.darwin @@ -20,10 +20,9 @@ # CDDL HEADER END # # -# uts/sun4u/darwin/Makefile.darwin # Copyright (c) 1999 by Sun Microsystems, Inc. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -48,8 +47,6 @@ ROOT_PLAT_MISC_DIRS_32 += $(ROOT_DARWIN_MISC_DIR_32) USR_DARWIN_DIR = $(USR_PLAT_DIR)/SUNW,Ultra-5_10 -DARWIN_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/darwin/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/darwin/Makefile.rules b/usr/src/uts/sun4u/darwin/Makefile.rules index 0b873c57a7..d8c87cff73 100644 --- a/usr/src/uts/sun4u/darwin/Makefile.rules +++ b/usr/src/uts/sun4u/darwin/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 1999-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/darwin. @@ -42,9 +42,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/darwin/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/darwin/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/darwin/platmod/Makefile b/usr/src/uts/sun4u/darwin/platmod/Makefile index aaacda5c3e..5115b52535 100644 --- a/usr/src/uts/sun4u/darwin/platmod/Makefile +++ b/usr/src/uts/sun4u/darwin/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(DARWIN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DARWIN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DARWIN_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(DARWIN_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/des/Makefile b/usr/src/uts/sun4u/des/Makefile index d8b27d3d66..4e9804d156 100644 --- a/usr/src/uts/sun4u/des/Makefile +++ b/usr/src/uts/sun4u/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_PSM_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_MISC_DIR)/$(MODULE) TARGET_32 = ../../kernel/crypto/$(MODULE) @@ -60,7 +59,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -68,11 +66,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) +CFLAGS += -I$(COM_DIR) # # Turn on doubleword alignment for 64 bit registers @@ -80,15 +74,11 @@ LINTFLAGS += -I$(COM_DIR) CFLAGS += -dalign # -# 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_STATIC_UNUSED -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -105,12 +95,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_PSM_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/ebus/Makefile b/usr/src/uts/sun4u/ebus/Makefile index ac9d584723..7015db3064 100644 --- a/usr/src/uts/sun4u/ebus/Makefile +++ b/usr/src/uts/sun4u/ebus/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ebus OBJECTS = $(EBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,29 +51,19 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/ebus.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -91,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/sun4u/enchilada/Makefile b/usr/src/uts/sun4u/enchilada/Makefile index 6e918ce045..a048e8c0e3 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile +++ b/usr/src/uts/sun4u/enchilada/Makefile @@ -22,9 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/enchilada/Makefile + # # This makefile drives the production of the sun4u enchilada platform # module. @@ -48,12 +46,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -61,9 +55,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(ENCHILADA_KMODS) - -modlintlib: $(ENCHILADA_KMODS) +def all clean clobber modlist: $(ENCHILADA_KMODS) install: $(ROOT_ENCHILADA_DIR) \ $(USR_ENCHILADA_DIR) \ @@ -75,24 +67,6 @@ install: $(ROOT_ENCHILADA_DIR) \ check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the enchilada platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/enchilada.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(ENCHILADA_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nEnchilada Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(ENCHILADA_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/enchilada/Makefile.enchilada b/usr/src/uts/sun4u/enchilada/Makefile.enchilada index 109aecdad6..3d8f5f796e 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile.enchilada +++ b/usr/src/uts/sun4u/enchilada/Makefile.enchilada @@ -23,7 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -55,8 +55,6 @@ USR_ENCHILADA_ISYS_DIR = $(USR_ENCHILADA_INC_DIR)/sys USR_ENCHILADA_SBIN_DIR = $(USR_ENCHILADA_DIR)/sbin USR_ENCHILADA_LIB_DIR = $(USR_ENCHILADA_DIR)/lib -ENCHILADA_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/enchilada/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/enchilada/Makefile.rules b/usr/src/uts/sun4u/enchilada/Makefile.rules index 8638ed2ad8..28339f2a0c 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile.rules +++ b/usr/src/uts/sun4u/enchilada/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -45,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/enchilada/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/enchilada/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/enchilada/platmod/Makefile b/usr/src/uts/sun4u/enchilada/platmod/Makefile index 37a38a2ca3..e5d4fde642 100644 --- a/usr/src/uts/sun4u/enchilada/platmod/Makefile +++ b/usr/src/uts/sun4u/enchilada/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(ENCHILADA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ENCHILADA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_ENCHILADA_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(ENCHILADA_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/enchilada/ppm/Makefile b/usr/src/uts/sun4u/enchilada/ppm/Makefile index 81a228a19a..725a1bad52 100644 --- a/usr/src/uts/sun4u/enchilada/ppm/Makefile +++ b/usr/src/uts/sun4u/enchilada/ppm/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/enchilada/enchppm/Makefile # Copyright 2002 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 platform power # management driver in the sun4u enchilada system. @@ -60,7 +59,6 @@ INSTALL_TARGET = $(ROOT_CONFFILE) NO_BUILDS = ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # The only thing we do from here is install the .conf file @@ -86,7 +84,7 @@ CFLAGS += -dalign # .KEEP_STATE: -def all clean clobber lint modlintlib clean.lint: +def all clean clobber: install: $(CONF_INSTALL_DEPS) diff --git a/usr/src/uts/sun4u/excalibur/Makefile.excalibur b/usr/src/uts/sun4u/excalibur/Makefile.excalibur index c40920b6c5..b8a9a707e9 100644 --- a/usr/src/uts/sun4u/excalibur/Makefile.excalibur +++ b/usr/src/uts/sun4u/excalibur/Makefile.excalibur @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/excalibur/Makefile.excalibur -# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -56,8 +54,6 @@ USR_EXCALIBUR_ISYS_DIR = $(USR_EXCALIBUR_INC_DIR)/sys USR_EXCALIBUR_SBIN_DIR = $(USR_EXCALIBUR_DIR)/sbin USR_EXCALIBUR_LIB_DIR = $(USR_EXCALIBUR_DIR)/lib -EXCALIBUR_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/excalibur/lint-libs/$(OBJS_DIR) - # # Define objects. # @@ -79,13 +75,3 @@ include $(UTSBASE)/sun4u/excalibur/Makefile.files # Include common rules. # include $(UTSBASE)/sun4u/Makefile.sun4u - -# -# 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 - diff --git a/usr/src/uts/sun4u/excalibur/Makefile.rules b/usr/src/uts/sun4u/excalibur/Makefile.rules index 1605380df7..fc3f1ca16e 100644 --- a/usr/src/uts/sun4u/excalibur/Makefile.rules +++ b/usr/src/uts/sun4u/excalibur/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 1999-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/excalibur. @@ -50,15 +50,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/excalibur/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/excalibur/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/excalibur/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/excalibur/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/excalibur/platmod/Makefile b/usr/src/uts/sun4u/excalibur/platmod/Makefile index dca804a517..38c08a830a 100644 --- a/usr/src/uts/sun4u/excalibur/platmod/Makefile +++ b/usr/src/uts/sun4u/excalibur/platmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(EXCALIBUR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EXCALIBUR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXCALIBUR_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -61,12 +60,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -82,17 +77,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(EXCALIBUR_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/excalibur/xcalppm/Makefile b/usr/src/uts/sun4u/excalibur/xcalppm/Makefile index 719ffcf517..69215b51fd 100644 --- a/usr/src/uts/sun4u/excalibur/xcalppm/Makefile +++ b/usr/src/uts/sun4u/excalibur/xcalppm/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = xcalppm OBJECTS = $(XCALPPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XCALPPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXCALIBUR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/excalibur/io @@ -49,19 +48,21 @@ CONF_SRCDIR = $(UTSBASE)/sun4u/excalibur/io # include $(UTSBASE)/sun4u/excalibur/Makefile.excalibur -CLEANLINTFILES = $(LINTS) $(PPM_LINT_LIBS) -CLEANFILES = $(OBJECTS) $(CLEANLINTFILES) +CLEANFILES = $(OBJECTS) CLOBBERFILES = $(OBJS_DIR)/$(MODULE) $(CLEANFILES) # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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 += -_gcc=-Wno-parentheses @@ -87,21 +88,13 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) -lint: $(LINT_DEPS) clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) -LINT_LIB_DIR = $(EXCALIBUR_LINT_LIB_DIR) # # Include common targets. diff --git a/usr/src/uts/sun4u/excalibur/xcalwd/Makefile b/usr/src/uts/sun4u/excalibur/xcalwd/Makefile index 98d81b9af3..20b2a7f8b8 100644 --- a/usr/src/uts/sun4u/excalibur/xcalwd/Makefile +++ b/usr/src/uts/sun4u/excalibur/xcalwd/Makefile @@ -23,10 +23,6 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/excalibur/xcalwd/Makefile -# # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -39,7 +35,6 @@ UTSBASE = ../../.. MODULE = xcalwd XCALWD_OBJS = xcalwd.o OBJECTS = $(XCALWD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(XCALWD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_EXCALIBUR_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/excalibur/io @@ -48,20 +43,15 @@ CONF_SRCDIR = $(UTSBASE)/sun4u/excalibur/io # include $(UTSBASE)/sun4u/excalibur/Makefile.excalibur -CLEANLINTFILES = $(LINTS) -CLEANFILES = $(OBJECTS) $(CLEANLINTFILES) +CLEANFILES = $(OBJECTS) CLOBBERFILES = $(OBJS_DIR)/$(MODULE) $(CLEANFILES) # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -83,21 +73,13 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) -lint: $(LINT_DEPS) clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) -LINT_LIB_DIR = $(EXCALIBUR_LINT_LIB_DIR) # # Include common targets. diff --git a/usr/src/uts/sun4u/fd/Makefile b/usr/src/uts/sun4u/fd/Makefile index 2da88952a2..7973ef8074 100644 --- a/usr/src/uts/sun4u/fd/Makefile +++ b/usr/src/uts/sun4u/fd/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = fd OBJECTS = $(FD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) ASSYM_H = $(OBJS_DIR)/fd_assym.h @@ -57,7 +56,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -70,19 +68,11 @@ CLEANFILES += $(MODSTUBS_O) $(ASSYM_H) \ $(FDOFF_C) $(FDOFF_S) $(FDOFF_TMP) # -# 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 += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-char-subscripts @@ -100,12 +90,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/sun4u/fjlite/Makefile b/usr/src/uts/sun4u/fjlite/Makefile index 3bb13358bb..7e88469cf3 100644 --- a/usr/src/uts/sun4u/fjlite/Makefile +++ b/usr/src/uts/sun4u/fjlite/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/fjlite/Makefile # Copyright 2005 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 sun4u fjlite platform # module. @@ -49,12 +48,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check IMPLEMENTED_PLATFORM = SUNW,UltraAX-i2 @@ -66,30 +61,16 @@ IMPLEMENTED_PLATFORM = SUNW,UltraAX-i2 .PARALLEL: $(FJLITE_KMODS) -def all clean clobber clean.lint modlist: $(FJLITE_KMODS) +def all clean clobber modlist: $(FJLITE_KMODS) install: $(ROOT_FJLITE_DIR) $(USR_FJLITE_DIR) \ .WAIT $(FJLITE_KMODS) -modlintlib: $(FJLITE_KMODS) - $(FJLITE_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) install_h check: -lint: modlintlib .WAIT $(LINT_DEPS) - -LINT_LIBS = $(LINT_LIB) \ - -L$(FJLITE_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nFJ-lite Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - # # Include common targets. # diff --git a/usr/src/uts/sun4u/fjlite/Makefile.fjlite b/usr/src/uts/sun4u/fjlite/Makefile.fjlite index 9f38a2fc4d..1d3573fd11 100644 --- a/usr/src/uts/sun4u/fjlite/Makefile.fjlite +++ b/usr/src/uts/sun4u/fjlite/Makefile.fjlite @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/fjlite/Makefile # Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u fjlite implementation specific modules. # @@ -55,9 +54,6 @@ USR_FJLITE_INC_DIR = $(USR_FJLITE_DIR)/include USR_FJLITE_ISYS_DIR = $(USR_FJLITE_INC_DIR)/sys -FJLITE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/fjlite/lint-libs/$(OBJS_DIR) - - # Define Objects # FJLITE_OBJS = fjlite.o @@ -85,8 +81,6 @@ FJLITE_KMODS = platmod include $(UTSBASE)/sun4u/Makefile.sun4u -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/fjlite/lint-libs/$(OBJS_DIR) # diff --git a/usr/src/uts/sun4u/fjlite/Makefile.rules b/usr/src/uts/sun4u/fjlite/Makefile.rules index 5f55f8366a..e80b331fa5 100644 --- a/usr/src/uts/sun4u/fjlite/Makefile.rules +++ b/usr/src/uts/sun4u/fjlite/Makefile.rules @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/fjlite/Makefile # Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/fjlite and its children. @@ -41,14 +40,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/fjlite/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Lint object build rules -# - -# -# fjlite specific drivers -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/fjlite/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/fjlite/platmod/Makefile b/usr/src/uts/sun4u/fjlite/platmod/Makefile index 60b29fe7ee..ff5a735c7e 100644 --- a/usr/src/uts/sun4u/fjlite/platmod/Makefile +++ b/usr/src/uts/sun4u/fjlite/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(FJLITE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FJLITE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FJLITE_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(FJLITE_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/genassym/Makefile b/usr/src/uts/sun4u/genassym/Makefile index 2c03dc6f9c..8eb2b38ae6 100644 --- a/usr/src/uts/sun4u/genassym/Makefile +++ b/usr/src/uts/sun4u/genassym/Makefile @@ -23,7 +23,7 @@ # 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 assym.h through genconst/stabs. # @@ -78,8 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def install_h: diff --git a/usr/src/uts/sun4u/genunix/Makefile b/usr/src/uts/sun4u/genunix/Makefile index 48ccc65750..0c737c80a1 100644 --- a/usr/src/uts/sun4u/genunix/Makefile +++ b/usr/src/uts/sun4u/genunix/Makefile @@ -45,9 +45,6 @@ GENUNIX = $(OBJS_DIR)/$(MODULE) OBJECTS = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \ $(NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) - ROOTMODULE = $(ROOT_PSM_KERN_DIR)/$(MODULE) PLATFORM = sun4u @@ -63,7 +60,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(LIBGEN) $(GENUNIX) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(LIBGEN) $(GENUNIX) $(ROOTMODULE) # @@ -71,10 +67,6 @@ INSTALL_TARGET = $(LIBGEN) $(GENUNIX) $(ROOTMODULE) # CLEANFILES += $(LIBSTUBS) $(LIBGEN) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR) -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln -GEN_LINT_LIB = - BINARY = CLOBBERFILES += $(GENUNIX) @@ -90,26 +82,13 @@ IPCTF_TARGET = $(IPCTF) $(PATCH_BUILD)IPCTF_TARGET = # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -CPPFLAGS += -I$(SRC)/common -CPPFLAGS += -I$(SRC)/uts/common/fs/zfs - -INC_PATH += -I$(UTSBASE)/sun4 - # -# 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 += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-value @@ -121,11 +100,10 @@ CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-clobbered CERRWARN += -_gcc=-Wno-empty-body -# -# Ensure that lint sees 'struct cpu' containing a fully declared -# embedded 'struct machcpu' -# -LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu +CPPFLAGS += -I$(SRC)/common +CPPFLAGS += -I$(SRC)/uts/common/fs/zfs + +INC_PATH += -I$(UTSBASE)/sun4 # Default build targets. # @@ -141,12 +119,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) install_h: diff --git a/usr/src/uts/sun4u/gptwo_cpu/Makefile b/usr/src/uts/sun4u/gptwo_cpu/Makefile index d1a6c1c16e..78d28a9301 100644 --- a/usr/src/uts/sun4u/gptwo_cpu/Makefile +++ b/usr/src/uts/sun4u/gptwo_cpu/Makefile @@ -26,7 +26,7 @@ # # This makefile drives the production of the cpu portion of -# of the Safari Configurator. +# of the Safari Configurator. # # sun4u implementation architecture dependent # @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = gptwo_cpu OBJECTS = $(GPTWO_CPU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GPTWO_CPU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -53,18 +52,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) - -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/gptwo_cpu.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # @@ -74,7 +63,6 @@ CFLAGS += -dalign # Pick up defines in cheetahregs.h. # CFLAGS += -DCHEETAH_PLUS -LINTFLAGS += -DCHEETAH_PLUS # # module dependencies @@ -82,12 +70,11 @@ LINTFLAGS += -DCHEETAH_PLUS LDFLAGS += -dy -Nmisc/gptwocfg # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-function @@ -104,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/sun4u/gptwocfg/Makefile b/usr/src/uts/sun4u/gptwocfg/Makefile index 5fc69800a4..113e7cebc4 100644 --- a/usr/src/uts/sun4u/gptwocfg/Makefile +++ b/usr/src/uts/sun4u/gptwocfg/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/gptwocfg/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 gptwocfg Safari Configurator # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = gptwocfg OBJECTS = $(GPTWOCFG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GPTWOCFG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -52,15 +50,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/gptwocfg.il - -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,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/sun4u/grbeep/Makefile b/usr/src/uts/sun4u/grbeep/Makefile index 7512505569..2e84526bfc 100644 --- a/usr/src/uts/sun4u/grbeep/Makefile +++ b/usr/src/uts/sun4u/grbeep/Makefile @@ -23,9 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/grbeep/Makefile + # # This makefile drives the production of the grbeep driver. # @@ -38,7 +36,6 @@ UTSBASE = ../.. # MODULE = grbeep OBJECTS = $(GRBEEP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GRBEEP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -46,16 +43,12 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/Makefile.sun4u -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -68,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/sun4u/grover/Makefile b/usr/src/uts/sun4u/grover/Makefile index 23cebd1432..f9883da5e1 100644 --- a/usr/src/uts/sun4u/grover/Makefile +++ b/usr/src/uts/sun4u/grover/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/grover/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 sun4u grover platform # module. @@ -48,12 +47,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -61,11 +56,9 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(GROVER_KMODS) \ +def all clean clobber modlist: $(GROVER_KMODS) \ $(CLOSED_GROVER_KMODS) -modlintlib: $(GROVER_KMODS) $(CLOSED_GROVER_KMODS) - install: $(ROOT_GROVER_DIR) \ $(USR_GROVER_DIR) \ $(USR_GROVER_INC_DIR) \ @@ -76,24 +69,6 @@ install: $(ROOT_GROVER_DIR) \ check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the grover platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/grover.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(GROVER_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nGrover Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(GROVER_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/grover/Makefile.grover b/usr/src/uts/sun4u/grover/Makefile.grover index cd1f23c48c..4827bee2c5 100644 --- a/usr/src/uts/sun4u/grover/Makefile.grover +++ b/usr/src/uts/sun4u/grover/Makefile.grover @@ -50,9 +50,6 @@ USR_GROVER_ISYS_DIR = $(USR_GROVER_INC_DIR)/sys USR_GROVER_SBIN_DIR = $(USR_GROVER_DIR)/sbin USR_GROVER_LIB_DIR = $(USR_GROVER_DIR)/lib - -GROVER_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/grover/lint-libs/$(OBJS_DIR) - # # Define objects. # @@ -70,15 +67,3 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # GROVER_KMODS = platmod GROVER_KMODS += grfans - -# -# 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_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV diff --git a/usr/src/uts/sun4u/grover/Makefile.rules b/usr/src/uts/sun4u/grover/Makefile.rules index dae9002b2d..8287ae2870 100644 --- a/usr/src/uts/sun4u/grover/Makefile.rules +++ b/usr/src/uts/sun4u/grover/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/grover. @@ -50,15 +50,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/grover/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/grover/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/grover/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/grover/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/grover/grfans/Makefile b/usr/src/uts/sun4u/grover/grfans/Makefile index 4936e4170c..b18a65e712 100644 --- a/usr/src/uts/sun4u/grover/grfans/Makefile +++ b/usr/src/uts/sun4u/grover/grfans/Makefile @@ -1,8 +1,9 @@ # -#ident "%Z%%M% %I% %E% SMI" + # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# # This makefile drives the production of the grover_fans driver. # @@ -15,7 +16,6 @@ UTSBASE = ../../.. # MODULE = grfans OBJECTS = $(GRFANS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GRFANS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_GROVER_DRV_DIR)/$(MODULE) # @@ -23,9 +23,6 @@ ROOTMODULE = $(ROOT_GROVER_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/grover/Makefile.grover -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) CPPFLAGS += -I$(UTSBASE)/sun4u/grover @@ -34,7 +31,6 @@ CPPFLAGS += -I$(UTSBASE)/sun4u/grover # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -47,12 +43,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sun4u/grover/platmod/Makefile b/usr/src/uts/sun4u/grover/platmod/Makefile index 7962801ce2..d930cfbe5a 100644 --- a/usr/src/uts/sun4u/grover/platmod/Makefile +++ b/usr/src/uts/sun4u/grover/platmod/Makefile @@ -61,9 +61,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) ALL_TARGET = $(SYM_MOD) INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # diff --git a/usr/src/uts/sun4u/hummingbird/Makefile b/usr/src/uts/sun4u/hummingbird/Makefile index 1e114e429e..85db3c52f0 100644 --- a/usr/src/uts/sun4u/hummingbird/Makefile +++ b/usr/src/uts/sun4u/hummingbird/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = SUNW,UltraSPARC-IIe OBJECTS = $(HUMMINGBIRD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(HUMMINGBIRD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -62,15 +61,9 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # cpu-module-specific flags # CPPFLAGS += -DCPU_MODULE -DHUMMINGBIRD @@ -89,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) @@ -113,12 +100,9 @@ $(ROOTSOFTLINKS): $(ROOTMODULE) include $(UTSBASE)/sun4u/Makefile.targ # -# 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 -LINTTAGS += -erroff=E_BAD_FORMAT_STR2 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) diff --git a/usr/src/uts/sun4u/i2c_svc/Makefile b/usr/src/uts/sun4u/i2c_svc/Makefile index f17f211c52..fc5d917b3a 100644 --- a/usr/src/uts/sun4u/i2c_svc/Makefile +++ b/usr/src/uts/sun4u/i2c_svc/Makefile @@ -13,7 +13,6 @@ UTSBASE = ../.. # MODULE = i2c_svc OBJECTS = $(I2C_SVC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(I2C_SVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -21,9 +20,6 @@ ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/Makefile.sun4u -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy @@ -32,7 +28,6 @@ LDFLAGS += -dy # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -45,12 +40,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sun4u/isadma/Makefile b/usr/src/uts/sun4u/isadma/Makefile index 6e92243d9a..10445eab46 100644 --- a/usr/src/uts/sun4u/isadma/Makefile +++ b/usr/src/uts/sun4u/isadma/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = isadma OBJECTS = $(ISADMA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ISADMA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,28 +51,20 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign CPPFLAGS += -I$(UTSBASE)/sun4u # -# 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_PTRDIFF_OVERFLOW - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch # @@ -89,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/sun4u/jalapeno/Makefile b/usr/src/uts/sun4u/jalapeno/Makefile index 90606a8e04..3f2b9f82f4 100644 --- a/usr/src/uts/sun4u/jalapeno/Makefile +++ b/usr/src/uts/sun4u/jalapeno/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = SUNW,UltraSPARC-IIIi OBJECTS = $(JALAPENO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JALAPENO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -62,14 +61,10 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -DCHEETAH -DJALAPENO -DCPU_IMP_L1_CACHE_PARITY \ - -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE +CFLAGS += -DCHEETAH -DJALAPENO -DCPU_IMP_L1_CACHE_PARITY \ + -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE ASFLAGS += -DCHEETAH -DJALAPENO -DCPU_IMP_L1_CACHE_PARITY \ -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE @@ -94,12 +89,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) @@ -118,16 +107,11 @@ $(ROOTSOFTLINKS): $(ROOTMODULE) include $(UTSBASE)/sun4u/Makefile.targ # -# 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 += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits diff --git a/usr/src/uts/sun4u/javelin/Makefile b/usr/src/uts/sun4u/javelin/Makefile index f5fe9042a7..2f8ed9a641 100644 --- a/usr/src/uts/sun4u/javelin/Makefile +++ b/usr/src/uts/sun4u/javelin/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/javelin/Makefile # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of all Javelin system # dependent modules for the sun4u architecture. @@ -46,12 +45,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -59,12 +54,10 @@ check := TARGET= check # .KEEP_STATE: -def all clean.lint clean clobber modlist: $(JAVELIN_KMODS) \ +def all clean clobber modlist: $(JAVELIN_KMODS) \ $(CLOSED_JAVELIN_KMODS) -modlintlib: $(JAVELIN_KMODS) $(CLOSED_JAVELIN_KMODS) - -install: $(ROOT_JAVELIN_DIR) $(USR_JAVELIN_DIR) \ +install: $(ROOT_JAVELIN_DIR) $(USR_JAVELIN_DIR) \ $(USR_JAVELIN_INC_DIR) \ $(USR_JAVELIN_SBIN_DIR) \ $(USR_JAVELIN_LIB_DIR) \ @@ -72,24 +65,6 @@ install: $(ROOT_JAVELIN_DIR) $(USR_JAVELIN_DIR) \ install_h check: -lint: modlintlib - -# -# The 'lint.platmod' target lints the javelin platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/javelin.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(JAVELIN_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nJavelin Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(JAVELIN_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/javelin/Makefile.javelin b/usr/src/uts/sun4u/javelin/Makefile.javelin index e36b2ce589..6bd0cf3739 100644 --- a/usr/src/uts/sun4u/javelin/Makefile.javelin +++ b/usr/src/uts/sun4u/javelin/Makefile.javelin @@ -54,8 +54,6 @@ USR_JAVELIN_SBIN_DIR = $(USR_JAVELIN_DIR)/sbin USR_JAVELIN_LIB_DIR = $(USR_JAVELIN_DIR)/lib USR_JAVELIN_ISYS_DIR = $(USR_JAVELIN_INC_DIR)/sys -JAVELIN_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/javelin/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/javelin/Makefile.rules b/usr/src/uts/sun4u/javelin/Makefile.rules index b22f385be1..24d9c1e8ad 100644 --- a/usr/src/uts/sun4u/javelin/Makefile.rules +++ b/usr/src/uts/sun4u/javelin/Makefile.rules @@ -23,9 +23,9 @@ # Copyright 1994-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # -# This Makefile defines the build rules for the directory +# This Makefile defines the build rules for the directory # uts/sun4u/javelin and its children. # # The following two-level ordering must be maintained in this file. @@ -46,12 +46,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/javelin/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/javelin/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/javelin/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/javelin/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/javelin/envctrltwo/Makefile b/usr/src/uts/sun4u/javelin/envctrltwo/Makefile index cee65d58e4..efa713ee6a 100644 --- a/usr/src/uts/sun4u/javelin/envctrltwo/Makefile +++ b/usr/src/uts/sun4u/javelin/envctrltwo/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = envctrltwo OBJECTS = $(ENVCTRLTWO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ENVCTRLTWO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_JAVELIN_DRV_DIR)/$(MODULE) # @@ -51,11 +50,12 @@ include $(UTSBASE)/sun4u/javelin/Makefile.javelin # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -81,15 +81,8 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) +install: $(INSTALL_DEPS) -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -LINT_LIB_DIR = $(JAVELIN_LINT_LIB_DIR) # # Include common targets. diff --git a/usr/src/uts/sun4u/javelin/platmod/Makefile b/usr/src/uts/sun4u/javelin/platmod/Makefile index 7c0cec4937..6367f70367 100644 --- a/usr/src/uts/sun4u/javelin/platmod/Makefile +++ b/usr/src/uts/sun4u/javelin/platmod/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(JAVELIN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JAVELIN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_JAVELIN_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -58,12 +57,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -79,17 +74,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR =$(JAVELIN_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/jbusppm/Makefile b/usr/src/uts/sun4u/jbusppm/Makefile index fdd4ef8005..2212b5b347 100644 --- a/usr/src/uts/sun4u/jbusppm/Makefile +++ b/usr/src/uts/sun4u/jbusppm/Makefile @@ -19,12 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/jbusppm/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 power managment # module for the JBus @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = jbusppm OBJECTS = $(JBUSPPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JBUSPPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,22 +51,11 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -87,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/sun4u/littleneck/Makefile.littleneck b/usr/src/uts/sun4u/littleneck/Makefile.littleneck index a177fdcc71..1a7553489a 100644 --- a/usr/src/uts/sun4u/littleneck/Makefile.littleneck +++ b/usr/src/uts/sun4u/littleneck/Makefile.littleneck @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/littleneck/Makefile.littleneck # Copyright 1994-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile contains the common definitions for the # sun4u Littleneck system dependent modules. @@ -60,7 +59,6 @@ USR_LITTLENECK_SBIN_DIR = $(USR_LITTLENECK_DIR)/sbin USR_LITTLENECK_LIB_DIR = $(USR_LITTLENECK_DIR)/lib USR_LITTLENECK_ISYS_DIR = $(USR_LITTLENECK_INC_DIR)/sys -LITTLENECK_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/littleneck/lint-libs/$(OBJS_DIR) # # Define objects. # diff --git a/usr/src/uts/sun4u/littleneck/Makefile.rules b/usr/src/uts/sun4u/littleneck/Makefile.rules index 72e33ce9ba..4aef5bc9c0 100644 --- a/usr/src/uts/sun4u/littleneck/Makefile.rules +++ b/usr/src/uts/sun4u/littleneck/Makefile.rules @@ -23,9 +23,9 @@ # Copyright 1994-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # -# This Makefile defines the build rules for the directory +# This Makefile defines the build rules for the directory # uts/sun4u/littleneck and its children. # # The following two-level ordering must be maintained in this file. @@ -46,12 +46,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/littleneck/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/littleneck/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/littleneck/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/littleneck/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/littleneck/pcf8574/Makefile b/usr/src/uts/sun4u/littleneck/pcf8574/Makefile index 80ef5d5c5a..1417bb2704 100644 --- a/usr/src/uts/sun4u/littleneck/pcf8574/Makefile +++ b/usr/src/uts/sun4u/littleneck/pcf8574/Makefile @@ -20,11 +20,9 @@ # CDDL HEADER END # # -# uts/sun4u/littleneck/pcf8574/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 pcf8574 driver kernel # module in the sun4u littleneck systems. @@ -40,7 +38,6 @@ UTSBASE = ../../.. # MODULE = pcf8574 OBJECTS = $(LITTLENECK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LITTLENECK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LITTLENECK_DRV_DIR)/$(MODULE) # @@ -52,17 +49,12 @@ include $(UTSBASE)/sun4u/littleneck/Makefile.littleneck # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES = $(LINT32_FILES) $(NOT_RELEASE_BUILD)DEF_BUILDS = debug64 -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -84,15 +76,8 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) +install: $(INSTALL_DEPS) -LINT_LIB_DIR = $(LITTLENECK_LINT_LIB_DIR) # # Include common targets. diff --git a/usr/src/uts/sun4u/littleneck/platmod/Makefile b/usr/src/uts/sun4u/littleneck/platmod/Makefile index f867e8a660..eec5f5a68d 100644 --- a/usr/src/uts/sun4u/littleneck/platmod/Makefile +++ b/usr/src/uts/sun4u/littleneck/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(LNECKPLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LNECKPLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LITTLENECK_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,16 +59,12 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) ALL_BUILDS = debug64 obj64 DEF_BUILDS = obj64 $(NOT_RELEASE_BUILD)DEF_BUILDS = debug64 -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -85,17 +80,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(LITTLENECK_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/lw2plus/Makefile b/usr/src/uts/sun4u/lw2plus/Makefile index 951c9df77d..3b2044513b 100644 --- a/usr/src/uts/sun4u/lw2plus/Makefile +++ b/usr/src/uts/sun4u/lw2plus/Makefile @@ -46,12 +46,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -59,11 +55,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(LW2PLUS_KMODS) - -lintlib: unix - -modlintlib: $(LW2PLUS_KMODS) +def all clean clobber modlist: $(LW2PLUS_KMODS) IMPLEMENTED_PLATFORM = SUNW,Netra-T4 LINKS2DESTDIR = ../../../../SUNW,Sun-Fire-280R/kernel/misc/sparcv9 @@ -81,13 +73,6 @@ install: $(ROOT_LW2PLUS_DIR) $(USR_LW2PLUS_DIR) \ install_h check: -lint: modlintlib - -LINT_LIBS = $(LINT_LIB) \ - -L$(LW2PLUS_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - $(LW2PLUS_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/lw2plus/Makefile.lw2plus b/usr/src/uts/sun4u/lw2plus/Makefile.lw2plus index f05ceac979..6d680e1eb9 100644 --- a/usr/src/uts/sun4u/lw2plus/Makefile.lw2plus +++ b/usr/src/uts/sun4u/lw2plus/Makefile.lw2plus @@ -23,8 +23,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # Global definitions for sun4u implementation specific modules. @@ -58,8 +56,6 @@ USR_LW2PLUS_ISYS_DIR = $(USR_LW2PLUS_INC_DIR)/sys USR_LW2PLUS_SBIN_DIR = $(USR_LW2PLUS_DIR)/sbin USR_LW2PLUS_LIB_DIR = $(USR_LW2PLUS_DIR)/lib -LW2PLUS_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lw2plus/lint-libs/$(OBJS_DIR) - # # Define modules. # @@ -93,8 +89,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u UNIX_DIR = $(UTSBASE)/$(PLATFORM)/littleneck/unix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/littleneck/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lw2plus/lint-libs/$(OBJS_DIR) # # Define the actual specific platforms @@ -116,13 +110,3 @@ MACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU -DMP CPP_DEFS_32 = CPP_DEFS_64 = -D__sparcv9 CPP_DEFS = $(CPP_DEFS_$(CLASS)) - -# -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - diff --git a/usr/src/uts/sun4u/lw2plus/Makefile.rules b/usr/src/uts/sun4u/lw2plus/Makefile.rules index d96d7add6d..b39108ef8e 100644 --- a/usr/src/uts/sun4u/lw2plus/Makefile.rules +++ b/usr/src/uts/sun4u/lw2plus/Makefile.rules @@ -22,8 +22,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -44,9 +42,3 @@ $(OBJS_DIR)/lombus.o: $(UTSBASE)/sun4u/lw2plus/io/lombus.c $(COMPILE.c) -o $@ $(UTSBASE)/sun4u/lw2plus/io/lombus.c $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/lombus.ln: $(UTSBASE)/sun4u/lw2plus/io/lombus.c - @($(LHEAD) $(LINT.c) $(UTSBASE)/sun4u/lw2plus/io/lombus.c $(LTAIL)) diff --git a/usr/src/uts/sun4u/lw2plus/lombus/Makefile b/usr/src/uts/sun4u/lw2plus/lombus/Makefile index ad32f3b5ed..f0d7fb1b26 100644 --- a/usr/src/uts/sun4u/lw2plus/lombus/Makefile +++ b/usr/src/uts/sun4u/lw2plus/lombus/Makefile @@ -23,7 +23,7 @@ # 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 lombus driver kernel # module in the sun4u LW2plus systems @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = lombus OBJECTS = $(LOMBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LOMBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW2PLUS_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/lw2plus/io @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/lw2plus/Makefile.lw2plus # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,11 +58,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/lw8/Makefile b/usr/src/uts/sun4u/lw8/Makefile index 8b54a2bfd4..3d233350da 100644 --- a/usr/src/uts/sun4u/lw8/Makefile +++ b/usr/src/uts/sun4u/lw8/Makefile @@ -45,12 +45,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -58,11 +54,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(LW8_KMODS) - -lintlib: unix - -modlintlib: $(LW8_KMODS) +def all clean clobber modlist: $(LW8_KMODS) IMPLEMENTED_PLATFORM = SUNW,Netra-T12 LINKS2DESTDIR = ../../SUNW,Sun-Fire/kernel @@ -77,7 +69,7 @@ LW8_LINKS_4 = SUNW,Netra-T12/kernel/misc/sparcv9/sbdp LW8_PLAT_LINKS_2 = $(LW8_LINKS_2:%=$(ROOT_PLAT_DIR)/%) LW8_PLAT_LINKS_3 = $(LW8_LINKS_3:%=$(ROOT_PLAT_DIR)/%) LW8_PLAT_LINKS_4 = $(LW8_LINKS_4:%=$(ROOT_PLAT_DIR)/%) - + install: $(ROOT_LW8_DIR) $(USR_LW8_DIR) \ $(USR_LW8_INC_DIR) \ $(USR_LW8_SBIN_DIR) \ @@ -94,15 +86,6 @@ $(LW8_KMODS): FRC install_h check: FRC @cd sys; pwd; $(MAKE) $(TARGET) - -lint: modlintlib - -LINT_LIBS = $(LINT_LIB) \ - -L$(LW8_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - $(LW8_PLAT_LINKS_2): $(ROOT_LW8_MOD_DIR) $(RM) $@; $(SYMLINK) $(LINKS2DESTDIR)/$(@F) $@ diff --git a/usr/src/uts/sun4u/lw8/Makefile.lw8 b/usr/src/uts/sun4u/lw8/Makefile.lw8 index 1f310679ca..9b4d419b49 100644 --- a/usr/src/uts/sun4u/lw8/Makefile.lw8 +++ b/usr/src/uts/sun4u/lw8/Makefile.lw8 @@ -23,7 +23,6 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" # # Global definitions for sun4u implementation specific modules. @@ -59,8 +58,6 @@ USR_LW8_ISYS_DIR = $(USR_LW8_INC_DIR)/sys USR_LW8_SBIN_DIR = $(USR_LW8_DIR)/sbin USR_LW8_LIB_DIR = $(USR_LW8_DIR)/lib -LW8_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lw8/lint-libs/$(OBJS_DIR) - # # Define modules. # @@ -94,8 +91,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u UNIX_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/unix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lw8/lint-libs/$(OBJS_DIR) # # Define the actual specific platforms @@ -121,13 +116,3 @@ CPP_DEFS_32 = CPP_DEFS_64 = -D__sparcv9 CPP_DEFS = $(CPP_DEFS_$(CLASS)) -# -# 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_STATIC_UNUSED diff --git a/usr/src/uts/sun4u/lw8/Makefile.rules b/usr/src/uts/sun4u/lw8/Makefile.rules index b92a996402..03a61c05c8 100644 --- a/usr/src/uts/sun4u/lw8/Makefile.rules +++ b/usr/src/uts/sun4u/lw8/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/lw8. @@ -53,18 +53,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/lw8/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/serengeti/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/lw8/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/lw8/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/lw8/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/serengeti/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/lw8/lw8/Makefile b/usr/src/uts/sun4u/lw8/lw8/Makefile index c74d83fa27..cd37f8496d 100644 --- a/usr/src/uts/sun4u/lw8/lw8/Makefile +++ b/usr/src/uts/sun4u/lw8/lw8/Makefile @@ -23,7 +23,7 @@ # Copyright 2006 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 "lw8" driver module. # @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = lw8 OBJECTS = $(LW8_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LW8_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW8_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/lw8/io @@ -53,7 +52,6 @@ include $(UTSBASE)/sun4u/lw8/Makefile.lw8 # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -61,12 +59,8 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/sgsbbc # @@ -82,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/sun4u/lw8/ntwdt/Makefile b/usr/src/uts/sun4u/lw8/ntwdt/Makefile index 6a66d5c2f1..6da8f32a96 100644 --- a/usr/src/uts/sun4u/lw8/ntwdt/Makefile +++ b/usr/src/uts/sun4u/lw8/ntwdt/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = ntwdt OBJECTS = $(NTWDT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NTWDT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW8_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/lw8/io @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/lw8/Makefile.lw8 # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,10 +58,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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) @@ -83,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/sun4u/lw8/platmod/Makefile b/usr/src/uts/sun4u/lw8/platmod/Makefile index 65ed6d1ac9..da9d82067d 100644 --- a/usr/src/uts/sun4u/lw8/platmod/Makefile +++ b/usr/src/uts/sun4u/lw8/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(LW8_PLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LW8_PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW8_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,7 +59,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -68,10 +66,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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-variable @@ -90,17 +89,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR =$(LW8_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/lw8/sgenv/Makefile b/usr/src/uts/sun4u/lw8/sgenv/Makefile index e35528e081..f9ef889bf2 100644 --- a/usr/src/uts/sun4u/lw8/sgenv/Makefile +++ b/usr/src/uts/sun4u/lw8/sgenv/Makefile @@ -37,9 +37,8 @@ UTSBASE = ../../.. # # Define the module and object file sets. # -MODULE = sgenv +MODULE = sgenv OBJECTS = $(SGENV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGENV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW8_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/lw8/io @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/lw8/Makefile.lw8 # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -60,14 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/sgsbbc +# +# 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-type-limits # @@ -83,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/sun4u/lw8/sgfru/Makefile b/usr/src/uts/sun4u/lw8/sgfru/Makefile index 534f7399d4..f5128a24e8 100644 --- a/usr/src/uts/sun4u/lw8/sgfru/Makefile +++ b/usr/src/uts/sun4u/lw8/sgfru/Makefile @@ -23,7 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production (aka, builds) the # lw8 sgfru (fru) kernel module. @@ -37,7 +37,6 @@ UTSBASE = ../../.. # MODULE = sgfru OBJECTS = $(SGFRU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGFRU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_LW8_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/lw8/io @@ -50,7 +49,6 @@ include $(UTSBASE)/sun4u/lw8/Makefile.lw8 # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -58,11 +56,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/sgsbbc @@ -79,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/sun4u/mc-us3/Makefile b/usr/src/uts/sun4u/mc-us3/Makefile index 02f46fc300..795038659f 100644 --- a/usr/src/uts/sun4u/mc-us3/Makefile +++ b/usr/src/uts/sun4u/mc-us3/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = mc-us3 OBJECTS = $(MC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -51,26 +50,19 @@ include $(UTSBASE)/sun4u/Makefile.sun4u #Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -#lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# #Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# 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-parentheses # @@ -86,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/sun4u/mc-us3i/Makefile b/usr/src/uts/sun4u/mc-us3i/Makefile index a4db4e00b0..5833dc2d81 100644 --- a/usr/src/uts/sun4u/mc-us3i/Makefile +++ b/usr/src/uts/sun4u/mc-us3i/Makefile @@ -26,7 +26,7 @@ # # -# This makefile drives the production of the mc-us3i driver kernel +# This makefile drives the production of the mc-us3i driver kernel # module. # # sun4u implementation architecture dependent @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = mc-us3i OBJECTS = $(MC_US3I_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MC_US3I_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,11 +53,12 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -82,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/sun4u/md5/Makefile b/usr/src/uts/sun4u/md5/Makefile index b7f9942009..c631219586 100644 --- a/usr/src/uts/sun4u/md5/Makefile +++ b/usr/src/uts/sun4u/md5/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = md5 OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_MISC_DIR)/$(MODULE) @@ -52,13 +51,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # md5 depends on the kcf framework @@ -83,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_PSM_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/mem_cache/Makefile b/usr/src/uts/sun4u/mem_cache/Makefile index d71809bf31..180cd34ef2 100644 --- a/usr/src/uts/sun4u/mem_cache/Makefile +++ b/usr/src/uts/sun4u/mem_cache/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = mem_cache OBJECTS = $(MEM_CACHE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MEM_CACHE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/io @@ -53,13 +52,14 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) DSF_DIR = $(UTSBASE)/$(PLATFORM)/mem_cache/genassym # -# 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 @@ -83,12 +83,6 @@ clean: genassym $(CLEAN_DEPS) clobber: genassym $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: genassym $(INSTALL_DEPS) genassym : FRC diff --git a/usr/src/uts/sun4u/mem_cache/genassym/Makefile b/usr/src/uts/sun4u/mem_cache/genassym/Makefile index e1a67ee2bf..d3831bd248 100644 --- a/usr/src/uts/sun4u/mem_cache/genassym/Makefile +++ b/usr/src/uts/sun4u/mem_cache/genassym/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# # Copyright 2008 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 assym.h through genconst/stabs. # @@ -78,8 +77,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def install_h: diff --git a/usr/src/uts/sun4u/mpxu/Makefile.mpxu b/usr/src/uts/sun4u/mpxu/Makefile.mpxu index d57afbc988..1d2a635cd3 100644 --- a/usr/src/uts/sun4u/mpxu/Makefile.mpxu +++ b/usr/src/uts/sun4u/mpxu/Makefile.mpxu @@ -56,8 +56,6 @@ USR_MPXU_SBIN_PRTDIAG = $(USR_MPXU_SBIN_DIR)/prtdiag USR_MPXU_SBIN_FRUADM = $(USR_MPXU_SBIN_DIR)/fruadm USR_MPXU_LIB_DIR = $(USR_MPXU_DIR)/lib -MPXU_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR) - # # Links to UltraSparc III crypto modules # @@ -88,8 +86,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u MPXU_KMODS = tsalarm MODSTUBS_DIR = $(UNIX_DIR) -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR) # # Define the actual specific platforms @@ -112,14 +108,3 @@ CPP_DEFS_32 = CPP_DEFS_64 = -D__sparcv9 CPP_DEFS = $(CPP_DEFS_$(CLASS)) -# -# 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_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV diff --git a/usr/src/uts/sun4u/mpxu/Makefile.rules b/usr/src/uts/sun4u/mpxu/Makefile.rules index a6e5520b6f..adf7bf4931 100644 --- a/usr/src/uts/sun4u/mpxu/Makefile.rules +++ b/usr/src/uts/sun4u/mpxu/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -49,13 +47,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/mpxu/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/mpxu/io/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/mpxu/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/mpxu/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/mpxu/tsalarm/Makefile b/usr/src/uts/sun4u/mpxu/tsalarm/Makefile index db9ad320f0..b7f144e547 100644 --- a/usr/src/uts/sun4u/mpxu/tsalarm/Makefile +++ b/usr/src/uts/sun4u/mpxu/tsalarm/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../../.. # MODULE = tsalarm OBJECTS = $(MPXU_TSALARM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MPXU_TSALARM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MPXU_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/mpxu/io @@ -47,23 +46,17 @@ include $(UTSBASE)/sun4u/mpxu/Makefile.mpxu # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) - -# -# lint pass one enforcement # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/pci.il - # -# 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 @@ -88,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/sun4u/ngdr/Makefile.rules b/usr/src/uts/sun4u/ngdr/Makefile.rules index 3cbdbbbeed..95b02201f2 100644 --- a/usr/src/uts/sun4u/ngdr/Makefile.rules +++ b/usr/src/uts/sun4u/ngdr/Makefile.rules @@ -48,10 +48,3 @@ $(NGDR_IO)/dr_err.c: $(SBDGENERR) $(SBD_IOCTL) $(RM) $@ $(SBDGENERRCMD) ESBD < $(SBD_IOCTL) > $(NGDR_IO)/dr_err.c -# -# Section 1b: Lint object build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/ngdr/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - diff --git a/usr/src/uts/sun4u/obpsym/Makefile b/usr/src/uts/sun4u/obpsym/Makefile index 5000ba465a..7a889a147a 100644 --- a/usr/src/uts/sun4u/obpsym/Makefile +++ b/usr/src/uts/sun4u/obpsym/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/obpsym/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 obpsym misc kernel # module. @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = obpsym OBJECTS = $(OBPSYM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OBPSYM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -52,13 +50,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -73,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/sun4u/opl/Makefile b/usr/src/uts/sun4u/opl/Makefile index f94c5e984c..38522fbb5b 100644 --- a/usr/src/uts/sun4u/opl/Makefile +++ b/usr/src/uts/sun4u/opl/Makefile @@ -44,12 +44,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -modlintlib := TARGET= modlintlib -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -57,15 +53,11 @@ check := TARGET= check # .KEEP_STATE: -def all clean clobber clean.lint: genassym unix .WAIT \ +def all clean clobber: genassym unix .WAIT \ $(OPL_CPU_KMODS) $(OPL_KMODS) $(CLOSED_OPL_KMODS) modlist: unix $(OPL_CPU_KMODS) $(OPL_KMODS) $(CLOSED_OPL_KMODS) -lintlib: unix - -modlintlib: $(OPL_KMODS) $(CLOSED_OPL_KMODS) - IMPLEMENTED_PLATFORM = SUNW,SPARC-Enterprise install: $(ROOT_OPL_DIR) $(USR_OPL_DIR) \ @@ -94,27 +86,6 @@ $(OPLMSU_OPTION): FRC install_h check: FRC @cd sys; pwd; $(MAKE) $(TARGET) -lint: modlintlib - - -# -# The 'lint.platmod' target lints the opl platform module against -# the sun4u kernel. This ends up doing all the kernel cross-checks, -# so it takes a couple of minutes. -# Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/opl.c. -# - -LINT_LIBS = $(LINT_LIB) \ - -L$(OPL_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nOpl Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - # # # Include common targets. diff --git a/usr/src/uts/sun4u/opl/Makefile.opl b/usr/src/uts/sun4u/opl/Makefile.opl index a20f97cfb1..80f356486e 100644 --- a/usr/src/uts/sun4u/opl/Makefile.opl +++ b/usr/src/uts/sun4u/opl/Makefile.opl @@ -61,7 +61,6 @@ USR_OPL_SBIN_FRUADM = $(USR_OPL_SBIN_DIR)/fruadm USR_OPL_INC_DIR = $(USR_OPL_DIR)/include USR_OPL_ISYS_DIR = $(USR_OPL_INC_DIR)/sys -OPL_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/opl/lint-libs/$(OBJS_DIR) OPLMSU_OPTION = options # @@ -110,12 +109,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u UNIX_DIR = $(UTSBASE)/$(PLATFORM)/opl/unix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/opl/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/opl/lint-libs/$(OBJS_DIR) UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln # # Define the actual specific platforms @@ -152,7 +148,7 @@ MACHINE_DEFS += -DOLYMPUS_C_REV_A_ERRATA_XCALL MACHINE_DEFS += -DOLYMPUS_C_REV_B_ERRATA_XCALL # # OLYMPUS C Spurious interrupts -# - When an UE is detected in a interrupt packet, +# - When an UE is detected in a interrupt packet, # Olympus-C takes an interrupt_vector_trap (TT=0x60) while # ASI_INTR_RECIEVE.BUSY is set to zero to indicate the existence # of the error. Software will see this as a spurious interrupt since @@ -165,16 +161,4 @@ MACHINE_DEFS += -DOLYMPUS_C_REV_B_ERRATA_XCALL # recoverable. MACHINE_DEFS += -DCLEAR_INTR_BUSYBIT_ON_SPURIOUS -# -# 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_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - .KEEP_STATE: diff --git a/usr/src/uts/sun4u/opl/Makefile.rules b/usr/src/uts/sun4u/opl/Makefile.rules index 19c8381340..3c3bc09263 100644 --- a/usr/src/uts/sun4u/opl/Makefile.rules +++ b/usr/src/uts/sun4u/opl/Makefile.rules @@ -22,7 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/opl and its children. @@ -106,33 +106,4 @@ CLEANFILES += $(DRMACH_IL) $(DRMACH_IL): $(UTSBASE)/sun4u/opl/ml/drmach.il.cpp $(IL_CPP) $(UTSBASE)/sun4u/opl/ml/drmach.il.cpp > $@ - -# -# Section 1b: Lint object build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/ngdr/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/dr_mem.ln: $(UTSBASE)/sun4u/opl/io/dr_mem.c - @($(LHEAD) $(LINT.c) $(UTSBASE)/sun4u/opl/io/dr_mem.c $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/io/pcicmu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/io/oplpanel/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/opl/io/oplmsu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - .KEEP_STATE: diff --git a/usr/src/uts/sun4u/opl/dm2s/Makefile b/usr/src/uts/sun4u/opl/dm2s/Makefile index f97e0e7e65..de7fe5c9e9 100644 --- a/usr/src/uts/sun4u/opl/dm2s/Makefile +++ b/usr/src/uts/sun4u/opl/dm2s/Makefile @@ -22,7 +22,7 @@ # 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 dm2s driver # kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../../.. MODULE = dm2s OBJECTS = $(DM2S_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DM2S_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/opl/io @@ -54,7 +53,6 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,11 +60,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/opl/dr/Makefile b/usr/src/uts/sun4u/opl/dr/Makefile index 7589e53b9d..fdf4d2c343 100644 --- a/usr/src/uts/sun4u/opl/dr/Makefile +++ b/usr/src/uts/sun4u/opl/dr/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = dr OBJECTS = $(DR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/opl/io @@ -52,11 +51,12 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # 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) @@ -80,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/sun4u/opl/drmach/Makefile b/usr/src/uts/sun4u/opl/drmach/Makefile index a65edcc6f3..13857245cb 100644 --- a/usr/src/uts/sun4u/opl/drmach/Makefile +++ b/usr/src/uts/sun4u/opl/drmach/Makefile @@ -37,9 +37,8 @@ UTSBASE = ../../.. # # Define the module and object file sets. # -MODULE = drmach +MODULE = drmach OBJECTS = $(DRMACH_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DRMACH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_MISC_DIR)/$(MODULE) DRMACH_OFFSETS = $(UTSBASE)/sun4u/opl/ml/drmach_offsets.in @@ -54,13 +53,14 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CLEANFILES += $(DRMACH_OFFSETS_H) $(DRMACH_OFFSETS_OUT) # -# 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 @@ -85,12 +85,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) AS_INC_PATH += -I$(OBJS_DIR) diff --git a/usr/src/uts/sun4u/opl/genassym/Makefile b/usr/src/uts/sun4u/opl/genassym/Makefile index 9b0ca0c1f7..c70f484b6c 100644 --- a/usr/src/uts/sun4u/opl/genassym/Makefile +++ b/usr/src/uts/sun4u/opl/genassym/Makefile @@ -22,14 +22,12 @@ # 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 assym.h through genconst/stabs. # # sun4u opl implementation architecture dependent # -# uts/sun4u/opl/genassym/Makefile -# # # Path to the base of the uts directory tree (usually /usr/src/uts). @@ -75,8 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def # diff --git a/usr/src/uts/sun4u/opl/mc-opl/Makefile b/usr/src/uts/sun4u/opl/mc-opl/Makefile index bafe22c32e..944dfb06fa 100644 --- a/usr/src/uts/sun4u/opl/mc-opl/Makefile +++ b/usr/src/uts/sun4u/opl/mc-opl/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = mc-opl OBJECTS = $(MC_OPL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MC_OPL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/opl/io @@ -54,13 +53,11 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I../sys +CFLAGS += -I../sys + +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits @@ -72,7 +69,7 @@ CERRWARN += -_gcc=-Wno-type-limits # MC_EMULATION - emulate mac patrol registers # CFLAGS += -dalign -DMC_EMULATION -#CFLAGS += -dalign +#CFLAGS += -dalign # # Dependency @@ -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/sun4u/opl/olympus_c/Makefile b/usr/src/uts/sun4u/opl/olympus_c/Makefile index ac3b4e8f21..33446cb083 100644 --- a/usr/src/uts/sun4u/opl/olympus_c/Makefile +++ b/usr/src/uts/sun4u/opl/olympus_c/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../../.. # MODULE = FJSV,SPARC64-VI OBJECTS = $(OLYMPUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OLYMPUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_CPU_DIR)/$(MODULE) SOFTLINKS = FJSV,SPARC64-VII ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_OPL_CPU_DIR)/%) @@ -60,7 +59,6 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # @@ -68,11 +66,7 @@ INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# OLYMPUS_C_DEFS += -DOLYMPUS_C CFLAGS += $(CCVERBOSE) $(OLYMPUS_C_DEFS) CERRWARN += $(CNOWARN_UNINIT) @@ -93,12 +87,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) diff --git a/usr/src/uts/sun4u/opl/oplkmdrv/Makefile b/usr/src/uts/sun4u/opl/oplkmdrv/Makefile index 98a28fc104..32aa5eb1c5 100644 --- a/usr/src/uts/sun4u/opl/oplkmdrv/Makefile +++ b/usr/src/uts/sun4u/opl/oplkmdrv/Makefile @@ -41,7 +41,6 @@ INC_PATH += -I$(UTSBASE)/sun4u/opl/ MODULE = oplkmdrv OBJECTS = $(OPLKM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPLKM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/opl/io @@ -54,12 +53,8 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/opl/oplmsu/Makefile b/usr/src/uts/sun4u/opl/oplmsu/Makefile index e496ccdd7d..a8e56beb9b 100644 --- a/usr/src/uts/sun4u/opl/oplmsu/Makefile +++ b/usr/src/uts/sun4u/opl/oplmsu/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = oplmsu OBJECTS = $(OPLMSU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPLMSU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) # @@ -52,15 +51,17 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I../sys +CFLAGS += -I../sys LDFLAGS += -dy -Ndrv/su +# +# 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 CERRWARN += $(CNOWARN_UNINIT) @@ -77,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/sun4u/opl/oplpanel/Makefile b/usr/src/uts/sun4u/opl/oplpanel/Makefile index aa264cdb3b..e3417096da 100644 --- a/usr/src/uts/sun4u/opl/oplpanel/Makefile +++ b/usr/src/uts/sun4u/opl/oplpanel/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = oplpanel OBJECTS = $(OPL_PANEL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPL_PANEL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/opl/io/oplpanel @@ -52,13 +51,16 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) +CFLAGS += -I../sys + # -# 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../sys +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function # @@ -74,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/sun4u/opl/options/Makefile b/usr/src/uts/sun4u/opl/options/Makefile index 44b6f3a7b3..6960487a08 100644 --- a/usr/src/uts/sun4u/opl/options/Makefile +++ b/usr/src/uts/sun4u/opl/options/Makefile @@ -22,9 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/opl/options/Makefile + # # This makefile drives the production of the opl options conf file # @@ -51,7 +49,6 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(SRC_CONFILE) -LINT_TARGET = INSTALL_TARGET = $(ROOT_OPL_DRV_DIR) $(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/sun4u/opl/pcicmu/Makefile b/usr/src/uts/sun4u/opl/pcicmu/Makefile index fbddd90ea2..49a832b9a7 100644 --- a/usr/src/uts/sun4u/opl/pcicmu/Makefile +++ b/usr/src/uts/sun4u/opl/pcicmu/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = pcicmu OBJECTS = $(PCICMU_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCICMU_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE) # @@ -53,11 +52,12 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # 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) -I../sys CERRWARN += -_gcc=-Wno-parentheses @@ -83,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/sun4u/opl/platmod/Makefile b/usr/src/uts/sun4u/opl/platmod/Makefile index 38a2ab03bf..70ddc8c915 100644 --- a/usr/src/uts/sun4u/opl/platmod/Makefile +++ b/usr/src/uts/sun4u/opl/platmod/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(OPL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_OPL_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -56,12 +55,8 @@ CLEANFILES += $(PLATLIB) # Define targets # ALL_TARGET = $(PLATLIB) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -77,12 +72,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(PLATLIB): $(BINARY) diff --git a/usr/src/uts/sun4u/opl/unix/Makefile b/usr/src/uts/sun4u/opl/unix/Makefile index 89c2ab6b32..ea2ec40d61 100644 --- a/usr/src/uts/sun4u/opl/unix/Makefile +++ b/usr/src/uts/sun4u/opl/unix/Makefile @@ -44,11 +44,6 @@ UNIX = unix OBJECTS = $(SPECIAL_OBJS:%=$(OBJS_DIR)/%) \ $(CORE_OBJS:%=$(OBJS_DIR)/%) \ $(MACH_NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(SPECIAL_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CORE_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(MACH_NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) \ - $(LINTS_DIR)/vers.ln \ - $(LINTS_DIR)/modstubs.ln KRTLD_MAPFILE = $(UTSBASE)/sparc/krtld/mapfile KRTLD_OBJECTS = $(KRTLD_OBJS:%=$(OBJS_DIR)/%) @@ -82,7 +77,6 @@ include $(UTSBASE)/sun4u/opl/Makefile.opl # Define targets # ALL_TARGET = $(UNIX_BIN) -LINT_TARGET = $(LINT_LIB) INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) # @@ -91,7 +85,6 @@ INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) SYM_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # This is UNIX_DIR. Use a short path. @@ -107,14 +100,16 @@ CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \ $(DTRACESTUBS_O) $(DTRACESTUBS) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) -CLEANLINTFILES += $(LINT_LIB) -# -# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers -# -CFLAGS += $(CCVERBOSE) -dalign +CFLAGS += -dalign +# +# 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 CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-char-subscripts @@ -140,10 +135,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) symcheck: $(SYM_DEPS) @@ -174,23 +165,6 @@ $(CPULIB): $(CPU_OBJ) $(LD) -o $@ $(GSHARED) -h 'cpu/$$CPU' $(CPU_OBJ) # -# The global lint target builds the kernel lint library (llib-lunix.ln) -# which is equivalent to a lint of /unix.o. Then all kernel modules for -# this architecture are linted against the kernel lint library. -# -# Note: lint errors in the kernel lint library will be repeated for -# each module. It is important that the kernel lint library -# be clean to keep the textual output to a reasonable level. -# - -$(LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @-$(ECHO) "\n$(UNIX): (library construction):" - @$(LINT) -o $(UNIX) $(LINTFLAGS) $(LINTS) - @$(MV) $(@F) $@ - -lintlib: $(LINT_DEPS) - -# # Include common targets. # include $(UTSBASE)/sun4u/opl/Makefile.targ diff --git a/usr/src/uts/sun4u/opl_cfg/Makefile b/usr/src/uts/sun4u/opl_cfg/Makefile index 1dcec6314f..81745ef857 100644 --- a/usr/src/uts/sun4u/opl_cfg/Makefile +++ b/usr/src/uts/sun4u/opl_cfg/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = opl_cfg OBJECTS = $(OPLCFG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPLCFG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -54,15 +53,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # module dependencies # LDFLAGS += -dy -Nmisc/fcodem -Nmisc/busra @@ -77,12 +70,11 @@ INC_PATH += -I$(UTSBASE)/sun4u/opl/ CFLAGS += -dalign # -# 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) # @@ -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/sun4u/opl_pcbe/Makefile b/usr/src/uts/sun4u/opl_pcbe/Makefile index d47304b06b..3609f9359b 100644 --- a/usr/src/uts/sun4u/opl_pcbe/Makefile +++ b/usr/src/uts/sun4u/opl_pcbe/Makefile @@ -36,7 +36,6 @@ UTSBASE = ../.. # MODULE = pcbe.4.6 OBJECTS = $(OPL_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OPL_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE) ROOTLINK = $(USR_PCBE_DIR)/pcbe.4.7 @@ -49,23 +48,14 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = opl_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # -# 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_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-type-limits # @@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/pcf8584/Makefile b/usr/src/uts/sun4u/pcf8584/Makefile index 7134c7a6f0..c98793f9e7 100644 --- a/usr/src/uts/sun4u/pcf8584/Makefile +++ b/usr/src/uts/sun4u/pcf8584/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = pcf8584 OBJECTS = $(PCF8584_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PCF8584_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -41,25 +40,14 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/Makefile.sun4u -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) -I../../sun4u LDFLAGS += -dy -N misc/i2c_svc # -# 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 - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -72,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/sun4u/pcisch/Makefile b/usr/src/uts/sun4u/pcisch/Makefile index 50414236bf..080ddd2735 100644 --- a/usr/src/uts/sun4u/pcisch/Makefile +++ b/usr/src/uts/sun4u/pcisch/Makefile @@ -54,15 +54,16 @@ ALL_TARGET = $(BINARY) INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign +# +# 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 CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-function diff --git a/usr/src/uts/sun4u/pic16f747/Makefile b/usr/src/uts/sun4u/pic16f747/Makefile index 2b3a292a69..aae6a78d92 100644 --- a/usr/src/uts/sun4u/pic16f747/Makefile +++ b/usr/src/uts/sun4u/pic16f747/Makefile @@ -46,7 +46,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) CERRWARN += -_gcc=-Wno-parentheses diff --git a/usr/src/uts/sun4u/platmod/Makefile b/usr/src/uts/sun4u/platmod/Makefile index 8b624bb35e..f1a02637ed 100644 --- a/usr/src/uts/sun4u/platmod/Makefile +++ b/usr/src/uts/sun4u/platmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = platmod OBJECTS = $(PLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PLAT_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) # Define targets # ALL_TARGET = $(PLATLIB) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,12 +76,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) install_h: diff --git a/usr/src/uts/sun4u/pmc/Makefile b/usr/src/uts/sun4u/pmc/Makefile index c383df0fe2..d65517a2cc 100644 --- a/usr/src/uts/sun4u/pmc/Makefile +++ b/usr/src/uts/sun4u/pmc/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/pmc/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 pmc driver # (power management controller: logical unit 8 of the PC87317 chip) @@ -40,9 +39,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = pmc +MODULE = pmc OBJECTS = $(PMC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PMC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,13 +51,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # # Define targets # -ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint +ALL_TARGET = $(BINARY) INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/pmubus/Makefile b/usr/src/uts/sun4u/pmubus/Makefile index 7f6ef65190..4f8decf5f6 100644 --- a/usr/src/uts/sun4u/pmubus/Makefile +++ b/usr/src/uts/sun4u/pmubus/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = pmubus OBJECTS = $(PMUBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PMUBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,16 +52,10 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64-bit registers # CFLAGS += -dalign @@ -70,12 +63,11 @@ CFLAGS += -dalign CPPFLAGS += -I$(UTSBASE)/sun4u # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch 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/sun4u/pmugpio/Makefile b/usr/src/uts/sun4u/pmugpio/Makefile index 1df639d659..87c60a7c5f 100644 --- a/usr/src/uts/sun4u/pmugpio/Makefile +++ b/usr/src/uts/sun4u/pmugpio/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/pmugpio/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 pmugpio driver kernel # module in the sun4u systems @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = pmugpio OBJECTS = $(PMUGPIO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PMUGPIO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,12 +50,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy @@ -79,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/sun4u/power/Makefile b/usr/src/uts/sun4u/power/Makefile index 5eda7d968c..69bfaadb8f 100644 --- a/usr/src/uts/sun4u/power/Makefile +++ b/usr/src/uts/sun4u/power/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/power/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 power driver # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = power OBJECTS = $(POWER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(POWER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,22 +50,11 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -85,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/sun4u/ppm/Makefile b/usr/src/uts/sun4u/ppm/Makefile index dc15c0e88a..ec46f23bde 100644 --- a/usr/src/uts/sun4u/ppm/Makefile +++ b/usr/src/uts/sun4u/ppm/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = ppm OBJECTS = $(PPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,26 +53,14 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -96,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/sun4u/quasar/Makefile b/usr/src/uts/sun4u/quasar/Makefile index b7f29bd0d4..5254fb36a3 100644 --- a/usr/src/uts/sun4u/quasar/Makefile +++ b/usr/src/uts/sun4u/quasar/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/quasar/Makefile # Copyright 2005 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 sun4u quasar platform # module. @@ -48,12 +47,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -64,7 +59,7 @@ check := TARGET= check # .KEEP_STATE: -def all install_h clean lint lintlib modlintlib clean.lint clobber check: +def all install_h clean clobber check: modlist: @@ -72,7 +67,7 @@ install: install_darwin $(INSTALL_DEPS) $(USR_QUASAR_DIR) INSTALL_TARGET = platmod -platmod: $(ROOT_QUASAR_MISC_DIR) +platmod: $(ROOT_QUASAR_MISC_DIR) -@$(RM) -r $(OBJS_DIR) -@$(RM) $(ROOT_QUASAR_MISC_DIR)/$@ $(SYMLINK) $(ROOT_QUASAR_MISC_LINK)/$@ $(ROOT_QUASAR_MISC_DIR)/$@ diff --git a/usr/src/uts/sun4u/s10_brand/Makefile b/usr/src/uts/sun4u/s10_brand/Makefile index 6fdde88f6a..b5e7c23d2d 100644 --- a/usr/src/uts/sun4u/s10_brand/Makefile +++ b/usr/src/uts/sun4u/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 = $(ROOT_PSM_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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/sun4u/sbd/Makefile b/usr/src/uts/sun4u/sbd/Makefile index 9e6df9ad35..624f92e60d 100644 --- a/usr/src/uts/sun4u/sbd/Makefile +++ b/usr/src/uts/sun4u/sbd/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = sbd OBJECTS = $(SBD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SBD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/sbdp @@ -53,11 +52,12 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -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/sun4u/sbusmem/Makefile b/usr/src/uts/sun4u/sbusmem/Makefile index 6fe27c961c..f431083a89 100644 --- a/usr/src/uts/sun4u/sbusmem/Makefile +++ b/usr/src/uts/sun4u/sbusmem/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = sbusmem OBJECTS = $(SBUSMEM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SBUSMEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io @@ -54,11 +53,12 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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 += -_gcc=-Wno-switch @@ -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/sun4u/schppm/Makefile b/usr/src/uts/sun4u/schppm/Makefile index c89754cfd7..d87e126013 100644 --- a/usr/src/uts/sun4u/schppm/Makefile +++ b/usr/src/uts/sun4u/schppm/Makefile @@ -20,12 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/schppm/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 power managment # module for the schizo ASIC @@ -43,7 +41,6 @@ UTSBASE = ../.. # MODULE = schppm OBJECTS = $(SCHPPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCHPPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -55,12 +52,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/schumacher/Makefile b/usr/src/uts/sun4u/schumacher/Makefile index 04df3916b3..b6942bcd83 100644 --- a/usr/src/uts/sun4u/schumacher/Makefile +++ b/usr/src/uts/sun4u/schumacher/Makefile @@ -42,12 +42,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -55,9 +51,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(SCHUMACHER_KMODS) - -modlintlib: $(SCHUMACHER_KMODS) +def all clean clobber modlist: $(SCHUMACHER_KMODS) install: $(ROOT_SCHUMACHER_DIR) \ $(USR_SCHUMACHER_DIR) \ @@ -71,23 +65,6 @@ install: $(ROOT_SCHUMACHER_DIR) \ check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the schumacher platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(SCHUMACHER_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nSchumacher Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(SCHUMACHER_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/schumacher/Makefile.rules b/usr/src/uts/sun4u/schumacher/Makefile.rules index 28daa0ba3d..a23a519a3d 100644 --- a/usr/src/uts/sun4u/schumacher/Makefile.rules +++ b/usr/src/uts/sun4u/schumacher/Makefile.rules @@ -22,7 +22,7 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/schumacher. @@ -43,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/schumacher/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/schumacher/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - diff --git a/usr/src/uts/sun4u/schumacher/Makefile.schumacher b/usr/src/uts/sun4u/schumacher/Makefile.schumacher index 5eb26050a1..9d89cd656d 100644 --- a/usr/src/uts/sun4u/schumacher/Makefile.schumacher +++ b/usr/src/uts/sun4u/schumacher/Makefile.schumacher @@ -52,8 +52,6 @@ USR_SCHUMACHER_SBIN_PRTDIAG = $(USR_SCHUMACHER_SBIN_DIR)/prtdiag USR_SCHUMACHER_SBIN_FRUADM = $(USR_SCHUMACHER_SBIN_DIR)/fruadm USR_SCHUMACHER_LIB_DIR = $(USR_SCHUMACHER_DIR)/lib -SCHUMACHER_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/schumacher/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/schumacher/platmod/Makefile b/usr/src/uts/sun4u/schumacher/platmod/Makefile index 11d8bf9192..10bd5e41bd 100644 --- a/usr/src/uts/sun4u/schumacher/platmod/Makefile +++ b/usr/src/uts/sun4u/schumacher/platmod/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(SCHUMACHER_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SCHUMACHER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SCHUMACHER_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -59,12 +58,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -80,17 +75,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(SCHUMACHER_LINT_LIB_DIR) $(PLATLIB): $(BINARY) $(LD) -o $(PLATLIB) $(GSHARED) $(BINARY) diff --git a/usr/src/uts/sun4u/seattle/Makefile.rules b/usr/src/uts/sun4u/seattle/Makefile.rules index b216d0ffdd..3ba4c1e399 100644 --- a/usr/src/uts/sun4u/seattle/Makefile.rules +++ b/usr/src/uts/sun4u/seattle/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -45,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/seattle/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/seattle/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/seattle/Makefile.seattle b/usr/src/uts/sun4u/seattle/Makefile.seattle index e483525286..e7a13b443f 100644 --- a/usr/src/uts/sun4u/seattle/Makefile.seattle +++ b/usr/src/uts/sun4u/seattle/Makefile.seattle @@ -54,8 +54,6 @@ USR_SEATTLE_SBIN_PRTDIAG = $(USR_SEATTLE_SBIN_DIR)/prtdiag USR_SEATTLE_SBIN_FRUADM = $(USR_SEATTLE_SBIN_DIR)/fruadm USR_SEATTLE_LIB_DIR = $(USR_SEATTLE_DIR)/lib -SEATTLE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/seattle/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/seattle/platmod/Makefile b/usr/src/uts/sun4u/seattle/platmod/Makefile index 7dec4b8dc0..74ac07da78 100644 --- a/usr/src/uts/sun4u/seattle/platmod/Makefile +++ b/usr/src/uts/sun4u/seattle/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(SEATTLE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SEATTLE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SEATTLE_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(SEATTLE_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/seattle/su/Makefile b/usr/src/uts/sun4u/seattle/su/Makefile index dbae47f11a..1382fca09e 100644 --- a/usr/src/uts/sun4u/seattle/su/Makefile +++ b/usr/src/uts/sun4u/seattle/su/Makefile @@ -23,9 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/seattle/su/Makefile + # # This makefile drives the install of the platform su.conf # driver configuration file in the sun4u Seattle system. @@ -69,7 +67,7 @@ $(CONF_INSTALL_OBJ): FRC # .KEEP_STATE: -def all clean clobber lint modlintlib clean.lint: +def all clean clobber: install: $(INSTALL_TARGET) diff --git a/usr/src/uts/sun4u/serengeti/Makefile b/usr/src/uts/sun4u/serengeti/Makefile index cbfc558322..11443a62ea 100644 --- a/usr/src/uts/sun4u/serengeti/Makefile +++ b/usr/src/uts/sun4u/serengeti/Makefile @@ -22,8 +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 sun4u serengeti platform # module. @@ -47,12 +46,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -60,16 +55,12 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber: genassym unix .WAIT $(SERENGETI_KMODS) +def all clean clobber: genassym unix .WAIT $(SERENGETI_KMODS) modlist: unix $(SERENGETI_KMODS) -lintlib: unix - -modlintlib: $(SERENGETI_KMODS) - IMPLEMENTED_PLATFORM = SUNW,Sun-Fire - + install: $(ROOT_SERENGETI_DIR) $(USR_SERENGETI_DIR) \ $(USR_SERENGETI_INC_DIR) \ $(USR_SERENGETI_SBIN_DIR) \ @@ -88,25 +79,6 @@ $(SERENGETI_CRYPTO_LINKS): $(ROOT_SERENGETI_CRYPTO_DIR_64) install_h check: FRC @cd sys; pwd; $(MAKE) $(TARGET) - -lint: modlintlib - -# -# The 'lint.platmod' target lints the serengeti platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/serengeti.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(SERENGETI_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nSerengeti Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - # # Include common targets. # diff --git a/usr/src/uts/sun4u/serengeti/Makefile.files b/usr/src/uts/sun4u/serengeti/Makefile.files index 4bbed30b35..d1dbe65f66 100644 --- a/usr/src/uts/sun4u/serengeti/Makefile.files +++ b/usr/src/uts/sun4u/serengeti/Makefile.files @@ -22,7 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -43,5 +43,4 @@ SSM_OBJS = ssm.o # serengeti-specific header file path # # CFLAGS += -I$(UTSBASE)/sun4u/serengeti/ -# LINTFLAGS += -I$(UTSBASE)/sun4u/serengeti/ INC_PATH += -I$(UTSBASE)/sun4u/serengeti/ diff --git a/usr/src/uts/sun4u/serengeti/Makefile.rules b/usr/src/uts/sun4u/serengeti/Makefile.rules index bdcab1cb1a..2d386e2e41 100644 --- a/usr/src/uts/sun4u/serengeti/Makefile.rules +++ b/usr/src/uts/sun4u/serengeti/Makefile.rules @@ -22,7 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/serengeti. @@ -61,16 +61,3 @@ CLEANFILES += $(SBDP_IL) $(SBDP_IL): $(UTSBASE)/sun4u/serengeti/ml/sbdp.il.cpp $(IL_CPP) $(UTSBASE)/sun4u/serengeti/ml/sbdp.il.cpp >$@ - - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/serengeti/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/serengeti/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/serengeti/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/serengeti/Makefile.serengeti b/usr/src/uts/sun4u/serengeti/Makefile.serengeti index 3e5184f235..6fa5646066 100644 --- a/usr/src/uts/sun4u/serengeti/Makefile.serengeti +++ b/usr/src/uts/sun4u/serengeti/Makefile.serengeti @@ -66,8 +66,6 @@ USR_SERENGETI_ISYS_DIR = $(USR_SERENGETI_INC_DIR)/sys USR_SERENGETI_SBIN_DIR = $(USR_SERENGETI_DIR)/sbin USR_SERENGETI_LIB_DIR = $(USR_SERENGETI_DIR)/lib -SERENGETI_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR) - # # Include the makefiles which define build rule templates, the # collection of files per module, and a few specific flags. Note @@ -95,7 +93,7 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # # Define modules # -SERENGETI_KMODS = cheetah cheetahplus +SERENGETI_KMODS = cheetah cheetahplus SERENGETI_KMODS += platmod sbdp sgcn sghsc sgsbbc ssm # @@ -104,12 +102,9 @@ SERENGETI_KMODS += platmod sbdp sgcn sghsc sgsbbc ssm UNIX_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/unix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR) UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln # # Define the actual specific platforms @@ -135,15 +130,3 @@ MACHINE_DEFS += -DC_OBP CPP_DEFS_32 = -D__sparc CPP_DEFS_64 = -D__sparc -D__sparcv9 CPP_DEFS = $(CPP_DEFS_$(CLASS)) - -# -# 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_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV diff --git a/usr/src/uts/sun4u/serengeti/cheetah/Makefile b/usr/src/uts/sun4u/serengeti/cheetah/Makefile index 301cc62306..1c8108c448 100644 --- a/usr/src/uts/sun4u/serengeti/cheetah/Makefile +++ b/usr/src/uts/sun4u/serengeti/cheetah/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = SUNW,UltraSPARC-III OBJECTS = $(CHEETAH_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CHEETAH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_CPU_DIR)/$(MODULE) ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_SERENGETI_CPU_DIR)/%) @@ -61,7 +60,6 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # SYM_MOD = $(OBJS_DIR)/unix.sym ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # @@ -69,14 +67,16 @@ INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -DCHEETAH +CFLAGS += -DCHEETAH ASFLAGS += -DCHEETAH +# +# 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 CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits @@ -102,12 +102,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) diff --git a/usr/src/uts/sun4u/serengeti/cheetahplus/Makefile b/usr/src/uts/sun4u/serengeti/cheetahplus/Makefile index f81ea26dda..abe0e7e335 100644 --- a/usr/src/uts/sun4u/serengeti/cheetahplus/Makefile +++ b/usr/src/uts/sun4u/serengeti/cheetahplus/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = SUNW,UltraSPARC-III+ OBJECTS = $(CHEETAHPLUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CHEETAHPLUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_CPU_DIR)/$(MODULE) SOFTLINKS = SUNW,UltraSPARC-IV SUNW,UltraSPARC-IV+ ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_SERENGETI_CPU_DIR)/%) @@ -62,7 +61,6 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # SYM_MOD = $(OBJS_DIR)/unix.sym ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # @@ -70,16 +68,23 @@ INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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) -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ - -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT +CFLAGS += -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ + -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT ASFLAGS += -DCHEETAH -DCHEETAH_PLUS -DCPU_IMP_L1_CACHE_PARITY \ -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE -DCPU_IMP_AFSR_EXT +# +# 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 CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-variable @@ -108,12 +113,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) diff --git a/usr/src/uts/sun4u/serengeti/genassym/Makefile b/usr/src/uts/sun4u/serengeti/genassym/Makefile index 61d66c1248..85c8e9d75a 100644 --- a/usr/src/uts/sun4u/serengeti/genassym/Makefile +++ b/usr/src/uts/sun4u/serengeti/genassym/Makefile @@ -24,8 +24,6 @@ # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" - # # This makefile drives the production of assym.h through genconst/stabs. # @@ -62,7 +60,6 @@ CLEANFILES = $(GENCONST) Nothing_to_remove CLOBBERFILES = $(ASSYM_H) $(CLEANFILES) Nothing_to_remove ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # Default build targets. @@ -77,8 +74,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def # diff --git a/usr/src/uts/sun4u/serengeti/platmod/Makefile b/usr/src/uts/sun4u/serengeti/platmod/Makefile index ed362ec056..9d67e9a5b2 100644 --- a/usr/src/uts/sun4u/serengeti/platmod/Makefile +++ b/usr/src/uts/sun4u/serengeti/platmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(SERENGETI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SERENGETI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -61,7 +60,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,10 +67,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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-variable @@ -91,17 +90,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(SERENGETI_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/serengeti/sbdp/Makefile b/usr/src/uts/sun4u/serengeti/sbdp/Makefile index 2a45b38f06..0da46919b9 100644 --- a/usr/src/uts/sun4u/serengeti/sbdp/Makefile +++ b/usr/src/uts/sun4u/serengeti/sbdp/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = sbdp OBJECTS = $(SBDP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SBDP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_MISC_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,15 +58,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) MACHINE_DEFS += -DCHEETAH_PLUS +LDFLAGS += -dy -Ndrv/sgsbbc + # -# 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) -LDFLAGS += -dy -Ndrv/sgsbbc - CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused-function @@ -92,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/sun4u/serengeti/sgcn/Makefile b/usr/src/uts/sun4u/serengeti/sgcn/Makefile index 94a28a5a96..b8ee4484e5 100644 --- a/usr/src/uts/sun4u/serengeti/sgcn/Makefile +++ b/usr/src/uts/sun4u/serengeti/sgcn/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = sgcn OBJECTS = $(SGCN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGCN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,14 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/sgsbbc +# +# 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 CERRWARN += $(CNOWARN_UNINIT) @@ -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/sun4u/serengeti/sghsc/Makefile b/usr/src/uts/sun4u/serengeti/sghsc/Makefile index 6899e46e48..4019583482 100644 --- a/usr/src/uts/sun4u/serengeti/sghsc/Makefile +++ b/usr/src/uts/sun4u/serengeti/sghsc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = sghsc OBJECTS = $(SGHSC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGHSC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/serengeti/io @@ -54,7 +53,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -62,10 +60,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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-type-limits @@ -94,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/sun4u/serengeti/sgsbbc/Makefile b/usr/src/uts/sun4u/serengeti/sgsbbc/Makefile index 14f851e299..de0adcf0ba 100644 --- a/usr/src/uts/sun4u/serengeti/sgsbbc/Makefile +++ b/usr/src/uts/sun4u/serengeti/sgsbbc/Makefile @@ -38,12 +38,10 @@ UTSBASE = ../../.. # Define the module and object file sets. # # Note that this module is built as sgsbbc, but then -# installed as sbbc. This is to minimise the changes -# required for 'make lint', etc. +# installed as sbbc. # -MODULE = sgsbbc +MODULE = sgsbbc OBJECTS = $(SGSBBC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SGSBBC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_DRV_DIR)/$(MODULE) # @@ -55,7 +53,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -63,10 +60,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # -# 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 @@ -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/sun4u/serengeti/ssm/Makefile b/usr/src/uts/sun4u/serengeti/ssm/Makefile index 863d4c9669..ce3a36e741 100644 --- a/usr/src/uts/sun4u/serengeti/ssm/Makefile +++ b/usr/src/uts/sun4u/serengeti/ssm/Makefile @@ -38,9 +38,8 @@ UTSBASE = ../../.. # # Define the module and object file sets. # -MODULE = ssm +MODULE = ssm OBJECTS = $(SSM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SSM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SERENGETI_DRV_DIR)/$(MODULE) # @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,14 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) + +LDFLAGS += -dy -Ndrv/sgsbbc # -# 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) -LDFLAGS += -dy -Ndrv/sgsbbc - CERRWARN += -_gcc=-Wno-type-limits # @@ -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/sun4u/serengeti/unix/Makefile b/usr/src/uts/sun4u/serengeti/unix/Makefile index 0fb8a3eeae..8578eb13f0 100644 --- a/usr/src/uts/sun4u/serengeti/unix/Makefile +++ b/usr/src/uts/sun4u/serengeti/unix/Makefile @@ -43,11 +43,6 @@ UNIX = unix OBJECTS = $(SPECIAL_OBJS:%=$(OBJS_DIR)/%) \ $(CORE_OBJS:%=$(OBJS_DIR)/%) \ $(MACH_NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(SPECIAL_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CORE_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(MACH_NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) \ - $(LINTS_DIR)/vers.ln \ - $(LINTS_DIR)/modstubs.ln KRTLD_MAPFILE = $(UTSBASE)/sparc/krtld/mapfile KRTLD_OBJECTS = $(KRTLD_OBJS:%=$(OBJS_DIR)/%) @@ -81,7 +76,6 @@ include $(UTSBASE)/sun4u/serengeti/Makefile.serengeti # Define targets # ALL_TARGET = $(UNIX_BIN) -LINT_TARGET = $(LINT_LIB) INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) # @@ -90,7 +84,6 @@ INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) SYM_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # This is UNIX_DIR. Use a short path. @@ -106,14 +99,16 @@ CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \ $(DTRACESTUBS_O) $(DTRACESTUBS) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) -CLEANLINTFILES += $(LINT_LIB) -# -# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers -# -CFLAGS += $(CCVERBOSE) -dalign +CFLAGS += -dalign +# +# 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 CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-char-subscripts @@ -139,10 +134,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) symcheck: $(SYM_DEPS) @@ -173,23 +164,6 @@ $(CPULIB): $(CPU_OBJ) $(BUILD.SO) $(CPU_OBJ) # -# The global lint target builds the kernel lint library (llib-lunix.ln) -# which is equivalent to a lint of /unix.o. Then all kernel modules for -# this architecture are linted against the kernel lint library. -# -# Note: lint errors in the kernel lint library will be repeated for -# each module. It is important that the kernel lint library -# be clean to keep the textual output to a reasonable level. -# - -$(LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @-$(ECHO) "\n$(UNIX): (library construction):" - @$(LINT) -o $(UNIX) $(LINTFLAGS) $(LINTS) - @$(MV) $(@F) $@ - -lintlib: $(LINT_DEPS) - -# # Include common targets. # include $(UTSBASE)/sun4u/serengeti/Makefile.targ diff --git a/usr/src/uts/sun4u/serrano/Makefile b/usr/src/uts/sun4u/serrano/Makefile index 28dfb143f6..83d838b3cc 100644 --- a/usr/src/uts/sun4u/serrano/Makefile +++ b/usr/src/uts/sun4u/serrano/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. MODULE = SUNW,UltraSPARC-IIIi+ OBJECTS = $(JALAPENO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(JALAPENO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -62,14 +61,15 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # -# 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) -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \ - -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE +CFLAGS += -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \ + -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE ASFLAGS += -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \ -DCPU_IMP_ECACHE_ASSOC -DCPU_IMP_DUAL_PAGESIZE @@ -94,12 +94,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) @@ -118,16 +112,11 @@ $(ROOTSOFTLINKS): $(ROOTMODULE) include $(UTSBASE)/sun4u/Makefile.targ # -# 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 += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-type-limits diff --git a/usr/src/uts/sun4u/sf/Makefile b/usr/src/uts/sun4u/sf/Makefile index 5ab7f68103..3ec5ab141d 100644 --- a/usr/src/uts/sun4u/sf/Makefile +++ b/usr/src/uts/sun4u/sf/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = sf OBJECTS = $(SF_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/adapters @@ -54,7 +53,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -68,13 +66,10 @@ CFLAGS += $(CCVERBOSE) 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_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-parentheses @@ -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/sun4u/sha1/Makefile b/usr/src/uts/sun4u/sha1/Makefile index d62f696e5b..11aad38874 100644 --- a/usr/src/uts/sun4u/sha1/Makefile +++ b/usr/src/uts/sun4u/sha1/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = sha1 OBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_MISC_DIR)/$(MODULE) @@ -52,7 +51,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # @@ -60,13 +58,15 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # LDFLAGS += -dy -Nmisc/kcf -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) +CFLAGS += -I$(COM_DIR) CFLAGS += -DVIS_SHA1 -LINTFLAGS += -I$(COM_DIR) +# +# 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) # @@ -82,12 +82,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_PSM_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/simba/Makefile b/usr/src/uts/sun4u/simba/Makefile index 42031404d8..9a3e909ef0 100644 --- a/usr/src/uts/sun4u/simba/Makefile +++ b/usr/src/uts/sun4u/simba/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = simba OBJECTS = $(SIMBA_PCI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SIMBA_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,14 +52,12 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4u/io/pci.il - # -# 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-switch @@ -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/sun4u/smbus/Makefile b/usr/src/uts/sun4u/smbus/Makefile index 95db67bdd6..8aaefa0613 100644 --- a/usr/src/uts/sun4u/smbus/Makefile +++ b/usr/src/uts/sun4u/smbus/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../.. # MODULE = smbus OBJECTS = $(SMBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SMBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -41,25 +40,14 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # include $(UTSBASE)/sun4u/Makefile.sun4u -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) -I../../sun4u LDFLAGS += -dy -N misc/i2c_svc # -# 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 - -# # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) .KEEP_STATE: @@ -72,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/sun4u/sn1_brand/Makefile b/usr/src/uts/sun4u/sn1_brand/Makefile index 135ee8667b..3c29dd5063 100644 --- a/usr/src/uts/sun4u/sn1_brand/Makefile +++ b/usr/src/uts/sun4u/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 = $(ROOT_PSM_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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/sun4u/spitfire/Makefile b/usr/src/uts/sun4u/spitfire/Makefile index d6b1481448..7af0d744e8 100644 --- a/usr/src/uts/sun4u/spitfire/Makefile +++ b/usr/src/uts/sun4u/spitfire/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = SUNW,UltraSPARC-II OBJECTS = $(SPITFIRE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SPITFIRE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SOFTLINKS = SUNW,UltraSPARC-IIi ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -63,29 +62,20 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # cpu-module-specific flags # CPPFLAGS += -DCPU_MODULE -DSPITFIRE AS_CPPFLAGS += -DCPU_MODULE -DSPITFIRE # -# 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 -LINTTAGS += -erroff=E_BAD_FORMAT_STR2 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -101,12 +91,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) diff --git a/usr/src/uts/sun4u/sunfire/Makefile.rules b/usr/src/uts/sun4u/sunfire/Makefile.rules index 8f09df751e..3e3188abe0 100644 --- a/usr/src/uts/sun4u/sunfire/Makefile.rules +++ b/usr/src/uts/sun4u/sunfire/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/sunfire. @@ -45,12 +45,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/sunfire/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/sunfire/ml/%.s $(COMPILE.s) -o $@ $< - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/sunfire/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/sunfire/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/sunfire/Makefile.sunfire b/usr/src/uts/sun4u/sunfire/Makefile.sunfire index 1c7b558007..3a00fa6cbd 100644 --- a/usr/src/uts/sun4u/sunfire/Makefile.sunfire +++ b/usr/src/uts/sun4u/sunfire/Makefile.sunfire @@ -51,8 +51,6 @@ USR_SUNFIRE_ISYS_DIR = $(USR_SUNFIRE_INC_DIR)/sys USR_SUNFIRE_SBIN_DIR = $(USR_SUNFIRE_DIR)/sbin USR_SUNFIRE_LIB_DIR = $(USR_SUNFIRE_DIR)/lib -SUNFIRE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/sunfire/lint-libs/$(OBJS_DIR) - # # Define objects. # @@ -69,15 +67,3 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define modules (must come after Makefile.sun4u). # SUNFIRE_KMODS = ac central environ fhc simmstat sysctrl sram - -# -# 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_SUPPRESSION_DIRECTIVE_UNUSED -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV diff --git a/usr/src/uts/sun4u/sunfire/ac/Makefile b/usr/src/uts/sun4u/sunfire/ac/Makefile index 966a97147e..888d68bb00 100644 --- a/usr/src/uts/sun4u/sunfire/ac/Makefile +++ b/usr/src/uts/sun4u/sunfire/ac/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = ac OBJECTS = $(AC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(AC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -51,11 +50,12 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # 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) CERRWARN += $(CNOWARN_UNINIT) @@ -83,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/sun4u/sunfire/central/Makefile b/usr/src/uts/sun4u/sunfire/central/Makefile index 1087a9eadb..1910a975fd 100644 --- a/usr/src/uts/sun4u/sunfire/central/Makefile +++ b/usr/src/uts/sun4u/sunfire/central/Makefile @@ -23,7 +23,7 @@ # 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 central driver kernel # module. @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = central OBJECTS = $(CENTRAL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CENTRAL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -53,12 +52,8 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -79,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/sun4u/sunfire/environ/Makefile b/usr/src/uts/sun4u/sunfire/environ/Makefile index c3cf7a0f0f..463e991311 100644 --- a/usr/src/uts/sun4u/sunfire/environ/Makefile +++ b/usr/src/uts/sun4u/sunfire/environ/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = environ OBJECTS = $(ENVIRON_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ENVIRON_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -52,12 +51,8 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/sunfire/fhc/Makefile b/usr/src/uts/sun4u/sunfire/fhc/Makefile index 02571f204a..d50c6e1401 100644 --- a/usr/src/uts/sun4u/sunfire/fhc/Makefile +++ b/usr/src/uts/sun4u/sunfire/fhc/Makefile @@ -23,7 +23,7 @@ # 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 fhc driver kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = fhc OBJECTS = $(FHC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FHC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4u/sunfire/io @@ -53,12 +52,8 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -79,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/sun4u/sunfire/simmstat/Makefile b/usr/src/uts/sun4u/sunfire/simmstat/Makefile index e893eed9a9..0433070297 100644 --- a/usr/src/uts/sun4u/sunfire/simmstat/Makefile +++ b/usr/src/uts/sun4u/sunfire/simmstat/Makefile @@ -24,7 +24,7 @@ # Use is subject to license terms. # Copyright (c) 2011 Bayard G. Bell. All rights reserved. # -# This makefile drives the production of the simmstat driver kernel +# This makefile drives the production of the simmstat driver kernel # module. # # sun4u implementation architecture dependent @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = simmstat OBJECTS = $(SIMMSTAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SIMMSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -52,12 +51,8 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/sunfire/sram/Makefile b/usr/src/uts/sun4u/sunfire/sram/Makefile index 2b27795593..67ff2702a1 100644 --- a/usr/src/uts/sun4u/sunfire/sram/Makefile +++ b/usr/src/uts/sun4u/sunfire/sram/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../../.. # MODULE = sram OBJECTS = $(SRAM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SRAM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -51,12 +50,8 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/sunfire/sysctrl/Makefile b/usr/src/uts/sun4u/sunfire/sysctrl/Makefile index 21411d8b9d..48cdf81eb8 100644 --- a/usr/src/uts/sun4u/sunfire/sysctrl/Makefile +++ b/usr/src/uts/sun4u/sunfire/sysctrl/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = sysctrl OBJECTS = $(SYSCTRL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SYSCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE) # @@ -52,11 +51,12 @@ include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -85,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/sun4u/taco/Makefile b/usr/src/uts/sun4u/taco/Makefile index 827f82a215..3f067a3c36 100644 --- a/usr/src/uts/sun4u/taco/Makefile +++ b/usr/src/uts/sun4u/taco/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4u/taco/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 sun4u taco platform # module. @@ -47,12 +46,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -60,9 +55,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(TACO_KMODS) - -modlintlib: $(TACO_KMODS) +def all clean clobber modlist: $(TACO_KMODS) install: $(ROOT_TACO_DIR) \ $(USR_TACO_DIR) \ @@ -74,24 +67,6 @@ install: $(ROOT_TACO_DIR) \ check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the taco platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/taco.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(TACO_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nTaco Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(TACO_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/taco/Makefile.rules b/usr/src/uts/sun4u/taco/Makefile.rules index b7f1464951..bdc0498438 100644 --- a/usr/src/uts/sun4u/taco/Makefile.rules +++ b/usr/src/uts/sun4u/taco/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -45,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/taco/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/taco/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/taco/Makefile.taco b/usr/src/uts/sun4u/taco/Makefile.taco index 733d3019fe..72bad237ab 100644 --- a/usr/src/uts/sun4u/taco/Makefile.taco +++ b/usr/src/uts/sun4u/taco/Makefile.taco @@ -23,8 +23,6 @@ # Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # Global definitions for sun4u implementation specific modules @@ -57,8 +55,6 @@ USR_TACO_ISYS_DIR = $(USR_TACO_INC_DIR)/sys USR_TACO_SBIN_DIR = $(USR_TACO_DIR)/sbin USR_TACO_LIB_DIR = $(USR_TACO_DIR)/lib -TACO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/taco/lint-libs/$(OBJS_DIR) - # # Define objects # diff --git a/usr/src/uts/sun4u/taco/platmod/Makefile b/usr/src/uts/sun4u/taco/platmod/Makefile index 328ee26896..1e7f8e9f97 100644 --- a/usr/src/uts/sun4u/taco/platmod/Makefile +++ b/usr/src/uts/sun4u/taco/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(TACO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TACO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_TACO_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(TACO_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/taco/ppm/Makefile b/usr/src/uts/sun4u/taco/ppm/Makefile index 73bd0b8684..ea7b1eac01 100644 --- a/usr/src/uts/sun4u/taco/ppm/Makefile +++ b/usr/src/uts/sun4u/taco/ppm/Makefile @@ -23,8 +23,6 @@ # Copyright 2002 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 platform power @@ -60,7 +58,6 @@ INSTALL_TARGET = $(ROOT_CONFFILE) NO_BUILDS = ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # The only thing we do from here is install the .conf file @@ -86,7 +83,7 @@ CFLAGS += -dalign # .KEEP_STATE: -def all clean clobber lint modlintlib clean.lint: +def all clean clobber: install: $(CONF_INSTALL_DEPS) diff --git a/usr/src/uts/sun4u/tazmo/Makefile.rules b/usr/src/uts/sun4u/tazmo/Makefile.rules index 420eb501f8..49a51dd720 100644 --- a/usr/src/uts/sun4u/tazmo/Makefile.rules +++ b/usr/src/uts/sun4u/tazmo/Makefile.rules @@ -23,7 +23,7 @@ # Copyright 1994-2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This Makefile defines the build rules for the directory # uts/sun4u/tazmo. @@ -46,12 +46,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/tazmo/io/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/tazmo/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/tazmo/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/tazmo/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/tazmo/Makefile.tazmo b/usr/src/uts/sun4u/tazmo/Makefile.tazmo index dd4bfa6ef5..947d238d99 100644 --- a/usr/src/uts/sun4u/tazmo/Makefile.tazmo +++ b/usr/src/uts/sun4u/tazmo/Makefile.tazmo @@ -55,8 +55,6 @@ USR_TAZMO_ISYS_DIR = $(USR_TAZMO_INC_DIR)/sys USR_TAZMO_SBIN_DIR = $(USR_TAZMO_DIR)/sbin USR_TAZMO_LIB_DIR = $(USR_TAZMO_DIR)/lib -TAZMO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/tazmo/lint-libs/$(OBJS_DIR) - # # Define objects. # @@ -74,14 +72,3 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # TAZMO_KMODS = platmod TAZMO_KMODS += envctrl - -# -# 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_BAD_PTR_CAST_ALIGN -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - diff --git a/usr/src/uts/sun4u/tazmo/envctrl/Makefile b/usr/src/uts/sun4u/tazmo/envctrl/Makefile index 7877ead054..f0ab1672f6 100644 --- a/usr/src/uts/sun4u/tazmo/envctrl/Makefile +++ b/usr/src/uts/sun4u/tazmo/envctrl/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = envctrl OBJECTS = $(ENVCTRL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ENVCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_TAZMO_DRV_DIR)/$(MODULE) # @@ -53,11 +52,12 @@ include $(UTSBASE)/sun4u/tazmo/Makefile.tazmo # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -84,15 +84,8 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) -LINT_LIB_DIR = $(TAZMO_LINT_LIB_DIR) # # Include common targets. # diff --git a/usr/src/uts/sun4u/tazmo/platmod/Makefile b/usr/src/uts/sun4u/tazmo/platmod/Makefile index 02d5ab522c..5045b24ca4 100644 --- a/usr/src/uts/sun4u/tazmo/platmod/Makefile +++ b/usr/src/uts/sun4u/tazmo/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(TAZMO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TAZMO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_TAZMO_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(TAZMO_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/todbq4802/Makefile b/usr/src/uts/sun4u/todbq4802/Makefile index ee6c0b789b..bfc74ef80c 100644 --- a/usr/src/uts/sun4u/todbq4802/Makefile +++ b/usr/src/uts/sun4u/todbq4802/Makefile @@ -23,7 +23,7 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # # This makefile drives the production of todbq4802 kernel module. @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = todbq4802 OBJECTS = $(TODBQ4802_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODBQ4802_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -53,12 +52,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -74,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/sun4u/todm5819/Makefile b/usr/src/uts/sun4u/todm5819/Makefile index e2e765e188..2827de5e70 100644 --- a/usr/src/uts/sun4u/todm5819/Makefile +++ b/usr/src/uts/sun4u/todm5819/Makefile @@ -23,7 +23,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 todds1287 kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = todm5819 OBJECTS = $(TODM5819_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODM5819_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -52,12 +51,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -73,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/sun4u/todm5819p_rmc/Makefile b/usr/src/uts/sun4u/todm5819p_rmc/Makefile index 7725458687..92d0ae6824 100644 --- a/usr/src/uts/sun4u/todm5819p_rmc/Makefile +++ b/usr/src/uts/sun4u/todm5819p_rmc/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 todm5819p_rmc kernel module. # @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = todm5819p_rmc OBJECTS = $(TODM5819P_RMC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODM5819P_RMC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -51,12 +50,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/rmc_comm -Ndrv/pmugpio @@ -73,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/sun4u/todmostek/Makefile b/usr/src/uts/sun4u/todmostek/Makefile index 8afa5b9b9a..c0e4c18056 100644 --- a/usr/src/uts/sun4u/todmostek/Makefile +++ b/usr/src/uts/sun4u/todmostek/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/todmostek/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 todmostek kernel module. # @@ -41,7 +40,6 @@ UTSBASE = ../.. # MODULE = todmostek OBJECTS = $(TODMOSTEK_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODMOSTEK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -53,12 +51,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -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/sun4u/todopl/Makefile b/usr/src/uts/sun4u/todopl/Makefile index 28db86792f..8ce64d1779 100644 --- a/usr/src/uts/sun4u/todopl/Makefile +++ b/usr/src/uts/sun4u/todopl/Makefile @@ -22,9 +22,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/todopl/Makefile + # # This makefile drives the production of the todopl # kernel module. @@ -40,7 +38,6 @@ UTSBASE = ../.. # MODULE = todopl OBJECTS = $(TODOPL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODOPL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -53,7 +50,6 @@ INC_PATH += -I$(UTSBASE)/sun4u/opl # 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/sun4u/todsg/Makefile b/usr/src/uts/sun4u/todsg/Makefile index d78bf5c499..38cfe19293 100644 --- a/usr/src/uts/sun4u/todsg/Makefile +++ b/usr/src/uts/sun4u/todsg/Makefile @@ -22,7 +22,7 @@ # 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 todsg # kernel module. @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = todsg OBJECTS = $(TODSG_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TODSG_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) # @@ -50,12 +49,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -66,14 +61,7 @@ LDFLAGS += -dy -Ndrv/sgsbbc # # serengeti speciific header files # -INC_PATH += -I$(UTSBASE)/sun4u/serengeti - -# -# 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 +INC_PATH += -I$(UTSBASE)/sun4u/serengeti # # Default build targets. @@ -88,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/sun4u/trapstat/Makefile b/usr/src/uts/sun4u/trapstat/Makefile index a8c29ad0de..2b729a8598 100644 --- a/usr/src/uts/sun4u/trapstat/Makefile +++ b/usr/src/uts/sun4u/trapstat/Makefile @@ -23,7 +23,7 @@ # 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 trapstat kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = trapstat OBJECTS = $(TRAPSTAT_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TRAPSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4/io @@ -53,12 +52,8 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -74,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/sun4u/unix/Makefile b/usr/src/uts/sun4u/unix/Makefile index 73c5a41f02..87ab05d148 100644 --- a/usr/src/uts/sun4u/unix/Makefile +++ b/usr/src/uts/sun4u/unix/Makefile @@ -43,12 +43,6 @@ UNIX = unix OBJECTS = $(SPECIAL_OBJS:%=$(OBJS_DIR)/%) \ $(CORE_OBJS:%=$(OBJS_DIR)/%) \ $(MACH_NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(SPECIAL_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CORE_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(KRTLD_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(MACH_NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) \ - $(LINTS_DIR)/vers.ln \ - $(LINTS_DIR)/modstubs.ln KRTLD_MAPFILE = $(UTSBASE)/sparc/krtld/mapfile KRTLD_OBJECTS = $(KRTLD_OBJS:%=$(OBJS_DIR)/%) @@ -84,7 +78,6 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(UNIX_BIN) -LINT_TARGET = $(LINT_LIB) INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) $(UNIX32_LINK) # @@ -101,26 +94,16 @@ CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \ $(DTRACESTUBS_O) $(DTRACESTUBS) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) -CLEANLINTFILES += $(LINT_LIB) -# -# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers -# -CFLAGS += $(CCVERBOSE) -dalign +CFLAGS += -dalign # -# 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 += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-char-subscripts @@ -146,10 +129,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) @@ -187,24 +166,6 @@ $(PLATLIB): ?@pwd # -# The global lint target builds the kernel lint library (llib-lunix.ln) -# which is equivalent to a lint of /unix.o. Then all kernel modules for -# this architecture are linted against the kernel lint library. -# -# Note: lint errors in the kernel lint library will be repeated for -# each module. It is important that the kernel lint library -# be clean to keep the textual output to a reasonable level. -# - -$(LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @pwd - @-$(ECHO) "\n$(UNIX): (library construction):" - @$(LINT) -o $(UNIX) $(LINTFLAGS) $(LINTS) - @$(MV) $(@F) $@ - -lintlib: $(LINT_DEPS) - -# # Include common targets. # include $(UTSBASE)/sun4u/Makefile.targ diff --git a/usr/src/uts/sun4u/upa64s/Makefile b/usr/src/uts/sun4u/upa64s/Makefile index 1d2e17ed0a..ca7d07362d 100644 --- a/usr/src/uts/sun4u/upa64s/Makefile +++ b/usr/src/uts/sun4u/upa64s/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = upa64s OBJECTS = $(UPA64S_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(UPA64S_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -51,21 +50,14 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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_BAD_PTR_CAST_ALIGN - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -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/sun4u/us/Makefile b/usr/src/uts/sun4u/us/Makefile index 110f57f0f7..a27ff4042a 100644 --- a/usr/src/uts/sun4u/us/Makefile +++ b/usr/src/uts/sun4u/us/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = us OBJECTS = $(US_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(US_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -54,27 +53,19 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -91,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/sun4u/us234_pcbe/Makefile b/usr/src/uts/sun4u/us234_pcbe/Makefile index f6c68c324e..2fe8e16fb8 100644 --- a/usr/src/uts/sun4u/us234_pcbe/Makefile +++ b/usr/src/uts/sun4u/us234_pcbe/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = pcbe.62 OBJECTS = $(US_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(US_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE) ROOTLINK = $(USR_PCBE_DIR)/pcbe.23 @@ -47,17 +46,13 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = us234_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) # -# 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 CERRWARN += -_gcc=-Wno-type-limits @@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOTMODULE) diff --git a/usr/src/uts/sun4u/vis/Makefile b/usr/src/uts/sun4u/vis/Makefile index 7ce1877331..956a107324 100644 --- a/usr/src/uts/sun4u/vis/Makefile +++ b/usr/src/uts/sun4u/vis/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = vis OBJECTS = $(VIS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VIS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -53,11 +52,12 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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) CERRWARN += $(CNOWARN_UNINIT) @@ -72,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/sun4u/vm/Makefile b/usr/src/uts/sun4u/vm/Makefile index 4b13d436ff..6c1a33bd37 100644 --- a/usr/src/uts/sun4u/vm/Makefile +++ b/usr/src/uts/sun4u/vm/Makefile @@ -76,6 +76,5 @@ CLEANFILES= CLOBBERFILES= -CLEANLINTFILES= include ../../Makefile.targ diff --git a/usr/src/uts/sun4v/Makefile b/usr/src/uts/sun4v/Makefile index 4597f6d9f4..8b09c1e732 100644 --- a/usr/src/uts/sun4v/Makefile +++ b/usr/src/uts/sun4v/Makefile @@ -41,38 +41,14 @@ USR_GLENDALE_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Blade-T6320 USR_GLENDALE_SBIN_DIR = $(USR_GLENDALE_DIR)/sbin USR_GLENDALE_LIB_DIR = $(USR_GLENDALE_DIR)/lib - -# -# The following are SPARC specific (rather than sun4v) specific modules -# which are required for the sun4v kernel to completely lint. They are -# not involved in the build in any other way. In order to minimize -# build time, it is assumed that they are up to date. But since sun4v -# is really a separate architecture we cannot use the v7 sparc modules. -# -SPARC_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR) - -SPARC_LINTS = - -# -# -# -LINT_LIBS = $(LINT_LIB) \ - $(LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \ - $(SPARC_LINTS:%=$(SPARC_LIB_DIR)/llib-l%.ln) - def := TARGET= def all := TARGET= all install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist modlist.sparc := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check .KEEP_STATE: @@ -84,7 +60,7 @@ check := TARGET= check # in parallel .NO_PARALLEL: $(CPU_KMODS) -def all clean clobber clean.lint: genassym unix .WAIT \ +def all clean clobber: genassym unix .WAIT \ $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) $(IMPLEMENTATIONS) # list the modules under sun4v. @@ -100,10 +76,6 @@ modlist.sparc: install: install_platforms genassym unix .WAIT $(KMODS) $(CLOSED_KMODS) \ $(XMODS) $(CLOSED_XMODS) $(IMPLEMENTATIONS) -lintlib: unix - -modlintlib: $(LINT_KMODS) $(CLOSED_LINT_KMODS) - genassym unix $(KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) @@ -282,18 +254,6 @@ $(USR_MONZA_SBIN_DIR): $(USR_MONZA_DIR) $(USR_MONZA_SBIN_LINKS): $(USR_MONZA_SBIN_DIR) $(INS.slink7) -# -# Full kernel lint target. -# -LINT_TARGET = globallint - -globallint: - @-$(ECHO) "\nSUN4V KERNEL: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - -lint: lintlib .WAIT modlintlib .WAIT $(SPARC_LINTS) $(LINT_DEPS) \ - $(IMPLEMENTATIONS) $(LINT_CPU_KMODS) - include ../Makefile.targ # diff --git a/usr/src/uts/sun4v/Makefile.files b/usr/src/uts/sun4v/Makefile.files index 66565f9c4f..531826ec2c 100644 --- a/usr/src/uts/sun4v/Makefile.files +++ b/usr/src/uts/sun4v/Makefile.files @@ -23,7 +23,7 @@ # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # # This Makefile defines all file modules for the directory uts/sun4v -# and it's children. These are the source files which are sun4v +# and its children. These are the source files which are sun4v # "implementation architecture" dependent. # @@ -115,7 +115,7 @@ SPECIAL_OBJS += intrq.o # driver modules # ROOTNEX_OBJS += mach_rootnex.o -PX_OBJS += px_lib4v.o px_err.o px_tools_4v.o px_hcall.o px_libhv.o +PX_OBJS += px_lib4v.o px_err.o px_tools_4v.o px_hcall.o px_libhv.o FPC_OBJS += fpc-impl-4v.o fpc-asm-4v.o N2PIUPC_OBJS += n2piupc.o n2piupc_tables.o n2piupc_kstats.o \ n2piupc_biterr.o n2piupc_asm.o @@ -127,7 +127,7 @@ N2RNG_OBJS += n2rng.o n2rng_debug.o n2rng_hcall.o n2rng_kcf.o \ n2rng_provider.o # -# CPU/Memory Error Injector (memtest) sun4v driver +# CPU/Memory Error Injector (memtest) sun4v driver # MEMTEST_OBJS += memtest.o memtest_asm.o \ memtest_v.o memtest_v_asm.o \ @@ -204,12 +204,10 @@ PLATMOD_OBJS = platmod.o # ALL_DEFS += -Dsun4u -Dsun4v INC_PATH += -I$(UTSBASE)/sun4v + # # Since assym.h is a derived file, the dependency must be explicit for -# all files including this file. (This is only actually required in the -# instance when the .make.state file does not exist.) It may seem that -# the lint targets should also have a similar dependency, but they don't -# since only C headers are included when #defined(lint) is true. +# all files including this file. # ASSYM_DEPS += mach_locore.o ASSYM_DEPS += module_sfmmu_asm.o diff --git a/usr/src/uts/sun4v/Makefile.rules b/usr/src/uts/sun4v/Makefile.rules index 7675e358fd..1de50c337c 100644 --- a/usr/src/uts/sun4v/Makefile.rules +++ b/usr/src/uts/sun4v/Makefile.rules @@ -169,108 +169,3 @@ $(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS) $(DTRACESTUBS): $(DTRACESTUBS_O) $(BUILD.SO) $(DTRACESTUBS_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/cpu/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/cpu/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/px/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/px/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/niumx/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/fpc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/fpc/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/n2piupc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/n2piupc/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/iospc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/iospc/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/glvc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/glvc/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/n2rng/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/n2rng/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/pciex/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/io/pciex/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/pcbe/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4/brand/sn1/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4/brand/solaris10/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/promif/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/vm/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sfmmu/ml/%.s - @($(LHEAD) $(LINT.s) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sfmmu/vm/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/mdesc/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/atomic/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(SRC)/common/crypto/arcfour/sun4v/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4v/Makefile.sun4v b/usr/src/uts/sun4v/Makefile.sun4v index f1d8cc13d2..ecc3f509db 100644 --- a/usr/src/uts/sun4v/Makefile.sun4v +++ b/usr/src/uts/sun4v/Makefile.sun4v @@ -107,8 +107,6 @@ UNIX_DIR = $(UTSBASE)/$(PLATFORM)/unix GENLIB_DIR = $(UTSBASE)/$(PLATFORM)/genunix MODSTUBS_DIR = $(UNIX_DIR) DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR) DTRACESTUBS_O = $(OBJS_DIR)/dtracestubs.o DTRACESTUBS = $(OBJS_DIR)/libdtracestubs.so @@ -117,12 +115,6 @@ UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln -GEN_LINT_LIB = $(LINT_LIB_DIR)/llib-lgenunix.ln - -LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%) -LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln) - # # cpu and platform modules need to know how to build their own symcheck module # @@ -200,9 +192,7 @@ ASFLAGS += $(AS_XARCH) -DGLREG AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR) -LINT_KMODS += $(GENUNIX_KMODS) -LINT_DEFS = -m64 # # The following must be defined for all implementations: @@ -424,7 +414,6 @@ XMODS += # CPU_KMODS += generic niagara niagara2 vfalls kt -LINT_CPU_KMODS += generic # # Performance Counter BackEnd Modules (/usr/kernel/pcbe): diff --git a/usr/src/uts/sun4v/arcfour/Makefile b/usr/src/uts/sun4v/arcfour/Makefile index d97ef72d2d..5914ed57a2 100644 --- a/usr/src/uts/sun4v/arcfour/Makefile +++ b/usr/src/uts/sun4v/arcfour/Makefile @@ -42,7 +42,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour # MODULE = arcfour OBJECTS = $(ARCFOUR_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ARCFOUR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE) # @@ -54,14 +53,9 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # 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) # # Turn on doubleword alignment for 64 bit registers @@ -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/sun4v/bge/Makefile b/usr/src/uts/sun4v/bge/Makefile index 6a99f9e374..099497882f 100644 --- a/usr/src/uts/sun4v/bge/Makefile +++ b/usr/src/uts/sun4v/bge/Makefile @@ -38,7 +38,6 @@ UTSBASE = ../.. # MODULE = bge OBJECTS = $(BGE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(LINTS_DIR)/bge_lint.ln ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/bge @@ -51,15 +50,9 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign @@ -70,12 +63,11 @@ CFLAGS += -dalign 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses @@ -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/sun4v/bootdev/Makefile b/usr/src/uts/sun4v/bootdev/Makefile index 4b393be29b..c21ddaf803 100644 --- a/usr/src/uts/sun4v/bootdev/Makefile +++ b/usr/src/uts/sun4v/bootdev/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = bootdev OBJECTS = $(BOOTDEV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(BOOTDEV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -51,21 +50,14 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += $(CNOWARN_UNINIT) # @@ -81,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/sun4v/cnex/Makefile b/usr/src/uts/sun4v/cnex/Makefile index 30052a3a0b..1b65a4c594 100644 --- a/usr/src/uts/sun4v/cnex/Makefile +++ b/usr/src/uts/sun4v/cnex/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4v/cnex/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 cnex driver kernel module. # @@ -38,9 +37,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = cnex +MODULE = cnex OBJECTS = $(CNEX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CNEX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -59,12 +57,8 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -73,13 +67,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/ldc # -# 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: @@ -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/sun4v/cpc/Makefile b/usr/src/uts/sun4v/cpc/Makefile index 15662586ea..e59745c852 100644 --- a/usr/src/uts/sun4v/cpc/Makefile +++ b/usr/src/uts/sun4v/cpc/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4v/cpc/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 cpc kernel module. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = cpc OBJECTS = $(CPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(CPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_SYS_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io @@ -54,22 +52,11 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(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. -# Please do not carry these forward to new Makefiles. -# -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - -# # Default build targets. # .KEEP_STATE: @@ -82,12 +69,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_PSM_SYS_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4v/dr_io/Makefile b/usr/src/uts/sun4v/dr_io/Makefile index 64346521b0..7ecb3f135e 100644 --- a/usr/src/uts/sun4v/dr_io/Makefile +++ b/usr/src/uts/sun4v/dr_io/Makefile @@ -35,7 +35,6 @@ UTSBASE = ../.. # MODULE = dr_io OBJECTS = $(DR_IO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DR_IO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -47,11 +46,12 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -80,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/sun4v/drctl/Makefile b/usr/src/uts/sun4v/drctl/Makefile index 32627e5c9f..97be19dc62 100644 --- a/usr/src/uts/sun4v/drctl/Makefile +++ b/usr/src/uts/sun4v/drctl/Makefile @@ -23,7 +23,7 @@ # 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 drctl kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = drctl OBJECTS = $(DRCTL_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DRCTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/io @@ -53,12 +52,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += -v # @@ -79,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/sun4v/ds_pri/Makefile b/usr/src/uts/sun4v/ds_pri/Makefile index 4fd9d986af..de42cfa5dd 100644 --- a/usr/src/uts/sun4v/ds_pri/Makefile +++ b/usr/src/uts/sun4v/ds_pri/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ds_pri OBJECTS = $(DS_PRI_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DS_PRI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/io @@ -60,11 +59,12 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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) @@ -86,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/sun4v/ds_snmp/Makefile b/usr/src/uts/sun4v/ds_snmp/Makefile index ec79c5d9d5..8bc9ff0768 100644 --- a/usr/src/uts/sun4v/ds_snmp/Makefile +++ b/usr/src/uts/sun4v/ds_snmp/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 pseudo device # to access the sun4v SNMP @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ds_snmp OBJECTS = $(DS_SNMP_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DS_SNMP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/io @@ -60,12 +59,8 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += -v # @@ -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/sun4v/ebus/Makefile b/usr/src/uts/sun4v/ebus/Makefile index a278c5ed3d..3ccc56ce24 100644 --- a/usr/src/uts/sun4v/ebus/Makefile +++ b/usr/src/uts/sun4v/ebus/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = ebus OBJECTS = $(EBUS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -52,29 +51,19 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4v/io/ebus.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - # # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += $(CNOWARN_UNINIT) @@ -91,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/sun4v/fault_iso/Makefile b/usr/src/uts/sun4v/fault_iso/Makefile index 37188fcfff..a3cda68583 100644 --- a/usr/src/uts/sun4v/fault_iso/Makefile +++ b/usr/src/uts/sun4v/fault_iso/Makefile @@ -23,7 +23,7 @@ # 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 fault_iso kernel module. # @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = fault_iso OBJECTS = $(FAULT_ISO_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FAULT_ISO_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -52,12 +51,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += -v # @@ -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/sun4v/fpc/Makefile b/usr/src/uts/sun4v/fpc/Makefile index 904ebf0859..34d73deb1d 100644 --- a/usr/src/uts/sun4v/fpc/Makefile +++ b/usr/src/uts/sun4v/fpc/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../.. # MODULE = fpc OBJECTS = $(FPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(FPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4/io/fpc @@ -54,7 +53,6 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -64,7 +62,9 @@ INC_PATH += -I$(UTSBASE)/sun4/io/fpc INC_PATH += -I$(UTSBASE)/sun4v/io/fpc # -# 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-variable @@ -75,11 +75,10 @@ CERRWARN += -_gcc=-Wno-unused-variable CFLAGS += -dalign # -# 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 # # Default build targets. @@ -94,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/sun4v/genassym/Makefile b/usr/src/uts/sun4v/genassym/Makefile index a537ca15fb..274d61aa0f 100644 --- a/usr/src/uts/sun4v/genassym/Makefile +++ b/usr/src/uts/sun4v/genassym/Makefile @@ -23,7 +23,7 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of assym.h through genconst/stabs. # @@ -78,8 +78,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -clean.lint: - install: def # diff --git a/usr/src/uts/sun4v/generic/Makefile b/usr/src/uts/sun4v/generic/Makefile index f1b348c336..193dc28b8e 100644 --- a/usr/src/uts/sun4v/generic/Makefile +++ b/usr/src/uts/sun4v/generic/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = generic OBJECTS = $(GENERIC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(GENERIC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE) SOFTLINKS = sun4v ROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%) @@ -62,11 +61,12 @@ CLEANFILES += $(CPULIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS) # -# 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 @@ -105,12 +105,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(CPULIB): $(OBJECTS) diff --git a/usr/src/uts/sun4v/genunix/Makefile b/usr/src/uts/sun4v/genunix/Makefile index 37beecd4ee..566490fc0f 100644 --- a/usr/src/uts/sun4v/genunix/Makefile +++ b/usr/src/uts/sun4v/genunix/Makefile @@ -44,24 +44,12 @@ GENUNIX = $(OBJS_DIR)/$(MODULE) OBJECTS = $(GENUNIX_OBJS:%=$(OBJS_DIR)/%) \ $(NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(GENUNIX_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) - ROOTMODULE = $(ROOT_PSM_KERN_DIR)/$(MODULE) PLATFORM = sun4v LIBGEN = $(OBJS_DIR)/libgenunix.so LIBSTUBS = $(GENSTUBS_OBJS:%=$(OBJS_DIR)/%) -# LINTFLAGS will be set to include definitions so that the cpu_t -# structure is expanded. However this could be set to look at the -# sun4u version which is not correct for sun4v. Therefore we only -# want to use the LINTFLAGS modification in this Makefile and so -# suppress the usage of the LINTFLAGS setting in the Makefile.sparc -# file. -# -LINTFLAGSUPPRESS = $(POUND_SIGN) - # # Include common rules. # @@ -71,7 +59,6 @@ include $(UTSBASE)/sparc/Makefile.sparc # Define targets # ALL_TARGET = $(LIBGEN) $(GENUNIX) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(LIBGEN) $(GENUNIX) $(ROOTMODULE) # @@ -79,10 +66,6 @@ INSTALL_TARGET = $(LIBGEN) $(GENUNIX) $(ROOTMODULE) # CLEANFILES += $(LIBSTUBS) $(LIBGEN) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR) -LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln -GEN_LINT_LIB = - BINARY = CLOBBERFILES += $(GENUNIX) @@ -98,26 +81,11 @@ IPCTF_TARGET = $(IPCTF) $(PATCH_BUILD)IPCTF_TARGET = # -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -CPPFLAGS += -I$(SRC)/common -CPPFLAGS += -I$(SRC)/uts/common/fs/zfs - -INC_PATH += -I$(UTSBASE)/sun4 - -# -# 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 += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-value @@ -129,11 +97,9 @@ CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-clobbered CERRWARN += -_gcc=-Wno-empty-body - -# Ensure that lint sees 'struct cpu' containing a fully declared -# embedded 'struct machcpu'. -# -LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu +CPPFLAGS += -I$(SRC)/common +CPPFLAGS += -I$(SRC)/uts/common/fs/zfs +INC_PATH += -I$(UTSBASE)/sun4 # # Default build targets. @@ -150,12 +116,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(LIBGEN): $(OBJECTS) $(LIBSTUBS) diff --git a/usr/src/uts/sun4v/huron/Makefile b/usr/src/uts/sun4v/huron/Makefile index 8d4f916baf..43441a2dcf 100644 --- a/usr/src/uts/sun4v/huron/Makefile +++ b/usr/src/uts/sun4v/huron/Makefile @@ -50,12 +50,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -65,8 +61,6 @@ check := TARGET= check def: -lintlib: unix - IMPLEMENTED_PLATFORM = SUNW,SPARC-Enterprise-T5120 LINKED_PLATFORMS = SUNW,SPARC-Enterprise-T5220 @@ -80,7 +74,6 @@ install: $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) install_h check: -lint: clean: diff --git a/usr/src/uts/sun4v/iospc/Makefile b/usr/src/uts/sun4v/iospc/Makefile index 95796ada32..63aea3d0db 100644 --- a/usr/src/uts/sun4v/iospc/Makefile +++ b/usr/src/uts/sun4v/iospc/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = iospc OBJECTS = $(IOSPC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IOSPC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/io/iospc @@ -52,17 +51,12 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) CFLAGS += -dalign -DMODULE_NAME=\"$(MODULE)\" -LINTFLAGS += -DMODULE_NAME=\"$(MODULE)\" # # Module Dependencies @@ -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/sun4v/kt_pcbe/Makefile b/usr/src/uts/sun4v/kt_pcbe/Makefile index 535a4bd028..fedb90e667 100644 --- a/usr/src/uts/sun4v/kt_pcbe/Makefile +++ b/usr/src/uts/sun4v/kt_pcbe/Makefile @@ -31,7 +31,6 @@ UTSBASE = ../.. # MODULE = pcbe.SPARC-T3 OBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE) # @@ -43,13 +42,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = kt_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += -DKT_IMPL # @@ -71,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/sun4v/maramba/Makefile b/usr/src/uts/sun4v/maramba/Makefile index 54b8ffeb3e..66f030bf7c 100644 --- a/usr/src/uts/sun4v/maramba/Makefile +++ b/usr/src/uts/sun4v/maramba/Makefile @@ -48,12 +48,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -61,12 +57,10 @@ check := TARGET= check # .KEEP_STATE: -modlist: +modlist: def: -lintlib: unix - IMPLEMENTED_PLATFORM = SUNW,T5140 LINKED_PLATFORMS = SUNW,T5240 LINKED_PLATFORMS += SUNW,T5440 @@ -81,7 +75,6 @@ install: $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) install_h check: -lint: clean: diff --git a/usr/src/uts/sun4v/md5/Makefile b/usr/src/uts/sun4v/md5/Makefile index 918c70198b..2b50059436 100644 --- a/usr/src/uts/sun4v/md5/Makefile +++ b/usr/src/uts/sun4v/md5/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = md5 OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_CRYPTO_DIR)/$(MODULE) ROOTLINK = $(ROOT_PSM_MISC_DIR)/$(MODULE) @@ -52,12 +51,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(ROOTLINK): $(ROOT_PSM_MISC_DIR) $(ROOTMODULE) diff --git a/usr/src/uts/sun4v/mdesc/Makefile b/usr/src/uts/sun4v/mdesc/Makefile index b7b49a01ad..ec0a9c90fc 100644 --- a/usr/src/uts/sun4v/mdesc/Makefile +++ b/usr/src/uts/sun4v/mdesc/Makefile @@ -38,9 +38,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = mdesc +MODULE = mdesc OBJECTS = $(MDESC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MDESC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/io @@ -60,21 +59,21 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) -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 += -_gcc=-Wno-unused-function # -# 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 # # Default build targets. @@ -89,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/sun4v/montoya/Makefile b/usr/src/uts/sun4v/montoya/Makefile index 2c09505a4e..736771879e 100644 --- a/usr/src/uts/sun4v/montoya/Makefile +++ b/usr/src/uts/sun4v/montoya/Makefile @@ -45,12 +45,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -58,11 +54,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clobber clean.lint modlist: $(MONTOYA_KMODS) - -lintlib: unix - -modlintlib: $(MONTOYA_KMODS) +def all clean clobber modlist: $(MONTOYA_KMODS) IMPLEMENTED_PLATFORM = SUNW,Netra-CP3060 @@ -78,18 +70,6 @@ $(MONTOYA_KMODS): FRC install_h check: FRC -lint: modlintlib .WAIT $(LINT_DEPS) - -LINT_LIBS = $(LINT_LIB) \ - -L$(MONTOYA_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\n$(IMPLEMENTED_PLATFORM) platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - # # Include common targets. # diff --git a/usr/src/uts/sun4v/montoya/Makefile.montoya b/usr/src/uts/sun4v/montoya/Makefile.montoya index 8ecc44532e..3584c28c9f 100644 --- a/usr/src/uts/sun4v/montoya/Makefile.montoya +++ b/usr/src/uts/sun4v/montoya/Makefile.montoya @@ -54,8 +54,6 @@ USR_MONTOYA_ISYS_DIR = $(USR_MONTOYA_INC_DIR)/sys USR_MONTOYA_SBIN_LINKS = $(USR_MONTOYA_SBIN_DIR)/prtdiag -MONTOYA_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/montoya/lint-libs/$(OBJS_DIR) - # # Define modules. # @@ -80,8 +78,6 @@ include $(UTSBASE)/sun4v/montoya/Makefile.files include $(UTSBASE)/sun4v/Makefile.sun4v MODSTUBS_DIR = $(UNIX_DIR) -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/montoya/lint-libs/$(OBJS_DIR) # diff --git a/usr/src/uts/sun4v/montoya/Makefile.rules b/usr/src/uts/sun4v/montoya/Makefile.rules index f89017ff7c..e9b9fb1ed6 100644 --- a/usr/src/uts/sun4v/montoya/Makefile.rules +++ b/usr/src/uts/sun4v/montoya/Makefile.rules @@ -21,8 +21,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -43,11 +41,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4v/montoya/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/montoya/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - diff --git a/usr/src/uts/sun4v/montoya/platmod/Makefile b/usr/src/uts/sun4v/montoya/platmod/Makefile index cb92f7feda..9257c7e61b 100644 --- a/usr/src/uts/sun4v/montoya/platmod/Makefile +++ b/usr/src/uts/sun4v/montoya/platmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(MONTOYA_PLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(MONTOYA_PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MONTOYA_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -61,7 +60,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,11 +67,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -89,17 +83,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(MONTOYA_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4v/niagara2_pcbe/Makefile b/usr/src/uts/sun4v/niagara2_pcbe/Makefile index a46d392d16..3baf36dd40 100644 --- a/usr/src/uts/sun4v/niagara2_pcbe/Makefile +++ b/usr/src/uts/sun4v/niagara2_pcbe/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 builds the UltraSPARC-T2 Performance Counter BackEnd (PCBE). # @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = pcbe.SUNW,UltraSPARC-T2 OBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE) # @@ -46,13 +45,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = niagara2_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += -DNIAGARA2_IMPL # @@ -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/sun4v/niagara_pcbe/Makefile b/usr/src/uts/sun4v/niagara_pcbe/Makefile index ddc87ef3a8..5cb3bf8fa8 100644 --- a/usr/src/uts/sun4v/niagara_pcbe/Makefile +++ b/usr/src/uts/sun4v/niagara_pcbe/Makefile @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = pcbe.SUNW,UltraSPARC-T1 OBJECTS = $(NI_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NI_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE) # @@ -46,17 +45,13 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = niagara_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_ASSIGN_NARROW_CONV -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON CERRWARN += -_gcc=-Wno-type-limits @@ -73,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/sun4v/niumx/Makefile b/usr/src/uts/sun4v/niumx/Makefile index 5ebcf02762..1ccab74217 100644 --- a/usr/src/uts/sun4v/niumx/Makefile +++ b/usr/src/uts/sun4v/niumx/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = niumx OBJECTS = $(NIUMX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(NIUMX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -51,7 +50,6 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -60,7 +58,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) INC_PATH += -I$(UTSBASE)/sun4v/io/niumx # -# 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 @@ -84,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/sun4v/obpsym/Makefile b/usr/src/uts/sun4v/obpsym/Makefile index 271e280555..055e1403ef 100644 --- a/usr/src/uts/sun4v/obpsym/Makefile +++ b/usr/src/uts/sun4v/obpsym/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4v/obpsym/Makefile # Copyright 2005 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 obpsym misc kernel # module. @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = obpsym OBJECTS = $(OBPSYM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(OBPSYM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -52,13 +50,9 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) +CFLAGS += $(CCVERBOSE) # # Default build targets. @@ -73,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/sun4v/ontario/Makefile b/usr/src/uts/sun4v/ontario/Makefile index 125df6b498..bc00a7d50b 100644 --- a/usr/src/uts/sun4v/ontario/Makefile +++ b/usr/src/uts/sun4v/ontario/Makefile @@ -45,12 +45,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib modlist := TARGET= modlist modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint check := TARGET= check # @@ -58,11 +54,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clobber clean.lint modlist: $(ONTARIO_KMODS) - -lintlib: unix - -modlintlib: $(ONTARIO_KMODS) +def all clean clobber modlist: $(ONTARIO_KMODS) IMPLEMENTED_PLATFORM = SUNW,Sun-Fire-T200 LINKED_PLATFORMS = SUNW,Sun-Fire-T1000 @@ -85,18 +77,6 @@ $(ONTARIO_KMODS): FRC install_h check: FRC -lint: modlintlib .WAIT $(LINT_DEPS) - -LINT_LIBS = $(LINT_LIB) \ - -L$(ONTARIO_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\n$(IMPLEMENTED_PLATFORM) platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - # # Include common targets. # diff --git a/usr/src/uts/sun4v/ontario/Makefile.ontario b/usr/src/uts/sun4v/ontario/Makefile.ontario index 6bf4d82ae6..d6ff8f3e21 100644 --- a/usr/src/uts/sun4v/ontario/Makefile.ontario +++ b/usr/src/uts/sun4v/ontario/Makefile.ontario @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4v/ontario/Makefile # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4v ontario implementation specific modules. # @@ -56,9 +55,6 @@ USR_ONTARIO_INC_DIR = $(USR_ONTARIO_DIR)/include USR_ONTARIO_LIB_DIR = $(USR_ONTARIO_DIR)/lib USR_ONTARIO_ISYS_DIR = $(USR_ONTARIO_INC_DIR)/sys - -ONTARIO_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/ontario/lint-libs/$(OBJS_DIR) - # # Define modules. # @@ -83,8 +79,6 @@ include $(UTSBASE)/sun4v/ontario/Makefile.files include $(UTSBASE)/sun4v/Makefile.sun4v MODSTUBS_DIR = $(UNIX_DIR) -LINTS_DIR = $(OBJS_DIR) -LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/ontario/lint-libs/$(OBJS_DIR) # diff --git a/usr/src/uts/sun4v/ontario/Makefile.rules b/usr/src/uts/sun4v/ontario/Makefile.rules index 8ce9d93e3d..f691d78c04 100644 --- a/usr/src/uts/sun4v/ontario/Makefile.rules +++ b/usr/src/uts/sun4v/ontario/Makefile.rules @@ -21,8 +21,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -47,13 +45,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4v/ontario/os/%.c $(OBJS_DIR)/%.o: $(UTSBASE)/sun4v/ontario/io/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/ontario/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4v/ontario/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4v/ontario/platmod/Makefile b/usr/src/uts/sun4v/ontario/platmod/Makefile index e4c2f30b46..8ba77ccbc3 100644 --- a/usr/src/uts/sun4v/ontario/platmod/Makefile +++ b/usr/src/uts/sun4v/ontario/platmod/Makefile @@ -41,7 +41,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(ONTARIO_PLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ONTARIO_PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_ONTARIO_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -61,7 +60,6 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # @@ -69,11 +67,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -89,17 +83,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR =$(ONTARIO_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4v/ontario/tsalarm/Makefile b/usr/src/uts/sun4v/ontario/tsalarm/Makefile index 8f0a8a0718..14d7dfe577 100644 --- a/usr/src/uts/sun4v/ontario/tsalarm/Makefile +++ b/usr/src/uts/sun4v/ontario/tsalarm/Makefile @@ -33,7 +33,6 @@ UTSBASE = ../../.. # MODULE = tsalarm OBJECTS = $(ONTARIO_TSALARM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ONTARIO_TSALARM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_ONTARIO_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/sun4v/ontario/io @@ -46,45 +45,30 @@ include $(UTSBASE)/sun4v/ontario/Makefile.ontario # ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) - -# -# lint pass one enforcement # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -# Turn this on once compiler understands v9 in it's backend -#INLINES += $(UTSBASE)/sun4v/io/pci.il - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) CFLAGS += -I$(UTSBASE)/sun4u/mpxu - # # Turn on doubleword alignment for 64 bit registers # CFLAGS += -dalign -#Need to verify to add glvc driver required +#Need to verify to add glvc driver required LDFLAGS += -dy #LDFLAGS += -dy -Ndrv/rmclomv # -# 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 - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) @@ -101,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/sun4v/platmod/Makefile b/usr/src/uts/sun4v/platmod/Makefile index 149000cfb0..4fcbfc96a6 100644 --- a/usr/src/uts/sun4v/platmod/Makefile +++ b/usr/src/uts/sun4v/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = platmod OBJECTS = $(PLATMOD_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PLAT_DIR)/$(MODULE) PLAT_DIR = . @@ -59,12 +58,8 @@ CLEANFILES += $(PLATLIB) # Define targets # ALL_TARGET = $(PLATLIB) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -80,12 +75,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) $(PLATLIB): $(OBJECTS) diff --git a/usr/src/uts/sun4v/qcn/Makefile b/usr/src/uts/sun4v/qcn/Makefile index 3369e146a5..c96545fd89 100644 --- a/usr/src/uts/sun4v/qcn/Makefile +++ b/usr/src/uts/sun4v/qcn/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../.. # MODULE = qcn OBJECTS = $(QCN_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(QCN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -59,11 +58,12 @@ CLEANFILES += $(MODSTUBS_O) # 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) CERRWARN += -_gcc=-Wno-parentheses @@ -71,13 +71,10 @@ CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function # -# 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 # # Default build targets. @@ -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/sun4v/s10_brand/Makefile b/usr/src/uts/sun4v/s10_brand/Makefile index acdd849a3f..6927e05906 100644 --- a/usr/src/uts/sun4v/s10_brand/Makefile +++ b/usr/src/uts/sun4v/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 = $(ROOT_PSM_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # 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/sun4v/sn1_brand/Makefile b/usr/src/uts/sun4v/sn1_brand/Makefile index bea8c2527e..fe7ffb3307 100644 --- a/usr/src/uts/sun4v/sn1_brand/Makefile +++ b/usr/src/uts/sun4v/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 = $(ROOT_PSM_BRAND_DIR)/$(MODULE) # @@ -48,7 +47,6 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # 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/sun4v/tpm/Makefile b/usr/src/uts/sun4v/tpm/Makefile index 7a44ba61db..810f2358ae 100644 --- a/usr/src/uts/sun4v/tpm/Makefile +++ b/usr/src/uts/sun4v/tpm/Makefile @@ -39,7 +39,6 @@ UTSBASE = ../.. # MODULE = tpm OBJECTS = $(TPM_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(TPM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -58,12 +57,8 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) CFLAGS += -xCC @@ -76,15 +71,6 @@ CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include LDFLAGS += -dy -Nmisc/kcf # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - -# # Default build targets. # .KEEP_STATE: @@ -97,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/sun4v/unix/Makefile b/usr/src/uts/sun4v/unix/Makefile index ac0c02abe8..ebf63d0ef8 100644 --- a/usr/src/uts/sun4v/unix/Makefile +++ b/usr/src/uts/sun4v/unix/Makefile @@ -43,12 +43,6 @@ UNIX = unix OBJECTS = $(SPECIAL_OBJS:%=$(OBJS_DIR)/%) \ $(CORE_OBJS:%=$(OBJS_DIR)/%) \ $(MACH_NOT_YET_KMODS:%=$(OBJS_DIR)/%) -LINTS = $(SPECIAL_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(CORE_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(KRTLD_OBJS:%.o=$(LINTS_DIR)/%.ln) \ - $(MACH_NOT_YET_KMODS:%.o=$(LINTS_DIR)/%.ln) \ - $(LINTS_DIR)/vers.ln \ - $(LINTS_DIR)/modstubs.ln KRTLD_MAPFILE = $(UTSBASE)/sparc/krtld/mapfile KRTLD_OBJECTS = $(KRTLD_OBJS:%=$(OBJS_DIR)/%) @@ -83,7 +77,6 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets # ALL_TARGET = $(UNIX_BIN) -LINT_TARGET = $(LINT_LIB) INSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) $(UNIX32_LINK) # @@ -100,26 +93,16 @@ CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \ $(DTRACESTUBS_O) $(DTRACESTUBS) CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) -CLEANLINTFILES += $(LINT_LIB) -# -# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers -# -CFLAGS += $(CCVERBOSE) -dalign +CFLAGS += -dalign # -# 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 += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-char-subscripts @@ -145,10 +128,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) @@ -195,23 +174,6 @@ $(CPULIB): $(CPU_OBJ) $(BUILD.SO) $(CPU_OBJ) # -# The global lint target builds the kernel lint library (llib-lunix.ln) -# which is equivalent to a lint of /unix.o. Then all kernel modules for -# this architecture are linted against the kernel lint library. -# -# Note: lint errors in the kernel lint library will be repeated for -# each module. It is important that the kernel lint library -# be clean to keep the textual output to a reasonable level. -# - -$(LINT_LIB): $(LINT_LIB_DIR) $(LINTS) - @-$(ECHO) "\n$(UNIX): (library construction):" - @$(LINT) -o $(UNIX) $(LINTFLAGS) $(LINTS) - @$(MV) $(@F) $@ - -lintlib: $(LINT_DEPS) - -# # Include common targets. # include $(UTSBASE)/$(PLATFORM)/Makefile.targ diff --git a/usr/src/uts/sun4v/vcc/Makefile b/usr/src/uts/sun4v/vcc/Makefile index 3a333ba3c8..5c33615214 100644 --- a/usr/src/uts/sun4v/vcc/Makefile +++ b/usr/src/uts/sun4v/vcc/Makefile @@ -40,9 +40,8 @@ UTSBASE = ../.. # # Define the module and object file sets. # -MODULE = vcc +MODULE = vcc OBJECTS = $(VCC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VCC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -61,11 +60,12 @@ CLEANFILES += $(MODSTUBS_O) # 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) CERRWARN += -_gcc=-Wno-type-limits @@ -83,14 +83,10 @@ CERRWARN += -erroff=E_STATEMENT_NOT_REACHED LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc # -# 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 -LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON # # Default build targets. @@ -105,12 +101,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # diff --git a/usr/src/uts/sun4v/vfalls_pcbe/Makefile b/usr/src/uts/sun4v/vfalls_pcbe/Makefile index 88414e47da..3e35246b90 100644 --- a/usr/src/uts/sun4v/vfalls_pcbe/Makefile +++ b/usr/src/uts/sun4v/vfalls_pcbe/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 builds the UltraSPARC-T2+ Performance Counter BackEnd (PCBE). # @@ -34,7 +34,6 @@ UTSBASE = ../.. # MODULE = pcbe.SUNW,UltraSPARC-T2+ OBJECTS = $(N2_PCBE_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(N2_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_PCBE_DIR)/$(MODULE) # @@ -46,13 +45,8 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # Define targets. # ALL_TARGET = $(BINARY) -LINT_MODULE = vfalls_pcbe -LINT_TARGET = $(LINT_MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += -DVFALLS_IMPL # @@ -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/sun4v/vis/Makefile b/usr/src/uts/sun4v/vis/Makefile index 522d46d84a..a440a4b59b 100644 --- a/usr/src/uts/sun4v/vis/Makefile +++ b/usr/src/uts/sun4v/vis/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. # MODULE = vis OBJECTS = $(VIS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VIS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE) # @@ -54,11 +53,12 @@ include $(UTSBASE)/sun4v/Makefile.sun4v # 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) CERRWARN += $(CNOWARN_UNINIT) @@ -73,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/sun4v/vldc/Makefile b/usr/src/uts/sun4v/vldc/Makefile index 9fbf8f5fd8..73d33a698f 100644 --- a/usr/src/uts/sun4v/vldc/Makefile +++ b/usr/src/uts/sun4v/vldc/Makefile @@ -23,9 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4v/vldc/Makefile + # # This makefile drives the production of the vldc driver module. # @@ -42,7 +40,6 @@ UTSBASE = ../.. # MODULE = vldc OBJECTS = $(VLDC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VLDC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -61,12 +58,8 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -75,14 +68,6 @@ CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc # -# 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: @@ -95,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/sun4v/vm/Makefile b/usr/src/uts/sun4v/vm/Makefile index f98b3bbdce..cf85466f2a 100644 --- a/usr/src/uts/sun4v/vm/Makefile +++ b/usr/src/uts/sun4v/vm/Makefile @@ -76,6 +76,5 @@ CLEANFILES= CLOBBERFILES= -CLEANLINTFILES= include ../../Makefile.targ diff --git a/usr/src/uts/sun4v/vnex/Makefile b/usr/src/uts/sun4v/vnex/Makefile index 5d3ca30d63..b2b1a52e22 100644 --- a/usr/src/uts/sun4v/vnex/Makefile +++ b/usr/src/uts/sun4v/vnex/Makefile @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# uts/sun4v/vnex/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 vnex driver kernel module. # @@ -40,7 +39,6 @@ UTSBASE = ../.. # MODULE = vnex OBJECTS = $(VNEX_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(VNEX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -59,23 +57,11 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint 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. -# 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: @@ -88,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/sun4v/vsw/Makefile b/usr/src/uts/sun4v/vsw/Makefile index 7d012ec8a0..5eabb4a795 100644 --- a/usr/src/uts/sun4v/vsw/Makefile +++ b/usr/src/uts/sun4v/vsw/Makefile @@ -60,7 +60,6 @@ CLEANFILES += $(MODSTUBS_O) # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # |