summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-01 06:38:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-01 06:38:08 +0000
commit6b6ba319ea4a5afe445bad918a214b7d5691fd7c (patch)
treeae3b3600129de5eab9db97ffe922ede6dcc15400 /common.mk
parente580a631be59d4c7b8d415f4fba907746a72a0b5 (diff)
common.mk: ext/json/parser/parser.c
* common.mk (ext/json/parser/parser.c): sometimes need for local development. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 31601a5..313e57d 100644
--- a/common.mk
+++ b/common.mk
@@ -725,6 +725,8 @@ EXT_SRCS = $(srcdir)/ext/ripper/ripper.c \
srcs-ext: $(EXT_SRCS)
+srcs-extra: $(srcdir)/ext/json/parser/parser.c
+
LIB_SRCS = $(srcdir)/lib/unicode_normalize/tables.rb
srcs-lib: $(LIB_SRCS)
@@ -811,6 +813,11 @@ $(srcdir)/ext/ripper/ripper.c: parse.y id.h
top_srcdir=../.. srcdir=. \
RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
+$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
+ $(ECHO) generating $@
+ $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
+ Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
+
$(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
$(ECHO) generating $@