summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-07 02:06:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-07 02:06:24 +0000
commitcdcae92de95d553f164351503fbba5488da5c86b (patch)
tree25d2b5d2130296148d8697281c1e55fba074ff8e /common.mk
parentaa68fd85b9c760b0281b7be803ae4a5505ca7090 (diff)
common.mk: same fake.rb
* common.mk (fake.rb): generate from same template on all platforms including win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index b84de9c519..7949e61f47 100644
--- a/common.mk
+++ b/common.mk
@@ -549,6 +549,11 @@ fake: $(CROSS_COMPILING)-fake
yes-fake: $(arch)-fake.rb $(RBCONFIG) PHONY
no-fake: PHONY
+$(arch)-fake.rb: $(RBCONFIG) $(srcdir)/template/fake.rb.in $(srcdir)/tool/expand-config.rb rbconfig.rb
+ @$(BOOTSTRAPRUBY) $(srcdir)/tool/expand-config.rb \
+ -output=$@ -mode=$(INSTALL_PROG_MODE) -expand -config=rbconfig.rb \
+ srcdir="$(srcdir)" BASERUBY="$(BASERUBY)" $(srcdir)/template/fake.rb.in
+
btest: $(TEST_RUNNABLE)-btest
no-btest: PHONY
yes-btest: fake miniruby$(EXEEXT) PHONY