You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(2) |
2
(8) |
3
(4) |
4
(6) |
5
(1) |
6
|
|
7
(8) |
8
|
9
(11) |
10
(5) |
11
(1) |
12
|
13
|
|
14
|
15
|
16
(3) |
17
(1) |
18
|
19
|
20
|
|
21
(1) |
22
(1) |
23
(2) |
24
|
25
(1) |
26
(11) |
27
|
|
28
(5) |
29
(5) |
30
(7) |
|
|
|
|
|
From: Elias N. <eli...@us...> - 2003-09-09 01:13:48
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1:/tmp/cvs-serv7161/macosx Modified Files: Makefile.am Added Files: org_lwjgl_opengl_Window.cpp Log Message: --- NEW FILE: org_lwjgl_opengl_Window.cpp --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_opengl_Window.cpp /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** * $Id: org_lwjgl_opengl_Window.cpp,v 1.1 2003/09/08 14:40:46 elias_naur Exp $ * * Base OSX functionality for GL. * * @author Elias Naur <eli...@so...> * @version $Revision: 1.1 $ */ #include <JavaVM/jni.h> #include <Carbon/Carbon.h> static WindowRef win_ref; /* * Utility function to throw an Exception */ static void throwException(JNIEnv * env, const char * err) { jclass cls = env->FindClass("java/lang/Exception"); env->ThrowNew(cls, err); env->DeleteLocalRef(cls); } /* * Class: org_lwjgl_opengl_Window * Method: nCreate * Signature: (Ljava/lang/String;IIIIZIIII)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate(JNIEnv *env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jint bpp, jint alpha, jint depth, jint stencil) { const Rect rect = {y, x, y + height, x + width}; /* rect.top = y; rect.left = x; rect.bottom = y + height; rect.right = x + width;*/ OSStatus status; status = CreateNewWindow(kPlainWindowClass, kWindowNoAttributes, &rect, &win_ref); if (noErr != status) { throwException(env, "Could not create window"); return; } printf("yir\n"); } Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/macosx/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/macosx/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 7 Sep 2003 16:21:04 -0000 1.2 +++ Makefile.am 8 Sep 2003 14:40:46 -0000 1.3 @@ -10,7 +10,7 @@ # org_lwjgl_input_Keyboard.cpp \ # org_lwjgl_input_Mouse.cpp \ # org_lwjgl_input_Cursor.cpp \ -# org_lwjgl_opengl_Window.cpp \ + org_lwjgl_opengl_Window.cpp # org_lwjgl_opengl_GLCaps.cpp \ # org_lwjgl_opengl_Pbuffer.cpp |
|
From: Elias N. <eli...@us...> - 2003-09-09 01:11:47
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv7161 Modified Files: autogen.sh configure.in Log Message: Index: autogen.sh CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/autogen.sh =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/autogen.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- autogen.sh 7 Sep 2003 16:11:15 -0000 1.8 +++ autogen.sh 8 Sep 2003 14:40:45 -0000 1.9 @@ -1,4 +1,4 @@ aclocal autoheader -automake --foreign --include-deps --add-missing --copy +automake --foreign --include-deps --add-missing autoconf Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- configure.in 7 Sep 2003 16:11:15 -0000 1.39 +++ configure.in 8 Sep 2003 14:40:45 -0000 1.40 @@ -26,19 +26,16 @@ DEBUG_FLAGS= fi -CC="$CXX" -AC_LIBTOOL_DLOPEN -AC_PROG_LIBTOOL +AC_CANONICAL_HOST case "$host_os" in - darwin*) _BUILD_FLAGS="-D_AGL -fpascal-strings -I/Library/Frameworks/OpenAL.framework/Headers" - AC_CHECK_HEADER([/Library/Frameworks/OpenAL.framework/Headers/altypes.h],, AC_MSG_ERROR([OpenAL headers required])) - AC_CHECK_HEADER([/Library/Frameworks/OpenAL.framework/Headers/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) + darwin*) _BUILD_FLAGS="-D_AGL -fpascal-strings" NATIVE_BUILD_DIR=macosx CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA + AC_LIBTOOL_DLOPEN _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" AC_CHECK_HEADERS([AL/altypes.h AL/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) NATIVE_BUILD_DIR=linux @@ -49,17 +46,12 @@ AC_CHECK_LIB(Xext, main,, AC_MSG_ERROR(Xext is required)) AC_CHECK_LIB(Xxf86vm, main,, AC_MSG_ERROR(Xxf86vm is required)) AC_CHECK_LIB(pthread, pthread_create,, AC_MSG_ERROR(pthread is required)) - ;; *) AC_MSG_ERROR([Unsupported system $host_os]);; esac -AC_SUBST(native_build_dir, [$NATIVE_BUILD_DIR]) - -# Checks for libraries. - -# Checks for header files. -AC_HEADER_STDC +CC="$CXX" +AC_PROG_LIBTOOL AC_JNI_INCLUDE_DIR @@ -67,6 +59,13 @@ do CXXFLAGS="$CXXFLAGS -I$JNI_INCLUDE_DIR" done + +AC_SUBST(native_build_dir, [$NATIVE_BUILD_DIR]) + +# Checks for libraries. + +# Checks for header files. +AC_HEADER_STDC AC_CHECK_HEADER([stddef.h stdlib.h string.h sys/time.h]) |
|
From: Elias N. <eli...@us...> - 2003-09-09 01:11:44
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv7161/common Modified Files: extal.cpp extal.h Log Message: Index: extal.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- extal.cpp 7 Sep 2003 16:11:15 -0000 1.8 +++ extal.cpp 8 Sep 2003 14:40:46 -0000 1.9 @@ -31,7 +31,6 @@ */ #include <stdio.h> -#include <jni.h> #include "extal.h" #ifdef _X11 Index: extal.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- extal.h 7 Sep 2003 16:11:15 -0000 1.20 +++ extal.h 8 Sep 2003 14:40:46 -0000 1.21 @@ -40,10 +40,17 @@ #ifdef _X11 #include <AL/altypes.h> #include <AL/alctypes.h> -#else +#endif +#ifdef _WIN32 #include <altypes.h> #include <alctypes.h> #endif +#ifdef _AGL +#include <OpenAL/alctypes.h> +#include <OpenAL/altypes.h> +#endif + +#include <jni.h> #ifdef __cplusplus extern "C" { |
|
From: Caspian Rychlik-P. <ci...@us...> - 2003-09-09 00:53:58
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input In directory sc8-pr-cvs1:/tmp/cvs-serv8193/src/java/org/lwjgl/test/input Modified Files: HWCursorTest.java Log Message: Fixed spelling Index: HWCursorTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/HWCursorTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/HWCursorTest.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- HWCursorTest.java 17 Aug 2003 18:40:57 -0000 1.16 +++ HWCursorTest.java 8 Sep 2003 16:39:04 -0000 1.17 @@ -98,7 +98,7 @@ } catch (Exception e) { e.printStackTrace(); } - if ((Mouse.getNativeCursorCaps() & Mouse.CURSOR_ONE_BIT_TRANSPARANCY) == 0) { + if ((Mouse.getNativeCursorCaps() & Mouse.CURSOR_ONE_BIT_TRANSPARENCY) == 0) { System.out.println("No HW cursor support!"); System.exit(0); } |
|
From: Elias N. <eli...@us...> - 2003-09-07 16:21:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1:/tmp/cvs-serv935 Modified Files: org_lwjgl_Display.cpp Added Files: Makefile.am Log Message: CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/macosx/Makefile.am Index: org_lwjgl_Display.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_Display.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_Display.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- org_lwjgl_Display.cpp 23 May 2003 03:07:46 -0000 1.15 +++ org_lwjgl_Display.cpp 7 Sep 2003 16:21:04 -0000 1.16 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002 Light Weight Java Game Library Project + * Copyright (c) 2002 Lightweight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without |
|
From: Elias N. <eli...@us...> - 2003-09-07 16:11:23
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx
In directory sc8-pr-cvs1:/tmp/cvs-serv31051/macosx
Added Files:
Tag: macosx-gcc
Makefile.am
Log Message:
--- NEW FILE: Makefile.am ---
CVS Browser:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/macosx/Makefile.am
noinst_LTLIBRARIES = libnative.la
libnative_la_SOURCES = $(NATIVE)
INCLUDES = -I../common
NATIVE = \
# org_lwjgl_Display.cpp \
# org_lwjgl_Sys.cpp \
# org_lwjgl_input_Controller.cpp \
# org_lwjgl_input_Keyboard.cpp \
# org_lwjgl_input_Mouse.cpp \
# org_lwjgl_input_Cursor.cpp \
# org_lwjgl_opengl_Window.cpp \
# org_lwjgl_opengl_GLCaps.cpp \
# org_lwjgl_opengl_Pbuffer.cpp
|
|
From: Elias N. <eli...@us...> - 2003-09-07 16:11:23
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1:/tmp/cvs-serv31051/linux Modified Files: Makefile.am Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/linux/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 3 Sep 2003 15:42:37 -0000 1.10 +++ Makefile.am 7 Sep 2003 16:11:15 -0000 1.11 @@ -1,6 +1,6 @@ -noinst_LTLIBRARIES = liblinux.la +noinst_LTLIBRARIES = libnative.la -liblinux_la_SOURCES = $(NATIVE) +libnative_la_SOURCES = $(NATIVE) INCLUDES = -I../common NATIVE = \ |
|
From: Elias N. <eli...@us...> - 2003-09-07 16:11:23
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv31051/common Modified Files: extal.cpp extal.h extgl.c extgl.h Log Message: Index: extal.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- extal.cpp 4 Jul 2003 14:29:02 -0000 1.7 +++ extal.cpp 7 Sep 2003 16:11:15 -0000 1.8 @@ -127,7 +127,7 @@ #ifdef _X11 void* handleOAL; #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL #include <Carbon/Carbon.h> OSStatus oalInitEntryPoints (void); void oalDellocEntryPoints (void); @@ -165,7 +165,7 @@ #ifdef _X11 return dlsym(handleOAL, function); #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL return CFBundleGetFunctionPointerForName (handleOAL,CFStringCreateWithCStringNoCopy (NULL, function, CFStringGetSystemEncoding (), NULL)); #endif } @@ -191,7 +191,7 @@ #ifdef _X11 handleOAL = dlopen(path_str, RTLD_LAZY); #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL // NOTE: This totally ignores the input array! - SWP oalInitEntryPoints(); #endif @@ -215,7 +215,7 @@ #ifdef _X11 dlclose(handleOAL); #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL oalDellocEntryPoints(); #endif } @@ -431,7 +431,7 @@ return JNI_TRUE; } -#ifdef TARGET_OS_MAC +#ifdef _AGL // ------------------------- OSStatus oalInitEntryPoints (void) { Index: extal.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- extal.h 7 Sep 2003 13:28:19 -0000 1.19 +++ extal.h 7 Sep 2003 16:11:15 -0000 1.20 @@ -61,12 +61,11 @@ #define ALCAPIENTRY __cdecl #else - #ifdef TARGET_OS_MAC - #if TARGET_OS_MAC + #ifdef _AGL + #if _AGL typedef struct ALCdevice_struct ALCdevice; typedef struct ALCcontext_struct ALCcontext; - #pragma export on #endif #endif #define ALCAPI @@ -116,11 +115,6 @@ #define ALAPIENTRY __cdecl #define AL_CALLBACK #else - #ifdef TARGET_OS_MAC - #if TARGET_OS_MAC - #pragma export on - #endif - #endif #define ALAPI #define ALAPIENTRY #define AL_CALLBACK Index: extgl.c CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extgl.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extgl.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- extgl.c 4 Sep 2003 07:23:47 -0000 1.19 +++ extgl.c 7 Sep 2003 16:11:15 -0000 1.20 @@ -774,9 +774,9 @@ glXFreeMemoryNVPROC glXFreeMemoryNV = NULL; #endif /* X11 */ -#ifdef TARGET_OS_MAC +#ifdef _AGL // TODO: find the OSX equivalent of these functions -#endif /* TARGET_OS_MAC */ +#endif /* _AGL */ #endif /* GL_NV_vertex_array_range */ @@ -1359,10 +1359,93 @@ void * lib_glu_handle = NULL; #endif -#ifdef TARGET_OS_MAC -// Note: Not used, there is a CFBundleRef in the header file that handles the -// dynamic load from the GL Framework bundle and this framework include gl -// and glu in the same library +#ifdef _AGL +CFBundleRef gBundleRefOpenGL = NULL; +#endif + +#ifdef _AGL +// ------------------------- +OSStatus aglInitEntryPoints (void) +{ + OSStatus err = noErr; + const Str255 frameworkName = "\pOpenGL.framework"; + FSRefParam fileRefParam; + FSRef fileRef; + CFURLRef bundleURLOpenGL; + memset(&fileRefParam, 0, sizeof(fileRefParam)); + memset(&fileRef, 0, sizeof(fileRef)); + fileRefParam.ioNamePtr = frameworkName; + fileRefParam.newRef = &fileRef; + + // Frameworks directory/folder + // + err = FindFolder (kSystemDomain, kFrameworksFolderType, false, &fileRefParam.ioVRefNum, &fileRefParam.ioDirID); + if (noErr != err) + { + DebugStr ("\pCould not find frameworks folder"); + return err; + } + + // make FSRef for folder + // + err = PBMakeFSRefSync (&fileRefParam); + + + if (noErr != err) + { + DebugStr ("\pCould make FSref to frameworks folder"); + return err; + } + + // create URL to folder + // + bundleURLOpenGL = CFURLCreateFromFSRef (kCFAllocatorDefault, &fileRef); + if (!bundleURLOpenGL) + { + DebugStr ("\pCould create OpenGL Framework bundle URL"); + return paramErr; + } + + // create ref to GL's bundle + // + gBundleRefOpenGL = CFBundleCreate (kCFAllocatorDefault,bundleURLOpenGL); + if (!gBundleRefOpenGL) + { + DebugStr ("\pCould not create OpenGL Framework bundle"); + return paramErr; + } + + // release created bundle + // + CFRelease (bundleURLOpenGL); + + // if the code was successfully loaded, look for our function. + if (!CFBundleLoadExecutable (gBundleRefOpenGL)) + { + DebugStr ("\pCould not load MachO executable"); + return paramErr; + } + + return err; +} + + +static void aglDellocEntryPoints (void) +{ + if (gBundleRefOpenGL != NULL) + { + // unload the bundle's code. + CFBundleUnloadExecutable (gBundleRefOpenGL); + CFRelease (gBundleRefOpenGL); + gBundleRefOpenGL = NULL; + } +} + + +static void * aglGetProcAddress (char * pszProc) +{ + return CFBundleGetFunctionPointerForName (gBundleRefOpenGL,CFStringCreateWithCStringNoCopy (NULL, pszProc, CFStringGetSystemEncoding (), NULL)); +} #endif /* getProcAddress */ @@ -1400,7 +1483,7 @@ return t; #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL void *t =(void *)aglGetProcAddress(name); return t; @@ -1560,7 +1643,7 @@ /*-----------------------------------------------------*/ /* AGL stuff BEGIN*/ /*-----------------------------------------------------*/ -#ifdef TARGET_OS_MAC +#ifdef _AGL static int extgl_InitializeAGL() { @@ -3286,7 +3369,7 @@ extgl_InitializeWGL(); #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL /* load AGL extensions */ extgl_InitializeAGL(); #endif @@ -3331,7 +3414,7 @@ } #endif /* WIN32 */ -#ifdef TARGET_OS_MAC +#ifdef _AGL int extgl_Open(void) { OSStatus err = aglInitEntryPoints(); @@ -3347,7 +3430,7 @@ // return 0; } -#endif /* TARGET_OS_MAC */ +#endif /* _AGL */ void extgl_Close(void) { @@ -3359,96 +3442,10 @@ FreeLibrary(lib_gl_handle); FreeLibrary(lib_glu_handle); #endif -#ifdef TARGET_OS_MAC +#ifdef _AGL aglDellocEntryPoints(); #endif } - -#ifdef TARGET_OS_MAC -CFBundleRef gBundleRefOpenGL = NULL; -// ------------------------- -OSStatus aglInitEntryPoints (void) -{ - OSStatus err = noErr; - const Str255 frameworkName = "\pOpenGL.framework"; - FSRefParam fileRefParam; - FSRef fileRef; - CFURLRef bundleURLOpenGL; - memset(&fileRefParam, 0, sizeof(fileRefParam)); - memset(&fileRef, 0, sizeof(fileRef)); - fileRefParam.ioNamePtr = frameworkName; - fileRefParam.newRef = &fileRef; - - // Frameworks directory/folder - // - err = FindFolder (kSystemDomain, kFrameworksFolderType, false, &fileRefParam.ioVRefNum, &fileRefParam.ioDirID); - if (noErr != err) - { - DebugStr ("\pCould not find frameworks folder"); - return err; - } - - // make FSRef for folder - // - err = PBMakeFSRefSync (&fileRefParam); - - - if (noErr != err) - { - DebugStr ("\pCould make FSref to frameworks folder"); - return err; - } - - // create URL to folder - // - bundleURLOpenGL = CFURLCreateFromFSRef (kCFAllocatorDefault, &fileRef); - if (!bundleURLOpenGL) - { - DebugStr ("\pCould create OpenGL Framework bundle URL"); - return paramErr; - } - - // create ref to GL's bundle - // - gBundleRefOpenGL = CFBundleCreate (kCFAllocatorDefault,bundleURLOpenGL); - if (!gBundleRefOpenGL) - { - DebugStr ("\pCould not create OpenGL Framework bundle"); - return paramErr; - } - - // release created bundle - // - CFRelease (bundleURLOpenGL); - - // if the code was successfully loaded, look for our function. - if (!CFBundleLoadExecutable (gBundleRefOpenGL)) - { - DebugStr ("\pCould not load MachO executable"); - return paramErr; - } - - return err; -} - - -static void aglDellocEntryPoints (void) -{ - if (gBundleRefOpenGL != NULL) - { - // unload the bundle's code. - CFBundleUnloadExecutable (gBundleRefOpenGL); - CFRelease (gBundleRefOpenGL); - gBundleRefOpenGL = NULL; - } -} - - -static void * aglGetProcAddress (char * pszProc) -{ - return CFBundleGetFunctionPointerForName (gBundleRefOpenGL,CFStringCreateWithCStringNoCopy (NULL, pszProc, CFStringGetSystemEncoding (), NULL)); -} -#endif /* turn on the warning for the borland compiler*/ #ifdef __BORLANDC__ Index: extgl.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extgl.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extgl.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- extgl.h 23 Aug 2003 11:34:14 -0000 1.13 +++ extgl.h 7 Sep 2003 16:11:15 -0000 1.14 @@ -324,7 +324,7 @@ #endif /* X11 */ -#ifdef TARGET_OS_MAC +#ifdef _AGL #include <Carbon/Carbon.h> #include <OpenGL/gliContext.h> #include <OpenGL/gliDispatch.h> @@ -337,10 +337,10 @@ typedef GDHandle AGLDevice; typedef CGrafPtr AGLDrawable; -OSStatus aglInitEntryPoints(void); +/*OSStatus aglInitEntryPoints(void); void aglDellocEntryPoints (void); void * aglGetProcAddress (char * pszProc); - +*/ typedef AGLPixelFormat (APIENTRY * aglChoosePixelFormatEXTPROC)(const AGLDevice *gdevs, GLint ndev, const GLint *attribs); typedef void (APIENTRY * aglDestroyPixelFormatEXTPROC)(AGLPixelFormat pix); typedef AGLPixelFormat (APIENTRY * aglNextPixelFormatEXTPROC)(AGLPixelFormat pix); @@ -593,7 +593,7 @@ /************************************************************************/ -#endif /* TARGET_OS_MAC */ +#endif /* _AGL */ /*************************************************************/ /* GLU functions */ @@ -5829,11 +5829,11 @@ }; #endif /* X11 */ -#ifdef TARGET_OS_MAC +#ifdef _AGL struct AGLExtensionTypes { }; -#endif /* TARGET_OS_MAC */ +#endif /* _AGL */ struct GLUExtensionTypes { @@ -5851,9 +5851,9 @@ #ifdef _X11 struct GLXExtensionTypes glx; #endif /* X11 */ -#ifdef TARGET_OS_MAC +#ifdef _AGL struct AGLExtensionTypes agl; -#endif /* TARGET_OS_MAC */ +#endif /* _AGL */ struct GLUExtensionTypes glu; int ARB_imaging; @@ -5951,17 +5951,9 @@ /* initializes everything, call this right after the rc is created. the function returns 0 if successful */ int extgl_Initialize(); -#ifdef _X11 int extgl_Open(void); +#ifdef _X11 int extgl_InitGLX(Display *disp, int screen); -#endif - -#ifdef _WIN32 -int extgl_Open(void); -#endif - -#ifdef TARGET_OS_MAC -int extgl_Open(void); #endif void extgl_Close(void); |
|
From: Elias N. <eli...@us...> - 2003-09-07 16:11:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv31051 Modified Files: Makefile.am autogen.sh configure.in Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 4 Sep 2003 08:38:10 -0000 1.10 +++ Makefile.am 7 Sep 2003 16:11:15 -0000 1.11 @@ -2,5 +2,5 @@ lib_LTLIBRARIES = liblwjgl.la liblwjgl_la_SOURCES = -liblwjgl_la_LIBADD = common/libcommon.la linux/liblinux.la -liblwjgl_la_DEPENDENCIES = common/libcommon.la linux/liblinux.la +liblwjgl_la_LIBADD = common/libcommon.la @native_build_dir@/libnative.la +liblwjgl_la_DEPENDENCIES = common/libcommon.la @native_build_dir@/libnative.la Index: autogen.sh CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/autogen.sh =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/autogen.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- autogen.sh 4 Sep 2003 10:17:55 -0000 1.7 +++ autogen.sh 7 Sep 2003 16:11:15 -0000 1.8 @@ -1,5 +1,4 @@ aclocal autoheader -#libtoolize --automake automake --foreign --include-deps --add-missing --copy autoconf Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- configure.in 7 Sep 2003 13:46:02 -0000 1.38 +++ configure.in 7 Sep 2003 16:11:15 -0000 1.39 @@ -31,16 +31,17 @@ AC_PROG_LIBTOOL case "$host_os" in - darwin*) _BUILD_FLAGS="-D_AGL" - AC_CHECK_HEADERS([altypes.h alctypes.h],, AC_MSG_ERROR([OpenAL headers required1])) - AC_SUBST(native_build_dir, [macosx]) + darwin*) _BUILD_FLAGS="-D_AGL -fpascal-strings -I/Library/Frameworks/OpenAL.framework/Headers" + AC_CHECK_HEADER([/Library/Frameworks/OpenAL.framework/Headers/altypes.h],, AC_MSG_ERROR([OpenAL headers required])) + AC_CHECK_HEADER([/Library/Frameworks/OpenAL.framework/Headers/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) + NATIVE_BUILD_DIR=macosx CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" AC_CHECK_HEADERS([AL/altypes.h AL/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) - AC_SUBST(native_build_dir, [linux]) + NATIVE_BUILD_DIR=linux CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" LIBS="$LIBS $X_LIBS" @@ -50,9 +51,11 @@ AC_CHECK_LIB(pthread, pthread_create,, AC_MSG_ERROR(pthread is required)) ;; - *) AC_MSG_ERROR([Unknown system $host_os]);; + *) AC_MSG_ERROR([Unsupported system $host_os]);; esac +AC_SUBST(native_build_dir, [$NATIVE_BUILD_DIR]) + # Checks for libraries. # Checks for header files. @@ -79,5 +82,6 @@ AC_CONFIG_FILES([Makefile common/Makefile - linux/Makefile]) + linux/Makefile + macosx/Makefile]) AC_OUTPUT |
|
From: Elias N. <eli...@us...> - 2003-09-07 13:46:06
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv31381 Modified Files: configure.in Log Message: Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- configure.in 7 Sep 2003 13:28:19 -0000 1.37 +++ configure.in 7 Sep 2003 13:46:02 -0000 1.38 @@ -32,14 +32,14 @@ case "$host_os" in darwin*) _BUILD_FLAGS="-D_AGL" - AC_CHECK_HEADER([altypes.h alctypes.h],, AC_MSG_ERROR([OpenAL headers required1])) + AC_CHECK_HEADERS([altypes.h alctypes.h],, AC_MSG_ERROR([OpenAL headers required1])) AC_SUBST(native_build_dir, [macosx]) CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" - AC_CHECK_HEADER([AL/altypes.h AL/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) + AC_CHECK_HEADERS([AL/altypes.h AL/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) AC_SUBST(native_build_dir, [linux]) CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" |
|
From: Elias N. <eli...@us...> - 2003-09-07 13:28:59
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv28704 Modified Files: configure.in Log Message: Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- configure.in 5 Sep 2003 09:39:43 -0000 1.36 +++ configure.in 7 Sep 2003 13:28:19 -0000 1.37 @@ -16,9 +16,6 @@ AC_PROG_MAKE_SET AC_PROG_CXX -CC="$CXX" -AC_PROG_LIBTOOL - AC_ARG_ENABLE(debug, AC_HELP_STRING([--disable-buidl], [Disable debug build]), [build_debug=$enableval], [build_debug=no]) @@ -29,15 +26,20 @@ DEBUG_FLAGS= fi +CC="$CXX" +AC_LIBTOOL_DLOPEN +AC_PROG_LIBTOOL + case "$host_os" in darwin*) _BUILD_FLAGS="-D_AGL" + AC_CHECK_HEADER([altypes.h alctypes.h],, AC_MSG_ERROR([OpenAL headers required1])) AC_SUBST(native_build_dir, [macosx]) CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA - AC_LIBTOOL_DLOPEN _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" + AC_CHECK_HEADER([AL/altypes.h AL/alctypes.h],, AC_MSG_ERROR([OpenAL headers required])) AC_SUBST(native_build_dir, [linux]) CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" |
|
From: Elias N. <eli...@us...> - 2003-09-07 13:28:59
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv28704/common Modified Files: extal.h Log Message: Index: extal.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- extal.h 17 May 2003 02:50:51 -0000 1.18 +++ extal.h 7 Sep 2003 13:28:19 -0000 1.19 @@ -36,8 +36,14 @@ #ifdef _WIN32 #include <windows.h> #endif + +#ifdef _X11 #include <AL/altypes.h> #include <AL/alctypes.h> +#else +#include <altypes.h> +#include <alctypes.h> +#endif #ifdef __cplusplus extern "C" { |
|
From: Elias N. <eli...@us...> - 2003-09-05 09:40:18
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv25702 Modified Files: configure.in Log Message: Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- configure.in 4 Sep 2003 10:33:08 -0000 1.35 +++ configure.in 5 Sep 2003 09:39:43 -0000 1.36 @@ -20,7 +20,7 @@ AC_PROG_LIBTOOL AC_ARG_ENABLE(debug, -AC_HELP_STRING([--disable-foo], [Disable debug build]), +AC_HELP_STRING([--disable-buidl], [Disable debug build]), [build_debug=$enableval], [build_debug=no]) if test $build_debug = yes; then |
|
From: Elias N. <eli...@us...> - 2003-09-04 10:33:11
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv2595 Modified Files: configure.in Log Message: Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- configure.in 4 Sep 2003 10:16:48 -0000 1.34 +++ configure.in 4 Sep 2003 10:33:08 -0000 1.35 @@ -8,7 +8,6 @@ AM_CONFIG_HEADER([config.h]) AC_DISABLE_STATIC -AC_LIBTOOL_DLOPEN # Checks for programs. AC_PROG_CC @@ -37,6 +36,7 @@ CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA + AC_LIBTOOL_DLOPEN _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" AC_SUBST(native_build_dir, [linux]) CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" |
|
From: Elias N. <eli...@us...> - 2003-09-04 10:17:58
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv32693 Modified Files: autogen.sh Added Files: ltmain.sh Log Message: --- NEW FILE: ltmain.sh --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/ltmain.sh # ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <go...@gn...>, 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software [...5079 lines suppressed...] If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac echo $echo "Try \`$modename --help' for more information about other modes." exit 0 # Local Variables: # mode:shell-script # sh-indentation:2 # End: Index: autogen.sh CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/autogen.sh =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/autogen.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- autogen.sh 3 Sep 2003 15:04:14 -0000 1.6 +++ autogen.sh 4 Sep 2003 10:17:55 -0000 1.7 @@ -1,5 +1,5 @@ aclocal autoheader -libtoolize --automake +#libtoolize --automake automake --foreign --include-deps --add-missing --copy autoconf |
|
From: Elias N. <eli...@us...> - 2003-09-04 10:16:51
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv32507 Modified Files: configure.in Log Message: Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- configure.in 4 Sep 2003 08:38:10 -0000 1.33 +++ configure.in 4 Sep 2003 10:16:48 -0000 1.34 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ(2.57) +#AC_PREREQ(2.57) AC_INIT(LWJGL, 0.7) AM_INIT_AUTOMAKE() AC_CONFIG_SRCDIR([autogen.sh]) @@ -66,7 +66,7 @@ AC_CHECK_HEADER([stddef.h stdlib.h string.h sys/time.h]) # Checks for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL +#AC_HEADER_STDBOOL AC_C_CONST AC_C_INLINE AC_HEADER_TIME |
|
From: Elias N. <eli...@us...> - 2003-09-04 08:38:13
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv15515 Modified Files: Makefile.am configure.in Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile.am 4 Sep 2003 07:23:47 -0000 1.9 +++ Makefile.am 4 Sep 2003 08:38:10 -0000 1.10 @@ -1,4 +1,4 @@ -SUBDIRS = common linux +SUBDIRS = common @native_build_dir@ lib_LTLIBRARIES = liblwjgl.la liblwjgl_la_SOURCES = Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- configure.in 4 Sep 2003 07:23:47 -0000 1.32 +++ configure.in 4 Sep 2003 08:38:10 -0000 1.33 @@ -20,15 +20,27 @@ CC="$CXX" AC_PROG_LIBTOOL +AC_ARG_ENABLE(debug, +AC_HELP_STRING([--disable-foo], [Disable debug build]), +[build_debug=$enableval], [build_debug=no]) + +if test $build_debug = yes; then + DEBUG_FLAGS=-D_DEBUG +else + DEBUG_FLAGS= +fi + case "$host_os" in - darwin*) _BUILD_FLAG="-D_AGL" - CXXFLAGS="$CXXFLAGS -Wall $_BUILD_FLAGS" - CFLAGS="$CFLAGS -Wall $_BUILD_FLAGS" + darwin*) _BUILD_FLAGS="-D_AGL" + AC_SUBST(native_build_dir, [macosx]) + CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" + CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" - CXXFLAGS="$CXXFLAGS -Wall $_BUILD_FLAGS" - CFLAGS="$CFLAGS -Wall $_BUILD_FLAGS" + AC_SUBST(native_build_dir, [linux]) + CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" + CFLAGS="$CFLAGS $DEBUG_FLAGS -Wall $_BUILD_FLAGS" LIBS="$LIBS $X_LIBS" AC_CHECK_LIB(X11, XOpenDisplay,, AC_MSG_ERROR(X11 is required)) AC_CHECK_LIB(Xext, main,, AC_MSG_ERROR(Xext is required)) @@ -36,7 +48,7 @@ AC_CHECK_LIB(pthread, pthread_create,, AC_MSG_ERROR(pthread is required)) ;; - *) AC_MSG_ERROR([Unknow system $host_os]);; + *) AC_MSG_ERROR([Unknown system $host_os]);; esac # Checks for libraries. |
|
From: Elias N. <eli...@us...> - 2003-09-04 07:23:50
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv2392/common Modified Files: extgl.c Log Message: Index: extgl.c CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extgl.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extgl.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- extgl.c 23 Aug 2003 11:34:14 -0000 1.18 +++ extgl.c 4 Sep 2003 07:23:47 -0000 1.19 @@ -1367,7 +1367,7 @@ /* getProcAddress */ -void *extgl_GetProcAddress(char *name) +static void *extgl_GetProcAddress(char *name) { #ifdef _WIN32 void *t = wglGetProcAddress(name); @@ -1414,7 +1414,7 @@ #ifdef _WIN32 /** returns true if the extention is available */ -int QueryWGLExtension(const char *name) +static int QueryWGLExtension(const char *name) { const GLubyte *extensions; const GLubyte *start; @@ -1449,7 +1449,7 @@ return 0; } -void extgl_InitWGLARBBufferRegion() +static void extgl_InitWGLARBBufferRegion() { #ifdef WGL_ARB_buffer_region if (!extgl_Extensions.wgl.ARB_buffer_region) @@ -1461,7 +1461,7 @@ #endif } -void extgl_InitWGLARBPbuffer() +static void extgl_InitWGLARBPbuffer() { #ifdef WGL_ARB_pbuffer if (!extgl_Extensions.wgl.ARB_pbuffer) @@ -1474,7 +1474,7 @@ #endif } -void extgl_InitWGLARBPixelFormat() +static void extgl_InitWGLARBPixelFormat() { #ifdef WGL_ARB_pixel_format if (!extgl_Extensions.wgl.ARB_pixel_format) @@ -1485,7 +1485,7 @@ #endif } -void extgl_InitWGLARBRenderTexture() +static void extgl_InitWGLARBRenderTexture() { #ifdef WGL_ARB_render_texture if (!extgl_Extensions.wgl.ARB_render_texture) @@ -1496,7 +1496,7 @@ #endif } -void extgl_InitWGLEXTSwapControl() +static void extgl_InitWGLEXTSwapControl() { #ifdef WGL_EXT_swap_control if (!extgl_Extensions.wgl.EXT_swap_control) @@ -1506,7 +1506,7 @@ #endif } -void extgl_InitWGLARBMakeCurrentRead() +static void extgl_InitWGLARBMakeCurrentRead() { #ifdef WGL_ARB_make_current_read if (!extgl_Extensions.wgl.ARB_make_current_read) @@ -1516,7 +1516,7 @@ #endif } -void extgl_InitSupportedWGLExtensions() +static void extgl_InitSupportedWGLExtensions() { extgl_Extensions.wgl.ARB_buffer_region = QueryWGLExtension("WGL_ARB_buffer_region"); extgl_Extensions.wgl.ARB_make_current_read = QueryWGLExtension("WGL_ARB_make_current_read"); @@ -1529,7 +1529,7 @@ extgl_Extensions.wgl.NV_render_texture_rectangle = QueryWGLExtension("WGL_NV_render_texture_rectangle"); } -int extgl_InitializeWGL() +static int extgl_InitializeWGL() { extgl_error = 0; wglGetExtensionsStringARB = (wglGetExtensionsStringARBPROC) extgl_GetProcAddress("wglGetExtensionsStringARB"); @@ -1562,7 +1562,7 @@ /*-----------------------------------------------------*/ #ifdef TARGET_OS_MAC -int extgl_InitializeAGL() +static int extgl_InitializeAGL() { // add in AGL extensions here @@ -1574,7 +1574,7 @@ /* AGL stuff END*/ /*-----------------------------------------------------*/ -int QueryExtension(const GLubyte*extensions, const char *name) +static int QueryExtension(const GLubyte*extensions, const char *name) { const GLubyte *start; GLubyte *where, *terminator; @@ -1607,25 +1607,26 @@ #ifdef _X11 /** returns true if the extention is available */ -int GLXQueryExtension(Display *disp, int screen, const char *name) +static int GLXQueryExtension(Display *disp, int screen, const char *name) { - return QueryExtension(glXQueryExtensionsString(disp, screen), name); + const GLubyte *exts = (const GLubyte *)glXQueryExtensionsString(disp, screen); + return QueryExtension(exts, name); } #endif /** returns true if the extention is available */ -int GLUQueryExtension(const char *name) +static int GLUQueryExtension(const char *name) { return QueryExtension(gluGetString(GLU_EXTENSIONS), name); } /** returns true if the extention is available */ -int GLQueryExtension(const char *name) +static int GLQueryExtension(const char *name) { return QueryExtension(glGetString(GL_EXTENSIONS), name); } -void extgl_InitARBFragmentProgram() +static void extgl_InitARBFragmentProgram() { #ifdef GL_ARB_fragment_program if (!extgl_Extensions.ARB_fragment_program) @@ -1652,7 +1653,7 @@ #endif } -void extgl_InitNVPrimitiveRestart() +static void extgl_InitNVPrimitiveRestart() { #ifdef GL_NV_primitive_restart if (!extgl_Extensions.NV_primitive_restart) @@ -1662,7 +1663,7 @@ #endif /* GL_NV_primitive_restart */ } -void extgl_InitNVFragmentProgram() +static void extgl_InitNVFragmentProgram() { #ifdef GL_NV_fragment_program if (!extgl_Extensions.NV_fragment_program) @@ -1684,7 +1685,7 @@ #endif /* GL_NV_fragment_program */ } -void extgl_InitNVElementArray() +static void extgl_InitNVElementArray() { #ifdef GL_NV_element_array if (!extgl_Extensions.NV_element_array) @@ -1698,7 +1699,7 @@ } -void extgl_InitEXTBlendFuncSeparate() +static void extgl_InitEXTBlendFuncSeparate() { #ifdef GL_EXT_blend_func_separate if (!extgl_Extensions.EXT_blend_func_separate) @@ -1707,7 +1708,7 @@ #endif } -void extgl_InitEXTCullVertex() +static void extgl_InitEXTCullVertex() { #ifdef GL_EXT_cull_vertex if (!extgl_Extensions.EXT_cull_vertex) @@ -1717,7 +1718,7 @@ #endif } -void extgl_InitARBVertexBufferObject() +static void extgl_InitARBVertexBufferObject() { #ifdef GL_ARB_vertex_buffer_object if (!extgl_Extensions.ARB_vertex_buffer_object) @@ -1736,7 +1737,7 @@ #endif } -void extgl_InitARBVertexProgram() +static void extgl_InitARBVertexProgram() { #ifdef GL_ARB_vertex_program if (!extgl_Extensions.ARB_vertex_program) @@ -1806,7 +1807,7 @@ #endif } -void extgl_InitEXTStencilTwoSide() +static void extgl_InitEXTStencilTwoSide() { #ifdef GL_EXT_stencil_two_side if (!extgl_Extensions.EXT_stencil_two_side) @@ -1815,7 +1816,7 @@ #endif } -void extgl_InitARBWindowPos() +static void extgl_InitARBWindowPos() { #ifdef GL_ARB_window_pos if (!extgl_Extensions.ARB_window_pos) @@ -1839,7 +1840,7 @@ #endif } -void extgl_InitARBTextureCompression() +static void extgl_InitARBTextureCompression() { #ifdef GL_ARB_texture_compression if (!extgl_Extensions.ARB_texture_compression) @@ -1854,7 +1855,7 @@ #endif } -void extgl_InitNVPointSprite() +static void extgl_InitNVPointSprite() { #ifdef GL_NV_point_sprite if (!extgl_Extensions.NV_point_sprite) @@ -1864,7 +1865,7 @@ #endif } -void extgl_InitNVOcclusionQuery() +static void extgl_InitNVOcclusionQuery() { #ifdef GL_NV_occlusion_query if (!extgl_Extensions.NV_occlusion_query) @@ -1879,7 +1880,7 @@ #endif } -void extgl_InitATIVertexArrayObject() +static void extgl_InitATIVertexArrayObject() { #ifdef GL_ATI_vertex_array_object if (!extgl_Extensions.ATI_vertex_array_object) @@ -1899,7 +1900,7 @@ #endif } -void extgl_InitATIVertexStreams() +static void extgl_InitATIVertexStreams() { #ifdef GL_ATI_vertex_streams if (!extgl_Extensions.ATI_vertex_streams) @@ -1944,7 +1945,7 @@ #endif } -void extgl_InitATIElementArray() +static void extgl_InitATIElementArray() { #ifdef GL_ATI_element_array if (!extgl_Extensions.ATI_element_array) @@ -1955,7 +1956,7 @@ #endif } -void extgl_InitATIFragmentShader() +static void extgl_InitATIFragmentShader() { #ifdef GL_ATI_fragment_shader if (!extgl_Extensions.ATI_fragment_shader) @@ -1978,7 +1979,7 @@ } -void extgl_InitATIEnvmapBumpmap() +static void extgl_InitATIEnvmapBumpmap() { #ifdef GL_ATI_envmap_bumpmap if (!extgl_Extensions.ATI_envmap_bumpmap) @@ -1990,7 +1991,7 @@ #endif } -void extgl_InitEXTVertexShader() +static void extgl_InitEXTVertexShader() { #ifdef GL_EXT_vertex_shader if (!extgl_Extensions.EXT_vertex_shader) @@ -2040,7 +2041,7 @@ #endif } -void extgl_InitARBMatrixPalette() +static void extgl_InitARBMatrixPalette() { #ifdef GL_ARB_matrix_palette if (!extgl_Extensions.ARB_matrix_palette) @@ -2053,7 +2054,7 @@ #endif } -void extgl_InitEXTMultiDrawArrays() +static void extgl_InitEXTMultiDrawArrays() { #ifdef GL_EXT_multi_draw_arrays if (!extgl_Extensions.EXT_multi_draw_arrays) @@ -2063,7 +2064,7 @@ #endif } -void extgl_InitARBVertexBlend() +static void extgl_InitARBVertexBlend() { #ifdef GL_ARB_vertex_blend if (!extgl_Extensions.ARB_vertex_blend) @@ -2081,7 +2082,7 @@ #endif } -void extgl_InitARBPointParameters() +static void extgl_InitARBPointParameters() { #ifdef GL_ARB_point_parameters if (!extgl_Extensions.ARB_point_parameters) @@ -2091,7 +2092,7 @@ #endif } -void extgl_InitATIPNTriangles() +static void extgl_InitATIPNTriangles() { #ifdef GL_ATI_pn_triangles if (!extgl_Extensions.ATI_pn_triangles) @@ -2101,7 +2102,7 @@ #endif } -void extgl_InitATISeparateStencil() +static void extgl_InitATISeparateStencil() { #ifdef GL_ATI_separate_stencil if (!extgl_Extensions.ATI_separate_stencil) @@ -2111,7 +2112,7 @@ #endif } -void extgl_InitNVEvaluators() +static void extgl_InitNVEvaluators() { #ifdef GL_NV_evaluators if (!extgl_Extensions.NV_evaluators) @@ -2128,7 +2129,7 @@ #endif } -void extgl_InitNVRegisterCombiners2() +static void extgl_InitNVRegisterCombiners2() { #ifdef GL_NV_register_combiners if (!extgl_Extensions.NV_register_combiners2) @@ -2138,7 +2139,7 @@ #endif } -void extgl_InitNVFence() +static void extgl_InitNVFence() { #ifdef GL_NV_fence if (!extgl_Extensions.NV_fence) @@ -2153,7 +2154,7 @@ #endif } -void extgl_InitNVVertexProgram() +static void extgl_InitNVVertexProgram() { #ifdef GL_NV_vertex_program if (!extgl_Extensions.NV_vertex_program) @@ -2225,7 +2226,7 @@ #endif } -void extgl_InitEXTVertexWeighting() +static void extgl_InitEXTVertexWeighting() { #ifdef GL_EXT_vertex_weighting if (!extgl_Extensions.EXT_vertex_weighting) @@ -2236,7 +2237,7 @@ #endif } -void extgl_InitARBMultisample() +static void extgl_InitARBMultisample() { #ifdef GL_ARB_multisample if (!extgl_Extensions.ARB_multisample) @@ -2245,7 +2246,7 @@ #endif } -void extgl_InitNVRegisterCombiners() +static void extgl_InitNVRegisterCombiners() { #ifdef GL_NV_register_combiners if (!extgl_Extensions.NV_register_combiners) @@ -2266,7 +2267,7 @@ #endif } -void extgl_InitEXTPointParameters() +static void extgl_InitEXTPointParameters() { #ifdef GL_EXT_point_parameters if (!extgl_Extensions.EXT_point_parameters) @@ -2276,7 +2277,7 @@ #endif } -void extgl_InitNVVertexArrayRange() +static void extgl_InitNVVertexArrayRange() { #ifdef GL_NV_vertex_array_range if (!extgl_Extensions.NV_vertex_array_range) @@ -2294,7 +2295,7 @@ #endif } -void extgl_InitEXTFogCoord() +static void extgl_InitEXTFogCoord() { #ifdef GL_EXT_fog_coord if (!extgl_Extensions.EXT_fog_coord) @@ -2307,7 +2308,7 @@ #endif } -void extgl_InitEXTSecondaryColor() +static void extgl_InitEXTSecondaryColor() { #ifdef GL_EXT_secondary_color if (!extgl_Extensions.EXT_secondary_color) @@ -2332,7 +2333,7 @@ #endif } -void extgl_InitEXTCompiledVertexArray() +static void extgl_InitEXTCompiledVertexArray() { #ifdef GL_EXT_compiled_vertex_array if (!extgl_Extensions.EXT_compiled_vertex_array) @@ -2342,7 +2343,7 @@ #endif } -void extgl_InitARBTransposeMatrix() +static void extgl_InitARBTransposeMatrix() { #ifdef GL_ARB_transpose_matrix if (!extgl_Extensions.ARB_transpose_matrix) @@ -2354,7 +2355,7 @@ #endif } -void extgl_InitEXTDrawRangeElements() +static void extgl_InitEXTDrawRangeElements() { #ifdef GL_EXT_draw_range_elements if (!extgl_Extensions.EXT_draw_range_elements) @@ -2363,7 +2364,7 @@ #endif } -void extgl_InitARBMultitexture() +static void extgl_InitARBMultitexture() { #ifdef GL_ARB_multitexture if (!extgl_Extensions.ARB_multitexture) @@ -2539,7 +2540,7 @@ return extgl_error; } -void extgl_InitGLXSupportedExtensions(Display *disp, int screen) +static void extgl_InitGLXSupportedExtensions(Display *disp, int screen) { extgl_Extensions.glx.EXT_visual_info = GLXQueryExtension(disp, screen, "GLX_EXT_visual_info"); extgl_Extensions.glx.EXT_visual_rating = GLXQueryExtension(disp, screen, "GLX_EXT_visual_rating"); @@ -2566,7 +2567,7 @@ } #endif -void extgl_InitOpenGL1_1(void) +static void extgl_InitOpenGL1_1(void) { glAccum = (glAccumPROC) extgl_GetProcAddress("glAccum"); glAlphaFunc = (glAlphaFuncPROC) extgl_GetProcAddress("glAlphaFunc"); @@ -2907,7 +2908,7 @@ glViewport = (glViewportPROC) extgl_GetProcAddress("glViewport"); } -void extgl_InitOpenGL1_2() +static void extgl_InitOpenGL1_2() { #ifdef GL_VERSION_1_2 if (!extgl_Extensions.OpenGL12) @@ -2919,7 +2920,7 @@ #endif /* GL_VERSION_1_2 */ } -void extgl_InitARBImaging() +static void extgl_InitARBImaging() { #ifdef GL_ARB_imaging if (!extgl_Extensions.ARB_imaging) @@ -2961,7 +2962,7 @@ #endif /* GL_ARB_imaging */ } -void extgl_InitOpenGL1_3() +static void extgl_InitOpenGL1_3() { #ifdef GL_VERSION_1_3 if (!extgl_Extensions.OpenGL13) @@ -3021,7 +3022,7 @@ #endif /* GL_VERSION_1_3 */ } -void extgl_InitOpenGL1_4() +static void extgl_InitOpenGL1_4() { #ifdef GL_VERSION_1_4 if (!extgl_Extensions.OpenGL14) @@ -3075,7 +3076,7 @@ } -void extgl_InitGLUSupportedExtensions() +static void extgl_InitGLUSupportedExtensions() { char *s = (char*) gluGetString(GLU_VERSION); if (!s) @@ -3099,7 +3100,7 @@ extgl_Extensions.glu.EXT_object_space_tess = GLUQueryExtension("GLU_EXT_object_space_tess"); } -void extgl_InitSupportedExtensions() +static void extgl_InitSupportedExtensions() { char *s = (char*) glGetString(GL_VERSION); if (!s) @@ -3270,6 +3271,7 @@ extgl_InitARBImaging(); extgl_InitARBMultitexture(); extgl_InitNVElementArray(); + extgl_InitNVEvaluators(); extgl_InitNVFragmentProgram(); extgl_InitNVPrimitiveRestart(); extgl_InitARBFragmentProgram(); @@ -3430,7 +3432,7 @@ } -void aglDellocEntryPoints (void) +static void aglDellocEntryPoints (void) { if (gBundleRefOpenGL != NULL) { @@ -3442,7 +3444,7 @@ } -void * aglGetProcAddress (char * pszProc) +static void * aglGetProcAddress (char * pszProc) { return CFBundleGetFunctionPointerForName (gBundleRefOpenGL,CFStringCreateWithCStringNoCopy (NULL, pszProc, CFStringGetSystemEncoding (), NULL)); } |
|
From: Elias N. <eli...@us...> - 2003-09-04 07:23:50
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv2392 Modified Files: Makefile.am configure.in Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Makefile.am 3 Sep 2003 15:42:37 -0000 1.8 +++ Makefile.am 4 Sep 2003 07:23:47 -0000 1.9 @@ -1,6 +1,6 @@ -#SUBDIRS = common linux +SUBDIRS = common linux lib_LTLIBRARIES = liblwjgl.la -liblwjgl_la_SOURCES = dummy.cc -#liblwjgl_la_LIBADD = common/libcommon.la linux/liblinux.la -#liblwjgl_la_DEPENDENCIES = common/libcommon.la linux/liblinux.la +liblwjgl_la_SOURCES = +liblwjgl_la_LIBADD = common/libcommon.la linux/liblinux.la +liblwjgl_la_DEPENDENCIES = common/libcommon.la linux/liblinux.la Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- configure.in 3 Sep 2003 15:42:37 -0000 1.31 +++ configure.in 4 Sep 2003 07:23:47 -0000 1.32 @@ -2,22 +2,22 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT -AM_INIT_AUTOMAKE(LWJGL, 0.7) +AC_INIT(LWJGL, 0.7) +AM_INIT_AUTOMAKE() AC_CONFIG_SRCDIR([autogen.sh]) AM_CONFIG_HEADER([config.h]) -#AC_DISABLE_STATIC +AC_DISABLE_STATIC AC_LIBTOOL_DLOPEN # Checks for programs. AC_PROG_CC -AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -#LD=$CXX +AC_PROG_CXX +CC="$CXX" AC_PROG_LIBTOOL case "$host_os" in @@ -26,13 +26,12 @@ CFLAGS="$CFLAGS -Wall $_BUILD_FLAGS" ;; bsdi* | linux* | solaris*) AC_PATH_XTRA - #LIBS='-L/usr/X11R6/lib' _BUILD_FLAGS="-pthread -D_X11 $X_CFLAGS" CXXFLAGS="$CXXFLAGS -Wall $_BUILD_FLAGS" CFLAGS="$CFLAGS -Wall $_BUILD_FLAGS" LIBS="$LIBS $X_LIBS" AC_CHECK_LIB(X11, XOpenDisplay,, AC_MSG_ERROR(X11 is required)) -# AC_CHECK_LIB(Xext, ,, AC_MSG_ERROR(Xext is required)) + AC_CHECK_LIB(Xext, main,, AC_MSG_ERROR(Xext is required)) AC_CHECK_LIB(Xxf86vm, main,, AC_MSG_ERROR(Xxf86vm is required)) AC_CHECK_LIB(pthread, pthread_create,, AC_MSG_ERROR(pthread is required)) |
|
From: Elias N. <eli...@us...> - 2003-09-03 15:42:40
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv620/common Modified Files: Makefile.am Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 2 Sep 2003 14:06:34 -0000 1.10 +++ Makefile.am 3 Sep 2003 15:42:37 -0000 1.11 @@ -15,30 +15,30 @@ org_lwjgl_input_Mouse.h \ org_lwjgl_Math.cpp \ org_lwjgl_Math.h \ -# org_lwjgl_openal_ALC.cpp \ -# org_lwjgl_openal_ALC.h \ -# org_lwjgl_openal_BaseAL.cpp \ -# org_lwjgl_openal_BaseAL.h \ -# org_lwjgl_openal_CoreAL.cpp \ -# org_lwjgl_openal_CoreAL.h \ -# org_lwjgl_openal_eax_BaseEAX.cpp \ -# org_lwjgl_openal_eax_BaseEAX.h \ -# org_lwjgl_openal_eax_CoreEAX.cpp \ -# org_lwjgl_openal_eax_CoreEAX.h \ -# org_lwjgl_openal_eax_EAXBufferProperties.cpp \ -# org_lwjgl_openal_eax_EAXBufferProperties.h \ -# org_lwjgl_openal_eax_EAXListenerProperties.cpp \ -# org_lwjgl_openal_eax_EAXListenerProperties.h \ -# org_lwjgl_opengl_CoreGL11.cpp \ -# org_lwjgl_opengl_CoreGL11.h \ -# org_lwjgl_opengl_CoreGL12.cpp \ -# org_lwjgl_opengl_CoreGL12.h \ -# org_lwjgl_opengl_CoreGL13.cpp \ -# org_lwjgl_opengl_CoreGL13.h \ -# org_lwjgl_opengl_CoreGL14.cpp \ -# org_lwjgl_opengl_CoreGL15.h \ -# org_lwjgl_opengl_GL.cpp \ -# org_lwjgl_opengl_GL.h \ -# org_lwjgl_opengl_GLU.cpp \ + org_lwjgl_openal_ALC.cpp \ + org_lwjgl_openal_ALC.h \ + org_lwjgl_openal_BaseAL.cpp \ + org_lwjgl_openal_BaseAL.h \ + org_lwjgl_openal_CoreAL.cpp \ + org_lwjgl_openal_CoreAL.h \ + org_lwjgl_openal_eax_BaseEAX.cpp \ + org_lwjgl_openal_eax_BaseEAX.h \ + org_lwjgl_openal_eax_CoreEAX.cpp \ + org_lwjgl_openal_eax_CoreEAX.h \ + org_lwjgl_openal_eax_EAXBufferProperties.cpp \ + org_lwjgl_openal_eax_EAXBufferProperties.h \ + org_lwjgl_openal_eax_EAXListenerProperties.cpp \ + org_lwjgl_openal_eax_EAXListenerProperties.h \ + org_lwjgl_opengl_CoreGL11.cpp \ + org_lwjgl_opengl_CoreGL11.h \ + org_lwjgl_opengl_CoreGL12.cpp \ + org_lwjgl_opengl_CoreGL12.h \ + org_lwjgl_opengl_CoreGL13.cpp \ + org_lwjgl_opengl_CoreGL13.h \ + org_lwjgl_opengl_CoreGL14.cpp \ + org_lwjgl_opengl_CoreGL15.h \ + org_lwjgl_opengl_GL.cpp \ + org_lwjgl_opengl_GL.h \ + org_lwjgl_opengl_GLU.cpp \ org_lwjgl_opengl_GLU.h |
|
From: Elias N. <eli...@us...> - 2003-09-03 15:42:40
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1:/tmp/cvs-serv620/linux Modified Files: Makefile.am Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/linux/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile.am 2 Sep 2003 14:06:34 -0000 1.9 +++ Makefile.am 3 Sep 2003 15:42:37 -0000 1.10 @@ -5,13 +5,13 @@ NATIVE = \ org_lwjgl_Display.cpp \ -# org_lwjgl_Sys.cpp \ -# org_lwjgl_input_Controller.cpp \ -# org_lwjgl_input_Keyboard.cpp \ -# org_lwjgl_input_Mouse.cpp \ -# org_lwjgl_input_Cursor.cpp \ -# org_lwjgl_opengl_Window.cpp \ -# org_lwjgl_opengl_GLCaps.cpp \ -# org_lwjgl_opengl_Pbuffer.cpp \ -# extxcursor.cpp + org_lwjgl_Sys.cpp \ + org_lwjgl_input_Controller.cpp \ + org_lwjgl_input_Keyboard.cpp \ + org_lwjgl_input_Mouse.cpp \ + org_lwjgl_input_Cursor.cpp \ + org_lwjgl_opengl_Window.cpp \ + org_lwjgl_opengl_GLCaps.cpp \ + org_lwjgl_opengl_Pbuffer.cpp \ + extxcursor.cpp |
|
From: Elias N. <eli...@us...> - 2003-09-03 15:42:40
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv620 Modified Files: Makefile.am configure.in Removed Files: dummy.cpp Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile.am 3 Sep 2003 15:04:14 -0000 1.7 +++ Makefile.am 3 Sep 2003 15:42:37 -0000 1.8 @@ -1,6 +1,6 @@ #SUBDIRS = common linux lib_LTLIBRARIES = liblwjgl.la -liblwjgl_la_SOURCES = dummy.cpp +liblwjgl_la_SOURCES = dummy.cc #liblwjgl_la_LIBADD = common/libcommon.la linux/liblinux.la #liblwjgl_la_DEPENDENCIES = common/libcommon.la linux/liblinux.la Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- configure.in 3 Sep 2003 15:04:14 -0000 1.30 +++ configure.in 3 Sep 2003 15:42:37 -0000 1.31 @@ -4,7 +4,7 @@ AC_PREREQ(2.57) AC_INIT AM_INIT_AUTOMAKE(LWJGL, 0.7) -AC_CONFIG_SRCDIR([dummy.cpp]) +AC_CONFIG_SRCDIR([autogen.sh]) AM_CONFIG_HEADER([config.h]) #AC_DISABLE_STATIC @@ -17,7 +17,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET -CC=$CXX +#LD=$CXX AC_PROG_LIBTOOL case "$host_os" in --- dummy.cpp DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/dummy.cpp |
|
From: Elias N. <eli...@us...> - 2003-09-03 15:04:52
|
Update of /cvsroot/java-game-lib/LWJGL/src/native In directory sc8-pr-cvs1:/tmp/cvs-serv25108 Modified Files: Makefile.am autogen.sh configure.in Log Message: Index: Makefile.am CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/Makefile.am =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile.am 2 Sep 2003 15:00:56 -0000 1.6 +++ Makefile.am 3 Sep 2003 15:04:14 -0000 1.7 @@ -1,7 +1,6 @@ #SUBDIRS = common linux lib_LTLIBRARIES = liblwjgl.la -liblwjgl_la_SOURCES = dummy.c -liblwjgl_la_LINK=$(CXXLINK) -#liblwjgl_la_LINK=g++ -shared -o $@ +liblwjgl_la_SOURCES = dummy.cpp #liblwjgl_la_LIBADD = common/libcommon.la linux/liblinux.la +#liblwjgl_la_DEPENDENCIES = common/libcommon.la linux/liblinux.la Index: autogen.sh CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/autogen.sh =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/autogen.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- autogen.sh 1 Sep 2003 12:45:47 -0000 1.5 +++ autogen.sh 3 Sep 2003 15:04:14 -0000 1.6 @@ -1,9 +1,5 @@ -#export WANT_AUTOCONF_2_5=1 -#WANT_AUTOMAKE_1_5=1 - -#autoheader linux aclocal autoheader -libtoolize --force -autoconf +libtoolize --automake automake --foreign --include-deps --add-missing --copy +autoconf Index: configure.in CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/configure.in =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/configure.in,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- configure.in 2 Sep 2003 15:00:56 -0000 1.29 +++ configure.in 3 Sep 2003 15:04:14 -0000 1.30 @@ -7,19 +7,18 @@ AC_CONFIG_SRCDIR([dummy.cpp]) AM_CONFIG_HEADER([config.h]) -AC_DISABLE_STATIC +#AC_DISABLE_STATIC AC_LIBTOOL_DLOPEN # Checks for programs. AC_PROG_CC -AC_PROG_CPP AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -AC_PROG_LIBTOOL -#AC_REQUIRE_CPP +CC=$CXX +AC_PROG_LIBTOOL case "$host_os" in darwin*) _BUILD_FLAG="-D_AGL" |
|
From: Elias N. <eli...@us...> - 2003-09-02 15:04:31
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/admin In directory sc8-pr-cvs1:/tmp/cvs-serv5056/admin Removed Files: install-sh missing mkinstalldirs Log Message: --- install-sh DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/install-sh --- missing DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/missing --- mkinstalldirs DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/mkinstalldirs |
|
From: Elias N. <eli...@us...> - 2003-09-02 15:03:23
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/admin In directory sc8-pr-cvs1:/tmp/cvs-serv4848/admin Removed Files: config.guess config.sub ltmain.sh Log Message: --- config.guess DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/config.guess --- config.sub DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/config.sub --- ltmain.sh DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/admin/ltmain.sh |