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


  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sparc/Makefile.sparc
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Override defaults to build a unique, local modstubs.o.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 $(MODSTUBS_O)   := AS_CPPFLAGS += -DWC_MODULE
  62 CLEANFILES      += $(MODSTUBS_O)
  63 
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE)
  70 LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 


  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sparc/Makefile.sparc
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Override defaults to build a unique, local modstubs.o.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 $(MODSTUBS_O)   := AS_CPPFLAGS += -DWC_MODULE
  62 CLEANFILES      += $(MODSTUBS_O)
  63 
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE)
  70 LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84