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


  54 #       Overrides
  55 #
  56 DEF_BUILDS      = $(DEF_BUILDS64)
  57 ALL_BUILDS      = $(ALL_BUILDS64)
  58 
  59 #
  60 # Module depends on mac.
  61 #
  62 LDFLAGS         += -dy -N misc/mac
  63 
  64 #
  65 # use Solaris specific code in xen public header files
  66 #
  67 CFLAGS          += -D_SOLARIS
  68 LINTFLAGS       += -D_SOLARIS
  69 
  70 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 
  76 # needs work
  77 SMOFF += signed
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)


  54 #       Overrides
  55 #
  56 DEF_BUILDS      = $(DEF_BUILDS64)
  57 ALL_BUILDS      = $(ALL_BUILDS64)
  58 
  59 #
  60 # Module depends on mac.
  61 #
  62 LDFLAGS         += -dy -N misc/mac
  63 
  64 #
  65 # use Solaris specific code in xen public header files
  66 #
  67 CFLAGS          += -D_SOLARIS
  68 LINTFLAGS       += -D_SOLARIS
  69 
  70 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  71 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 
  76 # needs work
  77 SMOFF += signed
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)