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


  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 # Define dependencies on rpcmod and tlimod
  57 #
  58 LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 CERRWARN        += -_gcc=-Wno-uninitialized
  71 
  72 # needs work
  73 $(OBJS_DIR)/auth_des.o := SMOFF += deref_check
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)


  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 # Define dependencies on rpcmod and tlimod
  57 #
  58 LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68 
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 CERRWARN        += $(CNOWARN_UNINIT)
  71 
  72 # needs work
  73 $(OBJS_DIR)/auth_des.o := SMOFF += deref_check
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)