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


  62 CFLAGS          += $(CCVERBOSE)
  63 LDFLAGS         += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
  64 LDFLAGS         += -Nmisc/klmmod
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-type-limits
  79 CERRWARN        += -_gcc=-Wno-unused-variable
  80 CERRWARN        += -_gcc=-Wno-unused-label
  81 CERRWARN        += -_gcc=-Wno-unused-function
  82 CERRWARN        += -_gcc=-Wno-uninitialized
  83 CERRWARN        += -_gcc=-Wno-switch
  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)
 101 
 102 clean.lint:     $(CLEAN_LINT_DEPS)


  62 CFLAGS          += $(CCVERBOSE)
  63 LDFLAGS         += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
  64 LDFLAGS         += -Nmisc/klmmod
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-type-limits
  79 CERRWARN        += -_gcc=-Wno-unused-variable
  80 CERRWARN        += -_gcc=-Wno-unused-label
  81 CERRWARN        += -_gcc=-Wno-unused-function
  82 CERRWARN        += $(CNOWARN_UNINIT)
  83 CERRWARN        += -_gcc=-Wno-switch
  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)
 101 
 102 clean.lint:     $(CLEAN_LINT_DEPS)