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


  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 # includes
  59 INC_PATH        += -I$(UTSBASE)/common/io/scsi/adapters/iscsi
  60 INC_PATH        += -I$(SRC)/common/hdcrc
  61 
  62 #
  63 # Note dependancy on misc/scsi.
  64 #
  65 LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/md5" -Nmisc/ksocket
  66 LDFLAGS += -N"misc/idm"
  67 
  68 LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  69 LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  70 
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += -_gcc=-Wno-unused-function
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 CERRWARN        += -_gcc=-Wno-type-limits
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  76 
  77 #
  78 # Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95 


  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 # includes
  59 INC_PATH        += -I$(UTSBASE)/common/io/scsi/adapters/iscsi
  60 INC_PATH        += -I$(SRC)/common/hdcrc
  61 
  62 #
  63 # Note dependancy on misc/scsi.
  64 #
  65 LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/md5" -Nmisc/ksocket
  66 LDFLAGS += -N"misc/idm"
  67 
  68 LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  69 LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  70 
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += -_gcc=-Wno-unused-function
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 CERRWARN        += -_gcc=-Wno-type-limits
  75 CERRWARN        += $(CNOWARN_UNINIT)
  76 
  77 #
  78 # Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95