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


  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  51 
  52 #
  53 # Overrides.
  54 #
  55 CFLAGS          += $(CCVERBOSE)
  56 LDFLAGS         += -dy -N misc/mac
  57 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  58 
  59 #
  60 # For now, disable these lint checks; maintainers should endeavor
  61 # to investigate and remove these for maximum lint coverage.
  62 # Please do not carry these forward to new Makefiles.
  63 #
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_STATIC_UNUSED
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 
  71 # needs work
  72 $(OBJS_DIR)/dls_link.o := SMOFF += all_func_returns
  73 
  74 
  75 #
  76 # Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 


  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  51 
  52 #
  53 # Overrides.
  54 #
  55 CFLAGS          += $(CCVERBOSE)
  56 LDFLAGS         += -dy -N misc/mac
  57 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  58 
  59 #
  60 # For now, disable these lint checks; maintainers should endeavor
  61 # to investigate and remove these for maximum lint coverage.
  62 # Please do not carry these forward to new Makefiles.
  63 #
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_STATIC_UNUSED
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 
  71 # needs work
  72 $(OBJS_DIR)/dls_link.o := SMOFF += all_func_returns
  73 
  74 
  75 #
  76 # Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89