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


  50 #
  51 #       Include common rules.
  52 #
  53 include $(UTSBASE)/intel/Makefile.intel
  54 
  55 #
  56 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61 
  62 #
  63 # For now, disable these lint checks; maintainers should endeavor
  64 # to investigate and remove these for maximum lint coverage.
  65 # Please do not carry these forward to new Makefiles.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69 
  70 CERRWARN        += -_gcc=-Wno-uninitialized
  71 
  72 # needs work
  73 $(OBJS_DIR)/llc1.o := SMOFF += no_if_block,deref_check
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)


  50 #
  51 #       Include common rules.
  52 #
  53 include $(UTSBASE)/intel/Makefile.intel
  54 
  55 #
  56 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61 
  62 #
  63 # For now, disable these lint checks; maintainers should endeavor
  64 # to investigate and remove these for maximum lint coverage.
  65 # Please do not carry these forward to new Makefiles.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69 
  70 CERRWARN        += $(CNOWARN_UNINIT)
  71 
  72 # needs work
  73 $(OBJS_DIR)/llc1.o := SMOFF += no_if_block,deref_check
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)