SHELL = /bin/sh
HaveDtrace = @HaveDtrace@
+# There are problems with dtrace on 64bit 10.5. For now at least, we
+# just turn dtrace off unless you override USE_DTRACE
+USE_DTRACE = NO
DTRACE = @DtraceCmd@
LD = @LdCmd@
rts_H_FILES = $(wildcard includes/*.h) $(wildcard rts/*.h)
-ifeq "$(HaveDtrace)" "YES"
+ifeq "$(USE_DTRACE)" "YES"
DTRACEPROBES_H = rts/dist/build/RtsProbes.h
rts_H_FILES += $(DTRACEPROBES_H)
endif
# TICKY_TICKY can't be used together, so we omit TICKY_TICKY for now.
rts_dist_MKDEPENDC_OPTS += -DPROFILING -DTHREADED_RTS -DDEBUG
-ifeq "$(HaveDtrace)" "YES"
+ifeq "$(USE_DTRACE)" "YES"
rts_dist_MKDEPENDC_OPTS += -Irts/dist/build
# -----------------------------------------------------------------------------
# compile dtrace probes if dtrace is supported
-ifeq "$(HaveDtrace)" "YES"
+ifeq "$(USE_DTRACE)" "YES"
rts_CC_OPTS += -DDTRACE
rts_HC_OPTS += -DDTRACE