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


  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 #       Overrides.
  56 #
  57 DEBUG_FLGS      =
  58 DEBUG_DEFS      += $(DEBUG_FLGS)
  59 LDFLAGS         += -dy -Nfs/sockfs -Nmisc/ksocket
  60 
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 CERRWARN        += -_gcc=-Wno-uninitialized
  64 
  65 # needs work
  66 SMATCH=off
  67 
  68 #       Include
  69 INC_PATH        += -I$(SRC)/common/hdcrc
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 


  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 #       Overrides.
  56 #
  57 DEBUG_FLGS      =
  58 DEBUG_DEFS      += $(DEBUG_FLGS)
  59 LDFLAGS         += -dy -Nfs/sockfs -Nmisc/ksocket
  60 
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 CERRWARN        += $(CNOWARN_UNINIT)
  64 
  65 # needs work
  66 SMATCH=off
  67 
  68 #       Include
  69 INC_PATH        += -I$(SRC)/common/hdcrc
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83