Print this page
OS-1723 DTrace should speak JSON (review fixes)


  35 include $(UTSBASE)/sparc/Makefile.sparc
  36 
  37 #
  38 #       Redefine        DSF_DIR
  39 #
  40 DSF_DIR         = $(UTSBASE)/$(PLATFORM)/genassym
  41 
  42 CERRWARN        += -_gcc=-Wno-parentheses
  43 CERRWARN        += -_gcc=-Wno-type-limits
  44 CERRWARN        += -_gcc=-Wno-uninitialized
  45 
  46 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  47 LINT_TARGET     = $(MODULE).lint
  48 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  49 
  50 DTRACE_INC_32   = -I$(UTSBASE)/sparc/v7
  51 DTRACE_INC_64   = -I$(UTSBASE)/sparc/v9
  52 
  53 CFLAGS += $(CCVERBOSE)
  54 CPPFLAGS += $(DTRACE_INC_$(CLASS))

  55 
  56 DTRACE_XAS_32   = -xarch=v8plus
  57 DTRACE_XAS_64   = -xarch=v9
  58 
  59 AS_CPPFLAGS     += $(DTRACE_INC_64)
  60 ASFLAGS         += $(DTRACE_XAS_$(CLASS))
  61 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
  62 
  63 ASSYM_H         = $(DSF_DIR)/$(OBJS_DIR)/assym.h
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  73 LINTTAGS        += -erroff=E_STATIC_UNUSED
  74 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW




  35 include $(UTSBASE)/sparc/Makefile.sparc
  36 
  37 #
  38 #       Redefine        DSF_DIR
  39 #
  40 DSF_DIR         = $(UTSBASE)/$(PLATFORM)/genassym
  41 
  42 CERRWARN        += -_gcc=-Wno-parentheses
  43 CERRWARN        += -_gcc=-Wno-type-limits
  44 CERRWARN        += -_gcc=-Wno-uninitialized
  45 
  46 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  47 LINT_TARGET     = $(MODULE).lint
  48 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  49 
  50 DTRACE_INC_32   = -I$(UTSBASE)/sparc/v7
  51 DTRACE_INC_64   = -I$(UTSBASE)/sparc/v9
  52 
  53 CFLAGS += $(CCVERBOSE)
  54 CPPFLAGS += $(DTRACE_INC_$(CLASS))
  55 CPPFLAGS += -I$(SRC)/common/util
  56 
  57 DTRACE_XAS_32   = -xarch=v8plus
  58 DTRACE_XAS_64   = -xarch=v9
  59 
  60 AS_CPPFLAGS     += $(DTRACE_INC_64)
  61 ASFLAGS         += $(DTRACE_XAS_$(CLASS))
  62 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
  63 
  64 ASSYM_H         = $(DSF_DIR)/$(OBJS_DIR)/assym.h
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW