Print this page
6640 dca gets the instance number a lot, never actually uses it


  55 #
  56 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
  61 
  62 # C99 mode is needed for dca
  63 CFLAGS += $(C99_ENABLE) 
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-variable
  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 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
  61 
  62 # C99 mode is needed for dca
  63 CFLAGS += $(C99_ENABLE) 
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses

  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 
  93 clean.lint:     $(CLEAN_LINT_DEPS)
  94