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


  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/sparc/Makefile.sparc
  53 
  54 #
  55 # lint pass one enforcement
  56 #
  57 CFLAGS += $(CCVERBOSE)
  58 
  59 #
  60 # depends on misc/usba
  61 LDFLAGS         += -dy -Nmisc/usba
  62 
  63 #
  64 #       Define targets
  65 #
  66 ALL_TARGET      = $(BINARY)
  67 LINT_TARGET     = $(MODULE).lint
  68 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  69 
  70 CERRWARN        += -_gcc=-Wno-uninitialized
  71 
  72 #
  73 # Disable this because it is necessary for this driver
  74 # and it is surely safe
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 
  78 .KEEP_STATE:
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)


  50 #       Include common rules.
  51 #
  52 include $(UTSBASE)/sparc/Makefile.sparc
  53 
  54 #
  55 # lint pass one enforcement
  56 #
  57 CFLAGS += $(CCVERBOSE)
  58 
  59 #
  60 # depends on misc/usba
  61 LDFLAGS         += -dy -Nmisc/usba
  62 
  63 #
  64 #       Define targets
  65 #
  66 ALL_TARGET      = $(BINARY)
  67 LINT_TARGET     = $(MODULE).lint
  68 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  69 
  70 CERRWARN        += $(CNOWARN_UNINIT)
  71 
  72 #
  73 # Disable this because it is necessary for this driver
  74 # and it is surely safe
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 
  78 .KEEP_STATE:
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)