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


  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # lint pass one enforcement and OS version
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
  62 INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  71 
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-unused-label
  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)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)


  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 # lint pass one enforcement and OS version
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
  62 INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  71 
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-unused-label
  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)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)