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


  38 LINTS           = $(DR_IO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  40 
  41 #
  42 # Include common rules.
  43 #
  44 include $(UTSBASE)/sun4v/Makefile.sun4v
  45 
  46 #
  47 # Define targets
  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # lint pass one enforcement
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 CERRWARN        += -_gcc=-Wno-parentheses
  58 CERRWARN        += -_gcc=-Wno-uninitialized
  59 
  60 #
  61 # Turn on doubleword alignment for 64 bit registers
  62 #
  63 CFLAGS          += -dalign
  64 
  65 #
  66 # Module Dependencies
  67 #
  68 LDFLAGS         += -dy -Nmisc/ds -Ndrv/drctl
  69 
  70 #
  71 # Default build targets.
  72 #
  73 .KEEP_STATE:
  74 
  75 def:            $(DEF_DEPS)
  76 
  77 all:            $(ALL_DEPS)
  78 


  38 LINTS           = $(DR_IO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  40 
  41 #
  42 # Include common rules.
  43 #
  44 include $(UTSBASE)/sun4v/Makefile.sun4v
  45 
  46 #
  47 # Define targets
  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # lint pass one enforcement
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 CERRWARN        += -_gcc=-Wno-parentheses
  58 CERRWARN        += $(CNOWARN_UNINIT)
  59 
  60 #
  61 # Turn on doubleword alignment for 64 bit registers
  62 #
  63 CFLAGS          += -dalign
  64 
  65 #
  66 # Module Dependencies
  67 #
  68 LDFLAGS         += -dy -Nmisc/ds -Ndrv/drctl
  69 
  70 #
  71 # Default build targets.
  72 #
  73 .KEEP_STATE:
  74 
  75 def:            $(DEF_DEPS)
  76 
  77 all:            $(ALL_DEPS)
  78