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


  34 
  35 #
  36 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37 #
  38 UTSBASE = ../..
  39 
  40 #
  41 #       Define the module and object file sets.
  42 #
  43 MODULE          = hook
  44 OBJECTS         = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
  45 LINTS           = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
  46 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  47 
  48 
  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 CERRWARN        += -_gcc=-Wno-uninitialized
  55 
  56 # needs work
  57 $(OBJS_DIR)/hook.o := SMOFF += all_func_returns
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  65 
  66 
  67 #
  68 #       Default build targets.
  69 #
  70 .KEEP_STATE:
  71 
  72 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS) $(SISCHECK_DEPS)


  34 
  35 #
  36 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37 #
  38 UTSBASE = ../..
  39 
  40 #
  41 #       Define the module and object file sets.
  42 #
  43 MODULE          = hook
  44 OBJECTS         = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
  45 LINTS           = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
  46 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  47 
  48 
  49 #
  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/intel/Makefile.intel
  53 
  54 CERRWARN        += $(CNOWARN_UNINIT)
  55 
  56 # needs work
  57 $(OBJS_DIR)/hook.o := SMOFF += all_func_returns
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  65 
  66 
  67 #
  68 #       Default build targets.
  69 #
  70 .KEEP_STATE:
  71 
  72 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS) $(SISCHECK_DEPS)