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


  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS += $(CCVERBOSE) -DNORDICA_CP1500
  63 CERRWARN += -_gcc=-Wno-switch
  64 CERRWARN += -_gcc=-Wno-unused-variable
  65 CERRWARN += -_gcc=-Wno-unused-function
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += -_gcc=-Wno-uninitialized
  68 
  69 #
  70 # Turn on doubleword alignment for 64 bit registers
  71 #
  72 CFLAGS += -dalign
  73 
  74 # Add our depedencies to LDFLAGS
  75 #
  76 LDFLAGS += -dy -Nmisc/hpcsvc -Nmisc/i2c_svc
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)


  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS += $(CCVERBOSE) -DNORDICA_CP1500
  63 CERRWARN += -_gcc=-Wno-switch
  64 CERRWARN += -_gcc=-Wno-unused-variable
  65 CERRWARN += -_gcc=-Wno-unused-function
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += $(CNOWARN_UNINIT)
  68 
  69 #
  70 # Turn on doubleword alignment for 64 bit registers
  71 #
  72 CFLAGS += -dalign
  73 
  74 # Add our depedencies to LDFLAGS
  75 #
  76 LDFLAGS += -dy -Nmisc/hpcsvc -Nmisc/i2c_svc
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)