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


  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/i86xpv/Makefile.i86xpv
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 LDFLAGS         += -dy
  64 
  65 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 
  68 CERRWARN        += -_gcc=-Wno-uninitialized
  69 CERRWARN        += -_gcc=-Wno-unused-label
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-function
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)


  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/i86xpv/Makefile.i86xpv
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 LDFLAGS         += -dy
  64 
  65 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 
  68 CERRWARN        += $(CNOWARN_UNINIT)
  69 CERRWARN        += -_gcc=-Wno-unused-label
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-function
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)