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


  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # Linkage dependencies
  59 #
  60 
  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
  65 
  66 LINTTAGS        += -I$(COM_DIR)
  67 
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)
  89 


  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # Linkage dependencies
  59 #
  60 
  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
  65 
  66 LINTTAGS        += -I$(COM_DIR)
  67 
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)
  89