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


  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides.
  58 #
  59 ALL_BUILDS      = $(ALL_BUILDSONLY64)
  60 DEF_BUILDS      = $(DEF_BUILDSONLY64)
  61 
  62 # 
  63 # lint pass one enforcement 
  64 # 
  65 CFLAGS += $(CCVERBOSE)
  66 
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-parentheses
  69 CERRWARN        += -_gcc=-Wno-type-limits
  70 CERRWARN        += -_gcc=-Wno-unused-label
  71 CERRWARN        += -_gcc=-Wno-unused-function
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-unused-value
  74 
  75 #
  76 #       depends on misc/ibtl and misc/ibmf
  77 #
  78 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
  79 
  80 #
  81 # For now, disable these lint checks; maintainers should endeavor
  82 # to investigate and remove these for maximum lint coverage.
  83 # Please do not carry these forward to new Makefiles.
  84 #
  85 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 LINTTAGS        += -erroff=E_STATIC_UNUSED
  88 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  89 
  90 #
  91 #       Default build targets.
  92 #




  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides.
  58 #
  59 ALL_BUILDS      = $(ALL_BUILDSONLY64)
  60 DEF_BUILDS      = $(DEF_BUILDSONLY64)
  61 
  62 # 
  63 # lint pass one enforcement 
  64 # 
  65 CFLAGS += $(CCVERBOSE)
  66 
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-parentheses
  69 CERRWARN        += -_gcc=-Wno-type-limits
  70 CERRWARN        += -_gcc=-Wno-unused-label
  71 CERRWARN        += -_gcc=-Wno-unused-function
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-unused-value
  74 
  75 #
  76 #       depends on misc/ibtl and misc/ibmf
  77 #
  78 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
  79 
  80 #
  81 # For now, disable these lint checks; maintainers should endeavor
  82 # to investigate and remove these for maximum lint coverage.
  83 # Please do not carry these forward to new Makefiles.
  84 #
  85 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 LINTTAGS        += -erroff=E_STATIC_UNUSED
  88 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  89 
  90 #
  91 #       Default build targets.
  92 #