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


  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sparc/Makefile.sparc
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(CONFMOD)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 # 
  58 # lint pass one enforcement 
  59 # 
  60 CFLAGS          += $(CCVERBOSE)
  61 
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 
  66 #
  67 # Turn on doubleword alignment for 64 bit registers
  68 #
  69 CFLAGS          += -dalign
  70 
  71 #
  72 #       Kernel Module Dependencies
  73 #
  74 LDFLAGS         += -dy -Nmisc/scsi
  75 
  76 #
  77 #       Overrides
  78 #
  79 
  80 #
  81 #       Default build targets.
  82 #
  83 .KEEP_STATE:
  84 


  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sparc/Makefile.sparc
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(CONFMOD)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 # 
  58 # lint pass one enforcement 
  59 # 
  60 CFLAGS          += $(CCVERBOSE)
  61 
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 
  66 #
  67 # Turn on doubleword alignment for 64 bit registers
  68 #
  69 CFLAGS          += -dalign
  70 
  71 #
  72 #       Kernel Module Dependencies
  73 #
  74 LDFLAGS         += -dy -Nmisc/scsi
  75 
  76 #
  77 #       Overrides
  78 #
  79 
  80 #
  81 #       Default build targets.
  82 #
  83 .KEEP_STATE:
  84