mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
specific hack from common.mk to Makefile.in (and win32/Makefile.sub). [Bug #5711] * lib/mkmf.rb: we can generate Makefile as we like. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0c6103cf50
commit
3fbc62445e
5 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
Wed Dec 14 19:57:23 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
|
||||
specific hack from common.mk to Makefile.in (and win32/Makefile.sub).
|
||||
[Bug #5711]
|
||||
|
||||
* lib/mkmf.rb: we can generate Makefile as we like.
|
||||
|
||||
Wed Dec 14 19:22:33 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c, include/ruby/win32.h (rb_w32_fd_is_text): new function.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
SHELL = /bin/sh
|
||||
NULLCMD = @NULLCMD@
|
||||
n=$(NULLCMD)
|
||||
ECHO1 = $(V:1=@$n)
|
||||
RUNCMD = $(SHELL)
|
||||
CHDIR = @CHDIR@
|
||||
exec = exec
|
||||
|
|
|
@ -8,8 +8,6 @@ dll: $(LIBRUBY_SO)
|
|||
V = 0
|
||||
Q1 = $(V:1=)
|
||||
Q = $(Q1:0=@)
|
||||
n=$(NULLCMD)
|
||||
ECHO1 = $(V:1=@$n)
|
||||
ECHO = $(ECHO1:0=@echo)
|
||||
|
||||
RUBYLIB = -
|
||||
|
|
|
@ -1705,8 +1705,7 @@ SHELL = /bin/sh
|
|||
V = 0
|
||||
Q1 = $(V:1=)
|
||||
Q = $(Q1:0=@)
|
||||
n=$(NULLCMD)
|
||||
ECHO1 = $(V:1=@$n)
|
||||
ECHO1 = $(V:1=@#{CONFIG['NULLCMD']})
|
||||
ECHO = $(ECHO1:0=@echo)
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
@ -1742,7 +1741,6 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
|
|||
possible_command = (proc {|s| s if /top_srcdir/ !~ s} unless $extmk)
|
||||
extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ") << " "
|
||||
mk << %{
|
||||
NULLCMD = #{CONFIG['NULLCMD']}
|
||||
|
||||
CC = #{CONFIG['CC']}
|
||||
CXX = #{CONFIG['CXX']}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- makefile -*-
|
||||
|
||||
SHELL = $(COMSPEC)
|
||||
NULLCMD = :
|
||||
ECHO1 = $(V:1=@:)
|
||||
RUNCMD = $(COMSPEC) /c
|
||||
MKFILES = Makefile
|
||||
NULL = nul
|
||||
|
@ -733,6 +733,7 @@ s,@target_alias@,$(ARCH)-$(PLATFORM),;t t
|
|||
s,@target_cpu@,$(ARCH),;t t
|
||||
s,@target_vendor@,pc,;t t
|
||||
s,@target_os@,$(PLATFORM),;t t
|
||||
s,@NULLCMD@,:,;t t
|
||||
s,@CC@,$(CC),;t t
|
||||
s,@CPP@,$(CPP),;t t
|
||||
s,@CXX@,$$(CC),;t t
|
||||
|
|
Loading…
Reference in a new issue