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


  52 
  53 CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -DUSE_INET6
  54 CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN
  55 LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
  56 
  57 INC_PATH += -I$(UTSBASE)/common/inet/ipf
  58 
  59 #
  60 # For now, disable these lint checks; maintainers should endeavor
  61 # to investigate and remove these for maximum lint coverage.
  62 # Please do not carry these forward to new Makefiles.
  63 #
  64 LINTTAGS        += -erroff=E_STATIC_UNUSED
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += -_gcc=-Wno-unused-function
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-empty-body
  74 
  75 # needs work
  76 SMATCH=off
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92 


  52 
  53 CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -DUSE_INET6
  54 CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN
  55 LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
  56 
  57 INC_PATH += -I$(UTSBASE)/common/inet/ipf
  58 
  59 #
  60 # For now, disable these lint checks; maintainers should endeavor
  61 # to investigate and remove these for maximum lint coverage.
  62 # Please do not carry these forward to new Makefiles.
  63 #
  64 LINTTAGS        += -erroff=E_STATIC_UNUSED
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += -_gcc=-Wno-unused-function
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-empty-body
  74 
  75 # needs work
  76 SMATCH=off
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92