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


  54 
  55 #
  56 # lint pass one enforcement
  57 #
  58 CFLAGS += $(CCVERBOSE)
  59 
  60 #
  61 # Define dependencies on rpc, rpcsec, and tlimod
  62 #
  63 LDFLAGS         += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 
  73 CERRWARN        += -_gcc=-Wno-unused-variable
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 
  93 clean.lint:     $(CLEAN_LINT_DEPS)
  94 


  54 
  55 #
  56 # lint pass one enforcement
  57 #
  58 CFLAGS += $(CCVERBOSE)
  59 
  60 #
  61 # Define dependencies on rpc, rpcsec, and tlimod
  62 #
  63 LDFLAGS         += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 
  73 CERRWARN        += -_gcc=-Wno-unused-variable
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 
  93 clean.lint:     $(CLEAN_LINT_DEPS)
  94