aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 05:34:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 05:34:25 +0000
commit7485e91f76b7149c421900934adb146913142f8c (patch)
tree9c2fab296d9f1d55fb58238cb48f743c5282f652 /common.mk
parent483225e52199341bb313913a3fdcb5abba4ceb24 (diff)
downloadruby-7485e91f76b7149c421900934adb146913142f8c.tar.gz
* common.mk, enc/depend (enc, trans): targets for sources.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 84b7460ed9..c4273f1945 100644
--- a/common.mk
+++ b/common.mk
@@ -384,8 +384,11 @@ $(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
-install_name=$(RUBY_INSTALL_NAME) \
-so_name=$(RUBY_SO_NAME) rbconfig.rb
-encs: $(ENC_MK) $(LIBRUBY) $(PREP) transdb.h
- $(MAKE) -f $(ENC_MK) MINIRUBY="$(MINIRUBY)" $(MFLAGS)
+encs enc trans: $(ENC_MK) $(LIBRUBY) $(PREP)
+ $(MAKE) -f $(ENC_MK) RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) $@
+
+enc: {$(VPATH)}encdb.h
+trans: {$(VPATH)}transdb.h
$(ENC_MK): $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/depend \
$(srcdir)/lib/mkmf.rb $(RBCONFIG)