diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 15:22:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 15:22:37 +0000 |
commit | eb40d20e30a7eaf23da16e32c63101ec05d346f6 (patch) | |
tree | 2b81c8bfd52991f27c4067ae199919b74ab99fcf /common.mk | |
parent | e4479a1c1bad695070fd435f958dfc98c4e63f0d (diff) | |
download | ruby-eb40d20e30a7eaf23da16e32c63101ec05d346f6.tar.gz |
probes.h: select by suffix rules
* Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h):
select generating with dtrace or copying dummy file by suffix rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2,7 +2,7 @@ bin: $(PROGRAM) $(WPROGRAM) lib: $(LIBRUBY) dll: $(LIBRUBY_SO) -.SUFFIXES: .inc .h .c .y .i .d +.SUFFIXES: .inc .h .c .y .i .$(DTRACE_EXT) # V=0 quiet, V=1 verbose. other values don't work. V = 0 @@ -460,7 +460,7 @@ distclean-platform: clean-platform realclean:: realclean-ext realclean-local realclean-enc realclean-golf realclean-extout realclean-local:: distclean-local - $(Q)$(RM) parse.c parse.h lex.c newline.c revision.h dmyprobes.h + $(Q)$(RM) parse.c parse.h lex.c newline.c revision.h probes.dmyh realclean-ext:: realclean-golf: distclean-golf realclean-capi: PHONY @@ -887,9 +887,13 @@ golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(RBCONFIG) $(srcdir)/prelude. $(ECHO) generating $@ $(Q) $(COMPILE_PRELUDE) $(srcdir)/golf_prelude.rb $@ -$(srcdir)/dmyprobes.h: {$(srcdir)}probes.d +$(srcdir)/probes.dmyh: {$(srcdir)}probes.d $(BASERUBY) $(srcdir)/tool/gen_dummy_probes.rb $(srcdir)/probes.d > $@ +{$(srcdir)}.dmyh.h: + @$(ECHO) copying dummy $(DEST_FILE) + $(Q) $(CP) $(OS_SRC_FILE) $(OS_DEST_FILE) + prereq: incs srcs preludes PHONY preludes: {$(VPATH)}miniprelude.c |