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


  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # Linkage dependencies
  58 #
  59 
  60 #
  61 # lint pass one enforcement
  62 #
  63 CFLAGS          += $(CCVERBOSE) -I$(COM_DIR)
  64 AS_CPPFLAGS     += -I../../$(PLATFORM)
  65 
  66 LINTTAGS        += -I$(COM_DIR)
  67 
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 
  73 # needs work
  74 SMOFF += all_func_returns,signed_integer_overflow_check
  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)


  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # Linkage dependencies
  58 #
  59 
  60 #
  61 # lint pass one enforcement
  62 #
  63 CFLAGS          += $(CCVERBOSE) -I$(COM_DIR)
  64 AS_CPPFLAGS     += -I../../$(PLATFORM)
  65 
  66 LINTTAGS        += -I$(COM_DIR)
  67 
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 
  73 # needs work
  74 SMOFF += all_func_returns,signed_integer_overflow_check
  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)