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


  46                   $(PCI_STRING_OBJS:%.o=$(LINTS_DIR)/%.ln)
  47 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  48 
  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/sun4u/Makefile.sun4u
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #     Dependency
  63 #
  64 LDFLAGS += -dy -Nmisc/busra
  65 
  66 CERRWARN += -_gcc=-Wno-uninitialized
  67 CERRWARN += -_gcc=-Wno-unused-value
  68 CERRWARN += -_gcc=-Wno-parentheses
  69 CERRWARN += -_gcc=-Wno-type-limits
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 
  84 lint:           $(LINT_DEPS)
  85 
  86 modlintlib:     $(MODLINTLIB_DEPS)


  46                   $(PCI_STRING_OBJS:%.o=$(LINTS_DIR)/%.ln)
  47 ROOTMODULE      = $(ROOT_PSM_MISC_DIR)/$(MODULE)
  48 
  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/sun4u/Makefile.sun4u
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #     Dependency
  63 #
  64 LDFLAGS += -dy -Nmisc/busra
  65 
  66 CERRWARN += $(CNOWARN_UNINIT)
  67 CERRWARN += -_gcc=-Wno-unused-value
  68 CERRWARN += -_gcc=-Wno-parentheses
  69 CERRWARN += -_gcc=-Wno-type-limits
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 
  84 lint:           $(LINT_DEPS)
  85 
  86 modlintlib:     $(MODLINTLIB_DEPS)