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


  44 LINTS           = $(ENVCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_TAZMO_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/tazmo/Makefile.tazmo
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS += $(CCVERBOSE)
  63 CERRWARN += -_gcc=-Wno-parentheses
  64 CERRWARN += -_gcc=-Wno-uninitialized
  65 CERRWARN += -_gcc=-Wno-type-limits
  66 
  67 #
  68 # Turn on doubleword alignment for 64 bit registers
  69 #
  70 CFLAGS += -dalign
  71 
  72 LDFLAGS += -dy -Ndrv/pcipsy
  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 LINTS           = $(ENVCTRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_TAZMO_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/tazmo/Makefile.tazmo
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS += $(CCVERBOSE)
  63 CERRWARN += -_gcc=-Wno-parentheses
  64 CERRWARN += $(CNOWARN_UNINIT)
  65 CERRWARN += -_gcc=-Wno-type-limits
  66 
  67 #
  68 # Turn on doubleword alignment for 64 bit registers
  69 #
  70 CFLAGS += -dalign
  71 
  72 LDFLAGS += -dy -Ndrv/pcipsy
  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