From 1e55146237abdebac05041f057c6efc1bab2e37a Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 28 Jul 2005 12:44:11 +0000 Subject: 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 --- make/gl-macosx.cfg | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'make/gl-macosx.cfg') 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 +CustomCCode #include + +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 + +CustomCCode #include + +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 -- cgit v1.2.3