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

* ext/dl/extconf.rb ($distcleanfiles): added callback-?.c into

the distclean list.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-10-03 15:49:39 +00:00
parent be93ac50db
commit 3ac20b9590
2 changed files with 11 additions and 7 deletions

View file

@ -1,3 +1,8 @@
Fri Oct 3 22:43:04 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* ext/dl/extconf.rb ($distcleanfiles): added callback-?.c into
the distclean list.
Fri Oct 3 19:33:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/json/lib/json/pure.rb (module JSON): remove Iconv dependency.

View file

@ -4,10 +4,14 @@ if( RbConfig::CONFIG['CC'] =~ /gcc/ )
$CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
end
CALLBACKS = (0..8).map{|i| "callback-#{i}"}
CALLBACK_SRCS = CALLBACKS.map{|basename| "#{basename}.c"}
CALLBACK_OBJS = CALLBACKS.map{|basename| "#{basename}.o"}
$INSTALLFILES = [
["dl.h", "$(HDRDIR)"],
]
$distcleanfiles << "callback.h"
$distcleanfiles += [ "callback.h", *CALLBACK_SRCS ]
check = true
@ -25,12 +29,7 @@ else
check = false
end
$objs = %w[
cfunc.o dl.o cptr.o handle.o
callback-0.o callback-1.o callback-2.o callback-3.o
callback-4.o callback-5.o callback-6.o callback-7.o
callback-8.o
]
$objs = %w[ cfunc.o dl.o cptr.o handle.o ] + CALLBACK_OBJS
if check
$defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]