summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat
blob: 21da81aa2609cf06044eeff5c84c69d1c82297b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@echo off
rem *******************************************************************************
rem  Copyright (c) 2000, 2007 IBM Corporation and others.
rem  All rights reserved. This program and the accompanying materials
rem  are made available under the terms of the Eclipse Public License v1.0
rem  which accompanies this distribution, and is available at
rem  http://www.eclipse.org/legal/epl-v10.html
rem 
rem  Contributors:
rem      IBM Corporation - initial API and implementation
rem *******************************************************************************

@echo off

IF NOT "%JAVA_HOME%"=="" GOTO MAKE

rem *****
rem Javah
rem *****
set JAVA_HOME=j:\teamswt\swt-builddir\ibm-jdk1.4.1
set path=%JAVA_HOME%;%path%

rem ********
rem MSVC 6.0
rem ********
set DEV_TOOLS=K:\dev\PRODUCTS
call %DEV_TOOLS%\msvc60\vc98\bin\vcvars32.bat

rem ****** 
rem MS-SDK
rem ******
set Mssdk=%DEV_TOOLS%\PLATSDK\feb2003
call %mssdk%\setenv.bat

rem ********* 
rem XULRunner
rem *********
set XULRUNNER_SDK=j:\teamswt\swt-builddir\gecko-sdk

set OUTPUT_DIR=..\..\..\org.eclipse.swt.win32.win32.x86

:MAKE
nmake -f make_win32.mak %1 %2 %3 %4