summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-23 13:24:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-23 13:24:33 +0000
commit38938ccaad2656af71752cc5b7fc7d6eb782ca03 (patch)
tree0bb1beda228bd9b1b8683e71289e914c0fe89585 /common.mk
parent30fef86b381952b9669a9ed508f19bbead1d5441 (diff)
extlibs.rb: external libraries
* tool/extlibs.rb: download, extract, and patch external libraries. * ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 2c38a83..1b3c541 100644
--- a/common.mk
+++ b/common.mk
@@ -900,7 +900,7 @@ dist:
up::
-$(Q)$(MAKE) $(MFLAGS) REVISION_FORCE=PHONY "$(REVISION_H)"
-after-update:: update-unicode update-gems common-srcs
+after-update:: update-unicode update-gems common-srcs extract-extlibs
update-config_files: PHONY
$(Q) $(BASERUBY) -C "$(srcdir)/tool" \
@@ -958,6 +958,17 @@ $(srcdir)/$(HAVE_BASERUBY:yes=lib/unicode_normalize/tables.rb): \
$(srcdir)/template/unicode_norm_gen.tmpl \
enc/unicode/data/$(UNICODE_VERSION) lib/unicode_normalize
+download-extlibs:
+ $(Q) $(BASERUBY) -C $(srcdir) -w tool/extlibs.rb --download ext
+
+extract-extlibs:
+ $(Q) $(BASERUBY) -C $(srcdir) -w tool/extlibs.rb --all ext
+
+clean-extlibs:
+ $(Q) $(RMALL) $(srcdir)/.downloaded-cache
+
+CLEAN_CACHE = clean-extlibs
+
info: info-program info-libruby_a info-libruby_so info-arch
info-program: PHONY
@echo PROGRAM=$(PROGRAM)