diff options
author | Kenneth Russel <[email protected]> | 2005-07-28 12:44:11 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-07-28 12:44:11 +0000 |
commit | 1e55146237abdebac05041f057c6efc1bab2e37a (patch) | |
tree | c3911b68ff543935fa84ffed5f2a0bc569202141 /make/gl-macosx.cfg | |
parent | 45fe515cbdb378476910df881a1a98942e68b2c1 (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-macosx.cfg')
-rw-r--r-- | make/gl-macosx.cfg | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/make/gl-macosx.cfg b/make/gl-macosx.cfg index 37acea0ee..79e7e97b0 100644 --- a/make/gl-macosx.cfg +++ b/make/gl-macosx.cfg @@ -1,7 +1,30 @@ -# 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-macosx.cfg -EmitProcAddressTable false +EmitProcAddressTable true +ProcAddressTableClassName GLProcAddressTable +ContextVariableName _context + +CustomCCode #include <inttypes.h> +CustomCCode #include <stdlib.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 #include </usr/include/machine/types.h> + +CustomCCode /* Provide Windows typedefs */ +CustomCCode typedef void* LPVOID; +CustomCCode typedef unsigned int* PUINT; + +IncludeAs CustomJavaCode GLImpl gl-impl-CustomJavaCode.java +IncludeAs CustomCCode gl-impl-CustomCCode.c |