summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-14 16:54:32 +0000
committerKenneth Russel <[email protected]>2006-04-14 16:54:32 +0000
commitbf717a6e0f61b5082a667292b95d89c354c5abad (patch)
tree651c1ae58c93c8d9dccafa6d289b22aef604d086 /make
parent29a1884467000971ad90909bca9361df31771e66 (diff)
Added patch from user mabraham on javagaming.org forums for building
on Windows 64-bit git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@715 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml15
-rw-r--r--make/jogl.properties2
-rw-r--r--make/stub_includes/win32/windows.h2
3 files changed, 14 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml
index 4a1f2d75a..93a988b80 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -287,13 +287,19 @@
<property name="linker.cfg.id.core" value="linker.cfg.win32.msvc" />
</target>
+ <target name="declare.win32.vc8_x64" if="isVC8_X64">
+ <echo message="Win32.VC8_X64" />
+ <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" />
+ <property name="linker.cfg.id.core" value="linker.cfg.win32.msvc" />
+ </target>
+
<target name="declare.win32.mingw" if="isMingW">
<echo message="Win32.MingW" />
<property name="compiler.cfg.id" value="compiler.cfg.win32.mingw" />
<property name="linker.cfg.id.core" value="linker.cfg.win32.mingw" />
</target>
- <target name="declare.win32" depends="declare.win32.vc6,declare.win32.vc7,declare.win32.vc8,declare.win32.mingw" if="isWindows">
+ <target name="declare.win32" depends="declare.win32.vc6,declare.win32.vc7,declare.win32.vc8,declare.win32.vc8_x64,declare.win32.mingw" if="isWindows">
<!-- Set platform configuration files. -->
<property name="gl.cfg" value="${config}/gl-win32.cfg" />
<property name="gl.cfg.nsig" value="${config}/gl-win32-nsig.cfg" />
@@ -804,7 +810,10 @@
<linker id="linker.cfg.win32.msvc" name="msvc" incremental="false">
<linkerarg value="/OPT:REF,ICF" /> <!-- enable link-time optimisations -->
<linkerarg value="/SUBSYSTEM:WINDOWS" /> <!-- output is not a console app as uses WinMain entry point -->
- <linkerarg value="/MACHINE:IX86" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC6" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC7" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC8" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X64" if="isVC8_X64"/> <!-- explicity set target platform (IX64) -->
<syslibset libs="opengl32, gdi32, user32, kernel32" />
@@ -960,7 +969,7 @@
</antcall>
</target>
- <target name="c.manifest" if="isVC8">
+ <target name="c.manifest" if="isVC8Family">
<!-- exec mt, the Microsoft Manifest Tool, to include DLL manifests in order to resolve the location of msvcr80.dll -->
<exec executable="mt">
<arg value="-manifest"/>
diff --git a/make/jogl.properties b/make/jogl.properties
index 8b9c6f884..298ed2759 100644
--- a/make/jogl.properties
+++ b/make/jogl.properties
@@ -14,7 +14,7 @@
# If you are building on Windows and have the Microsoft Visual C++
# compilers installed, you can choose an alternate compiler with which
# to build the JOGL native code. Valid strings here are "vc6", "vc7",
-# "vc8", and "mingw".
+# "vc8", "vc8_x64", and "mingw".
win32.c.compiler=vc6
# If you are building on a Mac OS X system supporting
diff --git a/make/stub_includes/win32/windows.h b/make/stub_includes/win32/windows.h
index e2d78deef..5f2514444 100644
--- a/make/stub_includes/win32/windows.h
+++ b/make/stub_includes/win32/windows.h
@@ -11,7 +11,7 @@
#define VOID void
typedef int BOOL;
typedef unsigned char BYTE;
-typedef unsigned long DWORD;
+typedef unsigned int DWORD;
typedef int INT;
typedef int INT32;
typedef __int64 INT64;