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


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


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