Print this page
8478 mac: suggest parentheses around '&&' within '||'
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Alexander Stetsenko <astetsenko@racktopsystems.com>


  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 #       Overrides.
  56 #
  57 CFLAGS          += $(CCVERBOSE)
  58 LDFLAGS         += -dy
  59 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  60 
  61 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  62 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += -_gcc=-Wno-uninitialized
  66 CERRWARN        += -_gcc=-Wno-parentheses
  67 CERRWARN        += -_gcc=-Wno-type-limits
  68 CERRWARN        += -_gcc=-Wno-switch
  69 CERRWARN        += -_gcc=-Wno-unused-variable
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 
  84 lint:           $(LINT_DEPS)
  85 
  86 modlintlib:     $(MODLINTLIB_DEPS)


  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 #
  55 #       Overrides.
  56 #
  57 CFLAGS          += $(CCVERBOSE)
  58 LDFLAGS         += -dy
  59 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  60 
  61 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  62 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  63 
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += -_gcc=-Wno-uninitialized

  66 CERRWARN        += -_gcc=-Wno-type-limits
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-unused-variable
  69 
  70 #
  71 #       Default build targets.
  72 #
  73 .KEEP_STATE:
  74 
  75 def:            $(DEF_DEPS)
  76 
  77 all:            $(ALL_DEPS)
  78 
  79 clean:          $(CLEAN_DEPS)
  80 
  81 clobber:        $(CLOBBER_DEPS)
  82 
  83 lint:           $(LINT_DEPS)
  84 
  85 modlintlib:     $(MODLINTLIB_DEPS)