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


  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 CFLAGS += -D_KERNEL -Di386   -DNEWSTAT -DNOMUT -DRCVWORKAROUND \
  48           -DINTEL_IP \
  49           -DPAXSON  -DBAY_CITY \
  50           -DTANAX_WORKAROUND -I$(UTSBASE)/common/io/e1000g \
  51           -I$(UTSBASE)/common/io/e1000api
  52 
  53 LINTFLAGS += \
  54         -I$(UTSBASE)/common/io/e1000g \
  55         -I$(UTSBASE)/common/io/e1000api
  56 
  57 CFLAGS_CPP_COMMENTS = -xCC
  58 
  59 CFLAGS += $(CFLAGS_CPP_COMMENTS)
  60 
  61 CERRWARN        += -_gcc=-Wno-uninitialized
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += -_gcc=-Wno-unused-variable
  66 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  67 
  68 SMOFF += all_func_returns,indenting,shift_to_zero
  69 
  70 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  71 
  72 #
  73 #       Define targets
  74 #
  75 ALL_TARGET      = $(BINARY) $(CONFMOD)
  76 LINT_TARGET     = $(MODULE).lint
  77 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  78 
  79 #
  80 # Driver depends on MAC
  81 #




  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 CFLAGS += -D_KERNEL -Di386   -DNEWSTAT -DNOMUT -DRCVWORKAROUND \
  48           -DINTEL_IP \
  49           -DPAXSON  -DBAY_CITY \
  50           -DTANAX_WORKAROUND -I$(UTSBASE)/common/io/e1000g \
  51           -I$(UTSBASE)/common/io/e1000api
  52 
  53 LINTFLAGS += \
  54         -I$(UTSBASE)/common/io/e1000g \
  55         -I$(UTSBASE)/common/io/e1000api
  56 
  57 CFLAGS_CPP_COMMENTS = -xCC
  58 
  59 CFLAGS += $(CFLAGS_CPP_COMMENTS)
  60 
  61 CERRWARN        += $(CNOWARN_UNINIT)
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += -_gcc=-Wno-unused-label
  65 CERRWARN        += -_gcc=-Wno-unused-variable
  66 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  67 
  68 SMOFF += all_func_returns,indenting,shift_to_zero
  69 
  70 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  71 
  72 #
  73 #       Define targets
  74 #
  75 ALL_TARGET      = $(BINARY) $(CONFMOD)
  76 LINT_TARGET     = $(MODULE).lint
  77 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  78 
  79 #
  80 # Driver depends on MAC
  81 #