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


  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
  54 
  55 #
  56 # Define dependencies on rpcmod, rpcsec, and tlimod
  57 #
  58 LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -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_ASSIGN_NARROW_CONV
  67 
  68 CERRWARN        += -_gcc=-Wno-unused-variable
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 
  71 # needs work
  72 $(OBJS_DIR)/gssd_clnt_stubs.o := SMOFF += indenting,deref_check
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86 
  87 lint:           $(LINT_DEPS)
  88 
  89 modlintlib:     $(MODLINTLIB_DEPS)


  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
  54 
  55 #
  56 # Define dependencies on rpcmod, rpcsec, and tlimod
  57 #
  58 LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -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_ASSIGN_NARROW_CONV
  67 
  68 CERRWARN        += -_gcc=-Wno-unused-variable
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 
  71 # needs work
  72 $(OBJS_DIR)/gssd_clnt_stubs.o := SMOFF += indenting,deref_check
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86 
  87 lint:           $(LINT_DEPS)
  88 
  89 modlintlib:     $(MODLINTLIB_DEPS)