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


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


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