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


  43 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/intel/Makefile.intel
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Overrides
  59 #
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += -_gcc=-Wno-uninitialized
  64 
  65 CPPFLAGS        += -I. -D_KERNEL
  66 
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip 
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 


  43 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/intel/Makefile.intel
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Overrides
  59 #
  60 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61 
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += $(CNOWARN_UNINIT)
  64 
  65 CPPFLAGS        += -I. -D_KERNEL
  66 
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip 
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83