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


  32 
  33 #
  34 #       Define the module and object file sets.
  35 #
  36 MODULE          = lofi
  37 OBJECTS         = $(LOFI_OBJS:%=$(OBJS_DIR)/%)
  38 LINTS           = $(LOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  40 CONF_SRCDIR     = $(UTSBASE)/common/io
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 # 
  48 #       Overrides.
  49 #
  50 INC_PATH        += -I$(SRC)/common/lzma
  51 
  52 CERRWARN        += -_gcc=-Wno-uninitialized
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  60 
  61 LDFLAGS += -dy -Nmisc/cmlb
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)


  32 
  33 #
  34 #       Define the module and object file sets.
  35 #
  36 MODULE          = lofi
  37 OBJECTS         = $(LOFI_OBJS:%=$(OBJS_DIR)/%)
  38 LINTS           = $(LOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  40 CONF_SRCDIR     = $(UTSBASE)/common/io
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 # 
  48 #       Overrides.
  49 #
  50 INC_PATH        += -I$(SRC)/common/lzma
  51 
  52 CERRWARN        += $(CNOWARN_UNINIT)
  53 
  54 #
  55 #       Define targets
  56 #
  57 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  60 
  61 LDFLAGS += -dy -Nmisc/cmlb
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)