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


  56 #       Define targets
  57 #
  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/ipsecah -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_ASSIGN_NARROW_CONV
  75 
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 # needs work
  79 $(OBJS_DIR)/ipsecespddi.o := SMOFF += index_overflow
  80 $(OBJS_DIR)/ipsecesp.o := SMOFF += deref_check
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96 


  56 #       Define targets
  57 #
  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/ipsecah -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_ASSIGN_NARROW_CONV
  75 
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 # needs work
  79 $(OBJS_DIR)/ipsecespddi.o := SMOFF += index_overflow
  80 $(OBJS_DIR)/ipsecesp.o := SMOFF += deref_check
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96