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


  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  62 
  63 CPPFLAGS        += -I. -D_KERNEL -DIWL=4965
  64 
  65 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
  66 
  67 CERRWARN        += -_gcc=-Wno-unused-label
  68 CERRWARN        += -_gcc=-Wno-uninitialized
  69 
  70 # needs work
  71 $(OBJS_DIR)/iwk2.o := SMOFF += precedence
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)


  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  62 
  63 CPPFLAGS        += -I. -D_KERNEL -DIWL=4965
  64 
  65 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
  66 
  67 CERRWARN        += -_gcc=-Wno-unused-label
  68 CERRWARN        += $(CNOWARN_UNINIT)
  69 
  70 # needs work
  71 $(OBJS_DIR)/iwk2.o := SMOFF += precedence
  72 
  73 #
  74 #       Default build targets.
  75 #
  76 .KEEP_STATE:
  77 
  78 def:            $(DEF_DEPS)
  79 
  80 all:            $(ALL_DEPS)
  81 
  82 clean:          $(CLEAN_DEPS)
  83 
  84 clobber:        $(CLOBBER_DEPS)
  85 
  86 lint:           $(LINT_DEPS)
  87 
  88 modlintlib:     $(MODLINTLIB_DEPS)