36 LINTS           = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  37 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  38 
  39 #
  40 # Include common rules.
  41 #
  42 include $(UTSBASE)/intel/Makefile.intel
  43 
  44 #
  45 # Define targets
  46 #
  47 ALL_TARGET      = $(BINARY)
  48 LINT_TARGET     = $(MODULE).lint
  49 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  50 
  51 #
  52 # Overrides.
  53 #
  54 CFLAGS          += $(CCVERBOSE)
  55 LDFLAGS         += -dy -N misc/mac
  56 INC_PATH        += -I$(UTSBASE)/common/io/bpf
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_STATIC_UNUSED
  65 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  66 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  67 
  68 CERRWARN        += -_gcc=-Wno-uninitialized
  69 
  70 #
  71 # Default build targets.
  72 #
  73 .KEEP_STATE:
  74 
  75 def:            $(DEF_DEPS)
  76 
  | 
 
 
  36 LINTS           = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  37 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  38 
  39 #
  40 # Include common rules.
  41 #
  42 include $(UTSBASE)/intel/Makefile.intel
  43 
  44 #
  45 # Define targets
  46 #
  47 ALL_TARGET      = $(BINARY)
  48 LINT_TARGET     = $(MODULE).lint
  49 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  50 
  51 #
  52 # Overrides.
  53 #
  54 CFLAGS          += $(CCVERBOSE)
  55 LDFLAGS         += -dy -N misc/mac
  56 
  57 #
  58 # For now, disable these lint checks; maintainers should endeavor
  59 # to investigate and remove these for maximum lint coverage.
  60 # Please do not carry these forward to new Makefiles.
  61 #
  62 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  63 LINTTAGS        += -erroff=E_STATIC_UNUSED
  64 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  65 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66 
  67 CERRWARN        += -_gcc=-Wno-uninitialized
  68 
  69 #
  70 # Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  |