Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-07-30 17:58:19 +0000
committerAndrew Niefer2007-07-30 17:58:19 +0000
commitd360017933fc0b2985e37eafd455a4d8e15878d7 (patch)
tree4905a6cebfa0d73719bce497516240b3c1fb4888 /bundles/org.eclipse.equinox.executable/library/win32/build.bat
parentf675cae551d42599536b7ff1532a953d53df3e9e (diff)
downloadrt.equinox.framework-d360017933fc0b2985e37eafd455a4d8e15878d7.tar.gz
rt.equinox.framework-d360017933fc0b2985e37eafd455a4d8e15878d7.tar.xz
rt.equinox.framework-d360017933fc0b2985e37eafd455a4d8e15878d7.zip
bug 196883
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/win32/build.bat')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/win32/build.bat32
1 files changed, 21 insertions, 11 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/win32/build.bat b/bundles/org.eclipse.equinox.executable/library/win32/build.bat
index ea748c0c5..335d6d482 100644
--- a/bundles/org.eclipse.equinox.executable/library/win32/build.bat
+++ b/bundles/org.eclipse.equinox.executable/library/win32/build.bat
@@ -31,34 +31,44 @@
@rem want this to be done by this script.
@rem
@rem ******
-@echo off
-IF NOT "%JAVA_HOME%"=="" GOTO MSVC
-rem *****
-rem Javah
-rem *****
-set JAVA_HOME=j:\teamswt\swt-builddir\ibm-jdk1.4.1
-set path=%JAVA_HOME%;%path%
-:MSVC
+IF x.%1==x.x86_64 GOTO X86_64
+
+:X86
+IF x.%JAVA_HOME%==x. set JAVA_HOME=C:\Dev\Java\IBM_1.5.0
+set javaHome=%JAVA_HOME%
if not "%MSVC_HOME%" == "" goto MAKE
set MSVC_HOME=k:\dev\products\msvc60\vc98
call %MSVC_HOME%\bin\vcvars32.bat
if not "%mssdk%" == "" goto MAKE
set mssdk=K:\dev\PRODUCTS\PLATSDK\feb2003
call %mssdk%\setenv.bat
+IF x.%1==x.x86 shift
+set defaultOSArch=x86
+set makefile=make_win32.mak
+GOTO MAKE
-:MAKE
+:X86_64
+shift
+set defaultOSArch=x86_64
+IF x.%JAVA_HOME%==x. set JAVA_HOME=C:\Dev\Java\ibm-sdk-n142p-win64-x86
+IF "x.%mssdk%" == "x." set mssdk="C:\Program Files\MS_SDK_2003_R2"
+echo %mssdk%
+set javaHome=%JAVA_HOME%
+set makefile=make_win64.mak
+call %mssdk%\setenv /X64 /RETAIL
+GOTO MAKE
+:MAKE
+echo Making!1
rem --------------------------
rem Define default values for environment variables used in the makefiles.
rem --------------------------
set programOutput=eclipse.exe
set programLibrary=eclipse.dll
set defaultOS=win32
-set defaultOSArch=x86
set defaultWS=win32
-set makefile=make_win32.mak
set OS=Windows
rem --------------------------

Back to the top