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


  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #       Overrides.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DPROC_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-switch
  79 CERRWARN        += -_gcc=-Wno-uninitialized
  80 
  81 # needs work
  82 $(OBJS_DIR)/prsubr.o := SMOFF += all_func_returns
  83 $(OBJS_DIR)/prcontrol.o := SMOFF += all_func_returns
  84 $(OBJS_DIR)/prioctl.o := SMOFF += signed
  85 
  86 # false positives
  87 $(OBJS_DIR)/prvnops.o := SMOFF += strcpy_overflow
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)
  99 


  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #       Overrides.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DPROC_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-switch
  79 CERRWARN        += $(CNOWARN_UNINIT)
  80 
  81 # needs work
  82 $(OBJS_DIR)/prsubr.o := SMOFF += all_func_returns
  83 $(OBJS_DIR)/prcontrol.o := SMOFF += all_func_returns
  84 $(OBJS_DIR)/prioctl.o := SMOFF += signed
  85 
  86 # false positives
  87 $(OBJS_DIR)/prvnops.o := SMOFF += strcpy_overflow
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)
  99