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


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


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