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


  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = hidparser
  42 OBJECTS         = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  45 
  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 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)


  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = hidparser
  42 OBJECTS         = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  45 
  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 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)