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


  50 include $(UTSBASE)/sun4v/Makefile.sun4v
  51 
  52 #
  53 #       Override defaults to build a unique, local modstubs.o.
  54 #
  55 MODSTUBS_DIR    = $(OBJS_DIR)
  56 
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE)
  70 CERRWARN += -_gcc=-Wno-uninitialized
  71 
  72 #
  73 # Module Dependencies
  74 LDFLAGS         += -dy -Nmisc/ds
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 


  50 include $(UTSBASE)/sun4v/Makefile.sun4v
  51 
  52 #
  53 #       Override defaults to build a unique, local modstubs.o.
  54 #
  55 MODSTUBS_DIR    = $(OBJS_DIR)
  56 
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE)
  70 CERRWARN += $(CNOWARN_UNINIT)
  71 
  72 #
  73 # Module Dependencies
  74 LDFLAGS         += -dy -Nmisc/ds
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90