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