[前][次][番号順一覧][スレッド一覧]

ruby-changes:36581

From: nobu <ko1@a...>
Date: Mon, 1 Dec 2014 15:38:22 +0900 (JST)
Subject: [ruby-changes:36581] nobu:r48663 (trunk): common.mk: ext/json/parser/parser.c

nobu	2014-12-01 15:38:08 +0900 (Mon, 01 Dec 2014)

  New Revision: 48663

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48663

  Log:
    common.mk: ext/json/parser/parser.c
    
    * common.mk (ext/json/parser/parser.c): sometimes need for local
      development.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 48662)
+++ common.mk	(revision 48663)
@@ -725,6 +725,8 @@ EXT_SRCS = $(srcdir)/ext/ripper/ripper.c https://github.com/ruby/ruby/blob/trunk/common.mk#L725
 
 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 i https://github.com/ruby/ruby/blob/trunk/common.mk#L813
 		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 $@

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]