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


  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 # For now, disable these lint checks; maintainers should endeavor
  56 # to investigate and remove these for maximum lint coverage.
  57 # Please do not carry these forward to new Makefiles.
  58 #
  59 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  61 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 
  66 # needs work
  67 $(OBJS_DIR)/dnet.o := SMOFF += index_overflow
  68 $(OBJS_DIR)/dnet_mii.o := SMOFF += all_func_returns
  69 
  70 LDFLAGS         += -dy -N misc/mac
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 


  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 # For now, disable these lint checks; maintainers should endeavor
  56 # to investigate and remove these for maximum lint coverage.
  57 # Please do not carry these forward to new Makefiles.
  58 #
  59 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  61 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 
  66 # needs work
  67 $(OBJS_DIR)/dnet.o := SMOFF += index_overflow
  68 $(OBJS_DIR)/dnet_mii.o := SMOFF += all_func_returns
  69 
  70 LDFLAGS         += -dy -N misc/mac
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84