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


  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/excalibur/Makefile.excalibur
  51 
  52 CLEANLINTFILES  = $(LINTS) $(PPM_LINT_LIBS)
  53 CLEANFILES      = $(OBJECTS) $(CLEANLINTFILES)
  54 CLOBBERFILES    = $(OBJS_DIR)/$(MODULE) $(CLEANFILES)
  55 
  56 #
  57 # Define targets
  58 #
  59 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  62 
  63 #
  64 # lint pass one enforcement
  65 #
  66 CFLAGS += $(CCVERBOSE)
  67 CERRWARN += -_gcc=-Wno-parentheses
  68 CERRWARN += -_gcc=-Wno-uninitialized
  69 CERRWARN += -_gcc=-Wno-switch
  70 
  71 #
  72 # Turn on doubleword alignment for 64 bit registers
  73 #
  74 CFLAGS += -dalign
  75 
  76 #
  77 # dependency
  78 #
  79 LDFLAGS += -dy -Ndrv/schppm
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)




  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sun4u/excalibur/Makefile.excalibur
  51 
  52 CLEANLINTFILES  = $(LINTS) $(PPM_LINT_LIBS)
  53 CLEANFILES      = $(OBJECTS) $(CLEANLINTFILES)
  54 CLOBBERFILES    = $(OBJS_DIR)/$(MODULE) $(CLEANFILES)
  55 
  56 #
  57 # Define targets
  58 #
  59 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  62 
  63 #
  64 # lint pass one enforcement
  65 #
  66 CFLAGS += $(CCVERBOSE)
  67 CERRWARN += -_gcc=-Wno-parentheses
  68 CERRWARN += $(CNOWARN_UNINIT)
  69 CERRWARN += -_gcc=-Wno-switch
  70 
  71 #
  72 # Turn on doubleword alignment for 64 bit registers
  73 #
  74 CFLAGS += -dalign
  75 
  76 #
  77 # dependency
  78 #
  79 LDFLAGS += -dy -Ndrv/schppm
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)