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


  28 #
  29 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  30 #
  31 UTSBASE = ../..
  32 
  33 #
  34 #       Define the module and object file sets.
  35 #
  36 MODULE          = usbsacm
  37 OBJECTS         = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
  38 LINTS           = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
  47 
  48 CERRWARN        += -_gcc=-Wno-uninitialized
  49 
  50 # needs work
  51 SMOFF += deref_check
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 .KEEP_STATE:
  61 
  62 all:            $(ALL_DEPS)
  63 
  64 def:            $(DEF_DEPS)
  65 
  66 clean:          $(CLEAN_DEPS)
  67 
  68 clobber:        $(CLOBBER_DEPS)


  28 #
  29 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  30 #
  31 UTSBASE = ../..
  32 
  33 #
  34 #       Define the module and object file sets.
  35 #
  36 MODULE          = usbsacm
  37 OBJECTS         = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
  38 LINTS           = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
  47 
  48 CERRWARN        += $(CNOWARN_UNINIT)
  49 
  50 # needs work
  51 SMOFF += deref_check
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 .KEEP_STATE:
  61 
  62 all:            $(ALL_DEPS)
  63 
  64 def:            $(DEF_DEPS)
  65 
  66 clean:          $(CLEAN_DEPS)
  67 
  68 clobber:        $(CLOBBER_DEPS)