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


  64 #
  65 CPPFLAGS        += -DINTERNAL_BUILD -DSOL2
  66 
  67 #
  68 #       Overrides.
  69 #
  70 INC_PATH        += -I$(UTSBASE)/common/io/ppp/common
  71 CFLAGS          += $(CCVERBOSE)
  72 
  73 CLEANLINTFILES  += $(LINT64_FILES)
  74 
  75 #
  76 # For now, disable these lint checks; maintainers should endeavor
  77 # to investigate and remove these for maximum lint coverage.
  78 # Please do not carry these forward to new Makefiles.
  79 #
  80 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  81 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83 
  84 CERRWARN        += -_gcc=-Wno-uninitialized
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS) lint64
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)
 104 


  64 #
  65 CPPFLAGS        += -DINTERNAL_BUILD -DSOL2
  66 
  67 #
  68 #       Overrides.
  69 #
  70 INC_PATH        += -I$(UTSBASE)/common/io/ppp/common
  71 CFLAGS          += $(CCVERBOSE)
  72 
  73 CLEANLINTFILES  += $(LINT64_FILES)
  74 
  75 #
  76 # For now, disable these lint checks; maintainers should endeavor
  77 # to investigate and remove these for maximum lint coverage.
  78 # Please do not carry these forward to new Makefiles.
  79 #
  80 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  81 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83 
  84 CERRWARN        += $(CNOWARN_UNINIT)
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS) lint64
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)
 104