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


  58 
  59 #
  60 #       Internal build definitions
  61 #
  62 CPPFLAGS        += -DINTERNAL_BUILD -DSOL2 -DMUX_FRAME
  63 
  64 # 
  65 #       Additional compiler definitions
  66 # 
  67 INC_PATH        += -I$(UTSBASE)/common/io/ppp/common
  68 CFLAGS          += $(CCVERBOSE)
  69 
  70 #
  71 # Define dependency on sppp
  72 #
  73 LDFLAGS += -dy -N drv/sppp
  74 
  75 CLEANLINTFILES  += $(LINT64_FILES)
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-uninitialized
  79 
  80 #
  81 # For now, disable these lint checks; maintainers should endeavor
  82 # to investigate and remove these for maximum lint coverage.
  83 # Please do not carry these forward to new Makefiles.
  84 #
  85 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  87 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)




  58 
  59 #
  60 #       Internal build definitions
  61 #
  62 CPPFLAGS        += -DINTERNAL_BUILD -DSOL2 -DMUX_FRAME
  63 
  64 # 
  65 #       Additional compiler definitions
  66 # 
  67 INC_PATH        += -I$(UTSBASE)/common/io/ppp/common
  68 CFLAGS          += $(CCVERBOSE)
  69 
  70 #
  71 # Define dependency on sppp
  72 #
  73 LDFLAGS += -dy -N drv/sppp
  74 
  75 CLEANLINTFILES  += $(LINT64_FILES)
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += $(CNOWARN_UNINIT)
  79 
  80 #
  81 # For now, disable these lint checks; maintainers should endeavor
  82 # to investigate and remove these for maximum lint coverage.
  83 # Please do not carry these forward to new Makefiles.
  84 #
  85 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  87 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)