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


  47 #
  48 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  51 
  52 #
  53 # Overrides
  54 #
  55 CFLAGS                          += $(CCVERBOSE)
  56 LDFLAGS                         += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  65 
  66 CERRWARN        += -_gcc=-Wno-unused-label
  67 CERRWARN        += -_gcc=-Wno-uninitialized
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 
  85 lint:           $(LINT_DEPS)
  86 
  87 modlintlib:     $(MODLINTLIB_DEPS)


  47 #
  48 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  51 
  52 #
  53 # Overrides
  54 #
  55 CFLAGS                          += $(CCVERBOSE)
  56 LDFLAGS                         += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  65 
  66 CERRWARN        += -_gcc=-Wno-unused-label
  67 CERRWARN        += $(CNOWARN_UNINIT)
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 
  72 #
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 
  85 lint:           $(LINT_DEPS)
  86 
  87 modlintlib:     $(MODLINTLIB_DEPS)