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


  51 
  52 #
  53 #       Override defaults to build a unique, local modstubs.o.
  54 #
  55 MODSTUBS_DIR    = $(OBJS_DIR)
  56 
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE) -DN2 -I$(COM_DIR)
  70 LINTFLAGS += -DN2 -I$(COM_DIR)
  71 CERRWARN += -_gcc=-Wno-uninitialized
  72 
  73 #
  74 # module dependencies
  75 #
  76 LDFLAGS += -dy -Nmisc/kcf
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)


  51 
  52 #
  53 #       Override defaults to build a unique, local modstubs.o.
  54 #
  55 MODSTUBS_DIR    = $(OBJS_DIR)
  56 
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # lint pass one enforcement
  68 #
  69 CFLAGS += $(CCVERBOSE) -DN2 -I$(COM_DIR)
  70 LINTFLAGS += -DN2 -I$(COM_DIR)
  71 CERRWARN += $(CNOWARN_UNINIT)
  72 
  73 #
  74 # module dependencies
  75 #
  76 LDFLAGS += -dy -Nmisc/kcf
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)