mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/Makefile.in (RM): added.
* enc/depend (encs): sort in alpha-numeric order. * enc/depend (clean, distclean): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
77629d2cbe
commit
359115948a
3 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
Thu Dec 20 02:23:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/Makefile.in (RM): added.
|
||||
|
||||
* enc/depend (encs): sort in alpha-numeric order.
|
||||
|
||||
* enc/depend (clean, distclean): added.
|
||||
|
||||
Thu Dec 20 01:10:52 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* compile.c (iseq_compile_each): should handle upper level eval iseq
|
||||
|
|
|
@ -24,3 +24,5 @@ XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
|
|||
LIBS = @LIBS@ $(EXTLIBS)
|
||||
LDSHARED = @LDSHARED@
|
||||
DLDFLAGS = @DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
|
||||
|
||||
RM = @RM@
|
||||
|
|
11
enc/depend
11
enc/depend
|
@ -1,4 +1,6 @@
|
|||
! encs = (Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS).each {|e| e.chomp!(".c")}
|
||||
! encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS
|
||||
! encs.each {|e| e.chomp!(".c")}
|
||||
! encs = encs.sort_by {|e| e.split(/(\d+)/).map {|n| Integer(n) rescue n}}
|
||||
|
||||
VPATH = <% %w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(top_srcdir) $(srcdir)].join(CONFIG["PATH_SEPARATOR"]) %>
|
||||
|
||||
|
@ -22,3 +24,10 @@ $(ENCSODIR)/<%e%>.$(DLEXT): <%e%>.$(OBJEXT)
|
|||
! encs.each do |e|
|
||||
<%e%>.$(OBJEXT): <%e%>.c
|
||||
! end
|
||||
|
||||
clean:
|
||||
$(RM) $(ENCSOS)
|
||||
$(RM) $(ENCOBJS)
|
||||
|
||||
distclean: clean
|
||||
$(RM) enc.mk
|
||||
|
|
Loading…
Reference in a new issue