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


  60 
  61 CPPFLAGS        +=      -DCARDBUS -DHOTPLUG
  62 #
  63 #       Dependency
  64 #
  65 LDFLAGS         += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
  66 
  67 #
  68 # For now, disable these lint checks; maintainers should endeavor
  69 # to investigate and remove these for maximum lint coverage.
  70 # Please do not carry these forward to new Makefiles.
  71 #
  72 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-unused-variable
  79 CERRWARN        += -_gcc=-Wno-unused-function
  80 CERRWARN        += -_gcc=-Wno-uninitialized
  81 
  82 # needs work
  83 SMOFF += no_if_block,indenting,all_func_returns
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99 
 100 modlintlib:     $(MODLINTLIB_DEPS)


  60 
  61 CPPFLAGS        +=      -DCARDBUS -DHOTPLUG
  62 #
  63 #       Dependency
  64 #
  65 LDFLAGS         += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
  66 
  67 #
  68 # For now, disable these lint checks; maintainers should endeavor
  69 # to investigate and remove these for maximum lint coverage.
  70 # Please do not carry these forward to new Makefiles.
  71 #
  72 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-unused-variable
  79 CERRWARN        += -_gcc=-Wno-unused-function
  80 CERRWARN        += $(CNOWARN_UNINIT)
  81 
  82 # needs work
  83 SMOFF += no_if_block,indenting,all_func_returns
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99 
 100 modlintlib:     $(MODLINTLIB_DEPS)