|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo #### 1>~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo conf = ..\ruby-2.0.0-p0\win32\
|
|
configure.bat 1>>~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo $(conf): nul 1>>~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo @del ~setup~.mak 1>>~tmp
|
|
~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo @-$(MAKE) -l$(MAKEFLAGS)
|
|
-f $(@D)/setup.mak \ 1>>~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp del pathlist.
|
|
tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo #define CONFIGURE_ARGS \ 1>con
|
|
fargs.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--target" == "" goto :end
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--target" == "--prefix" goto :p
|
|
refix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--target" == "--srcdir" goto :s
|
|
rcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--target" == "srcdir" goto :src
|
|
dir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--target" == "--target" goto :t
|
|
arget
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo "i386-mswin32" \ 1>>~tmp
|
|
~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --target=i386-mswin32 \ 1>>con
|
|
fargs.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "i386-mswin32" == "x64-mswin64"
|
|
goto target2
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if NOT "i386-mswin32" == "ia64-mswi
|
|
n64" goto target3
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>goto :loop
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == ""
|
|
goto :end
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "-
|
|
-prefix" goto :prefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "-
|
|
-srcdir" goto :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "s
|
|
rcdir" goto :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "-
|
|
-target" goto :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "t
|
|
arget" goto :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--with-static-linked-ext" == "-
|
|
-with-static-linked-ext" goto :extstatic
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo "EXTSTATIC=static" \ 1>>
|
|
~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --with-static-linked-ext \ 1>>
|
|
confargs.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>goto :loop
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "" goto :en
|
|
d
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--prefix"
|
|
goto :prefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--srcdir"
|
|
goto :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "srcdir" go
|
|
to :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--target"
|
|
goto :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "target" go
|
|
to :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--with-sta
|
|
tic-linked-ext" goto :extstatic
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--program-
|
|
prefix" goto :pprefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--program-
|
|
suffix" goto :suffix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--program-
|
|
name" goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--install-
|
|
name" goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--so-name"
|
|
goto :soname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--enable-i
|
|
nstall-doc" goto :enable-rdoc
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--disable-
|
|
install-doc" goto :disable-rdoc
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--enable-d
|
|
ebug-env" goto :enable-debug-env
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--disable-
|
|
debug-env" goto :disable-debug-env
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--enable-r
|
|
ubygems" goto :enable-rubygems
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--disable-
|
|
rubygems" goto :disable-rubygems
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--extout"
|
|
goto :extout
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--path" go
|
|
to :path
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--with-bas
|
|
eruby" goto :baseruby
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--with-ntv
|
|
er" goto :ntver
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-with-.*-dir$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-with-.*-include$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-with-.*-lib$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-with-ext$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-with-extensions$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-without-ext$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 | findstr "^-
|
|
-without-extensions$" 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if not errorlevel 1 goto :witharg
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "-h" goto :
|
|
help
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-win95" == "--help" go
|
|
to :help
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-win95 \ 1>>confargs.
|
|
tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>goto :loop
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "" go
|
|
to :end
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--pr
|
|
efix" goto :prefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--sr
|
|
cdir" goto :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "srcd
|
|
ir" goto :srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--ta
|
|
rget" goto :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "targ
|
|
et" goto :target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--wi
|
|
th-static-linked-ext" goto :extstatic
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--pr
|
|
ogram-prefix" goto :pprefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--pr
|
|
ogram-suffix" goto :suffix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--pr
|
|
ogram-name" goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--in
|
|
stall-name" goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--so
|
|
-name" goto :soname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--en
|
|
able-install-doc" goto :enable-rdoc
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--disable-install-doc" == "--di
|
|
sable-install-doc" goto :disable-rdoc
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo "RDOCTARGET=nodoc" \ 1>>
|
|
~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --disable-install-doc \ 1>>con
|
|
fargs.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>goto :loop
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "" goto :end
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--prefix" goto :
|
|
prefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--srcdir" goto :
|
|
srcdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "srcdir" goto :sr
|
|
cdir
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--target" goto :
|
|
target
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "target" goto :ta
|
|
rget
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--with-static-li
|
|
nked-ext" goto :extstatic
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--program-prefix
|
|
" goto :pprefix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--program-suffix
|
|
" goto :suffix
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--program-name"
|
|
goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--install-name"
|
|
goto :installname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "--so-name" == "--so-name" goto
|
|
:soname
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo "RUBY_SO_NAME=ruby200" \
|
|
1>>~tmp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo --so-name=ruby200 \ 1>>confarg
|
|
s.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>shift
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>goto :loop
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if "" == "" goto :end
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo WIN32DIR=$(@D:\=/) 1>>~t
|
|
mp~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo.1>>confargs.tmp
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo #define $ $$ 1>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo !ifndef CONFIGURE_ARGS 1>>conf
|
|
args.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>type confargs.tmp 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo configure_args = CONFIGURE_ARG
|
|
S 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo !endif 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo #undef $ 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo #define
|
|
PATH_LIST \ 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp type pathlist
|
|
.tmp 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo.1>>confa
|
|
rgs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo pathlist
|
|
= PATH_LIST 1>>confargs.c
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>cl -EP confargs.c 1>~setup~.mak 2>
|
|
nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo PATH = $
|
|
(pathlist:;=/bin;)$(PATH) 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo INCLUDE
|
|
= $(pathlist:;=/include;) 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>if exist pathlist.tmp echo LIB = $(
|
|
pathlist:;=/lib;) 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>type ~tmp~.mak 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>del *.tmp 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>del ~tmp~.mak 1>nul
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo @if exist Makefile.old d
|
|
el Makefile.old 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo @if exist Makefile ren M
|
|
akefile Makefile.old 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>echo @ren Makefile.new Makefi
|
|
le 1>>~setup~.mak
|
|
|
|
C:\ruby\ruby-2.0.0\ruby-2.0.0-p0>nmake -alf ~setup~.mak MAKEFILE=Mak
|
|
efile.new
|
|
Creating Makefile.new
|
|
PROCESSOR_LEVEL =
|
|
"type `nmake' to make ruby."
|