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


  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/intel/Makefile.intel
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Override defaults to build a unique, local modstubs.o.
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 CLEANFILES      += $(MODSTUBS_O)
  61 
  62 CERRWARN        += -_gcc=-Wno-switch
  63 CERRWARN        += -_gcc=-Wno-type-limits
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += -_gcc=-Wno-uninitialized
  66 
  67 # needs work
  68 $(OBJS_DIR)/usb_ac.o := SMOFF += deref_check,indenting,testing_index_after_use
  69 
  70 #
  71 # depends on misc/usba
  72 #
  73 LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 


  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/intel/Makefile.intel
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 #       Override defaults to build a unique, local modstubs.o.
  58 #
  59 MODSTUBS_DIR     = $(OBJS_DIR)
  60 CLEANFILES      += $(MODSTUBS_O)
  61 
  62 CERRWARN        += -_gcc=-Wno-switch
  63 CERRWARN        += -_gcc=-Wno-type-limits
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += $(CNOWARN_UNINIT)
  66 
  67 # needs work
  68 $(OBJS_DIR)/usb_ac.o := SMOFF += deref_check,indenting,testing_index_after_use
  69 
  70 #
  71 # depends on misc/usba
  72 #
  73 LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85