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


  39 
  40 #
  41 #       Include common rules.
  42 #
  43 include $(UTSBASE)/sun4u/Makefile.sun4u
  44 
  45 # 
  46 # lint pass one enforcement 
  47 # 
  48 CFLAGS += $(CCVERBOSE)
  49 
  50 LDFLAGS += -dy -N misc/i2c_svc
  51 
  52 #
  53 # For now, disable these lint checks; maintainers should endeavor
  54 # to investigate and remove these for maximum lint coverage.
  55 # Please do not carry these forward to new Makefiles.
  56 #
  57 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  58 
  59 CERRWARN        += -_gcc=-Wno-uninitialized
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(BINARY)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 .KEEP_STATE:
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 clean:          $(CLEAN_DEPS)
  75 
  76 clobber:        $(CLOBBER_DEPS)
  77 
  78 lint:           $(LINT_DEPS)
  79 


  39 
  40 #
  41 #       Include common rules.
  42 #
  43 include $(UTSBASE)/sun4u/Makefile.sun4u
  44 
  45 # 
  46 # lint pass one enforcement 
  47 # 
  48 CFLAGS += $(CCVERBOSE)
  49 
  50 LDFLAGS += -dy -N misc/i2c_svc
  51 
  52 #
  53 # For now, disable these lint checks; maintainers should endeavor
  54 # to investigate and remove these for maximum lint coverage.
  55 # Please do not carry these forward to new Makefiles.
  56 #
  57 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  58 
  59 CERRWARN        += $(CNOWARN_UNINIT)
  60 
  61 #
  62 #       Define targets
  63 #
  64 ALL_TARGET      = $(BINARY)
  65 LINT_TARGET     = $(MODULE).lint
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 .KEEP_STATE:
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 clean:          $(CLEAN_DEPS)
  75 
  76 clobber:        $(CLOBBER_DEPS)
  77 
  78 lint:           $(LINT_DEPS)
  79