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

ruby-changes:26511

From: nobu <ko1@a...>
Date: Sun, 23 Dec 2012 01:53:25 +0900 (JST)
Subject: [ruby-changes:26511] nobu:r38562 (trunk): common.mk: srcs-ext

nobu	2012-12-23 01:53:12 +0900 (Sun, 23 Dec 2012)

  New Revision: 38562

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

  Log:
    common.mk: srcs-ext
    
    * common.mk (ext/dl/callback/callback.c): include in srcs-ext for
      snapshot.

  Modified files:
    trunk/common.mk

Index: common.mk
===================================================================
--- common.mk	(revision 38561)
+++ common.mk	(revision 38562)
@@ -843,7 +843,8 @@ INSNS2VMOPT = --srcdir="$(srcdir)" https://github.com/ruby/ruby/blob/trunk/common.mk#L843
 
 srcs: {$(VPATH)}parse.c {$(VPATH)}lex.c {$(VPATH)}newline.c {$(VPATH)}id.c srcs-ext srcs-enc
 
-EXT_SRCS = $(srcdir)/ext/ripper/ripper.c $(srcdir)/ext/json/parser/parser.c
+EXT_SRCS = $(srcdir)/ext/ripper/ripper.c $(srcdir)/ext/json/parser/parser.c \
+	   $(srcdir)/ext/dl/callback/callback.c
 
 srcs-ext: $(EXT_SRCS)
 
@@ -927,6 +928,11 @@ $(srcdir)/ext/json/parser/parser.c: $(sr https://github.com/ruby/ruby/blob/trunk/common.mk#L928
 	$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
 		Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=.
 
+$(srcdir)/ext/dl/callback/callback.c: $(srcdir)/ext/dl/callback/mkcallback.rb $(srcdir)/ext/dl/dl.h
+	$(ECHO) generating $@
+	$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
+		Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)"
+
 ##
 
 run: miniruby$(EXEEXT) PHONY

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

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