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


  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE)
  61 
  62 #
  63 # Define dependencies on kgssapi and md5
  64 #
  65 LDFLAGS         += -dy -N misc/kgssapi -N crypto/md5
  66 
  67 CERRWARN        += -_gcc=-Wno-unused-function
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 
  72 #
  73 # For now, disable these lint checks; maintainers should endeavor
  74 # to investigate and remove these for maximum lint coverage.
  75 # Please do not carry these forward to new Makefiles.
  76 #
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 




  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE)
  61 
  62 #
  63 # Define dependencies on kgssapi and md5
  64 #
  65 LDFLAGS         += -dy -N misc/kgssapi -N crypto/md5
  66 
  67 CERRWARN        += -_gcc=-Wno-unused-function
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 
  72 #
  73 # For now, disable these lint checks; maintainers should endeavor
  74 # to investigate and remove these for maximum lint coverage.
  75 # Please do not carry these forward to new Makefiles.
  76 #
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89