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


  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       header file directories
  60 #
  61 INC_PATH        += -I$(ROOT)/usr/include
  62 
  63 LDFLAGS         += -dy -Nmisc/fctl
  64 
  65 #
  66 #       Lint tags
  67 #
  68 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-uninitialized
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)
  89 
  90 clean.lint:     $(CLEAN_LINT_DEPS)
  91 


  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       header file directories
  60 #
  61 INC_PATH        += -I$(ROOT)/usr/include
  62 
  63 LDFLAGS         += -dy -Nmisc/fctl
  64 
  65 #
  66 #       Lint tags
  67 #
  68 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += $(CNOWARN_UNINIT)
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)
  89 
  90 clean.lint:     $(CLEAN_LINT_DEPS)
  91