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


  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  59 
  60 #
  61 # Define dependency on rpcmod, rpcsec, and mntfs
  62 #
  63 LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
  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_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += -_gcc=-Wno-unused-function
  77 CERRWARN        += -_gcc=-Wno-uninitialized
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)
  95 
  96 clean.lint:     $(CLEAN_LINT_DEPS)
  97 


  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  59 
  60 #
  61 # Define dependency on rpcmod, rpcsec, and mntfs
  62 #
  63 LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
  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_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += -_gcc=-Wno-unused-function
  77 CERRWARN        += $(CNOWARN_UNINIT)
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)
  95 
  96 clean.lint:     $(CLEAN_LINT_DEPS)
  97