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


  59 #
  60 CFLAGS          += $(CCVERBOSE)
  61 
  62 #
  63 # Turn on doubleword alignment for 64 bit registers
  64 #
  65 CFLAGS          += -dalign
  66 
  67 #
  68 # Driver depends on MAC & IP
  69 #
  70 LDFLAGS         += -dy -N misc/mac -N drv/ip
  71 
  72 #
  73 # For now, disable these lint checks; maintainers should endeavor
  74 # to investigate and remove these for maximum lint coverage.
  75 # Please do not carry these forward to new Makefiles.
  76 #
  77 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78 
  79 CERRWARN        += -_gcc=-Wno-uninitialized
  80 CERRWARN        += -_gcc=-Wno-switch
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += -_gcc=-Wno-unused-variable
  83 CERRWARN        += -_gcc=-Wno-unused-function
  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 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99 


  59 #
  60 CFLAGS          += $(CCVERBOSE)
  61 
  62 #
  63 # Turn on doubleword alignment for 64 bit registers
  64 #
  65 CFLAGS          += -dalign
  66 
  67 #
  68 # Driver depends on MAC & IP
  69 #
  70 LDFLAGS         += -dy -N misc/mac -N drv/ip
  71 
  72 #
  73 # For now, disable these lint checks; maintainers should endeavor
  74 # to investigate and remove these for maximum lint coverage.
  75 # Please do not carry these forward to new Makefiles.
  76 #
  77 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78 
  79 CERRWARN        += $(CNOWARN_UNINIT)
  80 CERRWARN        += -_gcc=-Wno-switch
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += -_gcc=-Wno-unused-variable
  83 CERRWARN        += -_gcc=-Wno-unused-function
  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 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99