Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 #
  55 # For now, disable these lint checks; maintainers should endeavor
  56 # to investigate and remove these for maximum lint coverage.
  57 # Please do not carry these forward to new Makefiles.
  58 #
  59 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  62 LINTTAGS        += -erroff=E_STATIC_UNUSED
  63 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  64 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  65 
  66 CERRWARN        += -_gcc=-Wno-parentheses
  67 CERRWARN        += -_gcc=-Wno-type-limits
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 CERRWARN        += -_gcc=-Wno-unused-function
  71 
  72 # needs work
  73 SMATCH=off
  74 
  75 #
  76 #       Define targets
  77 #
  78 ALL_TARGET      = $(BINARY)
  79 LINT_TARGET     = $(MODULE).lint
  80 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)


  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 #
  55 # For now, disable these lint checks; maintainers should endeavor
  56 # to investigate and remove these for maximum lint coverage.
  57 # Please do not carry these forward to new Makefiles.
  58 #
  59 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  62 LINTTAGS        += -erroff=E_STATIC_UNUSED
  63 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  64 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  65 
  66 CERRWARN        += -_gcc=-Wno-parentheses
  67 CERRWARN        += -_gcc=-Wno-type-limits
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 CERRWARN        += -_gcc=-Wno-unused-function
  71 
  72 # needs work
  73 SMATCH=off
  74 
  75 #
  76 #       Define targets
  77 #
  78 ALL_TARGET      = $(BINARY)
  79 LINT_TARGET     = $(MODULE).lint
  80 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)