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


  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides.
  60 #
  61 MODSTUBS_DIR     = $(OBJS_DIR)
  62 # $(MODSTUBS_O) := AS_CPPFLAGS += -DDEVFS_MODULE
  63 # CLEANFILES    += $(MODSTUBS_O)
  64 CFLAGS          += $(CCVERBOSE)
  65 LDFLAGS         += -dy -Nfs/devfs -Nmisc/dls
  66 INC_PATH        += -I$(UTSBASE)/common/fs/zfs
  67 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  68 
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += -_gcc=-Wno-unused-label
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 
  93 clean.lint:     $(CLEAN_LINT_DEPS)
  94 


  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides.
  60 #
  61 MODSTUBS_DIR     = $(OBJS_DIR)
  62 # $(MODSTUBS_O) := AS_CPPFLAGS += -DDEVFS_MODULE
  63 # CLEANFILES    += $(MODSTUBS_O)
  64 CFLAGS          += $(CCVERBOSE)
  65 LDFLAGS         += -dy -Nfs/devfs -Nmisc/dls
  66 INC_PATH        += -I$(UTSBASE)/common/fs/zfs
  67 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  68 
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += -_gcc=-Wno-unused-label
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 
  93 clean.lint:     $(CLEAN_LINT_DEPS)
  94