43 
  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/sparc/Makefile.sparc
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides.
  58 #
  59 CFLAGS                          += $(CCVERBOSE)
  60 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  61 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  62 LDFLAGS                         += -dy
  63 INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  64 
  65 LINTTAGS                        += -erroff=E_PTRDIFF_OVERFLOW
  66 LINTTAGS                        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 
  68 CERRWARN                        += -_gcc=-Wno-unused-label
  69 CERRWARN                        += -_gcc=-Wno-uninitialized
  70 CERRWARN                        += -_gcc=-Wno-parentheses
  71 CERRWARN                        += -_gcc=-Wno-type-limits
  72 CERRWARN                        += -_gcc=-Wno-switch
  73 CERRWARN                        += -_gcc=-Wno-unused-variable
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  | 
 
 
  43 
  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/sparc/Makefile.sparc
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides.
  58 #
  59 CFLAGS                          += $(CCVERBOSE)
  60 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  61 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  62 LDFLAGS                         += -dy
  63 
  64 LINTTAGS                        += -erroff=E_PTRDIFF_OVERFLOW
  65 LINTTAGS                        += -erroff=E_BAD_PTR_CAST_ALIGN
  66 
  67 CERRWARN                        += -_gcc=-Wno-unused-label
  68 CERRWARN                        += -_gcc=-Wno-uninitialized
  69 CERRWARN                        += -_gcc=-Wno-parentheses
  70 CERRWARN                        += -_gcc=-Wno-type-limits
  71 CERRWARN                        += -_gcc=-Wno-switch
  72 CERRWARN                        += -_gcc=-Wno-unused-variable
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  |