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


  37 LINTS           = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  38 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  39 CONF_SRCDIR     = $(UTSBASE)/common/io
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/sparc/Makefile.sparc
  45 
  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  52 
  53 #
  54 # lint pass one enforcement
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 CERRWARN        += -_gcc=-Wno-uninitialized
  58 
  59 #
  60 # See uts/intel/poll/Makefile for why this is necessary.
  61 #
  62 LINTTAGS      += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 #
  65 #       Default build targets.
  66 #
  67 .KEEP_STATE:
  68 
  69 def:            $(DEF_DEPS)
  70 
  71 all:            $(ALL_DEPS)
  72 
  73 clean:          $(CLEAN_DEPS)
  74 
  75 clobber:        $(CLOBBER_DEPS)
  76 
  77 lint:           $(LINT_DEPS)


  37 LINTS           = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  38 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  39 CONF_SRCDIR     = $(UTSBASE)/common/io
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/sparc/Makefile.sparc
  45 
  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  52 
  53 #
  54 # lint pass one enforcement
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 CERRWARN        += $(CNOWARN_UNINIT)
  58 
  59 #
  60 # See uts/intel/poll/Makefile for why this is necessary.
  61 #
  62 LINTTAGS      += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 #
  65 #       Default build targets.
  66 #
  67 .KEEP_STATE:
  68 
  69 def:            $(DEF_DEPS)
  70 
  71 all:            $(ALL_DEPS)
  72 
  73 clean:          $(CLEAN_DEPS)
  74 
  75 clobber:        $(CLOBBER_DEPS)
  76 
  77 lint:           $(LINT_DEPS)