зеркало из https://github.com/github/ruby.git
* 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:
Родитель
77629d2cbe
Коммит
359115948a
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче