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

ruby-changes:45746

From: nobu <ko1@a...>
Date: Thu, 9 Mar 2017 12:32:10 +0900 (JST)
Subject: [ruby-changes:45746] nobu:r57819 (trunk): rbconfig/sizeof: nmake VPATH

nobu	2017-03-09 12:31:53 +0900 (Thu, 09 Mar 2017)

  New Revision: 57819

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

  Log:
    rbconfig/sizeof: nmake VPATH
    
    * ext/rbconfig/sizeof/depend: prepend VPATH for out-of-place build
      using nmake.

  Modified files:
    trunk/ext/rbconfig/sizeof/depend
Index: ext/rbconfig/sizeof/depend
===================================================================
--- ext/rbconfig/sizeof/depend	(revision 57818)
+++ ext/rbconfig/sizeof/depend	(revision 57819)
@@ -1,15 +1,17 @@ https://github.com/ruby/ruby/blob/trunk/ext/rbconfig/sizeof/depend#L1
-limits.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/limits.c.tmpl
+# sources
+
+{$(VPATH)}limits.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/limits.c.tmpl
 	$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
 		$(top_srcdir)/template/limits.c.tmpl \
 
-sizes.c: $(top_srcdir)/tool/generic_erb.rb \
+{$(VPATH)}sizes.c: $(top_srcdir)/tool/generic_erb.rb \
 		   $(top_srcdir)/template/sizes.c.tmpl \
 		   $(top_srcdir)/configure.in \
 		   $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
 	$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
 		$(top_srcdir)/template/sizes.c.tmpl \
-                $(top_srcdir)/configure.in \
-                $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
+		$(top_srcdir)/configure.in \
+		$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
 
 # AUTOGENERATED DEPENDENCIES START
 sizes.o: $(RUBY_EXTCONF_H)

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

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