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


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


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