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


  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Overrides, lint pass one enforcement
  50 #
  51 CFLAGS          += $(CCVERBOSE)
  52 DEBUG_FLGS      =
  53 $(NOT_RELEASE_BUILD)DEBUG_DEFS  += $(DEBUG_FLGS)
  54 
  55 #
  56 # For now, disable these lint checks; maintainers should endeavor
  57 # to investigate and remove these for maximum lint coverage.
  58 # Please do not carry these forward to new Makefiles.
  59 #
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-switch
  65 CERRWARN        += -_gcc=-Wno-uninitialized
  66 
  67 LDFLAGS         += -dy -Ndrv/audio
  68 
  69 #
  70 #       Define targets
  71 #
  72 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  73 LINT_TARGET     = $(MODULE).lint
  74 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)


  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Overrides, lint pass one enforcement
  50 #
  51 CFLAGS          += $(CCVERBOSE)
  52 DEBUG_FLGS      =
  53 $(NOT_RELEASE_BUILD)DEBUG_DEFS  += $(DEBUG_FLGS)
  54 
  55 #
  56 # For now, disable these lint checks; maintainers should endeavor
  57 # to investigate and remove these for maximum lint coverage.
  58 # Please do not carry these forward to new Makefiles.
  59 #
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-switch
  65 CERRWARN        += $(CNOWARN_UNINIT)
  66 
  67 LDFLAGS         += -dy -Ndrv/audio
  68 
  69 #
  70 #       Define targets
  71 #
  72 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  73 LINT_TARGET     = $(MODULE).lint
  74 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)