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


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




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