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


  43 include $(UTSBASE)/intel/Makefile.intel
  44 
  45 #
  46 #       Define targets.
  47 #
  48 ALL_TARGET      = $(BINARY)
  49 LINT_MODULE     = p4_pcbe
  50 LINT_TARGET     = $(LINT_MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # For now, disable these lint checks; maintainers should endeavor
  55 # to investigate and remove these for maximum lint coverage.
  56 # Please do not carry these forward to new Makefiles.
  57 #
  58 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  59 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  60 LINTTAGS        += -erroff=E_STATIC_UNUSED
  61 
  62 CERRWARN        += -_gcc=-Wno-type-limits
  63 CERRWARN        += -_gcc=-Wno-uninitialized
  64 
  65 #
  66 #       Default build targets.
  67 #
  68 .KEEP_STATE:
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 clean:          $(CLEAN_DEPS)
  75 
  76 clobber:        $(CLOBBER_DEPS)
  77 
  78 lint:           $(LINT_DEPS)
  79 
  80 modlintlib:     $(MODLINTLIB_DEPS)
  81 
  82 clean.lint:     $(CLEAN_LINT_DEPS)
  83 


  43 include $(UTSBASE)/intel/Makefile.intel
  44 
  45 #
  46 #       Define targets.
  47 #
  48 ALL_TARGET      = $(BINARY)
  49 LINT_MODULE     = p4_pcbe
  50 LINT_TARGET     = $(LINT_MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # For now, disable these lint checks; maintainers should endeavor
  55 # to investigate and remove these for maximum lint coverage.
  56 # Please do not carry these forward to new Makefiles.
  57 #
  58 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  59 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  60 LINTTAGS        += -erroff=E_STATIC_UNUSED
  61 
  62 CERRWARN        += -_gcc=-Wno-type-limits
  63 CERRWARN        += $(CNOWARN_UNINIT)
  64 
  65 #
  66 #       Default build targets.
  67 #
  68 .KEEP_STATE:
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 clean:          $(CLEAN_DEPS)
  75 
  76 clobber:        $(CLOBBER_DEPS)
  77 
  78 lint:           $(LINT_DEPS)
  79 
  80 modlintlib:     $(MODLINTLIB_DEPS)
  81 
  82 clean.lint:     $(CLEAN_LINT_DEPS)
  83