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


  56 # path for header files
  57 #
  58 INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
  59 
  60 #
  61 #       Overrides.
  62 #
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 CERRWARN        += -_gcc=-Wno-unused-variable
  75 CERRWARN        += -_gcc=-Wno-unused-function
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 # needs work
  79 $(OBJS_DIR)/daplt.o := SMOFF += all_func_returns,deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)


  56 # path for header files
  57 #
  58 INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
  59 
  60 #
  61 #       Overrides.
  62 #
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 CERRWARN        += -_gcc=-Wno-unused-variable
  75 CERRWARN        += -_gcc=-Wno-unused-function
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 # needs work
  79 $(OBJS_DIR)/daplt.o := SMOFF += all_func_returns,deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)