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


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


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