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


  43 LINTS           = $(SYSCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE)
  45 
  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 # lint pass one enforcement
  60 #
  61 CFLAGS += $(CCVERBOSE)
  62 CERRWARN += -_gcc=-Wno-parentheses
  63 CERRWARN += -_gcc=-Wno-uninitialized
  64 
  65 #
  66 # Turn on doubleword alignment for 64 bit registers
  67 #
  68 CFLAGS += -dalign
  69 
  70 #
  71 # Define dependency on fhc
  72 #
  73 LDFLAGS += -dy -N drv/fhc
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 


  43 LINTS           = $(SYSCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE)
  45 
  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 # lint pass one enforcement
  60 #
  61 CFLAGS += $(CCVERBOSE)
  62 CERRWARN += -_gcc=-Wno-parentheses
  63 CERRWARN += $(CNOWARN_UNINIT)
  64 
  65 #
  66 # Turn on doubleword alignment for 64 bit registers
  67 #
  68 CFLAGS += -dalign
  69 
  70 #
  71 # Define dependency on fhc
  72 #
  73 LDFLAGS += -dy -N drv/fhc
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83