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


  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides and depends_on
  57 #
  58 MODSTUBS_DIR     = $(OBJS_DIR)
  59 LDFLAGS         += -dy -Ndrv/fct -Ndrv/stmf
  60 CFLAGS          += -DUNIQUE_FW_NAME
  61 LINTTAGS        += -DUNIQUE_FW_NAME
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 
  73 CERRWARN        += -_gcc=-Wno-uninitialized
  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)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)
  93 


  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides and depends_on
  57 #
  58 MODSTUBS_DIR     = $(OBJS_DIR)
  59 LDFLAGS         += -dy -Ndrv/fct -Ndrv/stmf
  60 CFLAGS          += -DUNIQUE_FW_NAME
  61 LINTTAGS        += -DUNIQUE_FW_NAME
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 
  73 CERRWARN        += $(CNOWARN_UNINIT)
  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)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)
  93