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


  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  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_SUPPRESSION_DIRECTIVE_UNUSED
  67 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  68 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-uninitialized
  72 
  73 # needs work
  74 $(OBJS_DIR)/tnf_writer.o := SMOFF += all_func_returns
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)


  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  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_SUPPRESSION_DIRECTIVE_UNUSED
  67 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  68 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += $(CNOWARN_UNINIT)
  72 
  73 # needs work
  74 $(OBJS_DIR)/tnf_writer.o := SMOFF += all_func_returns
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)