зеркало из https://github.com/github/ruby.git
common.mk: source dependency for nmake
* common.mk (ext/rbconfig/sizeof/sizes.c): separate the dependency with VPATH and the command, get rid of weird VPATH behavior of nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
184c7e660d
Коммит
655b18e914
|
@ -886,8 +886,10 @@ $(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
|
||||||
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
|
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
|
||||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
|
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
|
||||||
|
|
||||||
$(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
{$(VPATH)}ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
||||||
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
|
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
|
||||||
|
|
||||||
|
ext/rbconfig/sizeof/sizes.c:
|
||||||
$(ECHO) generating $@
|
$(ECHO) generating $@
|
||||||
$(Q) $(CHDIR) $(@D) && \
|
$(Q) $(CHDIR) $(@D) && \
|
||||||
sed '/AUTOGENERATED/q;s#{.*}##' depend | \
|
sed '/AUTOGENERATED/q;s#{.*}##' depend | \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{$(VPATH)}sizes.c: $(top_srcdir)/tool/generic_erb.rb \
|
sizes.c: $(top_srcdir)/tool/generic_erb.rb \
|
||||||
$(top_srcdir)/template/sizes.c.tmpl \
|
$(top_srcdir)/template/sizes.c.tmpl \
|
||||||
$(top_srcdir)/configure.in \
|
$(top_srcdir)/configure.in \
|
||||||
$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
|
$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
|
||||||
|
|
Загрузка…
Ссылка в новой задаче