summaryrefslogtreecommitdiffstats
path: root/make/gl-win32.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-28 12:44:11 +0000
committerKenneth Russel <[email protected]>2005-07-28 12:44:11 +0000
commit1e55146237abdebac05041f057c6efc1bab2e37a (patch)
treec3911b68ff543935fa84ffed5f2a0bc569202141 /make/gl-win32.cfg
parent45fe515cbdb378476910df881a1a98942e68b2c1 (diff)
Cleaned up build process slightly; GL interface and implementing class
are now generated at the same time. Deleted gl-impl-[platform].cfg files. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@339 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-win32.cfg')
-rw-r--r--make/gl-win32.cfg32
1 files changed, 29 insertions, 3 deletions
diff --git a/make/gl-win32.cfg b/make/gl-win32.cfg
index fddf6d579..d0e872871 100644
--- a/make/gl-win32.cfg
+++ b/make/gl-win32.cfg
@@ -1,7 +1,33 @@
-# This .cfg file is used to generate the GL interface.
+# This .cfg file is used to generate the GL interface and implementing class.
Package net.java.games.jogl
-Style InterfaceOnly
+Style InterfaceAndImpl
JavaClass GL
+ImplPackage net.java.games.jogl.impl
+ImplJavaClass GLImpl
Include gl-common-win32.cfg
-EmitProcAddressTable false
+EmitProcAddressTable true
+ProcAddressTableClassName GLProcAddressTable
+ContextVariableName _context
+
+CustomCCode #define WIN32_LEAN_AND_MEAN
+CustomCCode #include <windows.h>
+CustomCCode #undef WIN32_LEAN_AND_MEAN
+CustomCCode #include <stdlib.h>
+CustomCCode #include <stddef.h>
+CustomCCode #include <malloc.h>
+
+CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
+CustomCCode "glext.h" are parsed. */
+CustomCCode #define GL_GLEXT_PROTOTYPES
+
+CustomCCode /* Include the OpenGL headers */
+CustomCCode #include <GL/gl.h>
+
+CustomCCode /* This typedef is only needed for VC6 */
+CustomCCode #if _MSC_VER <= 1200
+CustomCCode typedef int intptr_t;
+CustomCCode #endif
+
+IncludeAs CustomJavaCode GLImpl gl-impl-CustomJavaCode.java
+IncludeAs CustomCCode gl-impl-CustomCCode.c