Print this page
OS-5549 move bpf filter functions into ip module
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>


  40 
  41 #
  42 # Include common rules.
  43 #
  44 include $(UTSBASE)/sparc/Makefile.sparc
  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 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  58 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  59 LDFLAGS                         += -dy -N misc/dls -N misc/mac
  60 INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  61 
  62 #
  63 # For now, disable these lint checks; maintainers should endeavor
  64 # to investigate and remove these for maximum lint coverage.
  65 # Please do not carry these forward to new Makefiles.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-type-limits
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 




  40 
  41 #
  42 # Include common rules.
  43 #
  44 include $(UTSBASE)/sparc/Makefile.sparc
  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 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  58 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  59 LDFLAGS                         += -dy -N misc/dls -N misc/mac

  60 
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  68 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70 
  71 CERRWARN        += -_gcc=-Wno-uninitialized
  72 CERRWARN        += -_gcc=-Wno-type-limits
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79