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


  54 #
  55 
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 LINT_TARGET     = $(MODULE).lint
  62 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  63 
  64 LDFLAGS += -dy -Ndrv/ip
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 
  76 # needs work
  77 $(OBJS_DIR)/filters.o := SMOFF += deref_check
  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)


  54 #
  55 
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 LINT_TARGET     = $(MODULE).lint
  62 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  63 
  64 LDFLAGS += -dy -Ndrv/ip
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 
  76 # needs work
  77 $(OBJS_DIR)/filters.o := SMOFF += deref_check
  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)