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 # depends on misc/usba
  58 #
  59 LDFLAGS         += -dy -Nmisc/usba -Nmisc/hidparser
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(BINARY)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 CERRWARN        += -_gcc=-Wno-parentheses
  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 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 include $(UTSBASE)/sparc/Makefile.sparc
  50 
  51 # 
  52 # lint pass one enforcement 
  53 # 
  54 CFLAGS += $(CCVERBOSE) 
  55 
  56 #
  57 # depends on misc/usba
  58 #
  59 LDFLAGS         += -dy -Nmisc/usba -Nmisc/hidparser
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(BINARY)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 CERRWARN        += -_gcc=-Wno-parentheses
  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 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89