aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index de8b1328e6..14131ce963 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -321,6 +321,16 @@ enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd
@$(ECHO) preprocessing $<
$(Q) $(CPP) $(warnflags) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@
+.d.h:
+ @$(ECHO) translating probes $<
+ $(Q)if test -n '$(DTRACE)'; then\
+ $(DTRACE) -o $@.tmp -h -s $<; \
+ sed -e 's/RUBY_/RUBY_DTRACE_/g' $@.tmp | sed -e 's/PROBES_H_TMP/PROBES_H/g' >$@; \
+ $(RM) $@.tmp; \
+ else \
+ $(BASERUBY) $(srcdir)/tool/gen_dummy_probes.rb $< > $@; \
+ fi
+
clean-local::
$(Q)$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output \
enc/encinit.c enc/encinit.$(OBJEXT)