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


  36 #
  37 UTSBASE = ../..
  38 
  39 #
  40 #       Define the module and object file sets.
  41 #
  42 MODULE          = ugen
  43 OBJECTS         = $(UGEN_OBJS:%=$(OBJS_DIR)/%)
  44 LINTS           = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sparc/Makefile.sparc
  51 
  52 #
  53 # lint pass one enforcement
  54 #
  55 CFLAGS += $(CCVERBOSE)
  56 CERRWARN        += -_gcc=-Wno-uninitialized
  57 
  58 #
  59 # depends on misc/usba
  60 #
  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 .KEEP_STATE:
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)


  36 #
  37 UTSBASE = ../..
  38 
  39 #
  40 #       Define the module and object file sets.
  41 #
  42 MODULE          = ugen
  43 OBJECTS         = $(UGEN_OBJS:%=$(OBJS_DIR)/%)
  44 LINTS           = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/sparc/Makefile.sparc
  51 
  52 #
  53 # lint pass one enforcement
  54 #
  55 CFLAGS += $(CCVERBOSE)
  56 CERRWARN        += $(CNOWARN_UNINIT)
  57 
  58 #
  59 # depends on misc/usba
  60 #
  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 .KEEP_STATE:
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)