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


  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  60 
  61 #
  62 # Depends on ip; this is for sharing common option management code
  63 # which happens to live in "ip" kernel module only.  Needed to do
  64 # AF_UNIX socket options.
  65 #
  66 LDFLAGS += -dy -Ndrv/ip
  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_STATIC_UNUSED
  76 
  77 CERRWARN        += -_gcc=-Wno-unused-function
  78 CERRWARN        += -_gcc=-Wno-parentheses
  79 CERRWARN        += -_gcc=-Wno-uninitialized
  80 
  81 # needs work
  82 SMOFF += deref_check
  83 
  84 #
  85 #       Default build targets.
  86 #
  87 .KEEP_STATE:
  88 
  89 def:            $(DEF_DEPS)
  90 
  91 all:            $(ALL_DEPS)
  92 
  93 clean:          $(CLEAN_DEPS)
  94 
  95 clobber:        $(CLOBBER_DEPS)
  96 
  97 lint:           $(LINT_DEPS)
  98 
  99 modlintlib:     $(MODLINTLIB_DEPS)


  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  60 
  61 #
  62 # Depends on ip; this is for sharing common option management code
  63 # which happens to live in "ip" kernel module only.  Needed to do
  64 # AF_UNIX socket options.
  65 #
  66 LDFLAGS += -dy -Ndrv/ip
  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_STATIC_UNUSED
  76 
  77 CERRWARN        += -_gcc=-Wno-unused-function
  78 CERRWARN        += -_gcc=-Wno-parentheses
  79 CERRWARN        += $(CNOWARN_UNINIT)
  80 
  81 # needs work
  82 SMOFF += deref_check
  83 
  84 #
  85 #       Default build targets.
  86 #
  87 .KEEP_STATE:
  88 
  89 def:            $(DEF_DEPS)
  90 
  91 all:            $(ALL_DEPS)
  92 
  93 clean:          $(CLEAN_DEPS)
  94 
  95 clobber:        $(CLOBBER_DEPS)
  96 
  97 lint:           $(LINT_DEPS)
  98 
  99 modlintlib:     $(MODLINTLIB_DEPS)