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


  73 #
  74 # lint pass one enforcement
  75 #
  76 CFLAGS += -DSOLARIS
  77 #
  78 # Debug flags
  79 #
  80 # CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
  81 #
  82 LINTFLAGS += -DSOLARIS
  83 #
  84 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  85 # force us to turn off these lint checks.
  86 #
  87 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  88 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  89 LINTTAGS        += -erroff=E_FALSE_LOGICAL_EXPR
  90 
  91 CERRWARN        += -_gcc=-Wno-unused-label
  92 CERRWARN        += -_gcc=-Wno-switch
  93 CERRWARN        += -_gcc=-Wno-uninitialized
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 
  96 #
  97 #       Driver depends on mac & IP
  98 #
  99 LDFLAGS         += -dy -N misc/mac -N drv/ip
 100 
 101 #
 102 #       Default build targets.
 103 #
 104 .KEEP_STATE:
 105 
 106 def:            $(DEF_DEPS)
 107 
 108 all:            $(ALL_DEPS)
 109 
 110 clean:          $(CLEAN_DEPS)
 111 
 112 clobber:        $(CLOBBER_DEPS)
 113 


  73 #
  74 # lint pass one enforcement
  75 #
  76 CFLAGS += -DSOLARIS
  77 #
  78 # Debug flags
  79 #
  80 # CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
  81 #
  82 LINTFLAGS += -DSOLARIS
  83 #
  84 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  85 # force us to turn off these lint checks.
  86 #
  87 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  88 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  89 LINTTAGS        += -erroff=E_FALSE_LOGICAL_EXPR
  90 
  91 CERRWARN        += -_gcc=-Wno-unused-label
  92 CERRWARN        += -_gcc=-Wno-switch
  93 CERRWARN        += $(CNOWARN_UNINIT)
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 
  96 #
  97 #       Driver depends on mac & IP
  98 #
  99 LDFLAGS         += -dy -N misc/mac -N drv/ip
 100 
 101 #
 102 #       Default build targets.
 103 #
 104 .KEEP_STATE:
 105 
 106 def:            $(DEF_DEPS)
 107 
 108 all:            $(ALL_DEPS)
 109 
 110 clean:          $(CLEAN_DEPS)
 111 
 112 clobber:        $(CLOBBER_DEPS)
 113