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


  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # For now, disable these lint checks; maintainers should endeavor
  55 # to investigate and remove these for maximum lint coverage.
  56 # Please do not carry these forward to new Makefiles.
  57 #
  58 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  59 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60 LINTTAGS        += -erroff=E_STATIC_UNUSED
  61 LINTTAGS        += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
  62 
  63 CERRWARN        += -_gcc=-Wno-uninitialized
  64 CERRWARN        += -_gcc=-Wno-parentheses
  65 CERRWARN        += -_gcc=-Wno-type-limits
  66 CERRWARN        += -_gcc=-Wno-unused-variable
  67 
  68 # needs work
  69 $(OBJS_DIR)/sol_cma.o := SMOFF += deref_check
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 


  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # For now, disable these lint checks; maintainers should endeavor
  55 # to investigate and remove these for maximum lint coverage.
  56 # Please do not carry these forward to new Makefiles.
  57 #
  58 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  59 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60 LINTTAGS        += -erroff=E_STATIC_UNUSED
  61 LINTTAGS        += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
  62 
  63 CERRWARN        += $(CNOWARN_UNINIT)
  64 CERRWARN        += -_gcc=-Wno-parentheses
  65 CERRWARN        += -_gcc=-Wno-type-limits
  66 CERRWARN        += -_gcc=-Wno-unused-variable
  67 
  68 # needs work
  69 $(OBJS_DIR)/sol_cma.o := SMOFF += deref_check
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83