1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/depend: fix dependency for nmake

* ext/depend (ENCOBJS, TRANSOBJS): use explicit path to ruby.h for
  nmake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-04-08 14:56:01 +00:00
parent 1d42889c4e
commit a436540271
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,7 @@
Mon Apr 8 23:09:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> Mon Apr 8 23:55:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/depend (ENCOBJS, TRANSOBJS): use explicit path to ruby.h for
nmake.
* ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has * ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has
$(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out $(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out

View file

@ -83,13 +83,13 @@ srcs: $(TRANSCSRCS)
% unless ENCS.empty? or TRANS.empty? % unless ENCS.empty? or TRANS.empty?
% unless ENCS.empty? % unless ENCS.empty?
$(ENCOBJS): ../ruby.h regenc.h oniguruma.h config.h defines.h ruby.h missing.h subst.h intern.h st.h encoding.h $(ENCOBJS): $(hdrdir)/ruby.h regenc.h oniguruma.h config.h defines.h ruby.h missing.h subst.h intern.h st.h encoding.h
% end % end
% ENC_DEPS.each do |e, deps| % ENC_DEPS.each do |e, deps|
enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%> enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%>
% end % end
% unless TRANS.empty? % unless TRANS.empty?
$(TRANSOBJS): ../ruby.h ruby.h intern.h config.h defines.h missing.h encoding.h oniguruma.h st.h transcode_data.h subst.h encoding.h $(TRANSOBJS): $(hdrdir)/ruby.h ruby.h intern.h config.h defines.h missing.h encoding.h oniguruma.h st.h transcode_data.h subst.h encoding.h
% end % end
% ATRANS.each do |e| % ATRANS.each do |e|
% src = "#{e}.trans" % src = "#{e}.trans"