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


  61 #
  62 INC_PATH        += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
  63 
  64 #
  65 #       Overrides
  66 #
  67 DEF_BUILDS      = $(DEF_BUILDS64)
  68 ALL_BUILDS      = $(ALL_BUILDS64)
  69 CLEANLINTFILES  += $(LINT64_FILES)
  70 
  71 #
  72 # lint pass one enforcement
  73 #
  74 CFLAGS += $(CCVERBOSE)
  75 
  76 CPPFLAGS        +=      -DHOTPLUG
  77 
  78 #       dependency
  79 LDFLAGS +=      -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
  80 
  81 CERRWARN        += -_gcc=-Wno-uninitialized
  82 CERRWARN        += -_gcc=-Wno-parentheses
  83 CERRWARN        += -_gcc=-Wno-unused-function
  84 CERRWARN        += -_gcc=-Wno-unused-variable
  85 
  86 #
  87 # For now, disable these lint checks; maintainers should endeavor
  88 # to investigate and remove these for maximum lint coverage.
  89 # Please do not carry these forward to new Makefiles.
  90 #
  91 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  92 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  93 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  94 LINTTAGS        += -erroff=E_STATIC_UNUSED
  95 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  96 
  97 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101 


  61 #
  62 INC_PATH        += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
  63 
  64 #
  65 #       Overrides
  66 #
  67 DEF_BUILDS      = $(DEF_BUILDS64)
  68 ALL_BUILDS      = $(ALL_BUILDS64)
  69 CLEANLINTFILES  += $(LINT64_FILES)
  70 
  71 #
  72 # lint pass one enforcement
  73 #
  74 CFLAGS += $(CCVERBOSE)
  75 
  76 CPPFLAGS        +=      -DHOTPLUG
  77 
  78 #       dependency
  79 LDFLAGS +=      -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
  80 
  81 CERRWARN        += $(CNOWARN_UNINIT)
  82 CERRWARN        += -_gcc=-Wno-parentheses
  83 CERRWARN        += -_gcc=-Wno-unused-function
  84 CERRWARN        += -_gcc=-Wno-unused-variable
  85 
  86 #
  87 # For now, disable these lint checks; maintainers should endeavor
  88 # to investigate and remove these for maximum lint coverage.
  89 # Please do not carry these forward to new Makefiles.
  90 #
  91 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  92 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  93 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  94 LINTTAGS        += -erroff=E_STATIC_UNUSED
  95 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  96 
  97 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101