* lib/mkmf.rb (configuration): generalized nmake dependent code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5cbb885ce1
commit
c6b5ca0e21
@ -1,3 +1,7 @@
|
||||
Wed Sep 21 23:30:44 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (configuration): generalized nmake dependent code.
|
||||
|
||||
Wed Sep 21 14:16:30 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/ripper/depend (SUFFIXES): no longer needed.
|
||||
|
@ -922,6 +922,12 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
|
||||
next unless /^(?:src|top|hdr|(.*))dir$/ =~ key and $1
|
||||
mk << "#{key} = #{with_destdir(var.sub(drive, ''))}\n"
|
||||
end
|
||||
if !$extmk and !$configure_args.has_key?('--ruby') and
|
||||
sep = config_string('BUILD_FILE_SEPARATOR')
|
||||
sep = ":/=#{sep}"
|
||||
else
|
||||
sep = ""
|
||||
end
|
||||
mk << %{
|
||||
CC = #{CONFIG['CC']}
|
||||
CXX = #{CONFIG['CXX']}
|
||||
@ -945,7 +951,7 @@ arch = #{CONFIG['arch']}
|
||||
sitearch = #{CONFIG['sitearch']}
|
||||
ruby_version = #{Config::CONFIG['ruby_version']}
|
||||
ruby = #{$ruby}
|
||||
RUBY = #{($nmake && !$extmk && !$configure_args.has_key?('--ruby')) ? '$(ruby:/=\)' : '$(ruby)'}
|
||||
RUBY = $(ruby#{sep})
|
||||
RM = #{config_string('RM') || '$(RUBY) -run -e rm -- -f'}
|
||||
MAKEDIRS = #{config_string('MAKEDIRS') || '@$(RUBY) -run -e mkdir -- -p'}
|
||||
INSTALL = #{config_string('INSTALL') || '@$(RUBY) -run -e install -- -vp'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user