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


  56 #
  57 #       Overrides and depends_on
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 LDFLAGS         += -dy -Ndrv/stmf -Nfs/zfs
  61 
  62 INC_PATH        += -I$(UTSBASE)/common/fs/zfs
  63 
  64 C99LMODE=       -Xc99=%all
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92 
  93 modlintlib:     $(MODLINTLIB_DEPS)
  94 
  95 clean.lint:     $(CLEAN_LINT_DEPS)
  96 


  56 #
  57 #       Overrides and depends_on
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 LDFLAGS         += -dy -Ndrv/stmf -Nfs/zfs
  61 
  62 INC_PATH        += -I$(UTSBASE)/common/fs/zfs
  63 
  64 C99LMODE=       -Xc99=%all
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92 
  93 modlintlib:     $(MODLINTLIB_DEPS)
  94 
  95 clean.lint:     $(CLEAN_LINT_DEPS)
  96