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


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


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