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


  32 
  33 #
  34 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35 #
  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = poll
  42 OBJECTS         = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/intel/Makefile.intel
  51 
  52 CERRWARN        += -_gcc=-Wno-uninitialized
  53 
  54 #
  55 # It's unfortunate that we have to disable this; however, it's lint's fault. We
  56 # have a line which only causes a lint warning on a 64-bit build. If we suppress
  57 # it, then the 32-bit lint build complains about it being unnecessarily
  58 # suppressed. Therefore, the only thing it seems like we can do is disable the
  59 # lint warning completely.
  60 #
  61 
  62 LINTTAGS      += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 #
  65 #       Define targets
  66 #
  67 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  68 LINT_TARGET     = $(MODULE).lint
  69 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  70 
  71 #
  72 #       Default build targets.




  32 
  33 #
  34 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35 #
  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = poll
  42 OBJECTS         = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/intel/Makefile.intel
  51 
  52 CERRWARN        += $(CNOWARN_UNINIT)
  53 
  54 #
  55 # It's unfortunate that we have to disable this; however, it's lint's fault. We
  56 # have a line which only causes a lint warning on a 64-bit build. If we suppress
  57 # it, then the 32-bit lint build complains about it being unnecessarily
  58 # suppressed. Therefore, the only thing it seems like we can do is disable the
  59 # lint warning completely.
  60 #
  61 
  62 LINTTAGS      += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 #
  65 #       Define targets
  66 #
  67 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  68 LINT_TARGET     = $(MODULE).lint
  69 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  70 
  71 #
  72 #       Default build targets.