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


  35 #
  36 #       Define the module and object file sets.
  37 #
  38 MODULE          = usbsacm
  39 OBJECTS         = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
  40 LINTS           = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  41 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/sparc/Makefile.sparc
  47 
  48 #
  49 # lint pass one enforcement
  50 #
  51 CFLAGS += $(CCVERBOSE)
  52 
  53 LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
  54 
  55 CERRWARN        += -_gcc=-Wno-uninitialized
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 LINT_TARGET     = $(MODULE).lint
  62 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  63 
  64 .KEEP_STATE:
  65 
  66 all:            $(ALL_DEPS)
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 clean:          $(CLEAN_DEPS)
  71 
  72 clobber:        $(CLOBBER_DEPS)
  73 
  74 lint:           $(LINT_DEPS)
  75 


  35 #
  36 #       Define the module and object file sets.
  37 #
  38 MODULE          = usbsacm
  39 OBJECTS         = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
  40 LINTS           = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  41 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/sparc/Makefile.sparc
  47 
  48 #
  49 # lint pass one enforcement
  50 #
  51 CFLAGS += $(CCVERBOSE)
  52 
  53 LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
  54 
  55 CERRWARN        += $(CNOWARN_UNINIT)
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 LINT_TARGET     = $(MODULE).lint
  62 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  63 
  64 .KEEP_STATE:
  65 
  66 all:            $(ALL_DEPS)
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 clean:          $(CLEAN_DEPS)
  71 
  72 clobber:        $(CLOBBER_DEPS)
  73 
  74 lint:           $(LINT_DEPS)
  75