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


  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 CFLAGS          += $(CCVERBOSE)
  62 LDFLAGS         += -dy -Nmisc/mac -Nmac/mac_wifi -Ndrv/ip
  63 
  64 #
  65 # STREAMS API limitations force us to turn off these lint checks.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 
  69 CERRWARN        += -_gcc=-Wno-switch
  70 CERRWARN        += -_gcc=-Wno-uninitialized
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 
  73 # needs work
  74 SMATCH=off
  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 


  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Overrides
  60 #
  61 CFLAGS          += $(CCVERBOSE)
  62 LDFLAGS         += -dy -Nmisc/mac -Nmac/mac_wifi -Ndrv/ip
  63 
  64 #
  65 # STREAMS API limitations force us to turn off these lint checks.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 
  69 CERRWARN        += -_gcc=-Wno-switch
  70 CERRWARN        += $(CNOWARN_UNINIT)
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 
  73 # needs work
  74 SMATCH=off
  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