mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/depend: get rid of target expanded as empty for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0c19240983
commit
874b367bdc
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Dec 18 14:05:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* enc/depend: get rid of target expanded as empty for nmake.
|
||||||
|
|
||||||
Tue Dec 18 07:56:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Dec 18 07:56:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* proc.c (rb_obj_public_method): Object#public_method to retrieve
|
* proc.c (rb_obj_public_method): Object#public_method to retrieve
|
||||||
|
|
10
enc/depend
10
enc/depend
|
@ -2,23 +2,23 @@
|
||||||
|
|
||||||
VPATH = <% %w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(top_srcdir) $(srcdir)].join(CONFIG["PATH_SEPARATOR"]) %>
|
VPATH = <% %w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(top_srcdir) $(srcdir)].join(CONFIG["PATH_SEPARATOR"]) %>
|
||||||
|
|
||||||
ENCOBJS = <%encs.map {|e|"#{e}.$(OBJEXT)"}.join(" \\\n\t ")+"\n"%>
|
ENCOBJS = <%encs.map {|e|"#{e}.$(OBJEXT)"}.join(" \\\n\t ")%><%"\n" if encs.size>1%>
|
||||||
|
ENCSOS = <%encs.map {|e|"$(ENCSODIR)/#{e}.$(DLEXT)"}.join(" \\\n\t ")%>
|
||||||
ENCSOS = <%encs.map {|e|"$(ENCSODIR)/#{e}.$(DLEXT)"}.join(" \\\n\t ")+"\n"%>
|
|
||||||
|
|
||||||
all: $(ENCSOS)
|
all: $(ENCSOS)
|
||||||
|
|
||||||
.c.$(OBJEXT):
|
.c.$(OBJEXT):
|
||||||
<%COMPILE_C%>
|
<%COMPILE_C%>
|
||||||
|
! unless encs.empty?
|
||||||
|
|
||||||
$(ENCOBJS): regenc.h oniguruma.h config.h defines.h
|
$(ENCOBJS): regenc.h oniguruma.h config.h defines.h
|
||||||
|
|
||||||
|
! end
|
||||||
! encs.each do |e|
|
! encs.each do |e|
|
||||||
|
|
||||||
$(ENCSODIR)/<%e%>.$(DLEXT): <%e%>.$(OBJEXT)
|
$(ENCSODIR)/<%e%>.$(DLEXT): <%e%>.$(OBJEXT)
|
||||||
<%LINK_SO.gsub(/\n/, "\n\t")%>
|
<%LINK_SO.gsub(/\n/, "\n\t")%>
|
||||||
! end
|
|
||||||
|
|
||||||
|
! end
|
||||||
! encs.each do |e|
|
! encs.each do |e|
|
||||||
<%e%>.$(OBJEXT): <%e%>.c
|
<%e%>.$(OBJEXT): <%e%>.c
|
||||||
! end
|
! end
|
||||||
|
|
Loading…
Reference in a new issue