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


  44 OBJECTS         = $(VIS_OBJS:%=$(OBJS_DIR)/%)
  45 LINTS           = $(VIS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  46 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sun4v/Makefile.sun4v
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # lint pass one enforcement
  62 #
  63 CFLAGS += $(CCVERBOSE)
  64 CERRWARN += -_gcc=-Wno-uninitialized
  65 
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77 
  78 modlintlib:     $(MODLINTLIB_DEPS)
  79 
  80 clean.lint:     $(CLEAN_LINT_DEPS)
  81 
  82 install:        $(INSTALL_DEPS)
  83 
  84 #


  44 OBJECTS         = $(VIS_OBJS:%=$(OBJS_DIR)/%)
  45 LINTS           = $(VIS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  46 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sun4v/Makefile.sun4v
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # lint pass one enforcement
  62 #
  63 CFLAGS += $(CCVERBOSE)
  64 CERRWARN += $(CNOWARN_UNINIT)
  65 
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77 
  78 modlintlib:     $(MODLINTLIB_DEPS)
  79 
  80 clean.lint:     $(CLEAN_LINT_DEPS)
  81 
  82 install:        $(INSTALL_DEPS)
  83 
  84 #