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


  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
  61 
  62 #
  63 # Linkage dependencies
  64 #
  65 LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
  66 
  67 #
  68 # For now, disable these lint checks; maintainers should endeavor
  69 # to investigate and remove these for maximum lint coverage.
  70 # Please do not carry these forward to new Makefiles.
  71 #
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  74 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-uninitialized
  79 
  80 # needs work
  81 $(OBJS_DIR)/ipsecahddi.o := SMOFF += index_overflow
  82 $(OBJS_DIR)/ipsecah.o := SMOFF += deref_check
  83 $(OBJS_DIR)/sadb.o := SMOFF += signed_integer_overflow_check,deref_check,indenting,shift_to_zero
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  97 
  98 lint:           $(LINT_DEPS)


  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
  61 
  62 #
  63 # Linkage dependencies
  64 #
  65 LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
  66 
  67 #
  68 # For now, disable these lint checks; maintainers should endeavor
  69 # to investigate and remove these for maximum lint coverage.
  70 # Please do not carry these forward to new Makefiles.
  71 #
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  74 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += $(CNOWARN_UNINIT)
  79 
  80 # needs work
  81 $(OBJS_DIR)/ipsecahddi.o := SMOFF += index_overflow
  82 $(OBJS_DIR)/ipsecah.o := SMOFF += deref_check
  83 $(OBJS_DIR)/sadb.o := SMOFF += signed_integer_overflow_check,deref_check,indenting,shift_to_zero
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  97 
  98 lint:           $(LINT_DEPS)