Print this page
6752 E_SUPPRESSION_DIRECTIVE_UNUSED lint warnings on SPARC build


  46 #
  47 include ../Makefile.$(ARCHDIR)
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Overrides
  58 #
  59 LDFLAGS         += -dy -Nmisc/fctl -Nmisc/scsi
  60 
  61 #
  62 #       Lint tags
  63 #
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  66 LINTTAGS        += -erroff=E_STATIC_UNUSED
  67 
  68 CERRWARN        += -_gcc=-Wno-parentheses
  69 CERRWARN        += -_gcc=-Wno-switch
  70 CERRWARN        += -_gcc=-Wno-unused-function
  71 CERRWARN        += -_gcc=-Wno-uninitialized
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)
  89 
  90 clean.lint:     $(CLEAN_LINT_DEPS)


  46 #
  47 include ../Makefile.$(ARCHDIR)
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Overrides
  58 #
  59 LDFLAGS         += -dy -Nmisc/fctl -Nmisc/scsi
  60 
  61 #
  62 #       Lint tags
  63 #
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  66 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  67 
  68 CERRWARN        += -_gcc=-Wno-parentheses
  69 CERRWARN        += -_gcc=-Wno-switch

  70 CERRWARN        += -_gcc=-Wno-uninitialized
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 
  85 lint:           $(LINT_DEPS)
  86 
  87 modlintlib:     $(MODLINTLIB_DEPS)
  88 
  89 clean.lint:     $(CLEAN_LINT_DEPS)