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


  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE) -D__fibre -dalign
  65 LINTFLAGS += -D__fibre
  66 WLCCFLAGS = -D__fibre
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75 LINTTAGS        += -erroff=E_STATIC_UNUSED
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 
  78 CERRWARN        += -_gcc=-Wno-unused-function
  79 CERRWARN        += -_gcc=-Wno-unused-label
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += -_gcc=-Wno-uninitialized
  82 CERRWARN        += -_gcc=-Wno-type-limits
  83 
  84 #
  85 # Depends on scsi and cmlb
  86 # fcp included for fibre support
  87 #
  88 LDFLAGS         += -dy -N misc/scsi -N misc/cmlb -N drv/fcp
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 all:            $(ALL_DEPS)
  96 
  97 def:            $(DEF_DEPS)
  98 
  99 clean:          $(CLEAN_DEPS)
 100 
 101 clobber:        $(CLOBBER_DEPS)


  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE) -D__fibre -dalign
  65 LINTFLAGS += -D__fibre
  66 WLCCFLAGS = -D__fibre
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75 LINTTAGS        += -erroff=E_STATIC_UNUSED
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 
  78 CERRWARN        += -_gcc=-Wno-unused-function
  79 CERRWARN        += -_gcc=-Wno-unused-label
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += $(CNOWARN_UNINIT)
  82 CERRWARN        += -_gcc=-Wno-type-limits
  83 
  84 #
  85 # Depends on scsi and cmlb
  86 # fcp included for fibre support
  87 #
  88 LDFLAGS         += -dy -N misc/scsi -N misc/cmlb -N drv/fcp
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 all:            $(ALL_DEPS)
  96 
  97 def:            $(DEF_DEPS)
  98 
  99 clean:          $(CLEAN_DEPS)
 100 
 101 clobber:        $(CLOBBER_DEPS)