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


  56 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61 
  62 #
  63 #
  64 CFLAGS          += $(CCVERBOSE)
  65 LDFLAGS         += -dy -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti
  66 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 # needs work
  79 $(OBJS_DIR)/bpf.o := SMOFF += all_func_returns
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)


  56 #       Define targets
  57 #
  58 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  59 LINT_TARGET     = $(MODULE).lint
  60 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61 
  62 #
  63 #
  64 CFLAGS          += $(CCVERBOSE)
  65 LDFLAGS         += -dy -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti
  66 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += -_gcc=-Wno-unused-label
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 # needs work
  79 $(OBJS_DIR)/bpf.o := SMOFF += all_func_returns
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)