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


  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sparc/Makefile.sparc
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 CFLAGS +=       $(CCVERBOSE)
  60 
  61 LDFLAGS +=      -dy -Ndacf/consconfig_dacf
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 


  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sparc/Makefile.sparc
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 CFLAGS +=       $(CCVERBOSE)
  60 
  61 LDFLAGS +=      -dy -Ndacf/consconfig_dacf
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84