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


  63 CFLAGS += $(CCVERBOSE)
  64 CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP 
  65 CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN -DUSE_INET6
  66 LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
  67 
  68 INC_PATH += -I$(UTSBASE)/common/inet/ipf
  69 
  70 #
  71 # For now, disable these lint checks; maintainers should endeavor
  72 # to investigate and remove these for maximum lint coverage.
  73 # Please do not carry these forward to new Makefiles.
  74 #
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 CERRWARN        += -_gcc=-Wno-unused-variable
  82 CERRWARN        += -_gcc=-Wno-parentheses
  83 CERRWARN        += -_gcc=-Wno-uninitialized
  84 CERRWARN        += -_gcc=-Wno-empty-body
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS) 
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)


  63 CFLAGS += $(CCVERBOSE)
  64 CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP 
  65 CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN -DUSE_INET6
  66 LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
  67 
  68 INC_PATH += -I$(UTSBASE)/common/inet/ipf
  69 
  70 #
  71 # For now, disable these lint checks; maintainers should endeavor
  72 # to investigate and remove these for maximum lint coverage.
  73 # Please do not carry these forward to new Makefiles.
  74 #
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 CERRWARN        += -_gcc=-Wno-unused-variable
  82 CERRWARN        += -_gcc=-Wno-parentheses
  83 CERRWARN        += $(CNOWARN_UNINIT)
  84 CERRWARN        += -_gcc=-Wno-empty-body
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS) 
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)