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


  49 include $(UTSBASE)/sparc/Makefile.sparc
  50 
  51 #
  52 # lint pass one enforcement
  53 #
  54 CFLAGS += $(CCVERBOSE)
  55 
  56 #
  57 LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 CERRWARN        += -_gcc=-Wno-switch
  67 CERRWARN        += -_gcc=-Wno-type-limits
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 
  78 .KEEP_STATE:
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 


  49 include $(UTSBASE)/sparc/Makefile.sparc
  50 
  51 #
  52 # lint pass one enforcement
  53 #
  54 CFLAGS += $(CCVERBOSE)
  55 
  56 #
  57 LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 CERRWARN        += -_gcc=-Wno-switch
  67 CERRWARN        += -_gcc=-Wno-type-limits
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 
  78 .KEEP_STATE:
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89