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


  62 CFLAGS += $(CCVERBOSE)
  63 
  64 #
  65 # Depends on ip; this is for sharing common option management code
  66 # which happens to live in "ip" kernel module only.  Needed to do
  67 # AF_UNIX socket options.
  68 #
  69 LDFLAGS += -dy -Ndrv/ip
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += -_gcc=-Wno-uninitialized
  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)
 100 
 101 clean.lint:     $(CLEAN_LINT_DEPS)
 102 


  62 CFLAGS += $(CCVERBOSE)
  63 
  64 #
  65 # Depends on ip; this is for sharing common option management code
  66 # which happens to live in "ip" kernel module only.  Needed to do
  67 # AF_UNIX socket options.
  68 #
  69 LDFLAGS += -dy -Ndrv/ip
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += $(CNOWARN_UNINIT)
  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)
 100 
 101 clean.lint:     $(CLEAN_LINT_DEPS)
 102