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


  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 
  68 CERRWARN        += -_gcc=-Wno-uninitialized
  69 CERRWARN        += -_gcc=-Wno-switch
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN       += -_gcc=-Wno-unused-variable
  72 CERRWARN       += -_gcc=-Wno-unused-function
  73 
  74 # 3rd party source
  75 SMOFF += all_func_returns
  76 
  77 #
  78 # Driver depends on MAC
  79 #
  80 LDFLAGS         += -dy -N misc/mac
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 


  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 
  68 CERRWARN        += $(CNOWARN_UNINIT)
  69 CERRWARN        += -_gcc=-Wno-switch
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN       += -_gcc=-Wno-unused-variable
  72 CERRWARN       += -_gcc=-Wno-unused-function
  73 
  74 # 3rd party source
  75 SMOFF += all_func_returns
  76 
  77 #
  78 # Driver depends on MAC
  79 #
  80 LDFLAGS         += -dy -N misc/mac
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88