Print this page
4477 DTrace should speak JSON
Reviewed by: Bryan Cantrill <bmc@joyent.com>


  32 CONF_SRCDIR     = $(UTSBASE)/common/dtrace
  33 
  34 include $(UTSBASE)/intel/Makefile.intel
  35 
  36 #
  37 # For now, disable these lint checks; maintainers should endeavor
  38 # to investigate and remove these for maximum lint coverage.
  39 # Please do not carry these forward to new Makefiles.
  40 #
  41 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  42 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  43 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  44 LINTTAGS        += -erroff=E_STATIC_UNUSED
  45 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  46 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  47 
  48 CERRWARN        += -_gcc=-Wno-parentheses
  49 CERRWARN        += -_gcc=-Wno-type-limits
  50 CERRWARN        += -_gcc=-Wno-uninitialized
  51 


  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
  56 
  57 ASSYM_H         = $(DSF_DIR)/$(OBJS_DIR)/assym.h
  58 
  59 .KEEP_STATE:
  60 
  61 def:            $(DEF_DEPS)
  62 
  63 all:            $(ALL_DEPS)
  64 
  65 clean:          $(CLEAN_DEPS)
  66 
  67 clobber:        $(CLOBBER_DEPS)
  68 
  69 lint:           $(LINT_DEPS)
  70 
  71 modlintlib:     $(MODLINTLIB_DEPS)


  32 CONF_SRCDIR     = $(UTSBASE)/common/dtrace
  33 
  34 include $(UTSBASE)/intel/Makefile.intel
  35 
  36 #
  37 # For now, disable these lint checks; maintainers should endeavor
  38 # to investigate and remove these for maximum lint coverage.
  39 # Please do not carry these forward to new Makefiles.
  40 #
  41 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  42 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  43 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  44 LINTTAGS        += -erroff=E_STATIC_UNUSED
  45 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  46 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  47 
  48 CERRWARN        += -_gcc=-Wno-parentheses
  49 CERRWARN        += -_gcc=-Wno-type-limits
  50 CERRWARN        += -_gcc=-Wno-uninitialized
  51 
  52 CPPFLAGS        += -I$(SRC)/common/util
  53 
  54 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
  58 
  59 ASSYM_H         = $(DSF_DIR)/$(OBJS_DIR)/assym.h
  60 
  61 .KEEP_STATE:
  62 
  63 def:            $(DEF_DEPS)
  64 
  65 all:            $(ALL_DEPS)
  66 
  67 clean:          $(CLEAN_DEPS)
  68 
  69 clobber:        $(CLOBBER_DEPS)
  70 
  71 lint:           $(LINT_DEPS)
  72 
  73 modlintlib:     $(MODLINTLIB_DEPS)