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


  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides
  57 #
  58 LDFLAGS         += -dy -Nmisc/fctl -Nmisc/scsi
  59 
  60 #
  61 #       Lint tags
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  65 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  66 
  67 CERRWARN        += -_gcc=-Wno-parentheses
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 
  71 SMATCH=off
  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 


  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides
  57 #
  58 LDFLAGS         += -dy -Nmisc/fctl -Nmisc/scsi
  59 
  60 #
  61 #       Lint tags
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  65 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  66 
  67 CERRWARN        += -_gcc=-Wno-parentheses
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 
  71 SMATCH=off
  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