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


  52 #       Override defaults.
  53 #
  54 FILEMODE        = 644
  55 
  56 #
  57 #       Define targets
  58 #
  59 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  62 
  63 #
  64 #       Override defaults to build a unique, local modstubs.o.
  65 #
  66 MODSTUBS_DIR     = $(OBJS_DIR)
  67 $(MODSTUBS_O)   := AS_CPPFLAGS += -DBOFI_MODULE
  68 CLEANFILES      += $(MODSTUBS_O)
  69 
  70 CPPFLAGS        += -I../../sun4
  71 
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 
  74 # needs work
  75 $(OBJS_DIR)/bofi.o := SMOFF += signed_integer_overflow_check,deref_check
  76 
  77 #
  78 # For now, disable these lint checks; maintainers should endeavor
  79 # to investigate and remove these for maximum lint coverage.
  80 # Please do not carry these forward to new Makefiles.
  81 #
  82 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  83 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 
  87 #
  88 #       Default build targets.
  89 #
  90 .KEEP_STATE:
  91 
  92 def:            $(DEF_DEPS)


  52 #       Override defaults.
  53 #
  54 FILEMODE        = 644
  55 
  56 #
  57 #       Define targets
  58 #
  59 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  62 
  63 #
  64 #       Override defaults to build a unique, local modstubs.o.
  65 #
  66 MODSTUBS_DIR     = $(OBJS_DIR)
  67 $(MODSTUBS_O)   := AS_CPPFLAGS += -DBOFI_MODULE
  68 CLEANFILES      += $(MODSTUBS_O)
  69 
  70 CPPFLAGS        += -I../../sun4
  71 
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 
  74 # needs work
  75 $(OBJS_DIR)/bofi.o := SMOFF += signed_integer_overflow_check,deref_check
  76 
  77 #
  78 # For now, disable these lint checks; maintainers should endeavor
  79 # to investigate and remove these for maximum lint coverage.
  80 # Please do not carry these forward to new Makefiles.
  81 #
  82 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  83 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 
  87 #
  88 #       Default build targets.
  89 #
  90 .KEEP_STATE:
  91 
  92 def:            $(DEF_DEPS)