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


  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/sparc/Makefile.sparc
  50 
  51 LDFLAGS         += -dy -Nmisc/kbtrans
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) # $(SRC_CONFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 
  67 CERRWARN        += -_gcc=-Wno-uninitialized
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)
  87 


  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/sparc/Makefile.sparc
  50 
  51 LDFLAGS         += -dy -Nmisc/kbtrans
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) # $(SRC_CONFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 
  67 CERRWARN        += $(CNOWARN_UNINIT)
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)
  87