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


  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Overrides and depends_on
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 LDFLAGS         += -dy -Ndrv/stmf
  61 
  62 C99LMODE=       -Xc99=%all
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 #
  68 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  69 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70 LINTTAGS        += -erroff=E_IF_ELSE_ANNOTATION
  71 
  72 CERRWARN        += -_gcc=-Wno-unused-label
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 
  76 # needs work
  77 SMOFF += strcpy_overflow
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)


  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Overrides and depends_on
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 LDFLAGS         += -dy -Ndrv/stmf
  61 
  62 C99LMODE=       -Xc99=%all
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 #
  68 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  69 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70 LINTTAGS        += -erroff=E_IF_ELSE_ANNOTATION
  71 
  72 CERRWARN        += -_gcc=-Wno-unused-label
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 
  76 # needs work
  77 SMOFF += strcpy_overflow
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)