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


  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # Linkage dependencies
  58 #
  59 LDFLAGS += -dy -Nmisc/kcf
  60 
  61 CPPFLAGS        += -I$(COM1_DIR) -I$(COM2_DIR)
  62 
  63 CFLAGS          += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
  64 
  65 LINTFLAGS       += -I$(COM1_DIR) -I$(COM2_DIR)
  66 
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 CERRWARN        += -_gcc=-Wno-type-limits
  71 CERRWARN        += -_gcc=-Wno-empty-body
  72 CERRWARN        += -_gcc=-Wno-unused-variable
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 
  75 # false positive
  76 $(OBJS_DIR)/ecdecode.o := SMOFF += assign_vs_compare
  77 $(OBJS_DIR)/ec.o := SMOFF += assign_vs_compare
  78 
  79 SMOFF += indenting,all_func_returns
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 


  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # Linkage dependencies
  58 #
  59 LDFLAGS += -dy -Nmisc/kcf
  60 
  61 CPPFLAGS        += -I$(COM1_DIR) -I$(COM2_DIR)
  62 
  63 CFLAGS          += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
  64 
  65 LINTFLAGS       += -I$(COM1_DIR) -I$(COM2_DIR)
  66 
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 CERRWARN        += -_gcc=-Wno-type-limits
  71 CERRWARN        += -_gcc=-Wno-empty-body
  72 CERRWARN        += -_gcc=-Wno-unused-variable
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 
  75 # false positive
  76 $(OBJS_DIR)/ecdecode.o := SMOFF += assign_vs_compare
  77 $(OBJS_DIR)/ec.o := SMOFF += assign_vs_compare
  78 
  79 SMOFF += indenting,all_func_returns
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89