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


  55 
  56 #
  57 #       Define targets
  58 #
  59 ALL_TARGET      = $(BINARY)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  62 
  63 #
  64 # Linkage dependencies
  65 #
  66 LDFLAGS += -dy -Nmisc/kcf
  67 
  68 #
  69 # lint pass one enforcement
  70 #
  71 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
  72 LINTFLAGS       += -I$(COM_DIR)
  73 
  74 CERRWARN        += -_gcc=-Wno-switch
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95 


  55 
  56 #
  57 #       Define targets
  58 #
  59 ALL_TARGET      = $(BINARY)
  60 LINT_TARGET     = $(MODULE).lint
  61 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  62 
  63 #
  64 # Linkage dependencies
  65 #
  66 LDFLAGS += -dy -Nmisc/kcf
  67 
  68 #
  69 # lint pass one enforcement
  70 #
  71 CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
  72 LINTFLAGS       += -I$(COM_DIR)
  73 
  74 CERRWARN        += -_gcc=-Wno-switch
  75 CERRWARN        += $(CNOWARN_UNINIT)
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95