From 349beb3f9b2a10a9a5cc001c115c2f742a833d6f Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 22 Feb 2012 17:26:38 +0000 Subject: Xcode 4.3 compatibility checkin The command line tools from Xcode 4.3 create an incorrect implicit definition for a couple of functions which causes compilation to fail due to the actual definition not matching the implicit one the compiler creates. This patch adds explicit definitions alongside the other forward function definitions for the functions which cause compilation to fail. [updated: initial commit had the file in the wrong location] Signed-off-by: Al Sutton --- distrib/jpeg-6b/jdphuff.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distrib/jpeg-6b/jdphuff.c b/distrib/jpeg-6b/jdphuff.c index 922017e..cccfdd9 100644 --- a/distrib/jpeg-6b/jdphuff.c +++ b/distrib/jpeg-6b/jdphuff.c @@ -82,6 +82,10 @@ METHODDEF(boolean) decode_mcu_DC_refine JPP((j_decompress_ptr cinfo, JBLOCKROW *MCU_data)); METHODDEF(boolean) decode_mcu_AC_refine JPP((j_decompress_ptr cinfo, JBLOCKROW *MCU_data)); +GLOBAL(void) jpeg_configure_huffman_decoder_progressive( + j_decompress_ptr cinfo, huffman_offset_data offset); +GLOBAL(void) jpeg_get_huffman_decoder_configuration_progressive( + j_decompress_ptr cinfo, huffman_offset_data *offset); /* * Initialize for a Huffman-compressed scan. -- cgit v1.1 From 7c84162756a132d3e46af0dac564508b01baddd1 Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 22 Feb 2012 17:49:13 +0000 Subject: Xcode 4.3 compatibility checkin The Xcode 4.3 compiler doesn't have support for global register variables so this patch ensures that the register keyword is not incuded for that compiler. Signed-off-by: Al Sutton --- target-arm/exec.h | 6 +++++- target-i386/exec.h | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/target-arm/exec.h b/target-arm/exec.h index 07bfd57..83571e6 100644 --- a/target-arm/exec.h +++ b/target-arm/exec.h @@ -19,7 +19,11 @@ #include "config.h" #include "dyngen-exec.h" -register struct CPUARMState *env asm(AREG0); +/* Xcode 4.3 doesn't support global register variables */ +#if !defined(__APPLE_CC__) || __APPLE_CC__ < 5621 + register +#endif +struct CPUARMState *env asm(AREG0); #include "cpu.h" #include "exec-all.h" diff --git a/target-i386/exec.h b/target-i386/exec.h index 42b471a..d194f89 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -29,7 +29,11 @@ #include "cpu-defs.h" -register struct CPUX86State *env asm(AREG0); +/* Xcode 4.3 doesn't support global register variables */ +#if !defined(__APPLE_CC__) || __APPLE_CC__ < 5621 + register +#endif +struct CPUX86State *env asm(AREG0); #include "qemu-common.h" #include "qemu-log.h" -- cgit v1.1 From e8bca780fc70318f38cab5bc38e5abdee60375da Mon Sep 17 00:00:00 2001 From: "Jiang, Yunhong" Date: Sun, 1 Apr 2012 09:35:06 +0800 Subject: Add qemu pipe access with parameter The following changes are crucial for GPU H/W acceleration because some graphics applications like games perform very frequent QEMU pipe operations to send GLES commands to the host translator. For each read/write buffer operation, currently QEMU pipe requires five MMIO operations. This causes significant overhead when running with hardware virtualization enabled (e.g. HAXM) because each MMIO causes expensive transition from the guest kernel to the kernel driver, and to the QEMU user space in the end. Among such five MMIO accesses, four of them are required to just set up the parameters for the access, like the buffer address, length etc. By passing a buffer containing such parameters, we need only one MMIO operation to send a GLES command to the host translator. Update the qemu_pipe save version for pipe struct changes. Change-Id: Idf6400f3c4c9c8473311312bb1d8f3ea92d68797 Signed-off-by: Xin, Xiaohui Signed-off-by: Jiang, Yunhong Signed-off-by: Nakajima, Jun --- hw/goldfish_pipe.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- hw/goldfish_pipe.h | 15 +++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/hw/goldfish_pipe.c b/hw/goldfish_pipe.c index 97daefb..276ac9a 100644 --- a/hw/goldfish_pipe.c +++ b/hw/goldfish_pipe.c @@ -55,7 +55,7 @@ /* Maximum length of pipe service name, in characters (excluding final 0) */ #define MAX_PIPE_SERVICE_NAME_SIZE 255 -#define GOLDFISH_PIPE_SAVE_VERSION 1 +#define GOLDFISH_PIPE_SAVE_VERSION 2 /*********************************************************************** *********************************************************************** @@ -960,9 +960,9 @@ struct PipeDevice { uint32_t status; uint32_t channel; uint32_t wakes; + uint64_t params_addr; }; - static void pipeDevice_doCommand( PipeDevice* dev, uint32_t command ) { @@ -1097,6 +1097,42 @@ static void pipe_dev_write(void *opaque, target_phys_addr_t offset, uint32_t val s->channel = value; break; + case PIPE_REG_PARAMS_ADDR_HIGH: + s->params_addr = (s->params_addr & ~(0xFFFFFFFFULL << 32) ) | + ((uint64_t)value << 32); + break; + + case PIPE_REG_PARAMS_ADDR_LOW: + s->params_addr = (s->params_addr & ~(0xFFFFFFFFULL) ) | value; + break; + + case PIPE_REG_ACCESS_PARAMS: + { + struct access_params aps; + uint32_t cmd; + + /* Don't touch aps.result if anything wrong */ + if (s->params_addr == 0) + break; + + cpu_physical_memory_read(s->params_addr, (void*)&aps, + sizeof(struct access_params)); + + /* sync pipe device state from batch buffer */ + s->channel = aps.channel; + s->size = aps.size; + s->address = aps.address; + cmd = aps.cmd; + if ((cmd != PIPE_CMD_READ_BUFFER) && (cmd != PIPE_CMD_WRITE_BUFFER)) + break; + + pipeDevice_doCommand(s, cmd); + aps.result = s->status; + cpu_physical_memory_write(s->params_addr, (void*)&aps, + sizeof(struct access_params)); + } + break; + default: D("%s: offset=%d (0x%x) value=%d (0x%x)\n", __FUNCTION__, offset, offset, value, value); @@ -1136,6 +1172,12 @@ static uint32_t pipe_dev_read(void *opaque, target_phys_addr_t offset) DR("%s: wakes %d", __FUNCTION__, dev->wakes); return dev->wakes; + case PIPE_REG_PARAMS_ADDR_HIGH: + return dev->params_addr >> 32; + + case PIPE_REG_PARAMS_ADDR_LOW: + return dev->params_addr & 0xFFFFFFFFUL; + default: D("%s: offset=%d (0x%x)\n", __FUNCTION__, offset, offset); } @@ -1165,6 +1207,7 @@ goldfish_pipe_save( QEMUFile* file, void* opaque ) qemu_put_be32(file, dev->status); qemu_put_be32(file, dev->channel); qemu_put_be32(file, dev->wakes); + qemu_put_be64(file, dev->params_addr); /* Count the number of pipe connections */ int count = 0; @@ -1193,6 +1236,7 @@ goldfish_pipe_load( QEMUFile* file, void* opaque, int version_id ) dev->status = qemu_get_be32(file); dev->channel = qemu_get_be32(file); dev->wakes = qemu_get_be32(file); + dev->params_addr = qemu_get_be64(file); /* Count the number of pipe connections */ int count = qemu_get_sbe32(file); diff --git a/hw/goldfish_pipe.h b/hw/goldfish_pipe.h index f08cef8..10efa96 100644 --- a/hw/goldfish_pipe.h +++ b/hw/goldfish_pipe.h @@ -153,6 +153,11 @@ extern void goldfish_pipe_wake( void* hwpipe, unsigned flags ); #define PIPE_REG_SIZE 0x0c /* read/write: buffer size */ #define PIPE_REG_ADDRESS 0x10 /* write: physical address */ #define PIPE_REG_WAKES 0x14 /* read: wake flags */ +/* read/write: parameter buffer address */ +#define PIPE_REG_PARAMS_ADDR_LOW 0x18 +#define PIPE_REG_PARAMS_ADDR_HIGH 0x1c +/* write: access with paremeter buffer */ +#define PIPE_REG_ACCESS_PARAMS 0x20 /* list of commands for PIPE_REG_COMMAND */ #define PIPE_CMD_OPEN 1 /* open new channel */ @@ -189,4 +194,14 @@ extern void goldfish_pipe_wake( void* hwpipe, unsigned flags ); void pipe_dev_init(void); +struct access_params{ + uint32_t channel; + uint32_t size; + uint32_t address; + uint32_t cmd; + uint32_t result; + /* reserved for future extension */ + uint32_t flags; +}; + #endif /* _HW_GOLDFISH_PIPE_H */ -- cgit v1.1 From 6699b688d7dbd7ad4a07ca1c1f77db864012010a Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Wed, 18 Apr 2012 10:28:46 -0700 Subject: Publish and use libOpenglRender interface header The emulator opengles.c file duplicated the function declarations from libOpenglRenderer's render_api.h instead of including it directly. This led to multiple bugs since the declarations didn't actually match, but there was no way for the compiler or dynamic loader to check this. This change makes opengles.c include render_api.h to get function pointer prototypes, and changes the prototypes/implementation as necessary to make both sides actually match. It should be much more difficult to introduce interface mismatch bugs now. Two bugs this change would have prevented: (a) The interface mismatch caused by inconsistent branching which led to GPU acceleration crashing on Windows. With this change, we would have caught the problem at compile time. (b) The emulator verbose log has always been printing "Can't start OpenGLES renderer?" even when the renderer started fine. This is because the renderer was returning a bool (true == success) but the emulator's declaration said it returned int, and the emulator assumed 0 meant success. This difference in return type should now be caught at compile time. Change-Id: I5b3c70c9a40854332d67e37333acd6edb6ad01f6 --- Makefile.android | 1 - Makefile.common | 2 +- Makefile.target | 2 +- android/opengles.c | 56 ++++++++++++++++++++++++------------------------------ vl-android.c | 15 ++++++++------- 5 files changed, 35 insertions(+), 41 deletions(-) diff --git a/Makefile.android b/Makefile.android index 6fccf71..7b35039 100644 --- a/Makefile.android +++ b/Makefile.android @@ -246,7 +246,6 @@ LOCAL_STATIC_LIBRARIES := \ emulator-libui \ emulator-common \ - LOCAL_CFLAGS += -DCONFIG_STANDALONE_UI=1 LOCAL_CFLAGS += $(EMULATOR_COMMON_CFLAGS) $(EMULATOR_LIBUI_CFLAGS) diff --git a/Makefile.common b/Makefile.common index f9d98af..5307b28 100644 --- a/Makefile.common +++ b/Makefile.common @@ -164,7 +164,7 @@ endif # HOST_OS == linux common_LOCAL_CFLAGS = common_LOCAL_SRC_FILES = -EMULATOR_LIBUI_CFLAGS := +EMULATOR_LIBUI_CFLAGS := -Isdk/emulator/opengl/host/include common_LOCAL_CFLAGS += $(EMULATOR_COMMON_CFLAGS) diff --git a/Makefile.target b/Makefile.target index 1961acf..f7122fa 100644 --- a/Makefile.target +++ b/Makefile.target @@ -274,7 +274,7 @@ LOCAL_CFLAGS += \ $(EMULATOR_TARGET_CFLAGS) \ -DCONFIG_STANDALONE_CORE \ -LOCAL_CFLAGS += -Wno-missing-field-initializers +LOCAL_CFLAGS += -Isdk/emulator/opengl/host/include -Wno-missing-field-initializers LOCAL_STATIC_LIBRARIES := \ diff --git a/android/opengles.c b/android/opengles.c index f116f25..025f7dd 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -10,6 +10,8 @@ ** GNU General Public License for more details. */ +#define RENDER_API_NO_PROTOTYPES 1 + #include "config-host.h" #include "android/opengles.h" #include "android/globals.h" @@ -17,6 +19,7 @@ #include #include #include +#include #include #include @@ -35,22 +38,14 @@ int android_gles_fast_pipes = 1; #error Unknown HOST_LONG_BITS #endif -/* These definitions *must* match those under: - * development/tools/emulator/opengl/host/include/libOpenglRender/render_api.h - */ #define DYNLINK_FUNCTIONS \ - DYNLINK_FUNC(int,initLibrary,(void),(),return) \ - DYNLINK_FUNC(int,setStreamMode,(int a),(a),return) \ - DYNLINK_FUNC(int,initOpenGLRenderer,(int width, int height, int port, OnPostFn onPost, void* onPostContext),(width,height,port,onPost,onPostContext),return) \ - DYNLINK_FUNC(int,createOpenGLSubwindow,(void* window, int x, int y, int width, int height, float zRot),(window,x,y,width,height,zRot),return)\ - DYNLINK_FUNC(int,destroyOpenGLSubwindow,(void),(),return)\ - DYNLINK_FUNC(void,repaintOpenGLDisplay,(void),(),)\ - DYNLINK_FUNC(void,stopOpenGLRenderer,(void),(),) - -#define STREAM_MODE_DEFAULT 0 -#define STREAM_MODE_TCP 1 -#define STREAM_MODE_UNIX 2 -#define STREAM_MODE_PIPE 3 + DYNLINK_FUNC(initLibrary) \ + DYNLINK_FUNC(setStreamMode) \ + DYNLINK_FUNC(initOpenGLRenderer) \ + DYNLINK_FUNC(createOpenGLSubwindow) \ + DYNLINK_FUNC(destroyOpenGLSubwindow) \ + DYNLINK_FUNC(repaintOpenGLDisplay) \ + DYNLINK_FUNC(stopOpenGLRenderer) #ifndef CONFIG_STANDALONE_UI /* Defined in android/hw-pipe-net.c */ @@ -59,15 +54,10 @@ extern int android_init_opengles_pipes(void); static ADynamicLibrary* rendererLib; -/* Define the pointers and the wrapper functions to call them */ -#define DYNLINK_FUNC(result,name,sig,params,ret) \ - static result (*_ptr_##name) sig; \ - static result name sig { \ - ret (*_ptr_##name) params ; \ - } - +/* Define the function pointers */ +#define DYNLINK_FUNC(name) \ + static name##Fn name = NULL; DYNLINK_FUNCTIONS - #undef DYNLINK_FUNC static int @@ -75,10 +65,11 @@ initOpenglesEmulationFuncs(ADynamicLibrary* rendererLib) { void* symbol; char* error; -#define DYNLINK_FUNC(result,name,sig,params,ret) \ - symbol = adynamicLibrary_findSymbol( rendererLib, #name, &error ); \ + +#define DYNLINK_FUNC(name) \ + symbol = adynamicLibrary_findSymbol(rendererLib, #name, &error); \ if (symbol != NULL) { \ - _ptr_##name = symbol; \ + name = symbol; \ } else { \ derror("GLES emulation: Could not find required symbol (%s): %s", #name, error); \ free(error); \ @@ -86,6 +77,7 @@ initOpenglesEmulationFuncs(ADynamicLibrary* rendererLib) } DYNLINK_FUNCTIONS #undef DYNLINK_FUNC + return 0; } @@ -126,10 +118,10 @@ android_initOpenglesEmulation(void) /* XXX: NEED Win32 pipe implementation */ setStreamMode(STREAM_MODE_TCP); #else - setStreamMode(STREAM_MODE_UNIX); + setStreamMode(STREAM_MODE_UNIX); #endif } else { - setStreamMode(STREAM_MODE_TCP); + setStreamMode(STREAM_MODE_TCP); } return 0; @@ -148,7 +140,7 @@ android_startOpenglesRenderer(int width, int height, OnPostFn onPost, void* onPo return -1; } - if (initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT, onPost, onPostContext) != 0) { + if (!initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT, onPost, onPostContext)) { D("Can't start OpenGLES renderer?"); return -1; } @@ -167,7 +159,8 @@ int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation) { if (rendererLib) { - return createOpenGLSubwindow(window, x, y, width, height, rotation); + int success = createOpenGLSubwindow((FBNativeWindowType)window, x, y, width, height, rotation); + return success ? 0 : -1; } else { return -1; } @@ -177,7 +170,8 @@ int android_hideOpenglesWindow(void) { if (rendererLib) { - return destroyOpenGLSubwindow(); + int success = destroyOpenGLSubwindow(); + return success ? 0 : -1; } else { return -1; } diff --git a/vl-android.c b/vl-android.c index 5a41e2d..b43f7fe 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3876,14 +3876,15 @@ int main(int argc, char **argv, char **envp) int gles_emul = 0; if (android_hw->hw_gpu_enabled) { - if (android_initOpenglesEmulation() == 0) { + /* Set framebuffer change notification callback when starting + * GLES emulation. Currently only multi-touch emulation is + * interested in FB changes (to transmit them to the device), so + * the callback is set within MT emulation.*/ + if (android_initOpenglesEmulation() == 0 && + android_startOpenglesRenderer(android_hw->hw_lcd_width, + android_hw->hw_lcd_height, + multitouch_opengles_fb_update, NULL) == 0) { gles_emul = 1; - /* Set framebuffer change notification callback when starting - * GLES emulation. Currently only multi-touch emulation is - * interested in FB changes (to transmit them to the device), so - * the callback is set within MT emulation.*/ - android_startOpenglesRenderer(android_hw->hw_lcd_width, android_hw->hw_lcd_height, - multitouch_opengles_fb_update, NULL); } else { dwarning("Could not initialize OpenglES emulation, using software renderer."); } -- cgit v1.1 From 07ca7c270f22a2b1676395dd88bca340a46dc5d8 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Wed, 25 Apr 2012 22:05:07 -0700 Subject: Rename a declaration to fix Mac SDK build GCC on OS X is flagging a duplicate declaration error even though GCC on Linux isn't even warning about it. Not sure why. The declaration is duplicated, but identical. Renaming one of the two. Change-Id: I946b5f3a4e410b66e9ab2ae3160ff1bec4e0ddd7 --- android/opengles.c | 2 +- android/opengles.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/opengles.c b/android/opengles.c index 025f7dd..e90a477 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -133,7 +133,7 @@ BAD_EXIT: } int -android_startOpenglesRenderer(int width, int height, OnPostFn onPost, void* onPostContext) +android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* onPostContext) { if (!rendererLib) { D("Can't start OpenGLES renderer without support libraries"); diff --git a/android/opengles.h b/android/opengles.h index 7bb6a3a..60e125d 100644 --- a/android/opengles.h +++ b/android/opengles.h @@ -17,8 +17,8 @@ #define ANDROID_OPENGLES_BASE_PORT 22468 /* See the description in render_api.h. */ -typedef void (*OnPostFn)(void* context, int width, int height, int ydir, - int format, int type, unsigned char* pixels); +typedef void (*OnPostFunc)(void* context, int width, int height, int ydir, + int format, int type, unsigned char* pixels); /* Call this function to initialize the hardware opengles emulation. * This function will abort if we can't find the corresponding host @@ -31,7 +31,7 @@ int android_initOpenglesEmulation(void); * may be NULL. */ int android_startOpenglesRenderer(int width, int height, - OnPostFn onPost, void* onPostContext); + OnPostFunc onPost, void* onPostContext); int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation); -- cgit v1.1 From 183e927350a14945e13ab217e16ab5dce20349f3 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Thu, 26 Apr 2012 15:13:27 -0700 Subject: Fix standalone emulator build. - Allow building with OpenGL ES acceleration disabled, avoiding a dependency on stuff outside the QEMU project. - Allow the standalone configure.sh to provide the include/lib path for the OpenGL ES libraries. - Update the default OpenGL ES include path for standalone builds. Change-Id: I03f4627af4c271783b65a116ceb5934385c68cdc --- Makefile.android | 3 ++ Makefile.common | 4 ++- Makefile.target | 5 +++- android-configure.sh | 2 +- android/config/darwin-x86/config-host.h | 1 + android/config/linux-x86/config-host.h | 1 + android/config/windows/config-host.h | 1 + android/opengles.c | 49 +++++++++++++++++++++++++++++---- 8 files changed, 58 insertions(+), 8 deletions(-) diff --git a/Makefile.android b/Makefile.android index 7b35039..7e66bd9 100644 --- a/Makefile.android +++ b/Makefile.android @@ -116,6 +116,9 @@ ifneq ($(BUILD_STANDALONE_EMULATOR),true) endif ccache := endif + + QEMU_OPENGLES_INCLUDE := sdk/emulator/opengl/host/include + QEMU_OPENGLES_LIBS := $(HOST_OUT) endif diff --git a/Makefile.common b/Makefile.common index 5307b28..20b6fa7 100644 --- a/Makefile.common +++ b/Makefile.common @@ -164,7 +164,9 @@ endif # HOST_OS == linux common_LOCAL_CFLAGS = common_LOCAL_SRC_FILES = -EMULATOR_LIBUI_CFLAGS := -Isdk/emulator/opengl/host/include +ifneq ($(QEMU_OPENGLES_INCLUDE),) + EMULATOR_LIBUI_CFLAGS := -I$(QEMU_OPENGLES_INCLUDE) +endif common_LOCAL_CFLAGS += $(EMULATOR_COMMON_CFLAGS) diff --git a/Makefile.target b/Makefile.target index f7122fa..45c8e69 100644 --- a/Makefile.target +++ b/Makefile.target @@ -274,8 +274,11 @@ LOCAL_CFLAGS += \ $(EMULATOR_TARGET_CFLAGS) \ -DCONFIG_STANDALONE_CORE \ -LOCAL_CFLAGS += -Isdk/emulator/opengl/host/include -Wno-missing-field-initializers +ifneq ($(QEMU_OPENGLES_INCLUDE),) + LOCAL_CFLAGS += -I$(QEMU_OPENGLES_INCLUDE) +endif +LOCAL_CFLAGS += -Wno-missing-field-initializers LOCAL_STATIC_LIBRARIES := \ emulator-libqemu \ diff --git a/android-configure.sh b/android-configure.sh index 5620e0e..beb7427 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -240,7 +240,7 @@ if [ "$IN_ANDROID_BUILD" = "yes" ] ; then GLES_SUPPORT=yes if [ -z "$GLES_INCLUDE" ]; then log "GLES : Probing for headers" - GLES_INCLUDE=$ANDROID_TOP/development/tools/emulator/opengl/host/include + GLES_INCLUDE=$ANDROID_TOP/sdk/emulator/opengl/host/include if [ -d "$GLES_INCLUDE" ]; then log "GLES : Headers in $GLES_INCLUDE" else diff --git a/android/config/darwin-x86/config-host.h b/android/config/darwin-x86/config-host.h index 97a83dc..d5e8507 100644 --- a/android/config/darwin-x86/config-host.h +++ b/android/config/darwin-x86/config-host.h @@ -26,3 +26,4 @@ #define CONFIG_ANDROID 1 #define CONFIG_POSIX 1 #define CONFIG_MADVISE 1 +#define CONFIG_ANDROID_OPENGLES 1 diff --git a/android/config/linux-x86/config-host.h b/android/config/linux-x86/config-host.h index 70b9ce7..d9f04fa 100644 --- a/android/config/linux-x86/config-host.h +++ b/android/config/linux-x86/config-host.h @@ -26,3 +26,4 @@ #define CONFIG_POSIX 1 #define CONFIG_ANDROID 1 #define CONFIG_MADVISE 1 +#define CONFIG_ANDROID_OPENGLES 1 diff --git a/android/config/windows/config-host.h b/android/config/windows/config-host.h index 1b50927..2d2fdc6 100644 --- a/android/config/windows/config-host.h +++ b/android/config/windows/config-host.h @@ -18,3 +18,4 @@ #define QEMU_PKGVERSION "Android" #define CONFIG_WIN32 1 #define CONFIG_ANDROID 1 +#define CONFIG_ANDROID_OPENGLES 1 diff --git a/android/opengles.c b/android/opengles.c index e90a477..d1f4322 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -10,25 +10,29 @@ ** GNU General Public License for more details. */ -#define RENDER_API_NO_PROTOTYPES 1 - #include "config-host.h" #include "android/opengles.h" + +/* Declared in "android/globals.h" */ +int android_gles_fast_pipes = 1; + +#if CONFIG_ANDROID_OPENGLES + #include "android/globals.h" #include #include #include #include + +#define RENDER_API_NO_PROTOTYPES 1 #include + #include #include #define D(...) VERBOSE_PRINT(init,__VA_ARGS__) #define DD(...) VERBOSE_PRINT(gles,__VA_ARGS__) -/* Declared in "android/globals.h" */ -int android_gles_fast_pipes = 1; - /* Name of the GLES rendering library we're going to use */ #if HOST_LONG_BITS == 32 #define RENDERER_LIB_NAME "libOpenglRender" @@ -199,3 +203,38 @@ android_gles_unix_path(char* buff, size_t buffsize, int port) } p = bufprint(p, end, "qemu-gles-%d", port); } + +#else // CONFIG_ANDROID_OPENGLES + +int android_initOpenglesEmulation(void) +{ + return -1; +} + +int android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* onPostContext) +{ + return -1; +} + +void android_stopOpenglesRenderer(void) +{} + +int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation) +{ + return -1; +} + +int android_hideOpenglesWindow(void) +{ + return -1; +} + +void android_redrawOpenglesWindow(void) +{} + +void android_gles_unix_path(char* buff, size_t buffsize, int port) +{ + buff[0] = '\0'; +} + +#endif // !CONFIG_ANDROID_OPENGLES -- cgit v1.1 From 632a0e1c92700d8dbe8e4474500db3cc28c571d3 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Sat, 28 Apr 2012 00:48:53 +0800 Subject: Allow BUILD_HOST_static to build statically-linked emulator Statically linked emulator is easy to setup in sandboxed environment. With this and BUILD_HOST_static in build/ (seperate CL), statically-linked SDK tools can be built with the following command BUILD_HOST_static=1 make PRODUCT-sdk-aapt adb aidl dexdump fastboot \ llvm-rs-cc dmtracedump emulator emulator-arm emulator-x86 \ etc1tool hprof-conv mksdcard sqlite3 zipalign No need to build HW GL libraries (libOpenglRender, libGLES_CM_translator, libGLES_V2_translator and libEGL_translator) because statically-linked emulator doesn't support audio and graphics. (eg. -no-window) Change-Id: I209287a00f66295b8b8135451025428f03776a1a --- Makefile.android | 4 ++++ Makefile.target | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.android b/Makefile.android index 7b35039..ce5336f 100644 --- a/Makefile.android +++ b/Makefile.android @@ -129,6 +129,10 @@ ifneq ($(combo_target)$(TARGET_SIMULATOR),HOST_true) MY_LDLIBS += -m32 endif endif + + ifneq ($(BUILD_HOST_static),) + MY_LDLIBS += -static + endif endif # Enable warning, except those related to missing field initializers diff --git a/Makefile.target b/Makefile.target index f7122fa..0f22387 100644 --- a/Makefile.target +++ b/Makefile.target @@ -323,7 +323,7 @@ endif # Generate a completely static executable if needed. # Note that this means no sound and graphics on Linux. # -ifeq ($(CONFIG_STATIC_EXECUTABLE),true) +ifneq ($(strip $(CONFIG_STATIC_EXECUTABLE)$(BUILD_HOST_static)),) LOCAL_SRC_FILES += dynlink-static.c LOCAL_LDLIBS += -static endif @@ -409,7 +409,7 @@ common_LOCAL_SRC_FILES += $(SDLMAIN_SOURCES) # Generate a completely static executable if needed. # Note that this means no sound and graphics on Linux. # -ifeq ($(CONFIG_STATIC_EXECUTABLE),true) +ifneq ($(strip $(CONFIG_STATIC_EXECUTABLE)$(BUILD_HOST_static)),) common_LOCAL_SRC_FILES += dynlink-static.c common_LOCAL_LDLIBS += -static endif -- cgit v1.1 From 6f50aa39e741a1d1f3081665d0b7f8d56b7b793c Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Thu, 26 Apr 2012 08:20:18 -0700 Subject: Add an option to set custom size for cache partition Change-Id: I1be43697ee04f46c5839c4d23e461d54eefc450f --- android/cmdline-options.h | 1 + android/help.c | 9 +++++++++ android/main.c | 12 ++++++++++++ 3 files changed, 22 insertions(+) diff --git a/android/cmdline-options.h b/android/cmdline-options.h index eb8ede0..5e8d59f 100644 --- a/android/cmdline-options.h +++ b/android/cmdline-options.h @@ -72,6 +72,7 @@ CFG_PARAM( initdata, "", "same as '-init-data '" ) CFG_PARAM( data, "", "data image (default /userdata-qemu.img" ) CFG_PARAM( partition_size, "", "system/data partition size in MBs" ) CFG_PARAM( cache, "", "cache partition image (default is temporary file)" ) +OPT_PARAM( cache_size, "", "cache partition size in MBs" ) CFG_FLAG ( no_cache, "disable the cache partition" ) CFG_FLAG ( nocache, "same as -no-cache" ) OPT_PARAM( sdcard, "", "SD card image (default /sdcard.img") diff --git a/android/help.c b/android/help.c index c6ffb87..1570160 100644 --- a/android/help.c +++ b/android/help.c @@ -585,6 +585,15 @@ help_cache(stralloc_t* out) } static void +help_cache_size(stralloc_t* out) +{ + PRINTF( + " use '-cache ' to specify a /cache partition size in MB. By default,\n" + " the cache partition size is set to 66MB\n\n" + ); +} + +static void help_no_cache(stralloc_t* out) { PRINTF( diff --git a/android/main.c b/android/main.c index 51d481c..d9d2274 100644 --- a/android/main.c +++ b/android/main.c @@ -723,6 +723,18 @@ int main(int argc, char **argv) } } + if (hw->disk_cachePartition_path && opts->cache_size) { + /* Set cache partition size per user options. */ + char* end; + long sizeMB = strtol(opts->cache_size, &end, 0); + + if (sizeMB < 0 || *end != 0) { + derror( "-cache-size must be followed by a positive integer" ); + exit(1); + } + hw->disk_cachePartition_size = (uint64_t) sizeMB * ONE_MB; + } + /** SD CARD PARTITION */ if (!hw->hw_sdCard) { -- cgit v1.1 From 7136b053b7fc7840ec64e01d1d19ab822e1f949a Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 10 Apr 2012 13:39:24 -0700 Subject: Use new SdkController communication protocol for emulation ports android/sdk-control-socket.* has replaced android/android-device.* as the back-bone of communicating with SDK controller on the device. The major differences are: - New communication protocol uses just one (async) socket connection to communicate with the device (the old one used two sockets: one sync, and another - async). - New communication protocol connects to one TCP port (1970 in this CL) for all emulation ports. Channel multiplexing is done by using port names, and assigning a separate socket for communication inside each separate port. The old protocol had separate TCP ports for each emulation ports (1968 for sensors, and 1969 for multi-touch) Change-Id: I779fcbdfba2f9b4c433a9d76a567975708b00469 --- Makefile.common | 1 - android/android-device.c | 1526 -------------------------------------- android/android-device.h | 321 -------- android/async-socket-connector.c | 2 - android/async-socket-connector.h | 2 + android/async-socket.c | 54 +- android/async-socket.h | 8 + android/hw-sensors.c | 7 +- android/multitouch-port.c | 465 ++++++------ android/multitouch-port.h | 31 +- android/multitouch-screen.c | 58 +- android/multitouch-screen.h | 4 +- android/sdk-controller-socket.c | 996 +++++++++++++++++++------ android/sdk-controller-socket.h | 225 +++++- android/sensors-port.c | 654 +++++++++------- android/sensors-port.h | 27 - 16 files changed, 1626 insertions(+), 2755 deletions(-) delete mode 100644 android/android-device.c delete mode 100644 android/android-device.h diff --git a/Makefile.common b/Makefile.common index 20b6fa7..4382bd2 100644 --- a/Makefile.common +++ b/Makefile.common @@ -478,7 +478,6 @@ CORE_MISC_SOURCES = \ android/hw-pipe-net.c \ android/qemu-setup.c \ android/snapshot.c \ - android/android-device.c \ android/async-socket-connector.c \ android/async-socket.c \ android/sdk-controller-socket.c \ diff --git a/android/android-device.c b/android/android-device.c deleted file mode 100644 index 5f88108..0000000 --- a/android/android-device.c +++ /dev/null @@ -1,1526 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Encapsulates exchange protocol between the emulator, and an Android device - * that is connected to the host via USB. The communication is established over - * a TCP port forwarding, enabled by ADB. - */ - -#include "android/android-device.h" -#include "utils/panic.h" -#include "iolooper.h" - -#define E(...) derror(__VA_ARGS__) -#define W(...) dwarning(__VA_ARGS__) -#define D(...) VERBOSE_PRINT(adevice,__VA_ARGS__) -#define D_ACTIVE VERBOSE_CHECK(adevice) - -/******************************************************************************** - * Common android device socket - *******************************************************************************/ - -/* Milliseconds between retrying asynchronous connections to the device. */ -#define ADS_RETRY_CONNECTION_TIMEOUT 3000 - -/* Socket type. */ -typedef enum ADSType { - /* Query socket. */ - ADS_TYPE_QUERY = 0, - /* Events socket. */ - ADS_TYPE_EVENT = 1 -} ADSType; - -/* Status of the socket. */ -typedef enum ADSStatus { - /* Socket is disconnected. */ - ADS_DISCONNECTED, - /* Connection process has been started. */ - ADS_CONNECTING, - /* Connection has been established. */ - ADS_CONNECTED, - /* Socket has been registered with the server. */ - ADS_REGISTERED, -} ADSStatus; - -/* Identifies socket as a "query" socket with the server. */ -static const char* _ads_query_socket_id = "query"; -/* Identifies socket as an "event" socket with the server. */ -static const char* _ads_event_socket_id = "event"; - -/* Android device socket descriptor. */ -typedef struct AndroidDevSocket AndroidDevSocket; - -/* - * Callback routines. - */ - -/* Callback routine that is called when a socket is connected. - * Param: - * opaque - Opaque pointer associated with the socket. Typicaly it's the same - * pointer that is associated with AndroidDevice instance. - * ads - Connection socket. - * failure - If zero, indicates that socket has been successuly connected. If a - * connection error has occured, this parameter contains the error code (as - * in 'errno). - */ -typedef void (*ads_socket_connected_cb)(void* opaque, - struct AndroidDevSocket* ads, - int failure); - -/* Android device socket descriptor. */ -struct AndroidDevSocket { - /* Socket type. */ - ADSType type; - /* Socket status. */ - ADSStatus socket_status; - /* TCP address for the socket. */ - SockAddress address; - /* Android device descriptor that owns the socket. */ - AndroidDevice* ad; - /* Opaque pointer associated with the socket. Typicaly it's the same - * pointer that is associated with AndroidDevice instance.*/ - void* opaque; - /* Deadline for current I/O performed on the socket. */ - Duration deadline; - /* Socket's file descriptor. */ - int fd; -}; - -/* Query socket descriptor. */ -typedef struct AndroidQuerySocket { - /* Common device socket. */ - AndroidDevSocket dev_socket; -} AndroidQuerySocket; - -/* Describes data to send via an asynchronous socket. */ -typedef struct AsyncSendBuffer { - /* Next buffer to send. */ - struct AsyncSendBuffer* next; - /* Callback to invoke when data transfer is completed. */ - async_send_cb complete_cb; - /* An opaque pointer to pass to the transfer completion callback. */ - void* complete_opaque; - /* Data to send. */ - uint8_t* data; - /* Size of the entire data buffer. */ - int data_size; - /* Remaining bytes to send. */ - int data_remaining; - /* Boolean flag indicating whether to free data buffer upon completion. */ - int free_on_completion; -} AsyncSendBuffer; - -/* Event socket descriptor. */ -typedef struct AndroidEventSocket { - /* Common socket descriptor. */ - AndroidDevSocket dev_socket; - /* Asynchronous connector to the device. */ - AsyncConnector connector[1]; - /* I/O port for asynchronous I/O on this socket. */ - LoopIo io[1]; - /* Asynchronous string reader. */ - AsyncLineReader alr; - /* Callback to call at the end of the asynchronous connection to this socket. - * Can be NULL. */ - ads_socket_connected_cb on_connected; - /* Callback to call when an event is received on this socket. Can be NULL. */ - event_cb on_event; - /* Lists buffers that are pending to be sent. */ - AsyncSendBuffer* send_pending; -} AndroidEventSocket; - -/* Android device descriptor. */ -struct AndroidDevice { - /* Query socket for the device. */ - AndroidQuerySocket query_socket; - /* Event socket for the device. */ - AndroidEventSocket event_socket; - /* An opaque pointer associated with this descriptor. */ - void* opaque; - /* I/O looper for synchronous I/O on the sockets for this device. */ - IoLooper* io_looper; - /* Timer that is used to retry asynchronous connections. */ - LoopTimer timer[1]; - /* I/O looper for asynchronous I/O. */ - Looper* looper; - /* Callback to call when device is fully connected. */ - device_connected_cb on_connected; - /* I/O failure callback .*/ - io_failure_cb on_io_failure; -}; - -/* Creates descriptor for a buffer to send asynchronously. - * Param: - * data, size - Buffer to send. - * free_on_close - Boolean flag indicating whether to free data buffer upon - * completion. - * cb - Callback to invoke when data transfer is completed. - * opaque - An opaque pointer to pass to the transfer completion callback. - */ -static AsyncSendBuffer* -_async_send_buffer_create(void* data, - int size, - int free_on_close, - async_send_cb cb, - void* opaque) -{ - AsyncSendBuffer* desc = malloc(sizeof(AsyncSendBuffer)); - if (desc == NULL) { - APANIC("Unable to allocate %d bytes for AsyncSendBuffer", - sizeof(AsyncSendBuffer)); - } - desc->next = NULL; - desc->data = (uint8_t*)data; - desc->data_size = desc->data_remaining = size; - desc->free_on_completion = free_on_close; - desc->complete_cb = cb; - desc->complete_opaque = opaque; - - return desc; -} - -/* Completes data transfer for the given descriptor. - * Note that this routine will free the descriptor. - * Param: - * desc - Asynchronous data transfer descriptor. Will be freed upon the exit - * from this routine. - * res - Data transfer result. - */ -static void -_async_send_buffer_complete(AsyncSendBuffer* desc, ATResult res) -{ - /* Invoke completion callback (if present) */ - if (desc->complete_cb) { - desc->complete_cb(desc->complete_opaque, res, desc->data, desc->data_size, - desc->data_size - desc->data_remaining); - } - - /* Free data buffer (if required) */ - if (desc->free_on_completion) { - free(desc->data); - } - - /* Free the descriptor itself. */ - free(desc); -} - -/******************************************************************************** - * Common socket declarations - *******************************************************************************/ - -/* Initializes common device socket. - * Param: - * ads - Socket descriptor to initialize. - * opaque - An opaque pointer to associate with the socket. Typicaly it's the - * same pointer that is associated with AndroidDevice instance. - * ad - Android device descriptor that owns the socket. - * port - Socket's TCP port. - * type - Socket type (query, or event). - */ -static int _android_dev_socket_init(AndroidDevSocket* ads, - void* opaque, - AndroidDevice* ad, - int port, - ADSType type); - -/* Destroys socket descriptor. */ -static void _android_dev_socket_destroy(AndroidDevSocket* ads); - -/* Callback that is ivoked from _android_dev_socket_connect when a file - * descriptor has been created for a socket. - * Param: - * ads - Socket descritor. - * opaque - An opaque pointer associated with the callback. - */ -typedef void (*on_socked_fd_created)(AndroidDevSocket* ads, void* opaque); - -/* Synchronously connects to the socket, and registers it with the server. - * Param: - * ads - Socket to connect. Must have 'deadline' field properly setup. - * cb, opaque - A callback to invoke (and opaque parameters to pass to the - * callback) when a file descriptor has been created for a socket. These - * parameters are optional and can be NULL. - * Return: - * 0 on success, -1 on failure with errno containing the reason for failure. - */ -static int _android_dev_socket_connect(AndroidDevSocket* ads, - on_socked_fd_created cb, - void* opaque); - -/* Synchronously registers a connected socket with the server. - * Param: - * ads - Socket to register. Must be connected, and must have 'deadline' field - * properly setup. - * Return: - * 0 on success, -1 on failure with errno containing the reason for failure. - */ -static int _android_dev_socket_register(AndroidDevSocket* ads); - -/* Disconnects the socket (if it was connected) */ -static void _android_dev_socket_disconnect(AndroidDevSocket* ads); - -/* Synchronously sends data to the socket. - * Param: - * ads - Socket to send the data to. Must be connected, and must have 'deadline' - * field properly setup. - * buff, buffsize - Buffer to send. - * Return: - * Number of bytes sent on success, or -1 on failure with errno containing the - * reason for failure. - */ -static int _android_dev_socket_send(AndroidDevSocket* ads, - const char* buff, - int buffsize); - -/* Synchronously receives data from the socket. - * Param: - * ads - Socket to receive the data from. Must be connected, and must have - * 'deadline' field properly setup. - * buff, buffsize - Buffer where to receive data. - * Return: - * Number of bytes received on success, or -1 on failure with errno containing - * the reason for failure. - */ -static int _android_dev_socket_recv(AndroidDevSocket* ads, - char* buf, - int bufsize); - -/* Synchronously reads zero-terminated string from the socket. - * Param: - * ads - Socket to read the string from. Must be connected, and must have - * 'deadline' field properly setup. - * str, strsize - Buffer where to read the string. - * Return: - * Number of charactes read into the string buffer (including zero-terminator) - * on success, or -1 on failure with 'errno' containing the reason for failure. - * If this routine returns -1, and errno contains ENOMEM, this is an indicator - * that supplied string buffer was too small for the receiving string. - */ -static int _android_dev_socket_read_string(AndroidDevSocket* ads, - char* str, - int strsize); - -/* Synchronously reads zero-terminated query response from the socket. - * All queries respond with an 'ok', or 'ko' prefix, indicating a success, or - * failure. Prefix can be followed by more query response data, separated from - * the prefix with a ':' character. This routine helps separating prefix from the - * data, by placing only the query response data into provided buffer. 'ko' or - * 'ok' will be encoded in the return value. - * Param: - * ads - Socket to read the response from. Must be connected, and must have - * 'deadline' field properly setup. - * data, datasize - Buffer where to read the query response data. - * Return: - * Number of charactes read into the data buffer (including zero-terminator) on - * success, or -1 on failure with errno containing the reason for failure. - * If the query has been completed with 'ko', this routine will return -1, with - * errno set to 0. If this routine returned -1, and errno is set to EINVAL, this - * indicates that reply string didn't match expected query reply format. - */ -static int _android_dev_socket_read_response(AndroidDevSocket* ads, - char* str, - int strsize); - -/* Gets ID string for the channel. */ -AINLINED const char* -_ads_id_str(AndroidDevSocket* ads) -{ - return (ads->type == ADS_TYPE_QUERY) ? _ads_query_socket_id : - _ads_event_socket_id; -} - -/* Gets socket's TCP port. */ -AINLINED int -_ads_port(AndroidDevSocket* ads) -{ - return sock_address_get_port(&ads->address); -} - -/* Gets synchronous I/O looper for the socket. */ -AINLINED IoLooper* -_ads_io_looper(AndroidDevSocket* ads) -{ - return ads->ad->io_looper; -} - -/* Sets deadline on a socket operation, given relative timeout. - * Param: - * ads - Socket descriptor to set deadline for. - * to - Relative timeout (in millisec) for the operation. - * AD_INFINITE_WAIT passed in this parameter means "no deadline". - */ -AINLINED void -_ads_set_deadline(AndroidDevSocket* ads, int to) -{ - ads->deadline = (to == AD_INFINITE_WAIT) ? DURATION_INFINITE : - iolooper_now() + to; -} - -/******************************************************************************** - * Common socket implementation - *******************************************************************************/ - -static int -_android_dev_socket_init(AndroidDevSocket* ads, - void* opaque, - AndroidDevice* ad, - int port, - ADSType type) -{ - ads->type = type; - ads->socket_status = ADS_DISCONNECTED; - ads->opaque = opaque; - ads->ad = ad; - ads->fd = -1; - sock_address_init_inet(&ads->address, SOCK_ADDRESS_INET_LOOPBACK, port); - - return 0; -} - -static void -_android_dev_socket_destroy(AndroidDevSocket* ads) -{ - /* Make sure it's disconnected. */ - _android_dev_socket_disconnect(ads); - - /* Finalize socket address. */ - sock_address_done(&ads->address); - memset(&ads->address, 0, sizeof(ads->address)); -} - -static int -_android_dev_socket_connect(AndroidDevSocket* ads, - on_socked_fd_created cb, - void* opaque) -{ - int res; - - /* Create communication socket. */ - ads->fd = socket_create_inet(SOCKET_STREAM); - if (ads->fd < 0) { - D("Unable to create socket for channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - return -1; - } - socket_set_nonblock(ads->fd); - - /* Invoke FD creation callback (if required) */ - if (cb != NULL) { - cb(ads, opaque); - } - - /* Synchronously connect to it. */ - ads->socket_status = ADS_CONNECTING; - iolooper_add_write(_ads_io_looper(ads), ads->fd); - res = socket_connect(ads->fd, &ads->address); - while (res < 0 && errno == EINTR) { - res = socket_connect(ads->fd, &ads->address); - } - - if (res && (errno == EINPROGRESS || errno == EWOULDBLOCK || errno == EAGAIN)) { - /* Connection is delayed. Wait for it until timeout expires. */ - res = iolooper_wait_absolute(_ads_io_looper(ads), ads->deadline); - if (res > 0) { - /* Pick up on possible connection error. */ - errno = socket_get_error(ads->fd); - res = (errno == 0) ? 0 : -1; - } else { - res = -1; - } - } - iolooper_del_write(_ads_io_looper(ads), ads->fd); - - if (res == 0) { - D("Channel '%s'@%d is connected", _ads_id_str(ads), _ads_port(ads)); - /* Socket is connected. Now register it with the server. */ - ads->socket_status = ADS_CONNECTED; - res = _android_dev_socket_register(ads); - } else { - D("Unable to connect channel '%s' to port %d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - } - - if (res) { - _android_dev_socket_disconnect(ads); - } - - return res; -} - -static int -_android_dev_socket_register(AndroidDevSocket* ads) -{ - /* Make sure that socket is connected. */ - if (ads->socket_status < ADS_CONNECTED) { - D("Attempt to register a disconnected channel '%s'@%d", - _ads_id_str(ads), _ads_port(ads)); - errno = ECONNRESET; - return -1; - } - - /* Register this socket accordingly to its type. */ - const char* reg_str = _ads_id_str(ads); - int res = _android_dev_socket_send(ads, reg_str, strlen(reg_str) + 1); - if (res > 0) { - /* Receive reply. Note that according to the protocol, the server should - * reply to channel registration with 'ok', or 'ko' (just like with queries), - * so we can use query reply reader here. */ - char reply[256]; - res = _android_dev_socket_read_response(ads, reply, sizeof(reply)); - if (res >= 0) { - /* Socket is now registered. */ - ads->socket_status = ADS_REGISTERED; - D("Channel '%s'@%d is registered", _ads_id_str(ads), _ads_port(ads)); - res = 0; - } else { - if (errno == 0) { - /* 'ko' condition */ - D("Device failed registration of channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), reply); - errno = EINVAL; - } else { - D("I/O failure while registering channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - } - res = -1; - } - } else { - D("Unable to send registration query for channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - res = -1; - } - - return res; -} - -static void -_android_dev_socket_disconnect(AndroidDevSocket* ads) -{ - /* Preserve errno */ - const int save_error = errno; - if (ads->socket_status != ADS_DISCONNECTED) { - /* Reset I/O looper for this socket. */ - iolooper_modify(_ads_io_looper(ads), ads->fd, - IOLOOPER_READ | IOLOOPER_WRITE, 0); - - /* Mark as disconnected. */ - ads->socket_status = ADS_DISCONNECTED; - - /* Close socket. */ - if (ads->fd >= 0) { - socket_close(ads->fd); - ads->fd = -1; - } - } - errno = save_error; -} - -static int -_android_dev_socket_send(AndroidDevSocket* ads, const char* buff, int to_send) -{ - int sent = 0; - - /* Make sure that socket is connected. */ - if (ads->socket_status < ADS_CONNECTED) { - D("Attempt to send via disconnected channel '%s'@%d", - _ads_id_str(ads), _ads_port(ads)); - errno = ECONNRESET; - return -1; - } - - iolooper_add_write(_ads_io_looper(ads), ads->fd); - do { - int res = socket_send(ads->fd, buff + sent, to_send - sent); - if (res == 0) { - /* Disconnection. */ - errno = ECONNRESET; - sent = -1; - break; - } - - if (res < 0) { - if (errno == EINTR) { - /* loop on EINTR */ - continue; - } - - if (errno == EWOULDBLOCK || errno == EAGAIN) { - res = iolooper_wait_absolute(_ads_io_looper(ads), ads->deadline); - if (res > 0) { - /* Ready to write. */ - continue; - } - } - sent = -1; - break; - } - sent += res; - } while (sent < to_send); - iolooper_del_write(_ads_io_looper(ads), ads->fd); - - /* In case of an I/O failure we have to invoke failure callback. Note that we - * report I/O failures only on registered sockets. */ - if (sent < 0) { - D("I/O error while sending data via channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - - if (ads->ad->on_io_failure != NULL && ads->socket_status > ADS_CONNECTED) { - const char save_error = errno; - ads->ad->on_io_failure(ads->opaque, ads->ad, save_error); - errno = save_error; - } - } - - return sent; -} - -static int -_android_dev_socket_recv(AndroidDevSocket* ads, char* buf, int bufsize) -{ - int recvd = 0; - - /* Make sure that socket is connected. */ - if (ads->socket_status < ADS_CONNECTED) { - D("Attempt to receive from disconnected channel '%s'@%d", - _ads_id_str(ads), _ads_port(ads)); - errno = ECONNRESET; - return -1; - } - - iolooper_add_read(_ads_io_looper(ads), ads->fd); - do { - int res = socket_recv(ads->fd, buf + recvd, bufsize - recvd); - if (res == 0) { - /* Disconnection. */ - errno = ECONNRESET; - recvd = -1; - break; - } - - if (res < 0) { - if (errno == EINTR) { - /* loop on EINTR */ - continue; - } - - if (errno == EWOULDBLOCK || errno == EAGAIN) { - res = iolooper_wait_absolute(_ads_io_looper(ads), ads->deadline); - if (res > 0) { - /* Ready to read. */ - continue; - } - } - recvd = -1; - break; - } - recvd += res; - } while (recvd < bufsize); - iolooper_del_read(_ads_io_looper(ads), ads->fd); - - /* In case of an I/O failure we have to invoke failure callback. Note that we - * report I/O failures only on registered sockets. */ - if (recvd < 0) { - D("I/O error while receiving from channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - - if (ads->ad->on_io_failure != NULL && ads->socket_status > ADS_CONNECTED) { - const char save_error = errno; - ads->ad->on_io_failure(ads->opaque, ads->ad, save_error); - errno = save_error; - } - } - - return recvd; -} - -static int -_android_dev_socket_read_string(AndroidDevSocket* ads, char* str, int strsize) -{ - int n; - - /* Char by char read from the socket, until zero-terminator is read. */ - for (n = 0; n < strsize; n++) { - if (_android_dev_socket_recv(ads, str + n, 1) > 0) { - if (str[n] == '\0') { - /* Done. */ - return n + 1; /* Including zero-terminator. */ - } - } else { - /* I/O error. */ - return -1; - } - } - - /* Buffer was too small. Report that by setting errno to ENOMEM. */ - D("Buffer %d is too small to receive a string from channel '%s'@%d", - strsize, _ads_id_str(ads), _ads_port(ads)); - errno = ENOMEM; - return -1; -} - -static int -_android_dev_socket_read_response(AndroidDevSocket* ads, char* data, int datasize) -{ - int n, res; - int success = 0; - int failure = 0; - int bad_format = 0; - char ok[4]; - - *data = '\0'; - - /* Char by char read from the socket, until ok/ko is read. */ - for (n = 0; n < 2; n++) { - res = _android_dev_socket_recv(ads, ok + n, 1); - if (res > 0) { - if (ok[n] == '\0') { - /* EOS is unexpected here! */ - D("Bad query reply format on channel '%s'@%d: '%s' is too short.", - _ads_id_str(ads), _ads_port(ads), ok); - errno = EINVAL; - return -1; - } - } else { - /* I/O error. */ - return -1; - } - } - - /* Next character must be either ':', or '\0' */ - res = _android_dev_socket_recv(ads, ok + n, 1); - if (res <= 0) { - /* I/O error. */ - return -1; - } - - /* - * Verify format. - */ - - /* Check ok / ko */ - success = memcmp(ok, "ok", 2) == 0; - failure = memcmp(ok, "ko", 2) == 0; - - /* Check the prefix: 'ok'|'ko' & ':'|'\0' */ - if ((success || failure) && (ok[n] == '\0' || ok[n] == ':')) { - /* Format is good. */ - if (ok[n] == '\0') { - /* We're done: no extra data in response. */ - errno = 0; - return success ? 0 : -1; - } - /* Reset buffer offset, so we will start to read the remaining query - * data to the beginning of the supplied buffer. */ - n = 0; - } else { - /* Bad format. Lets move what we've read to the main buffer, and - * continue filling it in. */ - bad_format = 1; - n++; - memcpy(data, ok, n); - } - - /* Read the remainder of reply to the supplied data buffer. */ - res = _android_dev_socket_read_string(ads, data + n, datasize - n); - if (res < 0) { - return res; - } - - /* Lets see if format was bad */ - if (bad_format) { - D("Bad query reply format on channel '%s'@%d: %s.", - _ads_id_str(ads), _ads_port(ads), data); - errno = EINVAL; - return -1; - } else { - errno = 0; - return success ? n : -1; - } -} - -/******************************************************************************** - * Query socket declarations - *******************************************************************************/ - -/* Initializes query socket descriptor. - * Param: - * adsquery - Socket descriptor to initialize. - * opaque - An opaque pointer to associate with the socket. Typicaly it's the - * same pointer that is associated with AndroidDevice instance. - * ad - Android device descriptor that owns the socket. - * port - TCP socket port. - */ -static int _android_query_socket_init(AndroidQuerySocket* adsquery, - void* opaque, - AndroidDevice* ad, - int port); - -/* Destroys query socket descriptor. */ -static void _android_query_socket_destroy(AndroidQuerySocket* adsquery); - -/* Synchronously connects the query socket, and registers it with the server. - * Param: - * adsquery - Descriptor for the query socket to connect. Must have 'deadline' - * field properly setup. - * cb - Callback to invoke when socket connection is completed. Can be NULL. - * Return: - * Zero on success, or non-zero on failure. - */ -static int _android_query_socket_connect(AndroidQuerySocket* adsquery); - -/* Disconnects the query socket. */ -static void _android_query_socket_disconnect(AndroidQuerySocket* adsquery); - -/******************************************************************************** - * Query socket implementation - *******************************************************************************/ - -static int -_android_query_socket_init(AndroidQuerySocket* adsquery, - void* opaque, - AndroidDevice* ad, - int port) -{ - return _android_dev_socket_init(&adsquery->dev_socket, opaque, ad, port, - ADS_TYPE_QUERY); -} - -static void -_android_query_socket_destroy(AndroidQuerySocket* adsquery) -{ - _android_query_socket_disconnect(adsquery); - _android_dev_socket_destroy(&adsquery->dev_socket); -} - -static int -_android_query_socket_connect(AndroidQuerySocket* adsquery) -{ - return _android_dev_socket_connect(&adsquery->dev_socket, NULL, NULL); -} - -static void -_android_query_socket_disconnect(AndroidQuerySocket* adsquery) -{ - _android_dev_socket_disconnect(&adsquery->dev_socket); -} - -/******************************************************************************** - * Events socket declarations - *******************************************************************************/ - -/* Initializes event socket descriptor. - * Param: - * adsevent - Socket descriptor to initialize. - * opaque - An opaque pointer to associate with the socket. Typicaly it's the - * same pointer that is associated with AndroidDevice instance. - * ad - Android device descriptor that owns the socket. - * port - TCP socket port. - */ -static int _android_event_socket_init(AndroidEventSocket* adsevent, - void* opaque, - AndroidDevice* ad, - int port); - -/* Destroys the event socket descriptor. */ -static void _android_event_socket_destroy(AndroidEventSocket* adsevent); - -/* Synchronously connects event socket. - * Param: - * adsevent - Descriptor for the event socket to connect. Must have 'deadline' - * field properly setup. - * Return: - * Zero on success, or non-zero on failure. - */ -static int _android_event_socket_connect_sync(AndroidEventSocket* adsevent); - -/* Initiates asynchronous event socket connection. - * Param: - * adsevent - Descriptor for the event socket to connect. Must have 'deadline' - * field properly setup. - * cb - Callback to invoke when socket connection is completed. Can be NULL. - * Return: - * Zero on success, or non-zero on failure. - */ -static int _android_event_socket_connect_async(AndroidEventSocket* adsevent, - ads_socket_connected_cb cb); - -/* Disconnects the event socket. */ -static void _android_event_socket_disconnect(AndroidEventSocket* adsevent); - -/* Initiates listening on the event socket. - * Param: - * adsevent - Descriptor for the event socket to listen on. - * str, strsize - Buffer where to read the string. - * cb - A callback to call when the event string is read. Can be NULL. - * Return: - * Zero on success, or non-zero on failure. - */ -static int _android_event_socket_listen(AndroidEventSocket* adsevent, - char* str, - int strsize, - event_cb cb); - -/* Asynchronously sends data via event socket. - * Param: - * adsevent - Descriptor for the event socket to send data to. - * data, size - Buffer containing data to send. - * free_on_close - A boolean flag indicating whether the data buffer should be - * freed upon data transfer completion. - * cb - Callback to invoke when data transfer is completed. - * opaque - An opaque pointer to pass to the transfer completion callback. - */ -static int _android_event_socket_send(AndroidEventSocket* adsevent, - void* data, - int size, - int free_on_close, - async_send_cb cb, - void* opaque); - -/* Cancels all asynchronous data transfers on the event socket. - * Param: - * adsevent - Descriptor for the event socket to cancel data transfer. - * reason - Reason for the cancellation. - */ -static void _android_event_socket_cancel_send(AndroidEventSocket* adsevent, - ATResult reason); - -/* Event socket's asynchronous I/O looper callback. - * Param: - * opaque - AndroidEventSocket instance. - * fd - Socket's FD. - * events - I/O type bitsmask (read | write). - */ -static void _on_event_socket_io(void* opaque, int fd, unsigned events); - -/* Callback that is invoked when asynchronous event socket connection is - * completed. */ -static void _on_event_socket_connected(AndroidEventSocket* adsevent, int failure); - -/* Callback that is invoked when an event is received from the device. */ -static void _on_event_received(AndroidEventSocket* adsevent); - -/* Gets I/O looper for asynchronous I/O on event socket. */ -AINLINED Looper* -_aes_looper(AndroidEventSocket* adsevent) -{ - return adsevent->dev_socket.ad->looper; -} - -/******************************************************************************** - * Events socket implementation - *******************************************************************************/ - -static int -_android_event_socket_init(AndroidEventSocket* adsevent, - void* opaque, - AndroidDevice* ad, - int port) -{ - return _android_dev_socket_init(&adsevent->dev_socket, opaque, ad, port, - ADS_TYPE_EVENT); -} - -static void -_android_event_socket_destroy(AndroidEventSocket* adsevent) -{ - _android_event_socket_disconnect(adsevent); - _android_dev_socket_destroy(&adsevent->dev_socket); -} - -/* A callback invoked when file descriptor is created for the event socket. - * We use this callback to initialize the event socket for async I/O right after - * the FD has been created. - */ -static void -_on_event_fd_created(AndroidDevSocket* ads, void* opaque) -{ - AndroidEventSocket* adsevent = (AndroidEventSocket*)opaque; - /* Prepare for async I/O on the event socket. */ - loopIo_init(adsevent->io, _aes_looper(adsevent), ads->fd, - _on_event_socket_io, adsevent); -} - -static int -_android_event_socket_connect_sync(AndroidEventSocket* adsevent) -{ - return _android_dev_socket_connect(&adsevent->dev_socket, - _on_event_fd_created, adsevent); -} - -static int -_android_event_socket_connect_async(AndroidEventSocket* adsevent, - ads_socket_connected_cb cb) -{ - AsyncStatus status; - AndroidDevSocket* ads = &adsevent->dev_socket; - - /* Create asynchronous socket. */ - ads->fd = socket_create_inet(SOCKET_STREAM); - if (ads->fd < 0) { - D("Unable to create socket for channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - if (cb != NULL) { - cb(ads->opaque, ads, errno); - } - return -1; - } - socket_set_nonblock(ads->fd); - - /* Prepare for async I/O on the event socket. */ - loopIo_init(adsevent->io, _aes_looper(adsevent), ads->fd, - _on_event_socket_io, adsevent); - - /* Try to connect. */ - ads->socket_status = ADS_CONNECTING; - adsevent->on_connected = cb; - status = asyncConnector_init(adsevent->connector, &ads->address, adsevent->io); - switch (status) { - case ASYNC_COMPLETE: - /* We're connected to the device socket. */ - ads->socket_status = ADS_CONNECTED; - _on_event_socket_connected(adsevent, 0); - break; - case ASYNC_ERROR: - _on_event_socket_connected(adsevent, errno); - break; - case ASYNC_NEED_MORE: - /* Attempt to connect would block, so connection competion is - * delegates to the looper's I/O routine. */ - default: - break; - } - - return 0; -} - -static void -_android_event_socket_disconnect(AndroidEventSocket* adsevent) -{ - AndroidDevSocket* ads = &adsevent->dev_socket; - - if (ads->socket_status != ADS_DISCONNECTED) { - /* Cancel data transfer. */ - _android_event_socket_cancel_send(adsevent, ATR_DISCONNECT); - - /* Stop all async I/O. */ - loopIo_done(adsevent->io); - - /* Disconnect common socket. */ - _android_dev_socket_disconnect(ads); - } -} - -static int -_android_event_socket_listen(AndroidEventSocket* adsevent, - char* str, - int strsize, - event_cb cb) -{ - AsyncStatus status; - AndroidDevSocket* ads = &adsevent->dev_socket; - - /* Make sure that device is connected. */ - if (ads->socket_status < ADS_CONNECTED) { - D("Attempt to listen on a disconnected channel '%s'@%d", - _ads_id_str(ads), _ads_port(ads)); - errno = ECONNRESET; - return -1; - } - - /* NOTE: only one reader at any given time! */ - adsevent->on_event = cb; - asyncLineReader_init(&adsevent->alr, str, strsize, adsevent->io); - /* Default EOL for the line reader was '\n'. */ - asyncLineReader_setEOL(&adsevent->alr, '\0'); - status = asyncLineReader_read(&adsevent->alr); - if (status == ASYNC_COMPLETE) { - /* Data has been transferred immediately. Do the callback here. */ - _on_event_received(adsevent); - } else if (status == ASYNC_ERROR) { - D("Error while listening on channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - /* There is one special failure here, when buffer was too small to - * contain the entire string. This is not an I/O, but rather a - * protocol error. So we don't report it to the I/O failure - * callback. */ - if (errno == ENOMEM) { - _on_event_received(adsevent); - } else { - if (ads->ad->on_io_failure != NULL) { - ads->ad->on_io_failure(ads->ad->opaque, ads->ad, errno); - } - } - return -1; - } - return 0; -} - -static int -_android_event_socket_send(AndroidEventSocket* adsevent, - void* data, - int size, - int free_on_close, - async_send_cb cb, - void* opaque) -{ - /* Create data transfer descriptor, and place it at the end of the list. */ - AsyncSendBuffer* const desc = - _async_send_buffer_create(data, size, free_on_close, cb, opaque); - AsyncSendBuffer** place = &adsevent->send_pending; - while (*place != NULL) { - place = &((*place)->next); - } - *place = desc; - - /* We're ready to transfer data. */ - loopIo_wantWrite(adsevent->io); - - return 0; -} - -static void -_android_event_socket_cancel_send(AndroidEventSocket* adsevent, ATResult reason) -{ - while (adsevent->send_pending != NULL) { - AsyncSendBuffer* const to_cancel = adsevent->send_pending; - adsevent->send_pending = to_cancel->next; - _async_send_buffer_complete(to_cancel, reason); - } - loopIo_dontWantWrite(adsevent->io); -} - -static void -_on_event_socket_io(void* opaque, int fd, unsigned events) -{ - AsyncStatus status; - AndroidEventSocket* adsevent = (AndroidEventSocket*)opaque; - AndroidDevSocket* ads = &adsevent->dev_socket; - - /* Lets see if we're still wating on a connection to occur. */ - if (ads->socket_status == ADS_CONNECTING) { - /* Complete socket connection. */ - status = asyncConnector_run(adsevent->connector); - if (status == ASYNC_COMPLETE) { - /* We're connected to the device socket. */ - ads->socket_status = ADS_CONNECTED; - D("Channel '%s'@%d is connected asynchronously", - _ads_id_str(ads), _ads_port(ads)); - _on_event_socket_connected(adsevent, 0); - } else if (status == ASYNC_ERROR) { - _on_event_socket_connected(adsevent, adsevent->connector->error); - } - return; - } - - /* - * Device is connected. Continue with the data transfer. - */ - - if ((events & LOOP_IO_READ) != 0) { - /* Continue reading data. */ - status = asyncLineReader_read(&adsevent->alr); - if (status == ASYNC_COMPLETE) { - errno = 0; - _on_event_received(adsevent); - } else if (status == ASYNC_ERROR) { - D("I/O failure while reading from channel '%s'@%d: %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - /* There is one special failure here, when buffer was too small to - * contain the entire string. This is not an I/O, but rather a - * protocol error. So we don't report it to the I/O failure - * callback. */ - if (errno == ENOMEM) { - _on_event_received(adsevent); - } else { - if (ads->ad->on_io_failure != NULL) { - ads->ad->on_io_failure(ads->ad->opaque, ads->ad, errno); - } - } - } - } - - if ((events & LOOP_IO_WRITE) != 0) { - while (adsevent->send_pending != NULL) { - AsyncSendBuffer* to_send = adsevent->send_pending; - const int offset = to_send->data_size - to_send->data_remaining; - const int sent = socket_send(ads->fd, to_send->data + offset, - to_send->data_remaining); - if (sent < 0) { - if (errno == EWOULDBLOCK) { - /* Try again later. */ - return; - } else { - /* An error has occured. */ - _android_event_socket_cancel_send(adsevent, ATR_IO_ERROR); - if (ads->ad->on_io_failure != NULL) { - ads->ad->on_io_failure(ads->ad->opaque, ads->ad, errno); - } - return; - } - } else if (sent == 0) { - /* Disconnect condition. */ - _android_event_socket_cancel_send(adsevent, ATR_DISCONNECT); - if (ads->ad->on_io_failure != NULL) { - ads->ad->on_io_failure(ads->ad->opaque, ads->ad, errno); - } - return; - } else if (sent == to_send->data_remaining) { - /* All data is sent. */ - errno = 0; - adsevent->send_pending = to_send->next; - _async_send_buffer_complete(to_send, ATR_SUCCESS); - } else { - /* Chunk is sent. */ - to_send->data_remaining -= sent; - return; - } - } - loopIo_dontWantWrite(adsevent->io); - } -} - -static void -_on_event_socket_connected(AndroidEventSocket* adsevent, int failure) -{ - int res; - AndroidDevSocket* ads = &adsevent->dev_socket; - - if (failure) { - _android_event_socket_disconnect(adsevent); - if (adsevent->on_connected != NULL) { - adsevent->on_connected(ads->opaque, ads, failure); - } - return; - } - - /* Complete event socket connection by identifying it as "event" socket with - * the application. */ - ads->socket_status = ADS_CONNECTED; - res = _android_dev_socket_register(ads); - - if (res) { - const int save_error = errno; - _android_event_socket_disconnect(adsevent); - errno = save_error; - } - - /* Notify callback about connection completion. */ - if (adsevent->on_connected != NULL) { - if (res) { - adsevent->on_connected(ads->opaque, ads, errno); - } else { - adsevent->on_connected(ads->opaque, ads, 0); - } - } -} - -static void -_on_event_received(AndroidEventSocket* adsevent) -{ - if (adsevent->on_event != NULL) { - AndroidDevice* ad = adsevent->dev_socket.ad; - adsevent->on_event(ad->opaque, ad, (char*)adsevent->alr.buffer, - adsevent->alr.pos); - } -} - -/******************************************************************************** - * Android device connection - *******************************************************************************/ - -/* Callback that is invoked when event socket is connected and registered as part - * of the _android_device_connect_async API. - * Param: - * opaque - Opaque pointer associated with AndroidDevice instance. - * ads - Common socket descriptor for the event socket. - * failure - If zero connection has succeeded, otherwise contains 'errno'-reason - * for connection failure. - */ -static void -_on_android_device_connected_async(void* opaque, - AndroidDevSocket* ads, - int failure) -{ - int res; - AndroidDevice* ad = ads->ad; - - if (failure) { - /* Depending on the failure code we will either retry, or bail out. */ - switch (failure) { - case EPIPE: - case EAGAIN: - case EINPROGRESS: - case EALREADY: - case EHOSTUNREACH: - case EHOSTDOWN: - case ECONNREFUSED: - case ESHUTDOWN: - case ENOTCONN: - case ECONNRESET: - case ECONNABORTED: - case ENETRESET: - case ENETUNREACH: - case ENETDOWN: - case EBUSY: -#if !defined(_DARWIN_C_SOURCE) && !defined(_WIN32) - case ERESTART: - case ECOMM: - case ENONET: -#endif /* !_DARWIN_C_SOURCE && !_WIN32 */ - /* Device is not available / reachable at the moment. - * Retry connection later. */ - loopTimer_startRelative(ad->timer, ADS_RETRY_CONNECTION_TIMEOUT); - return; - default: - D("Failed to asynchronously connect channel '%s':%d %s", - _ads_id_str(ads), _ads_port(ads), strerror(errno)); - if (ad->on_connected != NULL) { - ad->on_connected(ad->opaque, ad, failure); - } - break; - } - return; - } - - /* Event socket is connected. Connect the query socket now. Give it 5 - * seconds to connect. */ - _ads_set_deadline(&ad->query_socket.dev_socket, 5000); - res = _android_query_socket_connect(&ad->query_socket); - if (res == 0) { - /* Query socket is connected. */ - if (ad->on_connected != NULL) { - ad->on_connected(ad->opaque, ad, 0); - } - } else { - /* If connection completion has failed - disconnect the sockets. */ - _android_event_socket_disconnect(&ad->event_socket); - _android_query_socket_disconnect(&ad->query_socket); - - if (ad->on_connected != NULL) { - ad->on_connected(ad->opaque, ad, errno); - } - } -} - -static void -_on_timer(void* opaque) -{ - /* Retry the connection. */ - AndroidDevice* ad = (AndroidDevice*)opaque; - android_device_connect_async(ad, ad->on_connected); -} - -/* Destroys and frees the descriptor. */ -static void -_android_device_free(AndroidDevice* ad) -{ - if (ad != NULL) { - _android_event_socket_destroy(&ad->event_socket); - _android_query_socket_destroy(&ad->query_socket); - - /* Delete asynchronous I/O looper. */ - if (ad->looper != NULL ) { - loopTimer_done(ad->timer); - looper_free(ad->looper); - } - - /* Delete synchronous I/O looper. */ - if (ad->io_looper != NULL) { - iolooper_reset(ad->io_looper); - iolooper_free(ad->io_looper); - } - - AFREE(ad); - } -} - -/******************************************************************************** - * Android device API - *******************************************************************************/ - -AndroidDevice* -android_device_init(void* opaque, int port, io_failure_cb on_io_failure) -{ - int res; - AndroidDevice* ad; - - ANEW0(ad); - - ad->opaque = opaque; - ad->on_io_failure = on_io_failure; - - /* Create I/O looper for synchronous I/O on the device. */ - ad->io_looper = iolooper_new(); - if (ad->io_looper == NULL) { - E("Unable to create synchronous I/O looper for android device."); - _android_device_free(ad); - return NULL; - } - - /* Create a looper for asynchronous I/O on the device. */ - ad->looper = looper_newCore(); - if (ad->looper != NULL) { - /* Create a timer that will be used for connection retries. */ - loopTimer_init(ad->timer, ad->looper, _on_timer, ad); - } else { - E("Unable to create asynchronous I/O looper for android device."); - _android_device_free(ad); - return NULL; - } - - /* Init query socket. */ - res = _android_query_socket_init(&ad->query_socket, opaque, ad, port); - if (res) { - _android_device_free(ad); - return NULL; - } - - /* Init event socket. */ - res = _android_event_socket_init(&ad->event_socket, opaque, ad, port); - if (res) { - _android_device_free(ad); - return NULL; - } - - return ad; -} - -void -android_device_destroy(AndroidDevice* ad) -{ - if (ad != NULL) { - _android_device_free(ad); - } -} - -int -android_device_connect_sync(AndroidDevice* ad, int to) -{ - int res; - - /* Setup deadline for the connections. */ - _ads_set_deadline(&ad->query_socket.dev_socket, to); - ad->event_socket.dev_socket.deadline = ad->query_socket.dev_socket.deadline; - - /* Connect the query socket first. */ - res = _android_query_socket_connect(&ad->query_socket); - if (!res) { - /* Connect to the event socket next. */ - res = _android_event_socket_connect_sync(&ad->event_socket); - } - - return res; -} - -int -android_device_connect_async(AndroidDevice* ad, device_connected_cb on_connected) -{ - /* No deadline for async connections. */ - ad->query_socket.dev_socket.deadline = DURATION_INFINITE; - ad->event_socket.dev_socket.deadline = DURATION_INFINITE; - - /* Connect to the event socket first, and delegate query socket connection - * into callback invoked when event socket is connected. NOTE: In case of - * failure 'on_connected' callback has already been called from - * _on_android_device_connected_async routine. */ - ad->on_connected = on_connected; - return _android_event_socket_connect_async(&ad->event_socket, - _on_android_device_connected_async); -} - -void -android_device_disconnect(AndroidDevice* ad) -{ - _android_event_socket_disconnect(&ad->event_socket); - _android_query_socket_disconnect(&ad->query_socket); -} - -int -android_device_query(AndroidDevice* ad, - const char* query, - char* buff, - size_t buffsize, - int to) -{ - int res; - - /* Setup deadline for the query. */ - _ads_set_deadline(&ad->query_socket.dev_socket, to); - - /* Send the query. */ - res = _android_dev_socket_send(&ad->query_socket.dev_socket, query, - strlen(query) + 1); - if (res > 0) { - /* Receive the response. */ - res = _android_dev_socket_read_response(&ad->query_socket.dev_socket, - buff, buffsize); - return (res >= 0) ? 0 : -1; - } - - return -1; -} - -int -android_device_start_query(AndroidDevice* ad, const char* query, int to) -{ - int res; - - /* Setup deadline for the query. */ - _ads_set_deadline(&ad->query_socket.dev_socket, to); - - /* Send the query header. */ - res = _android_dev_socket_send(&ad->query_socket.dev_socket, query, - strlen(query) + 1); - return (res > 0) ? 0 : -1; -} - -int -android_device_send_query_data(AndroidDevice* ad, const void* data, int size) -{ - return _android_dev_socket_send(&ad->query_socket.dev_socket, data, size); -} - -int -android_device_complete_query(AndroidDevice* ad, char* buff, size_t buffsize) -{ - /* Receive the response to the query. */ - const int res = _android_dev_socket_read_response(&ad->query_socket.dev_socket, - buff, buffsize); - return (res >= 0) ? 0 : -1; -} - -int -android_device_listen(AndroidDevice* ad, - char* buff, - int buffsize, - event_cb on_event) -{ - return _android_event_socket_listen(&ad->event_socket, buff, buffsize, - on_event); -} - -int -android_device_send_async(AndroidDevice* ad, - void* data, - int size, - int free_on_close, - async_send_cb cb, - void* opaque) -{ - return _android_event_socket_send(&ad->event_socket, data, size, - free_on_close, cb, opaque); -} diff --git a/android/android-device.h b/android/android-device.h deleted file mode 100644 index 6825819..0000000 --- a/android/android-device.h +++ /dev/null @@ -1,321 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ANDROID_ANDROID_DEVICE_H_ -#define ANDROID_ANDROID_DEVICE_H_ - -/* - * Encapsulates an exchange protocol between the emulator, and an Android device - * that is connected to the host via USB. The communication is established over - * a TCP port forwarding, enabled by ADB (always use 'adb -d forward ...' variant - * of this command, so ADB will know to enable port forwarding on the connected - * device, and not on the emulator's guest system). - * - * Exchange protocol contains two channel: - * - * - Query channel. - * - Event channel. - * - * Both channels are implemented on top of TCP sockets that are connected to the - * same port. - * - * I QUERY CHANNEL. - * Query channel is intended to send queries to and receive responses from the - * connected device. It is implemented on top of iolooper_xxx API (see iolooper.h) - * because it must work outside of the main event loop. This is required to enable - * proper initialization of components (such as sensors) that must be set up - * before emulator enters the main loop. - * - * II EVENT CHANNEL. - * Event channel is intended to listen on events sent from the device, and - * asynchronously report them back to the client of this API by invoking an event - * callback that was registered by the client. Event channel is implemented on - * top of asyncXxx API (see android/async-utils.*). Note that using of asyncXxx - * API limits the use of event channel to the time after the emulator has entered - * its main event loop. The only exception is if event channel is connected from - * android_device_connect_sync API, in which case iolooper_xxx API is used to - * establish the connection. However, even in this case listening for events will - * not be available until after the emulator enters its event loop, since event - * listening always uses asyncXxx API. - * - * III. ESTABLISHING CONNECTION. - * ADB port forwarding requires that the server socket is to be run on the device, - * while emulator must use a client socket for communication. Thus, it's the - * emulator that initiates the connection. - * - * There are two ways how emulator can initiate the connection: - * - * - Synchronous connection. - * - Asynchronous connection. - * - * III.I SYNCHROUNOUS CONNECTION. - * Synchronous connection is initiated via android_device_connect_sync API, and - * completes synchronously. - * - * This API should be used when connection with the device is required at the time - * of the call. For instance, when initializing sensor emulation, connection with - * the device is required to properly set up the emulator before the guest system - * starts, and before emulator enters its main event loop. - * - * III.II ASYNCHRONOUS CONNECTION. - * Asynchronous connection is initiated via android_device_connect_async API. The - * main difference with the synchronous connection is that this API will not fail - * if connection is not immediately available. If connection is not available at - * the time of the call, the API will schedule a retry (based on a timer), and - * will continue reprying untill connection becomes available, or until an error - * occurs that prevent further retries. - * - * This API should be used when ... Well, whenever appropriate. For instance, - * sensor emulation will use this API to restore lost connection with the device. - * - * NOTE: Asynchronous connection will complete no sooner than the emulator enters - * its main loop. - * - * IV EXCHANGE PROTOCOL. - * Obviously, there must be some application running on the device, that implements - * a socket server listening on the forwarded TCP port, and accepting the clients. - * - * IV.I Query vs. event channel. - * The exchange protocol assumes, that when a channel is connected, it will - * identify itself by sending a string containing channel type. Only after such - * identification has been made the channel becomes available for use. - * - * IV.II Message format. - * All data that is transferred in both directions over both channels are zero- - * terminated strings. - */ - -#include "qemu-common.h" -#include "android/async-utils.h" -#include "android/utils/debug.h" - -/* TCP port reserved for sensor emulation. */ -#define AD_SENSOR_PORT 1968 - -/* Definis infinite timeout. */ -#define AD_INFINITE_WAIT -1 - -/* Enumerates results of asynchronous data transfer. - */ -typedef enum ATResult { - /* Data transfer has been completed. */ - ATR_SUCCESS, - /* Socket got disconnected while data transfer has been in progress. */ - ATR_DISCONNECT, - /* An I/O error has occured. 'errno' contains error value. */ - ATR_IO_ERROR, -} ATResult; - -/* Android device descriptor. */ -typedef struct AndroidDevice AndroidDevice; - -/******************************************************************************** - * Callback declarations - *******************************************************************************/ - -/* Callback routine that is invoked when android device is connected, or failed - * to connect. As discussed above, this callback is called when both, query and - * event channels have been connected. This callback is used only for asynchronous - * connections. - * Param: - * opaque - Opaque pointer that was passed to android_device_init API. - * ad - Androd device descriptor for the connection. - * failure - Zero indicates that connection with the device has been successfuly - * established. Non-zero vaule passed in this parameter indicates a failure, - * and contains 'errno'-reason for failure. - */ -typedef void (*device_connected_cb)(void* opaque, AndroidDevice* ad, int failure); - -/* Callback routine that is invoked on an event received in the event channel. - * NOTE: It's important to check 'errno' in this callback. If 'errno' is set to - * ENOMEM, this signals that buffer passed to android_device_listen was too small - * to contain the entire event message. - * Param: - * opaque - Opaque pointer that was passed to android_device_init API. - * ad - Androd device descriptor for the connection. - * msg - Event message (a zero-terminated string) received from the device. - * msgsize - Event message size (including zero-terminator). - */ -typedef void (*event_cb)(void* opaque, AndroidDevice* ad, char* msg, int msgsize); - -/* Callback routine that is invoked when an I/O failure occurs on a channel. - * Note that this callback will not be invoked on connection failures. - * Param: - * opaque - Opaque pointer that was passed to android_device_init API. - * ad - Android device instance - * failure - Contains 'errno' indicating the reason for failure. - */ -typedef void (*io_failure_cb)(void* opaque, AndroidDevice* ad, int failure); - -/* Callback routine that is invoked when an asynchronous data send has been - * completed. - * Param: - * opaque - An opaque pointer associated with the data. - * res - Result of data transfer. - * data, size - Transferred data buffer. - * sent - Number of sent bytes. - */ -typedef void (*async_send_cb)(void* opaque, - ATResult res, - void* data, - int size, - int sent); - -/******************************************************************************** - * Android Device API. - *******************************************************************************/ - -/* Initializes android device descriptor. - * Param: - * opaque - An opaque pointer to associate with the descriptor. This pointer - * will be passed to all callbacks (see above) that were invoked by the - * initializing android device instance. - * port - TCP port to use for connection. - * on_io_failure - Callback to invoke when an I/O failure occurs on a channel - * used by the initializing android device instance. Can be NULL. - * Return: - * Initialized android device descriptor on success, or NULL on failure. - */ -extern AndroidDevice* android_device_init(void* opaque, - int port, - io_failure_cb on_io_failure); - -/* Disconnects and destroys android device descriptor. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * Note that memory allocated for this descriptor will be freed in this - * routine. - */ -extern void android_device_destroy(AndroidDevice* ad); - -/* Synchronously connects to the device. See notes above for more details. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * to - Milliseconds to wait for connection to be established. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set. - */ -extern int android_device_connect_sync(AndroidDevice* ad, int to); - -/* Asynchronously connects to the device. See notes above for more details. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * on_connected - Callback to invoke when connection is completed (i,e, both, - * event, and query channels have been connected). This parameter can be - * NULL. Note that connection errors will be also reported through this - * callback. Also note that this callback will be invoked even if this - * routine returns with a failure. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set. - */ -extern int android_device_connect_async(AndroidDevice* ad, - device_connected_cb on_connected); - -/* Disconnects from the android device. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - */ -extern void android_device_disconnect(AndroidDevice* ad); - -/* Queries the device via query channel. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * query - Zero-terminated query string. - * buff, buffsize - Buffer where to receive the response to the query. - * to - Milliseconds to wait for the entire query to complete. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set: - * - 0 Indicates that the server has failed the query. - * - Anything else indicates an I/O error. - */ -extern int android_device_query(AndroidDevice* ad, - const char* query, - char* buff, - size_t buffsize, - int to); - -/* Starts a query that may require more than one buffer transfer. - * This routine allows to initiate a query that may require more than one call to - * send_data, or may have a format that differs from the usual (a zero-terminated - * string). For instance, sending a BLOB data should use this routine to start a - * a query, then use android_device_send_query_data to transfer the data, and - * then call android_device_complete_query to obtain the response. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * query - Zero-terminated query string. - * to - Milliseconds to wait for the entire query to complete. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set: - * - 0 Indicates that the server has failed the query. - * - Anything else indicates an I/O error. - */ -extern int android_device_start_query(AndroidDevice* ad, - const char* query, - int to); - -/* Sends data block for a query started with android_device_start_query - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * data, size - Data to transfer. - * Return: - * Number of bytes transferred on success, or -1 on failure with errno - * containing the reason for failure. - */ -extern int android_device_send_query_data(AndroidDevice* ad, - const void* data, - int size); - -/* Completes a query started with android_device_start_query, and receives the - * query response. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * buff, buffsize - Buffer where to receive the response to the query. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set. - */ -extern int android_device_complete_query(AndroidDevice* ad, char* buff, size_t buffsize); - -/* Start listening on the event channel. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * buff, buffsize - Buffer where to receive the event message. - * on_event - Callback to invoke on event. Note that this callback will be - * invoked even if this routine returns with a failure. - * Return: - * Zero on success, or non-zero value on failure with 'errno' properly set. - */ -extern int android_device_listen(AndroidDevice* ad, - char* buff, - int buffsize, - event_cb on_event); - -/* Asynchronously sends data to the android device. - * Param: - * ad - Android device descriptor, returned from android_device_init API. - * data, size - Buffer containing data to send. - * free_on_close - A boolean flag indicating whether the data buffer should be - * freed upon data transfer completion. - * cb - Callback to invoke when data transfer is completed. - * opaque - An opaque pointer to pass to the transfer completion callback. - */ -extern int android_device_send_async(AndroidDevice* ad, - void* data, - int size, - int free_on_close, - async_send_cb cb, - void* opaque); - -#endif /* ANDROID_ANDROID_DEVICE_H_ */ diff --git a/android/async-socket-connector.c b/android/async-socket-connector.c index 836016c..0f50399 100644 --- a/android/async-socket-connector.c +++ b/android/async-socket-connector.c @@ -20,8 +20,6 @@ * a TCP port forwarding, enabled by ADB. */ -#include "qemu-common.h" -#include "android/async-utils.h" #include "android/utils/debug.h" #include "android/async-socket-connector.h" #include "utils/panic.h" diff --git a/android/async-socket-connector.h b/android/async-socket-connector.h index bedc2df..d49d203 100644 --- a/android/async-socket-connector.h +++ b/android/async-socket-connector.h @@ -17,7 +17,9 @@ #ifndef ANDROID_ASYNC_SOCKET_CONNECTOR_H_ #define ANDROID_ASYNC_SOCKET_CONNECTOR_H_ +#include "qemu-common.h" #include "android/async-io-common.h" +#include "android/async-utils.h" /* * Contains declaration of an API that allows asynchronous connection to a diff --git a/android/async-socket.c b/android/async-socket.c index 5e2ae29..ab4e4b6 100644 --- a/android/async-socket.c +++ b/android/async-socket.c @@ -20,8 +20,6 @@ * a TCP port forwarding, enabled by ADB. */ -#include "qemu-common.h" -#include "android/async-utils.h" #include "android/utils/debug.h" #include "android/async-socket-connector.h" #include "android/async-socket.h" @@ -683,10 +681,10 @@ static void _async_socket_close_socket(AsyncSocket* as) { if (as->fd >= 0) { - loopIo_done(as->io); - socket_close(as->fd); T("ASocket %s: Socket handle %d is closed.", _async_socket_string(as), as->fd); + loopIo_done(as->io); + socket_close(as->fd); as->fd = -1; } } @@ -1217,15 +1215,22 @@ async_socket_read_abs(AsyncSocket* as, AsyncSocketIO* const asr = _async_socket_reader_new(as, buffer, len, reader_cb, reader_opaque, deadline); - /* Add new reader to the list. Note that we use initial reference from I/O - * 'new' routine as "in the list" reference counter. */ - if (as->readers_head == NULL) { - as->readers_head = as->readers_tail = asr; + if (async_socket_is_connected(as)) { + /* Add new reader to the list. Note that we use initial reference from I/O + * 'new' routine as "in the list" reference counter. */ + if (as->readers_head == NULL) { + as->readers_head = as->readers_tail = asr; + } else { + as->readers_tail->next = asr; + as->readers_tail = asr; + } + loopIo_wantRead(as->io); } else { - as->readers_tail->next = asr; - as->readers_tail = asr; + D("ASocket %s: Read on a disconnected socket.", _async_socket_string(as)); + errno = ECONNRESET; + reader_cb(reader_opaque, asr, ASIO_STATE_FAILED); + async_socket_io_release(asr); } - loopIo_wantRead(as->io); } void @@ -1253,15 +1258,22 @@ async_socket_write_abs(AsyncSocket* as, AsyncSocketIO* const asw = _async_socket_writer_new(as, buffer, len, writer_cb, writer_opaque, deadline); - /* Add new writer to the list. Note that we use initial reference from I/O - * 'new' routine as "in the list" reference counter. */ - if (as->writers_head == NULL) { - as->writers_head = as->writers_tail = asw; + if (async_socket_is_connected(as)) { + /* Add new writer to the list. Note that we use initial reference from I/O + * 'new' routine as "in the list" reference counter. */ + if (as->writers_head == NULL) { + as->writers_head = as->writers_tail = asw; + } else { + as->writers_tail->next = asw; + as->writers_tail = asw; + } + loopIo_wantWrite(as->io); } else { - as->writers_tail->next = asw; - as->writers_tail = asw; + D("ASocket %s: Write on a disconnected socket.", _async_socket_string(as)); + errno = ECONNRESET; + writer_cb(writer_opaque, asw, ASIO_STATE_FAILED); + async_socket_io_release(asw); } - loopIo_wantWrite(as->io); } void @@ -1294,3 +1306,9 @@ async_socket_get_port(const AsyncSocket* as) { return sock_address_get_port(&as->address); } + +int +async_socket_is_connected(const AsyncSocket* as) +{ + return as->fd >= 0; +} diff --git a/android/async-socket.h b/android/async-socket.h index 503907b..bdfd272 100644 --- a/android/async-socket.h +++ b/android/async-socket.h @@ -17,7 +17,9 @@ #ifndef ANDROID_ASYNC_SOCKET_H_ #define ANDROID_ASYNC_SOCKET_H_ +#include "qemu-common.h" #include "android/async-io-common.h" +#include "android/async-utils.h" /* * Contains declaration of an API that encapsulates communication via an @@ -264,4 +266,10 @@ extern void* async_socket_get_client_opaque(const AsyncSocket* as); /* Gets TCP port for the socket. */ extern int async_socket_get_port(const AsyncSocket* as); +/* Checks if socket is connected. + * Return: + * Boolean: 1 - socket is connected, 0 - socket is not connected. + */ +extern int async_socket_is_connected(const AsyncSocket* as); + #endif /* ANDROID_ASYNC_SOCKET_H_ */ diff --git a/android/hw-sensors.c b/android/hw-sensors.c index 17b2491..a7daea5 100644 --- a/android/hw-sensors.c +++ b/android/hw-sensors.c @@ -438,7 +438,7 @@ _hwSensorClient_receive( HwSensorClient* cl, uint8_t* msg, int msglen ) } /* If emulating device is connected update sensor state there too. */ - if (hw->sensors_port != NULL && sensors_port_is_connected(hw->sensors_port)) { + if (hw->sensors_port != NULL) { if (enabled) { sensors_port_enable_sensor(hw->sensors_port, (const char*)msg); } else { @@ -692,11 +692,6 @@ _hwSensors_init( HwSensors* h ) h->sensors[ANDROID_SENSOR_TEMPERATURE].enabled = 1; } - if (h->sensors_port != NULL) { - /* Init sensors on the attached device. */ - sensors_port_init_sensors(h->sensors_port); - } - /* XXX: TODO: Add other tests when we add the corresponding * properties to hardware-properties.ini et al. */ diff --git a/android/multitouch-port.c b/android/multitouch-port.c index 9a9313c..7cb9656 100644 --- a/android/multitouch-port.c +++ b/android/multitouch-port.c @@ -19,47 +19,97 @@ #include "android/hw-events.h" #include "android/charmap.h" #include "android/multitouch-screen.h" +#include "android/sdk-controller-socket.h" #include "android/multitouch-port.h" #include "android/globals.h" /* for android_hw */ #include "android/utils/misc.h" #include "android/utils/jpeg-compress.h" +#include "android/utils/debug.h" #define E(...) derror(__VA_ARGS__) #define W(...) dwarning(__VA_ARGS__) #define D(...) VERBOSE_PRINT(mtport,__VA_ARGS__) #define D_ACTIVE VERBOSE_CHECK(mtport) -/* Query timeout in milliseconds. */ -#define MTSP_QUERY_TIMEOUT 3000 -#define MTSP_MAX_MSG 2048 -#define MTSP_MAX_EVENT 2048 +#define TRACE_ON 1 + +#if TRACE_ON +#define T(...) VERBOSE_PRINT(mtport,__VA_ARGS__) +#else +#define T(...) +#endif + +/* Timeout (millisec) to use when communicating with SDK controller. */ +#define SDKCTL_MT_TIMEOUT 3000 + +/* + * Message types used in multi-touch emulation. + */ + +/* Pointer move message. */ +#define SDKCTL_MT_MOVE 1 +/* First pointer down message. */ +#define SDKCTL_MT_FISRT_DOWN 2 +/* Last pointer up message. */ +#define SDKCTL_MT_LAST_UP 3 +/* Pointer down message. */ +#define SDKCTL_MT_POINTER_DOWN 4 +/* Pointer up message. */ +#define SDKCTL_MT_POINTER_UP 5 +/* Sends framebuffer update. */ +#define SDKCTL_MT_FB_UPDATE 6 /* Multi-touch port descriptor. */ struct AndroidMTSPort { /* Caller identifier. */ - void* opaque; - /* Connected android device. */ - AndroidDevice* device; + void* opaque; + /* Communication socket. */ + SDKCtlSocket* sdkctl; /* Initialized JPEG compressor instance. */ - AJPEGDesc* jpeg_compressor; - /* Connection status: 1 connected, 0 - disconnected. */ - int is_connected; - /* Buffer where to receive multitouch messages. */ - char mts_msg[MTSP_MAX_MSG]; - /* Buffer where to receive multitouch events. */ - char events[MTSP_MAX_EVENT]; + AJPEGDesc* jpeg_compressor; + /* Direct packet descriptor for framebuffer updates. */ + SDKCtlDirectPacket* fb_packet; }; +/* Data sent with SDKCTL_MT_QUERY_START */ +typedef struct QueryDispData { + /* Width of the emulator display. */ + int width; + /* Height of the emulator display. */ + int height; +} QueryDispData; + +/* Multi-touch event structure received from SDK controller port. */ +typedef struct AndroidMTEvent { + /* Pointer identifier. */ + int pid; + /* Pointer 'x' coordinate. */ + int x; + /* Pointer 'y' coordinate. */ + int y; + /* Pointer pressure. */ + int pressure; +} AndroidMTEvent; + +/* Multi-touch pointer descriptor received from SDK controller port. */ +typedef struct AndroidMTPtr { + /* Pointer identifier. */ + int pid; +} AndroidMTPtr; + /* Destroys and frees the descriptor. */ static void _mts_port_free(AndroidMTSPort* mtsp) { if (mtsp != NULL) { + if (mtsp->fb_packet != NULL) { + sdkctl_direct_packet_release(mtsp->fb_packet); + } if (mtsp->jpeg_compressor != NULL) { jpeg_compressor_destroy(mtsp->jpeg_compressor); } - if (mtsp->device != NULL) { - android_device_destroy(mtsp->device); + if (mtsp->sdkctl != NULL) { + sdkctl_socket_release(mtsp->sdkctl); } AFREE(mtsp); } @@ -114,170 +164,163 @@ _on_action_move(int tracking_id, int x, int y, int pressure) * Multi-touch event handlers *******************************************************************************/ -/* Handles "pointer move" event. */ +/* Handles "pointer move" event. + * Param: + * param - Array of moving pointers. + * pointers_count - Number of pointers in the array. + */ static void -_on_move(const char* param) +_on_move(const AndroidMTEvent* param, int pointers_count) { - const char* pid = param; - D(">>> MOVE: %s", param); - while (pid && *pid) { - int pid_val, x, y, pressure = 0; - if (!get_token_value_int(pid, "pid", &pid_val) && - !get_token_value_int(pid, "x", &x) && - !get_token_value_int(pid, "y", &y)) { - get_token_value_int(pid, "pressure", &pressure); - _on_action_move(pid_val, x, y, pressure); - pid = strstr(pid + 1, "pid"); - } else { - break; - } + int n; + for (n = 0; n < pointers_count; n++, param++) { + T("Multi-touch: MOVE(%d): %d-> %d:%d:%d", + n, param->pid, param->x, param->y, param->pressure); + _on_action_move(param->pid, param->x, param->y, param->pressure); } } /* Handles "first pointer down" event. */ static void -_on_down(const char* param) +_on_down(const AndroidMTEvent* param) { - int pid_val, x, y, pressure = 0; - D(">>> 1-ST DOWN: %s", param); - if (!get_token_value_int(param, "pid", &pid_val) && - !get_token_value_int(param, "x", &x) && - !get_token_value_int(param, "y", &y)) { - get_token_value_int(param, "pressure", &pressure); - _on_action_down(pid_val, x, y, pressure); - } else { - W("Invalid parameters '%s' for MTS 'down' event", param); - } + T("Multi-touch: 1-ST DOWN: %d-> %d:%d:%d", + param->pid, param->x, param->y, param->pressure); + _on_action_down(param->pid, param->x, param->y, param->pressure); } /* Handles "last pointer up" event. */ static void -_on_up(const char* param) +_on_up(const AndroidMTPtr* param) { - int pid_val; - D(">>> LAST UP: %s", param); - if (!get_token_value_int(param, "pid", &pid_val)) { - _on_action_up(pid_val); - } else { - W("Invalid parameters '%s' for MTS 'up' event", param); - } + T("Multi-touch: LAST UP: %d", param->pid); + _on_action_up(param->pid); } /* Handles "next pointer down" event. */ static void -_on_pdown(const char* param) +_on_pdown(const AndroidMTEvent* param) { - int pid_val, x, y, pressure = 0; - D(">>> DOWN: %s", param); - if (!get_token_value_int(param, "pid", &pid_val) && - !get_token_value_int(param, "x", &x) && - !get_token_value_int(param, "y", &y)) { - get_token_value_int(param, "pressure", &pressure); - _on_action_pointer_down(pid_val, x, y, pressure); - } else { - W("Invalid parameters '%s' for MTS 'pointer down' event", param); - } + T("Multi-touch: DOWN: %d-> %d:%d:%d", + param->pid, param->x, param->y, param->pressure); + _on_action_pointer_down(param->pid, param->x, param->y, param->pressure); } /* Handles "next pointer up" event. */ static void -_on_pup(const char* param) +_on_pup(const AndroidMTPtr* param) { - int pid_val; - D(">>> UP: %s", param); - if (!get_token_value_int(param, "pid", &pid_val)) { - _on_action_pointer_up(pid_val); - } else { - W("Invalid parameters '%s' for MTS 'up' event", param); - } + T("Multi-touch: UP: %d", param->pid); + _on_action_pointer_up(param->pid); } /******************************************************************************** * Device communication callbacks *******************************************************************************/ -/* Main event handler. - * This routine is invoked when an event message has been received from the - * device. - */ -static void -_on_event_received(void* opaque, AndroidDevice* ad, char* msg, int msgsize) +/* A callback that is invoked on SDK controller socket connection events. */ +static AsyncIOAction +_on_multitouch_socket_connection(void* opaque, + SDKCtlSocket* sdkctl, + AsyncIOState status) { - char* action; - int res; - AndroidMTSPort* mtsp = (AndroidMTSPort*)opaque; - - if (errno) { - D("Multi-touch notification has failed: %s", strerror(errno)); - return; - } - - /* Dispatch the event to an appropriate handler. */ - res = get_token_value_alloc(msg, "action", &action); - if (!res) { - const char* param = strchr(msg, ' '); - if (param) { - param++; + if (status == ASIO_STATE_FAILED) { + /* Reconnect (after timeout delay) on failures */ + if (sdkctl_socket_is_handshake_ok(sdkctl)) { + sdkctl_socket_reconnect(sdkctl, SDKCTL_DEFAULT_TCP_PORT, + SDKCTL_MT_TIMEOUT); } - if (!strcmp(action, "move")) { - _on_move(param); - } else if (!strcmp(action, "down")) { - _on_down(param); - } else if (!strcmp(action, "up")) { - _on_up(param); - } else if (!strcmp(action, "pdown")) { - _on_pdown(param); - } else if (!strcmp(action, "pup")) { - _on_pup(param); - } else { - D("Unknown multi-touch event action '%s'", action); - } - free(action); } - - /* Listen to the next event. */ - android_device_listen(ad, mtsp->events, sizeof(mtsp->events), - _on_event_received); + return ASIO_ACTION_DONE; } -/* A callback that is invoked when android device is connected (i.e. both, - * command and event channels have been established). - * Param: - * opaque - AndroidMTSPort instance. - * ad - Android device used by this port. - * failure - Connections status. - */ +/* A callback that is invoked on SDK controller port connection events. */ static void -_on_device_connected(void* opaque, AndroidDevice* ad, int failure) +_on_multitouch_port_connection(void* opaque, + SDKCtlSocket* sdkctl, + SdkCtlPortStatus status) { - if (!failure) { - AndroidMTSPort* mtsp = (AndroidMTSPort*)opaque; - mtsp->is_connected = 1; - D("Multi-touch emulation has started"); - android_device_listen(mtsp->device, mtsp->events, sizeof(mtsp->events), - _on_event_received); - mts_port_start(mtsp); + switch (status) { + case SDKCTL_PORT_CONNECTED: + D("Multi-touch: SDK Controller is connected"); + break; + + case SDKCTL_PORT_DISCONNECTED: + D("Multi-touch: SDK Controller is disconnected"); + break; + + case SDKCTL_PORT_ENABLED: + D("Multi-touch: SDK Controller port is enabled."); + break; + + case SDKCTL_PORT_DISABLED: + D("Multi-touch: SDK Controller port is disabled."); + break; + + case SDKCTL_HANDSHAKE_CONNECTED: + D("Multi-touch: Handshake succeeded with connected port."); + break; + + case SDKCTL_HANDSHAKE_NO_PORT: + D("Multi-touch: Handshake succeeded with disconnected port."); + break; + + case SDKCTL_HANDSHAKE_DUP: + W("Multi-touch: Handshake failed due to port duplication."); + sdkctl_socket_disconnect(sdkctl); + break; + + case SDKCTL_HANDSHAKE_UNKNOWN_QUERY: + W("Multi-touch: Handshake failed due to unknown query."); + sdkctl_socket_disconnect(sdkctl); + break; + + case SDKCTL_HANDSHAKE_UNKNOWN_RESPONSE: + default: + W("Multi-touch: Handshake failed due to unknown reason."); + sdkctl_socket_disconnect(sdkctl); + break; } } -/* Invoked when an I/O failure occurs on a socket. - * Note that this callback will not be invoked on connection failures. - * Param: - * opaque - AndroidMTSPort instance. - * ad - Android device instance - * ads - Connection socket where failure has occured. - * failure - Contains 'errno' indicating the reason for failure. - */ +/* A callback that is invoked when a message is received from the device. */ static void -_on_io_failure(void* opaque, AndroidDevice* ad, int failure) +_on_multitouch_message(void* client_opaque, + SDKCtlSocket* sdkctl, + SDKCtlMessage* message, + int msg_type, + void* msg_data, + int msg_size) { - AndroidMTSPort* mtsp = (AndroidMTSPort*)opaque; - E("Multi-touch port got disconnected: %s", strerror(failure)); - mtsp->is_connected = 0; - android_device_disconnect(ad); + switch (msg_type) { + case SDKCTL_MT_MOVE: { + assert((msg_size / sizeof(AndroidMTEvent)) && !(msg_size % sizeof(AndroidMTEvent))); + _on_move((const AndroidMTEvent*)msg_data, msg_size / sizeof(AndroidMTEvent)); + break; + } + + case SDKCTL_MT_FISRT_DOWN: + assert(msg_size / sizeof(AndroidMTEvent) && !(msg_size % sizeof(AndroidMTEvent))); + _on_down((const AndroidMTEvent*)msg_data); + break; - /* Try to reconnect again. */ - android_device_connect_async(ad, _on_device_connected); + case SDKCTL_MT_LAST_UP: + _on_up((const AndroidMTPtr*)msg_data); + break; + + case SDKCTL_MT_POINTER_DOWN: + assert(msg_size / sizeof(AndroidMTEvent) && !(msg_size % sizeof(AndroidMTEvent))); + _on_pdown((const AndroidMTEvent*)msg_data); + break; + + case SDKCTL_MT_POINTER_UP: + _on_pup((const AndroidMTPtr*)msg_data); + break; + + default: + W("Multi-touch: Unknown message %d", msg_type); + break; + } } /******************************************************************************** @@ -288,31 +331,32 @@ AndroidMTSPort* mts_port_create(void* opaque) { AndroidMTSPort* mtsp; - int res; ANEW0(mtsp); - mtsp->opaque = opaque; - mtsp->is_connected = 0; + mtsp->opaque = opaque; /* Initialize default MTS descriptor. */ multitouch_init(mtsp); - /* Create JPEG compressor. Put "$BLOB:%09d\0" + MTFrameHeader header in front - * of the compressed data. this way we will have entire query ready to be + /* Create JPEG compressor. Put message header + MTFrameHeader in front of the + * compressed data. this way we will have entire query ready to be * transmitted to the device. */ - mtsp->jpeg_compressor = jpeg_compressor_create(16 + sizeof(MTFrameHeader), 4096); + mtsp->jpeg_compressor = + jpeg_compressor_create(sdkctl_message_get_header_size() + sizeof(MTFrameHeader), 4096); - mtsp->device = android_device_init(mtsp, AD_MULTITOUCH_PORT, _on_io_failure); - if (mtsp->device == NULL) { - _mts_port_free(mtsp); - return NULL; - } + mtsp->sdkctl = sdkctl_socket_new(SDKCTL_MT_TIMEOUT, "multi-touch", + _on_multitouch_socket_connection, + _on_multitouch_port_connection, + _on_multitouch_message, mtsp); + sdkctl_init_recycler(mtsp->sdkctl, 64, 8); - res = android_device_connect_async(mtsp->device, _on_device_connected); - if (res != 0) { - mts_port_destroy(mtsp); - return NULL; - } + /* Create a direct packet that will wrap up framebuffer updates. Note that + * we need to do this after we have initialized the recycler! */ + mtsp->fb_packet = sdkctl_direct_packet_new(mtsp->sdkctl); + + /* Now we can initiate connection witm MT port on the device. */ + sdkctl_socket_connect(mtsp->sdkctl, SDKCTL_DEFAULT_TCP_PORT, + SDKCTL_MT_TIMEOUT); return mtsp; } @@ -323,75 +367,6 @@ mts_port_destroy(AndroidMTSPort* mtsp) _mts_port_free(mtsp); } -int -mts_port_is_connected(AndroidMTSPort* mtsp) -{ - return mtsp->is_connected; -} - -int -mts_port_start(AndroidMTSPort* mtsp) -{ - char qresp[MTSP_MAX_MSG]; - char query[256]; - AndroidHwConfig* config = android_hw; - - /* Query the device to start capturing multi-touch events, also providing - * the device with width / height of the emulator's screen. This is required - * so device can properly adjust multi-touch event coordinates, and display - * emulator's framebuffer. */ - snprintf(query, sizeof(query), "start:%dx%d", - config->hw_lcd_width, config->hw_lcd_height); - int res = android_device_query(mtsp->device, query, qresp, sizeof(qresp), - MTSP_QUERY_TIMEOUT); - if (!res) { - /* By protocol device should reply with its view dimensions. */ - if (*qresp) { - int width, height; - if (sscanf(qresp, "%dx%d", &width, &height) == 2) { - multitouch_set_device_screen_size(width, height); - D("Multi-touch emulation has started. Device dims: %dx%d", - width, height); - } else { - E("Unexpected reply to MTS 'start' query: %s", qresp); - android_device_query(mtsp->device, "stop", qresp, sizeof(qresp), - MTSP_QUERY_TIMEOUT); - res = -1; - } - } else { - E("MTS protocol error: no reply to query 'start'"); - android_device_query(mtsp->device, "stop", qresp, sizeof(qresp), - MTSP_QUERY_TIMEOUT); - res = -1; - } - } else { - if (errno) { - D("Query 'start' failed on I/O: %s", strerror(errno)); - } else { - D("Query 'start' failed on device: %s", qresp); - } - } - return res; -} - -int -mts_port_stop(AndroidMTSPort* mtsp) -{ - char qresp[MTSP_MAX_MSG]; - const int res = - android_device_query(mtsp->device, "stop", qresp, sizeof(qresp), - MTSP_QUERY_TIMEOUT); - if (res) { - if (errno) { - D("Query 'stop' failed on I/O: %s", strerror(errno)); - } else { - D("Query 'stop' failed on device: %s", qresp); - } - } - - return res; -} - /******************************************************************************** * Handling framebuffer updates *******************************************************************************/ @@ -412,6 +387,8 @@ _fb_compress(const AndroidMTSPort* mtsp, int jpeg_quality, int ydir) { + T("Multi-touch: compressing %d bytes frame buffer", fmt->w * fmt->h * fmt->bpp); + jpeg_compressor_compress_fb(mtsp->jpeg_compressor, fmt->x, fmt->y, fmt->w, fmt->h, fmt->disp_height, fmt->bpp, fmt->bpl, fb, jpeg_quality, ydir); @@ -421,15 +398,12 @@ int mts_port_send_frame(AndroidMTSPort* mtsp, MTFrameHeader* fmt, const uint8_t* fb, - async_send_cb cb, + on_sdkctl_direct_cb cb, void* cb_opaque, int ydir) { - char* query; - int blob_size, off; - /* Make sure that port is connected. */ - if (!mts_port_is_connected(mtsp)) { + if (!sdkctl_socket_is_port_ready(mtsp->sdkctl)) { return -1; } @@ -437,31 +411,32 @@ mts_port_send_frame(AndroidMTSPort* mtsp, fmt->format = MTFB_JPEG; _fb_compress(mtsp, fmt, fb, 10, ydir); - /* Total size of the blob: header + JPEG image. */ - blob_size = sizeof(MTFrameHeader) + - jpeg_compressor_get_jpeg_size(mtsp->jpeg_compressor); + /* Total size of the update data: header + JPEG image. */ + const int update_size = + sizeof(MTFrameHeader) + jpeg_compressor_get_jpeg_size(mtsp->jpeg_compressor); + + /* Update message starts at the beginning of the buffer allocated by the + * compressor's destination manager. */ + uint8_t* const msg = (uint8_t*)jpeg_compressor_get_buffer(mtsp->jpeg_compressor); - /* Query starts at the beginning of the buffer allocated by the compressor's - * destination manager. */ - query = (char*)jpeg_compressor_get_buffer(mtsp->jpeg_compressor); + /* Initialize message header. */ + sdkctl_init_message_header(msg, SDKCTL_MT_FB_UPDATE, update_size); - /* Build the $BLOB query to transfer to the device. */ - snprintf(query, jpeg_compressor_get_header_size(mtsp->jpeg_compressor), - "$BLOB:%09d", blob_size); - off = strlen(query) + 1; + /* Copy framebuffer update header to the message. */ + memcpy(msg + sdkctl_message_get_header_size(), fmt, sizeof(MTFrameHeader)); - /* Copy framebuffer update header to the query. */ - memcpy(query + off, fmt, sizeof(MTFrameHeader)); + /* Compression rate... */ + const float comp_rate = ((float)jpeg_compressor_get_jpeg_size(mtsp->jpeg_compressor) / (fmt->w * fmt->h * fmt->bpp)) * 100; /* Zeroing the rectangle in the update header we indicate that it contains * no updates. */ fmt->x = fmt->y = fmt->w = fmt->h = 0; - /* Initiate asynchronous transfer of the updated framebuffer rectangle. */ - if (android_device_send_async(mtsp->device, query, off + blob_size, 0, cb, cb_opaque)) { - D("Unable to send query '%s': %s", query, strerror(errno)); - return -1; - } + /* Send update to the device. */ + sdkctl_direct_packet_send(mtsp->fb_packet, msg, cb, cb_opaque); + + T("Multi-touch: Sent %d bytes in framebuffer update. Compression rate is %.2f%%", + update_size, comp_rate); return 0; } diff --git a/android/multitouch-port.h b/android/multitouch-port.h index d99b3fd..5652b43 100644 --- a/android/multitouch-port.h +++ b/android/multitouch-port.h @@ -17,17 +17,14 @@ #ifndef ANDROID_ANDROID_MULTITOUCH_PORT_H_ #define ANDROID_ANDROID_MULTITOUCH_PORT_H_ +#include "android/sdk-controller-socket.h" + /* * Encapsulates exchange protocol between the multi-touch screen emulator, and an * application running on an Android device that provides touch events, and is * connected to the host via USB. */ -#include "android/android-device.h" - -/* TCP port reserved for multi-touch emulation. */ -#define AD_MULTITOUCH_PORT 1969 - /* * Codes that define transmitted framebuffer format: * @@ -89,28 +86,6 @@ extern AndroidMTSPort* mts_port_create(void* opaque); /* Disconnects from the multi-touch port, and destroys the descriptor. */ extern void mts_port_destroy(AndroidMTSPort* amtp); -/* Checks if port is connected to a MT-emulating application on the device. - * Note that connection can go out and then be restored at any time after - * mts_port_create API succeeded. - */ -extern int mts_port_is_connected(AndroidMTSPort* amtp); - -/* Queries the connected application to start delivering multi-touch events. - * Param: - * amtp - Android multi-touch port instance returned from mts_port_create. - * Return: - * Zero on success, failure otherwise. - */ -extern int mts_port_start(AndroidMTSPort* amtp); - -/* Queries the connected application to stop delivering multi-touch events. - * Param: - * amtp - Android multi-touch port instance returned from mts_port_create. - * Return: - * Zero on success, failure otherwise. - */ -extern int mts_port_stop(AndroidMTSPort* amtp); - /* Sends framebuffer update to the multi-touch emulation application, running on * the android device. * Param: @@ -129,7 +104,7 @@ extern int mts_port_stop(AndroidMTSPort* amtp); extern int mts_port_send_frame(AndroidMTSPort* mtsp, MTFrameHeader* fmt, const uint8_t* fb, - async_send_cb cb, + on_sdkctl_direct_cb cb, void* cb_opaque, int ydir); diff --git a/android/multitouch-screen.c b/android/multitouch-screen.c index bd96f79..59d4d75 100644 --- a/android/multitouch-screen.c +++ b/android/multitouch-screen.c @@ -29,6 +29,15 @@ #define D(...) VERBOSE_PRINT(mtscreen,__VA_ARGS__) #define D_ACTIVE VERBOSE_CHECK(mtscreen) +#define TRACE_ON 1 + +#if TRACE_ON +#define T(...) VERBOSE_PRINT(mtscreen,__VA_ARGS__) +#else +#define T(...) +#endif + + /* Maximum number of pointers, supported by multi-touch emulation. */ #define MTS_POINTERS_NUM 10 /* Signals that pointer is not tracked (or is "up"). */ @@ -54,10 +63,6 @@ typedef struct MTSState { AndroidMTSPort* mtsp; /* Emulator's display state. */ DisplayState* ds; - /* Screen width of the device that emulates multi-touch. */ - int device_width; - /* Screen height of the device that emulates multi-touch. */ - int device_height; /* Number of tracked pointers. */ int tracked_ptr_num; /* Index in the 'tracked_pointers' array of the last pointer for which @@ -239,24 +244,28 @@ static int _is_mt_initialized = 0; /* Callback that is invoked when framebuffer update has been transmitted to the * device. */ -static void -_on_fb_sent(void* opaque, ATResult res, void* data, int size, int sent) +static AsyncIOAction +_on_fb_sent(void* opaque, SDKCtlDirectPacket* packet, AsyncIOState status) { MTSState* const mts_state = (MTSState*)opaque; - /* Lets see if we have accumulated more changes while transmission has been - * in progress. */ - if (mts_state->fb_header.w && mts_state->fb_header.h) { - /* Send accumulated updates. */ - if (mts_port_send_frame(mts_state->mtsp, &mts_state->fb_header, - mts_state->current_fb, _on_fb_sent, mts_state, - mts_state->ydir)) { + if (status == ASIO_STATE_SUCCEEDED) { + /* Lets see if we have accumulated more changes while transmission has been + * in progress. */ + if (mts_state->fb_header.w && mts_state->fb_header.h) { + /* Send accumulated updates. */ + if (mts_port_send_frame(mts_state->mtsp, &mts_state->fb_header, + mts_state->current_fb, _on_fb_sent, mts_state, + mts_state->ydir)) { + mts_state->fb_transfer_in_progress = 0; + } + } else { + /* Framebuffer transfer is completed, and no more updates are pending. */ mts_state->fb_transfer_in_progress = 0; } - } else { - /* Framebuffer transfer is completed, and no more updates are pending. */ - mts_state->fb_transfer_in_progress = 0; } + + return ASIO_ACTION_DONE; } /* Common handler for framebuffer updates invoked by both, software, and OpenGLES @@ -324,6 +333,9 @@ _mt_fb_update(void* opaque, int x, int y, int w, int h) MTSState* const mts_state = (MTSState*)opaque; const DisplaySurface* const surface = mts_state->ds->surface; + T("Multi-touch: Software renderer framebuffer update: %d:%d -> %dx%d", + x, y, w, h); + /* TODO: For sofware renderer general framebuffer properties can change on * the fly. Find a callback that can catch that. For now, just copy FB * properties over in every FB update. */ @@ -336,6 +348,7 @@ _mt_fb_update(void* opaque, int x, int y, int w, int h) _mt_fb_common_update(mts_state, x, y, w, h); } + void multitouch_opengles_fb_update(void* context, int w, int h, int ydir, @@ -349,6 +362,8 @@ multitouch_opengles_fb_update(void* context, return; } + T("Multi-touch: openGLES framebuffer update: 0:0 -> %dx%d", w, h); + /* GLES format is always RGBA8888 */ mts_state->fb_header.bpp = 4; mts_state->fb_header.bpl = 4 * w; @@ -380,8 +395,6 @@ multitouch_init(AndroidMTSPort* mtsp) for (index = 0; index < MTS_POINTERS_NUM; index++) { mts_state->tracked_pointers[index].tracking_id = MTS_POINTER_UP; } - mts_state->device_width = android_hw->hw_lcd_width; - mts_state->device_height = android_hw->hw_lcd_height; mts_state->mtsp = mtsp; mts_state->fb_header.header_size = sizeof(MTFrameHeader); mts_state->fb_transfer_in_progress = 0; @@ -453,12 +466,3 @@ multitouch_get_max_slot() { return MTS_POINTERS_NUM - 1; } - -void -multitouch_set_device_screen_size(int width, int height) -{ - MTSState* const mts_state = &_MTSState; - - mts_state->device_width = width; - mts_state->device_height = height; -} diff --git a/android/multitouch-screen.h b/android/multitouch-screen.h index 433944d..95ae86a 100644 --- a/android/multitouch-screen.h +++ b/android/multitouch-screen.h @@ -17,6 +17,7 @@ #ifndef ANDROID_MULTITOUCH_SCREEN_H_ #define ANDROID_MULTITOUCH_SCREEN_H_ +#include "android/sdk-controller-socket.h" #include "android/multitouch-port.h" /* @@ -61,9 +62,6 @@ extern void multitouch_update_pointer(MTESource source, /* Gets maximum slot index available for the multi-touch emulation. */ extern int multitouch_get_max_slot(); -/* Saves screen size reported by the device that emulates multi-touch. */ -extern void multitouch_set_device_screen_size(int width, int height); - /* A callback set to monitor OpenGLES framebuffer updates. * This callback is called by the renderer just before each new frame is * displayed, providing a copy of the framebuffer contents. diff --git a/android/sdk-controller-socket.c b/android/sdk-controller-socket.c index a300169..6a4ec18 100644 --- a/android/sdk-controller-socket.c +++ b/android/sdk-controller-socket.c @@ -20,8 +20,6 @@ * a TCP port forwarding, enabled by ADB. */ -#include "qemu-common.h" -#include "android/async-utils.h" #include "android/utils/debug.h" #include "android/async-socket-connector.h" #include "android/async-socket.h" @@ -34,7 +32,7 @@ #define D(...) VERBOSE_PRINT(sdkctlsocket,__VA_ARGS__) #define D_ACTIVE VERBOSE_CHECK(sdkctlsocket) -#define TRACE_ON 1 +#define TRACE_ON 0 #if TRACE_ON #define T(...) VERBOSE_PRINT(sdkctlsocket,__VA_ARGS__) @@ -53,12 +51,8 @@ struct SDKCtlRecycled { }; }; -/******************************************************************************** - * SDKCtlPacket declarations - *******************************************************************************/ - /* - * Types of the packets of data sent via SDK controller socket. + * Types of the data packets sent via SDK controller socket. */ /* The packet is a message. */ @@ -68,12 +62,56 @@ struct SDKCtlRecycled { /* The packet is a response to a query. */ #define SDKCTL_PACKET_QUERY_RESPONSE 3 +/* + * Types of intenal port messages sent via SDK controller socket. + */ + +/* Port is connected. + * This message is sent by SDK controller when the service connects a socket with + * a port that provides requested emulation functionality. + */ +#define SDKCTL_MSG_PORT_CONNECTED -1 +/* Port is disconnected. + * This message is sent by SDK controller when a port that provides requested + * emulation functionality disconnects from the socket. + */ +#define SDKCTL_MSG_PORT_DISCONNECTED -2 +/* Port is enabled. + * This message is sent by SDK controller when a port that provides requested + * emulation functionality is ready to do the emulation. + */ +#define SDKCTL_MSG_PORT_ENABLED -3 +/* Port is disabled. + * This message is sent by SDK controller when a port that provides requested + * emulation functionality is not ready to do the emulation. + */ +#define SDKCTL_MSG_PORT_DISABLED -4 + +/* + * Types of internal queries sent via SDK controller socket. + */ + +/* Handshake query. + * This query is sent to SDK controller service as part of the connection + * protocol implementation. + */ +#define SDKCTL_QUERY_HANDSHAKE -1 + +/******************************************************************************** + * SDKCtlPacket declarations + *******************************************************************************/ + +/* Packet signature value ('SDKC'). */ +static const int _sdkctl_packet_sig = 0x53444B43; + /* Data packet descriptor. * * All packets, sent and received via SDK controller socket begin with this * header, with packet data immediately following this header. */ typedef struct SDKCtlPacketHeader { + /* Signature. */ + int signature; /* Total size of the data to transfer with this packet, including this * header. The transferring data should immediatelly follow this header. */ int size; @@ -83,42 +121,60 @@ typedef struct SDKCtlPacketHeader { } SDKCtlPacketHeader; /* Packet descriptor, allocated by this API for data packets to be sent to SDK - * controller service on the device. + * controller. * * When packet descriptors are allocated by this API, they are allocated large * enough to contain this header, and packet data to send to the service, * immediately following this descriptor. */ -struct SDKCtlPacket { +typedef struct SDKCtlPacket { /* Supports recycling. Don't put anything in front: recycler expects this * to be the first field in recyclable descriptor. */ - SDKCtlRecycled recycling; + SDKCtlRecycled recycling; - /* Next packet in the list of packets to send. */ - SDKCtlPacket* next; /* SDK controller socket that transmits this packet. */ - SDKCtlSocket* sdkctl; + SDKCtlSocket* sdkctl; /* Number of outstanding references to the packet. */ - int ref_count; + int ref_count; /* Common packet header. Packet data immediately follows this header, so it - * must be last field in SDKCtlPacket descriptor. */ - SDKCtlPacketHeader header; -}; + * must be the last field in SDKCtlPacket descriptor. */ + SDKCtlPacketHeader header; +} SDKCtlPacket; /******************************************************************************** - * SDKCtlQuery declarations + * SDKCtlDirectPacket declarations *******************************************************************************/ -/* - * Types of queries sent via SDK controller socket. +/* Direct packet descriptor, allocated by this API for direct data packets to be + * sent to SDK controller service on the device. + * + * Direct packet (unlike SDKCtlPacket) don't contain data buffer, but rather + * reference data allocated by the client. This is useful when client sends large + * amount of data (such as framebuffer updates sent my multi-touch port), and + * regular packet descriptors for such large transfer cannot be obtained from the + * recycler. */ +struct SDKCtlDirectPacket { + /* Supports recycling. Don't put anything in front: recycler expects this + * to be the first field in recyclable descriptor. */ + SDKCtlRecycled recycling; -/* Handshake query. - * This query is sent to SDK controller service as part of the connection - * protocol implementation. - */ -#define SDKCTL_QUERY_HANDSHAKE -1 + /* SDKCtlSocket that owns this packet. */ + SDKCtlSocket* sdkctl; + /* Packet to send. */ + SDKCtlPacketHeader* packet; + /* Callback to invoke on packet transmission events. */ + on_sdkctl_direct_cb on_sent; + /* An opaque pointer to pass to on_sent callback. */ + void* on_sent_opaque; + /* Number of outstanding references to the packet. */ + int ref_count; +}; + +/******************************************************************************** + * SDKCtlQuery declarations + *******************************************************************************/ /* Query packet descriptor. * @@ -131,8 +187,7 @@ typedef struct SDKCtlQueryHeader { /* A unique query identifier. This ID is used to track the query in the * asynchronous environment in whcih SDK controller socket operates. */ int query_id; - /* Query type. See SDKCTL_QUERY_XXX for the list of query types used by SDK - * controller. */ + /* Query type. */ int query_type; } SDKCtlQueryHeader; @@ -148,12 +203,12 @@ struct SDKCtlQuery { * to be the first field in recyclable descriptor. */ SDKCtlRecycled recycling; - /* Next query in the list of active, or recycled queries. */ + /* Next query in the list of active queries. */ SDKCtlQuery* next; /* A timer to run time out on this query after it has been sent. */ LoopTimer timer[1]; /* Absolute time for this query's deadline. This is the value that query's - * timer is set for after query has been transmitted to the service. */ + * timer is set to after query has been transmitted to the service. */ Duration deadline; /* SDK controller socket that owns the query. */ SDKCtlSocket* sdkctl; @@ -163,20 +218,21 @@ struct SDKCtlQuery { void* query_opaque; /* Points to an address of a buffer where to save query response. */ void** response_buffer; - /* Points to a variable containing size of the response buffer (on the way in), - * or actual query response size (when query is completed). */ + /* Points to a variable containing size of the response buffer (on the way + * in), or actual query response size (when query is completed). */ uint32_t* response_size; /* Internal response buffer, allocated if query creator didn't provide its * own. This field is valid only if response_buffer field is NULL, or is * pointing to this field. */ void* internal_resp_buffer; - /* Internal response buffer size This field is valid only if response_size - * field is NULL, or is pointing to this field. */ + /* Internal response buffer size used if query creator didn't provide its + * own. This field is valid only if response_size field is NULL, or is + * pointing to this field. */ uint32_t internal_resp_size; /* Number of outstanding references to the query. */ int ref_count; - /* Common packet header. Query data immediately follows this header, so it + /* Common query header. Query data immediately follows this header, so it * must be last field in SDKCtlQuery descriptor. */ SDKCtlQueryHeader header; }; @@ -195,6 +251,34 @@ typedef struct SDKCtlQueryReplyHeader { } SDKCtlQueryReplyHeader; /******************************************************************************** + * SDKCtlMessage declarations + *******************************************************************************/ + +/* Message packet descriptor. + * + * All messages, sent and received via SDK controller socket begin with this + * header, with message data immediately following this header. + */ +typedef struct SDKCtlMessageHeader { + /* Data packet header for this query. */ + SDKCtlPacketHeader packet; + /* Message type. */ + int msg_type; +} SDKCtlMessageHeader; + +/* Message packet descriptor. + * + * All messages, sent and received via SDK controller socket begin with this + * header, with message data immediately following this header. + */ +typedef struct SDKCtlMessage { + /* Data packet descriptor for this message. */ + SDKCtlPacket packet; + /* Message type. */ + int msg_type; +} SDKCtlMessage; + +/******************************************************************************** * SDK Control Socket declarations *******************************************************************************/ @@ -229,13 +313,15 @@ typedef struct SDKCtlIODispatcher { /* Unites all types of headers used in SDK controller data exchange. */ union { /* Common packet header. */ - SDKCtlPacketHeader header; + SDKCtlPacketHeader packet_header; /* Header for a query packet. */ SDKCtlQueryHeader query_header; + /* Header for a message packet. */ + SDKCtlMessageHeader message_header; /* Header for a query response packet. */ SDKCtlQueryReplyHeader query_reply_header; }; - /* Descriptor of a packet packet received from SDK controller. */ + /* Descriptor of a packet that is being received from SDK controller. */ SDKCtlPacket* packet; /* A query for which a reply is currently being received. */ SDKCtlQuery* current_query; @@ -244,42 +330,43 @@ typedef struct SDKCtlIODispatcher { /* SDK controller socket descriptor. */ struct SDKCtlSocket { /* SDK controller socket state */ - SDKCtlSocketState state; + SDKCtlSocketState state; + /* SDK controller port status */ + SdkCtlPortStatus port_status; /* I/O dispatcher for the socket. */ - SDKCtlIODispatcher io_dispatcher; + SDKCtlIODispatcher io_dispatcher; /* Asynchronous socket connected to SDK Controller on the device. */ - AsyncSocket* as; + AsyncSocket* as; /* Client callback that monitors this socket connection. */ - on_sdkctl_connection_cb on_connection; - /* A callback to invoke when handshake message is received from the - * SDK controller. */ - on_sdkctl_handshake_cb on_handshake; + on_sdkctl_socket_connection_cb on_socket_connection; + /* Client callback that monitors SDK controller prt connection. */ + on_sdkctl_port_connection_cb on_port_connection; /* A callback to invoke when a message is received from the SDK controller. */ - on_sdkctl_message_cb on_message; + on_sdkctl_message_cb on_message; /* An opaque pointer associated with this socket. */ - void* opaque; - /* Name of an SDK controller service this socket is connected to. */ - char* service_name; + void* opaque; + /* Name of an SDK controller port this socket is connected to. */ + char* service_name; /* I/O looper for timers. */ - Looper* looper; + Looper* looper; /* Head of the active query list. */ - SDKCtlQuery* query_head; + SDKCtlQuery* query_head; /* Tail of the active query list. */ - SDKCtlQuery* query_tail; + SDKCtlQuery* query_tail; /* Query ID generator that gets incremented for each new query. */ - int next_query_id; + int next_query_id; /* Timeout before trying to reconnect after disconnection. */ - int reconnect_to; + int reconnect_to; /* Number of outstanding references to this descriptor. */ - int ref_count; + int ref_count; /* Head of the recycled memory */ - SDKCtlRecycled* recycler; + SDKCtlRecycled* recycler; /* Recyclable block size. */ - uint32_t recycler_block_size; + uint32_t recycler_block_size; /* Maximum number of blocks to recycle. */ - int recycler_max; + int recycler_max; /* Number of blocs in the recycler. */ - int recycler_count; + int recycler_count; }; /******************************************************************************** @@ -294,16 +381,18 @@ _sdkctl_socket_alloc_recycler(SDKCtlSocket* sdkctl, uint32_t size) SDKCtlRecycled* block = NULL; if (sdkctl->recycler != NULL && size <= sdkctl->recycler_block_size) { + assert(sdkctl->recycler_count > 0); /* There are blocks in the recycler, and requested size fits. */ block = sdkctl->recycler; sdkctl->recycler = block->next; block->size = sdkctl->recycler_block_size; sdkctl->recycler_count--; } else if (size <= sdkctl->recycler_block_size) { - /* There are no blocks in the recycler, but requested size fits. */ + /* There are no blocks in the recycler, but requested size fits. Lets + * allocate block that we can later recycle. */ block = malloc(sdkctl->recycler_block_size); if (block == NULL) { - APANIC("SDKCtl %s: Unable to allocate %d bytes block", + APANIC("SDKCtl %s: Unable to allocate %d bytes block.", sdkctl->service_name, sdkctl->recycler_block_size); } block->size = sdkctl->recycler_block_size; @@ -324,18 +413,19 @@ _sdkctl_socket_alloc_recycler(SDKCtlSocket* sdkctl, uint32_t size) static void _sdkctl_socket_free_recycler(SDKCtlSocket* sdkctl, void* mem) { - SDKCtlRecycled* block = (SDKCtlRecycled*)mem; + SDKCtlRecycled* const block = (SDKCtlRecycled*)mem; - if (sdkctl->recycler_count == sdkctl->recycler_max || - block->size != sdkctl->recycler_block_size) { - /* Recycler is full, or block cannot be recycled. */ + if (block->size != sdkctl->recycler_block_size || + sdkctl->recycler_count == sdkctl->recycler_max) { + /* Recycler is full, or block cannot be recycled. Just free the memory. */ free(mem); - return; + } else { + /* Add that block to the recycler. */ + assert(sdkctl->recycler_count >= 0); + block->next = sdkctl->recycler; + sdkctl->recycler = block; + sdkctl->recycler_count++; } - - block->next = sdkctl->recycler; - sdkctl->recycler = block; - sdkctl->recycler_count++; } /* Empties the recycler for a given SDKCtlSocket. */ @@ -344,7 +434,7 @@ _sdkctl_socket_empty_recycler(SDKCtlSocket* sdkctl) { SDKCtlRecycled* block = sdkctl->recycler; while (block != NULL) { - void* to_free = block; + void* const to_free = block; block = block->next; free(to_free); } @@ -366,6 +456,7 @@ _sdkctl_socket_add_query(SDKCtlQuery* query) { SDKCtlSocket* const sdkctl = query->sdkctl; if (sdkctl->query_head == NULL) { + assert(sdkctl->query_tail == NULL); sdkctl->query_head = sdkctl->query_tail = query; } else { sdkctl->query_tail->next = query; @@ -378,7 +469,9 @@ _sdkctl_socket_add_query(SDKCtlQuery* query) /* Removes a query from the list of active queries. * Param: - * query - Query to remove from the list of active queries. + * query - Query to remove from the list of active queries. If query has been + * removed from the list, it will be dereferenced to offset the reference + * that wad made when the query has been added to the list. * Return: * Boolean: 1 if query has been removed, or 0 if query has not been found in the * list of active queries. @@ -390,11 +483,11 @@ _sdkctl_socket_remove_query(SDKCtlQuery* query) SDKCtlQuery* prev = NULL; SDKCtlQuery* head = sdkctl->query_head; - /* Quick check: the query could be currently handled by dispatcher. */ + /* Quick check: the query could be currently handled by the dispatcher. */ if (sdkctl->io_dispatcher.current_query == query) { /* Release the query from dispatcher. */ - sdkctl_query_release(query); sdkctl->io_dispatcher.current_query = NULL; + sdkctl_query_release(query); return 1; } @@ -403,32 +496,34 @@ _sdkctl_socket_remove_query(SDKCtlQuery* query) prev = head; head = head->next; } - if (head != NULL) { - if (prev == NULL) { - /* Query is at the head of the list. */ - assert(query == sdkctl->query_head); - sdkctl->query_head = query->next; - } else { - /* Query is in the middle / at the end of the list. */ - assert(query != sdkctl->query_head); - prev->next = query->next; - } - if (sdkctl->query_tail == query) { - /* Query is at the tail of the list. */ - assert(query->next == NULL); - sdkctl->query_tail = prev; - } - query->next = NULL; + if (head == NULL) { + D("SDKCtl %s: Query %p is not found in the list.", + sdkctl->service_name, query); + return 0; + } - /* Release query that is now removed from the list. Note that query - * passed to this routine should hold an extra reference, owned by the - * caller. */ - sdkctl_query_release(query); - return 1; + if (prev == NULL) { + /* Query is at the head of the list. */ + assert(query == sdkctl->query_head); + sdkctl->query_head = query->next; } else { - D("%s: Query %p is not found in the list.", sdkctl->service_name, query); - return 0; + /* Query is in the middle / at the end of the list. */ + assert(query != sdkctl->query_head); + prev->next = query->next; } + if (sdkctl->query_tail == query) { + /* Query is at the tail of the list. */ + assert(query->next == NULL); + sdkctl->query_tail = prev; + } + query->next = NULL; + + /* Release query that is now removed from the list. Note that query + * passed to this routine should hold an extra reference, owned by the + * caller. */ + sdkctl_query_release(query); + + return 1; } /* Removes a query (based on query ID) from the list of active queries. @@ -437,11 +532,14 @@ _sdkctl_socket_remove_query(SDKCtlQuery* query) * query_id - Identifies the query to remove. * Return: * A query removed from the list of active queries, or NULL if query with the - * given ID has not been found in the list. + * given ID has not been found in the list. Note that query returned from this + * routine still holds the reference made when the query has been added to the + * list. */ static SDKCtlQuery* _sdkctl_socket_remove_query_id(SDKCtlSocket* sdkctl, int query_id) { + SDKCtlQuery* query = NULL; SDKCtlQuery* prev = NULL; SDKCtlQuery* head = sdkctl->query_head; @@ -449,7 +547,7 @@ _sdkctl_socket_remove_query_id(SDKCtlSocket* sdkctl, int query_id) if (sdkctl->io_dispatcher.current_query != NULL && sdkctl->io_dispatcher.current_query->header.query_id == query_id) { /* Release the query from dispatcher. */ - SDKCtlQuery* const query = sdkctl->io_dispatcher.current_query; + query = sdkctl->io_dispatcher.current_query; sdkctl->io_dispatcher.current_query = NULL; return query; } @@ -459,37 +557,38 @@ _sdkctl_socket_remove_query_id(SDKCtlSocket* sdkctl, int query_id) prev = head; head = head->next; } - if (head != NULL) { - /* Query is found in the list. */ - SDKCtlQuery* const query = head; - if (prev == NULL) { - /* Query is at the head of the list. */ - assert(query == sdkctl->query_head); - sdkctl->query_head = query->next; - } else { - /* Query is in the middle, or at the end of the list. */ - assert(query != sdkctl->query_head); - prev->next = query->next; - } - if (sdkctl->query_tail == query) { - /* Query is at the tail of the list. */ - assert(query->next == NULL); - sdkctl->query_tail = prev; - } - query->next = NULL; - return query; - } else { - D("%s: Query ID %d is not found in the list.", + if (head == NULL) { + D("SDKCtl %s: Query ID %d is not found in the list.", sdkctl->service_name, query_id); return NULL; } + + /* Query is found in the list. */ + query = head; + if (prev == NULL) { + /* Query is at the head of the list. */ + assert(query == sdkctl->query_head); + sdkctl->query_head = query->next; + } else { + /* Query is in the middle, or at the end of the list. */ + assert(query != sdkctl->query_head); + prev->next = query->next; + } + if (sdkctl->query_tail == query) { + /* Query is at the tail of the list. */ + assert(query->next == NULL); + sdkctl->query_tail = prev; + } + query->next = NULL; + + return query; } /* Pulls the first query from the list of active queries. * Param: * sdkctl - SDKCtlSocket instance that owns the query. * Return: - * A query removed pulled from the list of active queries, or NULL if query + * A query removed from the head of the list of active queries, or NULL if query * list is empty. */ static SDKCtlQuery* @@ -519,19 +618,24 @@ _sdkctl_socket_next_query_id(SDKCtlSocket* sdkctl) /* Alocates a packet. */ static SDKCtlPacket* -_sdkctl_packet_new(SDKCtlSocket* sdkctl, int size, int type) +_sdkctl_packet_new(SDKCtlSocket* sdkctl, uint32_t size, int type) { - const uint32_t total_size = sizeof(SDKCtlPacket) + size; - SDKCtlPacket* const packet = _sdkctl_socket_alloc_recycler(sdkctl, total_size); + /* Allocate packet descriptor large enough to contain packet data. */ + SDKCtlPacket* const packet = + _sdkctl_socket_alloc_recycler(sdkctl, sizeof(SDKCtlPacket) + size); - packet->sdkctl = sdkctl; - packet->ref_count = 1; - packet->header.size = size; - packet->header.type = type; + packet->sdkctl = sdkctl; + packet->ref_count = 1; + packet->header.signature = _sdkctl_packet_sig; + packet->header.size = size; + packet->header.type = type; /* Refence SDKCTlSocket that owns this packet. */ sdkctl_socket_reference(sdkctl); + T("SDKCtl %s: Packet %p of type %d is allocated for %d bytes transfer.", + sdkctl->service_name, packet, type, size); + return packet; } @@ -541,23 +645,27 @@ _sdkctl_packet_free(SDKCtlPacket* packet) { SDKCtlSocket* const sdkctl = packet->sdkctl; - /* Free allocated resources. */ + /* Recycle packet. */ _sdkctl_socket_free_recycler(packet->sdkctl, packet); + T("SDKCtl %s: Packet %p is freed.", sdkctl->service_name, packet); + /* Release SDKCTlSocket that owned this packet. */ sdkctl_socket_release(sdkctl); } +/* References a packet. */ int -sdkctl_packet_reference(SDKCtlPacket* packet) +_sdkctl_packet_reference(SDKCtlPacket* packet) { assert(packet->ref_count > 0); packet->ref_count++; return packet->ref_count; } +/* Releases a packet. */ int -sdkctl_packet_release(SDKCtlPacket* packet) +_sdkctl_packet_release(SDKCtlPacket* packet) { assert(packet->ref_count > 0); packet->ref_count--; @@ -569,6 +677,272 @@ sdkctl_packet_release(SDKCtlPacket* packet) return packet->ref_count; } +/* An I/O callback invoked on packet transmission. + * Param: + * io_opaque SDKCtlPacket instance of the packet that's being sent with this I/O. + * asio - Write I/O descriptor. + * status - I/O status. + */ +static AsyncIOAction +_on_sdkctl_packet_send_io(void* io_opaque, + AsyncSocketIO* asio, + AsyncIOState status) +{ + SDKCtlPacket* const packet = (SDKCtlPacket*)io_opaque; + AsyncIOAction action = ASIO_ACTION_DONE; + + /* Reference the packet while we're in this callback. */ + _sdkctl_packet_reference(packet); + + /* Lets see what's going on with query transmission. */ + switch (status) { + case ASIO_STATE_SUCCEEDED: + /* Packet has been sent to the service. */ + T("SDKCtl %s: Packet %p transmission has succeeded.", + packet->sdkctl->service_name, packet); + break; + + case ASIO_STATE_CANCELLED: + T("SDKCtl %s: Packet %p is cancelled.", + packet->sdkctl->service_name, packet); + break; + + case ASIO_STATE_FAILED: + T("SDKCtl %s: Packet %p has failed: %d -> %s", + packet->sdkctl->service_name, packet, errno, strerror(errno)); + break; + + case ASIO_STATE_FINISHED: + /* Time to disassociate the packet with the I/O. */ + _sdkctl_packet_release(packet); + break; + + default: + /* Transitional state. */ + break; + } + + _sdkctl_packet_release(packet); + + return action; +} + +/* Transmits a packet to SDK Controller. + * Param: + * packet - Packet to transmit. + */ +static void +_sdkctl_packet_transmit(SDKCtlPacket* packet) +{ + assert(packet->header.signature == _sdkctl_packet_sig); + + /* Reference to associate with the I/O */ + _sdkctl_packet_reference(packet); + + /* Transmit the packet to SDK controller. */ + async_socket_write_rel(packet->sdkctl->as, &packet->header, packet->header.size, + _on_sdkctl_packet_send_io, packet, -1); + + T("SDKCtl %s: Packet %p size %d is being sent.", + packet->sdkctl->service_name, packet, packet->header.size); +} + +/******************************************************************************** + * SDKCtlDirectPacket implementation + ********************************************************************************/ + +SDKCtlDirectPacket* +sdkctl_direct_packet_new(SDKCtlSocket* sdkctl) +{ + SDKCtlDirectPacket* const packet = + _sdkctl_socket_alloc_recycler(sdkctl, sizeof(SDKCtlDirectPacket)); + + packet->sdkctl = sdkctl; + packet->ref_count = 1; + + /* Refence SDKCTlSocket that owns this packet. */ + sdkctl_socket_reference(packet->sdkctl); + + T("SDKCtl %s: Direct packet %p is allocated.", sdkctl->service_name, packet); + + return packet; +} + +/* Frees a direct packet. */ +static void +_sdkctl_direct_packet_free(SDKCtlDirectPacket* packet) +{ + SDKCtlSocket* const sdkctl = packet->sdkctl; + + /* Free allocated resources. */ + _sdkctl_socket_free_recycler(packet->sdkctl, packet); + + T("SDKCtl %s: Direct packet %p is freed.", sdkctl->service_name, packet); + + /* Release SDKCTlSocket that owned this packet. */ + sdkctl_socket_release(sdkctl); +} + +/* References a packet. */ +int +sdkctl_direct_packet_reference(SDKCtlDirectPacket* packet) +{ + assert(packet->ref_count > 0); + packet->ref_count++; + return packet->ref_count; +} + +/* Releases a packet. */ +int +sdkctl_direct_packet_release(SDKCtlDirectPacket* packet) +{ + assert(packet->ref_count > 0); + packet->ref_count--; + if (packet->ref_count == 0) { + /* Last reference has been dropped. Destroy this object. */ + _sdkctl_direct_packet_free(packet); + return 0; + } + return packet->ref_count; +} + +/* An I/O callback invoked on direct packet transmission. + * Param: + * io_opaque SDKCtlDirectPacket instance of the packet that's being sent with + * this I/O. + * asio - Write I/O descriptor. + * status - I/O status. + */ +static AsyncIOAction +_on_sdkctl_direct_packet_send_io(void* io_opaque, + AsyncSocketIO* asio, + AsyncIOState status) +{ + SDKCtlDirectPacket* const packet = (SDKCtlDirectPacket*)io_opaque; + AsyncIOAction action = ASIO_ACTION_DONE; + + /* Reference the packet while we're in this callback. */ + sdkctl_direct_packet_reference(packet); + + /* Lets see what's going on with query transmission. */ + switch (status) { + case ASIO_STATE_SUCCEEDED: + /* Packet has been sent to the service. */ + T("SDKCtl %s: Direct packet %p transmission has succeeded.", + packet->sdkctl->service_name, packet); + packet->on_sent(packet->on_sent_opaque, packet, status); + break; + + case ASIO_STATE_CANCELLED: + T("SDKCtl %s: Direct packet %p is cancelled.", + packet->sdkctl->service_name, packet); + packet->on_sent(packet->on_sent_opaque, packet, status); + break; + + case ASIO_STATE_FAILED: + T("SDKCtl %s: Direct packet %p has failed: %d -> %s", + packet->sdkctl->service_name, packet, errno, strerror(errno)); + packet->on_sent(packet->on_sent_opaque, packet, status); + break; + + case ASIO_STATE_FINISHED: + /* Time to disassociate with the I/O. */ + sdkctl_direct_packet_release(packet); + break; + + default: + /* Transitional state. */ + break; + } + + sdkctl_direct_packet_release(packet); + + return action; +} + +void +sdkctl_direct_packet_send(SDKCtlDirectPacket* packet, + void* data, + on_sdkctl_direct_cb cb, + void* cb_opaque) +{ + packet->packet = (SDKCtlPacketHeader*)data; + packet->on_sent = cb; + packet->on_sent_opaque = cb_opaque; + assert(packet->packet->signature == _sdkctl_packet_sig); + + /* Reference for I/O */ + sdkctl_direct_packet_reference(packet); + + /* Transmit the packet to SDK controller. */ + async_socket_write_rel(packet->sdkctl->as, packet->packet, packet->packet->size, + _on_sdkctl_direct_packet_send_io, packet, -1); + + T("SDKCtl %s: Direct packet %p size %d is being sent", + packet->sdkctl->service_name, packet, packet->packet->size); +} + +/******************************************************************************** + * SDKCtlMessage implementation + *******************************************************************************/ + +/* Alocates a message descriptor. */ +static SDKCtlMessage* +_sdkctl_message_new(SDKCtlSocket* sdkctl, uint32_t msg_size, int msg_type) +{ + SDKCtlMessage* const msg = + (SDKCtlMessage*)_sdkctl_packet_new(sdkctl, + sizeof(SDKCtlMessageHeader) + msg_size, + SDKCTL_PACKET_MESSAGE); + msg->msg_type = msg_type; + + return msg; +} + +int +sdkctl_message_reference(SDKCtlMessage* msg) +{ + return _sdkctl_packet_reference(&msg->packet); +} + +int +sdkctl_message_release(SDKCtlMessage* msg) +{ + return _sdkctl_packet_release(&msg->packet); +} + +SDKCtlMessage* +sdkctl_message_send(SDKCtlSocket* sdkctl, + int msg_type, + const void* data, + uint32_t size) +{ + SDKCtlMessage* const msg = _sdkctl_message_new(sdkctl, size, msg_type); + if (size != 0 && data != NULL) { + memcpy(msg + 1, data, size); + } + _sdkctl_packet_transmit(&msg->packet); + + return msg; +} + +int +sdkctl_message_get_header_size(void) +{ + return sizeof(SDKCtlMessageHeader); +} + +void +sdkctl_init_message_header(void* msg, int msg_type, int msg_size) +{ + SDKCtlMessageHeader* const msg_header = (SDKCtlMessageHeader*)msg; + + msg_header->packet.signature = _sdkctl_packet_sig; + msg_header->packet.size = sizeof(SDKCtlMessageHeader) + msg_size; + msg_header->packet.type = SDKCTL_PACKET_MESSAGE; + msg_header->msg_type = msg_type; +} + /******************************************************************************** * SDKCtlQuery implementation *******************************************************************************/ @@ -579,19 +953,21 @@ _sdkctl_query_free(SDKCtlQuery* query) { if (query != NULL) { SDKCtlSocket* const sdkctl = query->sdkctl; - T("SDKCtl %s: Query %p ID %d is freed.", - sdkctl->service_name, query, query->header.query_id); - - /* Free allocated resources. */ if (query->internal_resp_buffer != NULL && (query->response_buffer == NULL || query->response_buffer == &query->internal_resp_buffer)) { + /* This query used its internal buffer to receive the response. + * Free it. */ free(query->internal_resp_buffer); } loopTimer_done(query->timer); + + /* Recyle the descriptor. */ _sdkctl_socket_free_recycler(sdkctl, query); + T("SDKCtl %s: Query %p is freed.", sdkctl->service_name, query); + /* Release socket that owned this query. */ sdkctl_socket_release(sdkctl); } @@ -609,8 +985,8 @@ _sdkctl_query_cancel_timeout(SDKCtlQuery* query) { loopTimer_stop(query->timer); - T("SDKCtl %s: Query %p ID %d deadline is cancelled.", - query->sdkctl->service_name, query, query->header.query_id); + T("SDKCtl %s: Query %p ID %d deadline %lld is cancelled.", + query->sdkctl->service_name, query, query->header.query_id, query->deadline); } /* @@ -639,7 +1015,7 @@ _on_sdkctl_query_cancelled(SDKCtlQuery* query) * Query cancellation means that SDK controller is disconnected. In turn, * this means that SDK controller socket will handle disconnection in its * connection callback. So, at this point all we need to do here is to inform - * the client, and then unlist the query. + * the client about query cancellation. */ /* Cancel deadline, and inform the client about query cancellation. */ @@ -676,12 +1052,11 @@ _on_skdctl_query_timeout(void* opaque) sdkctl_query_release(query); } -/* A callback that is invoked when query has been sent to the SDK controller - * service. */ +/* A callback that is invoked when query has been sent to the SDK controller. */ static void _on_sdkctl_query_sent(SDKCtlQuery* query) { - T("SDKCtl %s: sent %d bytes of query %p ID %d of type %d", + T("SDKCtl %s: Sent %d bytes of query %p ID %d of type %d", query->sdkctl->service_name, query->header.packet.size, query, query->header.query_id, query->header.query_type); @@ -710,31 +1085,25 @@ _on_sdkctl_query_send_io(void* io_opaque, /* Reference the query while we're in this callback. */ sdkctl_query_reference(query); - if (status == ASIO_STATE_SUCCEEDED) { - /* Query has been sent to the service. */ - _on_sdkctl_query_sent(query); - - sdkctl_query_release(query); - - return ASIO_ACTION_DONE; - } - /* Lets see what's going on with query transmission. */ switch (status) { + case ASIO_STATE_SUCCEEDED: + /* Query has been sent to the service. */ + _on_sdkctl_query_sent(query); + break; + case ASIO_STATE_CANCELLED: - T("SDKCtl %s: Query %p ID %d is cancelled in %s I/O.", - query->sdkctl->service_name, query, query->header.query_id, - async_socket_io_is_read(asio) ? "READ" : "WRITE"); + T("SDKCtl %s: Query %p ID %d is cancelled in transmission.", + query->sdkctl->service_name, query, query->header.query_id); /* Remove the query from the list of active queries. */ _sdkctl_socket_remove_query(query); _on_sdkctl_query_cancelled(query); break; case ASIO_STATE_TIMED_OUT: - D("SDKCtl %s: Query %p ID %d with deadline %lld has timed out in %s I/O at %lld", + D("SDKCtl %s: Query %p ID %d with deadline %lld has timed out in transmission at %lld", query->sdkctl->service_name, query, query->header.query_id, - query->deadline, async_socket_io_is_read(asio) ? "READ" : "WRITE", - async_socket_deadline(query->sdkctl->as, 0)); + query->deadline, async_socket_deadline(query->sdkctl->as, 0)); /* Invoke query's callback. */ action = query->query_cb(query->query_opaque, query, status); /* For actions other than retry we need to stop the query. */ @@ -744,9 +1113,8 @@ _on_sdkctl_query_send_io(void* io_opaque, break; case ASIO_STATE_FAILED: - T("SDKCtl %s: Query %p ID %d failed in %s I/O: %d -> %s", + T("SDKCtl %s: Query %p ID %d failed in transmission: %d -> %s", query->sdkctl->service_name, query, query->header.query_id, - async_socket_io_is_read(asio) ? "READ" : "WRITE", errno, strerror(errno)); /* Invoke query's callback. Note that we will let the client to * decide what to do on I/O failure. */ @@ -779,23 +1147,23 @@ _on_sdkctl_query_send_io(void* io_opaque, SDKCtlQuery* sdkctl_query_new(SDKCtlSocket* sdkctl, int query_type, uint32_t in_data_size) { - const uint32_t total_size = sizeof(SDKCtlQuery) + in_data_size; - - SDKCtlQuery* const query = _sdkctl_socket_alloc_recycler(sdkctl, total_size); - query->next = NULL; - query->sdkctl = sdkctl; - query->response_buffer = NULL; - query->response_size = NULL; - query->internal_resp_buffer = NULL; - query->internal_resp_size = 0; - query->query_cb = NULL; - query->query_opaque = NULL; - query->deadline = DURATION_INFINITE; - query->ref_count = 1; - query->header.packet.size = sizeof(SDKCtlQueryHeader) + in_data_size; - query->header.packet.type = SDKCTL_PACKET_QUERY; - query->header.query_id = _sdkctl_socket_next_query_id(sdkctl); - query->header.query_type = query_type; + SDKCtlQuery* const query = + _sdkctl_socket_alloc_recycler(sdkctl, sizeof(SDKCtlQuery) + in_data_size); + query->next = NULL; + query->sdkctl = sdkctl; + query->response_buffer = NULL; + query->response_size = NULL; + query->internal_resp_buffer = NULL; + query->internal_resp_size = 0; + query->query_cb = NULL; + query->query_opaque = NULL; + query->deadline = DURATION_INFINITE; + query->ref_count = 1; + query->header.packet.signature = _sdkctl_packet_sig; + query->header.packet.size = sizeof(SDKCtlQueryHeader) + in_data_size; + query->header.packet.type = SDKCTL_PACKET_QUERY; + query->header.query_id = _sdkctl_socket_next_query_id(sdkctl); + query->header.query_type = query_type; /* Initialize timer to fire up on query deadline expiration. */ loopTimer_init(query->timer, sdkctl->looper, _on_skdctl_query_timeout, query); @@ -822,21 +1190,19 @@ sdkctl_query_new_ex(SDKCtlSocket* sdkctl, { SDKCtlQuery* const query = sdkctl_query_new(sdkctl, query_type, in_data_size); - query->response_buffer = response_buffer; + query->response_buffer = response_buffer; if (query->response_buffer == NULL) { /* Creator didn't supply a buffer. Use internal one instead. */ query->response_buffer = &query->internal_resp_buffer; - query->internal_resp_buffer = NULL; } - query->response_size = response_size; + query->response_size = response_size; if (query->response_size == NULL) { /* Creator didn't supply a buffer for response size. Use internal one * instead. */ query->response_size = &query->internal_resp_size; - query->internal_resp_size = 0; } - query->query_cb = query_cb; - query->query_opaque = query_opaque; + query->query_cb = query_cb; + query->query_opaque = query_opaque; /* Init query's input buffer. */ if (in_data_size != 0 && in_data != NULL) { memcpy(query + 1, in_data, in_data_size); @@ -859,11 +1225,12 @@ sdkctl_query_send(SDKCtlQuery* query, int to) /* Reference query associated with write I/O. */ sdkctl_query_reference(query); + assert(query->header.packet.signature == _sdkctl_packet_sig); /* Transmit the query to SDK controller. */ async_socket_write_abs(sdkctl->as, &query->header, query->header.packet.size, _on_sdkctl_query_send_io, query, query->deadline); - T("SDKCtl %s: Query %p ID %d type %d is sent with deadline at %lld", + T("SDKCtl %s: Query %p ID %d type %d is being sent with deadline at %lld", query->sdkctl->service_name, query, query->header.query_id, query->header.query_type, query->deadline); } @@ -908,20 +1275,73 @@ sdkctl_query_release(SDKCtlQuery* query) return query->ref_count; } +void* +sdkctl_query_get_buffer_in(SDKCtlQuery* query) +{ + /* Query buffer starts right after the header. */ + return query + 1; +} + +void* +sdkctl_query_get_buffer_out(SDKCtlQuery* query) +{ + return query->response_buffer != NULL ? *query->response_buffer : + query->internal_resp_buffer; +} + /******************************************************************************** * SDKCtlPacket implementation *******************************************************************************/ -/* A packet has been received from SDK controller. */ +/* A packet has been received from SDK controller. + * Note that we expect the packet to be a message, since queries, and query + * replies are handled separately. */ static void _on_sdkctl_packet_received(SDKCtlSocket* sdkctl, SDKCtlPacket* packet) { T("SDKCtl %s: Received packet size: %d, type: %d", sdkctl->service_name, packet->header.size, packet->header.type); - /* Dispatch received packet to the client. */ - sdkctl->on_message(sdkctl->opaque, sdkctl, packet, packet->header.type, - packet + 1, packet->header.size - sizeof(SDKCtlPacketHeader)); + assert(packet->header.signature == _sdkctl_packet_sig); + if (packet->header.type == SDKCTL_PACKET_MESSAGE) { + SDKCtlMessage* const msg = (SDKCtlMessage*)packet; + /* Lets see if this is an internal protocol message. */ + switch (msg->msg_type) { + case SDKCTL_MSG_PORT_CONNECTED: + sdkctl->port_status = SDKCTL_PORT_CONNECTED; + sdkctl->on_port_connection(sdkctl->opaque, sdkctl, + SDKCTL_PORT_CONNECTED); + break; + + case SDKCTL_MSG_PORT_DISCONNECTED: + sdkctl->port_status = SDKCTL_PORT_DISCONNECTED; + sdkctl->on_port_connection(sdkctl->opaque, sdkctl, + SDKCTL_PORT_DISCONNECTED); + break; + + case SDKCTL_MSG_PORT_ENABLED: + sdkctl->port_status = SDKCTL_PORT_ENABLED; + sdkctl->on_port_connection(sdkctl->opaque, sdkctl, + SDKCTL_PORT_ENABLED); + break; + + case SDKCTL_MSG_PORT_DISABLED: + sdkctl->port_status = SDKCTL_PORT_DISABLED; + sdkctl->on_port_connection(sdkctl->opaque, sdkctl, + SDKCTL_PORT_DISABLED); + break; + + default: + /* This is a higher-level message. Dispatch the message to the + * client. */ + sdkctl->on_message(sdkctl->opaque, sdkctl, msg, msg->msg_type, msg + 1, + packet->header.size - sizeof(SDKCtlMessageHeader)); + break; + } + } else { + E("SDKCtl %s: Received unknown packet type %d size %d", + sdkctl->service_name, packet->header.type, packet->header.size); + } } /******************************************************************************** @@ -949,7 +1369,7 @@ _sdkctl_io_dispatcher_start(SDKCtlSocket* sdkctl) { dispatcher->current_query = NULL; /* Register a packet header reader with the socket. */ - async_socket_read_rel(dispatcher->sdkctl->as, &dispatcher->header, + async_socket_read_rel(dispatcher->sdkctl->as, &dispatcher->packet_header, sizeof(SDKCtlPacketHeader), _on_sdkctl_io_dispatcher_io, dispatcher, -1); } @@ -969,12 +1389,14 @@ _sdkctl_io_dispatcher_reset(SDKCtlSocket* sdkctl) { /* Free packet data buffer. */ if (dispatcher->packet != NULL) { - sdkctl_packet_release(dispatcher->packet); + _sdkctl_packet_release(dispatcher->packet); dispatcher->packet = NULL; } /* Reset dispatcher state. */ dispatcher->state = SDKCTL_IODISP_EXPECT_HEADER; + + T("SDKCtl %s: I/O Dispatcher is reset", sdkctl->service_name); } /* @@ -999,7 +1421,7 @@ _on_io_dispatcher_io_failure(SDKCtlIODispatcher* dispatcher, /* Report disconnection to the client, and let it restore connection in this * callback. */ - sdkctl->on_connection(sdkctl->opaque, sdkctl, ASIO_STATE_FAILED); + sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, ASIO_STATE_FAILED); } /* A callback that is invoked when dispatcher's reader has been cancelled. */ @@ -1020,7 +1442,7 @@ _on_io_dispatcher_io_cancelled(SDKCtlIODispatcher* dispatcher, /* Discard packet data we've received so far. */ if (dispatcher->packet != NULL) { - sdkctl_packet_release(dispatcher->packet); + _sdkctl_packet_release(dispatcher->packet); dispatcher->packet = NULL; } } @@ -1033,8 +1455,20 @@ _on_io_dispatcher_packet_header(SDKCtlIODispatcher* dispatcher, SDKCtlSocket* const sdkctl = dispatcher->sdkctl; T("SDKCtl %s: Packet header type %d, size %d is received.", - dispatcher->sdkctl->service_name, dispatcher->header.type, - dispatcher->header.size); + dispatcher->sdkctl->service_name, dispatcher->packet_header.type, + dispatcher->packet_header.size); + + /* Make sure we have a valid packet header. */ + if (dispatcher->packet_header.signature != _sdkctl_packet_sig) { + E("SDKCtl %s: Invalid packet signature %x for packet type %d, size %d", + sdkctl->service_name, dispatcher->packet_header.signature, + dispatcher->packet_header.type, dispatcher->packet_header.size); + /* This is a protocol failure. Treat it as I/O failure: disconnect, and + * let the client to decide what to do next. */ + errno = EINVAL; + _on_io_dispatcher_io_failure(dispatcher, asio); + return ASIO_ACTION_DONE; + } /* Here we have three choices for the packet, that define the rest of * the data that follow it: @@ -1044,7 +1478,7 @@ _on_io_dispatcher_packet_header(SDKCtlIODispatcher* dispatcher, * Update the state accordingly, and initiate reading of the * remaining of the packet. */ - if (dispatcher->header.type == SDKCTL_PACKET_QUERY_RESPONSE) { + if (dispatcher->packet_header.type == SDKCTL_PACKET_QUERY_RESPONSE) { /* This is a response to the query. Before receiving response data we * need to locate the relevant query, and use its response buffer to read * the data. For that we need to obtain query ID firts. So, initiate @@ -1059,11 +1493,11 @@ _on_io_dispatcher_packet_header(SDKCtlIODispatcher* dispatcher, * there. */ dispatcher->state = SDKCTL_IODISP_EXPECT_DATA; dispatcher->packet = - _sdkctl_packet_new(sdkctl, dispatcher->header.size, - dispatcher->header.type); + _sdkctl_packet_new(sdkctl, dispatcher->packet_header.size, + dispatcher->packet_header.type); /* Initiate reading of the packet data. */ async_socket_read_rel(sdkctl->as, dispatcher->packet + 1, - dispatcher->header.size - sizeof(SDKCtlPacketHeader), + dispatcher->packet_header.size - sizeof(SDKCtlPacketHeader), _on_sdkctl_io_dispatcher_io, dispatcher, -1); } @@ -1075,18 +1509,19 @@ static AsyncIOAction _on_io_dispatcher_packet(SDKCtlIODispatcher* dispatcher, AsyncSocketIO* asio) { SDKCtlSocket* const sdkctl = dispatcher->sdkctl; + SDKCtlPacket* const packet = dispatcher->packet; + dispatcher->packet = NULL; T("SDKCtl %s: Packet type %d, size %d is received.", - dispatcher->sdkctl->service_name, dispatcher->header.type, - dispatcher->header.size); + dispatcher->sdkctl->service_name, dispatcher->packet_header.type, + dispatcher->packet_header.size); - _on_sdkctl_packet_received(sdkctl, dispatcher->packet); - sdkctl_packet_release(dispatcher->packet); - dispatcher->packet = NULL; + _on_sdkctl_packet_received(sdkctl, packet); + _sdkctl_packet_release(packet); /* Get ready for the next I/O cycle. */ dispatcher->state = SDKCTL_IODISP_EXPECT_HEADER; - async_socket_read_rel(sdkctl->as, &dispatcher->header, sizeof(SDKCtlPacketHeader), + async_socket_read_rel(sdkctl->as, &dispatcher->packet_header, sizeof(SDKCtlPacketHeader), _on_sdkctl_io_dispatcher_io, dispatcher, -1); return ASIO_ACTION_DONE; } @@ -1107,6 +1542,9 @@ _on_io_dispatcher_query_reply_header(SDKCtlIODispatcher* dispatcher, dispatcher->current_query = _sdkctl_socket_remove_query_id(sdkctl, dispatcher->query_reply_header.query_id); query = dispatcher->current_query; + const uint32_t query_data_size = + dispatcher->packet_header.size - sizeof(SDKCtlQueryReplyHeader); + dispatcher->state = SDKCTL_IODISP_EXPECT_QUERY_REPLY_DATA; if (query == NULL) { D("%s: Query #%d is not found by dispatcher", @@ -1116,13 +1554,12 @@ _on_io_dispatcher_query_reply_header(SDKCtlIODispatcher* dispatcher, * and then discard when it's over. */ dispatcher->state = SDKCTL_IODISP_EXPECT_QUERY_REPLY_DATA; dispatcher->packet = - _sdkctl_packet_new(sdkctl, dispatcher->header.size, - dispatcher->header.type); + _sdkctl_packet_new(sdkctl, dispatcher->packet_header.size, + dispatcher->packet_header.type); /* Copy query reply info to the packet. */ memcpy(&dispatcher->packet->header, &dispatcher->query_reply_header, sizeof(SDKCtlQueryReplyHeader)); - async_socket_read_rel(sdkctl->as, &dispatcher->query_header + 1, - dispatcher->header.size - sizeof(SDKCtlQueryReplyHeader), + async_socket_read_rel(sdkctl->as, dispatcher->packet + 1, query_data_size, _on_sdkctl_io_dispatcher_io, dispatcher, -1); } else { /* Prepare to receive query reply. For the simplicity sake, cancel query @@ -1130,9 +1567,6 @@ _on_io_dispatcher_query_reply_header(SDKCtlIODispatcher* dispatcher, * receiving query's reply. */ _sdkctl_query_cancel_timeout(query); - /* Adjust the reply buffer set for the query (if needed). */ - const uint32_t query_data_size = - dispatcher->header.size - sizeof(SDKCtlQueryReplyHeader); if (*query->response_size < query_data_size) { *query->response_buffer = malloc(query_data_size); if (*query->response_buffer == NULL) { @@ -1144,7 +1578,6 @@ _on_io_dispatcher_query_reply_header(SDKCtlIODispatcher* dispatcher, *query->response_size = query_data_size; /* Start reading query response. */ - dispatcher->state = SDKCTL_IODISP_EXPECT_QUERY_REPLY_DATA; async_socket_read_rel(sdkctl->as, *query->response_buffer, *query->response_size, _on_sdkctl_io_dispatcher_io, dispatcher, -1); @@ -1176,14 +1609,14 @@ _on_io_dispatcher_query_reply(SDKCtlIODispatcher* dispatcher, AsyncSocketIO* asi /* This was "read up in the air" for a cancelled query. Just discard the * read data. */ if (dispatcher->packet != NULL) { - sdkctl_packet_release(dispatcher->packet); + _sdkctl_packet_release(dispatcher->packet); dispatcher->packet = NULL; } } /* Get ready for the next I/O cycle. */ dispatcher->state = SDKCTL_IODISP_EXPECT_HEADER; - async_socket_read_rel(sdkctl->as, &dispatcher->header, sizeof(SDKCtlPacketHeader), + async_socket_read_rel(sdkctl->as, &dispatcher->packet_header, sizeof(SDKCtlPacketHeader), _on_sdkctl_io_dispatcher_io, dispatcher, -1); return ASIO_ACTION_DONE; } @@ -1351,6 +1784,7 @@ _sdkctl_socket_disconnect_socket(SDKCtlSocket* sdkctl) } sdkctl->state = SDKCTL_SOCKET_DISCONNECTED; + sdkctl->port_status = SDKCTL_PORT_DISCONNECTED; } /* Frees SDKCtlSocket instance. */ @@ -1358,6 +1792,8 @@ static void _sdkctl_socket_free(SDKCtlSocket* sdkctl) { if (sdkctl != NULL) { + T("SDKCtl %s: descriptor is destroing.", sdkctl->service_name); + /* Disconnect, and release the socket. */ if (sdkctl->as != NULL) { async_socket_disconnect(sdkctl->as); @@ -1394,7 +1830,7 @@ _on_async_socket_connected(SDKCtlSocket* sdkctl) /* Notify the client that connection is established. */ const AsyncIOAction action = - sdkctl->on_connection(sdkctl->opaque, sdkctl, ASIO_STATE_SUCCEEDED); + sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, ASIO_STATE_SUCCEEDED); if (action == ASIO_ACTION_DONE) { /* Initialize, and start main I/O dispatcher. */ @@ -1418,8 +1854,8 @@ _on_async_socket_disconnected(SDKCtlSocket* sdkctl) _sdkctl_socket_disconnect_socket(sdkctl); - AsyncIOAction action = sdkctl->on_connection(sdkctl->opaque, sdkctl, - ASIO_STATE_FAILED); + AsyncIOAction action = sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, + ASIO_STATE_FAILED); if (action == ASIO_ACTION_DONE) { /* Default action for disconnect is to reestablish the connection. */ action = ASIO_ACTION_RETRY; @@ -1481,35 +1917,38 @@ _on_async_socket_connection(void* client_opaque, SDKCtlSocket* sdkctl_socket_new(int reconnect_to, const char* service_name, - on_sdkctl_connection_cb on_connection, - on_sdkctl_handshake_cb on_handshake, + on_sdkctl_socket_connection_cb on_socket_connection, + on_sdkctl_port_connection_cb on_port_connection, on_sdkctl_message_cb on_message, void* opaque) { SDKCtlSocket* sdkctl; ANEW0(sdkctl); - sdkctl->state = SDKCTL_SOCKET_DISCONNECTED; - sdkctl->opaque = opaque; - sdkctl->service_name = ASTRDUP(service_name); - sdkctl->on_connection = on_connection; - sdkctl->on_handshake = on_handshake; - sdkctl->on_message = on_message; - sdkctl->reconnect_to = reconnect_to; - sdkctl->as = NULL; - sdkctl->next_query_id = 0; - sdkctl->query_head = sdkctl->query_tail = NULL; - sdkctl->ref_count = 1; - sdkctl->recycler = NULL; - sdkctl->recycler_block_size = 0; - sdkctl->recycler_max = 0; - sdkctl->recycler_count = 0; + sdkctl->state = SDKCTL_SOCKET_DISCONNECTED; + sdkctl->port_status = SDKCTL_PORT_DISCONNECTED; + sdkctl->opaque = opaque; + sdkctl->service_name = ASTRDUP(service_name); + sdkctl->on_socket_connection = on_socket_connection; + sdkctl->on_port_connection = on_port_connection; + sdkctl->on_message = on_message; + sdkctl->reconnect_to = reconnect_to; + sdkctl->as = NULL; + sdkctl->next_query_id = 0; + sdkctl->query_head = sdkctl->query_tail = NULL; + sdkctl->ref_count = 1; + sdkctl->recycler = NULL; + sdkctl->recycler_block_size = 0; + sdkctl->recycler_max = 0; + sdkctl->recycler_count = 0; + + T("SDKCtl %s: descriptor is created.", sdkctl->service_name); sdkctl->looper = looper_newCore(); if (sdkctl->looper == NULL) { E("Unable to create I/O looper for SDKCtl socket '%s'", service_name); - on_connection(opaque, sdkctl, ASIO_STATE_FAILED); + on_socket_connection(opaque, sdkctl, ASIO_STATE_FAILED); _sdkctl_socket_free(sdkctl); return NULL; } @@ -1569,7 +2008,7 @@ sdkctl_socket_connect(SDKCtlSocket* sdkctl, int port, int retry_to) if (sdkctl->as == NULL) { E("Unable to allocate AsyncSocket for SDKCtl socket '%s'", sdkctl->service_name); - sdkctl->on_connection(sdkctl->opaque, sdkctl, ASIO_STATE_FAILED); + sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, ASIO_STATE_FAILED); } else { async_socket_connect(sdkctl->as, retry_to); } @@ -1599,11 +2038,54 @@ sdkctl_socket_disconnect(SDKCtlSocket* sdkctl) _sdkctl_socket_disconnect_socket(sdkctl); } +int +sdkctl_socket_is_connected(SDKCtlSocket* sdkctl) +{ + return (sdkctl->state == SDKCTL_SOCKET_CONNECTED) ? 1 : 0; +} + +int +sdkctl_socket_is_port_ready(SDKCtlSocket* sdkctl) +{ + return (sdkctl->port_status == SDKCTL_PORT_ENABLED) ? 1 : 0; +} + +SdkCtlPortStatus +sdkctl_socket_get_port_status(SDKCtlSocket* sdkctl) +{ + return sdkctl->port_status; +} + +int +sdkctl_socket_is_handshake_ok(SDKCtlSocket* sdkctl) +{ + switch (sdkctl->port_status) { + case SDKCTL_HANDSHAKE_DUP: + case SDKCTL_HANDSHAKE_UNKNOWN_QUERY: + case SDKCTL_HANDSHAKE_UNKNOWN_RESPONSE: + return 0; + default: + return 1; + } +} /******************************************************************************** * Handshake query *******************************************************************************/ +/* + * Handshake result values. + */ + +/* Handshake has succeeded completed, and service-side port is connected. */ +#define SDKCTL_HANDSHAKE_RESP_CONNECTED 0 +/* Handshake has succeeded completed, but service-side port is not connected. */ +#define SDKCTL_HANDSHAKE_RESP_NOPORT 1 +/* Handshake has failed due to duplicate connection request. */ +#define SDKCTL_HANDSHAKE_RESP_DUP -1 +/* Handshake has failed due to unknown query. */ +#define SDKCTL_HANDSHAKE_RESP_QUERY_UNKNOWN -2 + /* A callback that is ivoked on handshake I/O events. */ static AsyncIOAction _on_handshake_io(void* query_opaque, @@ -1613,12 +2095,41 @@ _on_handshake_io(void* query_opaque, SDKCtlSocket* const sdkctl = (SDKCtlSocket*)query_opaque; if (status == ASIO_STATE_SUCCEEDED) { - D("SDKCtl %s: %d bytes of handshake reply is received.", - sdkctl->service_name, *query->response_size); + const int* res = (const int*)(*query->response_buffer); + SdkCtlPortStatus handshake_status; + switch (*res) { + case SDKCTL_HANDSHAKE_RESP_CONNECTED: + D("SDKCtl %s: Handshake succeeded. Port is connected", + sdkctl->service_name); + handshake_status = SDKCTL_HANDSHAKE_CONNECTED; + break; + + case SDKCTL_HANDSHAKE_RESP_NOPORT: + D("SDKCtl %s: Handshake succeeded. Port is not connected", + sdkctl->service_name); + handshake_status = SDKCTL_HANDSHAKE_NO_PORT; + break; + + case SDKCTL_HANDSHAKE_RESP_DUP: + D("SDKCtl %s: Handshake failed: duplicate connection.", + sdkctl->service_name); + handshake_status = SDKCTL_HANDSHAKE_DUP; + break; - /* Handshake is received. Inform the client. */ - sdkctl->on_handshake(sdkctl->opaque, sdkctl, *query->response_buffer, - *query->response_size, status); + case SDKCTL_HANDSHAKE_RESP_QUERY_UNKNOWN: + D("SDKCtl %s: Handshake failed: unknown query.", + sdkctl->service_name); + handshake_status = SDKCTL_HANDSHAKE_UNKNOWN_QUERY; + break; + + default: + E("SDKCtl %s: Unknown handshake response: %d", + sdkctl->service_name, *res); + handshake_status = SDKCTL_HANDSHAKE_UNKNOWN_RESPONSE; + break; + } + sdkctl->port_status = handshake_status; + sdkctl->on_port_connection(sdkctl->opaque, sdkctl, handshake_status); } else { /* Something is going on with the handshake... */ switch (status) { @@ -1627,9 +2138,8 @@ _on_handshake_io(void* query_opaque, case ASIO_STATE_CANCELLED: D("SDKCtl %s: Handshake failed: I/O state %d. Error: %d -> %s", sdkctl->service_name, status, errno, strerror(errno)); - sdkctl->on_handshake(sdkctl->opaque, sdkctl, - *query->response_buffer, - *query->response_size, status); + sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, + ASIO_STATE_FAILED); break; default: @@ -1663,7 +2173,7 @@ _on_sdkctl_endianness_io(void* io_opaque, case ASIO_STATE_CANCELLED: D("SDKCtl %s: endianness failed: I/O state %d. Error: %d -> %s", sdkctl->service_name, status, errno, strerror(errno)); - sdkctl->on_handshake(sdkctl->opaque, sdkctl, NULL, 0, status); + sdkctl->on_socket_connection(sdkctl->opaque, sdkctl, ASIO_STATE_FAILED); break; default: @@ -1682,7 +2192,7 @@ static const char _host_end = 0; static const char _host_end = 1; #endif - D("SDKCtl %s: Sending endianness: %d...", sdkctl->service_name, _host_end); + D("SDKCtl %s: Sending endianness: %d", sdkctl->service_name, _host_end); /* Before we can send any structured data to the SDK controller we need to * report endianness of the host. */ diff --git a/android/sdk-controller-socket.h b/android/sdk-controller-socket.h index 03b12f4..e58a4e2 100644 --- a/android/sdk-controller-socket.h +++ b/android/sdk-controller-socket.h @@ -18,6 +18,7 @@ #define ANDROID_SDKCONTROL_SOCKET_H_ #include "android/async-socket.h" +#include "android/async-utils.h" /* * Contains declaration of an API that encapsulates communication protocol with @@ -102,20 +103,29 @@ * interested in that particular descriptor. * * There are three types of data in the exchange protocol: - * - A packet - the simplest type of data that doesn't require any replies. + * - A message - the simplest type of data that doesn't require any replies. * - A query - A message that require a reply, and * - A query reply - A message that delivers query reply. */ +/* Default TCP port to use for connection with SDK controller. */ +#define SDKCTL_DEFAULT_TCP_PORT 1970 + /* Declares SDK controller socket descriptor. */ typedef struct SDKCtlSocket SDKCtlSocket; -/* Declares SDK controller data packet descriptor. */ -typedef struct SDKCtlPacket SDKCtlPacket; +/* Declares SDK controller message descriptor. */ +typedef struct SDKCtlMessage SDKCtlMessage; /* Declares SDK controller query descriptor. */ typedef struct SDKCtlQuery SDKCtlQuery; +/* Declares SDK controller direct packet descriptor. + * Direct packet (unlike message, or query packets) doesn't contain data buffer, + * but rather references message, or query data allocated by the client. + */ +typedef struct SDKCtlDirectPacket SDKCtlDirectPacket; + /* Defines client's callback set to monitor SDK controller socket connection. * * SDKCtlSocket will invoke this callback when connection to TCP port is @@ -137,30 +147,52 @@ typedef struct SDKCtlQuery SDKCtlQuery; * Return: * One of the AsyncIOAction values. */ -typedef AsyncIOAction (*on_sdkctl_connection_cb)(void* client_opaque, - SDKCtlSocket* sdkctl, - AsyncIOState status); +typedef AsyncIOAction (*on_sdkctl_socket_connection_cb)(void* client_opaque, + SDKCtlSocket* sdkctl, + AsyncIOState status); + +/* Enumerates port connection statuses passed to port connection callback. + */ +typedef enum SdkCtlPortStatus { + /* Service-side port has connected to the socket. */ + SDKCTL_PORT_DISCONNECTED, + /* Service-side port has disconnected from the socket. */ + SDKCTL_PORT_CONNECTED, + /* Service-side port has enabled emulation */ + SDKCTL_PORT_ENABLED, + /* Service-side port has disabled emulation */ + SDKCTL_PORT_DISABLED, + /* Handshake request has succeeded, and service-side port is connected. */ + SDKCTL_HANDSHAKE_CONNECTED, + /* Handshake request has succeeded, but service-side port is not connected. */ + SDKCTL_HANDSHAKE_NO_PORT, + /* Handshake request has failed due to port duplication. */ + SDKCTL_HANDSHAKE_DUP, + /* Handshake request has failed on an unknown query. */ + SDKCTL_HANDSHAKE_UNKNOWN_QUERY, + /* Handshake request has failed on an unknown response. */ + SDKCTL_HANDSHAKE_UNKNOWN_RESPONSE, +} SdkCtlPortStatus; -/* Defines client's callback set to receive handshake reply from the SdkController - * service running on the device. +/* Defines client's callback set to receive port connection status. * - * Successful handshake means that connection between the client and SDK - * controller service has been established. + * Port connection is different than socket connection, and indicates whether + * or not a service-side port that provides requested emulation functionality is + * hooked up with the connected socket. For instance, multi-touch port may be + * inactive at the time when socket is connected. So, there is a successful + * socket connection, but there is no service at the device end that provides + * multi-touch functionality. So, for multi-touch example, this callback will be + * invoked when multi-touch port at the device end becomes active, and hooks up + * with the socket that was connected before. * * Param: * client_opaque - An opaque pointer associated with the client. * sdkctl - Initialized SDKCtlSocket instance. - * handshake - Handshake message received from the SDK controller service. - * handshake_size - Size of the fandshake message received from the SDK - * controller service. - * status - Handshake status. Note that handshake, and handshake_size are valid - * only if this parameter is set to ASIO_STATE_SUCCEEDED. - */ -typedef void (*on_sdkctl_handshake_cb)(void* client_opaque, - SDKCtlSocket* sdkctl, - void* handshake, - uint32_t handshake_size, - AsyncIOState status); + * status - Port connection status. + */ +typedef void (*on_sdkctl_port_connection_cb)(void* client_opaque, + SDKCtlSocket* sdkctl, + SdkCtlPortStatus status); /* Defines a message notification callback. * Param: @@ -176,7 +208,7 @@ typedef void (*on_sdkctl_handshake_cb)(void* client_opaque, */ typedef void (*on_sdkctl_message_cb)(void* client_opaque, SDKCtlSocket* sdkctl, - SDKCtlPacket* message, + SDKCtlMessage* message, int msg_type, void* msg_data, int msg_size); @@ -203,27 +235,114 @@ typedef AsyncIOAction (*on_sdkctl_query_cb)(void* query_opaque, SDKCtlQuery* query, AsyncIOState status); +/* Defines direct packet completion callback. + * Param: + * opaque - An opaque pointer associated with the direct packet by the client. + * packet - Packet descriptor. Note that packet descriptor will be released + * upon exit from this callback (thus, could be freed). If the client is + * interested in working with that packet after the callback returns, it + * should reference the packet descriptor in this callback. + * status - Packet status. Can be one of these: + * - ASIO_STATE_SUCCEEDED : Packet has been successfully sent. + * - ASIO_STATE_FAILED : Packet has failed on an I/O. + * - ASIO_STATE_CANCELLED : Packet has been cancelled due to socket + * disconnection. + * Return: + * One of the AsyncIOAction values. + */ +typedef AsyncIOAction (*on_sdkctl_direct_cb)(void* opaque, + SDKCtlDirectPacket* packet, + AsyncIOState status); + /******************************************************************************** - * SDKCtlPacket API + * SDKCtlDirectPacket API ********************************************************************************/ -/* References SDKCtlPacket object. +/* Creates new SDKCtlDirectPacket descriptor. * Param: - * packet - Initialized SDKCtlPacket instance. + * sdkctl - Initialized SDKCtlSocket instance to create a direct packet for. + * Return: + * Referenced SDKCtlDirectPacket instance. + */ +extern SDKCtlDirectPacket* sdkctl_direct_packet_new(SDKCtlSocket* sdkctl); + +/* References SDKCtlDirectPacket object. + * Param: + * packet - Initialized SDKCtlDirectPacket instance. * Return: * Number of outstanding references to the object. */ -extern int sdkctl_packet_reference(SDKCtlPacket* packet); +extern int sdkctl_direct_packet_reference(SDKCtlDirectPacket* packet); -/* Releases SDKCtlPacket object. +/* Releases SDKCtlDirectPacket object. * Note that upon exiting from this routine the object might be destroyed, even * if this routine returns value other than zero. * Param: - * packet - Initialized SDKCtlPacket instance. + * packet - Initialized SDKCtlDirectPacket instance. * Return: * Number of outstanding references to the object. */ -extern int sdkctl_packet_release(SDKCtlPacket* packet); +extern int sdkctl_direct_packet_release(SDKCtlDirectPacket* packet); + +/* Sends direct packet. + * Param: + * packet - Packet descriptor for the direct packet to send. + * data - Data to send with the packet. Must be fully initialized message, or + * query header. + * cb, cb_opaque - Callback to invoke on packet transmission events. + */ +extern void sdkctl_direct_packet_send(SDKCtlDirectPacket* packet, + void* data, + on_sdkctl_direct_cb cb, + void* cb_opaque); + +/******************************************************************************** + * SDKCtlMessage API + ********************************************************************************/ + +/* References SDKCtlMessage object. + * Param: + * msg - Initialized SDKCtlMessage instance. + * Return: + * Number of outstanding references to the object. + */ +extern int sdkctl_message_reference(SDKCtlMessage* msg); + +/* Releases SDKCtlMessage object. + * Note that upon exiting from this routine the object might be destroyed, even + * if this routine returns value other than zero. + * Param: + * msg - Initialized SDKCtlMessage instance. + * Return: + * Number of outstanding references to the object. + */ +extern int sdkctl_message_release(SDKCtlMessage* msg); + +/* Builds and sends a message to the device. + * Param: + * sdkctl - SDKCtlSocket instance for the message. + * msg_type - Defines message type. + * data - Message data. Can be NULL if there is no data associated with the + * message. + * size - Byte size of the data buffer. + * Return: + * Referenced SDKCtlQuery descriptor. + */ +extern SDKCtlMessage* sdkctl_message_send(SDKCtlSocket* sdkctl, + int msg_type, + const void* data, + uint32_t size); + +/* Gets message header size */ +extern int sdkctl_message_get_header_size(void); + +/* Initializes message header. + * Param: + * msg - Beginning of the message packet. + * msg_type - Message type. + * msg_size - Message data size. + */ +extern void sdkctl_init_message_header(void* msg, int msg_type, int msg_size); /******************************************************************************** * SDKCtlQuery API @@ -349,6 +468,14 @@ extern int sdkctl_query_release(SDKCtlQuery* query); */ extern void* sdkctl_query_get_buffer_in(SDKCtlQuery* query); +/* Gets address of query's output data buffer (response data). + * Param: + * query - Query to get data buffer for. + * Return: + * Address of query's output data buffer. + */ +extern void* sdkctl_query_get_buffer_out(SDKCtlQuery* query); + /******************************************************************************** * SDKCtlSocket API ********************************************************************************/ @@ -359,8 +486,8 @@ extern void* sdkctl_query_get_buffer_in(SDKCtlQuery* query); * attempts after disconnection, or on connection failures. * service_name - Name of the SdkController service for this socket (such as * 'sensors', 'milti-touch', etc.) - * on_connection - A callback to invoke on socket connection events. - * on_handshake - A callback to invoke on handshake events. + * on_socket_connection - A callback to invoke on socket connection events. + * on_port_connection - A callback to invoke on port connection events. * on_message - A callback to invoke when a message is received from the SDK * controller. * opaque - An opaque pointer to associate with the socket. @@ -369,8 +496,8 @@ extern void* sdkctl_query_get_buffer_in(SDKCtlQuery* query); */ extern SDKCtlSocket* sdkctl_socket_new(int reconnect_to, const char* service_name, - on_sdkctl_connection_cb on_connection, - on_sdkctl_handshake_cb on_handshake, + on_sdkctl_socket_connection_cb on_socket_connection, + on_sdkctl_port_connection_cb on_port_connection, on_sdkctl_message_cb on_message, void* opaque); @@ -437,4 +564,36 @@ extern void sdkctl_socket_reconnect(SDKCtlSocket* sdkctl, int port, int retry_to */ extern void sdkctl_socket_disconnect(SDKCtlSocket* sdkctl); +/* Checks if SDK controller socket is connected. + * Param: + * sdkctl - Initialized SDKCtlSocket instance. + * Return: + * Boolean: 1 if socket is connected, 0 if socket is not connected. + */ +extern int sdkctl_socket_is_connected(SDKCtlSocket* sdkctl); + +/* Checks if SDK controller port is ready for emulation. + * Param: + * sdkctl - Initialized SDKCtlSocket instance. + * Return: + * Boolean: 1 if port is ready, 0 if port is not ready. + */ +extern int sdkctl_socket_is_port_ready(SDKCtlSocket* sdkctl); + +/* Gets status of the SDK controller port for this socket. + * Param: + * sdkctl - Initialized SDKCtlSocket instance. + * Return: + * Status of the SDK controller port for this socket. + */ +extern SdkCtlPortStatus sdkctl_socket_get_port_status(SDKCtlSocket* sdkctl); + +/* Checks if handshake was successful. + * Param: + * sdkctl - Initialized SDKCtlSocket instance. + * Return: + * Boolean: 1 if handshake was successful, 0 if handshake was not successful. + */ +extern int sdkctl_socket_is_handshake_ok(SDKCtlSocket* sdkctl); + #endif /* ANDROID_SDKCONTROL_SOCKET_H_ */ diff --git a/android/sensors-port.c b/android/sensors-port.c index 8620783..6831fe3 100644 --- a/android/sensors-port.c +++ b/android/sensors-port.c @@ -14,370 +14,474 @@ * limitations under the License. */ +#include "android/sdk-controller-socket.h" #include "android/sensors-port.h" #include "android/hw-sensors.h" +#include "android/utils/debug.h" #define E(...) derror(__VA_ARGS__) #define W(...) dwarning(__VA_ARGS__) #define D(...) VERBOSE_PRINT(sensors_port,__VA_ARGS__) #define D_ACTIVE VERBOSE_CHECK(sensors_port) -/* Maximum number of sensors supported. */ -#define ASP_MAX_SENSOR 12 +#define TRACE_ON 1 + +#if TRACE_ON +#define T(...) VERBOSE_PRINT(sensors_port,__VA_ARGS__) +#else +#define T(...) +#endif + +/* Timeout (millisec) to use when communicating with SDK controller. */ +#define SDKCTL_SENSORS_TIMEOUT 3000 -/* Maximum length of a sensor message. */ -#define ASP_MAX_SENSOR_MSG 1024 +/* + * Queries sent to sensors port of the SDK controller. + */ -/* Maximum length of a sensor event. */ -#define ASP_MAX_SENSOR_EVENT 256 +/* Queries the port for list of available sensors. */ +#define SDKCTL_SENSORS_QUERY_LIST 1 -/* Query timeout in milliseconds. */ -#define ASP_QUERY_TIMEOUT 3000 +/* + * Messages sent between the emuator, and sensors port of the SDK controller. + */ + +/* Starts sensor emulation. */ +#define SDKCTL_SENSORS_START 1 +/* Stops sensor emulation. */ +#define SENSOR_SENSORS_STOP 2 +/* Enables emulation for a sensor. */ +#define SDKCTL_SENSORS_ENABLE 3 +/* Disables emulation for a sensor. */ +#define SDKCTL_SENSORS_DISABLE 4 +/* This message delivers sensor values. */ +#define SDKCTL_SENSORS_SENSOR_EVENT 5 + + +/* Describes a sensor on the device. + * When SDK controller sensors port replies to a "list" query, it replies with + * a flat buffer containing entries of this type following each other. End of + * each entry is a zero-terminator for its 'sensor_name' field. The end of the + * entire list is marked with an entry, containing -1 at its 'sensor_id' field. + */ +typedef struct SensorEntry { + /* Identifies sensor on the device. Value -1 indicates list terminator, + * rather than a valid sensor descriptor. */ + int sensor_id; + /* Beginning of zero-terminated sensor name. */ + char sensor_name[1]; +} SensorEntry; + +/* Describes a sensor in the array of emulated sensors. */ +typedef struct SensorDescriptor { + /* Identifies sensor on the device. */ + int sensor_id; + /* Identifies sensor in emulator. */ + int emulator_id; + /* Sensor name. */ + char* sensor_name; +} SensorDescriptor; + +/* Sensor event message descriptor. + * Entries of this type are sent along with SDKCTL_SENSORS_SENSOR_EVENT message + */ +typedef struct SensorEvent { + /* Identifies a device sensor for which values have been delivered. */ + int sensor_id; + /* Sensor values. */ + float fvalues[3]; +} SensorEvent; /* Sensors port descriptor. */ struct AndroidSensorsPort { /* Caller identifier. */ - void* opaque; - /* Connected android device. */ - AndroidDevice* device; - /* String containing list of all available sensors. */ - char sensors[ASP_MAX_SENSOR * 64]; - /* Array of available sensor names. Note that each string in this array - * points inside the 'sensors' buffer. */ - const char* sensor_list[ASP_MAX_SENSOR]; - /* Number of available sensors. */ - int sensors_num; - /* Connection status: 1 connected, 0 - disconnected. */ - int is_connected; - /* Buffer where to receive sensor messages. */ - char sensor_msg[ASP_MAX_SENSOR_MSG]; - /* Buffer where to receive sensor events. */ - char events[ASP_MAX_SENSOR_EVENT]; + void* opaque; + /* Communication socket. */ + SDKCtlSocket* sdkctl; + /* Lists sensors available for emulation. */ + SensorDescriptor** sensors; + /* Number of sensors in 'sensors' list. */ + int sensors_count; }; +/******************************************************************************** + * Sensors port internals + *******************************************************************************/ + +/* Checks if sensor descriptor is the terminator. + * Return: + * Boolean, 1 if it is a terminator, 0 if it is not. + */ +static int +_sensor_entry_is_terminator(const SensorEntry* entry) +{ + return entry == NULL || entry->sensor_id == -1; +} + +/* Gets next sensor descriptor. + * Return: + * Next sensor desciptor, or NULL if there are no more descriptors in the list. + */ +static const SensorEntry* +_sensor_entry_next(const SensorEntry* entry) +{ + if (!_sensor_entry_is_terminator(entry)) { + /* Next descriptor begins right after zero-terminator for the sensor_name + * field of this descriptor. */ + entry = (const SensorEntry*)(entry->sensor_name + strlen(entry->sensor_name) + 1); + if (!_sensor_entry_is_terminator(entry)) { + return entry; + } + } + return NULL; +} + +/* Gets number of entries in the list. */ +static int +_sensor_entry_list_size(const SensorEntry* entry) { + int ret = 0; + while (!_sensor_entry_is_terminator(entry)) { + ret++; + entry = _sensor_entry_next(entry); + } + return ret; +} + +/* Discards sensors saved in AndroidSensorsPort's array. */ +static void +_sensors_port_discard_sensors(AndroidSensorsPort* asp) +{ + if (asp->sensors != NULL) { + int n; + for (n = 0; n < asp->sensors_count; n++) { + if (asp->sensors[n] != NULL) { + free(asp->sensors[n]->sensor_name); + AFREE(asp->sensors[n]); + } + } + free(asp->sensors); + asp->sensors = NULL; + } + asp->sensors_count = 0; +} + + /* Destroys and frees the descriptor. */ static void _sensors_port_free(AndroidSensorsPort* asp) { if (asp != NULL) { - if (asp->device != NULL) { - android_device_destroy(asp->device); + _sensors_port_discard_sensors(asp); + if (asp->sdkctl != NULL) { + sdkctl_socket_release(asp->sdkctl); } AFREE(asp); } } -/******************************************************************************** - * Sensors port callbacks - *******************************************************************************/ +/* Parses flat sensor list, and saves its entries into 'sensors' array filed of + * the AndroidSensorsPort descriptor. */ +static void +_sensors_port_save_sensors(AndroidSensorsPort* asp, const SensorEntry* list) +{ + const int count = _sensor_entry_list_size(list); + if (count != 0) { + int n; + /* Allocate array for sensor descriptors. */ + asp->sensors = malloc(sizeof(SensorDescriptor*) * count); + + /* Iterate through the flat sensor list, filling up array of emulated + * sensors. */ + const SensorEntry* entry = _sensor_entry_is_terminator(list) ? NULL : list; + for (n = 0; n < count && entry != NULL; n++) { + /* Get emulator-side ID for the sensor. < 0 value indicates that + * sensor is not supported by the emulator. */ + const int emulator_id = + android_sensors_get_id_from_name((char*)entry->sensor_name); + if (emulator_id >= 0) { + SensorDescriptor* desc; + ANEW0(desc); + desc->emulator_id = emulator_id; + desc->sensor_id = entry->sensor_id; + desc->sensor_name = ASTRDUP(entry->sensor_name); + + asp->sensors[asp->sensors_count++] = desc; + D("Sensors: Emulated sensor '%s': Device id = %d, Emulator id = %d", + desc->sensor_name, desc->sensor_id, desc->emulator_id); + } else { + D("Sensors: Sensor '%s' is not support by emulator", + entry->sensor_name); + } + entry = _sensor_entry_next(entry); + } + D("Sensors: Emulating %d sensors", asp->sensors_count); + } +} -/* A callback that invoked on sensor events. +/* Finds sensor descriptor for an SDK controller-side ID. */ +static const SensorDescriptor* +_sensor_from_sdkctl_id(AndroidSensorsPort* asp, int id) +{ + int n; + for (n = 0; n < asp->sensors_count; n++) { + if (asp->sensors[n]->sensor_id == id) { + return asp->sensors[n]; + } + } + return NULL; +} + +/* Initiates sensor emulation. * Param: - * opaque - AndroidSensorsPort instance. - * ad - Android device used by this sensors port. - * msg, msgsize - Sensor event message - * failure - Message receiving status. + * asp - Android sensors port instance returned from sensors_port_create. + * Return: + * Zero on success, failure otherwise. */ static void -_on_sensor_received(void* opaque, AndroidDevice* ad, char* msg, int msgsize) +_sensors_port_start(AndroidSensorsPort* asp) { - float fvalues[3] = {0, 0, 0}; - char sensor[ASP_MAX_SENSOR_MSG]; - char* value; - int id; - AndroidSensorsPort* asp = (AndroidSensorsPort*)opaque; - - if (errno) { - D("Sensors notification has failed on sensors port: %s", strerror(errno)); - return; - } + int n; - /* Parse notification, separating sensor name from parameters. */ - memcpy(sensor, msg, msgsize); - value = strchr(sensor, ':'); - if (value == NULL) { - W("Bad format for sensor notification: %s", msg); + if (!sdkctl_socket_is_port_ready(asp->sdkctl)) { + /* SDK controller side is not ready for emulation. Retreat... */ + D("Sensors: SDK controller side is not ready for emulation."); return; } - sensor[value-sensor] = '\0'; - value++; - - id = android_sensors_get_id_from_name(sensor); - if (id >= 0) { - /* Parse the value part to get the sensor values(a, b, c) */ - int i; - char* pnext; - char* pend = value + strlen(value); - for (i = 0; i < 3; i++, value = pnext + 1) { - pnext=strchr( value, ':' ); - if (pnext) { - *pnext = 0; - } else { - pnext = pend; - } - if (pnext > value) { - if (1 != sscanf( value,"%g", &fvalues[i] )) { - W("Bad parameters in sensor notification %s", msg); - return; - } - } + /* Disable all sensors, and reenable only those that are emulated by + * hardware. */ + sensors_port_disable_sensor(asp, "all"); + + /* Walk throuh the list of enabled sensors enabling them on the device. */ + for (n = 0; n < asp->sensors_count; n++) { + if (android_sensors_get_sensor_status(asp->sensors[n]->emulator_id) == 1) { + /* Reenable emulation for this sensor. */ + sensors_port_enable_sensor(asp, asp->sensors[n]->sensor_name); + D("Sensors: Sensor '%s' is enabled on SDK controller.", + asp->sensors[n]->sensor_name); } - android_sensors_set(id, fvalues[0], fvalues[1], fvalues[2]); - } else { - W("Unknown sensor name '%s' in '%s'", sensor, msg); } - /* Listen to the next event. */ - android_device_listen(ad, asp->events, sizeof(asp->events), _on_sensor_received); + /* Start the emulation. */ + SDKCtlMessage* const msg = + sdkctl_message_send(asp->sdkctl, SDKCTL_SENSORS_START, NULL, 0); + sdkctl_message_release(msg); + + D("Sensors: Emulation has been started."); } -/* A callback that is invoked when android device is connected (i.e. both, command - * and event channels have been stablished. - * Param: - * opaque - AndroidSensorsPort instance. - * ad - Android device used by this sensors port. - * failure - Connections status. - */ -static void -_on_device_connected(void* opaque, AndroidDevice* ad, int failure) +/******************************************************************************** + * Sensors port callbacks + *******************************************************************************/ + +/* Completion for the "list" query. */ +static AsyncIOAction +_on_sensor_list_query(void* query_opaque, + SDKCtlQuery* query, + AsyncIOState status) { - if (!failure) { - AndroidSensorsPort* asp = (AndroidSensorsPort*)opaque; - asp->is_connected = 1; - D("Sensor emulation has started"); - /* Initialize sensors on device. */ - sensors_port_init_sensors(asp); + AndroidSensorsPort* const asp = (AndroidSensorsPort*)(query_opaque); + if (status != ASIO_STATE_SUCCEEDED) { + /* We don't really care about failures at this point. They will + * eventually surface up in another place. */ + return ASIO_ACTION_DONE; } + + /* Parse query response which is a flat list of SensorEntry entries. */ + const SensorEntry* const list = + (const SensorEntry*)sdkctl_query_get_buffer_out(query); + D("Sensors: Sensor list received with %d sensors.", + _sensor_entry_list_size(list)); + _sensors_port_save_sensors(asp, list); + + /* At this point we are ready to statr sensor emulation. */ + _sensors_port_start(asp); + + return ASIO_ACTION_DONE; } -/* Invoked when an I/O failure occurs on a socket. - * Note that this callback will not be invoked on connection failures. +/* A callback that is invoked on sensor events. * Param: - * opaque - AndroidSensorsPort instance. - * ad - Android device instance - * ads - Connection socket where failure has occured. - * failure - Contains 'errno' indicating the reason for failure. + * asp - AndroidSensorsPort instance. + * event - Sensor event. */ static void -_on_io_failure(void* opaque, AndroidDevice* ad, int failure) +_on_sensor_event(AndroidSensorsPort* asp, const SensorEvent* event) { - AndroidSensorsPort* asp = (AndroidSensorsPort*)opaque; - E("Sensors port got disconnected: %s", strerror(failure)); - asp->is_connected = false; - android_device_disconnect(ad); - android_device_connect_async(ad, _on_device_connected); + /* Find corresponding server descriptor. */ + const SensorDescriptor* const desc = + _sensor_from_sdkctl_id(asp, event->sensor_id); + if (desc != NULL) { + T("Sensors: %s -> %f, %f, %f", desc->sensor_name, + event->fvalues[0], event->fvalues[1], + event->fvalues[2]); + /* Fire up sensor change in the guest. */ + android_sensors_set(desc->emulator_id, event->fvalues[0], + event->fvalues[1], event->fvalues[2]); + } else { + W("Sensors: No descriptor for sensor %d", event->sensor_id); + } } -/******************************************************************************** - * Sensors port API - *******************************************************************************/ - -#include "android/sdk-controller-socket.h" - +/* A callback that is invoked on SDK controller socket connection events. */ static AsyncIOAction -_on_sdkctl_connection(void* client_opaque, SDKCtlSocket* sdkctl, AsyncIOState status) +_on_sensors_socket_connection(void* client_opaque, + SDKCtlSocket* sdkctl, + AsyncIOState status) { + AndroidSensorsPort* const asp = (AndroidSensorsPort*)client_opaque; if (status == ASIO_STATE_FAILED) { - sdkctl_socket_reconnect(sdkctl, 1970, 20); + /* Disconnection could mean that user is swapping devices. New device may + * have different set of sensors, so we need to re-query sensor list on + * reconnection. */ + _sensors_port_discard_sensors(asp); + + /* Reconnect (after timeout delay) on failures */ + if (sdkctl_socket_is_handshake_ok(sdkctl)) { + sdkctl_socket_reconnect(sdkctl, SDKCTL_DEFAULT_TCP_PORT, + SDKCTL_SENSORS_TIMEOUT); + } } return ASIO_ACTION_DONE; } -void on_sdkctl_handshake(void* client_opaque, - SDKCtlSocket* sdkctl, - void* handshake, - uint32_t handshake_size, - AsyncIOState status) +/* A callback that is invoked on SDK controller port connection events. */ +static void +_on_sensors_port_connection(void* client_opaque, + SDKCtlSocket* sdkctl, + SdkCtlPortStatus status) { - if (status == ASIO_STATE_SUCCEEDED) { - printf("---------- Handshake %d bytes received.\n", handshake_size); - } else { - printf("!!!!!!!!!! Handshake failed with status %d: %d -> %s\n", - status, errno, strerror(errno)); - sdkctl_socket_reconnect(sdkctl, 1970, 20); + AndroidSensorsPort* const asp = (AndroidSensorsPort*)client_opaque; + switch (status) { + case SDKCTL_PORT_CONNECTED: { + D("Sensors: SDK Controller is connected."); + /* Query list of available sensors. */ + SDKCtlQuery* const query = + sdkctl_query_build_and_send(asp->sdkctl, SDKCTL_SENSORS_QUERY_LIST, + 0, NULL, NULL, NULL, + _on_sensor_list_query, asp, + SDKCTL_SENSORS_TIMEOUT); + sdkctl_query_release(query); + break; + } + + case SDKCTL_PORT_DISCONNECTED: + _sensors_port_discard_sensors(asp); + D("Sensors: SDK Controller is disconnected."); + break; + + case SDKCTL_PORT_ENABLED: + _sensors_port_start(asp); + D("Sensors: SDK Controller is enabled."); + break; + + case SDKCTL_PORT_DISABLED: + D("Sensors: SDK Controller is disabled."); + break; + + case SDKCTL_HANDSHAKE_CONNECTED: + D("Sensors: SDK Controller has succeeded handshake, and port is connected."); + break; + + case SDKCTL_HANDSHAKE_NO_PORT: + D("Sensors: SDK Controller has succeeded handshake, and port is not connected."); + break; + + case SDKCTL_HANDSHAKE_DUP: + E("Sensors: SDK Controller has failed the handshake due to port duplication."); + sdkctl_socket_disconnect(sdkctl); + break; + + case SDKCTL_HANDSHAKE_UNKNOWN_QUERY: + E("Sensors: SDK Controller has failed the handshake due to unknown query."); + sdkctl_socket_disconnect(sdkctl); + break; + + case SDKCTL_HANDSHAKE_UNKNOWN_RESPONSE: + default: + E("Sensors: Handshake has failed due to unknown reasons."); + sdkctl_socket_disconnect(sdkctl); + break; } } -void on_sdkctl_message(void* client_opaque, - SDKCtlSocket* sdkctl, - SDKCtlPacket* message, - int msg_type, - void* msg_data, - int msg_size) +/* A callback that is invoked when a message is received from SDK controller. */ +static void +_on_sensors_message(void* client_opaque, + SDKCtlSocket* sdkctl, + SDKCtlMessage* message, + int msg_type, + void* msg_data, + int msg_size) { - printf("########################################################\n"); + AndroidSensorsPort* const asp = (AndroidSensorsPort*)client_opaque; + switch (msg_type) { + case SDKCTL_SENSORS_SENSOR_EVENT: + _on_sensor_event(asp, (const SensorEvent*)msg_data); + break; + + default: + E("Sensors: Unknown message type %d", msg_type); + break; + } } +/******************************************************************************** + * Sensors port API + *******************************************************************************/ + AndroidSensorsPort* sensors_port_create(void* opaque) { AndroidSensorsPort* asp; - char* wrk; - int res; - - SDKCtlSocket* sdkctl = sdkctl_socket_new(20, "test", _on_sdkctl_connection, - on_sdkctl_handshake, on_sdkctl_message, - NULL); -// sdkctl_init_recycler(sdkctl, 64, 8); - sdkctl_socket_connect(sdkctl, 1970, 20); ANEW0(asp); asp->opaque = opaque; - asp->is_connected = 0; - - asp->device = android_device_init(asp, AD_SENSOR_PORT, _on_io_failure); - if (asp->device == NULL) { - _sensors_port_free(asp); - return NULL; - } - - res = android_device_connect_sync(asp->device, ASP_QUERY_TIMEOUT); - if (res != 0) { - sensors_port_destroy(asp); - return NULL; - } - - res = android_device_query(asp->device, "list", - asp->sensors, sizeof(asp->sensors), - ASP_QUERY_TIMEOUT); - if (res != 0) { - sensors_port_destroy(asp); - return NULL; - } - - /* Parse sensor list. */ - asp->sensors_num = 0; - wrk = asp->sensors; - - while (wrk != NULL && *wrk != '\0' && *wrk != '\n') { - asp->sensor_list[asp->sensors_num] = wrk; - asp->sensors_num++; - wrk = strchr(wrk, '\n'); - if (wrk != NULL) { - *wrk = '\0'; wrk++; - } - } - - android_device_listen(asp->device, asp->events, sizeof(asp->events), - _on_sensor_received); + asp->sensors = NULL; + asp->sensors_count = 0; + asp->sdkctl = sdkctl_socket_new(SDKCTL_SENSORS_TIMEOUT, "sensors", + _on_sensors_socket_connection, + _on_sensors_port_connection, + _on_sensors_message, asp); + sdkctl_init_recycler(asp->sdkctl, 76, 8); + sdkctl_socket_connect(asp->sdkctl, SDKCTL_DEFAULT_TCP_PORT, + SDKCTL_SENSORS_TIMEOUT); return asp; } -int -sensors_port_init_sensors(AndroidSensorsPort* asp) -{ - int res, id; - - /* Disable all sensors for now. Reenable only those that are emulated. */ - res = sensors_port_disable_sensor(asp, "all"); - if (res) { - return res; - } - - /* Start listening on sensor events. */ - res = android_device_listen(asp->device, asp->events, sizeof(asp->events), - _on_sensor_received); - if (res) { - return res; - } - - /* Walk throuh the list of enabled sensors enabling them on the device. */ - for (id = 0; id < MAX_SENSORS; id++) { - if (android_sensors_get_sensor_status(id) == 1) { - res = sensors_port_enable_sensor(asp, android_sensors_get_name_from_id(id)); - if (res == 0) { - D("Sensor '%s' is enabled on the device.", - android_sensors_get_name_from_id(id)); - } - } - } - - /* Start sensor events. */ - return sensors_port_start(asp); -} - void sensors_port_destroy(AndroidSensorsPort* asp) { + if (asp->sdkctl != NULL) { + sdkctl_socket_disconnect(asp->sdkctl); + } _sensors_port_free(asp); } int -sensors_port_is_connected(AndroidSensorsPort* asp) -{ - return asp->is_connected; -} - -int sensors_port_enable_sensor(AndroidSensorsPort* asp, const char* name) { - char query[1024]; - char qresp[1024]; - snprintf(query, sizeof(query), "enable:%s", name); - const int res = - android_device_query(asp->device, query, qresp, sizeof(qresp), - ASP_QUERY_TIMEOUT); - if (res) { - if (errno) { - D("Query '%s' failed on I/O: %s", query, strerror(errno)); - } else { - D("Query '%s' failed on device: %s", query, qresp); - } + if (asp->sdkctl != NULL && sdkctl_socket_is_port_ready(asp->sdkctl)) { + SDKCtlMessage* const msg = sdkctl_message_send(asp->sdkctl, + SDKCTL_SENSORS_ENABLE, + name, strlen(name)); + sdkctl_message_release(msg); + return 0; + } else { + return -1; } - return res; } int sensors_port_disable_sensor(AndroidSensorsPort* asp, const char* name) { - char query[1024]; - char qresp[1024]; - snprintf(query, sizeof(query), "disable:%s", name); - const int res = - android_device_query(asp->device, query, qresp, sizeof(qresp), - ASP_QUERY_TIMEOUT); - if (res) { - if (errno) { - D("Query '%s' failed on I/O: %s", query, strerror(errno)); - } else { - D("Query '%s' failed on device: %s", query, qresp); - } - } - return res; -} - -int -sensors_port_start(AndroidSensorsPort* asp) -{ - char qresp[ASP_MAX_SENSOR_MSG]; - const int res = - android_device_query(asp->device, "start", qresp, sizeof(qresp), - ASP_QUERY_TIMEOUT); - if (res) { - if (errno) { - D("Query 'start' failed on I/O: %s", strerror(errno)); - } else { - D("Query 'start' failed on device: %s", qresp); - } - } - return res; -} - -int -sensors_port_stop(AndroidSensorsPort* asp) -{ - char qresp[ASP_MAX_SENSOR_MSG]; - const int res = - android_device_query(asp->device, "stop", qresp, sizeof(qresp), - ASP_QUERY_TIMEOUT); - if (res) { - if (errno) { - D("Query 'stop' failed on I/O: %s", strerror(errno)); - } else { - D("Query 'stop' failed on device: %s", qresp); - } + if (asp->sdkctl != NULL && sdkctl_socket_is_port_ready(asp->sdkctl)) { + SDKCtlMessage* const msg = sdkctl_message_send(asp->sdkctl, + SDKCTL_SENSORS_DISABLE, + name, strlen(name)); + sdkctl_message_release(msg); + return 0; + } else { + return -1; } - - return res; } diff --git a/android/sensors-port.h b/android/sensors-port.h index dc5c966..a35d700 100644 --- a/android/sensors-port.h +++ b/android/sensors-port.h @@ -23,8 +23,6 @@ * the host via USB. */ -#include "android/android-device.h" - /* Declares sensors port descriptor. */ typedef struct AndroidSensorsPort AndroidSensorsPort; @@ -42,15 +40,6 @@ extern AndroidSensorsPort* sensors_port_create(void* opaque); /* Disconnects from the sensors port, and destroys the descriptor. */ extern void sensors_port_destroy(AndroidSensorsPort* asp); -/* Initializes sensors on the connected device. */ -extern int sensors_port_init_sensors(AndroidSensorsPort* asp); - -/* Checks if port is connected to a sensor reading application on the device. - * Note that connection can go out and then be restored at any time after - * sensors_port_create API succeeded. - */ -extern int sensors_port_is_connected(AndroidSensorsPort* asp); - /* Enables events from a particular sensor. * Param: * asp - Android sensors port instance returned from sensors_port_create. @@ -72,20 +61,4 @@ extern int sensors_port_enable_sensor(AndroidSensorsPort* asp, const char* name) */ extern int sensors_port_disable_sensor(AndroidSensorsPort* asp, const char* name); -/* Queries the connected application to start delivering sensor events. - * Param: - * asp - Android sensors port instance returned from sensors_port_create. - * Return: - * Zero on success, failure otherwise. - */ -extern int sensors_port_start(AndroidSensorsPort* asp); - -/* Queries the connected application to stop delivering sensor events. - * Param: - * asp - Android sensors port instance returned from sensors_port_create. - * Return: - * Zero on success, failure otherwise. - */ -extern int sensors_port_stop(AndroidSensorsPort* asp); - #endif /* ANDROID_SENSORS_PORT_H_ */ -- cgit v1.1 From 4732aee0622005bc612f75d0319e6e3a057301b4 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Mon, 30 Apr 2012 12:38:06 -0700 Subject: Fix Windows build Change-Id: I732fa0d756656ad9976eddd06b16644e208aa512 --- android/async-socket-connector.c | 4 ++++ android/sdk-controller-socket.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/android/async-socket-connector.c b/android/async-socket-connector.c index 0f50399..f4d51b5 100644 --- a/android/async-socket-connector.c +++ b/android/async-socket-connector.c @@ -312,11 +312,15 @@ async_socket_connector_new(const SockAddress* address, connector->ref_count = 1; /* Copy socket address. */ +#ifdef _WIN32 + connector->address = *address; +#else if (sock_address_get_family(address) == SOCKET_UNIX) { sock_address_init_unix(&connector->address, sock_address_get_path(address)); } else { connector->address = *address; } +#endif /* Create a looper for asynchronous I/O. */ if (looper == NULL) { diff --git a/android/sdk-controller-socket.c b/android/sdk-controller-socket.c index 6a4ec18..8b0d813 100644 --- a/android/sdk-controller-socket.c +++ b/android/sdk-controller-socket.c @@ -271,12 +271,12 @@ typedef struct SDKCtlMessageHeader { * All messages, sent and received via SDK controller socket begin with this * header, with message data immediately following this header. */ -typedef struct SDKCtlMessage { +struct SDKCtlMessage { /* Data packet descriptor for this message. */ SDKCtlPacket packet; /* Message type. */ int msg_type; -} SDKCtlMessage; +}; /******************************************************************************** * SDK Control Socket declarations -- cgit v1.1 From 39a1158197072f846301a8263e2851e892962e64 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Mon, 30 Apr 2012 15:18:15 -0700 Subject: Fix adb client protocol There are cases when 'accept' message that guest adbd sends via qemu pipe to the emulator get broken into pieces: once 4 bytes are delivered, and then the remaining two. This breaks the protocol, as emulator assumes that all 6 bytes would be delivered in one chunk. This CL adjusts that by accumulating messages in a buffer, and analyzing them only when collected message length reaches certain point. Change-Id: Ice25625f65bbaa2b07677c3285bf75e7bf46fbb7 --- android/adb-qemud.c | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/android/adb-qemud.c b/android/adb-qemud.c index 1d2498e..9d82251 100644 --- a/android/adb-qemud.c +++ b/android/adb-qemud.c @@ -33,7 +33,8 @@ #define SERVICE_NAME "adb" #define DEBUG_SERVICE_NAME "adb-debug" - +/* Maximum length of the message that can be received from the guest. */ +#define ADB_MAX_MSG_LEN 8 /* Enumerates ADB client state values. */ typedef enum AdbClientState { /* Waiting on a connection from ADB host. */ @@ -58,6 +59,10 @@ struct AdbClient { QemudClient* qemud_client; /* Connection state. */ AdbClientState state; + /* Buffer, collecting accept / stop messages from client. */ + char msg_buffer[ADB_MAX_MSG_LEN]; + /* Current position in message buffer. */ + int msg_cur; }; /* ADB debugging client descriptor. */ @@ -183,17 +188,36 @@ _adb_client_recv(void* opaque, uint8_t* msg, int msglen, QemudClient* client) D("ADB client %p(o=%p) received from guest %d bytes in %s", adb_client, adb_client->opaque, msglen, QB(msg, msglen)); + if (adb_client->state == ADBC_STATE_CONNECTED) { + /* Connection is fully established. Dispatch the message to the host. */ + adb_server_on_guest_message(adb_client->opaque, msg, msglen); + return; + } + + /* + * At this point we expect either "accept", or "start" messages. Depending + * on the state of the pipe (although small) these messages could be broken + * into pieces. So, simply checking msg for "accept", or "start" may not + * work. Lets collect them first in internal buffer, and then will see. + */ + + /* Make sure tha message doesn't overflow the buffer. */ + if ((msglen + adb_client->msg_cur) > sizeof(adb_client->msg_buffer)) { + D("Unexpected message in ADB client."); + adb_client->msg_cur = 0; + return; + } + /* Append to current message. */ + memcpy(adb_client->msg_buffer + adb_client->msg_cur, msg, msglen); + adb_client->msg_cur += msglen; + /* Properly dispatch the message, depending on the client state. */ switch (adb_client->state) { - case ADBC_STATE_CONNECTED: - /* Connection is fully established. Dispatch the message to the - * host. */ - adb_server_on_guest_message(adb_client->opaque, msg, msglen); - break; - case ADBC_STATE_WAIT_ON_HOST: /* At this state the only message that is allowed is 'accept' */ - if (msglen == 6 && !memcmp(msg, "accept", 6)) { + if (adb_client->msg_cur == 6 && + !memcmp(adb_client->msg_buffer, "accept", 6)) { + adb_client->msg_cur = 0; /* Register ADB guest connection with the ADB server. */ adb_client->opaque = adb_server_register_guest(adb_client, &_adb_client_routines); @@ -210,7 +234,9 @@ _adb_client_recv(void* opaque, uint8_t* msg, int msglen, QemudClient* client) case ADBC_STATE_HOST_CONNECTED: /* At this state the only message that is allowed is 'start' */ - if (msglen == 5 && !memcmp(msg, "start", 5)) { + if (adb_client->msg_cur && + !memcmp(adb_client->msg_buffer, "start", 5)) { + adb_client->msg_cur = 0; adb_client->state = ADBC_STATE_CONNECTED; adb_server_complete_connection(adb_client->opaque); } else { -- cgit v1.1 From 733fffaac9ccebfc424fccf9467b22475f71a2f8 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Thu, 26 Apr 2012 11:07:32 -0700 Subject: Provide GL strings from renderer to ddms ping Change-Id: I59c9e58c568a70855783e57514fec80b711d6a64 --- android/android.h | 7 +++++++ android/opengles.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ android/opengles.h | 12 +++++++++++ android/qemu-setup.c | 33 +++++++++++++++++++++++------- vl-android.c | 49 ++++++++++++++++++++++++++------------------ 5 files changed, 132 insertions(+), 26 deletions(-) diff --git a/android/android.h b/android/android.h index 189b5c2..e32f9f5 100644 --- a/android/android.h +++ b/android/android.h @@ -97,6 +97,13 @@ extern int android_parse_network_speed(const char* speed); * accordingly. returns -1 on error, 0 on success */ extern int android_parse_network_latency(const char* delay); +/** in qemu_setup.c */ + +#define ANDROID_GLSTRING_BUF_SIZE 128 +extern char android_gl_vendor[ANDROID_GLSTRING_BUF_SIZE]; +extern char android_gl_renderer[ANDROID_GLSTRING_BUF_SIZE]; +extern char android_gl_version[ANDROID_GLSTRING_BUF_SIZE]; + extern void android_emulation_setup( void ); extern void android_emulation_teardown( void ); diff --git a/android/opengles.c b/android/opengles.c index d1f4322..521dc03 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -46,6 +46,7 @@ int android_gles_fast_pipes = 1; DYNLINK_FUNC(initLibrary) \ DYNLINK_FUNC(setStreamMode) \ DYNLINK_FUNC(initOpenGLRenderer) \ + DYNLINK_FUNC(getHardwareStrings) \ DYNLINK_FUNC(createOpenGLSubwindow) \ DYNLINK_FUNC(destroyOpenGLSubwindow) \ DYNLINK_FUNC(repaintOpenGLDisplay) \ @@ -151,6 +152,62 @@ android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* on return 0; } +static void strncpy_safe(char* dst, const char* src, size_t n) +{ + strncpy(dst, src, n); + dst[n-1] = '\0'; +} + +static void extractBaseString(char* dst, const char* src, size_t dstSize) +{ + size_t len = strlen(src); + const char* begin = strchr(src, '('); + const char* end = strrchr(src, ')'); + + if (!begin || !end) { + strncpy_safe(dst, src, dstSize); + return; + } + begin += 1; + + // "foo (bar)" + // ^ ^ + // b e + // = 5 8 + // substring with NUL-terminator is end-begin+1 bytes + if (end - begin + 1 > dstSize) { + end = begin + dstSize - 1; + } + + strncpy_safe(dst, begin, end - begin + 1); +} + +void +android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, + char* renderer, size_t rendererBufSize, + char* version, size_t versionBufSize) +{ + const char *vendorSrc, *rendererSrc, *versionSrc; + + getHardwareStrings(&vendorSrc, &rendererSrc, &versionSrc); + if (!vendorSrc) vendorSrc = ""; + if (!rendererSrc) rendererSrc = ""; + if (!versionSrc) versionSrc = ""; + + /* Special case for the default ES to GL translators: extract the strings + * of the underlying OpenGL implementation. */ + if (strncmp(vendorSrc, "Google", 6) == 0 && + strncmp(rendererSrc, "Android Emulator OpenGL ES Translator", 37) == 0) { + extractBaseString(vendor, vendorSrc, vendorBufSize); + extractBaseString(renderer, rendererSrc, rendererBufSize); + extractBaseString(version, versionSrc, versionBufSize); + } else { + strncpy_safe(vendor, vendorSrc, vendorBufSize); + strncpy_safe(renderer, rendererSrc, rendererBufSize); + strncpy_safe(version, versionSrc, versionBufSize); + } +} + void android_stopOpenglesRenderer(void) { diff --git a/android/opengles.h b/android/opengles.h index 60e125d..4e83c02 100644 --- a/android/opengles.h +++ b/android/opengles.h @@ -33,6 +33,18 @@ int android_initOpenglesEmulation(void); int android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* onPostContext); +/* Retrieve the Vendor/Renderer/Version strings describing the underlying GL + * implementation. The call only works while the renderer is started. + * + * Each string is copied into the corresponding buffer. If the original string + * (including NUL terminator) is more than xxBufSize bytes, it will be + * truncated. In all cases, including failure, the buffer will be NUL- + * terminated when this function returns. + */ +void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, + char* renderer, size_t rendererBufSize, + char* version, size_t versionBufSize); + int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation); int android_hideOpenglesWindow(void); diff --git a/android/qemu-setup.c b/android/qemu-setup.c index 181c95b..8b8f0b0 100644 --- a/android/qemu-setup.c +++ b/android/qemu-setup.c @@ -47,6 +47,11 @@ char* op_http_proxy = NULL; /* Base port for the emulated system. */ int android_base_port; +/* Strings describing the host system's OpenGL implementation */ +char android_gl_vendor[ANDROID_GLSTRING_BUF_SIZE]; +char android_gl_renderer[ANDROID_GLSTRING_BUF_SIZE]; +char android_gl_version[ANDROID_GLSTRING_BUF_SIZE]; + /*** APPLICATION DIRECTORY *** Where are we ? ***/ @@ -483,6 +488,14 @@ void android_emulation_setup( void ) char tmp[PATH_MAX]; const char* appdir = get_app_dir(); + const size_t ARGSLEN = + PATH_MAX + // max ping program path + 10 + // max VERSION_STRING length + 3*ANDROID_GLSTRING_BUF_SIZE + // max GL string lengths + 29 + // static args characters + 1; // NUL terminator + char args[ARGSLEN]; + if (snprintf( tmp, PATH_MAX, "%s%s%s", appdir, PATH_SEP, _ANDROID_PING_PROGRAM ) >= PATH_MAX) { dprint( "Application directory too long: %s", appdir); @@ -507,10 +520,12 @@ void android_emulation_setup( void ) if (!comspec) comspec = "cmd.exe"; // Run - char args[PATH_MAX + 30]; - if (snprintf( args, PATH_MAX, "/C \"%s\" ping emulator " VERSION_STRING, - tmp) >= PATH_MAX ) { - D( "DDMS path too long: %s", tmp); + if (snprintf(args, ARGSLEN, + "/C \"%s\" ping emulator " VERSION_STRING " \"%s\" \"%s\" \"%s\"", + tmp, android_gl_vendor, android_gl_renderer, android_gl_version) + >= ARGSLEN) + { + D( "DDMS command line too long: %s", args); return; } @@ -540,13 +555,17 @@ void android_emulation_setup( void ) int fd = open("/dev/null", O_WRONLY); dup2(fd, 1); dup2(fd, 2); - execl( tmp, _ANDROID_PING_PROGRAM, "ping", "emulator", VERSION_STRING, NULL ); + execl( tmp, _ANDROID_PING_PROGRAM, "ping", "emulator", VERSION_STRING, + android_gl_vendor, android_gl_renderer, android_gl_version, + NULL ); } END_NOSIGALRM /* don't do anything in the parent or in case of error */ - strncat( tmp, " ping emulator " VERSION_STRING, PATH_MAX - strlen(tmp) ); - D( "ping command: %s", tmp ); + snprintf(args, ARGSLEN, + "%s ping emulator " VERSION_STRING " \"%s\" \"%s\" \"%s\"", + tmp, android_gl_vendor, android_gl_renderer, android_gl_version); + D( "ping command: %s", args ); #endif } } diff --git a/vl-android.c b/vl-android.c index b43f7fe..eee85e6 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3867,29 +3867,40 @@ int main(int argc, char **argv, char **envp) nand_add_dev(tmp); } - /* qemu.gles will be read by the OpenGLES emulation libraries. - * If set to 0, the software GLES renderer will be used as a fallback. - * If the parameter is undefined, this means the system image runs - * inside an emulator that doesn't support GPU emulation at all. - */ + /* qemu.gles will be read by the OpenGL ES emulation libraries. + * If set to 0, the software GL ES renderer will be used as a fallback. + * If the parameter is undefined, this means the system image runs + * inside an emulator that doesn't support GPU emulation at all. + * + * We always start the GL ES renderer so we can gather stats on the + * underlying GL implementation. If GL ES acceleration is disabled, + * we just shut it down again once we have the strings. */ { - int gles_emul = 0; - - if (android_hw->hw_gpu_enabled) { - /* Set framebuffer change notification callback when starting - * GLES emulation. Currently only multi-touch emulation is - * interested in FB changes (to transmit them to the device), so - * the callback is set within MT emulation.*/ - if (android_initOpenglesEmulation() == 0 && - android_startOpenglesRenderer(android_hw->hw_lcd_width, - android_hw->hw_lcd_height, - multitouch_opengles_fb_update, NULL) == 0) { - gles_emul = 1; + int qemu_gles = 0; + + /* Set framebuffer change notification callback when starting + * GLES emulation. Currently only multi-touch emulation is + * interested in FB changes (to transmit them to the device), so + * the callback is set within MT emulation. */ + if (android_initOpenglesEmulation() == 0 && + android_startOpenglesRenderer(android_hw->hw_lcd_width, + android_hw->hw_lcd_height, + multitouch_opengles_fb_update, NULL) == 0) + { + android_getOpenglesHardwareStrings( + android_gl_vendor, sizeof(android_gl_vendor), + android_gl_renderer, sizeof(android_gl_renderer), + android_gl_version, sizeof(android_gl_version)); + if (android_hw->hw_gpu_enabled) { + qemu_gles = 1; } else { - dwarning("Could not initialize OpenglES emulation, using software renderer."); + android_stopOpenglesRenderer(); + qemu_gles = 0; } + } else { + dwarning("Could not initialize OpenglES emulation, using software renderer."); } - if (gles_emul) { + if (qemu_gles) { stralloc_add_str(kernel_params, " qemu.gles=1"); } else { stralloc_add_str(kernel_params, " qemu.gles=0"); -- cgit v1.1 From 3d894287d2907dc6a0fc45d7a5b77dbe76ab2bd6 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 2 May 2012 12:06:12 +0800 Subject: Fixed pc-bios path in standalone emulator pc-bios was recently moved to new directory. Change emulator to search in new path in standalone mode (built in external/qemu and run from external/qemu/objs). To be specific, change ../../../prebuilt/common/pc-bios/ to ../../../prebuilts/qemu-kernel/x86/pc-bios/ Change-Id: Id79534349394c9b47f8ef5dda76f2a21268b58fe --- vl-android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vl-android.c b/vl-android.c index b43f7fe..74a2dc4 100644 --- a/vl-android.c +++ b/vl-android.c @@ -2271,7 +2271,7 @@ char *qemu_find_file(int type, const char *name) buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name); /* Finally, try this for standalone builds under external/qemu */ if (buf == NULL) - buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilt/common/pc-bios/", name); + buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name); } #endif return buf; -- cgit v1.1 From 509433edf704644190bc6715adcb1272a1955da3 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 2 May 2012 12:14:34 +0800 Subject: Fixed emulator fails to load lib*GL when launched from its own directory When emulator is lunched from its own directory (ie. cd out/*/bin; ./emulator), emulator fails to locate shared libraries lib*GL at out/*/lib because utility function path_parent(".", 1) incorrectly returns NULL instead of "..". Fixed that case. Change-Id: I86f8e5d655107ae8cd2237d59518180ce6e69c53 --- android/utils/path.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/android/utils/path.c b/android/utils/path.c index 1bcdc4e..3e9d97b 100644 --- a/android/utils/path.c +++ b/android/utils/path.c @@ -78,8 +78,12 @@ path_parent( const char* path, int levels ) while (base > path && !ispathsep(base[-1])) base--; - if (base <= path) /* we can't go that far */ + if (base <= path) { + if (end == base+1 && base[0] == '.' && levels == 1) + return strdup(".."); + /* we can't go that far */ return NULL; + } if (end == base+1 && base[0] == '.') goto Next; -- cgit v1.1 From 7f661af7cfca4b7857d30d598923dd2095f78ff0 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 2 May 2012 13:24:28 +0800 Subject: Fixed compilation error with new x86_64-w64-mingw32 compiler Fixed the following for the new compiler 1. android/camera/camera-capture-windows.c: Added "#include " 2. SetClassLong() is deprecated. GCL_HICON doesn't exist in _WIN64. Replacted it with SetClassLongPtr(h, GCLP_HICON, icon) 3. [v]asprintf now actually exisit in libray. Changed the prototype to match the standard ones but will remove them later for GCC 4.5 and up. 4. Renamed _set_errno to set_errno because it exists in stdlib.h. Renamed _fix_errno to fix_errno for consistency. 5. EAI_NODATA and EAI_NONAME become the same things. 6. ddk/*h don't exisit. tap-win32.c actually only needs winioctl.h which provide constants. I have make sure they got the same constants in both old and new mingw compilers 7. #undef DELETE before redefining it for KEY_CODE in hw-events.h because DELETE is defined to be a constant in standard header. The above don't break the old one (ie. /usr/bin/i586-mingw32msvc-*) Change-Id: Ic7d13fd0fd237d433f923ee01c6ce50f5c02f095 --- android/camera/camera-capture-windows.c | 1 + android/hw-events.h | 11 +++++++ android/main-common.c | 2 +- osdep.c | 8 ++--- sockets.c | 55 +++++++++++++++++---------------- tap-win32.c | 8 +---- 6 files changed, 46 insertions(+), 39 deletions(-) diff --git a/android/camera/camera-capture-windows.c b/android/camera/camera-capture-windows.c index e1c5538..7f9df39 100755 --- a/android/camera/camera-capture-windows.c +++ b/android/camera/camera-capture-windows.c @@ -19,6 +19,7 @@ * This code uses capXxx API, available via capCreateCaptureWindow. */ +#include #include #include "android/camera/camera-capture.h" #include "android/camera/camera-format-converters.h" diff --git a/android/hw-events.h b/android/hw-events.h index 488c299..b8340bd 100644 --- a/android/hw-events.h +++ b/android/hw-events.h @@ -41,6 +41,17 @@ typedef enum { /* BEWARE: The following codes are defined by the Linux kernel headers. * The Android "Menu" key is KEY_SOFT1, *not* KEY_MENU */ +/* NOTE: mingw's winnt.h define DELETE to constant + i586-mingw32msvc: #define DELETE 0x00010000L + x86_64-w64-mingw32-gcc: #define DELETE (0x00010000L) + + KEY_CODE belows glues "KEY_" and "DELETE". + While KEY_0x00010000L may not mean anything, + KEY_(0x00010000L) is absolutely harmful to compiler. + Undefine DELETE below + */ +#undef DELETE + #define EVENT_KEY_LIST \ KEY_CODE(ESC ,1) \ KEY_CODE(1 ,2) \ diff --git a/android/main-common.c b/android/main-common.c index 04d200a..2d535c7 100644 --- a/android/main-common.c +++ b/android/main-common.c @@ -232,7 +232,7 @@ sdl_set_window_icon( void ) SDL_GetWMInfo(&wminfo); - SetClassLong( wminfo.window, GCL_HICON, (LONG)icon ); + SetClassLongPtr( wminfo.window, GCLP_HICON, (LONG)icon ); #else /* !_WIN32 */ unsigned icon_w, icon_h; size_t icon_bytes; diff --git a/osdep.c b/osdep.c index 6c402d9..a5efe92 100644 --- a/osdep.c +++ b/osdep.c @@ -186,10 +186,10 @@ int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen) } #ifdef WIN32 -int asprintf( char **, char *, ... ); -int vasprintf( char **, char *, va_list ); +int asprintf( char **, const char *, ... ); +int vasprintf( char **, const char *, va_list ); -int vasprintf( char **sptr, char *fmt, va_list argv ) +int vasprintf( char **sptr, const char *fmt, va_list argv ) { int wanted = vsnprintf( *sptr = NULL, 0, fmt, argv ); if( (wanted > 0) && ((*sptr = malloc( 1 + wanted )) != NULL) ) @@ -198,7 +198,7 @@ int vasprintf( char **sptr, char *fmt, va_list argv ) return wanted; } -int asprintf( char **sptr, char *fmt, ... ) +int asprintf( char **sptr, const char *fmt, ... ) { int retval; va_list argv; diff --git a/sockets.c b/sockets.c index 1063339..0879c06 100644 --- a/sockets.c +++ b/sockets.c @@ -125,7 +125,7 @@ static const WinsockError _winsock_errors[] = { * errno. */ static int -_fix_errno( void ) +fix_errno( void ) { const WinsockError* werr = _winsock_errors; int unix = EINVAL; /* generic error code */ @@ -143,7 +143,7 @@ _fix_errno( void ) } static int -_set_errno( int code ) +set_errno( int code ) { winsock_error = -1; errno = code; @@ -173,13 +173,13 @@ _errno_str(void) } #else static int -_fix_errno( void ) +fix_errno( void ) { return -1; } static int -_set_errno( int code ) +set_errno( int code ) { errno = code; return -1; @@ -560,7 +560,7 @@ sock_address_to_bsd( const SockAddress* a, sockaddr_storage* paddress, socklen #endif /* HAVE_UNIX_SOCKETS */ default: - return _set_errno(EINVAL); + return set_errno(EINVAL); } return 0; @@ -575,7 +575,7 @@ sock_address_from_bsd( SockAddress* a, const void* from, size_t fromlen ) const struct sockaddr_in* src = from; if (fromlen < sizeof(*src)) - return _set_errno(EINVAL); + return set_errno(EINVAL); a->family = SOCKET_INET; a->u.inet.port = ntohs(src->sin_port); @@ -589,7 +589,7 @@ sock_address_from_bsd( SockAddress* a, const void* from, size_t fromlen ) const struct sockaddr_in6* src = from; if (fromlen < sizeof(*src)) - return _set_errno(EINVAL); + return set_errno(EINVAL); a->family = SOCKET_IN6; a->u.in6.port = ntohs(src->sin6_port); @@ -605,12 +605,12 @@ sock_address_from_bsd( SockAddress* a, const void* from, size_t fromlen ) char* end; if (fromlen < sizeof(*src)) - return _set_errno(EINVAL); + return set_errno(EINVAL); /* check that the path is zero-terminated */ end = memchr(src->sun_path, 0, UNIX_PATH_MAX); if (end == NULL) - return _set_errno(EINVAL); + return set_errno(EINVAL); a->family = SOCKET_UNIX; a->u._unix.owner = 1; @@ -620,7 +620,7 @@ sock_address_from_bsd( SockAddress* a, const void* from, size_t fromlen ) #endif default: - return _set_errno(EINVAL); + return set_errno(EINVAL); } return 0; } @@ -646,7 +646,8 @@ sock_address_init_resolve( SockAddress* a, const char* hostname, uint16_t por err = EHOSTDOWN; break; -#ifdef EAI_NODATA +/* NOTE that in x86_64-w64-mingw32 both EAI_NODATA and EAI_NONAME are the same */ +#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME) case EAI_NODATA: #endif case EAI_NONAME: @@ -660,7 +661,7 @@ sock_address_init_resolve( SockAddress* a, const char* hostname, uint16_t por default: err = EINVAL; } - return _set_errno(err); + return set_errno(err); } /* Parse the returned list of addresses. */ @@ -699,7 +700,7 @@ sock_address_init_resolve( SockAddress* a, const char* hostname, uint16_t por } if (r == NULL) { - ret = _set_errno(ENOENT); + ret = set_errno(ENOENT); goto Exit; } @@ -765,13 +766,13 @@ sock_address_list_create( const char* hostname, case EAI_ADDRFAMILY: #endif case EAI_NODATA: - _set_errno(ENOENT); + set_errno(ENOENT); break; case EAI_FAMILY: - _set_errno(EAFNOSUPPORT); + set_errno(EAFNOSUPPORT); break; case EAI_AGAIN: - _set_errno(EAGAIN); + set_errno(EAGAIN); break; #ifdef EAI_SYSTEM case EAI_SYSTEM: @@ -780,7 +781,7 @@ sock_address_list_create( const char* hostname, break; #endif default: - _set_errno(EINVAL); + set_errno(EINVAL); } return NULL; } @@ -874,7 +875,7 @@ sock_address_get_numeric_info( SockAddress* a, break; #endif default: - return _set_errno(EINVAL); + return set_errno(EINVAL); } ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, @@ -900,12 +901,12 @@ socket_create( SocketFamily family, SocketType type ) int stype = socket_type_to_bsd(type); if (sfamily < 0 || stype < 0) { - return _set_errno(EINVAL); + return set_errno(EINVAL); } QSOCKET_CALL(ret, socket(sfamily, stype, 0)); if (ret < 0) - return _fix_errno(); + return fix_errno(); return ret; } @@ -956,7 +957,7 @@ int socket_can_read(int fd) int ret; \ QSOCKET_CALL(ret, (cmd)); \ if (ret < 0) \ - return _fix_errno(); \ + return fix_errno(); \ return ret; \ int @@ -998,7 +999,7 @@ socket_recvfrom(int fd, void* buf, int len, SockAddress* from) QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); if (ret < 0) - return _fix_errno(); + return fix_errno(); if (sock_address_from_bsd(from, &sa, salen) < 0) return -1; @@ -1039,7 +1040,7 @@ socket_get_address( int fd, SockAddress* address ) QSOCKET_CALL(ret, getsockname(fd, addr.sa, &addrlen)); if (ret < 0) - return _fix_errno(); + return fix_errno(); return sock_address_from_bsd(address, &addr, addrlen); } @@ -1053,7 +1054,7 @@ socket_get_peer_address( int fd, SockAddress* address ) QSOCKET_CALL(ret, getpeername(fd, addr.sa, &addrlen)); if (ret < 0) - return _fix_errno(); + return fix_errno(); return sock_address_from_bsd(address, &addr, addrlen); } @@ -1073,7 +1074,7 @@ socket_accept( int fd, SockAddress* address ) QSOCKET_CALL(ret, accept(fd, addr.sa, &addrlen)); if (ret < 0) - return _fix_errno(); + return fix_errno(); if (address) { if (sock_address_from_bsd(address, &addr, addrlen) < 0) { @@ -1517,7 +1518,7 @@ socket_mcast_inet_add_membership( int s, uint32_t ip ) (const char *)&imr, sizeof(struct ip_mreq)) < 0 ) { - return _fix_errno(); + return fix_errno(); } return 0; } @@ -1534,7 +1535,7 @@ socket_mcast_inet_drop_membership( int s, uint32_t ip ) (const char *)&imr, sizeof(struct ip_mreq)) < 0 ) { - return _fix_errno(); + return fix_errno(); } return 0; } diff --git a/tap-win32.c b/tap-win32.c index ba93355..ce30a50 100644 --- a/tap-win32.c +++ b/tap-win32.c @@ -31,13 +31,7 @@ #include "sysemu.h" #include #include - -/* NOTE: PCIBus is redefined in winddk.h */ -#define PCIBus _PCIBus -#include -#include -#include -#undef PCIBus +#include //============= // TAP IOCTLs -- cgit v1.1 From 0621eeb599686e1d7dea3bf39ae8057bec574e0d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 20 Apr 2012 17:32:56 -0700 Subject: Replace i686-android-linux with i686-linux-android Author: "H.J. Lu" --- distrib/build-kernel.sh | 4 ++-- distrib/kernel-toolchain/toolbox.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/distrib/build-kernel.sh b/distrib/build-kernel.sh index 20d85c6..8c9f50a 100755 --- a/distrib/build-kernel.sh +++ b/distrib/build-kernel.sh @@ -131,8 +131,8 @@ else CROSSPREFIX=arm-eabi- ;; x86) - CROSSTOOLCHAIN=i686-android-linux-4.4.3 - CROSSPREFIX=i686-android-linux- + CROSSTOOLCHAIN=i686-linux-android-4.6 + CROSSPREFIX=i686-linux-android- ;; *) echo "ERROR: Unsupported architecture!" diff --git a/distrib/kernel-toolchain/toolbox.sh b/distrib/kernel-toolchain/toolbox.sh index 94e89b2..b9947e2 100755 --- a/distrib/kernel-toolchain/toolbox.sh +++ b/distrib/kernel-toolchain/toolbox.sh @@ -11,7 +11,7 @@ # REAL_CROSS_COMPILE must be defined, and its value must be one of the # CROSS_COMPILE values that are supported by the Kernel build system -# (e.g. "i686-android-linux-") +# (e.g. "i686-linux-android-") # if [ -z "$REAL_CROSS_COMPILE" ]; then echo "ERROR: The REAL_CROSS_COMPILE environment variable should be defined!" -- cgit v1.1 From 43a16f4e595909472e3e3e46cc3393e31323e18c Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Thu, 3 May 2012 10:31:08 -0700 Subject: Add dynamic symbol for _XGetRequest, which libX11 1.4.99.1 added This is a cherry-pick from upstream to fix build errors on some Linux distros. Problem and patch pointed out by "quho" -- thanks! Upstream changeset: http://hg.libsdl.org/SDL/rev/e1264a758d50 Change-Id: I423c6ce2dfd7c6e53954b6fe76b156f12ae643f2 --- distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c | 24 ++++++++++++++++++++++++ distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h | 6 ++++++ 2 files changed, 30 insertions(+) diff --git a/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c b/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c index 7b99d73..6e97c32 100644 --- a/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c +++ b/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c @@ -109,6 +109,21 @@ char *(*pXGetICValues)(XIC, ...) = NULL; #undef SDL_X11_SYM +static void *SDL_XGetRequest_workaround(Display* dpy, CARD8 type, size_t len) +{ + xReq *req; + WORD64ALIGN + if (dpy->bufptr + len > dpy->bufmax) + _XFlush(dpy); + dpy->last_req = dpy->bufptr; + req = (xReq*)dpy->bufptr; + req->reqType = type; + req->length = len / 4; + dpy->bufptr += len; + dpy->request++; + return req; +} + static int x11_load_refcount = 0; void SDL_X11_UnloadSymbols(void) @@ -168,6 +183,15 @@ int SDL_X11_LoadSymbols(void) X11_GetSym("XGetICValues",&SDL_X11_HAVE_UTF8,(void **)&pXGetICValues); #endif + /* + * In case we're built with newer Xlib headers, we need to make sure + * that _XGetRequest() is available, even on older systems. + * Otherwise, various Xlib macros we use will call a NULL pointer. + */ + if (!SDL_X11_HAVE_XGETREQUEST) { + p_XGetRequest = SDL_XGetRequest_workaround; + } + if (SDL_X11_HAVE_BASEXLIB) { /* all required symbols loaded. */ SDL_ClearError(); XInitThreads(); diff --git a/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h b/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h index b8d90e4..610982c 100644 --- a/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h +++ b/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h @@ -181,6 +181,12 @@ SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data, #endif /* + * libX11 1.4.99.1 added _XGetRequest, and macros use it behind the scenes. + */ +SDL_X11_MODULE(XGETREQUEST) +SDL_X11_SYM(void *,_XGetRequest,(Display* a,CARD8 b,size_t c),(a,b,c),return) + +/* * These only show up on some variants of Unix. */ #if defined(__osf__) -- cgit v1.1 From afb0118a8be2a3fd271b2af51ccc13a2429a5078 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Fri, 4 May 2012 11:55:11 +0800 Subject: Fixed link-error for standalone emulator when CONFIG_ANDROID_OPENGLES == 0 Added a fake android_getOpenglesHardwareStrings (called in vl-android.c) when CONFIG_ANDROID_OPENGLES is not set or zero. This happens when ./android-configure.sh can't locate GLES include and libs. Change-Id: I1f99644adcc78b9872d7e9c6e1e7bd7b2a654119 --- android/opengles.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/android/opengles.c b/android/opengles.c index 521dc03..70e3f8c 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -12,6 +12,7 @@ #include "config-host.h" #include "android/opengles.h" +#include /* Declared in "android/globals.h" */ int android_gles_fast_pipes = 1; @@ -273,6 +274,15 @@ int android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void return -1; } +void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, + char* renderer, size_t rendererBufSize, + char* version, size_t versionBufSize) +{ + assert(vendorBufSize > 0 && rendererBufSize > 0 && versionBufSize > 0); + assert(vendor != NULL && renderer != NULL && version != NULL); + vendor[0] = renderer[0] = version[0] = 0; +} + void android_stopOpenglesRenderer(void) {} -- cgit v1.1 From 9e15745b9f828db4eedf90a811becac95e02d5d3 Mon Sep 17 00:00:00 2001 From: Duane Sand Date: Fri, 4 May 2012 11:28:46 -0700 Subject: Emulator64-mips segfaults, disable it for now. Signed-off-by: Duane Sand Change-Id: I17fe688d19e3cd7f328721e6363bacd6e6689ca2 --- android/main-emulator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/main-emulator.c b/android/main-emulator.c index 0981a71..ac4d2e9 100644 --- a/android/main-emulator.c +++ b/android/main-emulator.c @@ -148,6 +148,8 @@ int main(int argc, char** argv) avdArch = "arm"; D("Can't determine target AVD architecture: defaulting to %s\n", avdArch); } + if (!strcmp(avdArch, "mips")) + force_32bit = 1; /* emulator64-mips segfaults currently, 4-19-2012 */ /* Find the architecture-specific program in the same directory */ emulatorPath = getTargetEmulatorPath(argv[0], avdArch, force_32bit); -- cgit v1.1 From cdbea233d20daa19ce1d43da32e8154a7a2aca33 Mon Sep 17 00:00:00 2001 From: Raphael Moll Date: Fri, 4 May 2012 15:04:27 -0700 Subject: Win SDK: Fix missing emulator icon History: It had been inadvertedly removed by the makefile reorg done in aff94b88c4ec057f20950d5e7a88b90cc4d97dce. SDK Bug: 21709 Change-Id: Icd147a1edb363e1ccbee2c3cade4ed34beceeeff --- .gitignore | 2 +- Makefile.android | 29 +++++++++++++++++++++++++++++ Makefile.target | 6 ++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index db1f286..6937091 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -images/android_icon.o +images/emulator_icon.o objs/* *.*~ diff --git a/Makefile.android b/Makefile.android index f5c008b..797bb71 100644 --- a/Makefile.android +++ b/Makefile.android @@ -219,6 +219,31 @@ endif include $(LOCAL_PATH)/Makefile.common +ifeq ($(HOST_OS),windows) + # on Windows, link the icon file as well into the executable + # unfortunately, our build system doesn't help us much, so we need + # to use some weird pathnames to make this work... + + # Locate windres executable + WINDRES := windres + ifneq ($(USE_MINGW),) + # When building the Windows emulator under Linux, use the MinGW one + WINDRES := i586-mingw32msvc-windres + endif + + # Usage: $(eval $(call insert-windows-icon)) + define insert-windows-icon + LOCAL_PREBUILT_OBJ_FILES += images/emulator_icon.o + endef + +# This seems to be the only way to add an object file that was not generated from +# a C/C++/Java source file to our build system. and very unfortunately, +# $(TOPDIR)/$(LOCALPATH) will always be prepended to this value, which forces +# us to put the object file in the source directory. +$(LOCAL_PATH)/images/emulator_icon.o: $(LOCAL_PATH)/images/android_icon.rc + $(WINDRES) $< -I $(LOCAL_PATH)/images -o $@ +endif + # We want to build all variants of the emulator binaries. This makes # it easier to catch target-specific regressions during emulator development. EMULATOR_TARGET_ARCH := arm @@ -238,6 +263,10 @@ $(call start-emulator-program, emulator) LOCAL_SRC_FILES := android/main-emulator.c LOCAL_STATIC_LIBRARIES := emulator-common +ifeq ($(HOST_OS),windows) +$(eval $(call insert-windows-icon)) +endif + $(call end-emulator-program) ############################################################################## diff --git a/Makefile.target b/Makefile.target index e8a41f4..5b4ec5f 100644 --- a/Makefile.target +++ b/Makefile.target @@ -432,6 +432,11 @@ LOCAL_SRC_FILES += $(common_LOCAL_SRC_FILES) $(call gen-hx-header,qemu-monitor.hx,qemu-monitor.h,monitor.c) $(call gen-hx-header,qemu-options.hx,qemu-options.def,vl-android.c qemu-options.h) $(call gen-hw-config-defs) + +ifeq ($(HOST_OS),windows) +$(eval $(call insert-windows-icon)) +endif + $(call end-emulator-program) @@ -455,3 +460,4 @@ ifeq ($(HOST_OS),linux) $(call end-emulator-program) endif # BUILD_STANDALONE_EMULATOR == nil endif # HOST_OS == linux + -- cgit v1.1 From 108cfc15146783b72d3d427b5d9288ef15a4764a Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Mon, 7 May 2012 09:59:14 +0100 Subject: Use the same compilation options on OS X 10.8 as 10.7 Use the same linker option for handling dynamic libraries on OS X 10.8 as has been previously used on 10.7 Change-Id: I18860d779a2caa695cf4016da6d2123726b58427 Signed-off-by: Al Sutton --- Makefile.android | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.android b/Makefile.android index 797bb71..d61264b 100644 --- a/Makefile.android +++ b/Makefile.android @@ -209,8 +209,8 @@ endif ifeq ($(HOST_OS),darwin) QEMU_SYSTEM_LDLIBS += -Wl,-framework,Cocoa,-framework,QTKit,-framework,CoreVideo - ifneq ($(filter 10.7 10.7.%,$(DARWIN_VERSION)),) - # Lion/XCode4 needs to be explicitly told the dynamic library + ifneq ($(filter 10.7 10.7.% 10.8 10.8.%,$(DARWIN_VERSION)),) + # 10.7+ with XCode4 needs to be explicitly told the dynamic library # lookup symbols in the precompiled libSDL are resolved at # runtime QEMU_SYSTEM_LDLIBS += -undefined dynamic_lookup -- cgit v1.1 From b70acae117c40df87181fd0107b24b610d1737c5 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Tue, 8 May 2012 08:07:42 +0800 Subject: Fixed standalone emulator when ANDROID_BUILD_TOP is present With ANDROID_BUILD_TOP android-configure.sh searches for prebuilt directories later used for locating ccache. At this moment, ccache is located in different location between AOSP and internal tree. Beside, "prebuilt" is gone in internal tree. Change-Id: Ib14b8c91c9f8026605617f2abf94c3bee9ddadb6 --- android-configure.sh | 6 ------ android/build/common.sh | 12 +++++------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/android-configure.sh b/android-configure.sh index beb7427..01fc2c4 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -196,15 +196,9 @@ if [ "$IN_ANDROID_BUILD" = "yes" ] ; then # use ccache if USE_CCACHE is defined and the corresponding # binary is available. # - # note: located in PREBUILT/ccache/ccache in the new tree layout - # located in PREBUILT/ccache in the old one - # if [ -n "$USE_CCACHE" ] ; then CCACHE="$ANDROID_PREBUILT/ccache/ccache$EXE" if [ ! -f $CCACHE ] ; then - CCACHE="$ANDROID_PREBUILT/ccache$EXE" - fi - if [ ! -f $CCACHE ] ; then CCACHE="$ANDROID_PREBUILTS/ccache/ccache$EXE" fi if [ -f $CCACHE ] ; then diff --git a/android/build/common.sh b/android/build/common.sh index c7235ae..e3e190b 100644 --- a/android/build/common.sh +++ b/android/build/common.sh @@ -499,10 +499,10 @@ locate_android_prebuilt () { # locate prebuilt directory ANDROID_PREBUILT_HOST_TAG=$OS - ANDROID_PREBUILT=$ANDROID_TOP/prebuilt/$ANDROID_PREBUILT_HOST_TAG - ANDROID_PREBUILTS=$ANDROID_TOP/prebuilts/misc/$ANDROID_PREBUILT_HOST_TAG + ANDROID_PREBUILT=$ANDROID_TOP/prebuilt/$ANDROID_PREBUILT_HOST_TAG # AOSP still has it + ANDROID_PREBUILTS=$ANDROID_TOP/prebuilts/misc/$ANDROID_PREBUILT_HOST_TAG # AOSP does't have it yet if [ ! -d $ANDROID_PREBUILT ] ; then - # this can happen when building on x86_64 + # this can happen when building on x86_64, or in AOSP case $OS in linux-x86_64) ANDROID_PREBUILT_HOST_TAG=linux-x86 @@ -511,8 +511,7 @@ locate_android_prebuilt () *) esac if [ ! -d $ANDROID_PREBUILT ] ; then - echo "Can't find the prebuilt directory $ANDROID_PREBUILT in Android build" - exit 1 + ANDROID_PREBUILT= fi fi if [ ! -d $ANDROID_PREBUILTS ] ; then @@ -525,8 +524,7 @@ locate_android_prebuilt () *) esac if [ ! -d $ANDROID_PREBUILTS ] ; then - echo "Can't find the prebuilts directory $ANDROID_PREBUILTS in Android build" - exit 1 + ANDROID_PREBUILTS= fi fi log "Prebuilt : ANDROID_PREBUILT=$ANDROID_PREBUILT" -- cgit v1.1 From ba5c1f674511aff458dae69927a1c61d60e66aa1 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Tue, 8 May 2012 15:44:35 -0700 Subject: Remove init-time GLES per-frame callback The GLES renderer interface now allows the per-frame callback to be registered after initialization. This change updates the emulator to use the new interface. Since reading back completed frames is slow (due to pipeline flush/stall), a future change will enable the callback only while multitouch emulation is actually in use. Change-Id: I7ad23b4bebe1bd3077863da4d50333cc0578519e --- android/opengles.c | 13 +++++++++++-- android/opengles.h | 12 ++++++------ vl-android.c | 9 +-------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/android/opengles.c b/android/opengles.c index 70e3f8c..6f0556f 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -47,6 +47,7 @@ int android_gles_fast_pipes = 1; DYNLINK_FUNC(initLibrary) \ DYNLINK_FUNC(setStreamMode) \ DYNLINK_FUNC(initOpenGLRenderer) \ + DYNLINK_FUNC(setPostCallback) \ DYNLINK_FUNC(getHardwareStrings) \ DYNLINK_FUNC(createOpenGLSubwindow) \ DYNLINK_FUNC(destroyOpenGLSubwindow) \ @@ -139,20 +140,28 @@ BAD_EXIT: } int -android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* onPostContext) +android_startOpenglesRenderer(int width, int height) { if (!rendererLib) { D("Can't start OpenGLES renderer without support libraries"); return -1; } - if (!initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT, onPost, onPostContext)) { + if (!initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT)) { D("Can't start OpenGLES renderer?"); return -1; } return 0; } +void +android_setPostCallback(OnPostFunc onPost, void* onPostContext) +{ + if (rendererLib) { + setPostCallback(onPost, onPostContext); + } +} + static void strncpy_safe(char* dst, const char* src, size_t n) { strncpy(dst, src, n); diff --git a/android/opengles.h b/android/opengles.h index 4e83c02..aac6249 100644 --- a/android/opengles.h +++ b/android/opengles.h @@ -16,10 +16,6 @@ #define ANDROID_OPENGLES_BASE_PORT 22468 -/* See the description in render_api.h. */ -typedef void (*OnPostFunc)(void* context, int width, int height, int ydir, - int format, int type, unsigned char* pixels); - /* Call this function to initialize the hardware opengles emulation. * This function will abort if we can't find the corresponding host * libraries through dlopen() or equivalent. @@ -30,8 +26,12 @@ int android_initOpenglesEmulation(void); * At the moment, this must be done before the VM starts. The onPost callback * may be NULL. */ -int android_startOpenglesRenderer(int width, int height, - OnPostFunc onPost, void* onPostContext); +int android_startOpenglesRenderer(int width, int height); + +/* See the description in render_api.h. */ +typedef void (*OnPostFunc)(void* context, int width, int height, int ydir, + int format, int type, unsigned char* pixels); +void android_setPostCallback(OnPostFunc onPost, void* onPostContext); /* Retrieve the Vendor/Renderer/Version strings describing the underlying GL * implementation. The call only works while the renderer is started. diff --git a/vl-android.c b/vl-android.c index 1513541..f9afa5c 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3877,15 +3877,8 @@ int main(int argc, char **argv, char **envp) * we just shut it down again once we have the strings. */ { int qemu_gles = 0; - - /* Set framebuffer change notification callback when starting - * GLES emulation. Currently only multi-touch emulation is - * interested in FB changes (to transmit them to the device), so - * the callback is set within MT emulation. */ if (android_initOpenglesEmulation() == 0 && - android_startOpenglesRenderer(android_hw->hw_lcd_width, - android_hw->hw_lcd_height, - multitouch_opengles_fb_update, NULL) == 0) + android_startOpenglesRenderer(android_hw->hw_lcd_width, android_hw->hw_lcd_height) == 0) { android_getOpenglesHardwareStrings( android_gl_vendor, sizeof(android_gl_vendor), -- cgit v1.1 From 6674489666e2a5ca2f12a1c1015cd0bf3bd36494 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 11 May 2012 05:47:46 -0700 Subject: Fix emulator's UI build When building emulator-ui, build fails complaining that android_startOpenglesRenderer implementation doesn't match routine declaration. Fixing that. Change-Id: I5f3f588969c1b4c9a59035f8abddb63cc6c917ad --- android/opengles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/opengles.c b/android/opengles.c index 6f0556f..b265428 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -278,7 +278,7 @@ int android_initOpenglesEmulation(void) return -1; } -int android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void* onPostContext) +int android_startOpenglesRenderer(int width, int height) { return -1; } -- cgit v1.1 From 2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 11 May 2012 06:56:43 -0700 Subject: Fix --no-gles config, and ease the pain of standalone emulator build 1. Apparently, emulator build fails when configured with --no-gles option due to missing android_setPostCallback implementation. 2. It's painful to configure standalone emulator build WITH OpenGLES, since it requires explicit using of --gles-include, and --gles-lib when launching android-configure.sh To ease that pain, just use default location for standalone emulator build. Change-Id: I2d9ed56d68a4ab1cb1ec294817f22dca80d33223 --- android-configure.sh | 26 ++++++++++++++++++++++++++ android/opengles.c | 5 +++++ 2 files changed, 31 insertions(+) diff --git a/android-configure.sh b/android-configure.sh index 01fc2c4..9510ece 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -255,6 +255,32 @@ if [ "$IN_ANDROID_BUILD" = "yes" ] ; then fi fi fi +else + if [ "$GLES_PROBE" = "yes" ]; then + GLES_SUPPORT=yes + if [ -z "$GLES_INCLUDE" ]; then + log "GLES : Probing for headers" + GLES_INCLUDE=../../sdk/emulator/opengl/host/include + if [ -d "$GLES_INCLUDE" ]; then + log "GLES : Headers in $GLES_INCLUDE" + else + echo "Warning: Could not find OpenGLES emulation include dir: $GLES_INCLUDE" + echo "Disabling GLES emulation from this build!" + GLES_SUPPORT=no + fi + fi + if [ -z "$GLES_LIBS" ]; then + log "GLES : Probing for host libraries" + GLES_LIBS=../../out/host/$OS/lib + if [ -d "$GLES_LIBS" ]; then + echo "GLES : Libs in $GLES_LIBS" + else + echo "Warning: Could nof find OpenGLES emulation libraries in: $GLES_LIBS" + echo "Disabling GLES emulation from this build!" + GLES_SUPPORT=no + fi + fi + fi fi # IN_ANDROID_BUILD = no if [ "$GLES_SUPPORT" = "yes" ]; then diff --git a/android/opengles.c b/android/opengles.c index b265428..f56252c 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -283,6 +283,11 @@ int android_startOpenglesRenderer(int width, int height) return -1; } +void +android_setPostCallback(OnPostFunc onPost, void* onPostContext) +{ +} + void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, char* renderer, size_t rendererBufSize, char* version, size_t versionBufSize) -- cgit v1.1 From 8de6a30e3b2035b39f308febe2f9536671547096 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 11 May 2012 07:14:14 -0700 Subject: Catch up with OpenGLES API changes. It turned out, that OpenGLES framebuffer update callback is expensive, and since it's used rather rarely (since multi-touch emulation is usually off), it's a waste to have that callback always active. So OpenGLES has now an ability to enable / disable framebuffer update callback, and emulator needs to catch up with that change. Change-Id: Iee028ed79f1d9472c3f31bbfbcb5676c4716c34c --- android/multitouch-port.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/android/multitouch-port.c b/android/multitouch-port.c index 7cb9656..d872b30 100644 --- a/android/multitouch-port.c +++ b/android/multitouch-port.c @@ -22,6 +22,7 @@ #include "android/sdk-controller-socket.h" #include "android/multitouch-port.h" #include "android/globals.h" /* for android_hw */ +#include "android/opengles.h" #include "android/utils/misc.h" #include "android/utils/jpeg-compress.h" #include "android/utils/debug.h" @@ -247,14 +248,26 @@ _on_multitouch_port_connection(void* opaque, case SDKCTL_PORT_DISCONNECTED: D("Multi-touch: SDK Controller is disconnected"); + // Disable OpenGLES framebuffer updates. + if (android_hw->hw_gpu_enabled) { + android_setPostCallback(NULL, NULL); + } break; case SDKCTL_PORT_ENABLED: D("Multi-touch: SDK Controller port is enabled."); + // Enable OpenGLES framebuffer updates. + if (android_hw->hw_gpu_enabled) { + android_setPostCallback(multitouch_opengles_fb_update, NULL); + } break; case SDKCTL_PORT_DISABLED: D("Multi-touch: SDK Controller port is disabled."); + // Disable OpenGLES framebuffer updates. + if (android_hw->hw_gpu_enabled) { + android_setPostCallback(NULL, NULL); + } break; case SDKCTL_HANDSHAKE_CONNECTED: -- cgit v1.1 From cf289fbe0669ad54965e9f378b7e7b4edea9d814 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Mon, 14 May 2012 08:04:29 -0700 Subject: Check RAM availability before VM is initialized. Quite often (especially on older XP machines) attempts to allocate large VM RAM is going to fail, and crash the emulator. Since it's failing deep inside QEMU, it's not really possible to provide the user with a meaningful explanation for the crash. So, before initializing VM we should check if QEMU is going to be able to allocate requested amount of RAM, and if not, try to come up with a recomendation. Change-Id: Id6213d50c70f6bd3b32c4df2ded96d8e3013ec40 --- vl-android.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/vl-android.c b/vl-android.c index f9afa5c..7b661b6 100644 --- a/vl-android.c +++ b/vl-android.c @@ -4046,6 +4046,32 @@ int main(int argc, char **argv, char **envp) } } + /* Quite often (especially on older XP machines) attempts to allocate large + * VM RAM is going to fail, and crash the emulator. Since it's failing deep + * inside QEMU, it's not really possible to provide the user with a + * meaningful explanation for the crash. So, lets see if QEMU is going to be + * able to allocate requested amount of RAM, and if not, lets try to come up + * with a recomendation. */ + { + ram_addr_t r_ram = ram_size; + void* alloc_check = malloc(r_ram); + while (alloc_check == NULL && r_ram > 1024 * 1024) { + /* Make it 25% less */ + r_ram -= r_ram / 4; + alloc_check = malloc(r_ram); + } + if (alloc_check != NULL) { + free(alloc_check); + } + if (r_ram != ram_size) { + /* Requested RAM is too large. Report this, as well as calculated + * recomendation. */ + dwarning("Requested RAM size of %dMB is too large for your environment, and is reduced to %dMB.", + (int)(ram_size / 1024 / 1024), (int)(r_ram / 1024 / 1024)); + ram_size = r_ram; + } + } + #ifdef CONFIG_KQEMU /* FIXME: This is a nasty hack because kqemu can't cope with dynamic guest ram allocation. It needs to go away. */ -- cgit v1.1 From 6df71197252e119baccbe4dd060935222af4f8ba Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 15 May 2012 07:59:51 -0700 Subject: Refresh stale SdkController screen. When MT handler gets deactivated, and then activated again, it shows a stale emulator display, since it didn't have a chance to catch up with emulator display updates. This CL ensures that entire emulator display is pushed to the device when MT handler gets activated. Change-Id: I58c1680f50e2af3e6afa0518f6bcaa3ed087638d --- android/multitouch-port.c | 2 ++ android/multitouch-screen.c | 18 +++++++++++++++++- android/multitouch-screen.h | 5 +++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/android/multitouch-port.c b/android/multitouch-port.c index d872b30..faefdbf 100644 --- a/android/multitouch-port.c +++ b/android/multitouch-port.c @@ -260,6 +260,8 @@ _on_multitouch_port_connection(void* opaque, if (android_hw->hw_gpu_enabled) { android_setPostCallback(multitouch_opengles_fb_update, NULL); } + /* Refresh (possibly stale) device screen. */ + multitouch_refresh_screen(); break; case SDKCTL_PORT_DISABLED: diff --git a/android/multitouch-screen.c b/android/multitouch-screen.c index 59d4d75..155218a 100644 --- a/android/multitouch-screen.c +++ b/android/multitouch-screen.c @@ -87,7 +87,7 @@ typedef struct MTSState { } MTSState; /* Default multi-touch screen descriptor */ -static MTSState _MTSState; +static MTSState _MTSState = { 0 }; /* Pushes event to the event device. */ static void @@ -376,6 +376,22 @@ multitouch_opengles_fb_update(void* context, _mt_fb_common_update(mts_state, 0, 0, w, h); } +void multitouch_refresh_screen(void) +{ + MTSState* const mts_state = &_MTSState; + + /* Make sure MT port is initialized. */ + if (!_is_mt_initialized) { + return; + } + + /* Lets see if any updates have been received so far. */ + if (NULL != mts_state->current_fb) { + _mt_fb_common_update(mts_state, 0, 0, mts_state->fb_header.disp_width, + mts_state->fb_header.disp_height); + } +} + void multitouch_init(AndroidMTSPort* mtsp) { diff --git a/android/multitouch-screen.h b/android/multitouch-screen.h index 95ae86a..901d76e 100644 --- a/android/multitouch-screen.h +++ b/android/multitouch-screen.h @@ -95,4 +95,9 @@ extern void multitouch_opengles_fb_update(void* context, int type, unsigned char* pixels); +/* Pushes the entire framebuffer to the device. This will force the device to + * refresh the entire screen. + */ +extern void multitouch_refresh_screen(void); + #endif /* ANDROID_MULTITOUCH_SCREEN_H_ */ -- cgit v1.1 From 1129b0b97f1c204bd86ee6d19cbf3b4c2275762b Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 15 May 2012 09:01:52 -0700 Subject: Improve FB update protocol. As it turned out, emulator has been sending Fb updates faster than MT handler on the device could process them. This lead to significant screen lag between the emulator and the device. With this CL emulator will not send FB updates to the device until the device has fully proccesed the previous FB update. Change-Id: I9a39e9f358f87d5bd6baaa2617a79e7de59ae99e --- android/multitouch-port.c | 25 +++++++++++++++++++------ android/multitouch-screen.c | 31 ++++++++++++++++++++++++++----- android/multitouch-screen.h | 3 +++ 3 files changed, 48 insertions(+), 11 deletions(-) diff --git a/android/multitouch-port.c b/android/multitouch-port.c index faefdbf..88a76fe 100644 --- a/android/multitouch-port.c +++ b/android/multitouch-port.c @@ -48,17 +48,21 @@ */ /* Pointer move message. */ -#define SDKCTL_MT_MOVE 1 +#define SDKCTL_MT_MOVE 1 /* First pointer down message. */ -#define SDKCTL_MT_FISRT_DOWN 2 +#define SDKCTL_MT_FISRT_DOWN 2 /* Last pointer up message. */ -#define SDKCTL_MT_LAST_UP 3 +#define SDKCTL_MT_LAST_UP 3 /* Pointer down message. */ -#define SDKCTL_MT_POINTER_DOWN 4 +#define SDKCTL_MT_POINTER_DOWN 4 /* Pointer up message. */ -#define SDKCTL_MT_POINTER_UP 5 +#define SDKCTL_MT_POINTER_UP 5 /* Sends framebuffer update. */ -#define SDKCTL_MT_FB_UPDATE 6 +#define SDKCTL_MT_FB_UPDATE 6 +/* Framebuffer update has been received. */ +#define SDKCTL_MT_FB_UPDATE_RECEIVED 7 +/* Framebuffer update has been handled. */ +#define SDKCTL_MT_FB_UPDATE_HANDLED 8 /* Multi-touch port descriptor. */ struct AndroidMTSPort { @@ -332,6 +336,15 @@ _on_multitouch_message(void* client_opaque, _on_pup((const AndroidMTPtr*)msg_data); break; + case SDKCTL_MT_FB_UPDATE_RECEIVED: + D("Framebuffer update ACK."); + break; + + case SDKCTL_MT_FB_UPDATE_HANDLED: + D("Framebuffer update handled."); + multitouch_fb_updated(); + break; + default: W("Multi-touch: Unknown message %d", msg_type); break; diff --git a/android/multitouch-screen.c b/android/multitouch-screen.c index 155218a..36f937d 100644 --- a/android/multitouch-screen.c +++ b/android/multitouch-screen.c @@ -252,16 +252,15 @@ _on_fb_sent(void* opaque, SDKCtlDirectPacket* packet, AsyncIOState status) if (status == ASIO_STATE_SUCCEEDED) { /* Lets see if we have accumulated more changes while transmission has been * in progress. */ - if (mts_state->fb_header.w && mts_state->fb_header.h) { + if (mts_state->fb_header.w && mts_state->fb_header.h && + !mts_state->fb_transfer_in_progress) { + mts_state->fb_transfer_in_progress = 1; /* Send accumulated updates. */ if (mts_port_send_frame(mts_state->mtsp, &mts_state->fb_header, mts_state->current_fb, _on_fb_sent, mts_state, mts_state->ydir)) { mts_state->fb_transfer_in_progress = 0; } - } else { - /* Framebuffer transfer is completed, and no more updates are pending. */ - mts_state->fb_transfer_in_progress = 0; } } @@ -376,7 +375,8 @@ multitouch_opengles_fb_update(void* context, _mt_fb_common_update(mts_state, 0, 0, w, h); } -void multitouch_refresh_screen(void) +void +multitouch_refresh_screen(void) { MTSState* const mts_state = &_MTSState; @@ -393,6 +393,27 @@ void multitouch_refresh_screen(void) } void +multitouch_fb_updated(void) +{ + MTSState* const mts_state = &_MTSState; + + /* This concludes framebuffer update. */ + mts_state->fb_transfer_in_progress = 0; + + /* Lets see if we have accumulated more changes while transmission has been + * in progress. */ + if (mts_state->fb_header.w && mts_state->fb_header.h) { + mts_state->fb_transfer_in_progress = 1; + /* Send accumulated updates. */ + if (mts_port_send_frame(mts_state->mtsp, &mts_state->fb_header, + mts_state->current_fb, _on_fb_sent, mts_state, + mts_state->ydir)) { + mts_state->fb_transfer_in_progress = 0; + } + } +} + +void multitouch_init(AndroidMTSPort* mtsp) { if (!_is_mt_initialized) { diff --git a/android/multitouch-screen.h b/android/multitouch-screen.h index 901d76e..baca224 100644 --- a/android/multitouch-screen.h +++ b/android/multitouch-screen.h @@ -100,4 +100,7 @@ extern void multitouch_opengles_fb_update(void* context, */ extern void multitouch_refresh_screen(void); +/* Framebuffer update has been handled by the device. */ +extern void multitouch_fb_updated(void); + #endif /* ANDROID_MULTITOUCH_SCREEN_H_ */ -- cgit v1.1 From 035f805e44a2a5ea556e425584060fad1f4230b6 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 18 May 2012 12:19:32 -0700 Subject: Use -qemu -lcd-density parameter for setting qemu.sf.lcd_density boot property. Change-Id: Ibfd85c3e351caef89ae57630c824255f29f47914 --- vl-android.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vl-android.c b/vl-android.c index 7b661b6..c566d92 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3782,6 +3782,15 @@ int main(int argc, char **argv, char **envp) } } + /* Set LCD density (if required by -qemu, and AVD is missing it. */ + if (android_op_lcd_density && !android_hw->hw_lcd_density) { + int density; + if (parse_int(android_op_lcd_density, &density) || density <= 0) { + PANIC("-lcd-density : %d", density); + } + hwLcd_setBootProperty(density); + } + /* Initialize camera emulation. */ android_camera_service_init(); -- cgit v1.1 From 88f828e91ff4f13fb3d4f873fc0eedd6ef49a156 Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Mon, 21 May 2012 16:39:51 -0700 Subject: [MIPS] Add MIPS support to build-kernel.sh Enables building of mips goldfish kernel Signed-Off-By: Bhanu Chetlapalli --- distrib/build-kernel.sh | 21 ++++++++++++++++++--- docs/ANDROID-KERNEL.TXT | 5 +++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/distrib/build-kernel.sh b/distrib/build-kernel.sh index 20d85c6..ec5c4f1 100755 --- a/distrib/build-kernel.sh +++ b/distrib/build-kernel.sh @@ -134,6 +134,10 @@ else CROSSTOOLCHAIN=i686-android-linux-4.4.3 CROSSPREFIX=i686-android-linux- ;; + mips) + CROSSTOOLCHAIN=mipsel-linux-android-4.4.3 + CROSSPREFIX=mipsel-linux-android- + ;; *) echo "ERROR: Unsupported architecture!" exit 1 @@ -148,6 +152,9 @@ case $ARCH in x86) ZIMAGE=bzImage ;; + mips) + ZIMAGE= + ;; esac # If the cross-compiler is not in the path, try to find it automatically @@ -165,7 +172,11 @@ if [ $? != 0 ] ; then BUILD_TOP=$(cd $BUILD_TOP && pwd) fi fi - CROSSPREFIX=$BUILD_TOP/prebuilt/$HOST_TAG/toolchain/$CROSSTOOLCHAIN/bin/$CROSSPREFIX + if [ "$ARCH" = "mips" ]; then + CROSSPREFIX=$BUILD_TOP/prebuilts/gcc/$HOST_TAG/$ARCH/$CROSSTOOLCHAIN/bin/$CROSSPREFIX + else + CROSSPREFIX=$BUILD_TOP/prebuilt/$HOST_TAG/toolchain/$CROSSTOOLCHAIN/bin/$CROSSPREFIX + fi if [ "$BUILD_TOP" -a -f ${CROSSPREFIX}gcc ]; then echo "Auto-config: --cross=$CROSSPREFIX" else @@ -225,8 +236,12 @@ case $CONFIG in OUTPUT_VMLINUX=vmlinux-$CONFIG esac -cp -f arch/$ARCH/boot/$ZIMAGE $OUTPUT/$OUTPUT_KERNEL cp -f vmlinux $OUTPUT/$OUTPUT_VMLINUX +if [ ! -z $ZIMAGE ]; then + cp -f arch/$ARCH/boot/$ZIMAGE $OUTPUT/$OUTPUT_KERNEL + echo "Kernel $CONFIG prebuilt images ($OUTPUT_KERNEL and $OUTPUT_VMLINUX) copied to $OUTPUT successfully !" +else + echo "Kernel $CONFIG prebuilt image ($OUTPUT_VMLINUX) copied to $OUTPUT successfully !" +fi -echo "Kernel $CONFIG prebuilt images ($OUTPUT_KERNEL and $OUTPUT_VMLINUX) copied to $OUTPUT successfully !" exit 0 diff --git a/docs/ANDROID-KERNEL.TXT b/docs/ANDROID-KERNEL.TXT index d5a1930..9305ff0 100644 --- a/docs/ANDROID-KERNEL.TXT +++ b/docs/ANDROID-KERNEL.TXT @@ -25,6 +25,11 @@ To rebuild the x86 kernel: cd $KERNEL_SOURCES /path/to/rebuild-kernel.sh --arch=x86 --out=$ANDROID/prebuilt/android-x86/kernel +To rebuild the MIPS kernel: + + cd $KERNEL_SOURCES + /path/to/rebuild-kernel.sh --arch=mips --out=$ANDROID/prebuilts/qemu-kernel/mips + Note that you will need to have your cross-toolchain in your path. If this is not the case, the script will complain and give you the expected name. Use --cross= to specify a different toolchain. -- cgit v1.1 From 9ada5ea3626964561ed983c64cf04bcdf44e6806 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 30 May 2012 16:09:29 +0800 Subject: Fixed prebuilt path and toolchain names 1) Use "prebuilts" instead of "prebuilt" to legalize BUILD_TOP 2) Update CROSSTOOLCHAIN and CROSSPREFIX for all arch 3) Add -fno-pic because some toolchain (eg. x86 and mips) in prebuilts/gcc are NDK-compatible (ie. enforces -fpic, etc) Verified to build working kernel-goldfish for all arch Change-Id: I93ac8f0beeaae14aa4575629fd8eaf4af73ef7ce --- distrib/build-kernel.sh | 28 ++++++++++------------------ distrib/kernel-toolchain/toolbox.sh | 18 +++++++++++------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/distrib/build-kernel.sh b/distrib/build-kernel.sh index 4b50353..67488ac 100755 --- a/distrib/build-kernel.sh +++ b/distrib/build-kernel.sh @@ -6,7 +6,7 @@ MACHINE=goldfish VARIANT=goldfish OUTPUT=/tmp/kernel-qemu -CROSSPREFIX=arm-eabi- +CROSSPREFIX=arm-linux-androideabi- CONFIG=goldfish # Determine the host architecture, and which default prebuilt tag we need. @@ -127,15 +127,15 @@ if [ -n "$OPTION_CROSS" ] ; then else case $ARCH in arm) - CROSSTOOLCHAIN=arm-eabi-4.4.3 - CROSSPREFIX=arm-eabi- + CROSSTOOLCHAIN=arm-linux-androideabi-4.6 + CROSSPREFIX=arm-linux-androideabi- ;; x86) CROSSTOOLCHAIN=i686-linux-android-4.6 CROSSPREFIX=i686-linux-android- ;; mips) - CROSSTOOLCHAIN=mipsel-linux-android-4.4.3 + CROSSTOOLCHAIN=mipsel-linux-android-4.6 CROSSPREFIX=mipsel-linux-android- ;; *) @@ -166,17 +166,13 @@ if [ $? != 0 ] ; then # Assume this script is under external/qemu/distrib/ in the # Android source tree. BUILD_TOP=$(dirname $0)/../../.. - if [ ! -d "$BUILD_TOP/prebuilt" ]; then + if [ ! -d "$BUILD_TOP/prebuilts" ]; then BUILD_TOP= else BUILD_TOP=$(cd $BUILD_TOP && pwd) fi fi - if [ "$ARCH" = "mips" ]; then - CROSSPREFIX=$BUILD_TOP/prebuilts/gcc/$HOST_TAG/$ARCH/$CROSSTOOLCHAIN/bin/$CROSSPREFIX - else - CROSSPREFIX=$BUILD_TOP/prebuilt/$HOST_TAG/toolchain/$CROSSTOOLCHAIN/bin/$CROSSPREFIX - fi + CROSSPREFIX=$BUILD_TOP/prebuilts/gcc/$HOST_TAG/$ARCH/$CROSSTOOLCHAIN/bin/$CROSSPREFIX if [ "$BUILD_TOP" -a -f ${CROSSPREFIX}gcc ]; then echo "Auto-config: --cross=$CROSSPREFIX" else @@ -195,15 +191,11 @@ fi # Special magic redirection with our magic toolbox script -# This is needed to add extra compiler flags for x86 +# This is needed to add extra compiler flags to compiler. +# See kernel-toolchain/android-kernel-toolchain-* for details # -# We could use that for ARM, but don't need to at the moment. -# -if [ "$ARCH" = "x86" ]; then - export REAL_CROSS_COMPILE="$CROSS_COMPILE" - export ARCH - CROSS_COMPILE=$(dirname "$0")/kernel-toolchain/android-kernel-toolchain- -fi +export REAL_CROSS_COMPILE="$CROSS_COMPILE" +CROSS_COMPILE=$(dirname "$0")/kernel-toolchain/android-kernel-toolchain- # Do the build # diff --git a/distrib/kernel-toolchain/toolbox.sh b/distrib/kernel-toolchain/toolbox.sh index b9947e2..89b49bb 100755 --- a/distrib/kernel-toolchain/toolbox.sh +++ b/distrib/kernel-toolchain/toolbox.sh @@ -1,10 +1,10 @@ #!/bin/sh # -# This is a wrapper around our x86 toolchain that allows us to add a few +# This is a wrapper around our toolchain that allows us to add a few # compiler flags. -# The issue is that our x86 toolchain is NDK-compatible, and hence enforces -# -mfpmath=sse and -fpic by default. When building the kernel, we need to -# disable this. +# The issue is that our toolchain are NDK-compatible, and hence enforces +# -fpic (and also -mfpmath=sse for x86) by default. When building the +# kernel, we need to disable this. # # Also support ccache compilation if USE_CCACHE is defined as "1" # @@ -43,9 +43,13 @@ PROGSUFFIX=${PROGNAME##$PROGPREFIX} EXTRA_FLAGS= -# Special case #1: For x86, disable SSE FPU arithmetic, and PIC code -if [ "$ARCH" = "x86" -a "$PROGSUFFIX" = gcc ]; then - EXTRA_FLAGS=$EXTRA_FLAGS" -mfpmath=387 -fno-pic" +if [ "$PROGSUFFIX" = gcc ]; then + # Special case #1: For all, disable PIC code + EXTRA_FLAGS=$EXTRA_FLAGS" -fno-pic" + if [ "$ARCH" = "x86" ]; then + # Special case #2: For x86, disable SSE FPU arithmetic too + EXTRA_FLAGS=$EXTRA_FLAGS" -mfpmath=387" + fi fi # Invoke real cross-compiler toolchain program now -- cgit v1.1 From 33f5c65179d1d6608463aec013c30e18811913c8 Mon Sep 17 00:00:00 2001 From: "Jiang, Yunhong" Date: Sun, 29 Apr 2012 03:46:19 +0800 Subject: Mark gles pipe connected after callback invoked Currently the net pipe is mark connected right after initialization through asyncConnector_run invokation. However, asyncConnector_run is intended only invoked when callback through select. In some extrem situation, this will cause the qemu pipe driver begin send buffer before the connection is setup. Change this to be asyncConnector_run usage correct, and sendBuffer will check the connection status. Change-Id: Ib10e72e56e1ed5017fc3654b0fce8cacf484c8f8 Signed-off-by: Jiang, Yunhong --- android/hw-pipe-net.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/android/hw-pipe-net.c b/android/hw-pipe-net.c index 5a25401..3e8dc70 100644 --- a/android/hw-pipe-net.c +++ b/android/hw-pipe-net.c @@ -204,10 +204,9 @@ netPipe_initFromAddress( void* hwpipe, const SockAddress* address, Looper* loop } loopIo_init(pipe->io, looper, fd, netPipe_io_func, pipe); - asyncConnector_init(pipe->connector, address, pipe->io); + status = asyncConnector_init(pipe->connector, address, pipe->io); pipe->state = STATE_CONNECTING; - status = asyncConnector_run(pipe->connector); if (status == ASYNC_ERROR) { D("%s: Could not connect to socket: %s", __FUNCTION__, errno_str); @@ -234,6 +233,17 @@ netPipe_closeFromGuest( void* opaque ) netPipe_free(pipe); } +static int netPipeReadySend(NetPipe *pipe) +{ + if (pipe->state == STATE_CONNECTED) + return 0; + else if (pipe->state == STATE_CONNECTING) + return PIPE_ERROR_AGAIN; + else if (pipe->hwpipe == NULL) + return PIPE_ERROR_INVAL; + else + return PIPE_ERROR_IO; +} static int netPipe_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuffers ) @@ -245,6 +255,10 @@ netPipe_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuf const GoldfishPipeBuffer* buff = buffers; const GoldfishPipeBuffer* buffEnd = buff + numBuffers; + ret = netPipeReadySend(pipe); + if (ret != 0) + return ret; + for (; buff < buffEnd; buff++) count += buff->size; -- cgit v1.1 From 4a2c9dd7630ce51a660e1aa14e10bc6fbc4621c4 Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Mon, 2 Apr 2012 08:20:56 -0700 Subject: replace _exit() with exit() When the emulator is compiled with -pg, it generates a stats file (gmon.out) upon exiting, as long as the exit it done when main() returns normally or exit() is called. Calling _exit() or exiting via an unhandled signal will not cause gmon.out to be generated. Change-Id: I0d5ea5a0b0314f97d2fdc0c92fd6f38c65377eb9 Signed-off-by: Iliyan Malchev --- distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/XF86DGA.c | 8 ++++---- exec.c | 2 +- net-android.c | 2 +- net.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/XF86DGA.c b/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/XF86DGA.c index 346e9e7..34abbb0 100644 --- a/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/XF86DGA.c +++ b/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/XF86DGA.c @@ -601,9 +601,9 @@ SDL_NAME(XF86DGAForkApp)(int screen) XSync(sp->display, False); } if (WIFEXITED(status)) - _exit(0); + exit(0); else - _exit(-1); + exit(-1); } return pid; } @@ -652,7 +652,7 @@ XF86cleanup(int sig) static char beenhere = 0; if (beenhere) - _exit(3); + exit(3); beenhere = 1; for (i = 0; i < numScrs; i++) { @@ -660,7 +660,7 @@ XF86cleanup(int sig) SDL_NAME(XF86DGADirectVideo)(sp->display, sp->screen, 0); XSync(sp->display, False); } - _exit(3); + exit(3); } Bool diff --git a/exec.c b/exec.c index b8a473f..c71ef66 100644 --- a/exec.c +++ b/exec.c @@ -1527,7 +1527,7 @@ void cpu_set_log(int log_flags) logfile = fopen(logfilename, log_append ? "a" : "w"); if (!logfile) { perror(logfilename); - _exit(1); + exit(1); } #if !defined(CONFIG_SOFTMMU) /* must avoid mmap() usage of glibc by setting a buffer "by hand" */ diff --git a/net-android.c b/net-android.c index 6459eff..50b816c 100644 --- a/net-android.c +++ b/net-android.c @@ -1485,7 +1485,7 @@ static int launch_script(const char *setup_script, const char *ifname, int fd) *parg++ = (char *)ifname; *parg++ = NULL; execv(setup_script, args); - _exit(1); + exit(1); } else if (pid > 0) { while (waitpid(pid, &status, 0) != pid) { /* loop */ diff --git a/net.c b/net.c index 1deca85..219ed30 100644 --- a/net.c +++ b/net.c @@ -1357,7 +1357,7 @@ static int launch_script(const char *setup_script, const char *ifname, int fd) *parg++ = (char *)ifname; *parg++ = NULL; execv(setup_script, args); - _exit(1); + exit(1); } else if (pid > 0) { while (waitpid(pid, &status, 0) != pid) { /* loop */ -- cgit v1.1 From d00f7c4b4cbd09aa9fdcd484f0eb764417134657 Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Fri, 30 Mar 2012 10:54:20 -0700 Subject: fix BUILD_DEBUG_EMULATOR build Change-Id: Ib888b8114d77270383c6ac563fb36bfdaf7b72fc Signed-off-by: Iliyan Malchev --- CleanSpec.mk | 3 +++ Makefile.android | 5 +++-- distrib/libpng-1.2.19/sources.make | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CleanSpec.mk b/CleanSpec.mk index 0bfecdc..b64769e 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -1,3 +1,6 @@ # This empty file is here solely for the purpose of optimizing the Android build # Please keep it there, and empty, thanks :-) # + +$(call add-clean-step, rm -rf $(OUT_DIR)/host/linux-x86/obj/{SHARED,STATIC}_LIBRARIES/emulator*) +$(call add-clean-step, rm -rf $(OUT_DIR)/host/linux-x86/obj/EXECUTABLES/emulator*) diff --git a/Makefile.android b/Makefile.android index d61264b..00faa1c 100644 --- a/Makefile.android +++ b/Makefile.android @@ -39,8 +39,9 @@ MY_CFLAGS := $(CONFIG_INCLUDES) $(MY_OPTIM) # Overwrite configuration for debug builds. # ifeq ($(BUILD_DEBUG_EMULATOR),true) - MY_CFLAGS := $(CONFIG_INCLUDES) -O0 -g \ - -fno-PIC -falign-functions=0 + MY_CFLAGS := $(CONFIG_INCLUDES) + MY_CFLAGS += -O0 -g + MY_CFLAGS += -fno-PIC -falign-functions=0 endif MY_LDLIBS := diff --git a/distrib/libpng-1.2.19/sources.make b/distrib/libpng-1.2.19/sources.make index f512f7b..4d11126 100644 --- a/distrib/libpng-1.2.19/sources.make +++ b/distrib/libpng-1.2.19/sources.make @@ -7,8 +7,10 @@ LIBPNG_SOURCES := png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c \ # Enable MMX code path for x86, except on Darwin where it fails PNG_MMX := no ifeq ($(HOST_ARCH),x86) +ifneq ($(BUILD_DEBUG_EMULATOR),true) PNG_MMX := yes endif +endif ifeq ($(HOST_OS),darwin) PNG_MMX := no endif @@ -20,4 +22,3 @@ else endif LIBPNG_SOURCES := $(LIBPNG_SOURCES:%=$(LIBPNG_DIR)/%) - -- cgit v1.1 From 23a322d55622b2045eaeb94ebcf5b26e8ef51369 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Tue, 8 May 2012 12:00:20 -0700 Subject: Track started and initialized states separately Several OpenGL ES renderer functions are called blindly by the emulator and are supposed to do nothing if the renderer isn't running. They were checking whether the libraries were loaded instead of whether the renderer was started. This causes problems when the renderer is started and then stopped (for stats collection) since the libraries aren't unloaded. Change-Id: Ia6c0d2e5b618ff982b55caf35c38bda9aad30ee1 --- android/opengles.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/android/opengles.c b/android/opengles.c index f56252c..7405750 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -60,6 +60,7 @@ extern int android_init_opengles_pipes(void); #endif static ADynamicLibrary* rendererLib; +static int rendererStarted; /* Define the function pointers */ #define DYNLINK_FUNC(name) \ @@ -147,10 +148,16 @@ android_startOpenglesRenderer(int width, int height) return -1; } + if (rendererStarted) { + return 0; + } + if (!initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT)) { D("Can't start OpenGLES renderer?"); return -1; } + + rendererStarted = 1; return 0; } @@ -199,6 +206,15 @@ android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, { const char *vendorSrc, *rendererSrc, *versionSrc; + assert(vendorBufSize > 0 && rendererBufSize > 0 && versionBufSize > 0); + assert(vendor != NULL && renderer != NULL && version != NULL); + + if (!rendererStarted) { + D("Can't get OpenGL ES hardware strings when renderer not started"); + vendor[0] = renderer[0] = version = '\0'; + return; + } + getHardwareStrings(&vendorSrc, &rendererSrc, &versionSrc); if (!vendorSrc) vendorSrc = ""; if (!rendererSrc) rendererSrc = ""; @@ -221,15 +237,16 @@ android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, void android_stopOpenglesRenderer(void) { - if (rendererLib) { + if (rendererStarted) { stopOpenGLRenderer(); + rendererStarted = 0; } } int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation) { - if (rendererLib) { + if (rendererStarted) { int success = createOpenGLSubwindow((FBNativeWindowType)window, x, y, width, height, rotation); return success ? 0 : -1; } else { @@ -240,7 +257,7 @@ android_showOpenglesWindow(void* window, int x, int y, int width, int height, fl int android_hideOpenglesWindow(void) { - if (rendererLib) { + if (rendererStarted) { int success = destroyOpenGLSubwindow(); return success ? 0 : -1; } else { @@ -251,7 +268,7 @@ android_hideOpenglesWindow(void) void android_redrawOpenglesWindow(void) { - if (rendererLib) { + if (rendererStarted) { repaintOpenGLDisplay(); } } -- cgit v1.1 From 9bc2c5eba30c83bf3a1ae78f99a79eb763fd267b Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 5 Jun 2012 13:23:00 -0700 Subject: [MIPS] Copy vmlinux to kernel-qemu MIPS Qemu kernel build does not generate a compressed z/bzImage. Change-Id: I74bb4a85c034f0b72fa2e81f13f79c140c01eabe Signed-Off-By: Bhanu Chetlapalli --- distrib/build-kernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/build-kernel.sh b/distrib/build-kernel.sh index 67488ac..5838da3 100755 --- a/distrib/build-kernel.sh +++ b/distrib/build-kernel.sh @@ -231,9 +231,9 @@ esac cp -f vmlinux $OUTPUT/$OUTPUT_VMLINUX if [ ! -z $ZIMAGE ]; then cp -f arch/$ARCH/boot/$ZIMAGE $OUTPUT/$OUTPUT_KERNEL - echo "Kernel $CONFIG prebuilt images ($OUTPUT_KERNEL and $OUTPUT_VMLINUX) copied to $OUTPUT successfully !" else - echo "Kernel $CONFIG prebuilt image ($OUTPUT_VMLINUX) copied to $OUTPUT successfully !" + cp -f vmlinux $OUTPUT/$OUTPUT_KERNEL fi +echo "Kernel $CONFIG prebuilt images ($OUTPUT_KERNEL and $OUTPUT_VMLINUX) copied to $OUTPUT successfully !" exit 0 -- cgit v1.1 From 741dc13597ac064e6a48bb2a6ec069cbc1cd0dbb Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 8 May 2012 17:16:03 -0700 Subject: [MIPS] Add Goldfish target support Basic Goldfish support for MIPS. Also, Fix host CPU consumption when guest is idle When the CPU is in wait state, do not wake-up if an interrupt can't be taken. This avoid host CPU running at 100% if a device (e.g. timer) has an interrupt line left enabled. Also factorize code to check if interrupts are enabled in cpu_mips_hw_interrupts_pending(). CPU consumption based on a patch from Edgar E. Iglesias Change-Id: Ie8371c8d0c9af1e0c8ba4cac419979350de0f5d9 Signed-off-by: yajin Signed-off-by: Douglas Leung Signed-off-by: Bhanu Chetlapalli Signed-off-by: Chris Dearman --- Makefile.android | 13 +- Makefile.target | 60 ++++++-- android-configure.sh | 7 +- android/avd/util.c | 2 + android/config/target-mips/config.h | 5 + android/main.c | 3 + hw/android_mips.c | 282 ++++++++++++++++++++++++++++++++++++ hw/boards.h | 3 + hw/mips_pic.c | 39 +++++ softmmu_outside_jit.h | 4 + target-mips/cpu.h | 31 ++++ target-mips/exec.h | 18 ++- 12 files changed, 445 insertions(+), 22 deletions(-) create mode 100644 android/config/target-mips/config.h create mode 100644 hw/android_mips.c create mode 100644 hw/mips_pic.c diff --git a/Makefile.android b/Makefile.android index 00faa1c..195c061 100644 --- a/Makefile.android +++ b/Makefile.android @@ -1,12 +1,16 @@ -ifneq (,$(filter $(TARGET_ARCH),arm x86)) +ifneq (,$(filter $(TARGET_ARCH),arm x86 mips)) LOCAL_PATH:= $(call my-dir) # determine the target cpu ifeq ($(TARGET_ARCH),arm) EMULATOR_TARGET_CPU := target-arm -else +endif +ifeq ($(TARGET_ARCH),x86) EMULATOR_TARGET_CPU := target-i386 endif +ifeq ($(TARGET_ARCH),mips) +EMULATOR_TARGET_CPU := target-mips +endif # determine the host tag to use QEMU_HOST_TAG := $(HOST_PREBUILT_TAG) @@ -253,6 +257,9 @@ include $(LOCAL_PATH)/Makefile.target EMULATOR_TARGET_ARCH := x86 include $(LOCAL_PATH)/Makefile.target +EMULATOR_TARGET_ARCH := mips +include $(LOCAL_PATH)/Makefile.target + ############################################################################## ############################################################################## ### @@ -316,4 +323,4 @@ $(call end-emulator-program) ## VOILA!! -endif # TARGET_ARCH == arm || TARGET_ARCH == x86 +endif # TARGET_ARCH == arm || TARGET_ARCH == x86 || TARGET_ARCH == mips diff --git a/Makefile.target b/Makefile.target index 5b4ec5f..608761c 100644 --- a/Makefile.target +++ b/Makefile.target @@ -1,6 +1,6 @@ # This file is included several times to build target-specific # modules for the Android emulator. It will be called several times -# (e.g. once for the arm target, and once for the x86 target). +# for arm, x86 and mips # ifndef EMULATOR_TARGET_ARCH @@ -26,7 +26,7 @@ EMULATOR_TARGET_CFLAGS := \ -I$(LOCAL_PATH)/android/config/target-$(EMULATOR_TARGET_ARCH) \ -I$(LOCAL_PATH)/target-$(EMULATOR_TARGET_CPU) \ -I$(LOCAL_PATH)/fpu \ - -DNEED_CPU_H \ + -DNEED_CPU_H TCG_TARGET := $(HOST_ARCH) ifeq ($(HOST_ARCH),x86) @@ -96,7 +96,7 @@ HW_SOURCES += android_arm.c \ goldfish_switch.c \ goldfish_timer.c \ goldfish_trace.c \ - arm_boot.c \ + arm_boot.c # The following sources must be compiled with the final executables # because they contain device_init() or machine_init() statements. @@ -135,6 +135,31 @@ HW_OBJ_CFLAGS := $(EMULATOR_TARGET_CFLAGS) endif +ifeq ($(EMULATOR_TARGET_ARCH),mips) +HW_SOURCES += \ + android_mips.c \ + mips_pic.c \ + goldfish_interrupt.c \ + goldfish_switch.c \ + goldfish_timer.c \ + goldfish_trace.c \ + mips_timer.c \ + mips_int.c + +# The following sources must be compiled with the final executables +# because they contain device_init() or machine_init() statements. +HW_OBJ_SOURCES := hw/smc91c111.c +HW_OBJ_CFLAGS := $(EMULATOR_TARGET_CFLAGS) + +common_LOCAL_SRC_FILES += mips-dis.c + +# smc91c111.c requires +LOCAL_CFLAGS += $(ZLIB_CFLAGS) +ifeq ($(ARCH_HAS_BIGENDIAN),true) + LOCAL_CFLAGS += -DTARGET_WORDS_BIGENDIAN +endif + +endif common_LOCAL_SRC_FILES += $(HW_SOURCES:%=hw/%) common_LOCAL_SRC_FILES += \ @@ -143,7 +168,7 @@ common_LOCAL_SRC_FILES += \ translate-all.c \ trace.c \ varint.c \ - softmmu_outside_jit.c \ + softmmu_outside_jit.c ############################################################################## # CPU-specific emulation. @@ -165,7 +190,7 @@ common_LOCAL_SRC_FILES += \ target-arm/machine.c \ hw/armv7m.c \ hw/armv7m_nvic.c \ - arm-semi.c \ + arm-semi.c common_LOCAL_SRC_FILES += fpu/softfloat.c endif @@ -192,6 +217,16 @@ endif common_LOCAL_SRC_FILES += fpu/softfloat-native.c endif +ifeq ($(EMULATOR_TARGET_ARCH), mips) +common_LOCAL_SRC_FILES += \ + target-mips/op_helper.c \ + target-mips/helper.c \ + target-mips/translate.c \ + target-mips/machine.c + +common_LOCAL_SRC_FILES += fpu/softfloat.c +endif + # compile KVM only if target is x86 on x86 Linux QEMU_KVM_TAG := $(QEMU_HOST_TAG)-$(EMULATOR_TARGET_ARCH) QEMU_DO_KVM := $(if $(filter linux-x86-x86 linux-x86_64-x86,$(QEMU_KVM_TAG)),true,false) @@ -220,7 +255,7 @@ MCHK_SOURCES := \ memcheck_proc_management.c \ memcheck_malloc_map.c \ memcheck_mmrange_map.c \ - memcheck_util.c \ + memcheck_util.c common_LOCAL_SRC_FILES += $(MCHK_SOURCES:%=memcheck/%) @@ -272,7 +307,7 @@ LOCAL_CFLAGS += \ $(ELFF_CFLAGS) \ $(EMULATOR_LIBQEMU_CFLAGS) \ $(EMULATOR_TARGET_CFLAGS) \ - -DCONFIG_STANDALONE_CORE \ + -DCONFIG_STANDALONE_CORE ifneq ($(QEMU_OPENGLES_INCLUDE),) LOCAL_CFLAGS += -I$(QEMU_OPENGLES_INCLUDE) @@ -284,13 +319,12 @@ LOCAL_STATIC_LIBRARIES := \ emulator-libqemu \ emulator-target-$(EMULATOR_TARGET_CPU) \ emulator-libelff \ - emulator-common \ - + emulator-common LOCAL_LDLIBS += \ $(EMULATOR_COMMON_LDLIBS) \ $(EMULATOR_LIBQEMU_LDLIBS) \ - $(ELFF_LDLIBS) \ + $(ELFF_LDLIBS) LOCAL_SRC_FILES := \ audio/audio.c \ @@ -312,7 +346,7 @@ LOCAL_SRC_FILES := \ android/protocol/user-events-impl.c \ android/protocol/ui-commands-proxy.c \ android/protocol/core-commands-impl.c \ - android/protocol/core-commands-qemu.c \ + android/protocol/core-commands-qemu.c $(call gen-hx-header,qemu-monitor.hx,qemu-monitor.h,monitor.c) $(call gen-hx-header,qemu-options.hx,qemu-options.def,vl-android.c qemu-options.h) @@ -360,13 +394,13 @@ common_LOCAL_STATIC_LIBRARIES := \ emulator-libqemu \ emulator-target-$(EMULATOR_TARGET_CPU) \ emulator-libelff \ - emulator-common \ + emulator-common common_LOCAL_LDLIBS += \ $(EMULATOR_COMMON_LDLIBS) \ $(EMULATOR_LIBQEMU_LDLIBS) \ $(EMULATOR_LIBUI_LDLIBS) \ - $(ELFF_LDLIBS) \ + $(ELFF_LDLIBS) common_LOCAL_CFLAGS += \ $(EMULATOR_TARGET_CFLAGS) \ diff --git a/android-configure.sh b/android-configure.sh index 9510ece..38af78e 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -22,7 +22,6 @@ OPTION_IGNORE_AUDIO=no OPTION_NO_PREBUILTS=no OPTION_TRY_64=no OPTION_HELP=no -OPTION_DEBUG=no OPTION_STATIC=no OPTION_MINGW=no @@ -60,8 +59,6 @@ for opt do ;; --no-strip) OPTION_NO_STRIP=yes ;; - --debug) OPTION_DEBUG=yes - ;; --ignore-audio) OPTION_IGNORE_AUDIO=yes ;; --no-prebuilts) OPTION_NO_PREBUILTS=yes @@ -541,6 +538,10 @@ if [ $TARGET_ARCH = x86 ] ; then echo "TARGET_ARCH := x86" >> $config_mk fi +if [ $TARGET_ARCH = mips ] ; then +echo "TARGET_ARCH := mips" >> $config_mk +fi + echo "HOST_PREBUILT_TAG := $TARGET_OS" >> $config_mk echo "HOST_EXEEXT := $TARGET_EXEEXT" >> $config_mk echo "PREBUILT := $ANDROID_PREBUILT" >> $config_mk diff --git a/android/avd/util.c b/android/avd/util.c index a174ee3..cc51e0f 100644 --- a/android/avd/util.c +++ b/android/avd/util.c @@ -254,6 +254,8 @@ path_getBuildTargetArch( const char* androidOut ) result = "arm"; else if (!strcmp("armeabi-v7a", cpuAbi)) result = "arm"; + else if (!strncmp("mips", cpuAbi, 4)) + result = "mips"; else result = cpuAbi; diff --git a/android/config/target-mips/config.h b/android/config/target-mips/config.h new file mode 100644 index 0000000..4002cdc --- /dev/null +++ b/android/config/target-mips/config.h @@ -0,0 +1,5 @@ +/* MIPS-specific configuration */ +#include "android/config/config.h" + +#define TARGET_MIPS 1 +#define CONFIG_SOFTFLOAT 1 diff --git a/android/main.c b/android/main.c index d9d2274..4178a6b 100644 --- a/android/main.c +++ b/android/main.c @@ -407,6 +407,9 @@ int main(int argc, char **argv) #elif defined(TARGET_I386) free(android_hw->hw_cpu_arch); android_hw->hw_cpu_arch = ASTRDUP("x86"); +#elif defined(TARGET_MIPS) + free(android_hw->hw_cpu_arch); + android_hw->hw_cpu_arch = ASTRDUP("mips"); #endif } diff --git a/hw/android_mips.c b/hw/android_mips.c new file mode 100644 index 0000000..54c3c00 --- /dev/null +++ b/hw/android_mips.c @@ -0,0 +1,282 @@ +/* Copyright (C) 2007-2008 The Android Open Source Project +** +** This software is licensed under the terms of the GNU General Public +** License version 2, as published by the Free Software Foundation, and +** may be copied, distributed, and modified under those terms. +** +** 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. +*/ +#include "hw.h" +#include "boards.h" +#include "devices.h" +#include "net.h" +#include "sysemu.h" +#include "mips.h" +#include "goldfish_device.h" +#include "android/globals.h" +#include "audio/audio.h" +#include "blockdev.h" +#ifdef CONFIG_MEMCHECK +#include "memcheck/memcheck_api.h" +#endif // CONFIG_MEMCHECK + +#include "android/utils/debug.h" + +#define D(...) VERBOSE_PRINT(init,__VA_ARGS__) + +#define MIPS_CPU_SAVE_VERSION 1 +#define GOLDFISH_IO_SPACE 0x1f000000 +#define GOLDFISH_INTERRUPT 0x1f000000 +#define GOLDFISH_DEVICEBUS 0x1f001000 +#define GOLDFISH_TTY 0x1f002000 +#define GOLDFISH_RTC 0x1f003000 +#define GOLDFISH_AUDIO 0x1f004000 +#define GOLDFISH_MMC 0x1f005000 +#define GOLDFISH_MEMLOG 0x1f006000 +#define GOLDFISH_DEVICES 0x1f010000 + +char* audio_input_source = NULL; + +void goldfish_memlog_init(uint32_t base); + +static struct goldfish_device event0_device = { + .name = "goldfish_events", + .id = 0, + .size = 0x1000, + .irq_count = 1 +}; + +static struct goldfish_device nand_device = { + .name = "goldfish_nand", + .id = 0, + .size = 0x1000 +}; + +/* Board init. */ + +#define TEST_SWITCH 1 +#if TEST_SWITCH +uint32_t switch_test_write(void *opaque, uint32_t state) +{ + goldfish_switch_set_state(opaque, state); + return state; +} +#endif + +#define VIRT_TO_PHYS_ADDEND (-((int64_t)(int32_t)0x80000000)) + +#define PHYS_TO_VIRT(x) ((x) | ~(target_ulong)0x7fffffff) + +static void android_load_kernel(CPUState *env, int ram_size, const char *kernel_filename, + const char *kernel_cmdline, const char *initrd_filename) +{ + int initrd_size; + ram_addr_t initrd_offset; + uint64_t kernel_entry, kernel_low, kernel_high; + unsigned int cmdline; + + /* Load the kernel. */ + if (!kernel_filename) { + fprintf(stderr, "Kernel image must be specified\n"); + exit(1); + } + if (load_elf(kernel_filename, VIRT_TO_PHYS_ADDEND, + (uint64_t *)&kernel_entry, (uint64_t *)&kernel_low, + (uint64_t *)&kernel_high) < 0) { + fprintf(stderr, "qemu: could not load kernel '%s'\n", kernel_filename); + exit(1); + } + env->active_tc.PC = (int32_t)kernel_entry; + + /* load initrd */ + initrd_size = 0; + initrd_offset = 0; + if (initrd_filename) { + initrd_size = get_image_size (initrd_filename); + if (initrd_size > 0) { + initrd_offset = (kernel_high + ~TARGET_PAGE_MASK) & TARGET_PAGE_MASK; + if (initrd_offset + initrd_size > ram_size) { + fprintf(stderr, + "qemu: memory too small for initial ram disk '%s'\n", + initrd_filename); + exit(1); + } + initrd_size = load_image_targphys(initrd_filename, + initrd_offset, + ram_size - initrd_offset); + + } + if (initrd_size == (target_ulong) -1) { + fprintf(stderr, "qemu: could not load initial ram disk '%s'\n", + initrd_filename); + exit(1); + } + } + + /* Store command line in top page of memory + * kernel will copy the command line to a loca buffer + */ + cmdline = ram_size - TARGET_PAGE_SIZE; + char kernel_cmd[1024]; + if (initrd_size > 0) + sprintf (kernel_cmd, "%s rd_start=0x" TARGET_FMT_lx " rd_size=%li", + kernel_cmdline, + PHYS_TO_VIRT(initrd_offset), initrd_size); + else + strcpy (kernel_cmd, kernel_cmdline); + + cpu_physical_memory_write(ram_size - TARGET_PAGE_SIZE, (void *)kernel_cmd, strlen(kernel_cmd) + 1); + +#if 0 + if (initrd_size > 0) + sprintf (phys_ram_base+cmdline, "%s rd_start=0x" TARGET_FMT_lx " rd_size=%li", + kernel_cmdline, + PHYS_TO_VIRT(initrd_offset), initrd_size); + else + strcpy (phys_ram_base+cmdline, kernel_cmdline); +#endif + + env->active_tc.gpr[4] = PHYS_TO_VIRT(cmdline);/* a0 */ + env->active_tc.gpr[5] = ram_size; /* a1 */ + env->active_tc.gpr[6] = 0; /* a2 */ + env->active_tc.gpr[7] = 0; /* a3 */ + +} + + +static void android_mips_init_(ram_addr_t ram_size, + const char *boot_device, + const char *kernel_filename, + const char *kernel_cmdline, + const char *initrd_filename, + const char *cpu_model) +{ + CPUState *env; + qemu_irq *goldfish_pic; + int i; + ram_addr_t ram_offset; + + if (!cpu_model) + cpu_model = "24Kf"; + + env = cpu_init(cpu_model); + + register_savevm( "cpu", 0, MIPS_CPU_SAVE_VERSION, cpu_save, cpu_load, env ); + + if (ram_size > GOLDFISH_IO_SPACE) + ram_size = GOLDFISH_IO_SPACE; /* avoid overlap of ram and IO regs */ + ram_offset = qemu_ram_alloc(NULL, "android_mips", ram_size); + cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM); + + /* Init internal devices */ + cpu_mips_irq_init_cpu(env); + cpu_mips_clock_init(env); + + goldfish_pic = goldfish_interrupt_init(GOLDFISH_INTERRUPT, + env->irq[2], env->irq[3]); + goldfish_device_init(goldfish_pic, GOLDFISH_DEVICES, 0x7f0000, 10, 22); + + goldfish_device_bus_init(GOLDFISH_DEVICEBUS, 1); + + goldfish_timer_and_rtc_init(GOLDFISH_RTC, 3); + + goldfish_tty_add(serial_hds[0], 0, GOLDFISH_TTY, 4); + for(i = 1; i < MAX_SERIAL_PORTS; i++) { + if(serial_hds[i]) { + goldfish_tty_add(serial_hds[i], i, 0, 0); + } + } + + for(i = 0; i < MAX_NICS; i++) { + if (nd_table[i].vlan) { + if (nd_table[i].model == NULL + || strcmp(nd_table[i].model, "smc91c111") == 0) { + struct goldfish_device *smc_device; + smc_device = qemu_mallocz(sizeof(*smc_device)); + smc_device->name = "smc91x"; + smc_device->id = i; + smc_device->size = 0x1000; + smc_device->irq_count = 1; + goldfish_add_device_no_io(smc_device); + smc91c111_init(&nd_table[i], smc_device->base, goldfish_pic[smc_device->irq]); + } else { + fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd_table[0].model); + exit (1); + } + } + } + + goldfish_fb_init(0); +#ifdef HAS_AUDIO + goldfish_audio_init(GOLDFISH_AUDIO, 0, audio_input_source); +#endif + { + DriveInfo* info = drive_get( IF_IDE, 0, 0 ); + if (info != NULL) { + goldfish_mmc_init(GOLDFISH_MMC, 0, info->bdrv); + } + } + goldfish_memlog_init(GOLDFISH_MEMLOG); + + if (android_hw->hw_battery) + goldfish_battery_init(); + + goldfish_add_device_no_io(&event0_device); + events_dev_init(event0_device.base, goldfish_pic[event0_device.irq]); + +#ifdef CONFIG_NAND + goldfish_add_device_no_io(&nand_device); + nand_dev_init(nand_device.base); +#endif +#ifdef CONFIG_TRACE + extern const char *trace_filename; + /* Init trace device if either tracing, or memory checking is enabled. */ + if (trace_filename != NULL +#ifdef CONFIG_MEMCHECK + || memcheck_enabled +#endif // CONFIG_MEMCHECK + || 1 /* XXX: ALWAYS AVAILABLE FOR QEMUD PIPES */ + ) { + trace_dev_init(); + } + if (trace_filename != NULL) { + D( "Trace file name is set to %s\n", trace_filename ); + } else { + D("Trace file name is not set\n"); + } +#endif + + pipe_dev_init(); + +#if TEST_SWITCH + { + void *sw; + sw = goldfish_switch_add("test", NULL, NULL, 0); + goldfish_switch_set_state(sw, 1); + goldfish_switch_add("test2", switch_test_write, sw, 1); + } +#endif + + android_load_kernel(env, ram_size, kernel_filename, kernel_cmdline, initrd_filename); +} + + +QEMUMachine android_mips_machine = { + "android_mips", + "MIPS Android Emulator", + android_mips_init_, + 0, + 0, + 1, + NULL +}; + +static void android_mips_init(void) +{ + qemu_register_machine(&android_mips_machine); +} + +machine_init(android_mips_init); diff --git a/hw/boards.h b/hw/boards.h index 4a71e56..8242af6 100644 --- a/hw/boards.h +++ b/hw/boards.h @@ -27,4 +27,7 @@ extern QEMUMachine *current_machine; /* android_arm.c */ extern QEMUMachine android_arm_machine; +/* android_mips.c */ +extern QEMUMachine android_mips_machine; + #endif diff --git a/hw/mips_pic.c b/hw/mips_pic.c new file mode 100644 index 0000000..9d146b8 --- /dev/null +++ b/hw/mips_pic.c @@ -0,0 +1,39 @@ +/* + * MIPS CPU interrupt support. + * + */ + +#include "hw.h" + +/* Stub functions for hardware that don't exist. */ +void pic_info(void) +{ +} + +void irq_info(void) +{ +} + +static void mips_cpu_irq_handler(void *opaque, int irq, int level) +{ + CPUState *env = (CPUState *)opaque; + int causebit; + + if (irq < 0 || 7 < irq) + cpu_abort(env, "mips_pic_cpu_handler: Bad interrupt line %d\n", + irq); + + causebit = 0x00000100 << irq; + if (level) { + env->CP0_Cause |= causebit; + cpu_interrupt(env, CPU_INTERRUPT_HARD); + } else { + env->CP0_Cause &= ~causebit; + cpu_reset_interrupt(env, CPU_INTERRUPT_HARD); + } +} + +qemu_irq *mips_cpu_irq_init(CPUState *env) +{ + return qemu_allocate_irqs(mips_cpu_irq_handler, env, 8); +} diff --git a/softmmu_outside_jit.h b/softmmu_outside_jit.h index 07ba4c7..21ead05 100644 --- a/softmmu_outside_jit.h +++ b/softmmu_outside_jit.h @@ -49,7 +49,11 @@ void REGPARM __stq_outside_jit(target_ulong addr, uint64_t val, int mmu_idx); // ============================================================================= // Generate ld/stx_user // ============================================================================= +#if defined(TARGET_MIPS) +#define MEMSUFFIX MMU_MODE2_SUFFIX +#else #define MEMSUFFIX MMU_MODE1_SUFFIX +#endif #define ACCESS_TYPE 1 #define DATA_SIZE 1 diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 27bdc95..7c04fbe 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -518,6 +518,37 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) env->active_tc.gpr[2] = 0; } +static inline int cpu_mips_hw_interrupts_pending(CPUState *env) +{ + int32_t pending; + int32_t status; + int r; + + if (!(env->CP0_Status & (1 << CP0St_IE)) || + (env->CP0_Status & (1 << CP0St_EXL)) || + (env->CP0_Status & (1 << CP0St_ERL)) || + (env->hflags & MIPS_HFLAG_DM)) { + /* Interrupts are disabled */ + return 0; + } + + pending = env->CP0_Cause & CP0Ca_IP_mask; + status = env->CP0_Status & CP0Ca_IP_mask; + + if (env->CP0_Config3 & (1 << CP0C3_VEIC)) { + /* A MIPS configured with a vectorizing external interrupt controller + will feed a vector into the Cause pending lines. The core treats + the status lines as a vector level, not as indiviual masks. */ + r = pending > status; + } else { + /* A MIPS configured with compatibility or VInt (Vectored Interrupts) + treats the pending lines as individual interrupt lines, the status + lines are individual masks. */ + r = pending & status; + } + return r; +} + #include "cpu-all.h" #include "exec-all.h" diff --git a/target-mips/exec.h b/target-mips/exec.h index 8a118bb..0720366 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -35,10 +35,22 @@ static inline void regs_to_env(void) static inline int cpu_has_work(CPUState *env) { - return (env->interrupt_request & - (CPU_INTERRUPT_HARD | CPU_INTERRUPT_TIMER)); -} + int has_work = 0; + + /* It is implementation dependent if non-enabled interrupts + wake-up the CPU, however most of the implementations only + check for interrupts that can be taken. */ + if ((env->interrupt_request & CPU_INTERRUPT_HARD) && + cpu_mips_hw_interrupts_pending(env)) { + has_work = 1; + } + if (env->interrupt_request & CPU_INTERRUPT_TIMER) { + has_work = 1; + } + + return has_work; +} static inline int cpu_halted(CPUState *env) { -- cgit v1.1 From 5b954e623db71d3df2d9af1825ec3815137a06a7 Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 31 Jan 2012 16:31:29 -0800 Subject: [MIPS] Clear softfpu status before emulating FPU instructions This applies to round, trunc, ceil and floor instructions Change-Id: I4a5f1619ecd8fe2d7ce508f8e569be129a8b1e34 Signed-off-by: Chris Dearman --- target-mips/op_helper.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 61a39df..565cf94 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -2230,6 +2230,7 @@ uint64_t helper_float_roundl_d(uint64_t fdt0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_nearest_even, &env->active_fpu.fp_status); dt2 = float64_to_int64(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2243,6 +2244,7 @@ uint64_t helper_float_roundl_s(uint32_t fst0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_nearest_even, &env->active_fpu.fp_status); dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2256,6 +2258,7 @@ uint32_t helper_float_roundw_d(uint64_t fdt0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_nearest_even, &env->active_fpu.fp_status); wt2 = float64_to_int32(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2269,6 +2272,7 @@ uint32_t helper_float_roundw_s(uint32_t fst0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_nearest_even, &env->active_fpu.fp_status); wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2282,6 +2286,7 @@ uint64_t helper_float_truncl_d(uint64_t fdt0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); dt2 = float64_to_int64_round_to_zero(fdt0, &env->active_fpu.fp_status); update_fcr31(); if (GET_FP_CAUSE(env->active_fpu.fcr31) & (FP_OVERFLOW | FP_INVALID)) @@ -2293,6 +2298,7 @@ uint64_t helper_float_truncl_s(uint32_t fst0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); dt2 = float32_to_int64_round_to_zero(fst0, &env->active_fpu.fp_status); update_fcr31(); if (GET_FP_CAUSE(env->active_fpu.fcr31) & (FP_OVERFLOW | FP_INVALID)) @@ -2304,6 +2310,7 @@ uint32_t helper_float_truncw_d(uint64_t fdt0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); wt2 = float64_to_int32_round_to_zero(fdt0, &env->active_fpu.fp_status); update_fcr31(); if (GET_FP_CAUSE(env->active_fpu.fcr31) & (FP_OVERFLOW | FP_INVALID)) @@ -2315,6 +2322,7 @@ uint32_t helper_float_truncw_s(uint32_t fst0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); wt2 = float32_to_int32_round_to_zero(fst0, &env->active_fpu.fp_status); update_fcr31(); if (GET_FP_CAUSE(env->active_fpu.fcr31) & (FP_OVERFLOW | FP_INVALID)) @@ -2326,6 +2334,7 @@ uint64_t helper_float_ceill_d(uint64_t fdt0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); dt2 = float64_to_int64(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2339,6 +2348,7 @@ uint64_t helper_float_ceill_s(uint32_t fst0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2352,6 +2362,7 @@ uint32_t helper_float_ceilw_d(uint64_t fdt0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); wt2 = float64_to_int32(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2365,6 +2376,7 @@ uint32_t helper_float_ceilw_s(uint32_t fst0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2378,6 +2390,7 @@ uint64_t helper_float_floorl_d(uint64_t fdt0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); dt2 = float64_to_int64(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2391,6 +2404,7 @@ uint64_t helper_float_floorl_s(uint32_t fst0) { uint64_t dt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2404,6 +2418,7 @@ uint32_t helper_float_floorw_d(uint64_t fdt0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); wt2 = float64_to_int32(fdt0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; @@ -2417,6 +2432,7 @@ uint32_t helper_float_floorw_s(uint32_t fst0) { uint32_t wt2; + set_float_exception_flags(0, &env->active_fpu.fp_status); set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); RESTORE_ROUNDING_MODE; -- cgit v1.1 From f15a9e8294ea7b8441415b8a45490dbfd5eb3bd5 Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 31 Jan 2012 16:34:07 -0800 Subject: [MIPS] TLBRET_DIRTY is a valid return value from get_physical_address Change-Id: I3ddfd3de165575c52a76cf9acee1e304d42562cf Signed-off-by: Chris Dearman --- target-mips/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-mips/helper.c b/target-mips/helper.c index ec87114..12caf34 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -324,7 +324,7 @@ target_phys_addr_t cpu_mips_translate_address(CPUState *env, target_ulong addres access_type = ACCESS_INT; ret = get_physical_address(env, &physical, &prot, address, rw, access_type); - if (ret != TLBRET_MATCH) { + if (ret != TLBRET_MATCH || ret != TLBRET_DIRTY) { raise_mmu_exception(env, address, rw, ret); return -1LL; } else { -- cgit v1.1 From 0b3979707c09e058442c22d046b326ce244edda1 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 11 Jun 2012 17:03:18 +0800 Subject: Force emulator to quit if it's built w/o global register variable support Clang and llvm-gcc don't support global register variable (GRV) crucial to emulator (where a register is reserved to point to target architecture state for better code-gen). Clang and llvm-gcc are provided in recent Xcode to replace the original gcc with GRV support. MacOSX developers may accidentally install newer Xcode and break emulator. This CL allows emulator (and the rest of Android tree) to build but forces emulator to quit if it's built w/o GRV support. Developers build Android tree with clang or llvm-gcc can still get good system image, but they have to use emulators built the other way or from SDKs to run it. Related CL & bug entry: https://android-review.googlesource.com/#/c/33011 http://code.google.com/p/android/issues/detail?id=32577 Change-Id: Ia585dd7bf9783e2ff4c114b4f0ec20b89684ab57 --- qemu-common.h | 16 ++++++++++++++++ target-arm/exec.h | 6 +----- target-i386/exec.h | 6 +----- target-mips/exec.h | 2 +- tcg/tcg.c | 9 +++++++++ 5 files changed, 28 insertions(+), 11 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index 79ac779..097e1fc 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -408,4 +408,20 @@ typedef enum DisplayType #define CLAMP_MAC_TIMEOUT(to) ((void)0) #endif // _DARWIN_C_SOURCE +#if defined(__clang__) || defined(__llvm__) +/* Clang and llvm-gcc don't support global register variable (GRV). + Clang issues compile-time error for GRV. llvm-gcc accepts GRV (because + its front-end is gcc) but ignores it in the llvm-based back-end. + Undefining GRV decl to allow external/qemu and the rest of Android + to compile. But emulator built w/o GRV support will not function + correctly. User will be greeted with an error message (issued + in tcg/tcg.c) when emulator built this way is launched. + */ +#define SUPPORT_GLOBAL_REGISTER_VARIABLE 0 +#define GLOBAL_REGISTER_VARIABLE_DECL +#else +#define SUPPORT_GLOBAL_REGISTER_VARIABLE 1 +#define GLOBAL_REGISTER_VARIABLE_DECL register +#endif /* __clang__ || __llvm__ */ + #endif diff --git a/target-arm/exec.h b/target-arm/exec.h index 83571e6..43bfaa9 100644 --- a/target-arm/exec.h +++ b/target-arm/exec.h @@ -19,11 +19,7 @@ #include "config.h" #include "dyngen-exec.h" -/* Xcode 4.3 doesn't support global register variables */ -#if !defined(__APPLE_CC__) || __APPLE_CC__ < 5621 - register -#endif -struct CPUARMState *env asm(AREG0); +GLOBAL_REGISTER_VARIABLE_DECL struct CPUARMState *env asm(AREG0); #include "cpu.h" #include "exec-all.h" diff --git a/target-i386/exec.h b/target-i386/exec.h index d194f89..5d04b7f 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -29,11 +29,7 @@ #include "cpu-defs.h" -/* Xcode 4.3 doesn't support global register variables */ -#if !defined(__APPLE_CC__) || __APPLE_CC__ < 5621 - register -#endif -struct CPUX86State *env asm(AREG0); +GLOBAL_REGISTER_VARIABLE_DECL struct CPUX86State *env asm(AREG0); #include "qemu-common.h" #include "qemu-log.h" diff --git a/target-mips/exec.h b/target-mips/exec.h index 0720366..0d55790 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -8,7 +8,7 @@ #include "dyngen-exec.h" #include "cpu-defs.h" -register struct CPUMIPSState *env asm(AREG0); +GLOBAL_REGISTER_VARIABLE_DECL struct CPUMIPSState *env asm(AREG0); #include "cpu.h" #include "exec-all.h" diff --git a/tcg/tcg.c b/tcg/tcg.c index 5882f00..66529f5 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -2030,6 +2030,15 @@ static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf, unsigned int tpc2gpc_index = 0; #endif // CONFIG_MEMCHECK +#if !SUPPORT_GLOBAL_REGISTER_VARIABLE + printf("ERROR: This emulator is built by compiler without global register variable\n" + "support! Emulator reserves a register to point to target architecture state\n" + "for better code generation. LLVM-based compilers such as clang and llvm-gcc\n" + "currently don't support global register variable. Please see\n" + "http://source.android.com/source/initializing.html for detail.\n\n"); + tcg_abort(); +#endif + #ifdef DEBUG_DISAS if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) { qemu_log("OP:\n"); -- cgit v1.1 From 342a01fc826881e6b12b7673c7d2c280295f4d9e Mon Sep 17 00:00:00 2001 From: Duane Sand Date: Thu, 21 Jun 2012 14:30:38 -0700 Subject: [MIPS] Fix startup segfault in emulator64-mips Avoid truncation of 64-bit host addresses for 32-bit Mips physaddrs. Revert workaround I17fe688d19e3cd7f328721e6363bacd6e6689ca; allow emulator to again default to emulator64-mips. Change-Id: I0c83d8bf60fc52a758b84d8131b2bad53375aa61 Signed-off-by: Duane Sand --- android/main-emulator.c | 2 -- target-mips/op_helper.c | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/android/main-emulator.c b/android/main-emulator.c index ac4d2e9..0981a71 100644 --- a/android/main-emulator.c +++ b/android/main-emulator.c @@ -148,8 +148,6 @@ int main(int argc, char** argv) avdArch = "arm"; D("Can't determine target AVD architecture: defaulting to %s\n", avdArch); } - if (!strcmp(avdArch, "mips")) - force_32bit = 1; /* emulator64-mips segfaults currently, 4-19-2012 */ /* Find the architecture-specific program in the same directory */ emulatorPath = getTargetEmulatorPath(argv[0], avdArch, force_32bit); diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 565cf94..a0c64f4 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1870,7 +1870,7 @@ static unsigned long v2p_mmu(target_ulong addr, int is_user) { int index; target_ulong tlb_addr; - target_phys_addr_t physaddr; + unsigned long physaddr; void *retaddr; index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); @@ -1892,12 +1892,12 @@ redo: * to the address of simulation host (not the physical * address of simulated OS. */ -target_phys_addr_t v2p(target_ulong ptr, int is_user) +unsigned long v2p(target_ulong ptr, int is_user) { CPUState *saved_env; int index; target_ulong addr; - target_phys_addr_t physaddr; + unsigned long physaddr; saved_env = env; env = cpu_single_env; @@ -1907,7 +1907,7 @@ target_phys_addr_t v2p(target_ulong ptr, int is_user) (addr & TARGET_PAGE_MASK), 0)) { physaddr = v2p_mmu(addr, is_user); } else { - physaddr = (target_phys_addr_t)addr + env->tlb_table[is_user][index].addend; + physaddr = addr + env->tlb_table[is_user][index].addend; } env = saved_env; return physaddr; -- cgit v1.1 From 055adab0b70c70890634649a27c12b2c25afcaca Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Wed, 11 Jul 2012 16:48:28 -0700 Subject: Use a per-process server address for the GLES server Previously we used a hardcoded address (tcp port, unix pipe path, etc.) for the OpenGLRender system. Multiple emulators would all try to listen on the same address, with the system non-deterministically (?) choosing which one accepted each new connection. This resulted in frames going to the wrong emulator window, one emulator shutting down another's OpenGL system, etc. Now the OpenGLRender server requests an unused tcp port or derives a path from the pid, and reports the address back to the emulator client to use for future connections from the guest. Change-Id: I139d32615200b36b87f2d2ede4abb4060ec02776 --- android/hw-pipe-net.c | 11 +++++------ android/opengles.c | 21 ++++++--------------- android/opengles.h | 10 +++++----- 3 files changed, 16 insertions(+), 26 deletions(-) diff --git a/android/hw-pipe-net.c b/android/hw-pipe-net.c index 3e8dc70..1c71f18 100644 --- a/android/hw-pipe-net.c +++ b/android/hw-pipe-net.c @@ -492,19 +492,18 @@ openglesPipe_init( void* hwpipe, void* _looper, const char* args ) return NULL; } + char server_addr[PATH_MAX]; + android_gles_server_path(server_addr, sizeof(server_addr)); #ifndef _WIN32 if (android_gles_fast_pipes) { - char unix_path[PATH_MAX]; - android_gles_unix_path(unix_path, sizeof(unix_path), ANDROID_OPENGLES_BASE_PORT); - pipe = (NetPipe *)netPipe_initUnix(hwpipe, _looper, unix_path); - D("Creating Unix OpenGLES pipe for GPU emulation: %s", unix_path); + pipe = (NetPipe *)netPipe_initUnix(hwpipe, _looper, server_addr); + D("Creating Unix OpenGLES pipe for GPU emulation: %s", server_addr); } else { #else /* _WIN32 */ { #endif /* Connect through TCP as a fallback */ - snprintf(temp, sizeof temp, "%d", ANDROID_OPENGLES_BASE_PORT); - pipe = (NetPipe *)netPipe_initTcp(hwpipe, _looper, temp); + pipe = (NetPipe *)netPipe_initTcp(hwpipe, _looper, server_addr); D("Creating TCP OpenGLES pipe for GPU emulation!"); } if (pipe != NULL) { diff --git a/android/opengles.c b/android/opengles.c index 7405750..1fa6421 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -61,6 +61,7 @@ extern int android_init_opengles_pipes(void); static ADynamicLibrary* rendererLib; static int rendererStarted; +static char rendererAddress[256]; /* Define the function pointers */ #define DYNLINK_FUNC(name) \ @@ -152,7 +153,7 @@ android_startOpenglesRenderer(int width, int height) return 0; } - if (!initOpenGLRenderer(width, height, ANDROID_OPENGLES_BASE_PORT)) { + if (!initOpenGLRenderer(width, height, rendererAddress, sizeof(rendererAddress))) { D("Can't start OpenGLES renderer?"); return -1; } @@ -177,7 +178,6 @@ static void strncpy_safe(char* dst, const char* src, size_t n) static void extractBaseString(char* dst, const char* src, size_t dstSize) { - size_t len = strlen(src); const char* begin = strchr(src, '('); const char* end = strrchr(src, ')'); @@ -211,7 +211,7 @@ android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, if (!rendererStarted) { D("Can't get OpenGL ES hardware strings when renderer not started"); - vendor[0] = renderer[0] = version = '\0'; + vendor[0] = renderer[0] = version[0] = '\0'; return; } @@ -274,18 +274,9 @@ android_redrawOpenglesWindow(void) } void -android_gles_unix_path(char* buff, size_t buffsize, int port) +android_gles_server_path(char* buff, size_t buffsize) { - const char* user = getenv("USER"); - char *p = buff, *end = buff + buffsize; - - /* The logic here must correspond to the one inside - * development/tools/emulator/opengl/shared/libOpenglCodecCommon/UnixStream.cpp */ - p = bufprint(p, end, "/tmp/"); - if (user && user[0]) { - p = bufprint(p, end, "android-%s/", user); - } - p = bufprint(p, end, "qemu-gles-%d", port); + strncpy_safe(buff, rendererAddress, buffsize); } #else // CONFIG_ANDROID_OPENGLES @@ -330,7 +321,7 @@ int android_hideOpenglesWindow(void) void android_redrawOpenglesWindow(void) {} -void android_gles_unix_path(char* buff, size_t buffsize, int port) +void android_gles_server_path(char* buff, size_t buffsize) { buff[0] = '\0'; } diff --git a/android/opengles.h b/android/opengles.h index aac6249..6330287 100644 --- a/android/opengles.h +++ b/android/opengles.h @@ -14,8 +14,6 @@ #include -#define ANDROID_OPENGLES_BASE_PORT 22468 - /* Call this function to initialize the hardware opengles emulation. * This function will abort if we can't find the corresponding host * libraries through dlopen() or equivalent. @@ -59,8 +57,10 @@ void android_stopOpenglesRenderer(void); */ extern int android_gles_fast_pipes; -/* Write the path of the Unix socket we're going to use to access GLES on a given */ -/* The result is only valid on Unix systems */ -void android_gles_unix_path(char* buff, size_t buffsize, int port); +/* Get the address of the socket that clients should connect to to access GLES. + * For TCP this is just the port number (as a string) on the loopback address. + * For UNIX and Win32 pipes it is the full pathname of the pipe. + */ +void android_gles_server_path(char* buff, size_t buffsize); #endif /* ANDROID_OPENGLES_H */ -- cgit v1.1 From 74b55003f76dbca96e4a26d98fe464081ca5341f Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Tue, 17 Jul 2012 15:51:53 -0700 Subject: Handle SDL windows with BGRA color The switch to CoreGraphics on OSX (instead of QuickDraw) in SDL 1.2.15 means the SDL-created window now has BGRA color order instead of ARGB. This change makes the r5g6b5 and xbgr32 format converters handle whatever channel ordering the main SDL surface has. Skin regions don't need to change, since we draw them into auxiliary surfaces we created with ARGB order, and SDL does the conversion when we blit them into the main window. Change-Id: I2ae0529c66c11b60b3ade7a7a742368a2ab614bd --- android/skin/scaler.c | 28 ++++++++++++++++++++++++++++ android/skin/window.c | 45 ++++++++++++++++++++++++++++----------------- 2 files changed, 56 insertions(+), 17 deletions(-) diff --git a/android/skin/scaler.c b/android/skin/scaler.c index 5672869..bafd84e 100644 --- a/android/skin/scaler.c +++ b/android/skin/scaler.c @@ -150,6 +150,34 @@ skin_scaler_scale( SkinScaler* scaler, else scale_generic( &op ); } + + // The optimized scale functions in argb.h assume the destination is ARGB. + // If that's not the case, do a channel reorder now. + if (dst_surface->format->Rshift != 16 || + dst_surface->format->Gshift != 8 || + dst_surface->format->Bshift != 0) + { + uint32_t rshift = dst_surface->format->Rshift; + uint32_t gshift = dst_surface->format->Gshift; + uint32_t bshift = dst_surface->format->Bshift; + uint32_t ashift = dst_surface->format->Ashift; + uint32_t amask = dst_surface->format->Amask; // may be 0x00 + int x, y; + + for (y = 0; y < op.rd.h; y++) + { + uint32_t* line = (uint32_t*)(op.dst_line + y*op.dst_pitch); + for (x = 0; x < op.rd.w; x++) { + uint32_t r = (line[x] & 0x00ff0000) >> 16; + uint32_t g = (line[x] & 0x0000ff00) >> 8; + uint32_t b = (line[x] & 0x000000ff) >> 0; + uint32_t a = (line[x] & 0xff000000) >> 24; + line[x] = (r << rshift) | (g << gshift) | (b << bshift) | + ((a << ashift) & amask); + } + } + } + SDL_UnlockSurface( dst_surface ); SDL_UnlockSurface( src_surface ); diff --git a/android/skin/window.c b/android/skin/window.c index 5d8c684..65276ac 100644 --- a/android/skin/window.c +++ b/android/skin/window.c @@ -148,22 +148,25 @@ display_init( ADisplay* disp, SkinDisplay* sdisp, SkinLocation* loc, SkinRect return (disp->data == NULL) ? -1 : 0; } -static __inline__ uint32_t rgb565_to_argb32( uint32_t pix ) +static __inline__ uint32_t rgb565_to_rgba32(uint32_t pix, + uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) { - uint32_t r = ((pix & 0xf800) << 8) | ((pix & 0xe000) << 3); - uint32_t g = ((pix & 0x07e0) << 5) | ((pix & 0x0600) >> 1); - uint32_t b = ((pix & 0x001f) << 3) | ((pix & 0x001c) >> 2); - return 0xff000000 | r | g | b; + uint32_t r8 = ((pix & 0xf800) >> 8) | ((pix & 0xe000) >> 13); + uint32_t g8 = ((pix & 0x07e0) >> 3) | ((pix & 0x0600) >> 9); + uint32_t b8 = ((pix & 0x001f) << 3) | ((pix & 0x001c) >> 2); + return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; } /* The framebuffer format is R,G,B,X in framebuffer memory, on a * little-endian system, this translates to XBGR after a load. */ -static __inline__ uint32_t xbgr_to_argb32( uint32_t pix ) +static __inline__ uint32_t xbgr_to_rgba32(uint32_t pix, + uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) { - uint32_t g = (pix & 0x0000ff00); - uint32_t rb = (pix & 0xff00ff); - return 0xff000000 | (rb << 16) | g | (rb >> 16); + uint32_t r8 = (pix & 0x00ff0000) >> 16; + uint32_t g8 = (pix & 0x0000ff00) >> 8; + uint32_t b8 = (pix & 0x000000ff) >> 0; + return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; } static void @@ -392,6 +395,10 @@ display_redraw_rect16( ADisplay* disp, SkinRect* rect, SDL_Surface* surface) int src_pitch = disp->datasize.w*2; uint8_t* src_line = (uint8_t*)disp->data; int yy, xx; + uint32_t rshift = surface->format->Rshift; + uint32_t gshift = surface->format->Gshift; + uint32_t bshift = surface->format->Bshift; + uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format switch ( disp->rotation & 3 ) { @@ -405,7 +412,7 @@ display_redraw_rect16( ADisplay* disp, SkinRect* rect, SDL_Surface* surface) xx = 0; DUFF4(w, { - dst[xx] = rgb565_to_argb32(src[xx]); + dst[xx] = rgb565_to_rgba32(src[xx], rshift, gshift, bshift, amask); xx++; }); src_line += src_pitch; @@ -422,7 +429,7 @@ display_redraw_rect16( ADisplay* disp, SkinRect* rect, SDL_Surface* surface) uint8_t* src = src_line; DUFF4(w, { - dst[0] = rgb565_to_argb32(((uint16_t*)src)[0]); + dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); src -= src_pitch; dst += 1; }); @@ -440,7 +447,7 @@ display_redraw_rect16( ADisplay* disp, SkinRect* rect, SDL_Surface* surface) uint32_t* dst = (uint32_t*)dst_line; DUFF4(w, { - dst[0] = rgb565_to_argb32(src[0]); + dst[0] = rgb565_to_rgba32(src[0], rshift, gshift, bshift, amask); src -= 1; dst += 1; }); @@ -458,7 +465,7 @@ display_redraw_rect16( ADisplay* disp, SkinRect* rect, SDL_Surface* surface) uint8_t* src = src_line; DUFF4(w, { - dst[0] = rgb565_to_argb32(((uint16_t*)src)[0]); + dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); dst += 1; src += src_pitch; }); @@ -482,6 +489,10 @@ display_redraw_rect32( ADisplay* disp, SkinRect* rect,SDL_Surface* surface) int src_pitch = disp->datasize.w*4; uint8_t* src_line = (uint8_t*)disp->data; int yy; + uint32_t rshift = surface->format->Rshift; + uint32_t gshift = surface->format->Gshift; + uint32_t bshift = surface->format->Bshift; + uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format switch ( disp->rotation & 3 ) { @@ -493,7 +504,7 @@ display_redraw_rect32( ADisplay* disp, SkinRect* rect,SDL_Surface* surface) uint32_t* dst = (uint32_t*)dst_line; DUFF4(w, { - dst[0] = xbgr_to_argb32(src[0]); + dst[0] = xbgr_to_rgba32(src[0], rshift, gshift, bshift, amask); dst++; src++; }); @@ -511,7 +522,7 @@ display_redraw_rect32( ADisplay* disp, SkinRect* rect,SDL_Surface* surface) uint8_t* src = src_line; DUFF4(w, { - dst[0] = xbgr_to_argb32(*(uint32_t*)src); + dst[0] = xbgr_to_rgba32(*(uint32_t*)src, rshift, gshift, bshift, amask); src -= src_pitch; dst += 1; }); @@ -529,7 +540,7 @@ display_redraw_rect32( ADisplay* disp, SkinRect* rect,SDL_Surface* surface) uint32_t* dst = (uint32_t*)dst_line; DUFF4(w, { - dst[0] = xbgr_to_argb32(src[0]); + dst[0] = xbgr_to_rgba32(src[0], rshift, gshift, bshift, amask); src -= 1; dst += 1; }); @@ -547,7 +558,7 @@ display_redraw_rect32( ADisplay* disp, SkinRect* rect,SDL_Surface* surface) uint8_t* src = src_line; DUFF4(w, { - dst[0] = xbgr_to_argb32(*(uint32_t*)src); + dst[0] = xbgr_to_rgba32(*(uint32_t*)src, rshift, gshift, bshift, amask); dst += 1; src += src_pitch; }); -- cgit v1.1 From 9682c8870b8ff5e4ac2e4c70b759f791c6f38c1f Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Mon, 9 Jul 2012 11:27:07 -0700 Subject: Import SDL release-1.2.15 Change-Id: I505c4aea24325cad475f217db5589814b4c75dbf --- distrib/sdl-1.2.15/BUGS | 18 + distrib/sdl-1.2.15/Borland.html | 139 + distrib/sdl-1.2.15/Borland.zip | Bin 0 -> 157899 bytes distrib/sdl-1.2.15/COPYING | 458 + distrib/sdl-1.2.15/CREDITS | 94 + distrib/sdl-1.2.15/CWprojects.sea.bin | Bin 0 -> 476160 bytes distrib/sdl-1.2.15/INSTALL | 23 + distrib/sdl-1.2.15/MPWmake.sea.bin | Bin 0 -> 22144 bytes distrib/sdl-1.2.15/Makefile.dc | 111 + distrib/sdl-1.2.15/Makefile.ds | 63 + distrib/sdl-1.2.15/Makefile.in | 178 + distrib/sdl-1.2.15/Makefile.minimal | 42 + distrib/sdl-1.2.15/README | 49 + distrib/sdl-1.2.15/README-SDL.txt | 13 + distrib/sdl-1.2.15/README.AmigaOS | 12 + distrib/sdl-1.2.15/README.BeOS | 13 + distrib/sdl-1.2.15/README.DC | 32 + distrib/sdl-1.2.15/README.HG | 23 + distrib/sdl-1.2.15/README.MacOS | 63 + distrib/sdl-1.2.15/README.MacOSX | 179 + distrib/sdl-1.2.15/README.MiNT | 250 + distrib/sdl-1.2.15/README.NDS | 22 + distrib/sdl-1.2.15/README.NanoX | 97 + distrib/sdl-1.2.15/README.OS2 | 281 + distrib/sdl-1.2.15/README.PS3 | 29 + distrib/sdl-1.2.15/README.PicoGUI | 50 + distrib/sdl-1.2.15/README.Porting | 56 + distrib/sdl-1.2.15/README.QNX | 155 + distrib/sdl-1.2.15/README.Qtopia | 84 + distrib/sdl-1.2.15/README.RISCOS | 130 + distrib/sdl-1.2.15/README.Symbian | 23 + distrib/sdl-1.2.15/README.Watcom | 133 + distrib/sdl-1.2.15/README.WinCE | 55 + distrib/sdl-1.2.15/README.wscons | 107 + distrib/sdl-1.2.15/SDL.qpg.in | 141 + distrib/sdl-1.2.15/SDL.spec.in | 113 + distrib/sdl-1.2.15/TODO | 25 + distrib/sdl-1.2.15/VisualC.html | 159 + distrib/sdl-1.2.15/VisualC/SDL.dsw | 41 + distrib/sdl-1.2.15/VisualC/SDL.sln | 45 + distrib/sdl-1.2.15/VisualC/SDL/SDL.dsp | 546 + distrib/sdl-1.2.15/VisualC/SDL/SDL.vcproj | 828 + distrib/sdl-1.2.15/VisualC/SDL/Version.rc | 105 + distrib/sdl-1.2.15/VisualC/SDL/resource.h | 15 + distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.dsp | 106 + distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.vcproj | 422 + .../sdl-1.2.15/VisualC/tests/graywin/graywin.dsp | 102 + .../VisualC/tests/graywin/graywin.vcproj | 217 + .../sdl-1.2.15/VisualC/tests/loopwave/loopwave.dsp | 102 + .../VisualC/tests/loopwave/loopwave.vcproj | 217 + .../VisualC/tests/testalpha/testalpha.dsp | 102 + .../VisualC/tests/testalpha/testalpha.vcproj | 217 + .../sdl-1.2.15/VisualC/tests/testfile/testfile.dsp | 102 + .../VisualC/tests/testfile/testfile.vcproj | 217 + .../VisualC/tests/testgamma/testgamma.dsp | 102 + .../VisualC/tests/testgamma/testgamma.vcproj | 217 + distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.dsp | 102 + .../sdl-1.2.15/VisualC/tests/testgl/testgl.vcproj | 219 + .../VisualC/tests/testjoystick/testjoystick.dsp | 102 + .../VisualC/tests/testjoystick/testjoystick.vcproj | 217 + .../VisualC/tests/testpalette/testpalette.dsp | 102 + .../VisualC/tests/testpalette/testpalette.vcproj | 217 + .../VisualC/tests/testplatform/testplatform.dsp | 102 + .../VisualC/tests/testplatform/testplatform.vcproj | 239 + distrib/sdl-1.2.15/VisualC/tests/tests.dsw | 161 + distrib/sdl-1.2.15/VisualC/tests/tests.sln | 85 + .../VisualC/tests/testvidinfo/testvidinfo.dsp | 102 + .../VisualC/tests/testvidinfo/testvidinfo.vcproj | 217 + .../sdl-1.2.15/VisualC/tests/testwin/testwin.dsp | 102 + .../VisualC/tests/testwin/testwin.vcproj | 217 + distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.dsp | 102 + .../sdl-1.2.15/VisualC/tests/testwm/testwm.vcproj | 217 + distrib/sdl-1.2.15/VisualCE/SDL.sln | 149 + distrib/sdl-1.2.15/VisualCE/SDL.vcw | 116 + distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcp | 42066 +++++++++++++++++++ distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcproj | 3967 ++ distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcp | 1653 + distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcproj | 603 + distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcp | 562 + .../sdl-1.2.15/VisualCE/loopwave/loopwave.vcproj | 374 + .../sdl-1.2.15/VisualCE/testalpha/testalpha.vcp | 698 + .../sdl-1.2.15/VisualCE/testalpha/testalpha.vcproj | 710 + .../sdl-1.2.15/VisualCE/testtimer/testtimer.vcp | 874 + .../sdl-1.2.15/VisualCE/testtimer/testtimer.vcproj | 372 + distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcp | 672 + distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcproj | 702 + distrib/sdl-1.2.15/Watcom-OS2.zip | Bin 0 -> 63088 bytes distrib/sdl-1.2.15/Watcom-Win32.zip | Bin 0 -> 3709 bytes distrib/sdl-1.2.15/WhatsNew | 727 + distrib/sdl-1.2.15/Xcode/SDL/Info-Framework.plist | 28 + .../Xcode/SDL/SDL.xcodeproj/project.pbxproj | 1961 + .../Xcode/SDL/pkg-support/Readme SDL Developer.txt | 282 + .../Xcode/SDL/pkg-support/SDL-devel.info | 15 + distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL.info | 15 + .../SDL/pkg-support/devel-resources/ReadMe.txt | 5 + .../SDL/pkg-support/devel-resources/Welcome.txt | 5 + .../SDL/pkg-support/devel-resources/install.sh | 76 + .../Xcode/SDL/pkg-support/resources/License.rtf | 283 + .../Xcode/SDL/pkg-support/resources/ReadMe.txt | 171 + .../SDL/pkg-support/resources/ReadMeDevLite.txt | 12 + .../Xcode/SDL/pkg-support/resources/SDL_DS_Store | Bin 0 -> 12292 bytes .../pkg-support/resources/UniversalBinaryNotes.rtf | 150 + .../sdl-1.2.15/Xcode/SDL/pkg-support/sdl_logo.pdf | Bin 0 -> 163800 bytes .../Xcode/SDLTest/Info-checkkeys__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-graywin__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-loopwave__Upgraded_.plist | 32 + distrib/sdl-1.2.15/Xcode/SDLTest/Info-test.plist | 32 + .../Xcode/SDLTest/Info-testalpha__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testbitmap__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testblitspeed.plist | 32 + .../Xcode/SDLTest/Info-testcdrom__Upgraded_.plist | 32 + .../sdl-1.2.15/Xcode/SDLTest/Info-testdyngl.plist | 32 + .../Xcode/SDLTest/Info-testerror__Upgraded_.plist | 32 + .../sdl-1.2.15/Xcode/SDLTest/Info-testfile.plist | 32 + .../Xcode/SDLTest/Info-testgamma__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testgl__Upgraded_.plist | 32 + .../sdl-1.2.15/Xcode/SDLTest/Info-testiconv.plist | 32 + .../SDLTest/Info-testjoystick__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testkeys__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testlock__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testoverlay2.plist | 32 + .../SDLTest/Info-testoverlay__Upgraded_.plist | 32 + .../SDLTest/Info-testpalette__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testplatform.plist | 32 + .../Xcode/SDLTest/Info-testsem__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testsprite__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testthread__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testtimer__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testtypes__Upgraded_.plist | 32 + .../SDLTest/Info-testversion__Upgraded_.plist | 32 + .../SDLTest/Info-testvidinfo__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testwin__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-testwm__Upgraded_.plist | 32 + .../Xcode/SDLTest/Info-threadwin__Upgraded_.plist | 32 + .../SDLTest/Info-torturethread__Upgraded_.plist | 32 + .../SDLTest/SDLTest.xcodeproj/project.pbxproj | 4514 ++ .../sdl-1.2.15/Xcode/SDLTest/libsdlmain_prefix.h | 13 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../SDL Application/Info.plist | 37 + .../SDL Application/SDLMain.h | 16 + .../SDL Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 308 + .../SDL Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../English.lproj/SDLMain.nib/classes.nib | 19 + .../English.lproj/SDLMain.nib/info.nib | 21 + .../English.lproj/SDLMain.nib/objects.nib | Bin 0 -> 2590 bytes .../SDL Cocoa Application/Info.plist | 37 + .../SDL Cocoa Application/SDLMain.h | 16 + .../SDL Cocoa Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 320 + .../SDL Cocoa Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../SDL OpenGL Application/Info.plist | 37 + .../SDL OpenGL Application/SDLMain.h | 16 + .../SDL OpenGL Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 350 + .../SDL OpenGL Application/atlantis/atlantis.c | 459 + .../SDL OpenGL Application/atlantis/atlantis.h | 65 + .../SDL OpenGL Application/atlantis/dolphin.c | 1934 + .../SDL OpenGL Application/atlantis/shark.c | 1308 + .../SDL OpenGL Application/atlantis/swim.c | 188 + .../SDL OpenGL Application/atlantis/whale.c | 1798 + .../SDL OpenGL Application/main.c | 179 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../SDL Application/Info.plist | 37 + .../SDL Application/SDLMain.h | 16 + .../SDL Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 310 + .../SDL Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../English.lproj/SDLMain.nib/classes.nib | 19 + .../English.lproj/SDLMain.nib/info.nib | 21 + .../English.lproj/SDLMain.nib/objects.nib | Bin 0 -> 2590 bytes .../SDL Cocoa Application/Info.plist | 37 + .../SDL Cocoa Application/SDLMain.h | 16 + .../SDL Cocoa Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 322 + .../SDL Cocoa Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 644 bytes .../SDL OpenGL Application/Info.plist | 37 + .../SDL OpenGL Application/SDLMain.h | 16 + .../SDL OpenGL Application/SDLMain.m | 383 + .../___PROJECTNAMEASIDENTIFIER____Prefix.pch | 9 + .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns | Bin 0 -> 111234 bytes .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist | 12 + .../___PROJECTNAME___.xcodeproj/project.pbxproj | 352 + .../SDL OpenGL Application/atlantis/atlantis.c | 459 + .../SDL OpenGL Application/atlantis/atlantis.h | 65 + .../SDL OpenGL Application/atlantis/dolphin.c | 1934 + .../SDL OpenGL Application/atlantis/shark.c | 1308 + .../SDL OpenGL Application/atlantis/swim.c | 188 + .../SDL OpenGL Application/atlantis/whale.c | 1798 + .../SDL OpenGL Application/main.c | 179 + .../English.lproj/InfoPlist.strings | Bin 0 -> 588 bytes .../SDL Application/Info.plist | 28 + .../SDLApp.xcodeproj/TemplateInfo.plist | 12 + .../SDLApp.xcodeproj/project.pbxproj | 324 + .../SDL Application/SDLApp_Prefix.pch | 9 + .../SDL Application/SDLMain.h | 16 + .../SDL Application/SDLMain.m | 383 + .../TemplatesForXcodeTiger/SDL Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 588 bytes .../English.lproj/SDLMain.nib/classes.nib | 19 + .../English.lproj/SDLMain.nib/info.nib | 21 + .../English.lproj/SDLMain.nib/objects.nib | Bin 0 -> 2590 bytes .../SDL Cocoa Application/Info.plist | 28 + .../SDL Cocoa Application/SDLApp_Prefix.pch | 9 + .../SDLCocoaApp.xcodeproj/TemplateInfo.plist | 12 + .../SDLCocoaApp.xcodeproj/project.pbxproj | 336 + .../SDL Cocoa Application/SDLMain.h | 16 + .../SDL Cocoa Application/SDLMain.m | 383 + .../SDL Cocoa Application/main.c | 65 + .../English.lproj/InfoPlist.strings | Bin 0 -> 588 bytes .../SDL OpenGL Application/Info.plist | 28 + .../SDL OpenGL Application/SDLApp_Prefix.pch | 9 + .../SDL OpenGL Application/SDLMain.h | 16 + .../SDL OpenGL Application/SDLMain.m | 383 + .../SDLOpenGLApp.xcodeproj/TemplateInfo.plist | 12 + .../SDLOpenGLApp.xcodeproj/project.pbxproj | 362 + .../SDL OpenGL Application/atlantis/atlantis.c | 459 + .../SDL OpenGL Application/atlantis/atlantis.h | 65 + .../SDL OpenGL Application/atlantis/dolphin.c | 1934 + .../SDL OpenGL Application/atlantis/shark.c | 1308 + .../SDL OpenGL Application/atlantis/swim.c | 188 + .../SDL OpenGL Application/atlantis/whale.c | 1798 + .../SDL OpenGL Application/main.c | 179 + distrib/sdl-1.2.15/Xcode/XcodeDocSet/Doxyfile | 1558 + distrib/sdl-1.2.15/Xcode/mkxcode.csh | 20 + distrib/sdl-1.2.15/Xcode/package | 272 + distrib/sdl-1.2.15/Xcode/stationary.csh | 25 + distrib/sdl-1.2.15/Xcode/uninstall.csh | 32 + distrib/sdl-1.2.15/acinclude/alsa.m4 | 145 + distrib/sdl-1.2.15/acinclude/esd.m4 | 168 + distrib/sdl-1.2.15/acinclude/libtool.m4 | 7370 ++++ distrib/sdl-1.2.15/acinclude/ltdl.m4 | 806 + distrib/sdl-1.2.15/acinclude/ltoptions.m4 | 370 + distrib/sdl-1.2.15/acinclude/ltsugar.m4 | 125 + distrib/sdl-1.2.15/acinclude/ltversion.m4 | 25 + distrib/sdl-1.2.15/acinclude/lt~obsolete.m4 | 93 + distrib/sdl-1.2.15/autogen.sh | 19 + distrib/sdl-1.2.15/build-scripts/config.guess | 1494 + distrib/sdl-1.2.15/build-scripts/config.sub | 1700 + distrib/sdl-1.2.15/build-scripts/fatbuild.sh | 310 + distrib/sdl-1.2.15/build-scripts/install-sh | 323 + distrib/sdl-1.2.15/build-scripts/ltmain.sh | 8407 ++++ distrib/sdl-1.2.15/build-scripts/makedep.sh | 93 + distrib/sdl-1.2.15/build-scripts/mkinstalldirs | 99 + distrib/sdl-1.2.15/build-scripts/strip_fPIC.sh | 21 + distrib/sdl-1.2.15/configure.in | 2965 ++ distrib/sdl-1.2.15/docs.html | 698 + distrib/sdl-1.2.15/docs/html/audio.html | 242 + distrib/sdl-1.2.15/docs/html/cdrom.html | 260 + distrib/sdl-1.2.15/docs/html/event.html | 216 + distrib/sdl-1.2.15/docs/html/eventfunctions.html | 481 + distrib/sdl-1.2.15/docs/html/eventstructures.html | 233 + distrib/sdl-1.2.15/docs/html/general.html | 225 + distrib/sdl-1.2.15/docs/html/guide.html | 174 + distrib/sdl-1.2.15/docs/html/guideaboutsdldoc.html | 148 + .../sdl-1.2.15/docs/html/guideaudioexamples.html | 228 + distrib/sdl-1.2.15/docs/html/guidebasicsinit.html | 240 + .../sdl-1.2.15/docs/html/guidecdromexamples.html | 275 + distrib/sdl-1.2.15/docs/html/guidecredits.html | 195 + .../sdl-1.2.15/docs/html/guideeventexamples.html | 247 + distrib/sdl-1.2.15/docs/html/guideexamples.html | 188 + distrib/sdl-1.2.15/docs/html/guideinput.html | 739 + .../sdl-1.2.15/docs/html/guideinputkeyboard.html | 746 + distrib/sdl-1.2.15/docs/html/guidepreface.html | 178 + distrib/sdl-1.2.15/docs/html/guidethebasics.html | 173 + .../sdl-1.2.15/docs/html/guidetimeexamples.html | 183 + distrib/sdl-1.2.15/docs/html/guidevideo.html | 463 + distrib/sdl-1.2.15/docs/html/guidevideoopengl.html | 730 + distrib/sdl-1.2.15/docs/html/index.html | 1156 + distrib/sdl-1.2.15/docs/html/joystick.html | 296 + distrib/sdl-1.2.15/docs/html/reference.html | 194 + distrib/sdl-1.2.15/docs/html/sdlactiveevent.html | 335 + distrib/sdl-1.2.15/docs/html/sdladdtimer.html | 296 + distrib/sdl-1.2.15/docs/html/sdlaudiocvt.html | 556 + distrib/sdl-1.2.15/docs/html/sdlaudiospec.html | 589 + distrib/sdl-1.2.15/docs/html/sdlblitsurface.html | 339 + distrib/sdl-1.2.15/docs/html/sdlbuildaudiocvt.html | 291 + distrib/sdl-1.2.15/docs/html/sdlcd.html | 359 + distrib/sdl-1.2.15/docs/html/sdlcdclose.html | 217 + distrib/sdl-1.2.15/docs/html/sdlcdeject.html | 226 + distrib/sdl-1.2.15/docs/html/sdlcdname.html | 239 + distrib/sdl-1.2.15/docs/html/sdlcdnumdrives.html | 205 + distrib/sdl-1.2.15/docs/html/sdlcdopen.html | 275 + distrib/sdl-1.2.15/docs/html/sdlcdpause.html | 233 + distrib/sdl-1.2.15/docs/html/sdlcdplay.html | 243 + distrib/sdl-1.2.15/docs/html/sdlcdplaytracks.html | 325 + distrib/sdl-1.2.15/docs/html/sdlcdresume.html | 233 + distrib/sdl-1.2.15/docs/html/sdlcdstatus.html | 273 + distrib/sdl-1.2.15/docs/html/sdlcdstop.html | 226 + distrib/sdl-1.2.15/docs/html/sdlcdtrack.html | 313 + distrib/sdl-1.2.15/docs/html/sdlcloseaudio.html | 205 + distrib/sdl-1.2.15/docs/html/sdlcolor.html | 300 + distrib/sdl-1.2.15/docs/html/sdlcondbroadcast.html | 224 + distrib/sdl-1.2.15/docs/html/sdlcondsignal.html | 224 + distrib/sdl-1.2.15/docs/html/sdlcondwait.html | 231 + .../sdl-1.2.15/docs/html/sdlcondwaittimeout.html | 230 + distrib/sdl-1.2.15/docs/html/sdlconvertaudio.html | 407 + .../sdl-1.2.15/docs/html/sdlconvertsurface.html | 271 + distrib/sdl-1.2.15/docs/html/sdlcreatecond.html | 240 + distrib/sdl-1.2.15/docs/html/sdlcreatecursor.html | 398 + distrib/sdl-1.2.15/docs/html/sdlcreatemutex.html | 249 + .../sdl-1.2.15/docs/html/sdlcreatergbsurface.html | 458 + .../docs/html/sdlcreatergbsurfacefrom.html | 256 + .../sdl-1.2.15/docs/html/sdlcreatesemaphore.html | 303 + distrib/sdl-1.2.15/docs/html/sdlcreatethread.html | 223 + .../sdl-1.2.15/docs/html/sdlcreateyuvoverlay.html | 256 + distrib/sdl-1.2.15/docs/html/sdldelay.html | 231 + distrib/sdl-1.2.15/docs/html/sdldestroycond.html | 206 + distrib/sdl-1.2.15/docs/html/sdldestroymutex.html | 209 + .../sdl-1.2.15/docs/html/sdldestroysemaphore.html | 278 + distrib/sdl-1.2.15/docs/html/sdldisplayformat.html | 262 + .../docs/html/sdldisplayformatalpha.html | 250 + .../sdl-1.2.15/docs/html/sdldisplayyuvoverlay.html | 246 + .../sdl-1.2.15/docs/html/sdlenablekeyrepeat.html | 238 + distrib/sdl-1.2.15/docs/html/sdlenableunicode.html | 252 + distrib/sdl-1.2.15/docs/html/sdlenvvars.html | 1227 + distrib/sdl-1.2.15/docs/html/sdlevent.html | 994 + distrib/sdl-1.2.15/docs/html/sdleventstate.html | 276 + distrib/sdl-1.2.15/docs/html/sdlexposeevent.html | 252 + distrib/sdl-1.2.15/docs/html/sdlfillrect.html | 291 + distrib/sdl-1.2.15/docs/html/sdlflip.html | 259 + distrib/sdl-1.2.15/docs/html/sdlfreecursor.html | 209 + distrib/sdl-1.2.15/docs/html/sdlfreesurface.html | 219 + distrib/sdl-1.2.15/docs/html/sdlfreewav.html | 222 + .../sdl-1.2.15/docs/html/sdlfreeyuvoverlay.html | 233 + distrib/sdl-1.2.15/docs/html/sdlgetappstate.html | 263 + .../sdl-1.2.15/docs/html/sdlgetaudiostatus.html | 221 + distrib/sdl-1.2.15/docs/html/sdlgetcliprect.html | 229 + distrib/sdl-1.2.15/docs/html/sdlgetcursor.html | 219 + distrib/sdl-1.2.15/docs/html/sdlgeterror.html | 205 + .../sdl-1.2.15/docs/html/sdlgeteventfilter.html | 235 + distrib/sdl-1.2.15/docs/html/sdlgetgammaramp.html | 219 + distrib/sdl-1.2.15/docs/html/sdlgetkeyname.html | 216 + distrib/sdl-1.2.15/docs/html/sdlgetkeystate.html | 253 + distrib/sdl-1.2.15/docs/html/sdlgetmodstate.html | 257 + distrib/sdl-1.2.15/docs/html/sdlgetmousestate.html | 253 + .../docs/html/sdlgetrelativemousestate.html | 235 + distrib/sdl-1.2.15/docs/html/sdlgetrgb.html | 231 + distrib/sdl-1.2.15/docs/html/sdlgetrgba.html | 222 + distrib/sdl-1.2.15/docs/html/sdlgetthreadid.html | 209 + distrib/sdl-1.2.15/docs/html/sdlgetticks.html | 206 + distrib/sdl-1.2.15/docs/html/sdlgetvideoinfo.html | 226 + .../sdl-1.2.15/docs/html/sdlgetvideosurface.html | 208 + distrib/sdl-1.2.15/docs/html/sdlglattr.html | 379 + .../sdl-1.2.15/docs/html/sdlglgetattribute.html | 247 + .../sdl-1.2.15/docs/html/sdlglgetprocaddress.html | 262 + distrib/sdl-1.2.15/docs/html/sdlglloadlibrary.html | 231 + .../sdl-1.2.15/docs/html/sdlglsetattribute.html | 286 + distrib/sdl-1.2.15/docs/html/sdlglswapbuffers.html | 212 + distrib/sdl-1.2.15/docs/html/sdlinit.html | 368 + distrib/sdl-1.2.15/docs/html/sdlinitsubsystem.html | 283 + distrib/sdl-1.2.15/docs/html/sdljoyaxisevent.html | 330 + distrib/sdl-1.2.15/docs/html/sdljoyballevent.html | 340 + .../sdl-1.2.15/docs/html/sdljoybuttonevent.html | 351 + distrib/sdl-1.2.15/docs/html/sdljoyhatevent.html | 413 + distrib/sdl-1.2.15/docs/html/sdljoystickclose.html | 223 + .../docs/html/sdljoystickeventstate.html | 290 + .../sdl-1.2.15/docs/html/sdljoystickgetaxis.html | 271 + .../sdl-1.2.15/docs/html/sdljoystickgetball.html | 262 + .../sdl-1.2.15/docs/html/sdljoystickgetbutton.html | 231 + .../sdl-1.2.15/docs/html/sdljoystickgethat.html | 297 + distrib/sdl-1.2.15/docs/html/sdljoystickindex.html | 218 + distrib/sdl-1.2.15/docs/html/sdljoystickname.html | 238 + .../sdl-1.2.15/docs/html/sdljoysticknumaxes.html | 225 + .../sdl-1.2.15/docs/html/sdljoysticknumballs.html | 225 + .../docs/html/sdljoysticknumbuttons.html | 225 + .../sdl-1.2.15/docs/html/sdljoysticknumhats.html | 225 + distrib/sdl-1.2.15/docs/html/sdljoystickopen.html | 259 + .../sdl-1.2.15/docs/html/sdljoystickopened.html | 233 + .../sdl-1.2.15/docs/html/sdljoystickupdate.html | 211 + distrib/sdl-1.2.15/docs/html/sdlkey.html | 2630 ++ distrib/sdl-1.2.15/docs/html/sdlkeyboardevent.html | 375 + distrib/sdl-1.2.15/docs/html/sdlkeysym.html | 355 + distrib/sdl-1.2.15/docs/html/sdlkillthread.html | 223 + distrib/sdl-1.2.15/docs/html/sdllistmodes.html | 310 + distrib/sdl-1.2.15/docs/html/sdlloadbmp.html | 219 + distrib/sdl-1.2.15/docs/html/sdlloadwav.html | 296 + distrib/sdl-1.2.15/docs/html/sdllockaudio.html | 208 + distrib/sdl-1.2.15/docs/html/sdllocksurface.html | 306 + .../sdl-1.2.15/docs/html/sdllockyuvoverlay.html | 252 + distrib/sdl-1.2.15/docs/html/sdlmaprgb.html | 254 + distrib/sdl-1.2.15/docs/html/sdlmaprgba.html | 242 + distrib/sdl-1.2.15/docs/html/sdlmixaudio.html | 237 + .../sdl-1.2.15/docs/html/sdlmousebuttonevent.html | 346 + .../sdl-1.2.15/docs/html/sdlmousemotionevent.html | 365 + distrib/sdl-1.2.15/docs/html/sdlmutexp.html | 241 + distrib/sdl-1.2.15/docs/html/sdlmutexv.html | 235 + distrib/sdl-1.2.15/docs/html/sdlnumjoysticks.html | 222 + distrib/sdl-1.2.15/docs/html/sdlopenaudio.html | 578 + distrib/sdl-1.2.15/docs/html/sdloverlay.html | 362 + distrib/sdl-1.2.15/docs/html/sdlpalette.html | 301 + distrib/sdl-1.2.15/docs/html/sdlpauseaudio.html | 221 + distrib/sdl-1.2.15/docs/html/sdlpeepevents.html | 321 + distrib/sdl-1.2.15/docs/html/sdlpixelformat.html | 528 + distrib/sdl-1.2.15/docs/html/sdlpollevent.html | 269 + distrib/sdl-1.2.15/docs/html/sdlpumpevents.html | 244 + distrib/sdl-1.2.15/docs/html/sdlpushevent.html | 266 + distrib/sdl-1.2.15/docs/html/sdlquit.html | 244 + distrib/sdl-1.2.15/docs/html/sdlquitevent.html | 263 + distrib/sdl-1.2.15/docs/html/sdlquitsubsystem.html | 248 + distrib/sdl-1.2.15/docs/html/sdlrect.html | 258 + distrib/sdl-1.2.15/docs/html/sdlremovetimer.html | 236 + distrib/sdl-1.2.15/docs/html/sdlresizeevent.html | 307 + distrib/sdl-1.2.15/docs/html/sdlsavebmp.html | 236 + distrib/sdl-1.2.15/docs/html/sdlsempost.html | 299 + distrib/sdl-1.2.15/docs/html/sdlsemtrywait.html | 319 + distrib/sdl-1.2.15/docs/html/sdlsemvalue.html | 273 + distrib/sdl-1.2.15/docs/html/sdlsemwait.html | 298 + .../sdl-1.2.15/docs/html/sdlsemwaittimeout.html | 322 + distrib/sdl-1.2.15/docs/html/sdlsetalpha.html | 500 + distrib/sdl-1.2.15/docs/html/sdlsetcliprect.html | 241 + distrib/sdl-1.2.15/docs/html/sdlsetcolorkey.html | 321 + distrib/sdl-1.2.15/docs/html/sdlsetcolors.html | 358 + distrib/sdl-1.2.15/docs/html/sdlsetcursor.html | 222 + .../sdl-1.2.15/docs/html/sdlseteventfilter.html | 284 + distrib/sdl-1.2.15/docs/html/sdlsetgamma.html | 231 + distrib/sdl-1.2.15/docs/html/sdlsetgammaramp.html | 230 + distrib/sdl-1.2.15/docs/html/sdlsetmodstate.html | 237 + distrib/sdl-1.2.15/docs/html/sdlsetpalette.html | 352 + distrib/sdl-1.2.15/docs/html/sdlsettimer.html | 267 + distrib/sdl-1.2.15/docs/html/sdlsetvideomode.html | 558 + distrib/sdl-1.2.15/docs/html/sdlshowcursor.html | 239 + distrib/sdl-1.2.15/docs/html/sdlsurface.html | 597 + distrib/sdl-1.2.15/docs/html/sdlsyswmevent.html | 233 + distrib/sdl-1.2.15/docs/html/sdlthreadid.html | 190 + distrib/sdl-1.2.15/docs/html/sdlunlockaudio.html | 211 + distrib/sdl-1.2.15/docs/html/sdlunlocksurface.html | 219 + .../sdl-1.2.15/docs/html/sdlunlockyuvoverlay.html | 225 + distrib/sdl-1.2.15/docs/html/sdlupdaterect.html | 266 + distrib/sdl-1.2.15/docs/html/sdlupdaterects.html | 255 + distrib/sdl-1.2.15/docs/html/sdluserevent.html | 337 + .../sdl-1.2.15/docs/html/sdlvideodrivername.html | 243 + distrib/sdl-1.2.15/docs/html/sdlvideoinfo.html | 408 + distrib/sdl-1.2.15/docs/html/sdlvideomodeok.html | 270 + distrib/sdl-1.2.15/docs/html/sdlwaitevent.html | 231 + distrib/sdl-1.2.15/docs/html/sdlwaitthread.html | 231 + distrib/sdl-1.2.15/docs/html/sdlwarpmouse.html | 205 + distrib/sdl-1.2.15/docs/html/sdlwasinit.html | 284 + distrib/sdl-1.2.15/docs/html/sdlwmgetcaption.html | 222 + distrib/sdl-1.2.15/docs/html/sdlwmgrabinput.html | 224 + .../sdl-1.2.15/docs/html/sdlwmiconifywindow.html | 211 + distrib/sdl-1.2.15/docs/html/sdlwmsetcaption.html | 212 + distrib/sdl-1.2.15/docs/html/sdlwmseticon.html | 260 + .../docs/html/sdlwmtogglefullscreen.html | 205 + distrib/sdl-1.2.15/docs/html/thread.html | 313 + distrib/sdl-1.2.15/docs/html/time.html | 206 + distrib/sdl-1.2.15/docs/html/video.html | 507 + distrib/sdl-1.2.15/docs/html/wm.html | 188 + distrib/sdl-1.2.15/docs/images/rainbow.gif | Bin 0 -> 1715 bytes distrib/sdl-1.2.15/docs/index.html | 55 + distrib/sdl-1.2.15/docs/man3/SDLKey.3 | 161 + distrib/sdl-1.2.15/docs/man3/SDL_ActiveEvent.3 | 38 + distrib/sdl-1.2.15/docs/man3/SDL_AddTimer.3 | 38 + distrib/sdl-1.2.15/docs/man3/SDL_AudioCVT.3 | 68 + distrib/sdl-1.2.15/docs/man3/SDL_AudioSpec.3 | 70 + distrib/sdl-1.2.15/docs/man3/SDL_BlitSurface.3 | 60 + distrib/sdl-1.2.15/docs/man3/SDL_BuildAudioCVT.3 | 23 + distrib/sdl-1.2.15/docs/man3/SDL_CD.3 | 57 + distrib/sdl-1.2.15/docs/man3/SDL_CDClose.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_CDEject.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_CDName.3 | 23 + distrib/sdl-1.2.15/docs/man3/SDL_CDNumDrives.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_CDOpen.3 | 58 + distrib/sdl-1.2.15/docs/man3/SDL_CDPause.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_CDPlay.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_CDPlayTracks.3 | 47 + distrib/sdl-1.2.15/docs/man3/SDL_CDResume.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_CDStatus.3 | 59 + distrib/sdl-1.2.15/docs/man3/SDL_CDStop.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_CDtrack.3 | 40 + distrib/sdl-1.2.15/docs/man3/SDL_CloseAudio.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_Color.3 | 34 + distrib/sdl-1.2.15/docs/man3/SDL_CondBroadcast.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_CondSignal.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_CondWait.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_CondWaitTimeout.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_ConvertAudio.3 | 95 + distrib/sdl-1.2.15/docs/man3/SDL_ConvertSurface.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_CreateCond.3 | 31 + distrib/sdl-1.2.15/docs/man3/SDL_CreateCursor.3 | 120 + distrib/sdl-1.2.15/docs/man3/SDL_CreateMutex.3 | 43 + .../sdl-1.2.15/docs/man3/SDL_CreateRGBSurface.3 | 69 + .../docs/man3/SDL_CreateRGBSurfaceFrom.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_CreateSemaphore.3 | 32 + distrib/sdl-1.2.15/docs/man3/SDL_CreateThread.3 | 16 + .../sdl-1.2.15/docs/man3/SDL_CreateYUVOverlay.3 | 17 + distrib/sdl-1.2.15/docs/man3/SDL_Delay.3 | 21 + distrib/sdl-1.2.15/docs/man3/SDL_DestroyCond.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_DestroyMutex.3 | 16 + .../sdl-1.2.15/docs/man3/SDL_DestroySemaphore.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormat.3 | 22 + .../sdl-1.2.15/docs/man3/SDL_DisplayFormatAlpha.3 | 22 + .../sdl-1.2.15/docs/man3/SDL_DisplayYUVOverlay.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_EnableKeyRepeat.3 | 17 + distrib/sdl-1.2.15/docs/man3/SDL_EnableUNICODE.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_Event.3 | 182 + distrib/sdl-1.2.15/docs/man3/SDL_EventState.3 | 23 + distrib/sdl-1.2.15/docs/man3/SDL_ExposeEvent.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_FillRect.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_Flip.3 | 20 + distrib/sdl-1.2.15/docs/man3/SDL_FreeCursor.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_FreeSurface.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_FreeWAV.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_FreeYUVOverlay.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GL_GetAttribute.3 | 18 + .../sdl-1.2.15/docs/man3/SDL_GL_GetProcAddress.3 | 48 + distrib/sdl-1.2.15/docs/man3/SDL_GL_LoadLibrary.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GL_SetAttribute.3 | 40 + distrib/sdl-1.2.15/docs/man3/SDL_GL_SwapBuffers.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GLattr.3 | 47 + distrib/sdl-1.2.15/docs/man3/SDL_GetAppState.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_GetAudioStatus.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_GetClipRect.3 | 17 + distrib/sdl-1.2.15/docs/man3/SDL_GetCursor.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetError.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetEventFilter.3 | 23 + distrib/sdl-1.2.15/docs/man3/SDL_GetGamma.3 | 21 + distrib/sdl-1.2.15/docs/man3/SDL_GetGammaRamp.3 | 20 + distrib/sdl-1.2.15/docs/man3/SDL_GetKeyName.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetKeyState.3 | 30 + distrib/sdl-1.2.15/docs/man3/SDL_GetModState.3 | 54 + distrib/sdl-1.2.15/docs/man3/SDL_GetMouseState.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_GetRGB.3 | 17 + distrib/sdl-1.2.15/docs/man3/SDL_GetRGBA.3 | 19 + .../docs/man3/SDL_GetRelativeMouseState.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetThreadID.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_GetTicks.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetVideoInfo.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_GetVideoSurface.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_Init.3 | 41 + distrib/sdl-1.2.15/docs/man3/SDL_InitSubSystem.3 | 41 + distrib/sdl-1.2.15/docs/man3/SDL_JoyAxisEvent.3 | 36 + distrib/sdl-1.2.15/docs/man3/SDL_JoyBallEvent.3 | 36 + distrib/sdl-1.2.15/docs/man3/SDL_JoyButtonEvent.3 | 36 + distrib/sdl-1.2.15/docs/man3/SDL_JoyHatEvent.3 | 56 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickClose.3 | 15 + .../sdl-1.2.15/docs/man3/SDL_JoystickEventState.3 | 24 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetAxis.3 | 32 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetBall.3 | 37 + .../sdl-1.2.15/docs/man3/SDL_JoystickGetButton.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetHat.3 | 36 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickIndex.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickName.3 | 32 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumAxes.3 | 18 + .../sdl-1.2.15/docs/man3/SDL_JoystickNumBalls.3 | 18 + .../sdl-1.2.15/docs/man3/SDL_JoystickNumButtons.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumHats.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpen.3 | 51 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpened.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_JoystickUpdate.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_KeyboardEvent.3 | 38 + distrib/sdl-1.2.15/docs/man3/SDL_KillThread.3 | 16 + distrib/sdl-1.2.15/docs/man3/SDL_ListModes.3 | 53 + distrib/sdl-1.2.15/docs/man3/SDL_LoadBMP.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_LoadWAV.3 | 42 + distrib/sdl-1.2.15/docs/man3/SDL_LockAudio.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_LockSurface.3 | 48 + distrib/sdl-1.2.15/docs/man3/SDL_LockYUVOverlay.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_MapRGB.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_MapRGBA.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_MixAudio.3 | 21 + .../sdl-1.2.15/docs/man3/SDL_MouseButtonEvent.3 | 36 + .../sdl-1.2.15/docs/man3/SDL_MouseMotionEvent.3 | 38 + distrib/sdl-1.2.15/docs/man3/SDL_NumJoysticks.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_OpenAudio.3 | 97 + distrib/sdl-1.2.15/docs/man3/SDL_Overlay.3 | 52 + distrib/sdl-1.2.15/docs/man3/SDL_Palette.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_PauseAudio.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_PeepEvents.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_PixelFormat.3 | 140 + distrib/sdl-1.2.15/docs/man3/SDL_PollEvent.3 | 44 + distrib/sdl-1.2.15/docs/man3/SDL_PumpEvents.3 | 23 + distrib/sdl-1.2.15/docs/man3/SDL_PushEvent.3 | 27 + distrib/sdl-1.2.15/docs/man3/SDL_Quit.3 | 29 + distrib/sdl-1.2.15/docs/man3/SDL_QuitEvent.3 | 30 + distrib/sdl-1.2.15/docs/man3/SDL_QuitSubSystem.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_RWFromFile.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_Rect.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_RemoveTimer.3 | 25 + distrib/sdl-1.2.15/docs/man3/SDL_ResizeEvent.3 | 28 + distrib/sdl-1.2.15/docs/man3/SDL_SaveBMP.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_SemPost.3 | 28 + distrib/sdl-1.2.15/docs/man3/SDL_SemTryWait.3 | 41 + distrib/sdl-1.2.15/docs/man3/SDL_SemValue.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_SemWait.3 | 34 + distrib/sdl-1.2.15/docs/man3/SDL_SemWaitTimeout.3 | 41 + distrib/sdl-1.2.15/docs/man3/SDL_SetAlpha.3 | 66 + distrib/sdl-1.2.15/docs/man3/SDL_SetClipRect.3 | 19 + distrib/sdl-1.2.15/docs/man3/SDL_SetColorKey.3 | 26 + distrib/sdl-1.2.15/docs/man3/SDL_SetColors.3 | 57 + distrib/sdl-1.2.15/docs/man3/SDL_SetCursor.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_SetEventFilter.3 | 35 + distrib/sdl-1.2.15/docs/man3/SDL_SetGamma.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_SetGammaRamp.3 | 22 + distrib/sdl-1.2.15/docs/man3/SDL_SetModState.3 | 35 + distrib/sdl-1.2.15/docs/man3/SDL_SetPalette.3 | 59 + distrib/sdl-1.2.15/docs/man3/SDL_SetTimer.3 | 39 + distrib/sdl-1.2.15/docs/man3/SDL_SetVideoMode.3 | 67 + distrib/sdl-1.2.15/docs/man3/SDL_ShowCursor.3 | 20 + distrib/sdl-1.2.15/docs/man3/SDL_Surface.3 | 96 + distrib/sdl-1.2.15/docs/man3/SDL_SysWMEvent.3 | 21 + distrib/sdl-1.2.15/docs/man3/SDL_ThreadID.3 | 13 + distrib/sdl-1.2.15/docs/man3/SDL_UnlockAudio.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_UnlockSurface.3 | 17 + .../sdl-1.2.15/docs/man3/SDL_UnlockYUVOverlay.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_UpdateRect.3 | 19 + distrib/sdl-1.2.15/docs/man3/SDL_UpdateRects.3 | 25 + distrib/sdl-1.2.15/docs/man3/SDL_UserEvent.3 | 47 + distrib/sdl-1.2.15/docs/man3/SDL_VideoDriverName.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_VideoInfo.3 | 62 + distrib/sdl-1.2.15/docs/man3/SDL_VideoModeOK.3 | 44 + distrib/sdl-1.2.15/docs/man3/SDL_WM_GetCaption.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_WM_GrabInput.3 | 28 + .../sdl-1.2.15/docs/man3/SDL_WM_IconifyWindow.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_WM_SetCaption.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_WM_SetIcon.3 | 27 + .../sdl-1.2.15/docs/man3/SDL_WM_ToggleFullScreen.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_WaitEvent.3 | 17 + distrib/sdl-1.2.15/docs/man3/SDL_WaitThread.3 | 19 + distrib/sdl-1.2.15/docs/man3/SDL_WarpMouse.3 | 15 + distrib/sdl-1.2.15/docs/man3/SDL_WasInit.3 | 63 + distrib/sdl-1.2.15/docs/man3/SDL_keysym.3 | 69 + distrib/sdl-1.2.15/docs/man3/SDL_mutexP.3 | 18 + distrib/sdl-1.2.15/docs/man3/SDL_mutexV.3 | 18 + distrib/sdl-1.2.15/include/SDL.h | 101 + distrib/sdl-1.2.15/include/SDL_active.h | 63 + distrib/sdl-1.2.15/include/SDL_audio.h | 284 + distrib/sdl-1.2.15/include/SDL_byteorder.h | 29 + distrib/sdl-1.2.15/include/SDL_cdrom.h | 202 + distrib/sdl-1.2.15/include/SDL_config.h.default | 45 + distrib/sdl-1.2.15/include/SDL_config.h.in | 312 + distrib/sdl-1.2.15/include/SDL_config_dreamcast.h | 106 + distrib/sdl-1.2.15/include/SDL_config_macos.h | 112 + distrib/sdl-1.2.15/include/SDL_config_macosx.h | 150 + distrib/sdl-1.2.15/include/SDL_config_minimal.h | 62 + distrib/sdl-1.2.15/include/SDL_config_nds.h | 115 + distrib/sdl-1.2.15/include/SDL_config_os2.h | 141 + distrib/sdl-1.2.15/include/SDL_config_symbian.h | 146 + distrib/sdl-1.2.15/include/SDL_config_win32.h | 183 + distrib/sdl-1.2.15/include/SDL_copying.h | 22 + distrib/sdl-1.2.15/include/SDL_cpuinfo.h | 69 + distrib/sdl-1.2.15/include/SDL_endian.h | 214 + distrib/sdl-1.2.15/include/SDL_error.h | 72 + distrib/sdl-1.2.15/include/SDL_events.h | 356 + distrib/sdl-1.2.15/include/SDL_getenv.h | 28 + distrib/sdl-1.2.15/include/SDL_joystick.h | 187 + distrib/sdl-1.2.15/include/SDL_keyboard.h | 135 + distrib/sdl-1.2.15/include/SDL_keysym.h | 326 + distrib/sdl-1.2.15/include/SDL_loadso.h | 78 + distrib/sdl-1.2.15/include/SDL_main.h | 106 + distrib/sdl-1.2.15/include/SDL_mouse.h | 143 + distrib/sdl-1.2.15/include/SDL_mutex.h | 177 + distrib/sdl-1.2.15/include/SDL_name.h | 11 + distrib/sdl-1.2.15/include/SDL_opengl.h | 6570 +++ distrib/sdl-1.2.15/include/SDL_platform.h | 110 + distrib/sdl-1.2.15/include/SDL_quit.h | 55 + distrib/sdl-1.2.15/include/SDL_rwops.h | 155 + distrib/sdl-1.2.15/include/SDL_stdinc.h | 620 + distrib/sdl-1.2.15/include/SDL_syswm.h | 226 + distrib/sdl-1.2.15/include/SDL_thread.h | 115 + distrib/sdl-1.2.15/include/SDL_timer.h | 125 + distrib/sdl-1.2.15/include/SDL_types.h | 28 + distrib/sdl-1.2.15/include/SDL_version.h | 91 + distrib/sdl-1.2.15/include/SDL_video.h | 951 + distrib/sdl-1.2.15/include/begin_code.h | 196 + distrib/sdl-1.2.15/include/close_code.h | 46 + distrib/sdl-1.2.15/include/doxyfile | 946 + distrib/sdl-1.2.15/sdl-config.in | 60 + distrib/sdl-1.2.15/sdl.m4 | 185 + distrib/sdl-1.2.15/sdl.pc.in | 15 + distrib/sdl-1.2.15/src/SDL.c | 350 + distrib/sdl-1.2.15/src/SDL_error.c | 238 + distrib/sdl-1.2.15/src/SDL_error_c.h | 58 + distrib/sdl-1.2.15/src/SDL_fatal.c | 134 + distrib/sdl-1.2.15/src/SDL_fatal.h | 28 + distrib/sdl-1.2.15/src/audio/SDL_audio.c | 703 + distrib/sdl-1.2.15/src/audio/SDL_audio_c.h | 35 + distrib/sdl-1.2.15/src/audio/SDL_audiocvt.c | 1510 + distrib/sdl-1.2.15/src/audio/SDL_audiodev.c | 179 + distrib/sdl-1.2.15/src/audio/SDL_audiodev_c.h | 26 + distrib/sdl-1.2.15/src/audio/SDL_audiomem.h | 25 + distrib/sdl-1.2.15/src/audio/SDL_mixer.c | 264 + distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX.c | 207 + distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX.h | 17 + distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX_VC.c | 183 + distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX_VC.h | 38 + distrib/sdl-1.2.15/src/audio/SDL_mixer_m68k.c | 210 + distrib/sdl-1.2.15/src/audio/SDL_mixer_m68k.h | 36 + distrib/sdl-1.2.15/src/audio/SDL_sysaudio.h | 186 + distrib/sdl-1.2.15/src/audio/SDL_wave.c | 596 + distrib/sdl-1.2.15/src/audio/SDL_wave.h | 62 + distrib/sdl-1.2.15/src/audio/alsa/SDL_alsa_audio.c | 619 + distrib/sdl-1.2.15/src/audio/alsa/SDL_alsa_audio.h | 48 + distrib/sdl-1.2.15/src/audio/arts/SDL_artsaudio.c | 362 + distrib/sdl-1.2.15/src/audio/arts/SDL_artsaudio.h | 60 + distrib/sdl-1.2.15/src/audio/baudio/SDL_beaudio.cc | 225 + distrib/sdl-1.2.15/src/audio/baudio/SDL_beaudio.h | 39 + distrib/sdl-1.2.15/src/audio/bsd/SDL_bsdaudio.c | 404 + distrib/sdl-1.2.15/src/audio/bsd/SDL_bsdaudio.h | 58 + distrib/sdl-1.2.15/src/audio/dart/SDL_dart.c | 441 + distrib/sdl-1.2.15/src/audio/dart/SDL_dart.h | 63 + distrib/sdl-1.2.15/src/audio/dc/SDL_dcaudio.c | 246 + distrib/sdl-1.2.15/src/audio/dc/SDL_dcaudio.h | 41 + distrib/sdl-1.2.15/src/audio/dc/aica.c | 271 + distrib/sdl-1.2.15/src/audio/dc/aica.h | 40 + distrib/sdl-1.2.15/src/audio/disk/SDL_diskaudio.c | 186 + distrib/sdl-1.2.15/src/audio/disk/SDL_diskaudio.h | 41 + distrib/sdl-1.2.15/src/audio/dma/SDL_dmaaudio.c | 455 + distrib/sdl-1.2.15/src/audio/dma/SDL_dmaaudio.h | 59 + .../sdl-1.2.15/src/audio/dmedia/SDL_irixaudio.c | 242 + .../sdl-1.2.15/src/audio/dmedia/SDL_irixaudio.h | 45 + distrib/sdl-1.2.15/src/audio/dsp/SDL_dspaudio.c | 340 + distrib/sdl-1.2.15/src/audio/dsp/SDL_dspaudio.h | 53 + .../sdl-1.2.15/src/audio/dummy/SDL_dummyaudio.c | 156 + .../sdl-1.2.15/src/audio/dummy/SDL_dummyaudio.h | 40 + distrib/sdl-1.2.15/src/audio/esd/SDL_esdaudio.c | 323 + distrib/sdl-1.2.15/src/audio/esd/SDL_esdaudio.h | 57 + .../sdl-1.2.15/src/audio/macosx/SDL_coreaudio.c | 291 + .../sdl-1.2.15/src/audio/macosx/SDL_coreaudio.h | 45 + distrib/sdl-1.2.15/src/audio/macrom/SDL_romaudio.c | 496 + distrib/sdl-1.2.15/src/audio/macrom/SDL_romaudio.h | 50 + distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio.c | 215 + distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio.h | 121 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_dma8.c | 357 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_dma8.h | 85 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_gsxb.c | 436 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_gsxb.h | 104 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_it.S | 386 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_mcsn.c | 405 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_mcsn.h | 59 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_stfa.c | 326 + .../sdl-1.2.15/src/audio/mint/SDL_mintaudio_stfa.h | 97 + .../src/audio/mint/SDL_mintaudio_xbios.c | 490 + distrib/sdl-1.2.15/src/audio/mme/SDL_mmeaudio.c | 264 + distrib/sdl-1.2.15/src/audio/mme/SDL_mmeaudio.h | 51 + distrib/sdl-1.2.15/src/audio/nas/SDL_nasaudio.c | 423 + distrib/sdl-1.2.15/src/audio/nas/SDL_nasaudio.h | 62 + distrib/sdl-1.2.15/src/audio/nds/SDL_ndsaudio.c | 335 + distrib/sdl-1.2.15/src/audio/nds/SDL_ndsaudio.h | 40 + distrib/sdl-1.2.15/src/audio/nds/sound9.c | 61 + distrib/sdl-1.2.15/src/audio/nds/soundcommon.h | 80 + distrib/sdl-1.2.15/src/audio/nto/SDL_nto_audio.c | 507 + distrib/sdl-1.2.15/src/audio/nto/SDL_nto_audio.h | 68 + distrib/sdl-1.2.15/src/audio/paudio/SDL_paudio.c | 511 + distrib/sdl-1.2.15/src/audio/paudio/SDL_paudio.h | 57 + .../sdl-1.2.15/src/audio/pulse/SDL_pulseaudio.c | 570 + .../sdl-1.2.15/src/audio/pulse/SDL_pulseaudio.h | 73 + distrib/sdl-1.2.15/src/audio/sun/SDL_sunaudio.c | 432 + distrib/sdl-1.2.15/src/audio/sun/SDL_sunaudio.h | 55 + .../sdl-1.2.15/src/audio/symbian/SDL_epocaudio.cpp | 614 + .../sdl-1.2.15/src/audio/symbian/SDL_epocaudio.h | 37 + .../sdl-1.2.15/src/audio/symbian/streamplayer.cpp | 279 + .../sdl-1.2.15/src/audio/symbian/streamplayer.h | 89 + distrib/sdl-1.2.15/src/audio/ums/SDL_umsaudio.c | 547 + distrib/sdl-1.2.15/src/audio/ums/SDL_umsaudio.h | 50 + distrib/sdl-1.2.15/src/audio/windib/SDL_dibaudio.c | 322 + distrib/sdl-1.2.15/src/audio/windib/SDL_dibaudio.h | 49 + distrib/sdl-1.2.15/src/audio/windx5/SDL_dx5audio.c | 705 + distrib/sdl-1.2.15/src/audio/windx5/SDL_dx5audio.h | 55 + distrib/sdl-1.2.15/src/audio/windx5/directx.h | 81 + distrib/sdl-1.2.15/src/cdrom/SDL_cdrom.c | 341 + distrib/sdl-1.2.15/src/cdrom/SDL_syscdrom.h | 76 + distrib/sdl-1.2.15/src/cdrom/aix/SDL_syscdrom.c | 660 + distrib/sdl-1.2.15/src/cdrom/beos/SDL_syscdrom.cc | 410 + distrib/sdl-1.2.15/src/cdrom/bsdi/SDL_syscdrom.c | 542 + distrib/sdl-1.2.15/src/cdrom/dc/SDL_syscdrom.c | 167 + distrib/sdl-1.2.15/src/cdrom/dummy/SDL_syscdrom.c | 41 + .../sdl-1.2.15/src/cdrom/freebsd/SDL_syscdrom.c | 406 + distrib/sdl-1.2.15/src/cdrom/linux/SDL_syscdrom.c | 564 + distrib/sdl-1.2.15/src/cdrom/macos/SDL_syscdrom.c | 525 + .../sdl-1.2.15/src/cdrom/macos/SDL_syscdrom_c.h | 140 + .../sdl-1.2.15/src/cdrom/macosx/AudioFilePlayer.c | 360 + .../sdl-1.2.15/src/cdrom/macosx/AudioFilePlayer.h | 178 + .../src/cdrom/macosx/AudioFileReaderThread.c | 610 + distrib/sdl-1.2.15/src/cdrom/macosx/CDPlayer.c | 636 + distrib/sdl-1.2.15/src/cdrom/macosx/CDPlayer.h | 69 + .../sdl-1.2.15/src/cdrom/macosx/SDLOSXCAGuard.c | 199 + .../sdl-1.2.15/src/cdrom/macosx/SDLOSXCAGuard.h | 116 + distrib/sdl-1.2.15/src/cdrom/macosx/SDL_syscdrom.c | 514 + .../sdl-1.2.15/src/cdrom/macosx/SDL_syscdrom_c.h | 136 + distrib/sdl-1.2.15/src/cdrom/mint/SDL_syscdrom.c | 317 + .../sdl-1.2.15/src/cdrom/openbsd/SDL_syscdrom.c | 416 + distrib/sdl-1.2.15/src/cdrom/os2/SDL_syscdrom.c | 393 + distrib/sdl-1.2.15/src/cdrom/osf/SDL_syscdrom.c | 444 + distrib/sdl-1.2.15/src/cdrom/qnx/SDL_syscdrom.c | 551 + distrib/sdl-1.2.15/src/cdrom/win32/SDL_syscdrom.c | 386 + distrib/sdl-1.2.15/src/cpuinfo/SDL_cpuinfo.c | 499 + distrib/sdl-1.2.15/src/events/SDL_active.c | 95 + distrib/sdl-1.2.15/src/events/SDL_events.c | 502 + distrib/sdl-1.2.15/src/events/SDL_events_c.h | 83 + distrib/sdl-1.2.15/src/events/SDL_expose.c | 51 + distrib/sdl-1.2.15/src/events/SDL_keyboard.c | 614 + distrib/sdl-1.2.15/src/events/SDL_mouse.c | 268 + distrib/sdl-1.2.15/src/events/SDL_quit.c | 124 + distrib/sdl-1.2.15/src/events/SDL_resize.c | 71 + distrib/sdl-1.2.15/src/events/SDL_sysevents.h | 46 + distrib/sdl-1.2.15/src/file/SDL_rwops.c | 673 + distrib/sdl-1.2.15/src/hermes/COPYING.LIB | 438 + distrib/sdl-1.2.15/src/hermes/HeadMMX.h | 100 + distrib/sdl-1.2.15/src/hermes/HeadX86.h | 186 + distrib/sdl-1.2.15/src/hermes/README | 13 + distrib/sdl-1.2.15/src/hermes/common.inc | 9 + distrib/sdl-1.2.15/src/hermes/mmx_main.asm | 74 + distrib/sdl-1.2.15/src/hermes/mmxp2_32.asm | 405 + distrib/sdl-1.2.15/src/hermes/x86_main.asm | 75 + distrib/sdl-1.2.15/src/hermes/x86p_16.asm | 490 + distrib/sdl-1.2.15/src/hermes/x86p_32.asm | 1044 + distrib/sdl-1.2.15/src/joystick/SDL_joystick.c | 606 + distrib/sdl-1.2.15/src/joystick/SDL_joystick_c.h | 38 + distrib/sdl-1.2.15/src/joystick/SDL_sysjoystick.h | 82 + .../sdl-1.2.15/src/joystick/beos/SDL_bejoystick.cc | 237 + .../sdl-1.2.15/src/joystick/bsd/SDL_sysjoystick.c | 608 + .../src/joystick/darwin/SDL_sysjoystick.c | 842 + .../sdl-1.2.15/src/joystick/dc/SDL_sysjoystick.c | 193 + .../src/joystick/dummy/SDL_sysjoystick.c | 83 + .../src/joystick/linux/SDL_sysjoystick.c | 1218 + .../src/joystick/macos/SDL_sysjoystick.c | 320 + .../sdl-1.2.15/src/joystick/mint/SDL_sysjoystick.c | 826 + .../sdl-1.2.15/src/joystick/nds/SDL_sysjoystick.c | 150 + .../src/joystick/riscos/SDL_sysjoystick.c | 176 + .../sdl-1.2.15/src/joystick/win32/SDL_mmjoystick.c | 407 + distrib/sdl-1.2.15/src/loadso/beos/SDL_sysloadso.c | 72 + .../sdl-1.2.15/src/loadso/dlopen/SDL_sysloadso.c | 69 + .../sdl-1.2.15/src/loadso/dummy/SDL_sysloadso.c | 50 + .../sdl-1.2.15/src/loadso/macos/SDL_sysloadso.c | 106 + .../sdl-1.2.15/src/loadso/macosx/SDL_dlcompat.c | 1407 + distrib/sdl-1.2.15/src/loadso/mint/SDL_sysloadso.c | 62 + distrib/sdl-1.2.15/src/loadso/os2/SDL_sysloadso.c | 71 + .../sdl-1.2.15/src/loadso/win32/SDL_sysloadso.c | 139 + distrib/sdl-1.2.15/src/main/beos/SDL_BeApp.cc | 111 + distrib/sdl-1.2.15/src/main/beos/SDL_BeApp.h | 33 + distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c | 13 + distrib/sdl-1.2.15/src/main/macos/SDL.r | 1 + distrib/sdl-1.2.15/src/main/macos/SDL.shlib.r | 1 + distrib/sdl-1.2.15/src/main/macos/SDL_main.c | 610 + distrib/sdl-1.2.15/src/main/macos/SIZE.r | 1 + distrib/sdl-1.2.15/src/main/macos/exports/Makefile | 39 + distrib/sdl-1.2.15/src/main/macos/exports/SDL.x | 1 + .../sdl-1.2.15/src/main/macos/exports/gendef.pl | 43 + distrib/sdl-1.2.15/src/main/macosx/Info.plist.in | 24 + distrib/sdl-1.2.15/src/main/macosx/SDLMain.h | 16 + distrib/sdl-1.2.15/src/main/macosx/SDLMain.m | 381 + .../src/main/macosx/SDLMain.nib/classes.nib | 12 + .../src/main/macosx/SDLMain.nib/info.nib | 12 + .../src/main/macosx/SDLMain.nib/objects.nib | Bin 0 -> 1701 bytes distrib/sdl-1.2.15/src/main/macosx/info.nib | 1 + .../sdl-1.2.15/src/main/qtopia/SDL_qtopia_main.cc | 47 + .../sdl-1.2.15/src/main/symbian/EKA1/SDL_main.cpp | 152 + .../sdl-1.2.15/src/main/symbian/EKA2/SDL_main.cpp | 1035 + .../sdl-1.2.15/src/main/symbian/EKA2/sdlexe.cpp | 809 + .../sdl-1.2.15/src/main/symbian/EKA2/sdllib.cpp | 12 + .../src/main/symbian/EKA2/vectorbuffer.cpp | 62 + .../src/main/symbian/EKA2/vectorbuffer.h | 240 + distrib/sdl-1.2.15/src/main/win32/SDL_win32_main.c | 402 + distrib/sdl-1.2.15/src/main/win32/version.rc | 38 + distrib/sdl-1.2.15/src/stdlib/SDL_getenv.c | 247 + distrib/sdl-1.2.15/src/stdlib/SDL_iconv.c | 881 + distrib/sdl-1.2.15/src/stdlib/SDL_malloc.c | 5111 +++ distrib/sdl-1.2.15/src/stdlib/SDL_qsort.c | 443 + distrib/sdl-1.2.15/src/stdlib/SDL_stdlib.c | 620 + distrib/sdl-1.2.15/src/stdlib/SDL_string.c | 1248 + distrib/sdl-1.2.15/src/thread/SDL_systhread.h | 52 + distrib/sdl-1.2.15/src/thread/SDL_thread.c | 300 + distrib/sdl-1.2.15/src/thread/SDL_thread_c.h | 64 + distrib/sdl-1.2.15/src/thread/beos/SDL_syssem.c | 142 + distrib/sdl-1.2.15/src/thread/beos/SDL_systhread.c | 96 + .../sdl-1.2.15/src/thread/beos/SDL_systhread_c.h | 31 + distrib/sdl-1.2.15/src/thread/dc/SDL_syscond.c | 215 + distrib/sdl-1.2.15/src/thread/dc/SDL_syscond_c.h | 23 + distrib/sdl-1.2.15/src/thread/dc/SDL_sysmutex.c | 122 + distrib/sdl-1.2.15/src/thread/dc/SDL_sysmutex_c.h | 23 + distrib/sdl-1.2.15/src/thread/dc/SDL_syssem.c | 173 + distrib/sdl-1.2.15/src/thread/dc/SDL_syssem_c.h | 23 + distrib/sdl-1.2.15/src/thread/dc/SDL_systhread.c | 60 + distrib/sdl-1.2.15/src/thread/dc/SDL_systhread_c.h | 24 + .../sdl-1.2.15/src/thread/generic/SDL_syscond.c | 215 + .../sdl-1.2.15/src/thread/generic/SDL_sysmutex.c | 129 + .../sdl-1.2.15/src/thread/generic/SDL_sysmutex_c.h | 23 + distrib/sdl-1.2.15/src/thread/generic/SDL_syssem.c | 211 + .../sdl-1.2.15/src/thread/generic/SDL_systhread.c | 54 + .../src/thread/generic/SDL_systhread_c.h | 25 + distrib/sdl-1.2.15/src/thread/irix/SDL_syssem.c | 219 + distrib/sdl-1.2.15/src/thread/irix/SDL_systhread.c | 85 + .../sdl-1.2.15/src/thread/irix/SDL_systhread_c.h | 27 + distrib/sdl-1.2.15/src/thread/os2/SDL_syscond.c | 215 + distrib/sdl-1.2.15/src/thread/os2/SDL_syscond_c.h | 23 + distrib/sdl-1.2.15/src/thread/os2/SDL_sysmutex.c | 108 + distrib/sdl-1.2.15/src/thread/os2/SDL_syssem.c | 192 + distrib/sdl-1.2.15/src/thread/os2/SDL_systhread.c | 108 + .../sdl-1.2.15/src/thread/os2/SDL_systhread_c.h | 28 + distrib/sdl-1.2.15/src/thread/pth/SDL_syscond.c | 164 + distrib/sdl-1.2.15/src/thread/pth/SDL_sysmutex.c | 87 + distrib/sdl-1.2.15/src/thread/pth/SDL_sysmutex_c.h | 31 + distrib/sdl-1.2.15/src/thread/pth/SDL_systhread.c | 103 + .../sdl-1.2.15/src/thread/pth/SDL_systhread_c.h | 31 + .../sdl-1.2.15/src/thread/pthread/SDL_syscond.c | 155 + .../sdl-1.2.15/src/thread/pthread/SDL_sysmutex.c | 153 + .../sdl-1.2.15/src/thread/pthread/SDL_sysmutex_c.h | 31 + distrib/sdl-1.2.15/src/thread/pthread/SDL_syssem.c | 190 + .../sdl-1.2.15/src/thread/pthread/SDL_systhread.c | 120 + .../src/thread/pthread/SDL_systhread_c.h | 26 + distrib/sdl-1.2.15/src/thread/riscos/SDL_syscond.c | 160 + .../sdl-1.2.15/src/thread/riscos/SDL_sysmutex.c | 153 + .../sdl-1.2.15/src/thread/riscos/SDL_sysmutex_c.h | 34 + distrib/sdl-1.2.15/src/thread/riscos/SDL_syssem.c | 203 + .../sdl-1.2.15/src/thread/riscos/SDL_systhread.c | 144 + .../sdl-1.2.15/src/thread/riscos/SDL_systhread_c.h | 34 + .../sdl-1.2.15/src/thread/symbian/SDL_sysmutex.cpp | 130 + .../sdl-1.2.15/src/thread/symbian/SDL_syssem.cpp | 214 + .../src/thread/symbian/SDL_systhread.cpp | 146 + .../src/thread/symbian/SDL_systhread_c.h | 30 + distrib/sdl-1.2.15/src/thread/win32/SDL_sysmutex.c | 95 + distrib/sdl-1.2.15/src/thread/win32/SDL_syssem.c | 164 + .../sdl-1.2.15/src/thread/win32/SDL_systhread.c | 162 + .../sdl-1.2.15/src/thread/win32/SDL_systhread_c.h | 28 + .../sdl-1.2.15/src/thread/win32/win_ce_semaphore.c | 216 + .../sdl-1.2.15/src/thread/win32/win_ce_semaphore.h | 22 + distrib/sdl-1.2.15/src/timer/SDL_systimer.h | 40 + distrib/sdl-1.2.15/src/timer/SDL_timer.c | 285 + distrib/sdl-1.2.15/src/timer/SDL_timer_c.h | 46 + distrib/sdl-1.2.15/src/timer/beos/SDL_systimer.c | 95 + distrib/sdl-1.2.15/src/timer/dc/SDL_systimer.c | 100 + distrib/sdl-1.2.15/src/timer/dummy/SDL_systimer.c | 91 + distrib/sdl-1.2.15/src/timer/macos/FastTimes.c | 352 + distrib/sdl-1.2.15/src/timer/macos/FastTimes.h | 27 + distrib/sdl-1.2.15/src/timer/macos/SDL_MPWtimer.c | 152 + distrib/sdl-1.2.15/src/timer/macos/SDL_systimer.c | 186 + distrib/sdl-1.2.15/src/timer/mint/SDL_systimer.c | 149 + distrib/sdl-1.2.15/src/timer/mint/SDL_vbltimer.S | 228 + distrib/sdl-1.2.15/src/timer/mint/SDL_vbltimer_s.h | 35 + distrib/sdl-1.2.15/src/timer/nds/SDL_systimer.c | 73 + distrib/sdl-1.2.15/src/timer/os2/SDL_systimer.c | 227 + distrib/sdl-1.2.15/src/timer/riscos/SDL_systimer.c | 233 + .../sdl-1.2.15/src/timer/symbian/SDL_systimer.cpp | 114 + distrib/sdl-1.2.15/src/timer/unix/SDL_systimer.c | 240 + distrib/sdl-1.2.15/src/timer/win32/SDL_systimer.c | 160 + distrib/sdl-1.2.15/src/timer/wince/SDL_systimer.c | 198 + distrib/sdl-1.2.15/src/video/SDL_RLEaccel.c | 1941 + distrib/sdl-1.2.15/src/video/SDL_RLEaccel_c.h | 31 + distrib/sdl-1.2.15/src/video/SDL_blit.c | 360 + distrib/sdl-1.2.15/src/video/SDL_blit.h | 528 + distrib/sdl-1.2.15/src/video/SDL_blit_0.c | 471 + distrib/sdl-1.2.15/src/video/SDL_blit_1.c | 523 + distrib/sdl-1.2.15/src/video/SDL_blit_A.c | 2873 ++ distrib/sdl-1.2.15/src/video/SDL_blit_N.c | 2492 ++ distrib/sdl-1.2.15/src/video/SDL_bmp.c | 549 + distrib/sdl-1.2.15/src/video/SDL_cursor.c | 758 + distrib/sdl-1.2.15/src/video/SDL_cursor_c.h | 73 + distrib/sdl-1.2.15/src/video/SDL_gamma.c | 233 + distrib/sdl-1.2.15/src/video/SDL_glfuncs.h | 341 + distrib/sdl-1.2.15/src/video/SDL_leaks.h | 31 + distrib/sdl-1.2.15/src/video/SDL_pixels.c | 626 + distrib/sdl-1.2.15/src/video/SDL_pixels_c.h | 46 + distrib/sdl-1.2.15/src/video/SDL_stretch.c | 358 + distrib/sdl-1.2.15/src/video/SDL_stretch_c.h | 29 + distrib/sdl-1.2.15/src/video/SDL_surface.c | 941 + distrib/sdl-1.2.15/src/video/SDL_sysvideo.h | 424 + distrib/sdl-1.2.15/src/video/SDL_video.c | 1978 + distrib/sdl-1.2.15/src/video/SDL_yuv.c | 150 + distrib/sdl-1.2.15/src/video/SDL_yuv_mmx.c | 428 + distrib/sdl-1.2.15/src/video/SDL_yuv_sw.c | 1299 + distrib/sdl-1.2.15/src/video/SDL_yuv_sw_c.h | 37 + distrib/sdl-1.2.15/src/video/SDL_yuvfuncs.h | 37 + distrib/sdl-1.2.15/src/video/Xext/README | 10 + distrib/sdl-1.2.15/src/video/Xext/XME/xme.c | 410 + .../sdl-1.2.15/src/video/Xext/Xinerama/Xinerama.c | 324 + distrib/sdl-1.2.15/src/video/Xext/Xv/Xv.c | 1151 + distrib/sdl-1.2.15/src/video/Xext/Xv/Xvlibint.h | 81 + .../sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c | 721 + .../sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA2.c | 993 + .../sdl-1.2.15/src/video/Xext/Xxf86vm/XF86VMode.c | 1226 + .../sdl-1.2.15/src/video/Xext/extensions/Xext.h | 50 + .../src/video/Xext/extensions/Xinerama.h | 46 + distrib/sdl-1.2.15/src/video/Xext/extensions/Xv.h | 129 + .../sdl-1.2.15/src/video/Xext/extensions/Xvlib.h | 433 + .../sdl-1.2.15/src/video/Xext/extensions/Xvproto.h | 604 + .../sdl-1.2.15/src/video/Xext/extensions/extutil.h | 226 + .../src/video/Xext/extensions/panoramiXext.h | 52 + .../src/video/Xext/extensions/panoramiXproto.h | 192 + .../sdl-1.2.15/src/video/Xext/extensions/xf86dga.h | 265 + .../src/video/Xext/extensions/xf86dga1.h | 169 + .../src/video/Xext/extensions/xf86dga1str.h | 194 + .../src/video/Xext/extensions/xf86dgastr.h | 344 + .../src/video/Xext/extensions/xf86vmode.h | 314 + .../src/video/Xext/extensions/xf86vmstr.h | 546 + distrib/sdl-1.2.15/src/video/Xext/extensions/xme.h | 45 + distrib/sdl-1.2.15/src/video/aalib/SDL_aaevents.c | 202 + .../sdl-1.2.15/src/video/aalib/SDL_aaevents_c.h | 35 + distrib/sdl-1.2.15/src/video/aalib/SDL_aamouse.c | 35 + distrib/sdl-1.2.15/src/video/aalib/SDL_aamouse_c.h | 26 + distrib/sdl-1.2.15/src/video/aalib/SDL_aavideo.c | 388 + distrib/sdl-1.2.15/src/video/aalib/SDL_aavideo.h | 66 + .../src/video/ataricommon/SDL_ataric2p.S | 452 + .../src/video/ataricommon/SDL_ataric2p_s.h | 75 + .../src/video/ataricommon/SDL_ataridevmouse.c | 159 + .../src/video/ataricommon/SDL_ataridevmouse_c.h | 42 + .../src/video/ataricommon/SDL_atarieddi.S | 42 + .../src/video/ataricommon/SDL_atarieddi_s.h | 54 + .../src/video/ataricommon/SDL_atarievents.c | 234 + .../src/video/ataricommon/SDL_atarievents_c.h | 52 + .../sdl-1.2.15/src/video/ataricommon/SDL_atarigl.c | 1086 + .../src/video/ataricommon/SDL_atarigl_c.h | 109 + .../src/video/ataricommon/SDL_atarikeys.h | 140 + .../src/video/ataricommon/SDL_atarimxalloc.c | 52 + .../src/video/ataricommon/SDL_atarimxalloc_c.h | 37 + .../src/video/ataricommon/SDL_atarisuper.h | 61 + .../src/video/ataricommon/SDL_biosevents.c | 131 + .../src/video/ataricommon/SDL_biosevents_c.h | 42 + .../src/video/ataricommon/SDL_gemdosevents.c | 132 + .../src/video/ataricommon/SDL_gemdosevents_c.h | 42 + .../src/video/ataricommon/SDL_ikbdevents.c | 124 + .../src/video/ataricommon/SDL_ikbdevents_c.h | 42 + .../src/video/ataricommon/SDL_ikbdinterrupt.S | 404 + .../src/video/ataricommon/SDL_ikbdinterrupt_s.h | 61 + .../src/video/ataricommon/SDL_xbiosevents.c | 155 + .../src/video/ataricommon/SDL_xbiosevents_c.h | 48 + .../src/video/ataricommon/SDL_xbiosinterrupt.S | 212 + .../src/video/ataricommon/SDL_xbiosinterrupt_s.h | 52 + distrib/sdl-1.2.15/src/video/blank_cursor.h | 33 + distrib/sdl-1.2.15/src/video/bwindow/SDL_BView.h | 116 + distrib/sdl-1.2.15/src/video/bwindow/SDL_BWin.h | 290 + .../sdl-1.2.15/src/video/bwindow/SDL_lowvideo.h | 58 + .../sdl-1.2.15/src/video/bwindow/SDL_sysevents.cc | 415 + .../sdl-1.2.15/src/video/bwindow/SDL_sysevents_c.h | 31 + .../sdl-1.2.15/src/video/bwindow/SDL_sysmouse.cc | 153 + .../sdl-1.2.15/src/video/bwindow/SDL_sysmouse_c.h | 33 + .../sdl-1.2.15/src/video/bwindow/SDL_sysvideo.cc | 841 + distrib/sdl-1.2.15/src/video/bwindow/SDL_syswm.cc | 92 + distrib/sdl-1.2.15/src/video/bwindow/SDL_syswm_c.h | 32 + distrib/sdl-1.2.15/src/video/bwindow/SDL_sysyuv.cc | 314 + distrib/sdl-1.2.15/src/video/bwindow/SDL_sysyuv.h | 73 + distrib/sdl-1.2.15/src/video/caca/SDL_cacaevents.c | 101 + .../sdl-1.2.15/src/video/caca/SDL_cacaevents_c.h | 35 + distrib/sdl-1.2.15/src/video/caca/SDL_cacavideo.c | 304 + distrib/sdl-1.2.15/src/video/caca/SDL_cacavideo.h | 76 + distrib/sdl-1.2.15/src/video/dc/SDL_dcevents.c | 152 + distrib/sdl-1.2.15/src/video/dc/SDL_dcevents_c.h | 33 + distrib/sdl-1.2.15/src/video/dc/SDL_dcmouse.c | 35 + distrib/sdl-1.2.15/src/video/dc/SDL_dcmouse_c.h | 26 + distrib/sdl-1.2.15/src/video/dc/SDL_dcvideo.c | 445 + distrib/sdl-1.2.15/src/video/dc/SDL_dcvideo.h | 42 + distrib/sdl-1.2.15/src/video/default_cursor.h | 116 + distrib/sdl-1.2.15/src/video/dga/SDL_dgaevents.c | 163 + distrib/sdl-1.2.15/src/video/dga/SDL_dgaevents_c.h | 28 + distrib/sdl-1.2.15/src/video/dga/SDL_dgamouse.c | 35 + distrib/sdl-1.2.15/src/video/dga/SDL_dgamouse_c.h | 26 + distrib/sdl-1.2.15/src/video/dga/SDL_dgavideo.c | 1101 + distrib/sdl-1.2.15/src/video/dga/SDL_dgavideo.h | 124 + .../src/video/directfb/SDL_DirectFB_events.c | 219 + .../src/video/directfb/SDL_DirectFB_events.h | 29 + .../src/video/directfb/SDL_DirectFB_keys.h | 135 + .../src/video/directfb/SDL_DirectFB_video.c | 1171 + .../src/video/directfb/SDL_DirectFB_video.h | 62 + .../src/video/directfb/SDL_DirectFB_yuv.c | 290 + .../src/video/directfb/SDL_DirectFB_yuv.h | 38 + .../sdl-1.2.15/src/video/dummy/SDL_nullevents.c | 45 + .../sdl-1.2.15/src/video/dummy/SDL_nullevents_c.h | 33 + distrib/sdl-1.2.15/src/video/dummy/SDL_nullmouse.c | 33 + .../sdl-1.2.15/src/video/dummy/SDL_nullmouse_c.h | 26 + distrib/sdl-1.2.15/src/video/dummy/SDL_nullvideo.c | 239 + distrib/sdl-1.2.15/src/video/dummy/SDL_nullvideo.h | 40 + distrib/sdl-1.2.15/src/video/e_log.h | 140 + distrib/sdl-1.2.15/src/video/e_pow.h | 302 + distrib/sdl-1.2.15/src/video/e_sqrt.h | 493 + distrib/sdl-1.2.15/src/video/fbcon/3dfx_mmio.h | 56 + distrib/sdl-1.2.15/src/video/fbcon/3dfx_regs.h | 83 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fb3dfx.c | 215 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fb3dfx.h | 29 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbelo.c | 442 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbelo.h | 55 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbevents.c | 1254 + .../sdl-1.2.15/src/video/fbcon/SDL_fbevents_c.h | 38 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbkeys.h | 139 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmatrox.c | 280 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmatrox.h | 29 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmouse.c | 33 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmouse_c.h | 26 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbriva.c | 222 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbriva.h | 36 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbvideo.c | 1982 + distrib/sdl-1.2.15/src/video/fbcon/SDL_fbvideo.h | 200 + distrib/sdl-1.2.15/src/video/fbcon/matrox_mmio.h | 51 + distrib/sdl-1.2.15/src/video/fbcon/matrox_regs.h | 376 + distrib/sdl-1.2.15/src/video/fbcon/riva_mmio.h | 449 + distrib/sdl-1.2.15/src/video/fbcon/riva_regs.h | 43 + distrib/sdl-1.2.15/src/video/gapi/SDL_gapivideo.c | 1287 + distrib/sdl-1.2.15/src/video/gapi/SDL_gapivideo.h | 160 + distrib/sdl-1.2.15/src/video/gem/SDL_gemevents.c | 375 + distrib/sdl-1.2.15/src/video/gem/SDL_gemevents_c.h | 33 + distrib/sdl-1.2.15/src/video/gem/SDL_gemmouse.c | 205 + distrib/sdl-1.2.15/src/video/gem/SDL_gemmouse_c.h | 34 + distrib/sdl-1.2.15/src/video/gem/SDL_gemvideo.c | 1337 + distrib/sdl-1.2.15/src/video/gem/SDL_gemvideo.h | 191 + distrib/sdl-1.2.15/src/video/gem/SDL_gemwm.c | 116 + distrib/sdl-1.2.15/src/video/gem/SDL_gemwm_c.h | 37 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggievents.c | 264 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggievents_c.h | 29 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggikeys.h | 135 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggimouse.c | 32 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggimouse_c.h | 26 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggivideo.c | 378 + distrib/sdl-1.2.15/src/video/ggi/SDL_ggivideo.h | 48 + distrib/sdl-1.2.15/src/video/ipod/SDL_ipodvideo.c | 733 + distrib/sdl-1.2.15/src/video/ipod/SDL_ipodvideo.h | 38 + .../sdl-1.2.15/src/video/maccommon/SDL_lowvideo.h | 102 + .../sdl-1.2.15/src/video/maccommon/SDL_macevents.c | 746 + .../src/video/maccommon/SDL_macevents_c.h | 32 + distrib/sdl-1.2.15/src/video/maccommon/SDL_macgl.c | 197 + .../sdl-1.2.15/src/video/maccommon/SDL_macgl_c.h | 47 + .../sdl-1.2.15/src/video/maccommon/SDL_mackeys.h | 140 + .../sdl-1.2.15/src/video/maccommon/SDL_macmouse.c | 129 + .../src/video/maccommon/SDL_macmouse_c.h | 34 + distrib/sdl-1.2.15/src/video/maccommon/SDL_macwm.c | 442 + .../sdl-1.2.15/src/video/maccommon/SDL_macwm_c.h | 41 + distrib/sdl-1.2.15/src/video/macdsp/SDL_dspvideo.c | 1422 + distrib/sdl-1.2.15/src/video/macdsp/SDL_dspvideo.h | 54 + distrib/sdl-1.2.15/src/video/macrom/SDL_romvideo.c | 745 + distrib/sdl-1.2.15/src/video/macrom/SDL_romvideo.h | 29 + distrib/sdl-1.2.15/src/video/math_private.h | 173 + distrib/sdl-1.2.15/src/video/mmx.h | 704 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxevents.c | 382 + .../sdl-1.2.15/src/video/nanox/SDL_nxevents_c.h | 32 + distrib/sdl-1.2.15/src/video/nanox/SDL_nximage.c | 230 + distrib/sdl-1.2.15/src/video/nanox/SDL_nximage_c.h | 35 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxmodes.c | 84 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxmodes_c.h | 34 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxmouse.c | 79 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxmouse_c.h | 29 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxvideo.c | 544 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxvideo.h | 96 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxwm.c | 61 + distrib/sdl-1.2.15/src/video/nanox/SDL_nxwm_c.h | 32 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsevents.c | 83 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsevents_c.h | 51 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsmouse.c | 34 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsmouse_c.h | 26 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsvideo.c | 500 + distrib/sdl-1.2.15/src/video/nds/SDL_ndsvideo.h | 61 + .../sdl-1.2.15/src/video/os2fslib/SDL_os2fslib.c | 3018 ++ .../sdl-1.2.15/src/video/os2fslib/SDL_os2fslib.h | 71 + distrib/sdl-1.2.15/src/video/os2fslib/SDL_vkeys.h | 74 + .../sdl-1.2.15/src/video/photon/SDL_ph_events.c | 624 + .../sdl-1.2.15/src/video/photon/SDL_ph_events_c.h | 37 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_gl.c | 406 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_gl.h | 41 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_image.c | 1059 + .../sdl-1.2.15/src/video/photon/SDL_ph_image_c.h | 59 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_modes.c | 390 + .../sdl-1.2.15/src/video/photon/SDL_ph_modes_c.h | 43 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_mouse.c | 220 + .../sdl-1.2.15/src/video/photon/SDL_ph_mouse_c.h | 39 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_video.c | 648 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_video.h | 157 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_wm.c | 118 + distrib/sdl-1.2.15/src/video/photon/SDL_ph_wm_c.h | 37 + distrib/sdl-1.2.15/src/video/photon/SDL_phyuv.c | 504 + distrib/sdl-1.2.15/src/video/photon/SDL_phyuv_c.h | 62 + .../sdl-1.2.15/src/video/picogui/SDL_pgevents.c | 117 + .../sdl-1.2.15/src/video/picogui/SDL_pgevents_c.h | 37 + distrib/sdl-1.2.15/src/video/picogui/SDL_pgvideo.c | 364 + distrib/sdl-1.2.15/src/video/picogui/SDL_pgvideo.h | 50 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsevents.c | 977 + .../sdl-1.2.15/src/video/ps2gs/SDL_gsevents_c.h | 38 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gskeys.h | 139 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsmouse.c | 146 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsmouse_c.h | 37 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsvideo.c | 689 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsvideo.h | 95 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsyuv.c | 461 + distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsyuv_c.h | 37 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3events.c | 44 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3events_c.h | 41 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3video.c | 621 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3video.h | 165 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3yuv.c | 340 + distrib/sdl-1.2.15/src/video/ps3/SDL_ps3yuv_c.h | 44 + distrib/sdl-1.2.15/src/video/ps3/spulibs/Makefile | 83 + .../src/video/ps3/spulibs/bilin_scaler.c | 2050 + .../sdl-1.2.15/src/video/ps3/spulibs/fb_writer.c | 193 + .../sdl-1.2.15/src/video/ps3/spulibs/spu_common.h | 108 + .../src/video/ps3/spulibs/yuv2rgb_converter.c | 629 + distrib/sdl-1.2.15/src/video/qtopia/SDL_QPEApp.cc | 63 + distrib/sdl-1.2.15/src/video/qtopia/SDL_QPEApp.h | 33 + distrib/sdl-1.2.15/src/video/qtopia/SDL_QWin.cc | 527 + distrib/sdl-1.2.15/src/video/qtopia/SDL_QWin.h | 110 + distrib/sdl-1.2.15/src/video/qtopia/SDL_lowvideo.h | 65 + .../sdl-1.2.15/src/video/qtopia/SDL_sysevents.cc | 269 + .../sdl-1.2.15/src/video/qtopia/SDL_sysevents_c.h | 31 + .../sdl-1.2.15/src/video/qtopia/SDL_sysmouse.cc | 56 + .../sdl-1.2.15/src/video/qtopia/SDL_sysmouse_c.h | 32 + .../sdl-1.2.15/src/video/qtopia/SDL_sysvideo.cc | 403 + distrib/sdl-1.2.15/src/video/qtopia/SDL_syswm.cc | 35 + distrib/sdl-1.2.15/src/video/qtopia/SDL_syswm_c.h | 28 + distrib/sdl-1.2.15/src/video/quartz/CGS.h | 84 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzEvents.m | 1063 + distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzGL.m | 292 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzKeys.h | 146 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.h | 229 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m | 1689 + distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWM.h | 27 + distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWM.m | 444 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzWindow.h | 51 + .../sdl-1.2.15/src/video/quartz/SDL_QuartzWindow.m | 231 + .../sdl-1.2.15/src/video/riscos/SDL_riscosASM.S | 116 + .../src/video/riscos/SDL_riscosFullScreenVideo.c | 777 + .../sdl-1.2.15/src/video/riscos/SDL_riscosevents.c | 549 + .../src/video/riscos/SDL_riscosevents_c.h | 34 + .../sdl-1.2.15/src/video/riscos/SDL_riscosmouse.c | 371 + .../src/video/riscos/SDL_riscosmouse_c.h | 44 + .../sdl-1.2.15/src/video/riscos/SDL_riscossprite.c | 265 + .../sdl-1.2.15/src/video/riscos/SDL_riscostask.c | 350 + .../sdl-1.2.15/src/video/riscos/SDL_riscostask.h | 39 + .../sdl-1.2.15/src/video/riscos/SDL_riscosvideo.c | 316 + .../sdl-1.2.15/src/video/riscos/SDL_riscosvideo.h | 62 + distrib/sdl-1.2.15/src/video/riscos/SDL_wimppoll.c | 330 + .../sdl-1.2.15/src/video/riscos/SDL_wimpvideo.c | 501 + distrib/sdl-1.2.15/src/video/svga/SDL_svgaevents.c | 412 + .../sdl-1.2.15/src/video/svga/SDL_svgaevents_c.h | 35 + distrib/sdl-1.2.15/src/video/svga/SDL_svgamouse.c | 33 + .../sdl-1.2.15/src/video/svga/SDL_svgamouse_c.h | 26 + distrib/sdl-1.2.15/src/video/svga/SDL_svgavideo.c | 584 + distrib/sdl-1.2.15/src/video/svga/SDL_svgavideo.h | 58 + .../src/video/symbian/EKA1/SDL_epocevents.cpp | 626 + .../src/video/symbian/EKA1/SDL_epocvideo.cpp | 1356 + .../src/video/symbian/EKA1/SDL_epocvideo.h | 34 + .../src/video/symbian/EKA2/SDL_epocevents.cpp | 521 + .../src/video/symbian/EKA2/SDL_epocvideo.cpp | 594 + .../src/video/symbian/EKA2/SDL_epocvideo.h | 51 + distrib/sdl-1.2.15/src/video/symbian/EKA2/dsa.cpp | 1505 + .../sdl-1.2.15/src/video/symbian/EKA2/dsa_new.cpp | 1443 + .../sdl-1.2.15/src/video/symbian/EKA2/dsa_old.cpp | 1075 + .../src/video/symbian/SDL_epocevents_c.h | 60 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglevents.c | 299 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglevents_c.h | 155 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse.c | 56 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse_c.h | 32 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglvideo.c | 624 + distrib/sdl-1.2.15/src/video/vgl/SDL_vglvideo.h | 65 + .../sdl-1.2.15/src/video/wincommon/SDL_lowvideo.h | 152 + .../sdl-1.2.15/src/video/wincommon/SDL_sysevents.c | 855 + .../sdl-1.2.15/src/video/wincommon/SDL_sysmouse.c | 259 + .../src/video/wincommon/SDL_sysmouse_c.h | 33 + distrib/sdl-1.2.15/src/video/wincommon/SDL_syswm.c | 297 + .../sdl-1.2.15/src/video/wincommon/SDL_syswm_c.h | 35 + distrib/sdl-1.2.15/src/video/wincommon/SDL_wingl.c | 659 + .../sdl-1.2.15/src/video/wincommon/SDL_wingl_c.h | 135 + distrib/sdl-1.2.15/src/video/wincommon/wmmsg.h | 1030 + .../sdl-1.2.15/src/video/windib/SDL_dibevents.c | 704 + .../sdl-1.2.15/src/video/windib/SDL_dibevents_c.h | 35 + distrib/sdl-1.2.15/src/video/windib/SDL_dibvideo.c | 1323 + distrib/sdl-1.2.15/src/video/windib/SDL_dibvideo.h | 59 + .../sdl-1.2.15/src/video/windib/SDL_gapidibvideo.h | 56 + distrib/sdl-1.2.15/src/video/windib/SDL_vkeys.h | 75 + .../sdl-1.2.15/src/video/windx5/SDL_dx5events.c | 1005 + .../sdl-1.2.15/src/video/windx5/SDL_dx5events_c.h | 37 + distrib/sdl-1.2.15/src/video/windx5/SDL_dx5video.c | 2537 ++ distrib/sdl-1.2.15/src/video/windx5/SDL_dx5video.h | 61 + distrib/sdl-1.2.15/src/video/windx5/SDL_dx5yuv.c | 296 + distrib/sdl-1.2.15/src/video/windx5/SDL_dx5yuv_c.h | 38 + distrib/sdl-1.2.15/src/video/windx5/directx.h | 97 + .../sdl-1.2.15/src/video/wscons/SDL_wsconsevents.c | 233 + .../src/video/wscons/SDL_wsconsevents_c.h | 36 + .../sdl-1.2.15/src/video/wscons/SDL_wsconsmouse.c | 33 + .../src/video/wscons/SDL_wsconsmouse_c.h | 26 + .../sdl-1.2.15/src/video/wscons/SDL_wsconsvideo.c | 609 + .../sdl-1.2.15/src/video/wscons/SDL_wsconsvideo.h | 76 + distrib/sdl-1.2.15/src/video/x11/SDL_x11dga.c | 90 + distrib/sdl-1.2.15/src/video/x11/SDL_x11dga_c.h | 33 + distrib/sdl-1.2.15/src/video/x11/SDL_x11dyn.c | 222 + distrib/sdl-1.2.15/src/video/x11/SDL_x11dyn.h | 93 + distrib/sdl-1.2.15/src/video/x11/SDL_x11events.c | 1414 + distrib/sdl-1.2.15/src/video/x11/SDL_x11events_c.h | 34 + distrib/sdl-1.2.15/src/video/x11/SDL_x11gamma.c | 142 + distrib/sdl-1.2.15/src/video/x11/SDL_x11gamma_c.h | 32 + distrib/sdl-1.2.15/src/video/x11/SDL_x11gl.c | 577 + distrib/sdl-1.2.15/src/video/x11/SDL_x11gl_c.h | 99 + distrib/sdl-1.2.15/src/video/x11/SDL_x11image.c | 316 + distrib/sdl-1.2.15/src/video/x11/SDL_x11image_c.h | 38 + distrib/sdl-1.2.15/src/video/x11/SDL_x11modes.c | 1143 + distrib/sdl-1.2.15/src/video/x11/SDL_x11modes_c.h | 43 + distrib/sdl-1.2.15/src/video/x11/SDL_x11mouse.c | 288 + distrib/sdl-1.2.15/src/video/x11/SDL_x11mouse_c.h | 33 + distrib/sdl-1.2.15/src/video/x11/SDL_x11sym.h | 201 + distrib/sdl-1.2.15/src/video/x11/SDL_x11video.c | 1571 + distrib/sdl-1.2.15/src/video/x11/SDL_x11video.h | 214 + distrib/sdl-1.2.15/src/video/x11/SDL_x11wm.c | 434 + distrib/sdl-1.2.15/src/video/x11/SDL_x11wm_c.h | 34 + distrib/sdl-1.2.15/src/video/x11/SDL_x11yuv.c | 538 + distrib/sdl-1.2.15/src/video/x11/SDL_x11yuv_c.h | 41 + distrib/sdl-1.2.15/src/video/xbios/SDL_xbios.c | 1116 + distrib/sdl-1.2.15/src/video/xbios/SDL_xbios.h | 111 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_blowup.c | 77 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_blowup.h | 86 + .../src/video/xbios/SDL_xbios_centscreen.c | 104 + .../src/video/xbios/SDL_xbios_centscreen.h | 114 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_milan.c | 106 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_milan.h | 129 + distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_sb3.c | 83 + distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_sb3.h | 82 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_tveille.c | 63 + .../sdl-1.2.15/src/video/xbios/SDL_xbios_tveille.h | 64 + distrib/sdl-1.2.15/symbian.zip | Bin 0 -> 378899 bytes distrib/sdl-1.2.15/test/COPYING | 8 + distrib/sdl-1.2.15/test/Makefile.in | 117 + distrib/sdl-1.2.15/test/README | 35 + distrib/sdl-1.2.15/test/acinclude.m4 | 181 + distrib/sdl-1.2.15/test/autogen.sh | 12 + distrib/sdl-1.2.15/test/checkkeys.c | 146 + distrib/sdl-1.2.15/test/configure.in | 105 + distrib/sdl-1.2.15/test/gcc-fat.sh | 134 + distrib/sdl-1.2.15/test/graywin.c | 257 + distrib/sdl-1.2.15/test/icon.bmp | Bin 0 -> 578 bytes distrib/sdl-1.2.15/test/loopwave.c | 114 + distrib/sdl-1.2.15/test/moose.dat | Bin 0 -> 56320 bytes distrib/sdl-1.2.15/test/picture.xbm | 14 + distrib/sdl-1.2.15/test/sail.bmp | Bin 0 -> 15858 bytes distrib/sdl-1.2.15/test/sample.bmp | Bin 0 -> 69202 bytes distrib/sdl-1.2.15/test/sample.wav | Bin 0 -> 121946 bytes distrib/sdl-1.2.15/test/testalpha.c | 547 + distrib/sdl-1.2.15/test/testbitmap.c | 184 + distrib/sdl-1.2.15/test/testblitspeed.c | 420 + distrib/sdl-1.2.15/test/testcdrom.c | 209 + distrib/sdl-1.2.15/test/testcursor.c | 216 + distrib/sdl-1.2.15/test/testdyngl.c | 209 + distrib/sdl-1.2.15/test/testerror.c | 61 + distrib/sdl-1.2.15/test/testfile.c | 182 + distrib/sdl-1.2.15/test/testgamma.c | 197 + distrib/sdl-1.2.15/test/testgl.c | 856 + distrib/sdl-1.2.15/test/testhread.c | 82 + distrib/sdl-1.2.15/test/testiconv.c | 73 + distrib/sdl-1.2.15/test/testjoystick.c | 188 + distrib/sdl-1.2.15/test/testkeys.c | 25 + distrib/sdl-1.2.15/test/testloadso.c | 71 + distrib/sdl-1.2.15/test/testlock.c | 102 + distrib/sdl-1.2.15/test/testoverlay.c | 594 + distrib/sdl-1.2.15/test/testoverlay2.c | 600 + distrib/sdl-1.2.15/test/testpalette.c | 342 + distrib/sdl-1.2.15/test/testplatform.c | 210 + distrib/sdl-1.2.15/test/testsem.c | 103 + distrib/sdl-1.2.15/test/testsprite.c | 323 + distrib/sdl-1.2.15/test/testtimer.c | 87 + distrib/sdl-1.2.15/test/testver.c | 37 + distrib/sdl-1.2.15/test/testvidinfo.c | 465 + distrib/sdl-1.2.15/test/testwin.c | 377 + distrib/sdl-1.2.15/test/testwm.c | 443 + distrib/sdl-1.2.15/test/threadwin.c | 338 + distrib/sdl-1.2.15/test/torturethread.c | 91 + distrib/sdl-1.2.15/test/utf8.txt | 287 + 1367 files changed, 393331 insertions(+) create mode 100644 distrib/sdl-1.2.15/BUGS create mode 100644 distrib/sdl-1.2.15/Borland.html create mode 100644 distrib/sdl-1.2.15/Borland.zip create mode 100644 distrib/sdl-1.2.15/COPYING create mode 100644 distrib/sdl-1.2.15/CREDITS create mode 100644 distrib/sdl-1.2.15/CWprojects.sea.bin create mode 100644 distrib/sdl-1.2.15/INSTALL create mode 100644 distrib/sdl-1.2.15/MPWmake.sea.bin create mode 100644 distrib/sdl-1.2.15/Makefile.dc create mode 100644 distrib/sdl-1.2.15/Makefile.ds create mode 100644 distrib/sdl-1.2.15/Makefile.in create mode 100644 distrib/sdl-1.2.15/Makefile.minimal create mode 100644 distrib/sdl-1.2.15/README create mode 100644 distrib/sdl-1.2.15/README-SDL.txt create mode 100644 distrib/sdl-1.2.15/README.AmigaOS create mode 100644 distrib/sdl-1.2.15/README.BeOS create mode 100644 distrib/sdl-1.2.15/README.DC create mode 100644 distrib/sdl-1.2.15/README.HG create mode 100644 distrib/sdl-1.2.15/README.MacOS create mode 100644 distrib/sdl-1.2.15/README.MacOSX create mode 100644 distrib/sdl-1.2.15/README.MiNT create mode 100644 distrib/sdl-1.2.15/README.NDS create mode 100644 distrib/sdl-1.2.15/README.NanoX create mode 100644 distrib/sdl-1.2.15/README.OS2 create mode 100644 distrib/sdl-1.2.15/README.PS3 create mode 100644 distrib/sdl-1.2.15/README.PicoGUI create mode 100644 distrib/sdl-1.2.15/README.Porting create mode 100644 distrib/sdl-1.2.15/README.QNX create mode 100644 distrib/sdl-1.2.15/README.Qtopia create mode 100644 distrib/sdl-1.2.15/README.RISCOS create mode 100644 distrib/sdl-1.2.15/README.Symbian create mode 100644 distrib/sdl-1.2.15/README.Watcom create mode 100644 distrib/sdl-1.2.15/README.WinCE create mode 100644 distrib/sdl-1.2.15/README.wscons create mode 100644 distrib/sdl-1.2.15/SDL.qpg.in create mode 100644 distrib/sdl-1.2.15/SDL.spec.in create mode 100644 distrib/sdl-1.2.15/TODO create mode 100644 distrib/sdl-1.2.15/VisualC.html create mode 100644 distrib/sdl-1.2.15/VisualC/SDL.dsw create mode 100644 distrib/sdl-1.2.15/VisualC/SDL.sln create mode 100644 distrib/sdl-1.2.15/VisualC/SDL/SDL.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/SDL/SDL.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/SDL/Version.rc create mode 100644 distrib/sdl-1.2.15/VisualC/SDL/resource.h create mode 100644 distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/tests.dsw create mode 100644 distrib/sdl-1.2.15/VisualC/tests/tests.sln create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.vcproj create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.dsp create mode 100644 distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/SDL.sln create mode 100644 distrib/sdl-1.2.15/VisualCE/SDL.vcw create mode 100644 distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcproj create mode 100644 distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcp create mode 100644 distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcproj create mode 100644 distrib/sdl-1.2.15/Watcom-OS2.zip create mode 100644 distrib/sdl-1.2.15/Watcom-Win32.zip create mode 100644 distrib/sdl-1.2.15/WhatsNew create mode 100644 distrib/sdl-1.2.15/Xcode/SDL/Info-Framework.plist create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/SDL.xcodeproj/project.pbxproj create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/Readme SDL Developer.txt create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL-devel.info create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL.info create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/ReadMe.txt create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/Welcome.txt create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/install.sh create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/License.rtf create mode 100755 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMe.txt create mode 100644 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt create mode 100644 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/SDL_DS_Store create mode 100644 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/UniversalBinaryNotes.rtf create mode 100644 distrib/sdl-1.2.15/Xcode/SDL/pkg-support/sdl_logo.pdf create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-checkkeys__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-graywin__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-loopwave__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-test.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testalpha__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testbitmap__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testblitspeed.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testcdrom__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testdyngl.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testerror__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testfile.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgamma__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgl__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testiconv.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testjoystick__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testkeys__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testlock__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay2.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testpalette__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testplatform.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsem__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsprite__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testthread__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtimer__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtypes__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testversion__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testvidinfo__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwin__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwm__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-threadwin__Upgraded_.plist create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/Info-torturethread__Upgraded_.plist create mode 100755 distrib/sdl-1.2.15/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/SDLTest/libsdlmain_prefix.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/dolphin.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/shark.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/swim.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/whale.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/main.c create mode 100755 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp_Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/main.c create mode 100755 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLApp_Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/main.c create mode 100755 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/English.lproj/InfoPlist.strings create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/Info.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLApp_Prefix.pch create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.m create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/TemplateInfo.plist create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/project.pbxproj create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.h create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/dolphin.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/shark.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/swim.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/whale.c create mode 100644 distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/main.c create mode 100644 distrib/sdl-1.2.15/Xcode/XcodeDocSet/Doxyfile create mode 100755 distrib/sdl-1.2.15/Xcode/mkxcode.csh create mode 100755 distrib/sdl-1.2.15/Xcode/package create mode 100755 distrib/sdl-1.2.15/Xcode/stationary.csh create mode 100755 distrib/sdl-1.2.15/Xcode/uninstall.csh create mode 100644 distrib/sdl-1.2.15/acinclude/alsa.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/esd.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/libtool.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/ltdl.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/ltoptions.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/ltsugar.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/ltversion.m4 create mode 100644 distrib/sdl-1.2.15/acinclude/lt~obsolete.m4 create mode 100755 distrib/sdl-1.2.15/autogen.sh create mode 100755 distrib/sdl-1.2.15/build-scripts/config.guess create mode 100755 distrib/sdl-1.2.15/build-scripts/config.sub create mode 100755 distrib/sdl-1.2.15/build-scripts/fatbuild.sh create mode 100755 distrib/sdl-1.2.15/build-scripts/install-sh create mode 100644 distrib/sdl-1.2.15/build-scripts/ltmain.sh create mode 100755 distrib/sdl-1.2.15/build-scripts/makedep.sh create mode 100755 distrib/sdl-1.2.15/build-scripts/mkinstalldirs create mode 100755 distrib/sdl-1.2.15/build-scripts/strip_fPIC.sh create mode 100644 distrib/sdl-1.2.15/configure.in create mode 100644 distrib/sdl-1.2.15/docs.html create mode 100644 distrib/sdl-1.2.15/docs/html/audio.html create mode 100644 distrib/sdl-1.2.15/docs/html/cdrom.html create mode 100644 distrib/sdl-1.2.15/docs/html/event.html create mode 100644 distrib/sdl-1.2.15/docs/html/eventfunctions.html create mode 100644 distrib/sdl-1.2.15/docs/html/eventstructures.html create mode 100644 distrib/sdl-1.2.15/docs/html/general.html create mode 100644 distrib/sdl-1.2.15/docs/html/guide.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideaboutsdldoc.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideaudioexamples.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidebasicsinit.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidecdromexamples.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidecredits.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideeventexamples.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideexamples.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideinput.html create mode 100644 distrib/sdl-1.2.15/docs/html/guideinputkeyboard.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidepreface.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidethebasics.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidetimeexamples.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidevideo.html create mode 100644 distrib/sdl-1.2.15/docs/html/guidevideoopengl.html create mode 100644 distrib/sdl-1.2.15/docs/html/index.html create mode 100644 distrib/sdl-1.2.15/docs/html/joystick.html create mode 100644 distrib/sdl-1.2.15/docs/html/reference.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlactiveevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdladdtimer.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlaudiocvt.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlaudiospec.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlblitsurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlbuildaudiocvt.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcd.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdclose.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdeject.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdname.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdnumdrives.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdopen.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdpause.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdplay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdplaytracks.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdresume.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdstatus.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdstop.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcdtrack.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcloseaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcolor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcondbroadcast.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcondsignal.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcondwait.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcondwaittimeout.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlconvertaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlconvertsurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatecond.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatecursor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatemutex.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatergbsurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatergbsurfacefrom.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatesemaphore.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreatethread.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlcreateyuvoverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldelay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldestroycond.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldestroymutex.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldestroysemaphore.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldisplayformat.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldisplayformatalpha.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdldisplayyuvoverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlenablekeyrepeat.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlenableunicode.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlenvvars.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdleventstate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlexposeevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfillrect.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlflip.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfreecursor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfreesurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfreewav.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfreeyuvoverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetappstate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetaudiostatus.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetcliprect.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetcursor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgeterror.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgeteventfilter.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetgammaramp.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetkeyname.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetkeystate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetmodstate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetmousestate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetrelativemousestate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetrgb.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetrgba.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetthreadid.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetticks.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetvideoinfo.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlgetvideosurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglattr.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglgetattribute.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglgetprocaddress.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglloadlibrary.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglsetattribute.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlglswapbuffers.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlinit.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlinitsubsystem.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoyaxisevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoyballevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoybuttonevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoyhatevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickclose.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickeventstate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickgetaxis.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickgetball.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickgetbutton.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickgethat.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickindex.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickname.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoysticknumaxes.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoysticknumballs.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoysticknumbuttons.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoysticknumhats.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickopen.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickopened.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdljoystickupdate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlkey.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlkeyboardevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlkeysym.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlkillthread.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdllistmodes.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlloadbmp.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlloadwav.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdllockaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdllocksurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdllockyuvoverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmaprgb.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmaprgba.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmixaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmousebuttonevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmousemotionevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmutexp.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlmutexv.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlnumjoysticks.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlopenaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdloverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpalette.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpauseaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpeepevents.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpixelformat.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpollevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpumpevents.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpushevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlquit.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlquitevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlquitsubsystem.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlrect.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlremovetimer.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlresizeevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsavebmp.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsempost.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsemtrywait.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsemvalue.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsemwait.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsemwaittimeout.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetalpha.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetcliprect.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetcolorkey.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetcolors.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetcursor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlseteventfilter.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetgamma.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetgammaramp.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetmodstate.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetpalette.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsettimer.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsetvideomode.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlshowcursor.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlsyswmevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlthreadid.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlunlockaudio.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlunlocksurface.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlunlockyuvoverlay.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlupdaterect.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlupdaterects.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdluserevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlvideodrivername.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlvideoinfo.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlvideomodeok.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwaitevent.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwaitthread.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwarpmouse.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwasinit.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmgetcaption.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmgrabinput.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmiconifywindow.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmsetcaption.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmseticon.html create mode 100644 distrib/sdl-1.2.15/docs/html/sdlwmtogglefullscreen.html create mode 100644 distrib/sdl-1.2.15/docs/html/thread.html create mode 100644 distrib/sdl-1.2.15/docs/html/time.html create mode 100644 distrib/sdl-1.2.15/docs/html/video.html create mode 100644 distrib/sdl-1.2.15/docs/html/wm.html create mode 100644 distrib/sdl-1.2.15/docs/images/rainbow.gif create mode 100644 distrib/sdl-1.2.15/docs/index.html create mode 100644 distrib/sdl-1.2.15/docs/man3/SDLKey.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ActiveEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_AddTimer.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_AudioCVT.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_AudioSpec.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_BlitSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_BuildAudioCVT.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CD.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDClose.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDEject.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDName.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDNumDrives.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDOpen.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDPause.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDPlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDPlayTracks.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDResume.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDStatus.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDStop.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CDtrack.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CloseAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Color.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CondBroadcast.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CondSignal.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CondWait.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CondWaitTimeout.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ConvertAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ConvertSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateCond.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateCursor.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateMutex.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurfaceFrom.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateSemaphore.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateThread.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_CreateYUVOverlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Delay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DestroyCond.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DestroyMutex.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DestroySemaphore.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormat.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormatAlpha.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_DisplayYUVOverlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_EnableKeyRepeat.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_EnableUNICODE.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Event.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_EventState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ExposeEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_FillRect.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Flip.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_FreeCursor.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_FreeSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_FreeWAV.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_FreeYUVOverlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GL_GetAttribute.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GL_GetProcAddress.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GL_LoadLibrary.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GL_SetAttribute.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GL_SwapBuffers.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GLattr.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetAppState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetAudioStatus.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetClipRect.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetCursor.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetError.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetEventFilter.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetGamma.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetGammaRamp.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetKeyName.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetKeyState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetModState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetMouseState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetRGB.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetRGBA.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetRelativeMouseState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetThreadID.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetTicks.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetVideoInfo.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_GetVideoSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Init.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_InitSubSystem.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoyAxisEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoyBallEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoyButtonEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoyHatEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickClose.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickEventState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetAxis.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetBall.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetButton.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetHat.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickIndex.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickName.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumAxes.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumBalls.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumButtons.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickNumHats.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpen.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpened.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_JoystickUpdate.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_KeyboardEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_KillThread.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ListModes.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_LoadBMP.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_LoadWAV.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_LockAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_LockSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_LockYUVOverlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_MapRGB.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_MapRGBA.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_MixAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_MouseButtonEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_MouseMotionEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_NumJoysticks.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_OpenAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Overlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Palette.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PauseAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PeepEvents.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PixelFormat.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PollEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PumpEvents.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_PushEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Quit.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_QuitEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_QuitSubSystem.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_RWFromFile.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Rect.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_RemoveTimer.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ResizeEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SaveBMP.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SemPost.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SemTryWait.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SemValue.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SemWait.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SemWaitTimeout.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetAlpha.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetClipRect.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetColorKey.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetColors.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetCursor.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetEventFilter.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetGamma.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetGammaRamp.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetModState.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetPalette.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetTimer.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SetVideoMode.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ShowCursor.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_Surface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_SysWMEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_ThreadID.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UnlockAudio.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UnlockSurface.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UnlockYUVOverlay.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UpdateRect.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UpdateRects.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_UserEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_VideoDriverName.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_VideoInfo.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_VideoModeOK.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_GetCaption.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_GrabInput.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_IconifyWindow.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_SetCaption.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_SetIcon.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WM_ToggleFullScreen.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WaitEvent.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WaitThread.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WarpMouse.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_WasInit.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_keysym.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_mutexP.3 create mode 100644 distrib/sdl-1.2.15/docs/man3/SDL_mutexV.3 create mode 100644 distrib/sdl-1.2.15/include/SDL.h create mode 100644 distrib/sdl-1.2.15/include/SDL_active.h create mode 100644 distrib/sdl-1.2.15/include/SDL_audio.h create mode 100644 distrib/sdl-1.2.15/include/SDL_byteorder.h create mode 100644 distrib/sdl-1.2.15/include/SDL_cdrom.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config.h.default create mode 100644 distrib/sdl-1.2.15/include/SDL_config.h.in create mode 100644 distrib/sdl-1.2.15/include/SDL_config_dreamcast.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_macos.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_macosx.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_minimal.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_nds.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_os2.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_symbian.h create mode 100644 distrib/sdl-1.2.15/include/SDL_config_win32.h create mode 100644 distrib/sdl-1.2.15/include/SDL_copying.h create mode 100644 distrib/sdl-1.2.15/include/SDL_cpuinfo.h create mode 100644 distrib/sdl-1.2.15/include/SDL_endian.h create mode 100644 distrib/sdl-1.2.15/include/SDL_error.h create mode 100644 distrib/sdl-1.2.15/include/SDL_events.h create mode 100644 distrib/sdl-1.2.15/include/SDL_getenv.h create mode 100644 distrib/sdl-1.2.15/include/SDL_joystick.h create mode 100644 distrib/sdl-1.2.15/include/SDL_keyboard.h create mode 100644 distrib/sdl-1.2.15/include/SDL_keysym.h create mode 100644 distrib/sdl-1.2.15/include/SDL_loadso.h create mode 100644 distrib/sdl-1.2.15/include/SDL_main.h create mode 100644 distrib/sdl-1.2.15/include/SDL_mouse.h create mode 100644 distrib/sdl-1.2.15/include/SDL_mutex.h create mode 100644 distrib/sdl-1.2.15/include/SDL_name.h create mode 100644 distrib/sdl-1.2.15/include/SDL_opengl.h create mode 100644 distrib/sdl-1.2.15/include/SDL_platform.h create mode 100644 distrib/sdl-1.2.15/include/SDL_quit.h create mode 100644 distrib/sdl-1.2.15/include/SDL_rwops.h create mode 100644 distrib/sdl-1.2.15/include/SDL_stdinc.h create mode 100644 distrib/sdl-1.2.15/include/SDL_syswm.h create mode 100644 distrib/sdl-1.2.15/include/SDL_thread.h create mode 100644 distrib/sdl-1.2.15/include/SDL_timer.h create mode 100644 distrib/sdl-1.2.15/include/SDL_types.h create mode 100644 distrib/sdl-1.2.15/include/SDL_version.h create mode 100644 distrib/sdl-1.2.15/include/SDL_video.h create mode 100644 distrib/sdl-1.2.15/include/begin_code.h create mode 100644 distrib/sdl-1.2.15/include/close_code.h create mode 100644 distrib/sdl-1.2.15/include/doxyfile create mode 100644 distrib/sdl-1.2.15/sdl-config.in create mode 100644 distrib/sdl-1.2.15/sdl.m4 create mode 100644 distrib/sdl-1.2.15/sdl.pc.in create mode 100644 distrib/sdl-1.2.15/src/SDL.c create mode 100644 distrib/sdl-1.2.15/src/SDL_error.c create mode 100644 distrib/sdl-1.2.15/src/SDL_error_c.h create mode 100644 distrib/sdl-1.2.15/src/SDL_fatal.c create mode 100644 distrib/sdl-1.2.15/src/SDL_fatal.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audio.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audio_c.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audiocvt.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audiodev.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audiodev_c.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_audiomem.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX_VC.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_MMX_VC.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_m68k.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_mixer_m68k.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_sysaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_wave.c create mode 100644 distrib/sdl-1.2.15/src/audio/SDL_wave.h create mode 100644 distrib/sdl-1.2.15/src/audio/alsa/SDL_alsa_audio.c create mode 100644 distrib/sdl-1.2.15/src/audio/alsa/SDL_alsa_audio.h create mode 100644 distrib/sdl-1.2.15/src/audio/arts/SDL_artsaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/arts/SDL_artsaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/baudio/SDL_beaudio.cc create mode 100644 distrib/sdl-1.2.15/src/audio/baudio/SDL_beaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/bsd/SDL_bsdaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/bsd/SDL_bsdaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dart/SDL_dart.c create mode 100644 distrib/sdl-1.2.15/src/audio/dart/SDL_dart.h create mode 100644 distrib/sdl-1.2.15/src/audio/dc/SDL_dcaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/dc/SDL_dcaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dc/aica.c create mode 100644 distrib/sdl-1.2.15/src/audio/dc/aica.h create mode 100644 distrib/sdl-1.2.15/src/audio/disk/SDL_diskaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/disk/SDL_diskaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dma/SDL_dmaaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/dma/SDL_dmaaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dmedia/SDL_irixaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/dmedia/SDL_irixaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dsp/SDL_dspaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/dsp/SDL_dspaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/dummy/SDL_dummyaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/dummy/SDL_dummyaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/esd/SDL_esdaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/esd/SDL_esdaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/macosx/SDL_coreaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/macosx/SDL_coreaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/macrom/SDL_romaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/macrom/SDL_romaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_dma8.c create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_dma8.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_gsxb.c create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_gsxb.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_it.S create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_mcsn.c create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_mcsn.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_stfa.c create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_stfa.h create mode 100644 distrib/sdl-1.2.15/src/audio/mint/SDL_mintaudio_xbios.c create mode 100644 distrib/sdl-1.2.15/src/audio/mme/SDL_mmeaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/mme/SDL_mmeaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/nas/SDL_nasaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/nas/SDL_nasaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/nds/SDL_ndsaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/nds/SDL_ndsaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/nds/sound9.c create mode 100644 distrib/sdl-1.2.15/src/audio/nds/soundcommon.h create mode 100644 distrib/sdl-1.2.15/src/audio/nto/SDL_nto_audio.c create mode 100644 distrib/sdl-1.2.15/src/audio/nto/SDL_nto_audio.h create mode 100644 distrib/sdl-1.2.15/src/audio/paudio/SDL_paudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/paudio/SDL_paudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/pulse/SDL_pulseaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/pulse/SDL_pulseaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/sun/SDL_sunaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/sun/SDL_sunaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/symbian/SDL_epocaudio.cpp create mode 100644 distrib/sdl-1.2.15/src/audio/symbian/SDL_epocaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/symbian/streamplayer.cpp create mode 100644 distrib/sdl-1.2.15/src/audio/symbian/streamplayer.h create mode 100644 distrib/sdl-1.2.15/src/audio/ums/SDL_umsaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/ums/SDL_umsaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/windib/SDL_dibaudio.c create mode 100644 distrib/sdl-1.2.15/src/audio/windib/SDL_dibaudio.h create mode 100644 distrib/sdl-1.2.15/src/audio/windx5/SDL_dx5audio.c create mode 100644 distrib/sdl-1.2.15/src/audio/windx5/SDL_dx5audio.h create mode 100644 distrib/sdl-1.2.15/src/audio/windx5/directx.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/SDL_cdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/SDL_syscdrom.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/aix/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/beos/SDL_syscdrom.cc create mode 100644 distrib/sdl-1.2.15/src/cdrom/bsdi/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/dc/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/dummy/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/freebsd/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/linux/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macos/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macos/SDL_syscdrom_c.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/AudioFilePlayer.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/AudioFilePlayer.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/AudioFileReaderThread.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/CDPlayer.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/CDPlayer.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/SDLOSXCAGuard.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/SDLOSXCAGuard.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/macosx/SDL_syscdrom_c.h create mode 100644 distrib/sdl-1.2.15/src/cdrom/mint/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/openbsd/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/os2/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/osf/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/qnx/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cdrom/win32/SDL_syscdrom.c create mode 100644 distrib/sdl-1.2.15/src/cpuinfo/SDL_cpuinfo.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_active.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_events.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_events_c.h create mode 100644 distrib/sdl-1.2.15/src/events/SDL_expose.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_keyboard.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_mouse.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_quit.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_resize.c create mode 100644 distrib/sdl-1.2.15/src/events/SDL_sysevents.h create mode 100644 distrib/sdl-1.2.15/src/file/SDL_rwops.c create mode 100644 distrib/sdl-1.2.15/src/hermes/COPYING.LIB create mode 100644 distrib/sdl-1.2.15/src/hermes/HeadMMX.h create mode 100644 distrib/sdl-1.2.15/src/hermes/HeadX86.h create mode 100644 distrib/sdl-1.2.15/src/hermes/README create mode 100644 distrib/sdl-1.2.15/src/hermes/common.inc create mode 100644 distrib/sdl-1.2.15/src/hermes/mmx_main.asm create mode 100644 distrib/sdl-1.2.15/src/hermes/mmxp2_32.asm create mode 100644 distrib/sdl-1.2.15/src/hermes/x86_main.asm create mode 100644 distrib/sdl-1.2.15/src/hermes/x86p_16.asm create mode 100644 distrib/sdl-1.2.15/src/hermes/x86p_32.asm create mode 100644 distrib/sdl-1.2.15/src/joystick/SDL_joystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/SDL_joystick_c.h create mode 100644 distrib/sdl-1.2.15/src/joystick/SDL_sysjoystick.h create mode 100644 distrib/sdl-1.2.15/src/joystick/beos/SDL_bejoystick.cc create mode 100644 distrib/sdl-1.2.15/src/joystick/bsd/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/darwin/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/dc/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/dummy/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/linux/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/macos/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/mint/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/nds/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/riscos/SDL_sysjoystick.c create mode 100644 distrib/sdl-1.2.15/src/joystick/win32/SDL_mmjoystick.c create mode 100644 distrib/sdl-1.2.15/src/loadso/beos/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/dlopen/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/dummy/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/macos/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/macosx/SDL_dlcompat.c create mode 100644 distrib/sdl-1.2.15/src/loadso/mint/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/os2/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/loadso/win32/SDL_sysloadso.c create mode 100644 distrib/sdl-1.2.15/src/main/beos/SDL_BeApp.cc create mode 100644 distrib/sdl-1.2.15/src/main/beos/SDL_BeApp.h create mode 100644 distrib/sdl-1.2.15/src/main/dummy/SDL_dummy_main.c create mode 100644 distrib/sdl-1.2.15/src/main/macos/SDL.r create mode 100644 distrib/sdl-1.2.15/src/main/macos/SDL.shlib.r create mode 100644 distrib/sdl-1.2.15/src/main/macos/SDL_main.c create mode 100644 distrib/sdl-1.2.15/src/main/macos/SIZE.r create mode 100644 distrib/sdl-1.2.15/src/main/macos/exports/Makefile create mode 100644 distrib/sdl-1.2.15/src/main/macos/exports/SDL.x create mode 100644 distrib/sdl-1.2.15/src/main/macos/exports/gendef.pl create mode 100644 distrib/sdl-1.2.15/src/main/macosx/Info.plist.in create mode 100644 distrib/sdl-1.2.15/src/main/macosx/SDLMain.h create mode 100644 distrib/sdl-1.2.15/src/main/macosx/SDLMain.m create mode 100644 distrib/sdl-1.2.15/src/main/macosx/SDLMain.nib/classes.nib create mode 100644 distrib/sdl-1.2.15/src/main/macosx/SDLMain.nib/info.nib create mode 100644 distrib/sdl-1.2.15/src/main/macosx/SDLMain.nib/objects.nib create mode 100644 distrib/sdl-1.2.15/src/main/macosx/info.nib create mode 100644 distrib/sdl-1.2.15/src/main/qtopia/SDL_qtopia_main.cc create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA1/SDL_main.cpp create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA2/SDL_main.cpp create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA2/sdlexe.cpp create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA2/sdllib.cpp create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA2/vectorbuffer.cpp create mode 100644 distrib/sdl-1.2.15/src/main/symbian/EKA2/vectorbuffer.h create mode 100644 distrib/sdl-1.2.15/src/main/win32/SDL_win32_main.c create mode 100644 distrib/sdl-1.2.15/src/main/win32/version.rc create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_getenv.c create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_iconv.c create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_malloc.c create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_qsort.c create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_stdlib.c create mode 100644 distrib/sdl-1.2.15/src/stdlib/SDL_string.c create mode 100644 distrib/sdl-1.2.15/src/thread/SDL_systhread.h create mode 100644 distrib/sdl-1.2.15/src/thread/SDL_thread.c create mode 100644 distrib/sdl-1.2.15/src/thread/SDL_thread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/beos/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/beos/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/beos/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_syscond_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_sysmutex_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_syssem_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/dc/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_sysmutex_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/generic/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/irix/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/irix/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/irix/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_syscond_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/os2/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/pth/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/pth/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/pth/SDL_sysmutex_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/pth/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/pth/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_sysmutex_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/pthread/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_syscond.c create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_sysmutex_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/riscos/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/symbian/SDL_sysmutex.cpp create mode 100644 distrib/sdl-1.2.15/src/thread/symbian/SDL_syssem.cpp create mode 100644 distrib/sdl-1.2.15/src/thread/symbian/SDL_systhread.cpp create mode 100644 distrib/sdl-1.2.15/src/thread/symbian/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/win32/SDL_sysmutex.c create mode 100644 distrib/sdl-1.2.15/src/thread/win32/SDL_syssem.c create mode 100644 distrib/sdl-1.2.15/src/thread/win32/SDL_systhread.c create mode 100644 distrib/sdl-1.2.15/src/thread/win32/SDL_systhread_c.h create mode 100644 distrib/sdl-1.2.15/src/thread/win32/win_ce_semaphore.c create mode 100644 distrib/sdl-1.2.15/src/thread/win32/win_ce_semaphore.h create mode 100644 distrib/sdl-1.2.15/src/timer/SDL_systimer.h create mode 100644 distrib/sdl-1.2.15/src/timer/SDL_timer.c create mode 100644 distrib/sdl-1.2.15/src/timer/SDL_timer_c.h create mode 100644 distrib/sdl-1.2.15/src/timer/beos/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/dc/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/dummy/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/macos/FastTimes.c create mode 100644 distrib/sdl-1.2.15/src/timer/macos/FastTimes.h create mode 100644 distrib/sdl-1.2.15/src/timer/macos/SDL_MPWtimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/macos/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/mint/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/mint/SDL_vbltimer.S create mode 100644 distrib/sdl-1.2.15/src/timer/mint/SDL_vbltimer_s.h create mode 100644 distrib/sdl-1.2.15/src/timer/nds/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/os2/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/riscos/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/symbian/SDL_systimer.cpp create mode 100644 distrib/sdl-1.2.15/src/timer/unix/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/win32/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/timer/wince/SDL_systimer.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_RLEaccel.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_RLEaccel_c.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit_0.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit_1.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit_A.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_blit_N.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_bmp.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_cursor.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_cursor_c.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_gamma.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_glfuncs.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_leaks.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_pixels.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_pixels_c.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_stretch.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_stretch_c.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_surface.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_sysvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_video.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_yuv.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_yuv_mmx.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_yuv_sw.c create mode 100644 distrib/sdl-1.2.15/src/video/SDL_yuv_sw_c.h create mode 100644 distrib/sdl-1.2.15/src/video/SDL_yuvfuncs.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/README create mode 100644 distrib/sdl-1.2.15/src/video/Xext/XME/xme.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xinerama/Xinerama.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xv/Xv.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xv/Xvlibint.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/XF86DGA2.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/XF86VMode.c create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/Xext.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/Xinerama.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/Xv.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/Xvlib.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/Xvproto.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/extutil.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/panoramiXext.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/panoramiXproto.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86dga.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86dga1.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86dga1str.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86dgastr.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86vmode.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xf86vmstr.h create mode 100644 distrib/sdl-1.2.15/src/video/Xext/extensions/xme.h create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aaevents.c create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aaevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aamouse.c create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aamouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aavideo.c create mode 100644 distrib/sdl-1.2.15/src/video/aalib/SDL_aavideo.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ataric2p.S create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ataric2p_s.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ataridevmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ataridevmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarieddi.S create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarieddi_s.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarievents.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarievents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarigl.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarigl_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarikeys.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarimxalloc.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarimxalloc_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_atarisuper.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_biosevents.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_biosevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_gemdosevents.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_gemdosevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ikbdevents.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ikbdevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ikbdinterrupt.S create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_ikbdinterrupt_s.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_xbiosevents.c create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_xbiosevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_xbiosinterrupt.S create mode 100644 distrib/sdl-1.2.15/src/video/ataricommon/SDL_xbiosinterrupt_s.h create mode 100644 distrib/sdl-1.2.15/src/video/blank_cursor.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_BView.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_BWin.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_lowvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysevents.cc create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysmouse.cc create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysvideo.cc create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_syswm.cc create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_syswm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysyuv.cc create mode 100644 distrib/sdl-1.2.15/src/video/bwindow/SDL_sysyuv.h create mode 100644 distrib/sdl-1.2.15/src/video/caca/SDL_cacaevents.c create mode 100644 distrib/sdl-1.2.15/src/video/caca/SDL_cacaevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/caca/SDL_cacavideo.c create mode 100644 distrib/sdl-1.2.15/src/video/caca/SDL_cacavideo.h create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcevents.c create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/dc/SDL_dcvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/default_cursor.h create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgaevents.c create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgaevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgamouse.c create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgamouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgavideo.c create mode 100644 distrib/sdl-1.2.15/src/video/dga/SDL_dgavideo.h create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_events.c create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_events.h create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_keys.h create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_video.c create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_video.h create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_yuv.c create mode 100644 distrib/sdl-1.2.15/src/video/directfb/SDL_DirectFB_yuv.h create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullevents.c create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/dummy/SDL_nullvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/e_log.h create mode 100644 distrib/sdl-1.2.15/src/video/e_pow.h create mode 100644 distrib/sdl-1.2.15/src/video/e_sqrt.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/3dfx_mmio.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/3dfx_regs.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fb3dfx.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fb3dfx.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbelo.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbelo.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbevents.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbkeys.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmatrox.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmatrox.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbriva.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbriva.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/SDL_fbvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/matrox_mmio.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/matrox_regs.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/riva_mmio.h create mode 100644 distrib/sdl-1.2.15/src/video/fbcon/riva_regs.h create mode 100644 distrib/sdl-1.2.15/src/video/gapi/SDL_gapivideo.c create mode 100644 distrib/sdl-1.2.15/src/video/gapi/SDL_gapivideo.h create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemevents.c create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemwm.c create mode 100644 distrib/sdl-1.2.15/src/video/gem/SDL_gemwm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ggi/SDL_ggievents.c create mode 100755 distrib/sdl-1.2.15/src/video/ggi/SDL_ggievents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ggi/SDL_ggikeys.h create mode 100644 distrib/sdl-1.2.15/src/video/ggi/SDL_ggimouse.c create mode 100755 distrib/sdl-1.2.15/src/video/ggi/SDL_ggimouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ggi/SDL_ggivideo.c create mode 100644 distrib/sdl-1.2.15/src/video/ggi/SDL_ggivideo.h create mode 100644 distrib/sdl-1.2.15/src/video/ipod/SDL_ipodvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/ipod/SDL_ipodvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_lowvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macevents.c create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macgl.c create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macgl_c.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_mackeys.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macwm.c create mode 100644 distrib/sdl-1.2.15/src/video/maccommon/SDL_macwm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/macdsp/SDL_dspvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/macdsp/SDL_dspvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/macrom/SDL_romvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/macrom/SDL_romvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/math_private.h create mode 100644 distrib/sdl-1.2.15/src/video/mmx.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxevents.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nximage.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nximage_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxmodes.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxmodes_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxwm.c create mode 100644 distrib/sdl-1.2.15/src/video/nanox/SDL_nxwm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsevents.c create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/nds/SDL_ndsvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/os2fslib/SDL_os2fslib.c create mode 100644 distrib/sdl-1.2.15/src/video/os2fslib/SDL_os2fslib.h create mode 100644 distrib/sdl-1.2.15/src/video/os2fslib/SDL_vkeys.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_events.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_events_c.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_gl.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_gl.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_image.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_image_c.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_modes.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_modes_c.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_mouse.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_mouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_video.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_video.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_wm.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_ph_wm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_phyuv.c create mode 100644 distrib/sdl-1.2.15/src/video/photon/SDL_phyuv_c.h create mode 100644 distrib/sdl-1.2.15/src/video/picogui/SDL_pgevents.c create mode 100644 distrib/sdl-1.2.15/src/video/picogui/SDL_pgevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/picogui/SDL_pgvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/picogui/SDL_pgvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsevents.c create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gskeys.h create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsyuv.c create mode 100644 distrib/sdl-1.2.15/src/video/ps2gs/SDL_gsyuv_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3events.c create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3events_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3video.c create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3video.h create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3yuv.c create mode 100644 distrib/sdl-1.2.15/src/video/ps3/SDL_ps3yuv_c.h create mode 100644 distrib/sdl-1.2.15/src/video/ps3/spulibs/Makefile create mode 100644 distrib/sdl-1.2.15/src/video/ps3/spulibs/bilin_scaler.c create mode 100644 distrib/sdl-1.2.15/src/video/ps3/spulibs/fb_writer.c create mode 100644 distrib/sdl-1.2.15/src/video/ps3/spulibs/spu_common.h create mode 100644 distrib/sdl-1.2.15/src/video/ps3/spulibs/yuv2rgb_converter.c create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_QPEApp.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_QPEApp.h create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_QWin.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_QWin.h create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_lowvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_sysevents.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_sysevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_sysmouse.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_sysmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_sysvideo.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_syswm.cc create mode 100644 distrib/sdl-1.2.15/src/video/qtopia/SDL_syswm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/CGS.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzEvents.m create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzGL.m create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzKeys.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzVideo.m create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWM.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWM.m create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWindow.h create mode 100644 distrib/sdl-1.2.15/src/video/quartz/SDL_QuartzWindow.m create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosASM.S create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosFullScreenVideo.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosevents.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscossprite.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscostask.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscostask.h create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_riscosvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_wimppoll.c create mode 100644 distrib/sdl-1.2.15/src/video/riscos/SDL_wimpvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgaevents.c create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgaevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgamouse.c create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgamouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgavideo.c create mode 100644 distrib/sdl-1.2.15/src/video/svga/SDL_svgavideo.h create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA1/SDL_epocevents.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA1/SDL_epocvideo.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA1/SDL_epocvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/SDL_epocevents.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/SDL_epocvideo.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/SDL_epocvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/dsa.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/dsa_new.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/EKA2/dsa_old.cpp create mode 100644 distrib/sdl-1.2.15/src/video/symbian/SDL_epocevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglevents.c create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/vgl/SDL_vglvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_lowvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_sysevents.c create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_sysmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_sysmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_syswm.c create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_syswm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_wingl.c create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/SDL_wingl_c.h create mode 100644 distrib/sdl-1.2.15/src/video/wincommon/wmmsg.h create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_dibevents.c create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_dibevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_dibvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_dibvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_gapidibvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/windib/SDL_vkeys.h create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5events.c create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5events_c.h create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5video.c create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5video.h create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5yuv.c create mode 100644 distrib/sdl-1.2.15/src/video/windx5/SDL_dx5yuv_c.h create mode 100644 distrib/sdl-1.2.15/src/video/windx5/directx.h create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsevents.c create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsevents_c.h create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsmouse.c create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsmouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsvideo.c create mode 100644 distrib/sdl-1.2.15/src/video/wscons/SDL_wsconsvideo.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11dga.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11dga_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11dyn.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11dyn.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11events.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11events_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11gamma.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11gamma_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11gl.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11gl_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11image.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11image_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11modes.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11modes_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11mouse.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11mouse_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11sym.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11video.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11video.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11wm.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11wm_c.h create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11yuv.c create mode 100644 distrib/sdl-1.2.15/src/video/x11/SDL_x11yuv_c.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_blowup.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_blowup.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_centscreen.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_centscreen.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_milan.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_milan.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_sb3.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_sb3.h create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_tveille.c create mode 100644 distrib/sdl-1.2.15/src/video/xbios/SDL_xbios_tveille.h create mode 100644 distrib/sdl-1.2.15/symbian.zip create mode 100644 distrib/sdl-1.2.15/test/COPYING create mode 100644 distrib/sdl-1.2.15/test/Makefile.in create mode 100644 distrib/sdl-1.2.15/test/README create mode 100644 distrib/sdl-1.2.15/test/acinclude.m4 create mode 100755 distrib/sdl-1.2.15/test/autogen.sh create mode 100644 distrib/sdl-1.2.15/test/checkkeys.c create mode 100644 distrib/sdl-1.2.15/test/configure.in create mode 100755 distrib/sdl-1.2.15/test/gcc-fat.sh create mode 100644 distrib/sdl-1.2.15/test/graywin.c create mode 100644 distrib/sdl-1.2.15/test/icon.bmp create mode 100644 distrib/sdl-1.2.15/test/loopwave.c create mode 100644 distrib/sdl-1.2.15/test/moose.dat create mode 100644 distrib/sdl-1.2.15/test/picture.xbm create mode 100644 distrib/sdl-1.2.15/test/sail.bmp create mode 100644 distrib/sdl-1.2.15/test/sample.bmp create mode 100644 distrib/sdl-1.2.15/test/sample.wav create mode 100644 distrib/sdl-1.2.15/test/testalpha.c create mode 100644 distrib/sdl-1.2.15/test/testbitmap.c create mode 100644 distrib/sdl-1.2.15/test/testblitspeed.c create mode 100644 distrib/sdl-1.2.15/test/testcdrom.c create mode 100644 distrib/sdl-1.2.15/test/testcursor.c create mode 100644 distrib/sdl-1.2.15/test/testdyngl.c create mode 100644 distrib/sdl-1.2.15/test/testerror.c create mode 100644 distrib/sdl-1.2.15/test/testfile.c create mode 100644 distrib/sdl-1.2.15/test/testgamma.c create mode 100644 distrib/sdl-1.2.15/test/testgl.c create mode 100644 distrib/sdl-1.2.15/test/testhread.c create mode 100644 distrib/sdl-1.2.15/test/testiconv.c create mode 100644 distrib/sdl-1.2.15/test/testjoystick.c create mode 100644 distrib/sdl-1.2.15/test/testkeys.c create mode 100644 distrib/sdl-1.2.15/test/testloadso.c create mode 100644 distrib/sdl-1.2.15/test/testlock.c create mode 100644 distrib/sdl-1.2.15/test/testoverlay.c create mode 100644 distrib/sdl-1.2.15/test/testoverlay2.c create mode 100644 distrib/sdl-1.2.15/test/testpalette.c create mode 100644 distrib/sdl-1.2.15/test/testplatform.c create mode 100644 distrib/sdl-1.2.15/test/testsem.c create mode 100644 distrib/sdl-1.2.15/test/testsprite.c create mode 100644 distrib/sdl-1.2.15/test/testtimer.c create mode 100644 distrib/sdl-1.2.15/test/testver.c create mode 100644 distrib/sdl-1.2.15/test/testvidinfo.c create mode 100644 distrib/sdl-1.2.15/test/testwin.c create mode 100644 distrib/sdl-1.2.15/test/testwm.c create mode 100644 distrib/sdl-1.2.15/test/threadwin.c create mode 100644 distrib/sdl-1.2.15/test/torturethread.c create mode 100644 distrib/sdl-1.2.15/test/utf8.txt diff --git a/distrib/sdl-1.2.15/BUGS b/distrib/sdl-1.2.15/BUGS new file mode 100644 index 0000000..218bf3d --- /dev/null +++ b/distrib/sdl-1.2.15/BUGS @@ -0,0 +1,18 @@ + +Bugs are now managed in the SDL bug tracker, here: + + http://bugzilla.libsdl.org/ + +You may report bugs there, and search to see if a given issue has already + been reported, discussed, and maybe even fixed. + + + +You may also find help at the SDL mailing list. Subscription information: + + http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org + +Bug reports are welcome here, but we really appreciate if you use Bugzilla, as + bugs discussed on the mailing list may be forgotten or missed. + + diff --git a/distrib/sdl-1.2.15/Borland.html b/distrib/sdl-1.2.15/Borland.html new file mode 100644 index 0000000..eaf8209 --- /dev/null +++ b/distrib/sdl-1.2.15/Borland.html @@ -0,0 +1,139 @@ + + + + Building SDL with Borland's C++ compilers + + + + + +

Building SDL with Borland's C++ compilers.

+ by David Snopek + and updated by Dominique + Louis ( Last updated : 30th June 2003 ).
+
+ These instructions cover how to compile SDL and its included test +programs using either Borland C++ Builder 5, 6 for Windows, + C++ Builder for Linux ( AKA Kylix 3 ) or the free Borland C++ command-line compiler.
+ +

Extract the files

+ +

Unzip the Borland.zip archive into this directory. Do not unzip + it into any other directory because the makefiles ( *.mak ) and project + files ( *.bpr ) use relative paths to refer to the SDL sources. This should + create a directory named "Borland" inside of the top level SDL source directory. +

+ +

Using Borland C++ Builder 5, 6 for Windows +

+ +

Inside of the "Borland" directory there is a "bcb6" directory that contains + a number of Builder project files. Double-click on the "libSDL.bpg" file + icon. Once Builder has started click on the "Projects" menu on +the menu-bar and go down to "Build All Projects" option.
+ This will proceed to build SDL ( with Borland's calling convention ), +SDLmain, and all the test programs. Currently, all +the test programs are dynamically linked to Sam Lantinga's +SDL.dll.

+ +

NOTE : Borland's "lib" format and Microsoft's "lib" format are incompatible. + 
+ If you wish to dynamically link to the SDL library supplied by Sam Lantinga + in each release, I have created the correct *.libs for SDL 1.2.4 and they + exist in the "/lib" directory.
+ If you would like to create the *.lib files yourself, you will need to +make use of Borland's "implib.exe" utility.
+

+ +

IMPLIB works like this:

+ +
    IMPLIB (destination lib name) (source dll)
+ +

For example,

+ +
    IMPLIB SDL.lib SDL.dll
+ +

This assumes that SDL.dll was compiled with Visual C++ or similar.
+

+ +

To learn more about the difference between Borland's and Microsoft's *.lib + format please read the article here.
+

+ +


+ NOTE :
The C++ Builder for Windows project format, is not compatible + with the Kylix 3 project format, hence the reason why they are in separate + directories.

+ +

Using the free Borland C++ command-line compiler +

+ +

The free Borland compiler can be downloaded at no charge from the Borland website + . Make sure that it is installed and properly configured.

+ +

Open an MS-DOS Prompt. Change to the "Borland\freebcc" directory under + the SDL source directory. Type "make -f SDL.mak" to build SDL and "make + -f SDLmain.mak". There are also makefiles for all of the test programs, if you wish to build them. All .exes and +DLLs are created in the "test" SDL directory. Ify ou would like to create +the DLL and all the test applications, I have thrown together a basic batchfile +called "makeall.bat" which should create everything in the right order.

+ +

Output files

+ No matter which compiler you used, three important files should have + been produced: +
    +
  • SDL.dll ( Borland format )
  • +
  • SDL.lib ( Borland format )
  • +
  • SDLmain.lib ( Borland format )
  • + +
+ Both of the *.lib files will need to be added to all the projects +that use SDL and SDL.dll must be placed some where the Windows dynamic +linker can find it (either in your project directory or on the system +path, C:\WINDOWS\SYSTEM). +

Using Borland C++ Builder for Linux ( AKA Kylix + 3 )

+ +

Inside of the "Borland" directory there is a "k3" directory that contains + a number of Builder project files. Double-click on the "libSDL.bpg" file + icon. Once Builder has started click on the "Projects" menu on +the menu-bar and go down to "Build All Projects" option. This will +proceed to build all the test programs
+ Linux users do not need *.lib files as the Shared Object is linked right + into the project ( very neat actually, Windows should do this sort of thing + as it is a lot easier for the developer ).
+ NOTE : The C++ Builder for Windows project format, is not + compatible with the Kylix 3 project format, hence the reason why they are + in separate directories.

+ +

On Mandrake 8.1 the shared objects for SDL are located in the /usr/lib + directory as libSDL_*.so and the Mesa OpenGL shared objects are located +in /usr/X11R6/lib as libGL*.so
+
+ So if your setup is different you may need to change the project file + so that they re-link to the ones on your system.
+
+ On Mandrake 8.1 the headers files are located at /usr/include/SDL/. + So if you you have not installed the development RPMs ( usually named libSDL-devel* + ) for SDL ( not included ) you may have to change the include directory + within some of the projects.
+

+ +

Known Problems

+ The only known problem is that I ( Dominique Louis ), was unable to +create the projects that rebuilt the SDL shared objects under Linux, due +to time constraints and my lack of intimate knowledge of Linux. +

Test programs

+ Some of the test programs require included media files ( *.wav; *.bmp +etc ). All the test programs are now created in the "test" directory, where +the media files are ( usually ) so they should be ready to go.
+
+
+
+ + diff --git a/distrib/sdl-1.2.15/Borland.zip b/distrib/sdl-1.2.15/Borland.zip new file mode 100644 index 0000000..ed8f45d Binary files /dev/null and b/distrib/sdl-1.2.15/Borland.zip differ diff --git a/distrib/sdl-1.2.15/COPYING b/distrib/sdl-1.2.15/COPYING new file mode 100644 index 0000000..2cba2ac --- /dev/null +++ b/distrib/sdl-1.2.15/COPYING @@ -0,0 +1,458 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/distrib/sdl-1.2.15/CREDITS b/distrib/sdl-1.2.15/CREDITS new file mode 100644 index 0000000..efdcfa4 --- /dev/null +++ b/distrib/sdl-1.2.15/CREDITS @@ -0,0 +1,94 @@ + +Simple DirectMedia Layer CREDITS +Thanks to everyone who made this possible, including: + +* Cliff Matthews, for giving me a reason to start this project. :) + -- Executor rocks! *grin* + +* Scott Call, for making a home for SDL on the 'Net... Thanks! :) + +* The Linux Fund, C Magazine, Educational Technology Resources Inc., + Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson, + Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker, + and Phoenix Kokido for financial contributions + +* Gaëtan de Menten for writing the PHP and SQL behind the SDL website + +* Tim Jones for the new look of the SDL website + +* Marco Kraus for setting up SDL merchandise + +* Martin Donlon for his work on the SDL Documentation Project + +* Ryan Gordon for helping everybody out and keeping the dream alive. :) + +* IBM R&D Lab for their PS3 SPE video acceleration code + +* Mattias Engdegård, for help with the Solaris port and lots of other help + +* Max Watson, Matt Slot, and Kyle for help with the MacOS Classic port + +* Stan Shebs, for the initial Mac OS X port + +* Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port + +* Patrick Trainor, Jim Boucher, and Mike Gorchak for the QNX Neutrino port + +* Carsten Griwodz for the AIX port + +* Gabriele Greco, for the Amiga port + +* Patrice Mandin, for the Atari port + +* Hannu Viitala for the EPOC port + +* Marcus Mertama for the S60 port. + +* Peter Valchev for nagging me about the OpenBSD port until I got it right. :) + +* Kent B Mein, for a place to do the IRIX port + +* Ash, for a place to do the OSF/1 Alpha port + +* David Sowsy, for help with the BeOS port + +* Eugenia Loli, for endless work on porting SDL games to BeOS + +* Jon Taylor for the GGI front-end + +* Paulus Esterhazy, for the Visual C++ testing and libraries + +* Brenda Tantzen, for Metrowerks CodeWarrior on MacOS + +* Chris Nentwich, for the Hermes assembly blitters + +* Michael Vance and Jim Kutter for the X11 OpenGL support + +* Stephane Peter, for the AAlib front-end and multi-threaded timer idea. + +* Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation + +* Peter Wiklund, for the 1998 winning SDL logo, + and Arto Hamara, Steven Wong, and Kent Mein for other logo entries. + +* Arne Claus, for the 2004 winning SDL logo, + and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann, + Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella, + Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson, + S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand, + Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller, + Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja + for other logo entries. + +* Bob Pendleton and David Olofson for being long time contributors to + the SDL mailing list. + +* Everybody at Loki Software, Inc. for their great contributions! + + And a big hand to everyone else who gave me appreciation, advice, + and suggestions, especially the good folks on the SDL mailing list. + +THANKS! :) + + -- Sam Lantinga + diff --git a/distrib/sdl-1.2.15/CWprojects.sea.bin b/distrib/sdl-1.2.15/CWprojects.sea.bin new file mode 100644 index 0000000..e8a6fdc Binary files /dev/null and b/distrib/sdl-1.2.15/CWprojects.sea.bin differ diff --git a/distrib/sdl-1.2.15/INSTALL b/distrib/sdl-1.2.15/INSTALL new file mode 100644 index 0000000..1a30fba --- /dev/null +++ b/distrib/sdl-1.2.15/INSTALL @@ -0,0 +1,23 @@ + +To compile and install SDL: + + 1. Run './configure; make; make install' + + If you are compiling for Windows using gcc, read the FAQ at: + http://www.libsdl.org/faq.php?action=listentries&category=4#42 + + If you are compiling using Visual C++ on Win32, you should read + the file VisualC.html + + 2. Look at the example programs in ./test, and check out the HTML + documentation in ./docs to see how to use the SDL library. + + 3. Join the SDL developer mailing list by sending E-mail to + sdl-request@libsdl.org + and put "subscribe" in the subject of the message. + + Or alternatively you can use the web interface: + http://www.libsdl.org/mailing-list.php + +That's it! +Sam Lantinga diff --git a/distrib/sdl-1.2.15/MPWmake.sea.bin b/distrib/sdl-1.2.15/MPWmake.sea.bin new file mode 100644 index 0000000..b345e08 Binary files /dev/null and b/distrib/sdl-1.2.15/MPWmake.sea.bin differ diff --git a/distrib/sdl-1.2.15/Makefile.dc b/distrib/sdl-1.2.15/Makefile.dc new file mode 100644 index 0000000..58d6e71 --- /dev/null +++ b/distrib/sdl-1.2.15/Makefile.dc @@ -0,0 +1,111 @@ +#GL=1 + +CC = sh-elf-gcc +AR = sh-elf-ar + +ifdef GL +DEFS += -DSDL_VIDEO_OPENGL=1 +TARGET = libSDL_gl.a +else +TARGET = libSDL.a +endif + +CFLAGS=$(KOS_CFLAGS) $(DEFS) -Iinclude + +SRCS = \ + src/audio/dc/SDL_dcaudio.c \ + src/audio/dc/aica.c \ + src/audio/dummy/SDL_dummyaudio.c \ + src/audio/SDL_audio.c \ + src/audio/SDL_audiocvt.c \ + src/audio/SDL_audiodev.c \ + src/audio/SDL_mixer.c \ + src/audio/SDL_wave.c \ + src/cdrom/dc/SDL_syscdrom.c \ + src/cdrom/SDL_cdrom.c \ + src/events/SDL_active.c \ + src/events/SDL_events.c \ + src/events/SDL_expose.c \ + src/events/SDL_keyboard.c \ + src/events/SDL_mouse.c \ + src/events/SDL_quit.c \ + src/events/SDL_resize.c \ + src/file/SDL_rwops.c \ + src/joystick/dc/SDL_sysjoystick.c \ + src/joystick/SDL_joystick.c \ + src/loadso/dummy/SDL_sysloadso.c \ + src/SDL.c \ + src/SDL_error.c \ + src/SDL_fatal.c \ + src/stdlib/SDL_getenv.c \ + src/stdlib/SDL_iconv.c \ + src/stdlib/SDL_malloc.c \ + src/stdlib/SDL_qsort.c \ + src/stdlib/SDL_stdlib.c \ + src/stdlib/SDL_string.c \ + src/thread/dc/SDL_syscond.c \ + src/thread/dc/SDL_sysmutex.c \ + src/thread/dc/SDL_syssem.c \ + src/thread/dc/SDL_systhread.c \ + src/thread/SDL_thread.c \ + src/timer/dc/SDL_systimer.c \ + src/timer/SDL_timer.c \ + src/video/dc/SDL_dcevents.c \ + src/video/dc/SDL_dcvideo.c \ + src/video/dummy/SDL_nullevents.c \ + src/video/dummy/SDL_nullmouse.c \ + src/video/dummy/SDL_nullvideo.c \ + src/video/SDL_blit.c \ + src/video/SDL_blit_0.c \ + src/video/SDL_blit_1.c \ + src/video/SDL_blit_A.c \ + src/video/SDL_blit_N.c \ + src/video/SDL_bmp.c \ + src/video/SDL_cursor.c \ + src/video/SDL_gamma.c \ + src/video/SDL_pixels.c \ + src/video/SDL_RLEaccel.c \ + src/video/SDL_stretch.c \ + src/video/SDL_surface.c \ + src/video/SDL_video.c \ + src/video/SDL_yuv.c \ + src/video/SDL_yuv_sw.c \ + +OBJS = $(SRCS:.c=.o) + +TEST = \ + test/checkkeys.c \ + test/graywin.c \ + test/loopwave.c \ + test/testalpha.c \ + test/testbitmap.c \ + test/testcdrom.c \ + test/testerror.c \ + test/testgamma.c \ + test/testgl.c \ + test/testhread.c \ + test/testjoystick.c \ + test/testkeys.c \ + test/testlock.c \ + test/testoverlay.c \ + test/testpalette.c \ + test/testsem.c \ + test/testsprite.c \ + test/testtimer.c \ + test/testtypes.c \ + test/testver.c \ + test/testvidinfo.c \ + test/testwin.c \ + test/testwm.c \ + test/threadwin.c \ + test/torturethread.c \ + +$(TARGET): copy_config \ + $(OBJS) + $(AR) rcs $(TARGET) $(OBJS) + +copy_config: + @cp include/SDL_config.h.default include/SDL_config.h + +clean: + rm -f include/SDL_config.h $(OBJS) diff --git a/distrib/sdl-1.2.15/Makefile.ds b/distrib/sdl-1.2.15/Makefile.ds new file mode 100644 index 0000000..df3d146 --- /dev/null +++ b/distrib/sdl-1.2.15/Makefile.ds @@ -0,0 +1,63 @@ +#LibSDL 1.2.12 +#DS porting by Troy Davis(GPF) + + +ifeq ($(strip $(DEVKITPRO)),) +$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) +endif +ifeq ($(strip $(DEVKITARM)),) +DEVKITARM := $(DEVKITPRO)/devkitARM +endif + + +SRCS = $(shell echo ./src/*.c ./src/audio/*.c ./src/cdrom/*.c ./src/cpuinfo/*.c ./src/events/*.c ./src/file/*.c ./src/stdlib/*.c ./src/thread/*.c ./src/timer/*.c ./src/video/*.c ./src/joystick/*.c ./src/joystick/nds/*.c ./src/cdrom/dummy/*.c ./src/thread/generic/*.c ./src/timer/nds/*.c ./src/loadso/dummy/*.c ./src/audio/dummy/*.c ./src/audio/nds/*.c ./src/video/dummy/*.c ./src/video/nds/*.c) + +OBJS = $(SRCS:.c=.o) + + +SUBDIRS= + +CC=arm-eabi-gcc +CXX=arm-eabi-g++ +LDSHARED=$(CXX) +AR=arm-eabi-ar rc +RANLIB=arm-eabi-ranlib + +CFLAGS = -mthumb -mthumb-interwork \ + -march=armv5te -mtune=arm946e-s \ + -O2 -Wall -Wwrite-strings -Wpointer-arith \ + -DARM9 -D__NDS__ -I$(DEVKITPRO)/libnds/include -Iinclude + +CXXFLAGS += $(CFLAGS) + +all: $(DEVKITPRO)/libnds/lib/libSDL.a + + +$(DEVKITPRO)/libnds/lib/libSDL.a: $(OBJS) + $(AR) $@ $(OBJS) + -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 + +clean: + find . -name "*.o" |xargs rm -f + find . -name "*.d" |xargs rm -f + -rm -f *.elf + -rm -f *.nds + -rm -f *.gba + -rm -f *.arm9 + -rm -f *.map + -rm -f *.img + -rm -Rf *.d + + +subdirs: $(patsubst %, _dir_%, $(SUBDIRS)) + +$(patsubst %, _dir_%, $(SUBDIRS)): + $(MAKE) -C $(patsubst _dir_%, %, $@) + +clean_subdirs: $(patsubst %, _clean_dir_%, $(SUBDIRS)) + +$(patsubst %, _clean_dir_%, $(SUBDIRS)): + $(MAKE) -C $(patsubst _clean_dir_%, %, $@) clean + +#include $(DEVKITARM)/ds_rules + diff --git a/distrib/sdl-1.2.15/Makefile.in b/distrib/sdl-1.2.15/Makefile.in new file mode 100644 index 0000000..ab51035 --- /dev/null +++ b/distrib/sdl-1.2.15/Makefile.in @@ -0,0 +1,178 @@ +# Makefile to build and install the SDL library + +top_builddir = . +srcdir = @srcdir@ +objects = build +depend = build-deps +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +includedir = @includedir@ +datarootdir = @datarootdir@ +datadir = @datadir@ +mandir = @mandir@ +auxdir = @ac_aux_dir@ +distpath = $(srcdir)/.. +distdir = SDL-@SDL_VERSION@ +distfile = $(distdir).tar.gz + +@SET_MAKE@ +SHELL = @SHELL@ +CC = @CC@ +INCLUDE = @INCLUDE@ +CFLAGS = @BUILD_CFLAGS@ +EXTRA_CFLAGS = @EXTRA_CFLAGS@ +LDFLAGS = @BUILD_LDFLAGS@ +EXTRA_LDFLAGS = @EXTRA_LDFLAGS@ +LIBTOOL = @LIBTOOL@ +INSTALL = @INSTALL@ +NASM = @NASM@ @NASMFLAGS@ +AR = @AR@ +RANLIB = @RANLIB@ +WINDRES = @WINDRES@ + +TARGET = libSDL.la +SOURCES = @SOURCES@ +OBJECTS = @OBJECTS@ + +SDLMAIN_TARGET = libSDLmain.la +SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ +SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ +SDLMAIN_LDFLAGS = @SDLMAIN_LDFLAGS@ + +DIST = acinclude autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html include INSTALL Makefile.dc Makefile.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE VisualC.html VisualC Watcom-OS2.zip Watcom-Win32.zip symbian.zip WhatsNew Xcode + +HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h + +LT_AGE = @LT_AGE@ +LT_CURRENT = @LT_CURRENT@ +LT_RELEASE = @LT_RELEASE@ +LT_REVISION = @LT_REVISION@ +LT_LDFLAGS = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + +all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) + +$(srcdir)/configure: $(srcdir)/configure.in + @echo "Warning, configure.in is out of date" + #(cd $(srcdir) && sh autogen.sh && sh configure) + @sleep 3 + +Makefile: $(srcdir)/Makefile.in + $(SHELL) config.status $@ + +$(objects): + $(SHELL) $(auxdir)/mkinstalldirs $@ + +.PHONY: all depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist +depend: + @SOURCES="$(SOURCES) $(SDLMAIN_SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ + $(SHELL) $(auxdir)/makedep.sh + +include $(depend) + +$(objects)/$(TARGET): $(OBJECTS) + $(LIBTOOL) --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) + +$(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) + $(LIBTOOL) --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) $(SDLMAIN_LDFLAGS) + + +install: all install-bin install-hdrs install-lib install-data install-man +install-bin: + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir) + $(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config +install-hdrs: + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL + for file in $(HDRS); do \ + $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \ + done + $(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h +install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir) + $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET) + $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) +install-data: + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal + $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(DESTDIR)$(datadir)/aclocal/sdl.m4 + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig + $(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig +install-man: + $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3 + for src in $(srcdir)/docs/man3/*.3; do \ + file=`echo $$src | sed -e 's|^.*/||'`; \ + $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man3/$$file; \ + done + +uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man +uninstall-bin: + rm -f $(DESTDIR)$(bindir)/sdl-config +uninstall-hdrs: + for file in $(HDRS); do \ + rm -f $(DESTDIR)$(includedir)/SDL/$$file; \ + done + rm -f $(DESTDIR)$(includedir)/SDL/SDL_config.h + -rmdir $(DESTDIR)$(includedir)/SDL +uninstall-lib: + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(TARGET) + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) +uninstall-data: + rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4 + rm -f $(DESTDIR)$(libdir)/pkgconfig/sdl.pc +uninstall-man: + for src in $(srcdir)/docs/man3/*.3; do \ + file=`echo $$src | sed -e 's|^.*/||'`; \ + rm -f $(DESTDIR)$(mandir)/man3/$$file; \ + done + +clean: + rm -rf $(objects) + if test -f test/Makefile; then (cd test; $(MAKE) $@); fi + +distclean: clean + rm -f Makefile include/SDL_config.h sdl-config + rm -f SDL.qpg + rm -f config.status config.cache config.log libtool $(depend) + rm -rf $(srcdir)/autom4te* + rm -rf $(srcdir)/test/autom4te* + find $(srcdir) \( \ + -name '*~' -o \ + -name '*.bak' -o \ + -name '*.old' -o \ + -name '*.rej' -o \ + -name '*.orig' -o \ + -name '.#*' \) \ + -exec rm -f {} \; + cp $(srcdir)/include/SDL_config.h.default $(srcdir)/include/SDL_config.h + if test -f test/Makefile; then (cd test; $(MAKE) $@); fi + +dist $(distfile): + $(SHELL) $(auxdir)/mkinstalldirs $(distdir) + tar cf - $(DIST) | (cd $(distdir); tar xf -) + cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h + rm -rf `find $(distdir) -name .svn` + rm -rf $(distdir)/test/autom4te* + find $(distdir) \( \ + -name '*~' -o \ + -name '*.bak' -o \ + -name '*.old' -o \ + -name '*.rej' -o \ + -name '*.orig' -o \ + -name '.#*' \) \ + -exec rm -f {} \; + if test -f $(distdir)/test/Makefile; then (cd $(distdir)/test && make distclean); fi + tar cvf - $(distdir) | gzip --best >$(distfile) + rm -rf $(distdir) + +rpm: $(distfile) + rpmbuild -ta $? + +# Create a SVN snapshot that people can run update on +snapshot: + svn co http://svn.libsdl.org/branches/SDL-1.2 + (cd SDL-1.2 && ./autogen.sh && rm -rf autom4te.cache) + cp SDL-1.2/include/SDL_config.h.default SDL-1.2/include/SDL_config.h + tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2 + rm -f $(HOME)/SDL-1.2.zip + zip -r $(HOME)/SDL-1.2.zip SDL-1.2 + rm -rf SDL-1.2 diff --git a/distrib/sdl-1.2.15/Makefile.minimal b/distrib/sdl-1.2.15/Makefile.minimal new file mode 100644 index 0000000..827621c --- /dev/null +++ b/distrib/sdl-1.2.15/Makefile.minimal @@ -0,0 +1,42 @@ +# Makefile to build the SDL library + +INCLUDE = -I./include +CFLAGS = -g -O2 $(INCLUDE) +AR = ar +RANLIB = ranlib + +CONFIG_H = include/SDL_config.h +TARGET = libSDL.a +SOURCES = \ + src/*.c \ + src/audio/*.c \ + src/cdrom/*.c \ + src/cpuinfo/*.c \ + src/events/*.c \ + src/file/*.c \ + src/joystick/*.c \ + src/stdlib/*.c \ + src/thread/*.c \ + src/timer/*.c \ + src/video/*.c \ + src/audio/dummy/*.c \ + src/video/dummy/*.c \ + src/joystick/dummy/*.c \ + src/cdrom/dummy/*.c \ + src/thread/generic/*.c \ + src/timer/dummy/*.c \ + src/loadso/dummy/*.c \ + +OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') + +all: $(TARGET) + +$(TARGET): $(CONFIG_H) $(OBJECTS) + $(AR) crv $@ $^ + $(RANLIB) $@ + +$(CONFIG_H): + cp $(CONFIG_H).default $(CONFIG_H) + +clean: + rm -f $(TARGET) $(OBJECTS) diff --git a/distrib/sdl-1.2.15/README b/distrib/sdl-1.2.15/README new file mode 100644 index 0000000..7c0dd58 --- /dev/null +++ b/distrib/sdl-1.2.15/README @@ -0,0 +1,49 @@ + + Simple DirectMedia Layer + + (SDL) + + Version 1.2 + +--- +http://www.libsdl.org/ + +This is the Simple DirectMedia Layer, a general API that provides low +level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, +and 2D framebuffer across multiple platforms. + +The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS, +MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, +and QNX. The code contains support for Dreamcast, Atari, AIX, OSF/Tru64, +RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially +supported. + +SDL is written in C, but works with C++ natively, and has bindings to +several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, +Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, +Pike, Pliant, Python, Ruby, and Smalltalk. + +This library is distributed under GNU LGPL version 2, which can be +found in the file "COPYING". This license allows you to use SDL +freely in commercial programs as long as you link with the dynamic +library. + +The best way to learn how to use SDL is to check out the header files in +the "include" subdirectory and the programs in the "test" subdirectory. +The header files and test programs are well commented and always up to date. +More documentation is available in HTML format in "docs/index.html", and +a documentation wiki is available online at: + http://www.libsdl.org/cgi/docwiki.cgi + +The test programs in the "test" subdirectory are in the public domain. + +Frequently asked questions are answered online: + http://www.libsdl.org/faq.php + +If you need help with the library, or just want to discuss SDL related +issues, you can join the developers mailing list: + http://www.libsdl.org/mailing-list.php + +Enjoy! + Sam Lantinga (slouken@libsdl.org) + diff --git a/distrib/sdl-1.2.15/README-SDL.txt b/distrib/sdl-1.2.15/README-SDL.txt new file mode 100644 index 0000000..4d36ca9 --- /dev/null +++ b/distrib/sdl-1.2.15/README-SDL.txt @@ -0,0 +1,13 @@ + +Please distribute this file with the SDL runtime environment: + +The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library +designed to make it easy to write multi-media software, such as games and +emulators. + +The Simple DirectMedia Layer library source code is available from: +http://www.libsdl.org/ + +This library is distributed under the terms of the GNU LGPL license: +http://www.gnu.org/copyleft/lesser.html + diff --git a/distrib/sdl-1.2.15/README.AmigaOS b/distrib/sdl-1.2.15/README.AmigaOS new file mode 100644 index 0000000..e0d8906 --- /dev/null +++ b/distrib/sdl-1.2.15/README.AmigaOS @@ -0,0 +1,12 @@ +The AmigaOS code has been removed from SDL, since it had been broken for a + long time and had a few bits of fairly invasive code #ifdef'd into the + SDL core. + +However, there is an OS4 version of SDL here: + http://www.rcdrummond.net/amiga/index.html + +And a MorphOS version here: + http://www.lehtoranta.net/powersdl/ + +--ryan. + diff --git a/distrib/sdl-1.2.15/README.BeOS b/distrib/sdl-1.2.15/README.BeOS new file mode 100644 index 0000000..ccdccf5 --- /dev/null +++ b/distrib/sdl-1.2.15/README.BeOS @@ -0,0 +1,13 @@ + +SDL on BeOS R5 +============== + +You can build SDL on BeOS like any other GNU style package. +e.g. ./configure && make && make install +By default it is installed in /boot/develop/tools/gnupro/{bin,lib,etc.} + +Once you install SDL, you need to copy libSDL.so to /boot/home/config/lib, +so it can be found by the dynamic linker. + +Enjoy! + Sam Lantinga (slouken@libsdl.org) diff --git a/distrib/sdl-1.2.15/README.DC b/distrib/sdl-1.2.15/README.DC new file mode 100644 index 0000000..e2fb1d6 --- /dev/null +++ b/distrib/sdl-1.2.15/README.DC @@ -0,0 +1,32 @@ +SDL for Dreamcast (beta2) + + BERO + berobero@users.sourceforge.net + + http://www.geocities.co.jp/Playtown/2004/ + +this work with kos-newlib +http://sourceforge.net/projects/dcquake/ + +compile +- source environ.sh (from the KOS distribution) +- make -f Makefile.dc + +compile with gl support +- install latest libgl from http://sourceforge.net/projects/dcquake/ +- uncomment GL=1 in Makefile.dc +- make -f Makefile.dc clean +- make -f Makefile.dc + +install +- copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment + +changelog: + +beta2 +- OpenGL support +- Hardware page flip support + +beta +- thread, timer don't tested so much. +- not support OpenGL diff --git a/distrib/sdl-1.2.15/README.HG b/distrib/sdl-1.2.15/README.HG new file mode 100644 index 0000000..ecbee0d --- /dev/null +++ b/distrib/sdl-1.2.15/README.HG @@ -0,0 +1,23 @@ + +The latest development version of SDL is available via Mercurial. +Mercurial allows you to get up-to-the-minute fixes and enhancements; +as a developer works on a source tree, you can use "hg" to mirror that +source tree instead of waiting for an official release. Please look +at the Mercurial website ( http://mercurial.selenic.com/ ) for more +information on using hg, where you can also download software for +Mac OS X, Windows, and Unix systems. + + hg clone -u SDL-1.2 http://hg.libsdl.org/SDL + +If you are building SDL with an IDE, you will need to copy the file +include/SDL_config.h.default to include/SDL_config.h before building. + +If you are building SDL via configure, you will need to run autogen.sh +before running configure. + +There is a web interface to the subversion repository at: + http://hg.libsdl.org/SDL/ + +There is an RSS feed available at that URL, for those that want to +track commits in real time. + diff --git a/distrib/sdl-1.2.15/README.MacOS b/distrib/sdl-1.2.15/README.MacOS new file mode 100644 index 0000000..acfd935 --- /dev/null +++ b/distrib/sdl-1.2.15/README.MacOS @@ -0,0 +1,63 @@ + +============================================================================== +Using the Simple DirectMedia Layer with MacOS 7,8,9 on PPC +============================================================================== + +These instructions are for people using the Apple MPW environment: +http://developer.apple.com/tools/mpw-tools/ + +CodeWarrior projects are available in the CWprojects directory. + +============================================================================== +I. Building the Simple DirectMedia Layer libraries: + (This step isn't necessary if you have the SDL binary distribution) + + First, unpack the MPWmake.sea.hqx archive and move SDL.make into the + SDL directory. + + Start MPW + + Set the current directory within MPW to the SDL toplevel directory. + + Build "SDL" (Type Command-B and enter "SDL" in the dialog) + + If everything compiles successfully, you now have the PPC libraries + "SDL" and "SDLmain.o" in the 'lib' subdirectory. + +============================================================================== +II. Building the Simple DirectMedia Layer test programs: + + First, unpack the MPWmake.sea.hqx archive, move the new rsrc directory to + the main SDL directory, and move the makefiles in the new test subdirectory + to the SDL 'test' subdirectory. + + Start MPW + + Set the current directory within MPW to the SDL 'test' subdirectory. + + Build the programs that have an associated MPW makefile (file ending + with .make), including "testwin", "testalpha", and "graywin". + + Copy the SDL library file into the test directory, and run! + +============================================================================== +III. Building the Simple DirectMedia Layer demo programs: + + Copy one of the test program Makefiles to the demo directory + and modify it to match the sources in the demo. + +============================================================================== +IV. Enjoy! :) + + If you have a project you'd like me to know about, or want to ask questions, + go ahead and join the SDL developer's mailing list by sending e-mail to: + + sdl-request@libsdl.org + + and put "subscribe" into the subject of the message. Or alternatively you + can use the web interface: + + http://www.libsdl.org/mailman/listinfo/sdl + +============================================================================== + diff --git a/distrib/sdl-1.2.15/README.MacOSX b/distrib/sdl-1.2.15/README.MacOSX new file mode 100644 index 0000000..2ea9f68 --- /dev/null +++ b/distrib/sdl-1.2.15/README.MacOSX @@ -0,0 +1,179 @@ +============================================================================== +Using the Simple DirectMedia Layer with Mac OS X +============================================================================== + +These instructions are for people using Apple's Mac OS X (pronounced +"ten"). + +From the developer's point of view, OS X is a sort of hybrid Mac and +Unix system, and you have the option of using either traditional +command line tools or Apple's IDE Xcode. + +To build SDL using the command line, use the standard configure and make +process: + + ./configure + make + sudo make install + +You can also build SDL as a Universal library (a single binary for both +PowerPC and Intel architectures), on Mac OS X 10.4 and newer, by using +the fatbuild.sh script in build-scripts: + sh build-scripts/fatbuild.sh + sudo build-scripts/fatbuild.sh install +This script builds SDL with 10.2 ABI compatibility on PowerPC and 10.4 +ABI compatibility on Intel architectures. For best compatibility you +should compile your application the same way. A script which wraps +gcc to make this easy is provided in test/gcc-fat.sh + +To use the library once it's built, you essential have two possibilities: +use the traditional autoconf/automake/make method, or use Xcode. + +============================================================================== +Using the Simple DirectMedia Layer with a traditional Makefile +============================================================================== + +An existing autoconf/automake build system for your SDL app has good chances +to work almost unchanged on OS X. However, to produce a "real" Mac OS X binary +that you can distribute to users, you need to put the generated binary into a +so called "bundle", which basically is a fancy folder with a name like +"MyCoolGame.app". + +To get this build automatically, add something like the following rule to +your Makefile.am: + +bundle_contents = APP_NAME.app/Contents +APP_NAME_bundle: EXE_NAME + mkdir -p $(bundle_contents)/MacOS + mkdir -p $(bundle_contents)/Resources + echo "APPL????" > $(bundle_contents)/PkgInfo + $(INSTALL_PROGRAM) $< $(bundle_contents)/MacOS/ + +You should replace EXE_NAME with the name of the executable. APP_NAME is what +will be visible to the user in the Finder. Usually it will be the same +as EXE_NAME but capitalized. E.g. if EXE_NAME is "testgame" then APP_NAME +usually is "TestGame". You might also want to use @PACKAGE@ to use the package +name as specified in your configure.in file. + +If your project builds more than one application, you will have to do a bit +more. For each of your target applications, you need a seperate rule. + +If you want the created bundles to be installed, you may want to add this +rule to your Makefile.am: + +install-exec-hook: APP_NAME_bundle + rm -rf $(DESTDIR)$(prefix)/Applications/APP_NAME.app + mkdir -p $(DESTDIR)$(prefix)/Applications/ + cp -r $< /$(DESTDIR)$(prefix)Applications/ + +This rule takes the Bundle created by the rule from step 3 and installs them +into $(DESTDIR)$(prefix)/Applications/. + +Again, if you want to install multiple applications, you will have to augment +the make rule accordingly. + + +But beware! That is only part of the story! With the above, you end up with +a bare bone .app bundle, which is double clickable from the Finder. But +there are some more things you should do before shipping yor product... + +1) The bundle right now probably is dynamically linked against SDL. That + means that when you copy it to another computer, *it will not run*, + unless you also install SDL on that other computer. A good solution + for this dilemma is to static link against SDL. On OS X, you can + achieve that by linkinag against the libraries listed by + sdl-config --static-libs + instead of those listed by + sdl-config --libs + Depending on how exactly SDL is integrated into your build systems, the + way to achieve that varies, so I won't describe it here in detail +2) Add an 'Info.plist' to your application. That is a special XML file which + contains some meta-information about your application (like some copyright + information, the version of your app, the name of an optional icon file, + and other things). Part of that information is displayed by the Finder + when you click on the .app, or if you look at the "Get Info" window. + More information about Info.plist files can be found on Apple's homepage. + + +As a final remark, let me add that I use some of the techniques (and some +variations of them) in Exult and ScummVM; both are available in source on +the net, so feel free to take a peek at them for inspiration! + + +============================================================================== +Using the Simple DirectMedia Layer with Xcode +============================================================================== + +These instructions are for using Apple's Xcode IDE to build SDL applications. + +- First steps + +The Xcode project files are in the "Xcode" directory. + +- Building the Framework + +The SDL Library is packaged as a framework bundle, an organized +relocatable folder heirarchy of executible code, interface headers, +and additional resources. For practical purposes, you can think of a +framework as a more user and system-friendly shared library, whose library +file behaves more or less like a standard UNIX shared library. + +To build the framework, simply open the framework project and build it. +By default, the framework bundle "SDL.framework" is installed in +/Library/Frameworks. Therefore, the testers and project stationary expect +it to be located there. However, it will function the same in any of the +following locations: + + ~/Library/Frameworks + /Local/Library/Frameworks + /System/Library/Frameworks + +- Build Options + There are two "Build Styles" (See the "Targets" tab) for SDL. + "Deployment" should be used if you aren't tweaking the SDL library. + "Development" should be used to debug SDL apps or the library itself. + +- Building the Testers + Open the SDLTest project and build away! + +- Using the Project Stationary + Copy the stationary to the indicated folders to access it from + the "New Project" and "Add target" menus. What could be easier? + +- Setting up a new project by hand + Some of you won't want to use the Stationary so I'll give some tips: + * Create a new "Cocoa Application" + * Add src/main/macosx/SDLMain.m , .h and .nib to your project + * Remove "main.c" from your project + * Remove "MainMenu.nib" from your project + * Add "$(HOME)/Library/Frameworks/SDL.framework/Headers" to include path + * Add "$(HOME)/Library/Frameworks" to the frameworks search path + * Add "-framework SDL -framework Foundation -framework AppKit" to "OTHER_LDFLAGS" + * Set the "Main Nib File" under "Application Settings" to "SDLMain.nib" + * Add your files + * Clean and build + +- Building from command line + Use pbxbuild in the same directory as your .pbproj file + +- Running your app + You can send command line args to your app by either invoking it from + the command line (in *.app/Contents/MacOS) or by entering them in the + "Executibles" panel of the target settings. + +- Implementation Notes + Some things that may be of interest about how it all works... + * Working directory + As defined in the SDL_main.m file, the working directory of your SDL app + is by default set to its parent. You may wish to change this to better + suit your needs. + * You have a Cocoa App! + Your SDL app is essentially a Cocoa application. When your app + starts up and the libraries finish loading, a Cocoa procedure is called, + which sets up the working directory and calls your main() method. + You are free to modify your Cocoa app with generally no consequence + to SDL. You cannot, however, easily change the SDL window itself. + Functionality may be added in the future to help this. + + +Known bugs are listed in the file "BUGS" diff --git a/distrib/sdl-1.2.15/README.MiNT b/distrib/sdl-1.2.15/README.MiNT new file mode 100644 index 0000000..eabe3eb --- /dev/null +++ b/distrib/sdl-1.2.15/README.MiNT @@ -0,0 +1,250 @@ +============================================================================== +Using the Simple DirectMedia Layer on Atari +============================================================================== + + + If you want to build SDL from sources to create SDL programs on Atari: + see sections I - II. + + If you want to create SDL programs on Atari using SDL binary build, + download it from my web site (URL at end of this file). + + If you want to configure a program using SDL on Atari, + see sections IV - VI. + + +============================================================================== +I. Building the Simple DirectMedia Layer libraries: + (This step isn't necessary if you have the SDL binary distribution) + + Do the classic configure, with --disable-shared --enable-static and: + + Tos version (should run everywhere): + --disable-threads + Tos does not support threads. + + MiNT version (maybe Magic, only for multitasking OS): + --disable-pthreads --enable-pth + Mint and Magic may supports threads, so audio can be used with current + devices, like Sun audio, or disk-writing support. Like Tos, interrupt + audio without threads is more suited for Atari machines. + + Then you can make ; make install it. + +============================================================================== +II. Building the Simple DirectMedia Layer test programs: + + Do the classic configure, then make. + + Run them ! + +============================================================================== +III. Enjoy! :) + + If you have a project you'd like me to know about, or want to ask questions, + go ahead and join the SDL developer's mailing list by sending e-mail to: + + sdl-request@libsdl.org + + and put "subscribe" into the subject of the message. Or alternatively you + can use the web interface: + + http://www.libsdl.org/mailman/listinfo/sdl + +============================================================================== +IV. What is supported: + +Keyboard (GEMDOS, BIOS, GEM, Ikbd) +Mouse (XBIOS, GEM, Ikbd, /dev/mouse (non working atm, disabled)) +Video (XBIOS (Fullscreen), GEM (Windowed and Fullscreen)) +Timer (VBL vector, GNU pth library) +Joysticks and joypads (Ikbd, Hardware) +Audio (Hardware, XBIOS, GSXB, MCSN, STFA, /dev/audio if threads enabled) +Threads (Multitasking OS only via GNU pth library) +Shared object loader (using LDG library from http://ldg.atari.org/) +Audio CD (MetaDOS) +OpenGL (using Mesa offscreen rendering driver) + +- Dependent driver combinations: +Video Kbd Mouse Timer Joysticks +xbios ikbd ikbd vbl(2) ikbd +xbios gemdos xbios vbl(2) xbios +xbios bios xbios vbl(2) xbios +gem gem gem(1) vbl(2) xbios + +Audio O/S Misc +dma8 All Uses MFP Timer A interrupt +xbios TOS Uses MFP Timer A interrupt +xbios MiNT Uses MFP Timer A interrupt +xbios Magic Uses MFP Timer A interrupt +stfa All Uses MFP interrupt +mcsn TOS Uses MFP Timer A interrupt +mcsn MiNT Uses MiNT thread +mcsn Magic Disabled +gsxb All Uses GSXB callback + +Joypad driver always uses hardware access. +OpenGL driver always uses OSMesa. + +(1) GEM does not report relative mouse motion, so xbios mouse driver is used +to report this type event. +A preliminary driver for /dev/mouse device driver is present, but is disabled +till it can be used with other applications simultaneously. + +(2) If you build SDL with threads using the GNU pth library, timers are +supported via the pth library. + +============================================================================== +V. Environment variables: + +SDL_VIDEODRIVER: + Set to 'xbios' to force xbios video driver + Set to 'gem' to force gem video driver + +SDL_VIDEO_GL_DRIVER: + Set to filename to load as OpenGL library, if you use SDL_GL_LoadLibrary() + +SDL_AUDIODRIVER: + Set to 'mint_gsxb' to force Atari GSXB audio driver + Set to 'mint_mcsn' to force Atari MCSN audio driver + Set to 'mint_stfa' to force Atari STFA audio driver + Set to 'mint_xbios' to force Atari Xbios audio driver + Set to 'mint_dma8' to force Atari 8 bits DMA audio driver + Set to 'audio' to force Sun /dev/audio audio driver + Set to 'disk' to force disk-writing audio driver + +SDL_ATARI_EVENTSDRIVER + Set to 'ikbd' to force IKBD 6301 keyboard driver + Set to 'gemdos' to force gemdos keyboard driver + Set to 'bios' to force bios keyboard driver + +SDL_JOYSTICK_ATARI: + Use any of these strings in the environment variable to enable or + disable a joystick: + + 'ikbd-joy1-[on|off]' for IKBD joystick on port 1 (hardware access) + 'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access) + 'porta-pad-[on|off]' for joypad and/or teamtap on port A + 'porta-joy0-[on|off]' for joystick 0 on port A + 'porta-joy1-[on|off]' for joystick 1 on port A + 'porta-lp-[on|off]' for lightpen on port A + 'porta-anpad-[on|off]' for analog paddle on port A + 'portb-pad-[on|off]' for joypad and/or teamtap on port B + 'portb-joy0-[on|off]' for joystick 0 on port B + 'portb-joy1-[on|off]' for joystick 1 on port B + 'portb-anpad-[on|off]' for analog paddle on port B + + Default configuration is: + 'ikbd-joy1-on' (if IKBD events driver enabled) + 'xbios-joy1-on' (if gemdos/bios/gem events driver enabled) + 'porta-pad-on portb-pad-on' (if available on the machine) + + port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives. + On such a port, you can only use a joypad OR 1 or 2 joysticks OR + a lightpen OR an analog paddle. You must disable joypad before + setting another controller. + + The second joystick port on IKBD is used by the mouse, so not usable. + Another problem with the IKBD: mouse buttons and joystick fire buttons + are wired together at the hardware level, it means: + port 0 port 0 port 1 + mouse left button = joystick fire 0 = joystick fire 1 + mouse right button = joystick fire 1 = joystick fire 0 + + Descriptions of joysticks/joypads: + - Joypads: 1 hat, 17 buttons (Atari Jaguar console-like). + - Joysticks: 1 hat, 1 button. + - Lightpen, analog paddles: 2 axis, 2 buttons. The 2 buttons are those + affected to 1 button joysticks on the same port. + +============================================================================== +VI. More informations about drivers: + +OpenGL: + The default is to use the Mesa offscreen driver (osmesa.ldg). If you want + to use an older OpenGL implementation, like mesa_gl.ldg or tiny_gl.ldg, + your program must use SDL_GL_LoadLibrary() to do so, and retrieve the + needed function pointers with SDL_LoadFunction(). In all cases, the OpenGL + context is taken care of by SDL itself, you just have to use gl* functions. + + However, there is one OpenGL call that has a different prototype in the old + implementations: glOrtho(). In the old implementations, it has 6 float as + parameters, in the standard one, it has 6 double parameters. If you want + to compile testdyngl, or any other SDL program that loads its OpenGL + library, you must change the glOrtho() prototype used in this program. In + osmesa.ldg, you can retrieve a glOrtho() with double parameters, by + searching for the function "glOrtho6d". + +Xbios video: + Video chip is detected using the _VDO cookie. + Screen enhancers are not supported, but could be if you know how to + use them. + + ST, STE, Mega ST, Mega STE: + 320x200x4 bits, shades of grey, available only for the purpose + of testing SDL. + TT: + 320x480x8 and 320x240x8 (software double-lined mode). + Falcon: + All modes supported by the current monitor (RVB or VGA). + BlowUp and Centscreen extended modes, ScreenBlaster 3 current mode. + Milan: + Experimental support + Clones and any machine with monochrome monitor: + Not supported. + +Gem video: + Automatically used if xbios not available. + + All machines: + Only the current resolution, if 8 bits or higher depth. + +IKBD keyboard, mouse and joystick driver: + Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon. + + Hades has an IKBD, but xbios is not available for video, so IKBD + driver is disabled. + +Gemdos and bios keyboard driver: + Available on all machines. + +Mouse and joystick xbios driver: + Available on all machines (I think). + +Joypad driver: + Available if _MCH cookie is STE or Falcon. Supports teamtap. + +PTH timer driver: + Available with multitasking OS. + +VBL timer driver: + Available on all machines (I think). + +Audio drivers: + Cookies _SND, MCSN, STFA and GSXB used to detect supported audio + capabilities. + + STE, Mega STE, TT: + 8 bits DMA (hardware access) + STFA, MCSN or GSXB driver if installed + Falcon: + 8 bits DMA (hardware access) + Xbios functions + STFA, MCSN or GSXB driver if installed + Other machines: + STFA, MCSN or GSXB driver if installed + + STFA driver: + http://removers.free.fr/softs/stfa.html + GSXB driver: + http://assemsoft.atari.org/gsxb/ + MacSound driver: + http://jf.omnis.ch/software/tos/ + MagicSound driver (MCSN,GSXB compatible): + http://perso.wanadoo.fr/didierm/ + X-Sound driver (GSXB compatible): + http://www.uni-ulm.de/~s_thuth/atari/xsound_e.html + +-- +Patrice Mandin +http://pmandin.atari.org/ diff --git a/distrib/sdl-1.2.15/README.NDS b/distrib/sdl-1.2.15/README.NDS new file mode 100644 index 0000000..e96a9ee --- /dev/null +++ b/distrib/sdl-1.2.15/README.NDS @@ -0,0 +1,22 @@ +The SDL port to the Nintendo DS + +This port uses the devKitPro toolchain, available from: +http://www.devkitpro.org + +Precompiled tools for cross-compiling on Linux are available from: +http://www.libsdl.org/extras/nds/devkitPro-20070503-linux.tar.gz + +todo: +add ds console specific features/optimizations +mouse/keyboard support +dual screen support + +build with: +cp include/SDL_config_nds.h include/SDL_config.h +make -f Makefile.ds + +included is an arm9/arm7 template to allow for sound streaming support. + +Enjoy, fix the source and share :) +Troy Davis(GPF) +http://gpf.dcemu.co.uk/ diff --git a/distrib/sdl-1.2.15/README.NanoX b/distrib/sdl-1.2.15/README.NanoX new file mode 100644 index 0000000..8418ff3 --- /dev/null +++ b/distrib/sdl-1.2.15/README.NanoX @@ -0,0 +1,97 @@ + ================================================================= + Patch version 0.9 of SDL(Simple DirectMedia Layer) for Nano-X API + ================================================================= + + Authors: Hsieh-Fu Tsai, clare@setabox.com + Greg Haerr, greg@censoft.com + + This patch is against SDL version 1.2.4. + It enhances previous patch 0.8 by providing direct framebuffer + access as well as dynamic hardware pixel type support, not + requiring a compile-time option setting for different framebuffer + modes. + Tested against Microwindows version 0.89pre9. + + Older Microwindows versions + =========================== + If running on a version older than Microwindows 0.89pre9, + the following items might need to be patched in Microwindows. + + 1. Patch src/nanox/client.c::GrClose() + It fixes the client side GrClose(). In the original version, + GrOpen() can only be called once. When the GrOpen() is called at + the second time, the program will terminate. In order to prevent + this situation, we need to insert "nxSocket = -1" after + "close(nxSocket)" in GrClose(). If you do not have this problem, + you may skip this step. + + 2. Patch src/nanox/clientfb.c to return absolute x,y coordinates + when using GrGetWindowFBInfo(). Copy the version 0.89pre9 + of src/nanox/clientfb.c to your system, or configure + using --disable-nanox-direct-fb. + + ============= + Quick Install + ============= + + 1. ./configure --disable-video-x11 --disable-video-fbcon \ + --enable-video-nanox \ + --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal] + 2. make clean + 3. make + 4. make install (as root) + + ============ + Nitty-gritty + ============ + + --enable-nanox-direct-fb Use direct framebuffer access + --enable-nanox-debug Show debug messages + --enable-nanox-share-memory Use shared-memory to speed up + + When running multi-threaded applications using SDL, such + as SMPEG, set THREADSAFE=Y in Microwindows' config file, + to enable GrXXX() system call critical section support. + + ============================================= + Some programs can be used to test this patch. + ============================================= + + 1. http://www.cs.berkeley.edu/~weimer/atris (a tetris-like game) + 2. http://www.libsdl.org/projects/newvox/ + 3. http://www.libsdl.org/projects/xflame/ + 4. http://www.libsdl.org/projects/optimum/ + 5. http://www.gnugeneration.com/software/loop/ + 6: http://www.lokigames.com/development/smpeg.php3 (SMPEG version 0.4.4) + + ========= + Todo List + ========= + + 1. Create hardware surface + 2. Create YUVOverlay on hardware + 3. Use OpenGL + 4. Gamma correction + 5. Hide/Change mouse pointer + 6. Better window movement control with direct fb access + 7. Palette handling in 8bpp could be improved + + ===================== + Supporting Institutes + ===================== + + Many thanks to go to Setabox Co., Ltd. and CML (Communication and + Multimedia Laboratory, http://www.cmlab.csie.ntu.edu.tw/) in the + Department of Computer Science and Information Engineering of + National Taiwan University for supporting this porting project. + + Century Embedded Technologies (http://embedded.censoft.com) + for this patch. + + =================== + Contact Information + =================== + + Welcome to give me any suggestion and to report bugs. + My e-mail address : clare@setabox.com or niky@cmlab.csie.ntu.edu.tw + or greg@censoft.com diff --git a/distrib/sdl-1.2.15/README.OS2 b/distrib/sdl-1.2.15/README.OS2 new file mode 100644 index 0000000..424b373 --- /dev/null +++ b/distrib/sdl-1.2.15/README.OS2 @@ -0,0 +1,281 @@ + +=========== +SDL on OS/2 +=========== + +Last updated on May. 17, 2006. + + +1. How to compile? +------------------ + +To compile this, you'll need the followings installed: +- The OS/2 Developer's Toolkit +- The OpenWatcom compiler + (http://www.openwatcom.org) + +First of all, you have to unzip the Watcom-OS2.zip file. This will result in a +file called "makefile" and a file called "setvars.cmd" in this folder (and some +more files...). + +Please edit the second, fourth and fifth lines of setvars.cmd file +to set the folders where the toolkit, the OW compiler and the FSLib are. +You won't need NASM yet (The Netwide Assembler), you can leave that line. +Run setvars.cmd, and you should get a shell in which you can +compile SDL. + +Check the "makefile" file. There is a line in there which determines if the +resulting SDL.DLL will be a 'debug' or a 'release' build. The 'debug' version +is full of printf()'s, so if something goes wrong, its output can help a lot +for debugging. + +Then run "wmake". +This should create the SDL12.DLL and the corresponding SDL12.LIB file here. + +To test applications, it's a good idea to use the 'debug' build of SDL, and +redirect the standard output and standard error output to files, to see what +happens internally in SDL. +(like: testsprite >stdout.txt 2>stderr.txt) + +To rebuild SDL, use the following commands in this folder: +wmake clean +wmake + + + +2. How to compile the testapps? +------------------------------- + +Once you have SDL12.DLL compiled, navigate into the 'test' folder, copy in +there the newly built SDL12.DLL, and copy in there FSLib.DLL. + +Then run "wmake" in there to compile some of the testapps. + + + +3. What is missing? +------------------- + +The following things are missing from this SDL implementation: +- MMX, SSE and 3DNOW! optimized video blitters? +- HW Video surfaces +- OpenGL support + + + +4. Special Keys / Full-Screen support +------------------------------------- + +There are two special hot-keys implemented: +- Alt+Home switches between fullscreen and windowed mode +- Alt+End simulates closing the window (can be used as a Panic key) +Only the LEFT Alt key will work. + + + +5. Joysticks on SDL/2 +--------------------- + +The Joystick detection only works for standard joysticks (2 buttons, 2 axes +and the like). Therefore, if you use a non-standard joystick, you should +specify its features in the SDL_OS2_JOYSTICK environment variable in a batch +file or CONFIG.SYS, so SDL applications can provide full capability to your +device. The syntax is: + +SET SDL_OS2_JOYSTICK=[JOYSTICK_NAME] [AXES] [BUTTONS] [HATS] [BALLS] + +So, it you have a Gravis GamePad with 4 axes, 2 buttons, 2 hats and 0 balls, +the line should be: + +SET SDL_OS2_JOYSTICK=Gravis_GamePad 4 2 2 0 + +If you want to add spaces in your joystick name, just surround it with +quotes or double-quotes: + +SET SDL_OS2_JOYSTICK='Gravis GamePad' 4 2 2 0 + +or + +SET SDL_OS2_JOYSTICK="Gravis GamePad" 4 2 2 0 + + Notive However that Balls and Hats are not supported under OS/2, and the +value will be ignored... but it is wise to define these correctly because +in the future those can be supported. + Also the number of buttons is limited to 2 when using two joysticks, +4 when using one joystick with 4 axes, 6 when using a joystick with 3 axes +and 8 when using a joystick with 2 axes. Notice however these are limitations +of the Joystick Port hardware, not OS/2. + + + +6. Proportional windows +----------------------- + +For some SDL applications it can be handy to have proportional windows, so +the windows will keep their aspect ratio when resized. +This can be achieved in two ways: + +- Before starting the given SDL application, set the + SDL_USE_PROPORTIONAL_WINDOW environment variable to something, e.g.: + + SET SDL_USE_PROPORTIONAL_WINDOW=1 + dosbox.exe + +- If you have a HOME environment variable set, then SDL will look for a file + in there called ".sdl.proportionals". If that file contains the name of the + currently running SDL executable, then that process will have proportional + windows automatically. + + Please note that this file is created automatically with default values + at the first run. + + + +7. Audio in SDL applications +---------------------------- + +Audio effects are one of the most important features in games. Creating audio +effects in sync with the game and without hickups and pauses in the audio are +very important things. + +However there are multithreaded SDL applications that have tight loops as their +main logic loop. This kills performance in OS/2, and takes too much CPU from +other threads in the same process, for example from the thread to create the +sound effects. + +For this reason, the OS/2 port of SDL can be instructed to run the audio thread +in high priority, which makes sure that there will be enough time for the +processing of the audio data. + +At default, SDL/2 runs the audio thread at ForegroundServer+0 priority. Well +written and well behaving SDL applications should work well in this mode. +For other applications, you can tell SDL/2 to run the audio thread at +TimeCritical priority by setting an env.variable before starting the SDL app: + + SET SDL_USE_TIMECRITICAL_AUDIO=1 + +Please note that this is a bit risky, because if the SDL application runs a +tight infinite loop in this thread, this will make the whole system +unresponsive, so use it with care, and only for applications that need it! + + + +8. Next steps... +---------------- + +Things to do: +- Implement missing stuffs (look for 'TODO' string in source code!) +- Finish video driver (the 'wincommon' can be a good example for missing + things like application icon and so on...) +- Enable MMX/SSE/SSE2 acceleration functions +- Rewrite CDROM support using DOS Ioctl for better support. + + + +9. Contacts +----------- + + You can contact the developers for bugs: + + Area Developer email + General (Audio/Video/System) Doodle doodle@scenergy.dfmk.hu + CDROM and Joystick Caetano daniel@caetano.eng.br + + Notice however that SDL/2 is 'in development' stage so ... if you want to help, +please, be our guest and contact us! + + + +10. Changelog of the OS/2 port +------------------------------ + +Version 1.2.10 - 2006-05-17 - Doodle + - Small modifications for v1.2.10 release + - Changed DLL name to include version info (currently SDL12.dll) + +Version 1.2 - 2006-05-01 - Doodle + - Modified makefile system to have only one makefile + - Included FSLib headers, DLL and LIB file + +Version 1.2 - 2006-02-26 - Doodle + - Updated the official SDL version with the OS/2 specific changes. + - Added support for real unicode keycode conversion. + +Version 1.2.7 - 2006-01-20 - Doodle + - Added support for selectively using timecritical priority for + audio threads by SDL_USE_TIMECRITICAL_AUDIO environment variable. + (e.g.: + SET SDL_USE_TIMECRITICAL_AUDIO=1 + dosbox.exe + ) + +Version 1.2.7 - 2005-12-22 - Doodle + - Added support for proportional SDL windows. + There are two ways to have proportional (aspect-keeping) windows for + a given SDL application: Either set the SDL_USE_PROPORTIONAL_WINDOW + environment variable to something before starting the application + (e.g.: + SET SDL_USE_PROPORTIONAL_WINDOW=1 + dosbox.exe + ) + or, if you have the HOME environment variable set, then SDL12.DLL will + create a file in that directory called .sdl.proportionals, and you can + put there the name of executable files that will be automatically made + proportional. + +Version 1.2.7 - 2005-10-14 - Doodle + - Enabled Exception handler code in FSLib to be able to restore original + desktop video mode in case the application crashes. + - Added the missing FSLib_Uninitialize() call into SDL. + (The lack of it did not cause problems, but it's cleaner this way.) + - Fixed a mouse problem in Fullscreen mode where any mouse click + re-centered the mouse. + +Version 1.2.7 - 2005-10-09 - Doodle + - Implemented window icon support + +Version 1.2.7 - 2005-10-03 - Doodle + - Reworked semaphore support again + - Tuned thread priorities + +Version 1.2.7 - 2005-10-02 - Doodle + - Added support for custom mouse pointers + - Fixed WM_CLOSE processing: give a chance to SDL app to ask user... + - Added support for MMX-accelerated audio mixers + - Other small fixes + +Version 1.2.7 - 2005-09-12 - Doodle + - Small fixes for DosBox incorporated into public release + - Fixed semaphore support (SDL_syssem.c) + - Fixed FSLib to have good clipping in scaled window mode, + and to prevent occasional desktop freezes. + +Version 1.2.7 - 2004-09-08a - Caetano + - Improved joystick support (general verifications about hardware). + - Added support up to 8 buttons in 2 axes joysticks and 6 buttons in 3 axes joysticks. + - Added support to environment variable SDL_OS2_JOYSTICK to specify a joystick. + - Improved Joystick test to handle every type of joystick and display only relevant information. + - Merged with Doodle 2004-09-08 + - Little tid up in README.OS2 + - Added explanation about SDL_OS2_JOYSTICK environment variable on README.OS2 + +Version 1.2.7 - 2004-09-07 - Caetano + - Merged with changes in headers for GCC compiling. + - Added Joystick support using basic IBM GAME$ support, allowing it to work with all joystick drivers since OS/2 2.1. + - Improved joystick detection (hacked!). OS/2 do not allow real joystick detection, so... + - Modified makefile in test to compile "testjoystick". Anyway, it's useless, since it seems to cause a lot of trouble in OS/2 (because os video routines, not Joystick support). + - Created separated Joystick test program to test only joystick functions. + - Improved joystick auto-centering. + - Improved the coordinate correction routine to use two scale factors for each axis. + +Version 1.2.7 - 2004-07-05 - Caetano + - Corrected the time returned by status in CDROM support (it was incorrect) + - Added the testcdrom.c and corrected the linking directive (it was causing an error) + +Version 1.2.7 - 2004-07-02a - Caetano + - Corrected a little problem in a comment at SDL-1.2.7\test\torturethread.c, line 18 (missing */, nested comment) + - Added CDROM support to tree (SDL-1.2.7\src\cdrom\os2\SDL_syscdrom.c) + - Modified makefile (SDL-1.2.7\src\makefiles.wat and SDL-1.2.7\watcom.mif) to build with CDROM support + - Added the "extra" SDL_types.h forgotten in 2004-07-02 version. + + diff --git a/distrib/sdl-1.2.15/README.PS3 b/distrib/sdl-1.2.15/README.PS3 new file mode 100644 index 0000000..c66467d --- /dev/null +++ b/distrib/sdl-1.2.15/README.PS3 @@ -0,0 +1,29 @@ + +SDL on Sony Playstation3 +------------------------ + +Installation: + First, you have to install the Cell SDK + - Download the Cell SDK installer RPM and ISO images to + a temporary directory such as /tmp/cellsdk. + - Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk + - Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm + - Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install + + You need to install the SPU-libs before installing SDL + - Go to SDL-1.2/src/video/ps3/spulibs/ + - Run make && make install + + Finally, install SDL + - Go to SDL-1.2/ and build SDL like any other GNU style package. + e.g. + - Build the configure-script with ./autogen.sh + - Configure SDL for your needs: ./configure --enable-video-ps3 ... + - Build and install it: make && make install + + +Todo: + - mouse/keyboard/controller support + +Have fun! + Dirk Herrendoerfer diff --git a/distrib/sdl-1.2.15/README.PicoGUI b/distrib/sdl-1.2.15/README.PicoGUI new file mode 100644 index 0000000..cdb6bed --- /dev/null +++ b/distrib/sdl-1.2.15/README.PicoGUI @@ -0,0 +1,50 @@ + ======================== + Using SDL with PicoGUI + ======================== + +- Originally contributed by Micah Dowty + +PicoGUI is a scalable GUI system with a unique architecture, primarily focused +on scalability to various embedded systems. You can find more information +including a FAQ at http://picogui.org + +To use the patch: + + 1. When compiling, add the "--enable-video-picogui" switch to ./configure + + 2. When running your program, ensure that the picogui driver for SDL + is in use by setting the SDL_VIDEODRIVER environment variable + to "picogui". + + 3. The program must also be linked to the C client library for PicoGUI + (libpgui.so). If the program is being compiled with a patched SDL + installed this should be done automatically. If you want to use an + existing binary with PicoGUI, you can set the LD_PRELOAD environment + variable to the path of your libpgui.so file. + +Capabilities: + + So far only basic functionality is provided on true color (linear16/24/32) + devices. Accessing a memory mapped bitmap, updating the display, and handling + mouse/keyboard input. This functionality has been tested with several + applications, including mplayer, Xine, sldroids, and Abuse. + +TODO list: + + - YUV overlays will be helpful for watching video on set top boxes or other + embedded devices that have some graphics acceleration hardware + + - Account for rotated bitmap storage in pgserver + + - Support for hiding or changing the cursor + + - The display should be centered when the SDL application is smaller + than the PicoGUI panel + + - Fullscreen or any other special modes + + - Support for indexed and grayscale modes + + - Probably much more... + +--- The End --- diff --git a/distrib/sdl-1.2.15/README.Porting b/distrib/sdl-1.2.15/README.Porting new file mode 100644 index 0000000..df61993 --- /dev/null +++ b/distrib/sdl-1.2.15/README.Porting @@ -0,0 +1,56 @@ + +* Porting To A New Platform + + The first thing you have to do when porting to a new platform, is look at +include/SDL_platform.h and create an entry there for your operating system. +The standard format is __PLATFORM__, where PLATFORM is the name of the OS. +Ideally SDL_platform.h will be able to auto-detect the system it's building +on based on C preprocessor symbols. + +There are two basic ways of building SDL at the moment: + +1. The "UNIX" way: ./configure; make; make install + + If you have a GNUish system, then you might try this. Edit configure.in, + take a look at the large section labelled: + "Set up the configuration based on the target platform!" + Add a section for your platform, and then re-run autogen.sh and build! + +2. Using an IDE: + + If you're using an IDE or other non-configure build system, you'll probably + want to create a custom SDL_config.h for your platform. Edit SDL_config.h, + add a section for your platform, and create a custom SDL_config_{platform}.h, + based on SDL_config.h.minimal and SDL_config.h.in + + Add the top level include directory to the header search path, and then add + the following sources to the project: + src/*.c + src/audio/*.c + src/cdrom/*.c + src/cpuinfo/*.c + src/events/*.c + src/file/*.c + src/joystick/*.c + src/stdlib/*.c + src/thread/*.c + src/timer/*.c + src/video/*.c + src/audio/disk/*.c + src/video/dummy/*.c + src/joystick/dummy/*.c + src/cdrom/dummy/*.c + src/thread/generic/*.c + src/timer/dummy/*.c + src/loadso/dummy/*.c + + +Once you have a working library without any drivers, you can go back to each +of the major subsystems and start implementing drivers for your platform. + +If you have any questions, don't hesitate to ask on the SDL mailing list: + http://www.libsdl.org/mailing-list.php + +Enjoy! + Sam Lantinga (slouken@libsdl.org) + diff --git a/distrib/sdl-1.2.15/README.QNX b/distrib/sdl-1.2.15/README.QNX new file mode 100644 index 0000000..995afbe --- /dev/null +++ b/distrib/sdl-1.2.15/README.QNX @@ -0,0 +1,155 @@ +README.QNX by Mike Gorchak , +Last changed at 24 Apr 2004. + +====================================================================== +Table of Contents: + +1. OpenGL. +2. Wheel and multi-button mouses. +3. CDROM handling issues. +4. Hardware video overlays. +5. Shared library building. +6. Some building issues. +7. Environment variables. + +====================================================================== +1. OpenGL: + + OpenGL works well and is stable, but fullscreen mode has not been +heavily tested yet. + If you have QNX RtP version 6.1.0 or above you must download the +Photon3D runtime from http://developers.qnx.com or install it from the +public repository or from the public CD, available with QNX. OS versi- +ons below 6.1.0 are not supported. + When creating an OpenGL context, software renderer mode is artifi- +cially selected (QSSL made acceleration only for Voodoo boards in +fullscreen mode, sorry but I don't have this board to test OpenGL - +maybe it works or maybe not :)). If you want acceleration - you can +remove one line in the source code: find the file SDL_ph_image.c and +remove the following + + OGLAttrib[OGLargc++]=PHOGL_ATTRIB_FORCE_SW; + +line in the ph_SetupOpenGLContext() function or change the argument to +PHOGL_ATTRIB_FORCE_HW or PHOGL_ATTRIB_FAVOR_HW. + +====================================================================== +2. Wheel and multi-button mouses: + + Photon emits keyboard events (key up and down) when the mouse +wheel is moved. The key_scan field appears valid, and it contains zero. +That is a basic method of detecting mouse wheel events under Photon. +It looks like a hack, but it works for me :) on various PC configura- +tions. + +I've tested it on: + +1. Genius Optical NetScroll/+ PS/2 (1 wheel) +2. A4Tech Optical GreatEye WheelMouse PS/2, model: WOP-35. (2 wheels + + 2 additional buttons). The wheel for vertical scrolling works as + usual, but the second wheel for horizontal scrolling emits two se- + quential events up or down, so it can provide faster scrolling than + the first wheel. Additional buttons don't emit any events, but it + looks like they're handled by photon in an unusual way - like click + to front, but works not with any window, looks like a fun bug-o-fe- + ature :). + +====================================================================== +3. CDROM handling issues: + + Access to CDROM can only be provided with 'root' privileges. I +can't do anything about that, /dev/cd0 has brw------- permissions and +root:root rights. + +====================================================================== +4. Hardware video overlays: + + Overlays can flicker during window movement, resizing, etc. It +happens because the photon driver updates the real window contents be- +hind the overlay, then draws the temporary chroma key color over the +window contents. It can be done without using the chroma key but that +causes the overlay to always be on top. So flickering during window +movement is preferred instead. + Double buffering code is temporarily disabled in the photon driver +code, because on my GF2-MX it can accidentally cause a buffer switch, +which causes the old frame to show. S3 Savage4 has the same problem, +but ATI Rage 128 doesn't. I think it can be fixed later. Current code +works very well, so maybe double buffering is not needed right now. + Something strange happens when you try to move the window with the +overlay beyond the left border of the screen. The overlay tries to +stay at position x=0, but when attempting to move it a bit more it +jumps to position x=-60 (on GF2-MX, on ATI Rage128 this value a bit +smaller). It's really strange, looks like the overlay doesn't like +negative coordinates. + +======================================================================= +5. Shared library building: + + A shared library can be built, but before running the autogen.sh +script you must manually delete the libtool.m4 stuff from the acinclu- +de.m4 file (it comes after the ESD detection code up to the end of the +file), because the libtool stuff in the acinclude.m4 file was very old +in SDL distribution before the version 1.2.7 and doesn't knew anything +about QNX. SDL 1.2.7 distribution contains the new libtool.m4 script, +but anyway it is broken :), Just remove it, then run "libtoolize +--force --copy", delete the file aclocal.m4 if it is exists and after +that run the autogen.sh script. SDL 1.2.8 contains fixed libtool.m4, +ltmain.sh and config.sub files, so you can just run the autogen.sh +script. + +====================================================================== +6. Some building issues: + + Feel free to not use the --disable-shared configure option if you' +ve read the above comment about 'Shared library building'. Otherwise +this option is strongly recommended, as without it the sdl-config +script will be broken. + + Run the configure script without x11 support, e.g.: + + a) for OpenGL support: + ./configure --prefix=/usr \ + --disable-video-x11 \ + --disable-shared + + b) without OpenGL support: + ./configure --prefix=/usr \ + --disable-video-x11 \ + --disable-shared \ + --disable-video-opengl + + And of course dont forget to specify --disable-debug, which is on +by default, to disable debug and enable the expensive optimizations. + + In the test directory also run the ./configure script without +x11 support, e.g.: + + ./configure --with-sdl-prefix=/usr \ + --with-sdl-exec-prefix=/usr \ + --prefix=/usr --without-x + +====================================================================== +7. Environment variables: + + Please note that the photon driver is sensible to the following +environmental variables: + + * SDL_PHOTON_FULLSCREEN_REFRESH - this environment variable controls +the refresh rate in all fullscreen modes. Be carefull !!! Photon +drivers usually do not checking the maximum refresh rate, which video +adapter or monitor supports. + + * SDL_VIDEO_WINDOW_POS - can be set in the "X,Y" format. If X and Y +coordinates are bigger than the current desktop resolution, then win- +dow positioning across virtual consoles is activated. If X and Y are +smaller than the desktop resolution then window positioning in the +current console is activated. The word "center" can be used instead of +coordinates, it produces the same behavior as SDL_VIDEO_CENTERED +environmental variable. + + * SDL_VIDEO_CENTERED - if this environmental variable exists then the +window centering is perfomed in the current virtual console. + +Notes: The SDL_VIDEO_CENTERED enviromental variable has greater pri- +ority than the SDL_VIDEO_WINDOW_POS in case if both variables are sup- +plied to the application. diff --git a/distrib/sdl-1.2.15/README.Qtopia b/distrib/sdl-1.2.15/README.Qtopia new file mode 100644 index 0000000..01627d1 --- /dev/null +++ b/distrib/sdl-1.2.15/README.Qtopia @@ -0,0 +1,84 @@ + +============================================================================== +Using the Simple DirectMedia Layer with Qtopia/OPIE +============================================================================== + +============================================================================== +I. Setting up the Qtopia development environment. + + This document will not explain how to setup the Qtopia development + environment. That is outside the scope of the document. You can read + more on this subject in this excellent howto: + + http://www.zauruszone.com/howtos/linux_compiler_setup_howto.html + +============================================================================== +II. Building the Simple DirectMedia Layer libraries using the arm + cross-compiler + + This is somewhat tricky since the name of the compiler binaries + differ from the standard. Also you should disable features not + needed. The command below works for me. Note that it's all one + line. You can also set the NM, LD etc environment variables + separately. + + NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --enable-video-qtopia --disable-video-dummy --disable-video-fbcon --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-video-x11 --disable-nasm --prefix=/opt/Qtopia/sharp/ arm-unknown-linux-gnu + + One thing to note is that the above configure will include joystick + support, even though you can't have joysticks on the Zaurus. The + reason for this is to avoid link / compile / runtime errors with + applications that have joystick support. + +============================================================================== +III. Building the Simple DirectMedia Layer test programs: + + After installing, making sure the correct sdl-config is in your + path, run configure like this: + + NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ AR=arm-linux-ar ./configure arm-unknown-linux-gnu + +============================================================================== +IV. Application porting notes + + One thing I have noticed is that applications sometimes don't exit + correctly. Their icon remains in the taskbar and they tend to + relaunch themselves automatically. I believe this problem doesn't + occur if you exit your application using the exit() method. However, + if you end main() with 'return 0;' or so, this seems to happen. + + Also note that when running in landscape mode - i.e requesting a + window that is HEIGHT pixels wide and WIDTH pixels high, where WIDTH + and HEIGHT normally is 240 and 320 - the image is blitted so that + the hardware buttons are on the left side of the display. This might + not always be desirable but such is the code today. + + +============================================================================== +V. Enjoy! :) + + If you have a project you'd like me to know about, or want to ask questions, + go ahead and join the SDL developer's mailing list by sending e-mail to: + + sdl-request@libsdl.org + + and put "subscribe" into the subject of the message. Or alternatively you + can use the web interface: + + http://www.libsdl.org/mailman/listinfo/sdl + +============================================================================== +VI. What is supported: + +Keyboard (Sharp Zaurus) +Hardware buttons +Stylus input (mouse) +Video. Allows fullscreen both in portrait mode (up to WIDTHxHEIGHT +size window) and in landscape mode (up to HEIGHTxWIDTH). + +All other SDL functionality works like a normal Linux system (threads, +audio etc). + +-- +David Hedbor +http://david.hedbor.org/ http://eongames.com/ + diff --git a/distrib/sdl-1.2.15/README.RISCOS b/distrib/sdl-1.2.15/README.RISCOS new file mode 100644 index 0000000..1ab8598 --- /dev/null +++ b/distrib/sdl-1.2.15/README.RISCOS @@ -0,0 +1,130 @@ +Readme for RISC OS port of SDL +============================== + +This document last updated on 2nd Februrary 2006 + +This is a RISC OS port of the Simple Direct Media Layer (SDL) by Alan Buckley with contributions from Peter Naulls. + +Details of the SDL can be found at http://www.libsdl.org. + +The source code including the RISC OS version can be obtained from: + +http://www.libsdl.org. + +Pre built libraries and many games and applications compiled for RISC OS using this library can be downloaded from The Unix Porting Project at http://www.riscos.info/unix/. + +This is released under the LGPL see the file COPYING for details. + + +Compiling applications under RISC OS +==================================== + +Add -ISDL: for the C compiler flags if you include the files in the SDL directory. e.g. #include "SDL/SDL.h" +Add -ISDL:SDL for the C compiler flags if you include the files directly. e.g. #include "SDL/SDL.h" + +Add -LSDL: -lSDL to the link stage of compilation. + +For example, to compile the testbitmap.c sample you could use: + +gcc -ISDL:SDL -LSDL: -lSDL testbitmap.c -otestbitmap + + +RISC OS port of SDL runtime information +======================================= + +Runtime requirements +-------------------- + +This library currently needs a minimum of RISC OS 3.6. The source code for the library (and a lot of the programs built with it) also need long file names. + +To use the audio you also need 16 bit sound and to have installed the DigitalRender module by Andreas Dehmel version 0.51 available from his +web site: http://home.t-online.de/~zarquon +This is loaded when needed by UnixLib. + +Note: As most programs ported from other OSes use high resolution graphics and a memory back buffer a machine with a StrongARM processor and 1 or 2MB of VRAM (or a better machine) is recomended. + + +RISC OS runtime parameters +-------------------------- + +Several environmental variables have been defined to make porting programs easier (i.e. By setting these variable you do not need to have source code differences between OSes). + +They are all defined on an application basis. + +The used below is found as follows: +1. Use the name of the program unless it is !RunImage +2. Check the folder specification for the folder !RunImage is run from. If it is a folder name use that name, otherwise if it is an environmental variable of the form use the value of XXX. + +The variables are: + +SDL$$TaskName + +The name of the task for RISC OS. If omitted then is used for the task name, + +SDL$$BackBuffer + +Set to 1 to use a system memory back buffer for the screen in full screen mode. Some programs on other systems assume their is always a back buffer even though the SDL specification specifies this is not the case. The current RISC OS implementation uses direct writes to the screen if a hardware fullscreen is requested. + +Set to 2 to use an ARM code full word copy. This is faster than the standard back buffer, but uses aligned words only so it is possible (but unlikely) for it to corrupt the screen for 8bpp and 16bpp modes. + +Set to 3 to use a RISC OS sprite as the back buffer. This is usually the slowest for most SDL applications, however it may be useful in the future as Sprite acceleration is added to various hardware that runs RISC OS. + +SDL$$CloseAction - set the action for the close icon. Again as programs don't match the specification you can set this to 0 to remove the close icon from the main window for applications where this does not affect the program. + + +RISC OS SDL port API notes +========================== + +Current level of implementation +------------------------------- + +The following list is an overview of how much of the SDL is implemented. The areas match the main areas of the SDL. + +video - Mostly done. Doesn't cover gamma, YUV-overlay or OpenGL. +Window Manager - Mostly done. SetIcon/IconifyWindow not implemented. +Events - Mostly done. Resize and some joystick events missing. +Joystick - Currently assumes a single joystick with 4 buttons. +Audio - Done +CDROM - Not implemented. +Threads - Done +Timers - Done + +Thread support can be removed by defining DISABLE_THREADS and recompiling the library. + +SDL API notes +------------- + +This section contains additional notes on some specific commands. + +SDL_SetVideoMode + On RISC OS a fullscreen mode directly accesses the screen. This can be modified by the environmental variable (SDL$$BackBuffer) or by using the SDL_SWSURFACE flag to write to an offscreen buffer that is updated using SDL_UpdateRects. + Open GL is not supported so SDL_OPENGL and SDL_OPENGLBLIT flags fail. + SDL_RESIZEABLE and SDL_NOFRAME flags are not supported. + +SDL_SetColors + In a wimp mode the screen colours are not changed for a hardware palette instead the RISC OS sprite colour mapping is used to get the best matching colours. + +SDL_CreateCursor + Inverted colour is not supported. + +SDL_WM_ToggleFullScreen + Currently this won't work if the application starts up in Fullscreen mode. + Toggling to fullscreen will only work if the monitor is set up to support the exact screen size requested. + +SDL_EnableUNICODE + Unicode translation used here is only really accurate for 7 bit characters. + +SDL_NumJoysticks/JoystickName etc. + Hardcoded to expect only 1 joystick with 4 buttons if the Joystick module is loaded. + +SDL_GetTicks + Timer used has only a centisecond accuracy. This applies to other time related functions. + +SDL_Delay + Modified to poll keyboard/mouse during the delay on the event thread. + + +Notes on current implementation +------------------------------- + +Keyboard and mouse are polled so if too long a time is spent between a call to SDL_PumpEvents, functions that use it, or SDL_Delay events can be missed. diff --git a/distrib/sdl-1.2.15/README.Symbian b/distrib/sdl-1.2.15/README.Symbian new file mode 100644 index 0000000..32d925a --- /dev/null +++ b/distrib/sdl-1.2.15/README.Symbian @@ -0,0 +1,23 @@ +============================================================================== +Using the Simple DirectMedia Layer with S60 3.x / Symbian 9.x +============================================================================== + +These instuctions are for people developing for S60 3.x. S60 3.x +uses Symbian OS so you need S60 SDK. + +extract "symbian.zip" into this folder. + +go to symbian folder + +bldmake bldfiles +abld build + +That produces WINSCW and ARMV5 versions of sdl.dll runtime library +and sdl.lib for development. +The sdlexe.dll/sdlexe.lib and sdlmain.lib are for easy SDL S60 +integration, please see http://www.mbnet.fi/~mertama/sdl.html +for further info. + + + + diff --git a/distrib/sdl-1.2.15/README.Watcom b/distrib/sdl-1.2.15/README.Watcom new file mode 100644 index 0000000..8ed391f --- /dev/null +++ b/distrib/sdl-1.2.15/README.Watcom @@ -0,0 +1,133 @@ + +Using SDL under Windows with the OpenWatcom compiler +==================================================== + +Prerequisites +------------- + +I have done the port under Windows XP Home with SP2 installed. Windows +2000 should also be working. I'm not so sure about ancient Windows NT, +since only DirectX 3 is available there. Building should be possible, +but running the compiled applications will probalbly fail with +SDL_VIDEODRIVER=directx. The windib driver should work, though. + +To compile and use the SDL with Open Watcom you will need the following: +- Open Watcom compiler. I used version 1.5. The environment variables + PATH, WATCOM and INCLUDE need to be set appropriately - please consult + the OpenWatcom documentation and instructions given during the + installation of the compiler. + My setup looks like this in owvars.bat: + set WATCOM=C:\watcom + set INCLUDE=%WATCOM%\h;%WATCOM%\h\nt + set PATH=%PATH%;%WATCOM%\binnt;%WATCOM%\binw +- A fairly recent DirectX SDK. The original unmodified DX8 SDK works, as + well as the minimal DirectX 7 SDK from the Allegro download site + (). +- The SDL sources from Subversion +- The file Watcom-Win32.zip (now available in Subversion) + + +Building the Library +-------------------- + +1) In the SDL base directory extract the archive Watcom-Win32.zip. This + creates a subdirectory named 'watcom'. +2) The makefile expects the environment variable DXDIR to be set to the + base directory of a DirectX SDK. I have tried a stock DX8 SDK from + Microsoft as well as the minimal DirectX 7 SDK from the Allegro + download site. + You can also edit the makefile directly and hard code your path to + the SDK on your system. + I have this in my setup: + set DXDIR=D:\devel\DX8_SDK +3) Enter the watcom directory and run + wmake sdl +4) All tests from the test directory are working and can be built by + running + wmake tests + +Notes: + + The makefile offers some options to tweak the way the library is built. + You have at your disposal the option to build a static (default) + library, or a DLL (with tgt=dll). You can also choose whether to build + a Release (default) or a Debug version (with build=debug) of the tests + and library. Please consult the usage comment at the top of the + makefile for usage instructions. + + If you specify a test target (i.e. 'wmake tests' for all tests, or + selected targets like 'wmake testgl testvidinfo testoverlay2'), the + tests are always freshly compiled and linked. This is done to + minimise hassle when switching between library versions (static vs. + DLL), because they require subtly different options. + Also, the test executables are put directly into the test directory, + so they can find their data files. The clean target of the makefile + removes the test executables and the SDL.dll file from the test + directory. + + To use the library in your own projects with Open Watcom, you can use + the way the tests are built as base of your own build environment. + + The library can also be built with the stack calling convention of the + compiler (-6s instead of -6r). + + +Test applications +----------------- + +I've tried to make all tests work. The following table gives an overview +of the current status. + + Testname Status +~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +checkkeys + +graywin + +loopwave + +testalpha + +testbitmap + +testdyngl + +testerror + +testfile + +testgamma + +testgl + +testhread + +testiconv - (all failed) +testkeys + +testlock + +testoverlay + (needs 'set SDL_VIDEODRIVER=directx') +testoverlay2 + (needs 'set SDL_VIDEODRIVER=directx') +testpalette + +testplatform + +testsem + +testsprite + +testtimer + +testver + +testvidinfo + +testwin ? (fading doesn't seem right) +testwm + +torturethread + +testcdrom + +testjoystick not tested +threadwin + +testcursor + + + +TODO +---- + +There is room for further improvement: +- Test joystick functionality. +- Investigate fading issue in 'testwin' test. +- Fix the UTF-8 support. +- Adapt the makefile/object file list to support more target systems +- Use "#pragma aux" syntax for the CPU info functions. + + +Questions and Comments +---------------------- + +Please direct any questions or comments to me: + + Happy Coding! + + Marc Peter diff --git a/distrib/sdl-1.2.15/README.WinCE b/distrib/sdl-1.2.15/README.WinCE new file mode 100644 index 0000000..b78d24c --- /dev/null +++ b/distrib/sdl-1.2.15/README.WinCE @@ -0,0 +1,55 @@ + +Project files for embedded Visual C++ 3.0, 4.0 and +Visual Studio 2005 can be found in the VisualCE directory. + +SDL supports GAPI and WinDib output for Windows CE. + +GAPI driver supports: + +- all possible WinCE devices (Pocket PC, Smartphones, HPC) + with different orientations of video memory and resolutions. +- 4, 8 and 16 bpp devices +- special handling of 8bpp on 8bpp devices +- VGA mode, you can even switch between VGA and GAPI in runtime + (between 240x320 and 480x640 for example). On VGA devices you can + use either GAPI or VGA. +- Landscape mode and automatic rotation of buttons and stylus coordinates. + To enable landscape mode make width of video screen bigger than height. + For example: + SDL_SetVideoMode(320,240,16,SDL_FULLSCREEN) +- WM2005 +- SDL_ListModes + +NOTE: +There are several SDL features not available in the WinCE port of SDL. + +- DirectX is not yet available +- Semaphores are not available +- Joystick support is not available +- CD-ROM control is not available + +In addition, there are several features that run in "degraded" mode: + +Preprocessor Symbol Effect +=================== ================================= + +SDL_systimer.c: +USE_GETTICKCOUNT Less accurate values for SDL time functions +USE_SETTIMER Use only a single marginally accurate timer + +SDL_syswm.c: +DISABLE_ICON_SUPPORT Can't set the runtime window icon + +SDL_sysmouse.c: +USE_STATIC_CURSOR Only the arrow cursor is available + +SDL_sysevents.c: +NO_GETKEYBOARDSTATE Can't get modifier state on keyboard focus + +SDL_dibevents.c: +NO_GETKEYBOARDSTATE Very limited keycode translation + +SDL_dibvideo.c: +NO_GETDIBITS Can't distinguish between 15 bpp and 16 bpp +NO_CHANGEDISPLAYSETTINGS No fullscreen support +NO_GAMMA_SUPPORT Gamma correction not available diff --git a/distrib/sdl-1.2.15/README.wscons b/distrib/sdl-1.2.15/README.wscons new file mode 100644 index 0000000..349c89c --- /dev/null +++ b/distrib/sdl-1.2.15/README.wscons @@ -0,0 +1,107 @@ +============================================================================== +Using the Simple DirectMedia Layer with OpenBSD/wscons +============================================================================== + +The wscons SDL driver can be used to run SDL programs on OpenBSD +without running X. So far, the driver only runs on the Sharp Zaurus, +but the driver is written to be easily extended for other machines. +The main missing pieces are blitting routines for anything but 16 bit +displays, and keycode maps for other keyboards. Also, there is no +support for hardware palettes. + +There is currently no mouse support. + +To compile SDL with support for wscons, use the +"--enable-video-wscons" option when running configure. I used the +following command line: + +./configure --disable-oss --disable-ltdl --enable-pthread-sem \ + --disable-esd --disable-arts --disable-video-aalib \ + --enable-openbsdaudio --enable-video-wscons \ + --prefix=/usr/local --sysconfdir=/etc + + +Setting the console device to use +================================= + +When starting an SDL program on a wscons console, the driver uses the +current virtual terminal (usually /dev/ttyC0). To force the driver to +use a specific terminal device, set the environment variable +SDL_WSCONSDEV: + +bash$ SDL_WSCONSDEV=/dev/ttyC1 ./some-sdl-program + +This is especially useful when starting an SDL program from a remote +login prompt (which is great for development). If you do this, and +want to use keyboard input, you should avoid having some other program +reading from the used virtual console (i.e., do not have a getty +running). + + +Rotating the display +==================== + +The display can be rotated by the wscons SDL driver. This is useful +for the Sharp Zaurus, since the display hardware is wired so that it +is correctly rotated only when the display is folded into "PDA mode." +When using the Zaurus in "normal," or "keyboard" mode, the hardware +screen is rotated 90 degrees anti-clockwise. + +To let the wscons SDL driver rotate the screen, set the environment +variable SDL_VIDEO_WSCONS_ROTATION to "CW", "CCW", or "UD", for +clockwise, counter clockwise, and upside-down rotation respectively. +"CW" makes the screen appear correct on a Sharp Zaurus SL-C3100. + +When using rotation in the driver, a "shadow" frame buffer is used to +hold the intermediary display, before blitting it to the actual +hardware frame buffer. This slows down performance a bit. + +For completeness, the rotation "NONE" can be specified to use a shadow +frame buffer without actually rotating. Unsetting +SDL_VIDEO_WSCONS_ROTATION, or setting it to '' turns off the shadow +frame buffer for maximum performance. + + +Running MAME +============ + +Since my main motivation for writing the driver was playing MAME on +the Zaurus, I'll give a few hints: + +XMame compiles just fine under OpenBSD. + +I'm not sure this is strictly necessary, but set + +MY_CPU = arm + +in makefile.unix, and + +CFLAGS.arm = -DLSB_FIRST -DALIGN_INTS -DALIGN_SHORTS + +in src/unix/unix.max + +to be sure. + +The latest XMame (0.101 at this writing) is a very large program. +Either tinker with the make files to compile a version without support +for all drivers, or, get an older version of XMame. My recommendation +would be 0.37b16. + +When running MAME, DO NOT SET SDL_VIDEO_WSCONS_ROTATION! Performace +is MUCH better without this, and it is COMPLETELY UNNECESSARY, since +MAME can rotate the picture itself while drawing, and does so MUCH +FASTER. + +Use the Xmame command line option "-ror" to rotate the picture to the +right. + + +Acknowledgments +=============== + +I studied the wsfb driver for XFree86/Xorg quite a bit before writing +this, so there ought to be some similarities. + + +-- +Staffan Ulfberg diff --git a/distrib/sdl-1.2.15/SDL.qpg.in b/distrib/sdl-1.2.15/SDL.qpg.in new file mode 100644 index 0000000..821faa3 --- /dev/null +++ b/distrib/sdl-1.2.15/SDL.qpg.in @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + QNX.ORG.RU Community + + + QNX.ORG.RU Team + Mike Gorchak + mike@malva.ua + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Library + SDL + 1 + http://qnx.org.ru/repository + 2.6 + + + + Simple DirectMedia Layer (SDL) + SDL + slouken@libsdl.org + Public + public + http://www.libsdl.org + + slouken@libsdl.org + Sam Lantinga + http://www.libsdl.org + + slouken@libsdl.org + + + This is the Simple DirectMedia Layer (SDL), a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. + This is the Simple DirectMedia Layer (SDL), a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. This is the libraries, include files and other resources you can use to develop and run SDL applications. + http://www.libsdl.org + + + + + @VERSION@ + Medium + Stable + + + 1 + + GNU Lesser General Public License + + + + Software Development/Libraries and Extensions/C Libraries + SDL,audio,graphics,demos,games,emulators,direct,media,layer + qnx6 + none + Photon + Console + Developer + User + + repdata://LicenseUrl/COPYING + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/SDL.spec.in b/distrib/sdl-1.2.15/SDL.spec.in new file mode 100644 index 0000000..dbda112 --- /dev/null +++ b/distrib/sdl-1.2.15/SDL.spec.in @@ -0,0 +1,113 @@ +Summary: Simple DirectMedia Layer +Name: SDL +Version: @SDL_VERSION@ +Release: 1 +Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz +URL: http://www.libsdl.org/ +License: LGPL +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +Prefix: %{_prefix} +%ifos linux +Provides: libSDL-1.2.so.0 +%endif + +%define __defattr %defattr(-,root,root) +%define __soext so + +%description +This is the Simple DirectMedia Layer, a generic API that provides low +level access to audio, keyboard, mouse, and display framebuffer across +multiple platforms. + +%package devel +Summary: Libraries, includes and more to develop SDL applications. +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This is the Simple DirectMedia Layer, a generic API that provides low +level access to audio, keyboard, mouse, and display framebuffer across +multiple platforms. + +This is the libraries, include files and other resources you can use +to develop SDL applications. + + +%prep +%setup -q + +%build +%ifos linux +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-aalib --disable-video-directfb --disable-video-ggi --disable-video-svga +%else +%configure +%endif +make + +%install +rm -rf $RPM_BUILD_ROOT +%ifos linux +make install prefix=$RPM_BUILD_ROOT%{prefix} \ + bindir=$RPM_BUILD_ROOT%{_bindir} \ + libdir=$RPM_BUILD_ROOT%{_libdir} \ + includedir=$RPM_BUILD_ROOT%{_includedir} \ + datadir=$RPM_BUILD_ROOT%{_datadir} \ + mandir=$RPM_BUILD_ROOT%{_mandir} +ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0 +%else +%makeinstall +%endif + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%{__defattr} +%doc README-SDL.txt COPYING CREDITS BUGS +%{_libdir}/lib*.%{__soext}.* + +%files devel +%{__defattr} +%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html +%doc docs/index.html docs/html +%{_bindir}/*-config +%{_libdir}/lib*.a +%{_libdir}/lib*.la +%{_libdir}/lib*.%{__soext} +%dir %{_includedir}/SDL +%{_includedir}/SDL/*.h +%{_libdir}/pkgconfig/sdl.pc +%{_datadir}/aclocal/* +%{_mandir}/man3/* + +%changelog +* Tue May 16 2006 Sam Lantinga +- Removed support for Darwin, due to build problems on ps2linux + +* Mon Jan 03 2004 Anders Bjorklund +- Added support for Darwin, updated spec file + +* Wed Jan 19 2000 Sam Lantinga +- Re-integrated spec file into SDL distribution +- 'name' and 'version' come from configure +- Some of the documentation is devel specific +- Removed SMP support from %build - it doesn't work with libtool anyway + +* Tue Jan 18 2000 Hakan Tandogan +- Hacked Mandrake sdl spec to build 1.1 + +* Sun Dec 19 1999 John Buswell +- Build Release + +* Sat Dec 18 1999 John Buswell +- Add symlink for libSDL-1.0.so.0 required by sdlbomber +- Added docs + +* Thu Dec 09 1999 Lenny Cartier +- v 1.0.0 + +* Mon Nov 1 1999 Chmouel Boudjnah +- First spec file for Mandrake distribution. + +# end of file diff --git a/distrib/sdl-1.2.15/TODO b/distrib/sdl-1.2.15/TODO new file mode 100644 index 0000000..65bb01c --- /dev/null +++ b/distrib/sdl-1.2.15/TODO @@ -0,0 +1,25 @@ + +Wish list for the 1.3 development branch: +http://bugzilla.libsdl.org/ + + * Add mousewheel events (new unified event architecture?) + * DirectInput joystick support needs to be implemented + * Be able to enumerate and select available audio and video drivers + * Fullscreen video mode support for Mac OS X + * Explicit vertical retrace wait (maybe separate from SDL_Flip?) + * Shaped windows, windows without borders + * Multiple windows, multiple display support + * SDL_INIT_EVENTTHREAD on Windows and MacOS? + * Add a timestamp to events + * Add audio input API + * Add hardware accelerated scaled blit + * Add hardware accelerated alpha blits + * Redesign blitting architecture to allow blit plugins + +In the jump from 1.2 to 1.3, we should change the SDL_Rect members to +int and evaluate all the rest of the datatypes. This is the only place +we should do it though, since the 1.2 series should not break binary +compatibility in this way. + +Requests: + * PCM and CDROM volume control (deprecated, but possible) diff --git a/distrib/sdl-1.2.15/VisualC.html b/distrib/sdl-1.2.15/VisualC.html new file mode 100644 index 0000000..2923495 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC.html @@ -0,0 +1,159 @@ + + + Using SDL with Microsoft Visual C++ + + +

+ Using SDL with Microsoft Visual C++ 5,6 and 7 +

+

+ by Lion Kimbro and additions by + James Turk +

+

+ You can either use the precompiled libraries from + the SDL Download web site , or you can build SDL yourself. +

+

+ Building SDL +

+

+ Go into the VisualC + directory that is created, and double-click on the VC++ file "SDL.dsw" + ("SDL.sln"). This should open up the IDE. +

+

+ You may be prompted at this point to upgrade the workspace, should you be using + a more recent version of Visual C++. If so, allow the workspace to be upgraded. +

+

+ Build the .dll and .lib files. +

+

+ This is done by right clicking on each project in turn (Projects are listed in + the Workspace panel in the FileView tab), and selecting "Build". +

+

+ If you get an error about SDL_config.h being missing, you should + copy include/SDL_config.h.default to include/SDL_config.h and try again. +

+

+ You may get a few warnings, but you should not get any errors. You do have to + have at least the DirectX 5 SDK installed, however. The latest + version of DirectX can be downloaded or purchased on a cheap CD (my + recommendation) from Microsoft . +

+

+ Later, we will refer to the following .lib and .dll files that have just been + generated: +

+
    +
  • SDL.dll
  • +
  • SDL.lib
  • +
  • SDLmain.lib
  • +
+

+ Search for these using the Windows Find (Windows-F) utility, if you don't + already know where they should be. For those of you with a clue, look inside + the Debug or Release directories of the subdirectories of the Project folder. + (It might be easier to just use Windows Find if this sounds confusing. And + don't worry about needing a clue; we all need visits from the clue fairy + frequently.) +

+

+ Creating a Project with SDL +

+

+ Create a project as a Win32 Application. +

+

+ Create a C++ file for your project. +

+

+ Set the C runtime to "Multi-threaded DLL" in the menu: Project|Settings|C/C++ + tab|Code Generation|Runtime Library . +

+

+ Add the SDL include directory to your list of includes in the + menu: Project|Settings|C/C++ tab|Preprocessor|Additional include directories + . +
+ VC7 Specific: Instead of doing this I find it easier to + add the include and library directories to the list that VC7 keeps. Do this by + selecting Tools|Options|Projects|VC++ Directories and under the "Show + Directories For:" dropbox select "Include Files", and click the "New Directory + Icon" and add the [SDLROOT]\include directory (ex. If you installed to + c:\SDL-1.2.5\ add c:\SDL-1.2.5\include). Proceed to change the + dropbox selection to "Library Files" and add [SDLROOT]\lib. +

+

+ The "include directory" I am referring to is the include folder + within the main SDL directory (the one that this HTML file located within). +

+

+ Now we're going to use the files that we had created earlier in the Build SDL + step. +

+

+ Copy the following files into your Project directory: +

+
    +
  • SDL.dll
  • +
+

+ Add the following files to your project (It is not necessary to copy them to + your project directory): +

+
    +
  • SDL.lib
  • +
  • SDLmain.lib
  • +
+

+ (To add them to your project, right click on your project, and select "Add + files to project") +

+

Instead of adding the files to your project it is more + desireable to add them to the linker options: Project|Properties|Linker|Command + Line and type the names of the libraries to link with in the "Additional + Options:" box.  Note: This must be done for each build + configuration (eg. Release,Debug).

+

+ SDL 101, First Day of Class +

+

+ Now create the basic body of your project. The body of your program should take + the following form: +

+#include "SDL.h"
+
+int main( int argc, char* argv[] )
+{
+  // Body of the program goes here.
+  return 0;
+}
+
+ +

+

+ That's it! +

+

+ I hope that this document has helped you get through the most difficult part of + using the SDL: installing it. Suggestions for improvements to this document + should be sent to the writers of this document. +

+

+ Thanks to Paulus Esterhazy (pesterhazy@gmx.net), for the work on VC++ port. +

+

+ This document was originally called "VisualC.txt", and was written by + Sam Lantinga. +

+

+ Later, it was converted to HTML and expanded into the document that you see + today by Lion Kimbro. +

+

Minor Fixes and Visual C++ 7 Information (In Green) was added by James Turk +

+ + diff --git a/distrib/sdl-1.2.15/VisualC/SDL.dsw b/distrib/sdl-1.2.15/VisualC/SDL.dsw new file mode 100644 index 0000000..63128a8 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL.dsw @@ -0,0 +1,41 @@ +Microsoft Developer Studio Workspace File, Format Version 5.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "SDL"=.\SDL\SDL.DSP - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "SDLmain"=.\SDLmain\SDLmain.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/distrib/sdl-1.2.15/VisualC/SDL.sln b/distrib/sdl-1.2.15/VisualC/SDL.sln new file mode 100644 index 0000000..0d5edbc --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL.sln @@ -0,0 +1,45 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL.vcproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain.vcproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release_NoSTDIO|Win32 = Release_NoSTDIO|Win32 + Release_NoSTDIO|x64 = Release_NoSTDIO|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.ActiveCfg = Debug|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Win32.Build.0 = Debug|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.ActiveCfg = Debug|x64 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|x64.Build.0 = Debug|x64 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.ActiveCfg = Release|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|Win32.Build.0 = Release|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.ActiveCfg = Release|x64 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release_NoSTDIO|x64.Build.0 = Release|x64 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.ActiveCfg = Release|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Win32.Build.0 = Release|Win32 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.ActiveCfg = Release|x64 + {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.Build.0 = Release|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.ActiveCfg = Debug|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Win32.Build.0 = Debug|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.ActiveCfg = Debug|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|x64.Build.0 = Debug|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.ActiveCfg = Release_NoSTDIO|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|Win32.Build.0 = Release_NoSTDIO|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.ActiveCfg = Release_NoSTDIO|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release_NoSTDIO|x64.Build.0 = Release_NoSTDIO|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.ActiveCfg = Release|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Win32.Build.0 = Release|Win32 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.ActiveCfg = Release|x64 + {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/distrib/sdl-1.2.15/VisualC/SDL/SDL.dsp b/distrib/sdl-1.2.15/VisualC/SDL/SDL.dsp new file mode 100644 index 0000000..83838fe --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL/SDL.dsp @@ -0,0 +1,546 @@ +# Microsoft Developer Studio Project File - Name="SDL" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=SDL - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "SDL.MAK". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "SDL.MAK" CFG="SDL - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SDL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "SDL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "SDL - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "NDEBUG" /D "_WINDOWS" /D _WIN32_WINNT=0x0400 /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 winmm.lib dxguid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386 + +!ELSEIF "$(CFG)" == "SDL - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\include" /D "_DEBUG" /D "_WINDOWS" /D _WIN32_WINNT=0x0400 /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 winmm.lib dxguid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "SDL - Win32 Release" +# Name "SDL - Win32 Debug" +# Begin Source File + +SOURCE=..\..\src\video\blank_cursor.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\default_cursor.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\Directx.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_active.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audio.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audio_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiocvt.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiomem.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_0.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_1.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_A.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_A.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_N.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_bmp.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\cdrom\SDL_cdrom.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\cpuinfo\SDL_cpuinfo.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_cursor.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_cursor_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windib\SDL_dibaudio.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windib\SDL_dibaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibevents.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibevents_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibvideo.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\disk\SDL_diskaudio.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\disk\SDL_diskaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\dummy\SDL_dummyaudio.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\dummy\SDL_dummyaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windx5\SDL_dx5audio.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windx5\SDL_dx5audio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5events.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5events_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5video.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5video.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5yuv.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windx5\SDL_dx5yuv_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_error.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_error_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_events.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_events_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_expose.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_fatal.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_fatal.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_gamma.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_getenv.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_iconv.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_joystick.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_joystick_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_keyboard.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_leaks.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_lowvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_malloc.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer_MMX_VC.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\win32\SDL_mmjoystick.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_mouse.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullevents.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullevents_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullmouse.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullmouse_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullvideo.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_pixels.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_pixels_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_qsort.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_quit.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_resize.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_RLEaccel.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_RLEaccel_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\file\SDL_rwops.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_stretch.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_stretch_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_stdlib.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_string.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_surface.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_sysaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\cdrom\win32\SDL_syscdrom.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\cdrom\SDL_syscdrom.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_syscond.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysevents.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_sysevents.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_sysjoystick.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\loadso\win32\SDL_sysloadso.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysmouse.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysmouse_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_sysmutex.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_syssem.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_systhread.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_systhread.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_systhread_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\win32\SDL_systimer.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_systimer.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_sysvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_syswm.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_syswm_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_thread.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_thread_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_timer.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_timer_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_video.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_vkeys.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_wave.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_wave.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_wingl.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_wingl_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv_sw.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv_sw_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuvfuncs.h +# End Source File +# Begin Source File + +SOURCE=.\Version.rc +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\Wmmsg.h +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/SDL/SDL.vcproj b/distrib/sdl-1.2.15/VisualC/SDL/SDL.vcproj new file mode 100644 index 0000000..1dffaea --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL/SDL.vcproj @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/SDL/Version.rc b/distrib/sdl-1.2.15/VisualC/SDL/Version.rc new file mode 100644 index 0000000..3147730 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL/Version.rc @@ -0,0 +1,105 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winresrc.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,2,15,0 + PRODUCTVERSION 1,2,15,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "SDL\0" + VALUE "FileVersion", "1, 2, 15, 0\0" + VALUE "InternalName", "SDL\0" + VALUE "LegalCopyright", "Copyright © 2012 Sam Lantinga\0" + VALUE "OriginalFilename", "SDL.dll\0" + VALUE "ProductName", "Simple DirectMedia Layer\0" + VALUE "ProductVersion", "1, 2, 15, 0\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/distrib/sdl-1.2.15/VisualC/SDL/resource.h b/distrib/sdl-1.2.15/VisualC/SDL/resource.h new file mode 100644 index 0000000..cbfd81d --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDL/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by Version.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.dsp b/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.dsp new file mode 100644 index 0000000..eafa40a --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.dsp @@ -0,0 +1,106 @@ +# Microsoft Developer Studio Project File - Name="SDLmain" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=SDLmain - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "SDLmain.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "SDLmain.mak" CFG="SDLmain - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SDLmain - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "SDLmain - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "SDLmain - Win32 Release_NoSTDIO" (based on\ + "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe + +!IF "$(CFG)" == "SDLmain - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /I "..\..\include\SDL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Z7 /Od /I "..\..\include" /I "..\..\include\SDL" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 Release_NoSTDIO" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SDLmain_" +# PROP BASE Intermediate_Dir "SDLmain_" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release_NOSTDIO" +# PROP Intermediate_Dir "Release_NOSTDIO" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /I "..\..\include\SDL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /I "..\..\include\SDL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "NO_STDIO_REDIRECT" /YX /FD /c +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "SDLmain - Win32 Release" +# Name "SDLmain - Win32 Debug" +# Name "SDLmain - Win32 Release_NoSTDIO" +# Begin Source File + +SOURCE=..\..\Src\Main\Win32\SDL_win32_main.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.vcproj b/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.vcproj new file mode 100644 index 0000000..95b0afc --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/SDLmain/SDLmain.vcproj @@ -0,0 +1,422 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.dsp b/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.dsp new file mode 100644 index 0000000..3af83af --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="graywin" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=graywin - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "graywin.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "graywin.mak" CFG="graywin - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "graywin - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "graywin - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "graywin - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "graywin - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "graywin - Win32 Release" +# Name "graywin - Win32 Debug" +# Begin Source File + +SOURCE=..\..\..\test\graywin.c +# End Source File +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.vcproj b/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.vcproj new file mode 100644 index 0000000..675dfed --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/graywin/graywin.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.dsp b/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.dsp new file mode 100644 index 0000000..d0f82e4 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="loopwave" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=loopwave - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "loopwave.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "loopwave.mak" CFG="loopwave - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "loopwave - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "loopwave - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "loopwave - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "loopwave - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "loopwave - Win32 Release" +# Name "loopwave - Win32 Debug" +# Begin Source File + +SOURCE=..\..\..\Test\Loopwave.c +# End Source File +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.vcproj b/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.vcproj new file mode 100644 index 0000000..5fc5d9c --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/loopwave/loopwave.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.dsp b/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.dsp new file mode 100644 index 0000000..286dd77 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testalpha" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testalpha - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testalpha.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testalpha.mak" CFG="testalpha - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testalpha - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testalpha - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testalpha - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testalpha - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testalpha - Win32 Release" +# Name "testalpha - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\Test\testalpha.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.vcproj new file mode 100644 index 0000000..d8258a4 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testalpha/testalpha.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.dsp b/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.dsp new file mode 100644 index 0000000..16bb157 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testfile" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testfile - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testfile.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testfile.mak" CFG="testfile - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testfile - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testfile - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testfile - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testfile - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testfile - Win32 Release" +# Name "testfile - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\Test\testfile.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.vcproj new file mode 100644 index 0000000..08b23dc --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testfile/testfile.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.dsp b/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.dsp new file mode 100644 index 0000000..ed3536f --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testgamma" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testgamma - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testgamma.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testgamma.mak" CFG="testgamma - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testgamma - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testgamma - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testgamma - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testgamma - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testgamma - Win32 Release" +# Name "testgamma - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\test\testgamma.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.vcproj new file mode 100644 index 0000000..485d21f --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testgamma/testgamma.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.dsp b/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.dsp new file mode 100644 index 0000000..9b8ad4f --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testgl" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testgl - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testgl.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testgl.mak" CFG="testgl - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testgl - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testgl - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testgl - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_OPENGL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib opengl32.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testgl - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_OPENGL" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib opengl32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testgl - Win32 Release" +# Name "testgl - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\test\testgl.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.vcproj new file mode 100644 index 0000000..9354497 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testgl/testgl.vcproj @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.dsp b/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.dsp new file mode 100644 index 0000000..53705aa --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testjoystick" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testjoystick - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testjoystick.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testjoystick.mak" CFG="testjoystick - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testjoystick - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testjoystick - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testjoystick - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testjoystick - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testjoystick - Win32 Release" +# Name "testjoystick - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\test\testjoystick.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.vcproj new file mode 100644 index 0000000..b470b90 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testjoystick/testjoystick.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.dsp b/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.dsp new file mode 100644 index 0000000..9f9a1cf --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testpalette" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testpalette - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testpalette.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testpalette.mak" CFG="testpalette - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testpalette - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testpalette - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testpalette - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testpalette - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testpalette - Win32 Release" +# Name "testpalette - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\test\testpalette.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.vcproj new file mode 100644 index 0000000..01e1160 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testpalette/testpalette.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.dsp b/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.dsp new file mode 100644 index 0000000..e57b6a7 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testplatform" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testplatform - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testplatform.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testplatform.mak" CFG="testplatform - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testplatform - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testplatform - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testplatform - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testplatform - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testplatform - Win32 Release" +# Name "testplatform - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\Test\testplatform.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.vcproj new file mode 100644 index 0000000..50f0c34 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testplatform/testplatform.vcproj @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/tests.dsw b/distrib/sdl-1.2.15/VisualC/tests/tests.dsw new file mode 100644 index 0000000..aade10a --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/tests.dsw @@ -0,0 +1,161 @@ +Microsoft Developer Studio Workspace File, Format Version 5.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "graywin"=".\graywin\graywin.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "loopwave"=".\loopwave\loopwave.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testalpha"=".\testalpha\testalpha.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testfile"=".\testfile\testfile.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testgamma"=".\testgamma\testgamma.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testgl"=".\testgl\testgl.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testjoystick"=".\testjoystick\testjoystick.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testpalette"=".\testpalette\testpalette.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testplatform"=".\testplatform\testplatform.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testvidinfo"=".\testvidinfo\testvidinfo.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testwin"=".\testwin\testwin.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testwm"=".\testwm\testwm.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/distrib/sdl-1.2.15/VisualC/tests/tests.sln b/distrib/sdl-1.2.15/VisualC/tests/tests.sln new file mode 100644 index 0000000..70c44fa --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/tests.sln @@ -0,0 +1,85 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual C++ Express 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcproj", "{7814D54B-65D3-4677-AD77-E0B980B4FA2D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamma", "testgamma\testgamma.vcproj", "{D974A0DF-3E2E-445C-A2EB-E899E9B582CB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgl", "testgl\testgl.vcproj", "{272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testjoystick", "testjoystick\testjoystick.vcproj", "{55812185-D13C-4022-9C81-32E0F4A08304}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpalette", "testpalette\testpalette.vcproj", "{493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testvidinfo", "testvidinfo\testvidinfo.vcproj", "{575FD095-EDAB-4BD4-B733-CD4A874F6FB0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcproj", "{0FFD1A21-11DB-492C-A989-E4F195B0C441}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwm", "testwm\testwm.vcproj", "{6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testplatform", "testplatform\testplatform.vcproj", "{26932B24-EFC6-4E3A-B277-ED653DA37968}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile\testfile.vcproj", "{CAE4F1D0-314F-4B10-805B-0EFD670133A0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0BCCA0BF-073E-439E-BCE0-C9353C177487}.Debug|Win32.ActiveCfg = Debug|Win32 + {0BCCA0BF-073E-439E-BCE0-C9353C177487}.Debug|Win32.Build.0 = Debug|Win32 + {0BCCA0BF-073E-439E-BCE0-C9353C177487}.Release|Win32.ActiveCfg = Release|Win32 + {0BCCA0BF-073E-439E-BCE0-C9353C177487}.Release|Win32.Build.0 = Release|Win32 + {AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}.Debug|Win32.ActiveCfg = Debug|Win32 + {AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}.Debug|Win32.Build.0 = Debug|Win32 + {AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}.Release|Win32.ActiveCfg = Release|Win32 + {AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}.Release|Win32.Build.0 = Release|Win32 + {7814D54B-65D3-4677-AD77-E0B980B4FA2D}.Debug|Win32.ActiveCfg = Debug|Win32 + {7814D54B-65D3-4677-AD77-E0B980B4FA2D}.Debug|Win32.Build.0 = Debug|Win32 + {7814D54B-65D3-4677-AD77-E0B980B4FA2D}.Release|Win32.ActiveCfg = Release|Win32 + {7814D54B-65D3-4677-AD77-E0B980B4FA2D}.Release|Win32.Build.0 = Release|Win32 + {D974A0DF-3E2E-445C-A2EB-E899E9B582CB}.Debug|Win32.ActiveCfg = Debug|Win32 + {D974A0DF-3E2E-445C-A2EB-E899E9B582CB}.Debug|Win32.Build.0 = Debug|Win32 + {D974A0DF-3E2E-445C-A2EB-E899E9B582CB}.Release|Win32.ActiveCfg = Release|Win32 + {D974A0DF-3E2E-445C-A2EB-E899E9B582CB}.Release|Win32.Build.0 = Release|Win32 + {272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}.Debug|Win32.ActiveCfg = Debug|Win32 + {272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}.Debug|Win32.Build.0 = Debug|Win32 + {272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}.Release|Win32.ActiveCfg = Release|Win32 + {272D976B-A1DF-4DEB-BD7F-5C0D330E0C7D}.Release|Win32.Build.0 = Release|Win32 + {55812185-D13C-4022-9C81-32E0F4A08304}.Debug|Win32.ActiveCfg = Debug|Win32 + {55812185-D13C-4022-9C81-32E0F4A08304}.Debug|Win32.Build.0 = Debug|Win32 + {55812185-D13C-4022-9C81-32E0F4A08304}.Release|Win32.ActiveCfg = Release|Win32 + {55812185-D13C-4022-9C81-32E0F4A08304}.Release|Win32.Build.0 = Release|Win32 + {493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}.Debug|Win32.ActiveCfg = Debug|Win32 + {493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}.Debug|Win32.Build.0 = Debug|Win32 + {493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}.Release|Win32.ActiveCfg = Release|Win32 + {493A8F38-5DA5-4E2D-B5E9-9E69EE4ED1DC}.Release|Win32.Build.0 = Release|Win32 + {575FD095-EDAB-4BD4-B733-CD4A874F6FB0}.Debug|Win32.ActiveCfg = Debug|Win32 + {575FD095-EDAB-4BD4-B733-CD4A874F6FB0}.Debug|Win32.Build.0 = Debug|Win32 + {575FD095-EDAB-4BD4-B733-CD4A874F6FB0}.Release|Win32.ActiveCfg = Release|Win32 + {575FD095-EDAB-4BD4-B733-CD4A874F6FB0}.Release|Win32.Build.0 = Release|Win32 + {0FFD1A21-11DB-492C-A989-E4F195B0C441}.Debug|Win32.ActiveCfg = Debug|Win32 + {0FFD1A21-11DB-492C-A989-E4F195B0C441}.Debug|Win32.Build.0 = Debug|Win32 + {0FFD1A21-11DB-492C-A989-E4F195B0C441}.Release|Win32.ActiveCfg = Release|Win32 + {0FFD1A21-11DB-492C-A989-E4F195B0C441}.Release|Win32.Build.0 = Release|Win32 + {6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}.Debug|Win32.ActiveCfg = Debug|Win32 + {6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}.Debug|Win32.Build.0 = Debug|Win32 + {6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}.Release|Win32.ActiveCfg = Release|Win32 + {6AF0724B-BAC1-4C9D-AFBF-F63B4A2FB8FB}.Release|Win32.Build.0 = Release|Win32 + {26932B24-EFC6-4E3A-B277-ED653DA37968}.Debug|Win32.ActiveCfg = Debug|Win32 + {26932B24-EFC6-4E3A-B277-ED653DA37968}.Debug|Win32.Build.0 = Debug|Win32 + {26932B24-EFC6-4E3A-B277-ED653DA37968}.Release|Win32.ActiveCfg = Release|Win32 + {26932B24-EFC6-4E3A-B277-ED653DA37968}.Release|Win32.Build.0 = Release|Win32 + {CAE4F1D0-314F-4B10-805B-0EFD670133A0}.Debug|Win32.ActiveCfg = Debug|Win32 + {CAE4F1D0-314F-4B10-805B-0EFD670133A0}.Debug|Win32.Build.0 = Debug|Win32 + {CAE4F1D0-314F-4B10-805B-0EFD670133A0}.Release|Win32.ActiveCfg = Release|Win32 + {CAE4F1D0-314F-4B10-805B-0EFD670133A0}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.dsp b/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.dsp new file mode 100644 index 0000000..28da662 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testvidinfo" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testvidinfo - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testvidinfo.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testvidinfo.mak" CFG="testvidinfo - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testvidinfo - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testvidinfo - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testvidinfo - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testvidinfo - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testvidinfo - Win32 Release" +# Name "testvidinfo - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\Test\testvidinfo.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.vcproj new file mode 100644 index 0000000..b0612a3 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testvidinfo/testvidinfo.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.dsp b/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.dsp new file mode 100644 index 0000000..2fe5e89 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testwin" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testwin - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testwin.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testwin.mak" CFG="testwin - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testwin - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testwin - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testwin - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testwin - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testwin - Win32 Release" +# Name "testwin - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\Test\Testwin.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.vcproj new file mode 100644 index 0000000..225cda0 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testwin/testwin.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.dsp b/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.dsp new file mode 100644 index 0000000..fa76ae4 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.dsp @@ -0,0 +1,102 @@ +# Microsoft Developer Studio Project File - Name="testwm" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=testwm - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testwm.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testwm.mak" CFG="testwm - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testwm - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "testwm - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testwm - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386 + +!ELSEIF "$(CFG)" == "testwm - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testwm - Win32 Release" +# Name "testwm - Win32 Debug" +# Begin Source File + +SOURCE=..\..\Sdl\Debug\SDL.lib +# End Source File +# Begin Source File + +SOURCE=..\..\SDLmain\Debug\SDLmain.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\test\testwm.c +# End Source File +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.vcproj b/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.vcproj new file mode 100644 index 0000000..d7f99e0 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualC/tests/testwm/testwm.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/SDL.sln b/distrib/sdl-1.2.15/VisualCE/SDL.sln new file mode 100644 index 0000000..7d46d45 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDL.sln @@ -0,0 +1,149 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL.vcproj", "{C598024D-8030-4F9C-AB76-69BF4CA0645F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain.vcproj", "{5AC88B84-5EAA-4C1E-948D-332DA34227F6}" + ProjectSection(ProjectDependencies) = postProject + {C598024D-8030-4F9C-AB76-69BF4CA0645F} = {C598024D-8030-4F9C-AB76-69BF4CA0645F} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testalpha", "testalpha\testalpha.vcproj", "{DF401CB3-6F70-4485-996B-B7C357CF7EE7}" + ProjectSection(ProjectDependencies) = postProject + {C598024D-8030-4F9C-AB76-69BF4CA0645F} = {C598024D-8030-4F9C-AB76-69BF4CA0645F} + {5AC88B84-5EAA-4C1E-948D-332DA34227F6} = {5AC88B84-5EAA-4C1E-948D-332DA34227F6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testwin", "testwin\testwin.vcproj", "{DC516978-88CB-4F9A-A39A-C351C258613B}" + ProjectSection(ProjectDependencies) = postProject + {C598024D-8030-4F9C-AB76-69BF4CA0645F} = {C598024D-8030-4F9C-AB76-69BF4CA0645F} + {5AC88B84-5EAA-4C1E-948D-332DA34227F6} = {5AC88B84-5EAA-4C1E-948D-332DA34227F6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcproj", "{6F642636-CB11-4DC7-855E-27FE1744003A}" + ProjectSection(ProjectDependencies) = postProject + {C598024D-8030-4F9C-AB76-69BF4CA0645F} = {C598024D-8030-4F9C-AB76-69BF4CA0645F} + {5AC88B84-5EAA-4C1E-948D-332DA34227F6} = {5AC88B84-5EAA-4C1E-948D-332DA34227F6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testtimer", "testtimer\testtimer.vcproj", "{D482D7EE-6FF0-4254-9027-C59F8F03AB1F}" + ProjectSection(ProjectDependencies) = postProject + {C598024D-8030-4F9C-AB76-69BF4CA0645F} = {C598024D-8030-4F9C-AB76-69BF4CA0645F} + {5AC88B84-5EAA-4C1E-948D-332DA34227F6} = {5AC88B84-5EAA-4C1E-948D-332DA34227F6} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Pocket PC 2003 (ARMV4) = Debug|Pocket PC 2003 (ARMV4) + Debug|Smartphone 2003 (ARMV4) = Debug|Smartphone 2003 (ARMV4) + Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + Release|Pocket PC 2003 (ARMV4) = Release|Pocket PC 2003 (ARMV4) + Release|Smartphone 2003 (ARMV4) = Release|Smartphone 2003 (ARMV4) + Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {C598024D-8030-4F9C-AB76-69BF4CA0645F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {5AC88B84-5EAA-4C1E-948D-332DA34227F6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DF401CB3-6F70-4485-996B-B7C357CF7EE7}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {DC516978-88CB-4F9A-A39A-C351C258613B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6F642636-CB11-4DC7-855E-27FE1744003A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {D482D7EE-6FF0-4254-9027-C59F8F03AB1F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/distrib/sdl-1.2.15/VisualCE/SDL.vcw b/distrib/sdl-1.2.15/VisualCE/SDL.vcw new file mode 100644 index 0000000..db10093 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDL.vcw @@ -0,0 +1,116 @@ +Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "loopwave"=.\loopwave\loopwave.vcp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name SDL + End Project Dependency + Begin Project Dependency + Project_Dep_Name SDLmain + End Project Dependency +}}} + +############################################################################### + +Project: "SDL"=.\SDL\SDL.VCP - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "SDLmain"=.\SDLmain\SDLmain.vcp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name SDL + End Project Dependency +}}} + +############################################################################### + +Project: "testtimer"=.\testtimer\testtimer.vcp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name SDL + End Project Dependency + Begin Project Dependency + Project_Dep_Name SDLmain + End Project Dependency +}}} + +############################################################################### + +Project: "testalpha"=.\testalpha\testalpha.vcp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name SDL + End Project Dependency + Begin Project Dependency + Project_Dep_Name SDLmain + End Project Dependency +}}} + +############################################################################### + +Project: "testwin"=.\testwin\testwin.vcp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name SDL + End Project Dependency + Begin Project Dependency + Project_Dep_Name SDLmain + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcp b/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcp new file mode 100644 index 0000000..833cae4 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcp @@ -0,0 +1,42066 @@ +# Microsoft eMbedded Visual Tools Project File - Name="SDL" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE MIPSIV) Dynamic-Link Library" 0x9602 +# TARGTYPE "Win32 (WCE ARMV4T) Dynamic-Link Library" 0xa402 +# TARGTYPE "Win32 (WCE MIPSIV_FP) Dynamic-Link Library" 0x9202 +# TARGTYPE "Win32 (WCE SH3) Dynamic-Link Library" 0x8102 +# TARGTYPE "Win32 (WCE MIPSII_FP) Dynamic-Link Library" 0xa202 +# TARGTYPE "Win32 (WCE x86) Dynamic-Link Library" 0x8302 +# TARGTYPE "Win32 (WCE ARM) Dynamic-Link Library" 0x8502 +# TARGTYPE "Win32 (WCE emulator) Dynamic-Link Library" 0xa602 +# TARGTYPE "Win32 (WCE SH4) Dynamic-Link Library" 0x8602 +# TARGTYPE "Win32 (WCE ARMV4) Dynamic-Link Library" 0xa302 +# TARGTYPE "Win32 (WCE MIPS) Dynamic-Link Library" 0x8202 +# TARGTYPE "Win32 (WCE MIPS16) Dynamic-Link Library" 0x8902 +# TARGTYPE "Win32 (WCE ARMV4I) Dynamic-Link Library" 0xa502 +# TARGTYPE "Win32 (WCE MIPSII) Dynamic-Link Library" 0xa102 + +CFG=SDL - Win32 (WCE MIPSII_FP) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "SDL.VCN". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "SDL.VCN" CFG="SDL - Win32 (WCE MIPSII_FP) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SDL - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE MIPS) Release" (based on "Win32 (WCE MIPS) Dynamic-Link Library") +!MESSAGE "SDL - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSII_FPRel" +# PROP BASE Intermediate_Dir "MIPSII_FPRel" +# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSII_FPRel" +# PROP Intermediate_Dir "MIPSII_FPRel" +# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips2 /QMFPE- /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSII_FPDbg" +# PROP BASE Intermediate_Dir "MIPSII_FPDbg" +# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSII_FPDbg" +# PROP Intermediate_Dir "MIPSII_FPDbg" +# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIIRel" +# PROP BASE Intermediate_Dir "MIPSIIRel" +# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIIRel" +# PROP Intermediate_Dir "MIPSIIRel" +# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips2 /QMFPE /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIIDbg" +# PROP BASE Intermediate_Dir "MIPSIIDbg" +# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIIDbg" +# PROP Intermediate_Dir "MIPSIIDbg" +# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips2 /QMFPE /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SH4Rel" +# PROP BASE Intermediate_Dir "SH4Rel" +# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "SH4Rel" +# PROP Intermediate_Dir "SH4Rel" +# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /Qsh4 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "SHx" /D "SH4" /D "_SH4_" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Oxt /Qsh4 /M$(CECrtMT) /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH4Dbg" +# PROP BASE Intermediate_Dir "SH4Dbg" +# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH4Dbg" +# PROP Intermediate_Dir "SH4Dbg" +# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /Qsh4 /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Qsh4 /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH3Dbg" +# PROP BASE Intermediate_Dir "SH3Dbg" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH3Dbg" +# PROP Intermediate_Dir "SH3Dbg" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIVRel" +# PROP BASE Intermediate_Dir "MIPSIVRel" +# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIVRel" +# PROP Intermediate_Dir "MIPSIVRel" +# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips4 /QMn32 /QMFPE /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIVDbg" +# PROP BASE Intermediate_Dir "MIPSIVDbg" +# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIVDbg" +# PROP Intermediate_Dir "MIPSIVDbg" +# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "SDL_EXPORTS" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Gs8192 /GF /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "SDL_EXPORTS" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Gs8192 /GF /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4IRel" +# PROP BASE Intermediate_Dir "ARMV4IRel" +# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4IRel" +# PROP Intermediate_Dir "ARMV4IRel" +# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QRarch4T /QRinterwork-return /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4IDbg" +# PROP BASE Intermediate_Dir "ARMV4IDbg" +# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4IDbg" +# PROP Intermediate_Dir "ARMV4IDbg" +# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIV_FPRel" +# PROP BASE Intermediate_Dir "MIPSIV_FPRel" +# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIV_FPRel" +# PROP Intermediate_Dir "MIPSIV_FPRel" +# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIV_FPDbg" +# PROP BASE Intermediate_Dir "MIPSIV_FPDbg" +# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIV_FPDbg" +# PROP Intermediate_Dir "MIPSIV_FPDbg" +# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "ARM" /D "_ARM_" /D "ARMV4" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPS16Rel" +# PROP BASE Intermediate_Dir "MIPS16Rel" +# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPS16Rel" +# PROP Intermediate_Dir "MIPS16Rel" +# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "SDL_EXPORTS" /YX /QMmips16 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Oxt /QMmips16 /M$(CECrtMT) /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPS16Dbg" +# PROP BASE Intermediate_Dir "MIPS16Dbg" +# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPS16Dbg" +# PROP Intermediate_Dir "MIPS16Dbg" +# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "SDL_EXPORTS" /YX /QMmips16 /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "_MIPS16_" /D "MIPS16SUPPORT" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QMmips16 /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4TRel" +# PROP BASE Intermediate_Dir "ARMV4TRel" +# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4TRel" +# PROP Intermediate_Dir "ARMV4TRel" +# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clthumb.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "SDL_EXPORTS" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QRarch4T /QRinterwork-return /M$(CECrtMT) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4TDbg" +# PROP BASE Intermediate_Dir "ARMV4TDbg" +# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4TDbg" +# PROP Intermediate_Dir "ARMV4TDbg" +# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clthumb.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "SDL_EXPORTS" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Gs8192 /Oxt /GF /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "SDL_EXPORTS" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "SDL_EXPORTS" /Gs8192 /GF /c +# SUBTRACT CPP /YX +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSDbg" +# PROP BASE Intermediate_Dir "MIPSDbg" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSDbg" +# PROP Intermediate_Dir "MIPSDbg" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSRel" +# PROP BASE Intermediate_Dir "MIPSRel" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSRel" +# PROP Intermediate_Dir "MIPSRel" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SH3Rel" +# PROP BASE Intermediate_Dir "SH3Rel" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "SH3Rel" +# PROP Intermediate_Dir "SH3Rel" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /I "../../src" /I "../../src/video" /I "../../src/thread" /I "../../src/thread/generic" /I "../../src/audio" /I "../../src/cdrom" /I "../../src/timer" /I "../../src/joystick" /I "../../src/events" /I "../../src/video/wincommon" /I "../../src/video/windib" /I "../../src/video/gapi" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ENDIF + +# Begin Target + +# Name "SDL - Win32 (WCE MIPSII_FP) Release" +# Name "SDL - Win32 (WCE MIPSII_FP) Debug" +# Name "SDL - Win32 (WCE MIPSII) Release" +# Name "SDL - Win32 (WCE MIPSII) Debug" +# Name "SDL - Win32 (WCE SH4) Release" +# Name "SDL - Win32 (WCE SH4) Debug" +# Name "SDL - Win32 (WCE SH3) Debug" +# Name "SDL - Win32 (WCE MIPSIV) Release" +# Name "SDL - Win32 (WCE MIPSIV) Debug" +# Name "SDL - Win32 (WCE emulator) Release" +# Name "SDL - Win32 (WCE emulator) Debug" +# Name "SDL - Win32 (WCE ARMV4I) Release" +# Name "SDL - Win32 (WCE ARMV4I) Debug" +# Name "SDL - Win32 (WCE MIPSIV_FP) Release" +# Name "SDL - Win32 (WCE MIPSIV_FP) Debug" +# Name "SDL - Win32 (WCE ARMV4) Release" +# Name "SDL - Win32 (WCE ARMV4) Debug" +# Name "SDL - Win32 (WCE MIPS16) Release" +# Name "SDL - Win32 (WCE MIPS16) Debug" +# Name "SDL - Win32 (WCE ARMV4T) Release" +# Name "SDL - Win32 (WCE ARMV4T) Debug" +# Name "SDL - Win32 (WCE x86) Release" +# Name "SDL - Win32 (WCE x86) Debug" +# Name "SDL - Win32 (WCE ARM) Debug" +# Name "SDL - Win32 (WCE ARM) Release" +# Name "SDL - Win32 (WCE MIPS) Debug" +# Name "SDL - Win32 (WCE MIPS) Release" +# Name "SDL - Win32 (WCE SH3) Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\src\SDL.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_C=\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_endian.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + +NODEP_CPP_SDL_C=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_C=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + "..\..\src\video\SDL_leaks.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_active.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_A=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_A=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_A=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_A=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_A=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_A=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_A=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audio.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_thread.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_AU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_AU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiocvt.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_AUD=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_AUD=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiodev.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + +NODEP_CPP_SDL_AUDI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + +NODEP_CPP_SDL_AUDI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + +NODEP_CPP_SDL_AUDI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + +NODEP_CPP_SDL_AUDI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_AUDI=\ + "..\..\src\audio\SDL_audiodev_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_B=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_B=\ + "..\..\src\video\SDL_memops.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_0.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_BL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_1.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_BLI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_BLI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_A.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\mmx.h"\ + +NODEP_CPP_SDL_BLIT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_BLIT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit_N.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + ".\DL_byteorder.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\hermes\HeadMMX.h"\ + "..\..\src\hermes\HeadX86.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_BLIT_=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_BLIT_=\ + "..\..\src\video\HeadMMX.h"\ + "..\..\src\video\HeadX86.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_bmp.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_endian.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + +NODEP_CPP_SDL_BM=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_BM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_BM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\cpuinfo\SDL_cpuinfo.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_cpuinfo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_cpuinfo.h"\ + +NODEP_CPP_SDL_CP=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_CP=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_cursor.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + ".\DL_active.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_CU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_CU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\default_cursor.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windib\SDL_dibaudio.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_D=\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_D=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + "..\..\src\audio\windib\SDL_dibaudio.h"\ + +NODEP_CPP_SDL_D=\ + "..\..\src\audio\windib\win_ce_semaphore.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibevents.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + +NODEP_CPP_SDL_DI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_DI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + "..\..\src\video\windib\SDL_vkeys.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibvideo.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + +NODEP_CPP_SDL_DIB=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_DIB=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + "..\..\src\video\windib\SDL_dibvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\disk\SDL_diskaudio.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_DIS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\disk\SDL_diskaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\dummy\SDL_dummyaudio.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_DU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\dummy\SDL_dummyaudio.h"\ + "..\..\src\audio\SDL_audio_c.h"\ + "..\..\src\audio\SDL_audiodev_c.h"\ + "..\..\src\audio\SDL_audiomem.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_error.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_E=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_E=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_E=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_E=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\src\SDL_error_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_E=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\src\SDL_error_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_E=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\src\SDL_error_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_E=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_E=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_E=\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_E=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_E=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\SDL_error_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_E=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\SDL_error_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_E=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\SDL_error_c.h"\ + +NODEP_CPP_SDL_E=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_E=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_E=\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_E=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_E=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_events.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_thread.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_EV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_EV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_expose.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_EX=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_EX=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_EX=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_EX=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_fatal.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_F=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_F=\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_F=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_F=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_F=\ + "..\..\include\SDL.h"\ + "..\..\src\SDL_fatal.h"\ + +NODEP_CPP_SDL_F=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_F=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\SDL_fatal.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_gamma.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + +NODEP_CPP_SDL_G=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_name.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\e_log.h"\ + "..\..\src\video\e_pow.h"\ + "..\..\src\video\e_sqrt.h"\ + "..\..\src\video\math_private.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_G=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_G=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\gapi\SDL_gapivideo.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_GA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\windib\SDL_dibevents_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_getenv.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_GE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_GE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_GE=\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_iconv.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_I=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_joystick.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_J=\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_J=\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_J=\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\SDL_types.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_J=\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_J=\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_J=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_J=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_keyboard.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + +NODEP_CPP_SDL_K=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_K=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_K=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_malloc.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\..\..\..\usr\include\pthread.h"\ + "..\include\SDL_config_wince.h"\ + ".\onfig\_epilog.h"\ + ".\onfig\_msvc_warnings_off.h"\ + ".\onfig\_prolog.h"\ + ".\onfig\stl_apcc.h"\ + ".\onfig\stl_apple.h"\ + ".\onfig\stl_as400.h"\ + ".\onfig\stl_bc.h"\ + ".\onfig\stl_como.h"\ + ".\onfig\stl_confix.h"\ + ".\onfig\stl_dec.h"\ + ".\onfig\stl_dec_vms.h"\ + ".\onfig\stl_fujitsu.h"\ + ".\onfig\stl_gcc.h"\ + ".\onfig\stl_hpacc.h"\ + ".\onfig\stl_ibm.h"\ + ".\onfig\stl_intel.h"\ + ".\onfig\stl_kai.h"\ + ".\onfig\stl_msvc.h"\ + ".\onfig\stl_mwerks.h"\ + ".\onfig\stl_mycomp.h"\ + ".\onfig\stl_sco.h"\ + ".\onfig\stl_select_lib.h"\ + ".\onfig\stl_sgi.h"\ + ".\onfig\stl_solaris.h"\ + ".\onfig\stl_sunpro.h"\ + ".\onfig\stl_symantec.h"\ + ".\onfig\stl_watcom.h"\ + ".\onfig\stl_wince.h"\ + ".\onfig\stlcomp.h"\ + ".\onfig\vc_select_lib.h"\ + ".\thread.h"\ + ".\tl\_abbrevs.h"\ + ".\tl\_config.h"\ + ".\tl\_config_compat.h"\ + ".\tl\_config_compat_post.h"\ + ".\tl\_epilog.h"\ + ".\tl\_prolog.h"\ + ".\tl\_site_config.h"\ + ".\tl_user_config.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\..\..\..\usr\include\pthread.h"\ + "..\include\SDL_config_wince.h"\ + ".\onfig\_epilog.h"\ + ".\onfig\_msvc_warnings_off.h"\ + ".\onfig\_prolog.h"\ + ".\onfig\stl_apcc.h"\ + ".\onfig\stl_apple.h"\ + ".\onfig\stl_as400.h"\ + ".\onfig\stl_bc.h"\ + ".\onfig\stl_como.h"\ + ".\onfig\stl_confix.h"\ + ".\onfig\stl_dec.h"\ + ".\onfig\stl_dec_vms.h"\ + ".\onfig\stl_fujitsu.h"\ + ".\onfig\stl_gcc.h"\ + ".\onfig\stl_hpacc.h"\ + ".\onfig\stl_ibm.h"\ + ".\onfig\stl_intel.h"\ + ".\onfig\stl_kai.h"\ + ".\onfig\stl_msvc.h"\ + ".\onfig\stl_mwerks.h"\ + ".\onfig\stl_mycomp.h"\ + ".\onfig\stl_sco.h"\ + ".\onfig\stl_select_lib.h"\ + ".\onfig\stl_sgi.h"\ + ".\onfig\stl_solaris.h"\ + ".\onfig\stl_sunpro.h"\ + ".\onfig\stl_symantec.h"\ + ".\onfig\stl_watcom.h"\ + ".\onfig\stl_wince.h"\ + ".\onfig\stlcomp.h"\ + ".\onfig\vc_select_lib.h"\ + ".\thread.h"\ + ".\tl\_abbrevs.h"\ + ".\tl\_config.h"\ + ".\tl\_config_compat.h"\ + ".\tl\_config_compat_post.h"\ + ".\tl\_epilog.h"\ + ".\tl\_prolog.h"\ + ".\tl\_site_config.h"\ + ".\tl_user_config.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\..\..\..\usr\include\pthread.h"\ + "..\include\SDL_config_wince.h"\ + ".\onfig\_epilog.h"\ + ".\onfig\_msvc_warnings_off.h"\ + ".\onfig\_prolog.h"\ + ".\onfig\stl_apcc.h"\ + ".\onfig\stl_apple.h"\ + ".\onfig\stl_as400.h"\ + ".\onfig\stl_bc.h"\ + ".\onfig\stl_como.h"\ + ".\onfig\stl_confix.h"\ + ".\onfig\stl_dec.h"\ + ".\onfig\stl_dec_vms.h"\ + ".\onfig\stl_fujitsu.h"\ + ".\onfig\stl_gcc.h"\ + ".\onfig\stl_hpacc.h"\ + ".\onfig\stl_ibm.h"\ + ".\onfig\stl_intel.h"\ + ".\onfig\stl_kai.h"\ + ".\onfig\stl_msvc.h"\ + ".\onfig\stl_mwerks.h"\ + ".\onfig\stl_mycomp.h"\ + ".\onfig\stl_sco.h"\ + ".\onfig\stl_select_lib.h"\ + ".\onfig\stl_sgi.h"\ + ".\onfig\stl_solaris.h"\ + ".\onfig\stl_sunpro.h"\ + ".\onfig\stl_symantec.h"\ + ".\onfig\stl_watcom.h"\ + ".\onfig\stl_wince.h"\ + ".\onfig\stlcomp.h"\ + ".\onfig\vc_select_lib.h"\ + ".\thread.h"\ + ".\tl\_abbrevs.h"\ + ".\tl\_config.h"\ + ".\tl\_config_compat.h"\ + ".\tl\_config_compat_post.h"\ + ".\tl\_epilog.h"\ + ".\tl\_prolog.h"\ + ".\tl\_site_config.h"\ + ".\tl_user_config.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_M=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_M=\ + "..\..\..\..\usr\include\malloc.h"\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_thread.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + +NODEP_CPP_SDL_MI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_MI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_mixer_m68k.h"\ + "..\..\src\audio\SDL_mixer_MMX.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + "..\..\src\audio\SDL_sysaudio.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer_MMX_VC.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_MIX=\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\src\audio\SDL_mixer_MMX_VC.h"\ + +NODEP_CPP_SDL_MIX=\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_mouse.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + +NODEP_CPP_SDL_MO=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_MO=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_MO=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullevents.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_N=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullmouse.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_NU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullvideo.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_NUL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\dummy\SDL_nullevents_c.h"\ + "..\..\src\video\dummy\SDL_nullmouse_c.h"\ + "..\..\src\video\dummy\SDL_nullvideo.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_pixels.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_P=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_P=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_qsort.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_Q=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_Q=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_Q=\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_quit.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_QU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_QU=\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_QU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_QU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_resize.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + +NODEP_CPP_SDL_R=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + ".\DL_active.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_R=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_R=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_RLEaccel.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_RL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\mmx.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_RL=\ + "..\..\src\video\SDL_memops.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\file\SDL_rwops.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_rwops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_RW=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_RW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_stretch.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_S=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_S=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + +NODEP_CPP_SDL_S=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_S=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\SDL_endian.h"\ + +NODEP_CPP_SDL_S=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_S=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\stdlib\SDL_string.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_ST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_ST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_ST=\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_surface.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_leaks.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_RLEaccel_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_SU=\ + "..\..\src\video\SDL_memops.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\cdrom\dummy\SDL_syscdrom.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + ".\DL_cdrom.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SY=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SY=\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + +NODEP_CPP_SDL_SY=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SY=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\cdrom\SDL_syscdrom.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_syscond.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\SDL_thread.h"\ + +NODEP_CPP_SDL_SYS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysevents.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\..\src\video\wincommon\SDL_gapivideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\..\src\video\wincommon\SDL_gapivideo.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + +NODEP_CPP_SDL_SYSE=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSE=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\gapi\sdl_gapivideo.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\wmmsg.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\dummy\SDL_sysjoystick.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + ".\DL_error.h"\ + ".\DL_joystick.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + +NODEP_CPP_SDL_SYSJ=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSJ=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\joystick\SDL_joystick_c.h"\ + "..\..\src\joystick\SDL_sysjoystick.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\loadso\win32\SDL_sysloadso.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +NODEP_CPP_SDL_SYSL=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSL=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSL=\ + "..\include\SDL_config_wince.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysmouse.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + ".\DL_active.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + +NODEP_CPP_SDL_SYSM=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSM=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_sysmouse_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_sysmutex.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_SYSMU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSMU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_types.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_syssem.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_thread.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + +NODEP_CPP_SDL_SYSS=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSS=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_systhread.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\src\thread\amigaos\mydebug.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\src\thread\amigaos\mydebug.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\..\..\..\usr\include\pthread.h"\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\SDL_config_wince.h"\ + ".\onfig\_epilog.h"\ + ".\onfig\_msvc_warnings_off.h"\ + ".\onfig\_prolog.h"\ + ".\onfig\stl_apcc.h"\ + ".\onfig\stl_apple.h"\ + ".\onfig\stl_as400.h"\ + ".\onfig\stl_bc.h"\ + ".\onfig\stl_como.h"\ + ".\onfig\stl_confix.h"\ + ".\onfig\stl_dec.h"\ + ".\onfig\stl_dec_vms.h"\ + ".\onfig\stl_fujitsu.h"\ + ".\onfig\stl_gcc.h"\ + ".\onfig\stl_hpacc.h"\ + ".\onfig\stl_ibm.h"\ + ".\onfig\stl_intel.h"\ + ".\onfig\stl_kai.h"\ + ".\onfig\stl_msvc.h"\ + ".\onfig\stl_mwerks.h"\ + ".\onfig\stl_mycomp.h"\ + ".\onfig\stl_sco.h"\ + ".\onfig\stl_select_lib.h"\ + ".\onfig\stl_sgi.h"\ + ".\onfig\stl_solaris.h"\ + ".\onfig\stl_sunpro.h"\ + ".\onfig\stl_symantec.h"\ + ".\onfig\stl_watcom.h"\ + ".\onfig\stl_wince.h"\ + ".\onfig\stlcomp.h"\ + ".\onfig\vc_select_lib.h"\ + ".\thread.h"\ + ".\tl\_abbrevs.h"\ + ".\tl\_config.h"\ + ".\tl\_config_compat.h"\ + ".\tl\_config_compat_post.h"\ + ".\tl\_epilog.h"\ + ".\tl\_prolog.h"\ + ".\tl\_site_config.h"\ + ".\tl_user_config.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_SYST=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYST=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\wince\SDL_systimer.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSTI=\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_SYSTI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSTI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_syswm.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_SYSW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_SYSW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_syswm_c.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_thread.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\src\thread\beos\SDL_systhread_c.h"\ + "..\src\thread\dc\SDL_systhread_c.h"\ + "..\src\thread\epoc\SDL_systhread_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\irix\SDL_systhread_c.h"\ + "..\src\thread\os2\SDL_systhread_c.h"\ + "..\src\thread\pth\SDL_systhread_c.h"\ + "..\src\thread\pthread\SDL_systhread_c.h"\ + "..\src\thread\win32\SDL_systhread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_T=\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\SDL_thread.h"\ + "..\src\SDL_error_c.h"\ + "..\src\thread\generic\SDL_systhread_c.h"\ + "..\src\thread\SDL_thread_c.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + +NODEP_CPP_SDL_T=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\src\thread\amigaos\mydebug.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\src\thread\amigaos\mydebug.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\amigaos\SDL_systhread_c.h"\ + "..\..\src\thread\beos\SDL_systhread_c.h"\ + "..\..\src\thread\dc\SDL_systhread_c.h"\ + "..\..\src\thread\epoc\SDL_systhread_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\irix\SDL_systhread_c.h"\ + "..\..\src\thread\os2\SDL_systhread_c.h"\ + "..\..\src\thread\pth\SDL_systhread_c.h"\ + "..\..\src\thread\pthread\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + "..\..\src\thread\win32\SDL_systhread_c.h"\ + +NODEP_CPP_SDL_T=\ + "..\..\..\..\usr\include\pthread.h"\ + "..\..\src\thread\amigaos\mydebug.h"\ + "..\include\SDL_config_wince.h"\ + ".\onfig\_epilog.h"\ + ".\onfig\_msvc_warnings_off.h"\ + ".\onfig\_prolog.h"\ + ".\onfig\stl_apcc.h"\ + ".\onfig\stl_apple.h"\ + ".\onfig\stl_as400.h"\ + ".\onfig\stl_bc.h"\ + ".\onfig\stl_como.h"\ + ".\onfig\stl_confix.h"\ + ".\onfig\stl_dec.h"\ + ".\onfig\stl_dec_vms.h"\ + ".\onfig\stl_fujitsu.h"\ + ".\onfig\stl_gcc.h"\ + ".\onfig\stl_hpacc.h"\ + ".\onfig\stl_ibm.h"\ + ".\onfig\stl_intel.h"\ + ".\onfig\stl_kai.h"\ + ".\onfig\stl_msvc.h"\ + ".\onfig\stl_mwerks.h"\ + ".\onfig\stl_mycomp.h"\ + ".\onfig\stl_sco.h"\ + ".\onfig\stl_select_lib.h"\ + ".\onfig\stl_sgi.h"\ + ".\onfig\stl_solaris.h"\ + ".\onfig\stl_sunpro.h"\ + ".\onfig\stl_symantec.h"\ + ".\onfig\stl_watcom.h"\ + ".\onfig\stl_wince.h"\ + ".\onfig\stlcomp.h"\ + ".\onfig\vc_select_lib.h"\ + ".\thread.h"\ + ".\tl\_abbrevs.h"\ + ".\tl\_config.h"\ + ".\tl\_config_compat.h"\ + ".\tl\_config_compat_post.h"\ + ".\tl\_epilog.h"\ + ".\tl\_prolog.h"\ + ".\tl\_site_config.h"\ + ".\tl_user_config.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\SDL_thread.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + +NODEP_CPP_SDL_T=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_types.h"\ + "..\src\thread\SDL_thread_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_T=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\SDL_error_c.h"\ + "..\..\src\thread\generic\SDL_systhread_c.h"\ + "..\..\src\thread\SDL_systhread.h"\ + "..\..\src\thread\SDL_thread_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_timer.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_timer.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mutex.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_TI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_TI=\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + +NODEP_CPP_SDL_TI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_TI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\timer\SDL_systimer.h"\ + "..\..\src\timer\SDL_timer_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_video.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_endian.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + ".\DL.h"\ + ".\DL_active.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_cdrom.h"\ + ".\DL_error.h"\ + ".\DL_events.h"\ + ".\DL_getenv.h"\ + ".\DL_joystick.h"\ + ".\DL_keyboard.h"\ + ".\DL_keysym.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_quit.h"\ + ".\DL_rwops.h"\ + ".\DL_timer.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + +NODEP_CPP_SDL_V=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_blit.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_V=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\events\SDL_events_c.h"\ + "..\..\src\events\SDL_sysevents.h"\ + "..\..\src\video\SDL_blit.h"\ + "..\..\src\video\SDL_cursor_c.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_pixels_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_wave.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_wave.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_W=\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_endian.h"\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + ".\DL_audio.h"\ + ".\DL_byteorder.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_wave.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_wave.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL_endian.h"\ + "..\..\src\audio\SDL_wave.h"\ + +NODEP_CPP_SDL_W=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_byteorder.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_types.h"\ + "..\..\src\audio\SDL_wave.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_wingl.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + +NODEP_CPP_SDL_WI=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\wincommon\SDL_lowvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_WI=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\wincommon\SDL_lowvideo.h"\ + "..\..\src\video\wincommon\SDL_wingl_c.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + ".\DL_error.h"\ + ".\DL_getenv.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_Y=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_getenv.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_Y=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv_mmx.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +NODEP_CPP_SDL_YU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +NODEP_CPP_SDL_YU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +NODEP_CPP_SDL_YU=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_YU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_YU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_YU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_stdinc.h"\ + +NODEP_CPP_SDL_YU=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_YU=\ + "..\..\include\SDL_types.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv_sw.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_cpuinfo.h"\ + "..\src\video\SDL_glfuncs.h"\ + "..\src\video\SDL_sysvideo.h"\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + ".\DL_error.h"\ + ".\DL_main.h"\ + ".\DL_mouse.h"\ + ".\DL_mutex.h"\ + ".\DL_rwops.h"\ + ".\DL_types.h"\ + ".\DL_version.h"\ + ".\DL_video.h"\ + ".\egin_code.h"\ + ".\lose_code.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_opengl.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\SDL_config_wince.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + +NODEP_CPP_SDL_YUV=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_types.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + "..\src\video\SDL_glfuncs.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_YUV=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + "..\..\src\video\SDL_glfuncs.h"\ + "..\..\src\video\SDL_stretch_c.h"\ + "..\..\src\video\SDL_sysvideo.h"\ + "..\..\src\video\SDL_yuv_sw_c.h"\ + "..\..\src\video\SDL_yuvfuncs.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\win_ce_semaphore.c + +!IF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSII) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH4) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE emulator) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS16) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE x86) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE ARM) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Debug" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE MIPS) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ELSEIF "$(CFG)" == "SDL - Win32 (WCE SH3) Release" + +DEP_CPP_WIN_C=\ + "..\..\src\thread\win32\win_ce_semaphore.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\include\begin_code.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\blank_cursor.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\close_code.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\default_cursor.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\hermes\HeadMMX.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\hermes\HeadX86.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\mmx.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_active.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_audio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audio_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiodev_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_audiomem.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_blit.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_byteorder.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_cdrom.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_copying.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_cpuinfo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_cursor_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\windib\SDL_dibaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibevents_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_dibvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\disk\SDL_diskaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\dummy\SDL_dummyaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_endian.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_error.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_error_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_events.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_events_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\SDL_fatal.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\gapi\sdl_gapivideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_getenv.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_glfuncs.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_joystick.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_joystick_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_keyboard.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_keysym.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_leaks.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_loadso.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_lowvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_main.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_memops.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer_m68k.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer_MMX.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_mixer_MMX_VC.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_mouse.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_mutex.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_name.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullevents_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullmouse_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\dummy\SDL_nullvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_opengl.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_pixels_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_quit.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_RLEaccel_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_rwops.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_stretch_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_sysaudio.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\cdrom\SDL_syscdrom.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_syscond_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\events\SDL_sysevents.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\joystick\SDL_sysjoystick.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_sysmouse_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_sysmutex_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_syssem_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_systhread.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\generic\SDL_systhread_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\SDL_systhread_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_systimer.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_sysvideo.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_syswm.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_syswm_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_thread.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\SDL_thread_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_timer.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\timer\SDL_timer_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_types.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_version.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\SDL_video.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\windib\SDL_vkeys.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\audio\SDL_wave.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\SDL_wingl_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuv_sw_c.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\SDL_yuvfuncs.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\thread\win32\win_ce_semaphore.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\video\wincommon\wmmsg.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcproj b/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcproj new file mode 100644 index 0000000..370458f --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDL/SDL.vcproj @@ -0,0 +1,3967 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcp b/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcp new file mode 100644 index 0000000..e6de778 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcp @@ -0,0 +1,1653 @@ +# Microsoft eMbedded Visual Tools Project File - Name="SDLmain" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 +# TARGTYPE "Win32 (WCE MIPS) Static Library" 0x8204 +# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 +# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 +# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 +# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 +# TARGTYPE "Win32 (WCE ARM) Static Library" 0x8504 +# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 +# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 +# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 +# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 +# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 +# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 +# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 + +CFG=SDLmain - Win32 (WCE MIPSII_FP) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "SDLmain.vcn". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "SDLmain.vcn" CFG="SDLmain - Win32 (WCE MIPSII_FP) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SDLmain - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") +!MESSAGE "SDLmain - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") +!MESSAGE "SDLmain - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") +!MESSAGE "SDLmain - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") +!MESSAGE "SDLmain - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") +!MESSAGE "SDLmain - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") +!MESSAGE "SDLmain - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") +!MESSAGE "SDLmain - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") +!MESSAGE "SDLmain - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Static Library") +!MESSAGE "SDLmain - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Static Library") +!MESSAGE "SDLmain - Win32 (WCE MIPS) Release" (based on "Win32 (WCE MIPS) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII_FP) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSII_FPRel" +# PROP BASE Intermediate_Dir "MIPSII_FPRel" +# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSII_FPRel" +# PROP Intermediate_Dir "MIPSII_FPRel" +# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QMmips2 /QMFPE- /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII_FP) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSII_FPDbg" +# PROP BASE Intermediate_Dir "MIPSII_FPDbg" +# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSII_FPDbg" +# PROP Intermediate_Dir "MIPSII_FPDbg" +# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIIRel" +# PROP BASE Intermediate_Dir "MIPSIIRel" +# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIIRel" +# PROP Intermediate_Dir "MIPSIIRel" +# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QMmips2 /QMFPE /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIIDbg" +# PROP BASE Intermediate_Dir "MIPSIIDbg" +# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIIDbg" +# PROP Intermediate_Dir "MIPSIIDbg" +# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QMmips2 /QMFPE /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SH4Rel" +# PROP BASE Intermediate_Dir "SH4Rel" +# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "SH4Rel" +# PROP Intermediate_Dir "SH4Rel" +# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /Oxt /Qsh4 /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH4Dbg" +# PROP BASE Intermediate_Dir "SH4Dbg" +# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH4Dbg" +# PROP Intermediate_Dir "SH4Dbg" +# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /Qsh4 /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH3) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SH3Rel" +# PROP BASE Intermediate_Dir "SH3Rel" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "SH3Rel" +# PROP Intermediate_Dir "SH3Rel" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob1 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /Oxt /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH3) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH3Dbg" +# PROP BASE Intermediate_Dir "SH3Dbg" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH3Dbg" +# PROP Intermediate_Dir "SH3Dbg" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIVRel" +# PROP BASE Intermediate_Dir "MIPSIVRel" +# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIVRel" +# PROP Intermediate_Dir "MIPSIVRel" +# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QMmips4 /QMn32 /QMFPE /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIVDbg" +# PROP BASE Intermediate_Dir "MIPSIVDbg" +# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIVDbg" +# PROP Intermediate_Dir "MIPSIVDbg" +# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /Gs8192 /GF /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /Gs8192 /GF /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4I) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4IRel" +# PROP BASE Intermediate_Dir "ARMV4IRel" +# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4IRel" +# PROP Intermediate_Dir "ARMV4IRel" +# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QRarch4T /QRinterwork-return /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4I) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4IDbg" +# PROP BASE Intermediate_Dir "ARMV4IDbg" +# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4IDbg" +# PROP Intermediate_Dir "ARMV4IDbg" +# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV_FP) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSIV_FPRel" +# PROP BASE Intermediate_Dir "MIPSIV_FPRel" +# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSIV_FPRel" +# PROP Intermediate_Dir "MIPSIV_FPRel" +# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV_FP) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSIV_FPDbg" +# PROP BASE Intermediate_Dir "MIPSIV_FPDbg" +# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSIV_FPDbg" +# PROP Intermediate_Dir "MIPSIV_FPDbg" +# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS16) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPS16Rel" +# PROP BASE Intermediate_Dir "MIPS16Rel" +# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPS16Rel" +# PROP Intermediate_Dir "MIPS16Rel" +# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /Oxt /QMmips16 /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS16) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPS16Dbg" +# PROP BASE Intermediate_Dir "MIPS16Dbg" +# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPS16Dbg" +# PROP Intermediate_Dir "MIPS16Dbg" +# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /QMmips16 /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4T) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4TRel" +# PROP BASE Intermediate_Dir "ARMV4TRel" +# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4TRel" +# PROP Intermediate_Dir "ARMV4TRel" +# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clthumb.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxt /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /QRarch4T /QRinterwork-return /M$(CECrtMT) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4T) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4TDbg" +# PROP BASE Intermediate_Dir "ARMV4TDbg" +# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4TDbg" +# PROP Intermediate_Dir "ARMV4TDbg" +# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clthumb.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /Gs8192 /Oxt /GF /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /Gs8192 /GF /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /Gs8192 /GF /c +# SUBTRACT BASE CPP /YX +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /Gs8192 /GF /c +# SUBTRACT CPP /YX +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /Oxs /M$(CECrtMT) /c +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSDbg" +# PROP BASE Intermediate_Dir "MIPSDbg" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSDbg" +# PROP Intermediate_Dir "MIPSDbg" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSRel" +# PROP BASE Intermediate_Dir "MIPSRel" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSRel" +# PROP Intermediate_Dir "MIPSRel" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /Ob2 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo + +!ENDIF + +# Begin Target + +# Name "SDLmain - Win32 (WCE MIPSII_FP) Release" +# Name "SDLmain - Win32 (WCE MIPSII_FP) Debug" +# Name "SDLmain - Win32 (WCE MIPSII) Release" +# Name "SDLmain - Win32 (WCE MIPSII) Debug" +# Name "SDLmain - Win32 (WCE SH4) Release" +# Name "SDLmain - Win32 (WCE SH4) Debug" +# Name "SDLmain - Win32 (WCE SH3) Release" +# Name "SDLmain - Win32 (WCE SH3) Debug" +# Name "SDLmain - Win32 (WCE MIPSIV) Release" +# Name "SDLmain - Win32 (WCE MIPSIV) Debug" +# Name "SDLmain - Win32 (WCE emulator) Release" +# Name "SDLmain - Win32 (WCE emulator) Debug" +# Name "SDLmain - Win32 (WCE ARMV4I) Release" +# Name "SDLmain - Win32 (WCE ARMV4I) Debug" +# Name "SDLmain - Win32 (WCE MIPSIV_FP) Release" +# Name "SDLmain - Win32 (WCE MIPSIV_FP) Debug" +# Name "SDLmain - Win32 (WCE ARMV4) Release" +# Name "SDLmain - Win32 (WCE ARMV4) Debug" +# Name "SDLmain - Win32 (WCE MIPS16) Release" +# Name "SDLmain - Win32 (WCE MIPS16) Debug" +# Name "SDLmain - Win32 (WCE ARMV4T) Release" +# Name "SDLmain - Win32 (WCE ARMV4T) Debug" +# Name "SDLmain - Win32 (WCE x86) Release" +# Name "SDLmain - Win32 (WCE x86) Debug" +# Name "SDLmain - Win32 (WCE ARM) Debug" +# Name "SDLmain - Win32 (WCE ARM) Release" +# Name "SDLmain - Win32 (WCE MIPS) Debug" +# Name "SDLmain - Win32 (WCE MIPS) Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\src\main\win32\SDL_win32_main.c + +!IF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII_FP) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII_FP) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSII) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH4) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH4) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH3) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE SH3) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE emulator) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE emulator) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4I) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4I) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV_FP) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPSIV_FP) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS16) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS16) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4T) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARMV4T) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE x86) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE x86) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARM) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_config.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_amiga.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_dreamcast.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_macos.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_macosx.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_os2.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_win32.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_wince.h"\ + {$(INCLUDE)}"..\..\include\SDL_cpuinfo.h"\ + {$(INCLUDE)}"..\..\include\SDL_endian.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_loadso.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_platform.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_stdinc.h"\ + {$(INCLUDE)}"..\..\include\SDL_thread.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE ARM) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_config.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_amiga.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_dreamcast.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_macos.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_macosx.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_os2.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_win32.h"\ + {$(INCLUDE)}"..\..\include\SDL_config_wince.h"\ + {$(INCLUDE)}"..\..\include\SDL_cpuinfo.h"\ + {$(INCLUDE)}"..\..\include\SDL_endian.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_loadso.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_platform.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_stdinc.h"\ + {$(INCLUDE)}"..\..\include\SDL_thread.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS) Debug" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "SDLmain - Win32 (WCE MIPS) Release" + +DEP_CPP_SDL_W=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + {$(INCLUDE)}"..\..\include\begin_code.h"\ + {$(INCLUDE)}"..\..\include\close_code.h"\ + {$(INCLUDE)}"..\..\include\SDL_active.h"\ + {$(INCLUDE)}"..\..\include\SDL_audio.h"\ + {$(INCLUDE)}"..\..\include\SDL_cdrom.h"\ + {$(INCLUDE)}"..\..\include\SDL_error.h"\ + {$(INCLUDE)}"..\..\include\SDL_events.h"\ + {$(INCLUDE)}"..\..\include\SDL_joystick.h"\ + {$(INCLUDE)}"..\..\include\SDL_keyboard.h"\ + {$(INCLUDE)}"..\..\include\SDL_keysym.h"\ + {$(INCLUDE)}"..\..\include\SDL_main.h"\ + {$(INCLUDE)}"..\..\include\SDL_mouse.h"\ + {$(INCLUDE)}"..\..\include\SDL_mutex.h"\ + {$(INCLUDE)}"..\..\include\SDL_quit.h"\ + {$(INCLUDE)}"..\..\include\SDL_rwops.h"\ + {$(INCLUDE)}"..\..\include\SDL_timer.h"\ + {$(INCLUDE)}"..\..\include\SDL_version.h"\ + {$(INCLUDE)}"..\..\include\SDL_video.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\include\SDL_main.h +# End Source File +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcproj b/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcproj new file mode 100644 index 0000000..8681cd4 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/SDLMain/SDLmain.vcproj @@ -0,0 +1,603 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcp b/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcp new file mode 100644 index 0000000..f886a6b --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcp @@ -0,0 +1,562 @@ +# Microsoft eMbedded Visual Tools Project File - Name="loopwave" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE x86) Application" 0x8301 +# TARGTYPE "Win32 (WCE ARM) Application" 0x8501 +# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 +# TARGTYPE "Win32 (WCE x86em) Application" 0x7f01 +# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 + +CFG=loopwave - Win32 (WCE emulator) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "loopwave.vcn". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "loopwave.vcn" CFG="loopwave - Win32 (WCE emulator) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "loopwave - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") +!MESSAGE "loopwave - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") +!MESSAGE "loopwave - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "loopwave - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "loopwave - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Application") +!MESSAGE "loopwave - Win32 (WCE x86em) Release" (based on "Win32 (WCE x86em) Application") +!MESSAGE "loopwave - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Application") +!MESSAGE "loopwave - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") +!MESSAGE "loopwave - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "loopwave - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86em) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86EMRel" +# PROP BASE Intermediate_Dir "X86EMRel" +# PROP BASE CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86EMRel" +# PROP Intermediate_Dir "X86EMRel" +# PROP CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "i486" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gz /Oxs /c +# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "i486" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gz /Oxs /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +# ADD CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ENDIF + +# Begin Target + +# Name "loopwave - Win32 (WCE emulator) Release" +# Name "loopwave - Win32 (WCE emulator) Debug" +# Name "loopwave - Win32 (WCE ARMV4) Release" +# Name "loopwave - Win32 (WCE ARMV4) Debug" +# Name "loopwave - Win32 (WCE ARM) Release" +# Name "loopwave - Win32 (WCE x86em) Release" +# Name "loopwave - Win32 (WCE ARM) Debug" +# Name "loopwave - Win32 (WCE x86) Release" +# Name "loopwave - Win32 (WCE x86) Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\test\loopwave.c + +!IF "$(CFG)" == "loopwave - Win32 (WCE emulator) Release" + +DEP_CPP_LOOPW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_LOOPW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE emulator) Debug" + +DEP_CPP_LOOPW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_LOOPW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARMV4) Release" + +DEP_CPP_LOOPW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_LOOPW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARMV4) Debug" + +DEP_CPP_LOOPW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_LOOPW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARM) Release" + +NODEP_CPP_LOOPW=\ + "..\..\test\SDL.h"\ + "..\..\test\SDL_audio.h"\ + "..\..\test\SDL_config.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86em) Release" + +NODEP_CPP_LOOPW=\ + "..\..\test\SDL.h"\ + "..\..\test\SDL_audio.h"\ + "..\..\test\SDL_config.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE ARM) Debug" + +NODEP_CPP_LOOPW=\ + "..\..\test\SDL.h"\ + "..\..\test\SDL_audio.h"\ + "..\..\test\SDL_config.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86) Release" + +NODEP_CPP_LOOPW=\ + "..\..\test\SDL.h"\ + "..\..\test\SDL_audio.h"\ + "..\..\test\SDL_config.h"\ + + +!ELSEIF "$(CFG)" == "loopwave - Win32 (WCE x86) Debug" + +NODEP_CPP_LOOPW=\ + "..\..\test\SDL.h"\ + "..\..\test\SDL_audio.h"\ + "..\..\test\SDL_config.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcproj b/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcproj new file mode 100644 index 0000000..b02636d --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/loopwave/loopwave.vcproj @@ -0,0 +1,374 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcp b/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcp new file mode 100644 index 0000000..93b49c9 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcp @@ -0,0 +1,698 @@ +# Microsoft eMbedded Visual Tools Project File - Name="testalpha" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE x86) Application" 0x8301 +# TARGTYPE "Win32 (WCE ARM) Application" 0x8501 +# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 +# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 +# TARGTYPE "Win32 (WCE MIPS) Application" 0x8201 +# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 + +CFG=testalpha - Win32 (WCE emulator) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testalpha.vcn". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testalpha.vcn" CFG="testalpha - Win32 (WCE emulator) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testalpha - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") +!MESSAGE "testalpha - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") +!MESSAGE "testalpha - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testalpha - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testalpha - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testalpha - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testalpha - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Application") +!MESSAGE "testalpha - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") +!MESSAGE "testalpha - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") +!MESSAGE "testalpha - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "testalpha - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE MIPS) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSDbg" +# PROP BASE Intermediate_Dir "MIPSDbg" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSDbg" +# PROP Intermediate_Dir "MIPSDbg" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE SH3) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH3Dbg" +# PROP BASE Intermediate_Dir "SH3Dbg" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH3Dbg" +# PROP Intermediate_Dir "SH3Dbg" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +# ADD CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ENDIF + +# Begin Target + +# Name "testalpha - Win32 (WCE emulator) Release" +# Name "testalpha - Win32 (WCE emulator) Debug" +# Name "testalpha - Win32 (WCE ARMV4) Release" +# Name "testalpha - Win32 (WCE ARMV4) Debug" +# Name "testalpha - Win32 (WCE ARM) Debug" +# Name "testalpha - Win32 (WCE ARM) Release" +# Name "testalpha - Win32 (WCE MIPS) Debug" +# Name "testalpha - Win32 (WCE SH3) Debug" +# Name "testalpha - Win32 (WCE x86) Release" +# Name "testalpha - Win32 (WCE x86) Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\test\testalpha.c + +!IF "$(CFG)" == "testalpha - Win32 (WCE emulator) Release" + +DEP_CPP_TESTA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE emulator) Debug" + +DEP_CPP_TESTA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARMV4) Release" + +DEP_CPP_TESTA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARMV4) Debug" + +DEP_CPP_TESTA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_syswm.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARM) Debug" + +DEP_CPP_TESTA=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTA=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE ARM) Release" + +DEP_CPP_TESTA=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTA=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE MIPS) Debug" + +DEP_CPP_TESTA=\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_types.h"\ + +NODEP_CPP_TESTA=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE SH3) Debug" + +DEP_CPP_TESTA=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE x86) Release" + +NODEP_CPP_TESTA=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testalpha - Win32 (WCE x86) Debug" + +NODEP_CPP_TESTA=\ + "..\..\test\SDL.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcproj b/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcproj new file mode 100644 index 0000000..c0012ac --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testalpha/testalpha.vcproj @@ -0,0 +1,710 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcp b/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcp new file mode 100644 index 0000000..1fc5e8e --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcp @@ -0,0 +1,874 @@ +# Microsoft eMbedded Visual Tools Project File - Name="testtimer" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE x86) Application" 0x8301 +# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 +# TARGTYPE "Win32 (WCE ARM) Application" 0x8501 +# TARGTYPE "Win32 (WCE x86em) Application" 0x7f01 +# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 +# TARGTYPE "Win32 (WCE MIPS) Application" 0x8201 +# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 + +CFG=testtimer - Win32 (WCE MIPS) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testtimer.vcn". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testtimer.vcn" CFG="testtimer - Win32 (WCE MIPS) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testtimer - Win32 (WCE MIPS) Release" (based on "Win32 (WCE MIPS) Application") +!MESSAGE "testtimer - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Application") +!MESSAGE "testtimer - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") +!MESSAGE "testtimer - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") +!MESSAGE "testtimer - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testtimer - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testtimer - Win32 (WCE x86em) Release" (based on "Win32 (WCE x86em) Application") +!MESSAGE "testtimer - Win32 (WCE x86em) Debug" (based on "Win32 (WCE x86em) Application") +!MESSAGE "testtimer - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testtimer - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testtimer - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") +!MESSAGE "testtimer - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") +!MESSAGE "testtimer - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") +!MESSAGE "testtimer - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "testtimer - Win32 (WCE MIPS) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "MIPSRel" +# PROP BASE Intermediate_Dir "MIPSRel" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "MIPSRel" +# PROP Intermediate_Dir "MIPSRel" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE MIPS) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSDbg" +# PROP BASE Intermediate_Dir "MIPSDbg" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSDbg" +# PROP Intermediate_Dir "MIPSDbg" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE SH3) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SH3Rel" +# PROP BASE Intermediate_Dir "SH3Rel" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "SH3Rel" +# PROP Intermediate_Dir "SH3Rel" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Oxs /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /Oxs /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE SH3) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH3Dbg" +# PROP BASE Intermediate_Dir "SH3Dbg" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH3Dbg" +# PROP Intermediate_Dir "SH3Dbg" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86em) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86EMRel" +# PROP BASE Intermediate_Dir "X86EMRel" +# PROP BASE CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86EMRel" +# PROP Intermediate_Dir "X86EMRel" +# PROP CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "i486" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gz /Oxs /c +# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "i486" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gz /Oxs /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86em) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86EMDbg" +# PROP BASE Intermediate_Dir "X86EMDbg" +# PROP BASE CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86EMDbg" +# PROP Intermediate_Dir "X86EMDbg" +# PROP CPU_ID "{D6518FF4-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /stack:0x10000,0x1000 /subsystem:windows /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /windowsce:emulation /MACHINE:IX86 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "i486" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gz /c +# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "i486" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gz /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "i486" /r + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Oxs /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Oxs /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ENDIF + +# Begin Target + +# Name "testtimer - Win32 (WCE MIPS) Release" +# Name "testtimer - Win32 (WCE MIPS) Debug" +# Name "testtimer - Win32 (WCE SH3) Release" +# Name "testtimer - Win32 (WCE SH3) Debug" +# Name "testtimer - Win32 (WCE ARM) Release" +# Name "testtimer - Win32 (WCE ARM) Debug" +# Name "testtimer - Win32 (WCE x86em) Release" +# Name "testtimer - Win32 (WCE x86em) Debug" +# Name "testtimer - Win32 (WCE ARMV4) Debug" +# Name "testtimer - Win32 (WCE ARMV4) Release" +# Name "testtimer - Win32 (WCE x86) Release" +# Name "testtimer - Win32 (WCE x86) Debug" +# Name "testtimer - Win32 (WCE emulator) Release" +# Name "testtimer - Win32 (WCE emulator) Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\test\testtimer.c + +!IF "$(CFG)" == "testtimer - Win32 (WCE MIPS) Release" + +DEP_CPP_TESTT=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE MIPS) Debug" + +DEP_CPP_TESTT=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE SH3) Release" + +DEP_CPP_TESTT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE SH3) Debug" + +DEP_CPP_TESTT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARM) Release" + +DEP_CPP_TESTT=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARM) Debug" + +DEP_CPP_TESTT=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTT=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86em) Release" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86em) Debug" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARMV4) Debug" + +DEP_CPP_TESTT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE ARMV4) Release" + +DEP_CPP_TESTT=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86) Release" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE x86) Debug" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE emulator) Release" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testtimer - Win32 (WCE emulator) Debug" + +NODEP_CPP_TESTT=\ + "..\..\test\SDL.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcproj b/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcproj new file mode 100644 index 0000000..c992d5b --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testtimer/testtimer.vcproj @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcp b/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcp new file mode 100644 index 0000000..32c5f57 --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcp @@ -0,0 +1,672 @@ +# Microsoft eMbedded Visual Tools Project File - Name="testwin" - Package Owner=<4> +# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (WCE x86) Application" 0x8301 +# TARGTYPE "Win32 (WCE ARM) Application" 0x8501 +# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 +# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 +# TARGTYPE "Win32 (WCE MIPS) Application" 0x8201 +# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 + +CFG=testwin - Win32 (WCE emulator) Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testwin.vcn". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testwin.vcn" CFG="testwin - Win32 (WCE emulator) Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testwin - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") +!MESSAGE "testwin - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") +!MESSAGE "testwin - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testwin - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") +!MESSAGE "testwin - Win32 (WCE ARM) Debug" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testwin - Win32 (WCE ARM) Release" (based on "Win32 (WCE ARM) Application") +!MESSAGE "testwin - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") +!MESSAGE "testwin - Win32 (WCE MIPS) Debug" (based on "Win32 (WCE MIPS) Application") +!MESSAGE "testwin - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") +!MESSAGE "testwin - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP ATL_Project 2 + +!IF "$(CFG)" == "testwin - Win32 (WCE emulator) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "emulatorRel" +# PROP BASE Intermediate_Dir "emulatorRel" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "emulatorRel" +# PROP Intermediate_Dir "emulatorRel" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE emulator) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "emulatorDbg" +# PROP BASE Intermediate_Dir "emulatorDbg" +# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "emulatorDbg" +# PROP Intermediate_Dir "emulatorDbg" +# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARMV4) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMV4Rel" +# PROP BASE Intermediate_Dir "ARMV4Rel" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMV4Rel" +# PROP Intermediate_Dir "ARMV4Rel" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "..\..\include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARMV4) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMV4Dbg" +# PROP BASE Intermediate_Dir "ARMV4Dbg" +# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMV4Dbg" +# PROP Intermediate_Dir "ARMV4Dbg" +# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "..\..\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARM) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ARMDbg" +# PROP BASE Intermediate_Dir "ARMDbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ARMDbg" +# PROP Intermediate_Dir "ARMDbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARM) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ARMRel" +# PROP BASE Intermediate_Dir "ARMRel" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ARMRel" +# PROP Intermediate_Dir "ARMRel" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /r +CPP=clarm.exe +# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +# ADD CPP /nologo /W3 /I "../../include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Oxs /M$(CECrtMT) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE SH3) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SH3Dbg" +# PROP BASE Intermediate_Dir "SH3Dbg" +# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "SH3Dbg" +# PROP Intermediate_Dir "SH3Dbg" +# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r +CPP=shcl.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE MIPS) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "MIPSDbg" +# PROP BASE Intermediate_Dir "MIPSDbg" +# PROP BASE CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "MIPSDbg" +# PROP Intermediate_Dir "MIPSDbg" +# PROP CPU_ID "{D6519010-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r +CPP=clmips.exe +# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE x86) Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "X86Rel" +# PROP BASE Intermediate_Dir "X86Rel" +# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "X86Rel" +# PROP Intermediate_Dir "X86Rel" +# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +# ADD CPP /nologo /W3 /GX- /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /Oxs /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 +# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE x86) Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "X86Dbg" +# PROP BASE Intermediate_Dir "X86Dbg" +# PROP BASE CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "X86Dbg" +# PROP Intermediate_Dir "X86Dbg" +# PROP CPU_ID "{D6518FFC-710F-11D3-99F2-00105A0DF099}" +# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" +# PROP Target_Dir "" +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /M$(CECrtMTDebug) /c +# ADD CPP /nologo /W3 /GX- /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /M$(CECrtMTDebug) /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# SUBTRACT BASE LINK32 /incremental:no +# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM +# SUBTRACT LINK32 /incremental:no + +!ENDIF + +# Begin Target + +# Name "testwin - Win32 (WCE emulator) Release" +# Name "testwin - Win32 (WCE emulator) Debug" +# Name "testwin - Win32 (WCE ARMV4) Release" +# Name "testwin - Win32 (WCE ARMV4) Debug" +# Name "testwin - Win32 (WCE ARM) Debug" +# Name "testwin - Win32 (WCE ARM) Release" +# Name "testwin - Win32 (WCE SH3) Debug" +# Name "testwin - Win32 (WCE MIPS) Debug" +# Name "testwin - Win32 (WCE x86) Release" +# Name "testwin - Win32 (WCE x86) Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\test\testwin.c + +!IF "$(CFG)" == "testwin - Win32 (WCE emulator) Release" + +DEP_CPP_TESTW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE emulator) Debug" + +DEP_CPP_TESTW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARMV4) Release" + +DEP_CPP_TESTW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARMV4) Debug" + +DEP_CPP_TESTW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_config.h"\ + "..\..\include\SDL_config_amiga.h"\ + "..\..\include\SDL_config_dreamcast.h"\ + "..\..\include\SDL_config_macos.h"\ + "..\..\include\SDL_config_macosx.h"\ + "..\..\include\SDL_config_os2.h"\ + "..\..\include\SDL_config_win32.h"\ + "..\..\include\SDL_cpuinfo.h"\ + "..\..\include\SDL_endian.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_loadso.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_platform.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_stdinc.h"\ + "..\..\include\SDL_thread.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARM) Debug" + +DEP_CPP_TESTW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE ARM) Release" + +DEP_CPP_TESTW=\ + "..\..\include\SDL.h"\ + +NODEP_CPP_TESTW=\ + "..\include\begin_code.h"\ + "..\include\close_code.h"\ + "..\include\SDL_active.h"\ + "..\include\SDL_audio.h"\ + "..\include\SDL_cdrom.h"\ + "..\include\SDL_config.h"\ + "..\include\SDL_config_amiga.h"\ + "..\include\SDL_config_dreamcast.h"\ + "..\include\SDL_config_macos.h"\ + "..\include\SDL_config_macosx.h"\ + "..\include\SDL_config_os2.h"\ + "..\include\SDL_config_win32.h"\ + "..\include\SDL_config_wince.h"\ + "..\include\SDL_cpuinfo.h"\ + "..\include\SDL_endian.h"\ + "..\include\SDL_error.h"\ + "..\include\SDL_events.h"\ + "..\include\SDL_joystick.h"\ + "..\include\SDL_keyboard.h"\ + "..\include\SDL_keysym.h"\ + "..\include\SDL_loadso.h"\ + "..\include\SDL_main.h"\ + "..\include\SDL_mouse.h"\ + "..\include\SDL_mutex.h"\ + "..\include\SDL_platform.h"\ + "..\include\SDL_quit.h"\ + "..\include\SDL_rwops.h"\ + "..\include\SDL_stdinc.h"\ + "..\include\SDL_thread.h"\ + "..\include\SDL_timer.h"\ + "..\include\SDL_version.h"\ + "..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE SH3) Debug" + +DEP_CPP_TESTW=\ + "..\..\include\begin_code.h"\ + "..\..\include\close_code.h"\ + "..\..\include\SDL.h"\ + "..\..\include\SDL_active.h"\ + "..\..\include\SDL_audio.h"\ + "..\..\include\SDL_byteorder.h"\ + "..\..\include\SDL_cdrom.h"\ + "..\..\include\SDL_error.h"\ + "..\..\include\SDL_events.h"\ + "..\..\include\SDL_getenv.h"\ + "..\..\include\SDL_joystick.h"\ + "..\..\include\SDL_keyboard.h"\ + "..\..\include\SDL_keysym.h"\ + "..\..\include\SDL_main.h"\ + "..\..\include\SDL_mouse.h"\ + "..\..\include\SDL_mutex.h"\ + "..\..\include\SDL_quit.h"\ + "..\..\include\SDL_rwops.h"\ + "..\..\include\SDL_timer.h"\ + "..\..\include\SDL_types.h"\ + "..\..\include\SDL_version.h"\ + "..\..\include\SDL_video.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE MIPS) Debug" + +NODEP_CPP_TESTW=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE x86) Release" + +NODEP_CPP_TESTW=\ + "..\..\test\SDL.h"\ + + +!ELSEIF "$(CFG)" == "testwin - Win32 (WCE x86) Debug" + +NODEP_CPP_TESTW=\ + "..\..\test\SDL.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcproj b/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcproj new file mode 100644 index 0000000..f64303d --- /dev/null +++ b/distrib/sdl-1.2.15/VisualCE/testwin/testwin.vcproj @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/distrib/sdl-1.2.15/Watcom-OS2.zip b/distrib/sdl-1.2.15/Watcom-OS2.zip new file mode 100644 index 0000000..b3d1a67 Binary files /dev/null and b/distrib/sdl-1.2.15/Watcom-OS2.zip differ diff --git a/distrib/sdl-1.2.15/Watcom-Win32.zip b/distrib/sdl-1.2.15/Watcom-Win32.zip new file mode 100644 index 0000000..c60af6d Binary files /dev/null and b/distrib/sdl-1.2.15/Watcom-Win32.zip differ diff --git a/distrib/sdl-1.2.15/WhatsNew b/distrib/sdl-1.2.15/WhatsNew new file mode 100644 index 0000000..927fdd2 --- /dev/null +++ b/distrib/sdl-1.2.15/WhatsNew @@ -0,0 +1,727 @@ + +This is a list of API changes in SDL's version history. + +Version 1.0: + +1.2.14: + Added cast macros for correct usage with C++: + SDL_reinterpret_cast(type, expression) + SDL_static_cast(type, expression) + + Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for + SDL_VIDEO_FULLSCREEN_HEAD on X11. + + Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal + up/down events for Caps-Lock and Num-Lock keys. + +1.2.13: + Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants. + +1.2.12: + Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling + of the screensaver on Mac OS X and X11. + +1.2.10: + If SDL_OpenAudio() is passed zero for the desired format + fields, the following environment variables will be used + to fill them in: + SDL_AUDIO_FREQUENCY + SDL_AUDIO_FORMAT + SDL_AUDIO_CHANNELS + SDL_AUDIO_SAMPLES + If an environment variable is not specified, it will be set + to a reasonable default value. + + Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment + variable, currently supported on X11 Xinerama configurations. + + Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications. + + Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration. + + Added current_w and current_h to the SDL_VideoInfo structure, + which is set to the desktop resolution during video intialization, + and then set to the current resolution when a video mode is set. + + SDL_SetVideoMode() now accepts 0 for width or height and will use + the current video mode (or the desktop mode if no mode has been set.) + + Added SDL_GetKeyRepeat() + + Added SDL_config.h, with defaults for various build environments. + +1.2.7: + Added CPU feature detection functions to SDL_cpuinfo.h: + SDL_HasRDTSC(), SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE(), + SDL_HasAltiVec() + Added function to create RWops from const memory: SDL_RWFromConstMem() + +1.2.6: + Added SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() + + Added SDL_GL_MULTISAMPLEBUFFERS and SDL_GL_MULTISAMPLESAMPLES for FSAA + +1.2.5: + Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5) + + Added SDL_GL_STEREO for stereoscopic OpenGL contexts + +1.2.0: + Added SDL_VIDEOEXPOSE event to signal that the screen needs to + be redrawn. This is currently only delivered to OpenGL windows + on X11, though it may be delivered in the future when the video + memory is lost under DirectX. + +1.1.8: + You can pass SDL_NOFRAME to SDL_VideoMode() to create a window + that has no title bar or frame decoration. Fullscreen video + modes automatically have this flag set. + + Added a function to query the clipping rectangle for a surface: + void SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect) + + Added a function to query the current event filter: + SDL_EventFilter SDL_GetEventFilter(void) + + If you pass -1 to SDL_ShowCursor(), it won't change the current + cursor visibility state, but will still return it. + + SDL_LockSurface() and SDL_UnlockSurface() are recursive, meaning + you can nest them as deep as you want, as long as each lock call + has a matching unlock call. The surface remains locked until the + last matching unlock call. + + Note that you may not blit to or from a locked surface. + +1.1.7: + The SDL_SetGammaRamp() and SDL_GetGammaRamp() functions now take + arrays of Uint16 values instead of Uint8 values. For the most part, + you can just take your old values and shift them up 8 bits to get + new correct values for your gamma ramps. + + You can pass SDL_RLEACCEL in flags passed to SDL_ConvertSurface() + and SDL will try to RLE accelerate colorkey and alpha blits in the + resulting surface. + +1.1.6: + Added a function to return the thread ID of a specific thread: + Uint32 SDL_GetThreadID(SDL_Thread *thread) + If 'thread' is NULL, this function returns the id for this thread. + +1.1.5: + The YUV overlay structure has been changed to use an array of + pitches and pixels representing the planes of a YUV image, to + better enable hardware acceleration. The YV12 and IYUV formats + each have three planes, corresponding to the Y, U, and V portions + of the image, while packed pixel YUV formats just have one plane. + + For palettized mode (8bpp), the screen colormap is now split in + a physical and a logical palette. The physical palette determines + what colours the screen pixels will get when displayed, and the + logical palette controls the mapping from blits to/from the screen. + A new function, SDL_SetPalette() has been added to change + logical and physical palettes separately. SDL_SetColors() works + just as before, and is equivalent to calling SDL_SetPalette() with + a flag argument of (SDL_LOGPAL|SDL_PHYSPAL). + + SDL_BlitSurface() no longer modifies the source rectangle, only the + destination rectangle. The width/height members of the destination + rectangle are ignored, only the position is used. + + The old source clipping function SDL_SetClipping() has been replaced + with a more useful function to set the destination clipping rectangle: + SDL_bool SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect) + + Added a function to see what subsystems have been initialized: + Uint32 SDL_WasInit(Uint32 flags) + + The Big Alpha Flip: SDL now treats alpha as opacity like everybody + else, and not as transparency: + + A new cpp symbol: SDL_ALPHA_OPAQUE is defined as 255 + A new cpp symbol: SDL_ALPHA_TRANSPARENT is defined as 0 + Values between 0 and 255 vary from fully transparent to fully opaque. + + New functions: + SDL_DisplayFormatAlpha() + Returns a surface converted to a format with alpha-channel + that can be blit efficiently to the screen. (In other words, + like SDL_DisplayFormat() but the resulting surface has + an alpha channel.) This is useful for surfaces with alpha. + SDL_MapRGBA() + Works as SDL_MapRGB() but takes an additional alpha parameter. + SDL_GetRGBA() + Works as SDL_GetRGB() but also returns the alpha value + (SDL_ALPHA_OPAQUE for formats without an alpha channel) + + Both SDL_GetRGB() and SDL_GetRGBA() now always return values in + the [0..255] interval. Previously, SDL_GetRGB() would return + (0xf8, 0xfc, 0xf8) for a completely white pixel in RGB565 format. + (N.B.: This is broken for bit fields < 3 bits.) + + SDL_MapRGB() returns pixels in which the alpha channel is set opaque. + + SDL_SetAlpha() can now be used for both setting the per-surface + alpha, using the new way of thinking of alpha, and also to enable + and disable per-pixel alpha blending for surfaces with an alpha + channel: + To disable alpha blending: + SDL_SetAlpha(surface, 0, 0); + To re-enable alpha blending: + SDL_SetAlpha(surface, SDL_SRCALPHA, 0); + Surfaces with an alpha channel have blending enabled by default. + + SDL_SetAlpha() now accepts SDL_RLEACCEL as a flag, which requests + RLE acceleration of blits, just as like with SDL_SetColorKey(). + This flag can be set for both surfaces with an alpha channel + and surfaces with an alpha value set by SDL_SetAlpha(). + As always, RLE surfaces must be locked before pixel access is + allowed, and unlocked before any other SDL operations are done + on it. + + The blit semantics for surfaces with and without alpha and colorkey + have now been defined: + + RGBA->RGB: + SDL_SRCALPHA set: + alpha-blend (using alpha-channel). + SDL_SRCCOLORKEY ignored. + SDL_SRCALPHA not set: + copy RGB. + if SDL_SRCCOLORKEY set, only copy the pixels matching the + RGB values of the source colour key, ignoring alpha in the + comparison. + + RGB->RGBA: + SDL_SRCALPHA set: + alpha-blend (using the source per-surface alpha value); + set destination alpha to opaque. + SDL_SRCALPHA not set: + copy RGB, set destination alpha to opaque. + both: + if SDL_SRCCOLORKEY set, only copy the pixels matching the + source colour key. + + RGBA->RGBA: + SDL_SRCALPHA set: + alpha-blend (using the source alpha channel) the RGB values; + leave destination alpha untouched. [Note: is this correct?] + SDL_SRCCOLORKEY ignored. + SDL_SRCALPHA not set: + copy all of RGBA to the destination. + if SDL_SRCCOLORKEY set, only copy the pixels matching the + RGB values of the source colour key, ignoring alpha in the + comparison. + + RGB->RGB: + SDL_SRCALPHA set: + alpha-blend (using the source per-surface alpha value). + SDL_SRCALPHA not set: + copy RGB. + both: + if SDL_SRCCOLORKEY set, only copy the pixels matching the + source colour key. + + As a special case, blits from surfaces with per-surface alpha + value of 128 (50% transparency) are optimised and much faster + than other alpha values. This does not apply to surfaces with + alpha channels (per-pixel alpha). + + New functions for manipulating the gamma of the display have + been added: + int SDL_SetGamma(float red, float green, float blue); + int SDL_SetGammaRamp(Uint8 *red, Uint8 *green, Uint8 *blue); + int SDL_GetGammaRamp(Uint8 *red, Uint8 *green, Uint8 *blue); + Gamma ramps are tables with 256 entries which map the screen color + components into actually displayed colors. For an example of + implementing gamma correction and gamma fades, see test/testgamma.c + Gamma control is not supported on all hardware. + +1.1.4: + The size of the SDL_CDtrack structure changed from 8 to 12 bytes + as the size of the length member was extended to 32 bits. + + You can now use SDL for 2D blitting with a GL mode by passing the + SDL_OPENGLBLIT flag to SDL_SetVideoMode(). You can specify 16 or + 32 bpp, and the data in the framebuffer is put into the GL scene + when you call SDL_UpdateRects(), and the scene will be visible + when you call SDL_GL_SwapBuffers(). + + Run the "testgl" test program with the -logo command line option + to see an example of this blending of 2D and 3D in SDL. + +1.1.3: + Added SDL_FreeRW() to the API, to complement SDL_AllocRW() + + Added resizable window support - just add SDL_RESIZABLE to the + SDL_SetVideoMode() flags, and then wait for SDL_VIDEORESIZE events. + See SDL_events.h for details on the new SDL_ResizeEvent structure. + + Added condition variable support, based on mutexes and semaphores. + SDL_CreateCond() + SDL_DestroyCond() + SDL_CondSignal() + SDL_CondBroadcast() + SDL_CondWait() + SDL_CondTimedWait() + The new function prototypes are in SDL_mutex.h + + Added counting semaphore support, based on the mutex primitive. + SDL_CreateSemaphore() + SDL_DestroySemaphore() + SDL_SemWait() + SDL_SemTryWait() + SDL_SemWaitTimeout() + SDL_SemPost() + SDL_SemValue() + The new function prototypes are in SDL_mutex.h + + Added support for asynchronous blitting. To take advantage of this, + you must set the SDL_ASYNCBLIT flag when setting the video mode and + creating surfaces that you want accelerated in this way. You must + lock surfaces that have this flag set, and the lock will block until + any queued blits have completed. + + Added YUV video overlay support. + The supported YUV formats are: YV12, IYUV, YUY2, UYVY, and YVYU. + This function creates an overlay surface: + SDL_CreateYUVOverlay() + You must lock and unlock the overlay to get access to the data: + SDL_LockYUVOverlay() SDL_UnlockYUVOverlay() + You can then display the overlay: + SDL_DisplayYUVOverlay() + You must free the overlay when you are done using it: + SDL_FreeYUVOverlay() + See SDL_video.h for the full function prototypes. + + The joystick hat position constants have been changed: + Old constant New constant + ------------ ------------ + 0 SDL_HAT_CENTERED + 1 SDL_HAT_UP + 2 SDL_HAT_RIGHTUP + 3 SDL_HAT_RIGHT + 4 SDL_HAT_RIGHTDOWN + 5 SDL_HAT_DOWN + 6 SDL_HAT_LEFTDOWN + 7 SDL_HAT_LEFT + 8 SDL_HAT_LEFTUP + The new constants are bitmasks, so you can check for the + individual axes like this: + if ( hat_position & SDL_HAT_UP ) { + } + and you'll catch left-up, up, and right-up. + +1.1.2: + Added multiple timer support: + SDL_AddTimer() and SDL_RemoveTimer() + + SDL_WM_SetIcon() now respects the icon colorkey if mask is NULL. + +1.1.0: + Added initial OpenGL support. + First set GL attributes (such as RGB depth, alpha depth, etc.) + SDL_GL_SetAttribute() + Then call SDL_SetVideoMode() with the SDL_OPENGL flag. + Perform all of your normal GL drawing. + Finally swap the buffers with the new SDL function: + SDL_GL_SwapBuffers() + See the new 'testgl' test program for an example of using GL with SDL. + + You can load GL extension functions by using the function: + SDL_GL_LoadProcAddress() + + Added functions to initialize and cleanup specific SDL subsystems: + SDL_InitSubSystem() and SDL_QuitSubSystem() + + Added user-defined event type: + typedef struct { + Uint8 type; + int code; + void *data1; + void *data2; + } SDL_UserEvent; + This structure is in the "user" member of an SDL_Event. + + Added a function to push events into the event queue: + SDL_PushEvent() + + Example of using the new SDL user-defined events: + { + SDL_Event event; + + event.type = SDL_USEREVENT; + event.user.code = my_event_code; + event.user.data1 = significant_data; + event.user.data2 = 0; + SDL_PushEvent(&event); + } + + Added a function to get mouse deltas since last query: + SDL_GetRelativeMouseState() + + Added a boolean datatype to SDL_types.h: + SDL_bool = { SDL_TRUE, SDL_FALSE } + + Added a function to get the current audio status: + SDL_GetAudioState(); + It returns one of: + SDL_AUDIO_STOPPED, + SDL_AUDIO_PLAYING, + SDL_AUDIO_PAUSED + + Added an AAlib driver (ASCII Art) - by Stephane Peter. + +1.0.6: + The input grab state is reset after each call to SDL_SetVideoMode(). + The input is grabbed by default in fullscreen mode, and ungrabbed in + windowed mode. If you want to set input grab to a particular value, + you should set it after each call to SDL_SetVideoMode(). + +1.0.5: + Exposed SDL_AudioInit(), SDL_VideoInit() + Added SDL_AudioDriverName() and SDL_VideoDriverName() + + Added new window manager function: + SDL_WM_ToggleFullScreen() + This is currently implemented only on Linux + + The ALT-ENTER code has been removed - it's not appropriate for a + lib to bind keys when they aren't even emergency escape sequences. + + ALT-ENTER functionality can be implemented with the following code: + + int Handle_AltEnter(const SDL_Event *event) + { + if ( event->type == SDL_KEYDOWN ) { + if ( (event->key.keysym.sym == SDLK_RETURN) && + (event->key.keysym.mod & KMOD_ALT) ) { + SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); + return(0); + } + } + return(1); + } + SDL_SetEventFilter(Handle_AltEnter); + +1.0.3: + Under X11, if you grab the input and hide the mouse cursor, + the mouse will go into a "relative motion" mode where you + will always get relative motion events no matter how far in + each direction you move the mouse - relative motion is not + bounded by the edges of the window (though the absolute values + of the mouse positions are clamped by the size of the window). + The SVGAlib, framebuffer console, and DirectInput drivers all + have this behavior naturally, and the GDI and BWindow drivers + never go into "relative motion" mode. + +1.0.2: + Added a function to enable keyboard repeat: + SDL_EnableKeyRepeat() + + Added a function to grab the mouse and keyboard input + SDL_WM_GrabInput() + + Added a function to iconify the window. + SDL_WM_IconifyWindow() + If this function succeeds, the application will receive an event + signaling SDL_APPACTIVE event + +1.0.1: + Added constants to SDL_audio.h for 16-bit native byte ordering: + AUDIO_U16SYS, AUDIO_S16SYS + +1.0.0: + New public release + +Version 0.11: + +0.11.5: + A new function SDL_GetVideoSurface() has been added, and returns + a pointer to the current display surface. + + SDL_AllocSurface() has been renamed SDL_CreateRGBSurface(), and + a new function SDL_CreateRGBSurfaceFrom() has been added to allow + creating an SDL surface from an existing pixel data buffer. + + Added SDL_GetRGB() to the headers and documentation. + +0.11.4: + SDL_SetLibraryPath() is no longer meaningful, and has been removed. + +0.11.3: + A new flag for SDL_Init(), SDL_INIT_NOPARACHUTE, prevents SDL from + installing fatal signal handlers on operating systems that support + them. + +Version 0.9: + +0.9.15: + SDL_CreateColorCursor() has been removed. Color cursors should + be implemented as sprites, blitted by the application when the + cursor moves. To get smooth color cursor updates when the app + is busy, pass the SDL_INIT_EVENTTHREAD flag to SDL_Init(). This + allows you to handle the mouse motion in another thread from an + event filter function, but is currently only supported by Linux + and BeOS. Note that you'll have to protect the display surface + from multi-threaded access by using mutexes if you do this. + + Thread-safe surface support has been removed from SDL. + This makes blitting somewhat faster, by removing SDL_MiddleBlit(). + Code that used SDL_MiddleBlit() should use SDL_LowerBlit() instead. + You can make your surfaces thread-safe by allocating your own + mutex and making lock/unlock calls around accesses to your surface. + +0.9.14: + SDL_GetMouseState() now takes pointers to int rather than Uint16. + + If you set the SDL_WINDOWID environment variable under UNIX X11, + SDL will use that as the main window instead of creating it's own. + This is an unsupported extension to SDL, and not portable at all. + +0.9.13: + Added a function SDL_SetLibraryPath() which can be used to specify + the directory containing the SDL dynamic libraries. This is useful + for commercial applications which ship with particular versions + of the libraries, and for security on multi-user systems. + If this function is not used, the default system directories are + searched using the native dynamic object loading mechanism. + + In order to support C linkage under Visual C++, you must declare + main() without any return type: + main(int argc, char *argv[]) { + /* Do the program... */ + return(0); + } + C++ programs should also return a value if compiled under VC++. + + The blit_endian member of the SDL_VideoInfo struct has been removed. + + SDL_SymToASCII() has been replaced with SDL_GetKeyName(), so there + is now no longer any function to translate a keysym to a character. + + The SDL_keysym structure has been extended with a 'scancode' and + 'unicode' member. The 'scancode' is a hardware specific scancode + for the key that was pressed, and may be 0. The 'unicode' member + is a 16-bit UNICODE translation of the key that was pressed along + with any modifiers or compose keys that have been pressed. + If no UNICODE translation exists for the key, 'unicode' will be 0. + + Added a function SDL_EnableUNICODE() to enable/disable UNICODE + translation of character keypresses. Translation defaults off. + + To convert existing code to use the new API, change code which + uses SDL_SymToASCII() to get the keyname to use SDL_GetKeyName(), + and change code which uses it to get the ASCII value of a sym to + use the 'unicode' member of the event keysym. + +0.9.12: + There is partial support for 64-bit datatypes. I don't recommend + you use this if you have a choice, because 64-bit datatypes are not + supported on many platforms. On platforms for which it is supported, + the SDL_HAS_64BIT_TYPE C preprocessor define will be enabled, and + you can use the Uint64 and Sint64 datatypes. + + Added functions to SDL_endian.h to support 64-bit datatypes: + SDL_SwapLE64(), SDL_SwapBE64(), + SDL_ReadLE64(), SDL_ReadBE64(), SDL_WriteLE64(), SDL_WriteBE64() + + A new member "len_ratio" has been added to the SDL_AudioCVT structure, + and allows you to determine either the original buffer length or the + converted buffer length, given the other. + + A new function SDL_FreeWAV() has been added to the API to free data + allocated by SDL_LoadWAV_RW(). This is necessary under Win32 since + the gcc compiled DLL uses a different heap than VC++ compiled apps. + + SDL now has initial support for international keyboards using the + Latin character set. + If a particular mapping is desired, you can set the DEFAULT_KEYBOARD + compile-time variable, or you can set the environment variable + "SDL_KEYBOARD" to a string identifying the keyboard mapping you desire. + The valid values for these variables can be found in SDL_keyboard.c + + Full support for German and French keyboards under X11 is implemented. + +0.9.11: + The THREADED_EVENTS compile-time define has been replaced with the + SDL_INIT_EVENTTHREAD flag. If this flag is passed to SDL_Init(), + SDL will create a separate thread to perform input event handling. + If this flag is passed to SDL_Init(), and the OS doesn't support + event handling in a separate thread, SDL_Init() will fail. + Be sure to add calls to SDL_Delay() in your main thread to allow + the OS to schedule your event thread, or it may starve, leading + to slow event delivery and/or dropped events. + Currently MacOS and Win32 do not support this flag, while BeOS + and Linux do support it. I recommend that your application only + use this flag if absolutely necessary. + + The SDL thread function passed to SDL_CreateThread() now returns a + status. This status can be retrieved by passing a non-NULL pointer + as the 'status' argument to SDL_WaitThread(). + + The volume parameter to SDL_MixAudio() has been increased in range + from (0-8) to (0-128) + + SDL now has a data source abstraction which can encompass a file, + an area of memory, or any custom object you can envision. It uses + these abstractions, SDL_RWops, in the endian read/write functions, + and the built-in WAV and BMP file loaders. This means you can load + WAV chunks from memory mapped files, compressed archives, network + pipes, or anything else that has a data read abstraction. + + There are three built-in data source abstractions: + SDL_RWFromFile(), SDL_RWFromFP(), SDL_RWFromMem() + along with a generic data source allocation function: + SDL_AllocRW() + These data sources can be used like stdio file pointers with the + following convenience functions: + SDL_RWseek(), SDL_RWread(), SDL_RWwrite(), SDL_RWclose() + These functions are defined in the new header file "SDL_rwops.h" + + The endian swapping functions have been turned into macros for speed + and SDL_CalculateEndian() has been removed. SDL_endian.h now defines + SDL_BYTEORDER as either SDL_BIG_ENDIAN or SDL_LIL_ENDIAN depending on + the endianness of the host system. + + The endian read/write functions now take an SDL_RWops pointer + instead of a stdio FILE pointer, to support the new data source + abstraction. + + The SDL_*LoadWAV() functions have been replaced with a single + SDL_LoadWAV_RW() function that takes a SDL_RWops pointer as it's + first parameter, and a flag whether or not to automatically + free it as the second parameter. SDL_LoadWAV() is a macro for + backward compatibility and convenience: + SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); + + The SDL_*LoadBMP()/SDL_*SaveBMP() functions have each been replaced + with a single function that takes a SDL_RWops pointer as it's + first parameter, and a flag whether or not to automatically + free it as the second parameter. SDL_LoadBMP() and SDL_SaveBMP() + are macros for backward compatibility and convenience: + SDL_LoadBMP_RW(SDL_RWFromFile("sample.bmp", "rb"), 1, ...); + SDL_SaveBMP_RW(SDL_RWFromFile("sample.bmp", "wb"), 1, ...); + Note that these functions use SDL_RWseek() extensively, and should + not be used on pipes or other non-seekable data sources. + +0.9.10: + The Linux SDL_SysWMInfo and SDL_SysWMMsg structures have been + extended to support multiple types of display drivers, as well as + safe access to the X11 display when THREADED_EVENTS is enabled. + The new structures are documented in the SDL_syswm.h header file. + + Thanks to John Elliott , the UK keyboard + should now work properly, as well as the "Windows" keys on US + keyboards. + + The Linux CD-ROM code now reads the CD-ROM devices from /etc/fstab + instead of trying to open each block device on the system. + The CD must be listed in /etc/fstab as using the iso9660 filesystem. + + On Linux, if you define THREADED_EVENTS at compile time, a separate + thread will be spawned to gather X events asynchronously from the + graphics updates. This hasn't been extensively tested, but it does + provide a means of handling keyboard and mouse input in a separate + thread from the graphics thread. (This is now enabled by default.) + + A special access function SDL_PeepEvents() allows you to manipulate + the event queue in a thread-safe manner, including peeking at events, + removing events of a specified type, and adding new events of arbitrary + type to the queue (use the new 'user' member of the SDL_Event type). + + If you use SDL_PeepEvents() to gather events, then the main graphics + thread needs to call SDL_PumpEvents() periodically to drive the event + loop and generate input events. This is not necessary if SDL has been + compiled with THREADED_EVENTS defined, but doesn't hurt. + + A new function SDL_ThreadID() returns the identifier associated with + the current thread. + +0.9.9: + The AUDIO_STEREO format flag has been replaced with a new 'channels' + member of the SDL_AudioSpec structure. The channels are 1 for mono + audio, and 2 for stereo audio. In the future more channels may be + supported for 3D surround sound. + + The SDL_MixAudio() function now takes an additional volume parameter, + which should be set to SDL_MIX_MAXVOLUME for compatibility with the + original function. + + The CD-ROM functions which take a 'cdrom' parameter can now be + passed NULL, and will act on the last successfully opened CD-ROM. + +0.9.8: + No changes, bugfixes only. + +0.9.7: + No changes, bugfixes only. + +0.9.6: + Added a fast rectangle fill function: SDL_FillRect() + + Addition of a useful function for getting info on the video hardware: + const SDL_VideoInfo *SDL_GetVideoInfo(void) + This function replaces SDL_GetDisplayFormat(). + + Initial support for double-buffering: + Use the SDL_DOUBLEBUF flag in SDL_SetVideoMode() + Update the screen with a new function: SDL_Flip() + + SDL_AllocSurface() takes two new flags: + SDL_SRCCOLORKEY means that the surface will be used for colorkey blits + and if the hardware supports hardware acceleration of colorkey blits + between two surfaces in video memory, to place the surface in video + memory if possible, otherwise it will be placed in system memory. + SDL_SRCALPHA means that the surface will be used for alpha blits and + if the hardware supports hardware acceleration of alpha blits between + two surfaces in video memory, to place the surface in video memory + if possible, otherwise it will be placed in system memory. + SDL_HWSURFACE now means that the surface will be created with the + same format as the display surface, since having surfaces in video + memory is only useful for fast blitting to the screen, and you can't + blit surfaces with different surface formats in video memory. + +0.9.5: + You can now pass a NULL mask to SDL_WM_SetIcon(), and it will assume + that the icon consists of the entire image. + + SDL_LowerBlit() is back -- but don't use it on the display surface. + It is exactly the same as SDL_MiddleBlit(), but doesn't check for + thread safety. + + Added SDL_FPLoadBMP(), SDL_FPSaveBMP(), SDL_FPLoadWAV(), which take + a FILE pointer instead of a file name. + + Added CD-ROM audio control API: + SDL_CDNumDrives() + SDL_CDName() + SDL_CDOpen() + SDL_CDStatus() + SDL_CDPlayTracks() + SDL_CDPlay() + SDL_CDPause() + SDL_CDResume() + SDL_CDStop() + SDL_CDEject() + SDL_CDClose() + +0.9.4: + No changes, bugfixes only. + +0.9.3: + Mouse motion event now includes relative motion information: + Sint16 event->motion.xrel, Sint16 event->motion.yrel + + X11 keyrepeat handling can be disabled by defining IGNORE_X_KEYREPEAT + (Add -DIGNORE_X_KEYREPEAT to CFLAGS line in obj/x11Makefile) + +0.9.2: + No changes, bugfixes only. + +0.9.1: + Removed SDL_MapSurface() and SDL_UnmapSurface() -- surfaces are now + automatically mapped on blit. + +0.8.0: + SDL stable release diff --git a/distrib/sdl-1.2.15/Xcode/SDL/Info-Framework.plist b/distrib/sdl-1.2.15/Xcode/SDL/Info-Framework.plist new file mode 100644 index 0000000..bdcbf6e --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/Info-Framework.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + SDL + CFBundleGetInfoString + http://www.libsdl.org + CFBundleIconFile + + CFBundleIdentifier + SDL + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Simple DirectMedia Layer + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.2.14 + CFBundleSignature + SDLX + CFBundleVersion + 1.2.14 + + diff --git a/distrib/sdl-1.2.15/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/SDL/SDL.xcodeproj/project.pbxproj new file mode 100755 index 0000000..1dbe888 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/SDL.xcodeproj/project.pbxproj @@ -0,0 +1,1961 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXAggregateTarget section */ + 0032354F1070931700C76517 /* Generate Doxygen DocSet */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 003235571070933500C76517 /* Build configuration list for PBXAggregateTarget "Generate Doxygen DocSet" */; + buildPhases = ( + 0032354E1070931700C76517 /* ShellScript */, + ); + dependencies = ( + ); + name = "Generate Doxygen DocSet"; + productName = "Generate Doxygen DocSet"; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 0014B7EF09C0D8D2003A99D5 /* SDL_dgaevents.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7E909C0D8D2003A99D5 /* SDL_dgaevents.c */; }; + 0014B7F109C0D8D2003A99D5 /* SDL_dgamouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7EB09C0D8D2003A99D5 /* SDL_dgamouse.c */; }; + 0014B7F209C0D8D2003A99D5 /* SDL_dgavideo.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7EC09C0D8D2003A99D5 /* SDL_dgavideo.c */; }; + 0014B7F409C0D8D2003A99D5 /* SDL_dgaevents_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B7E809C0D8D2003A99D5 /* SDL_dgaevents_c.h */; }; + 0014B7F509C0D8D2003A99D5 /* SDL_dgaevents.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7E909C0D8D2003A99D5 /* SDL_dgaevents.c */; }; + 0014B7F609C0D8D2003A99D5 /* SDL_dgamouse_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B7EA09C0D8D2003A99D5 /* SDL_dgamouse_c.h */; }; + 0014B7F709C0D8D2003A99D5 /* SDL_dgamouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7EB09C0D8D2003A99D5 /* SDL_dgamouse.c */; }; + 0014B7F809C0D8D2003A99D5 /* SDL_dgavideo.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B7EC09C0D8D2003A99D5 /* SDL_dgavideo.c */; }; + 0014B7F909C0D8D2003A99D5 /* SDL_dgavideo.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B7ED09C0D8D2003A99D5 /* SDL_dgavideo.h */; }; + 0014B84F09C0D977003A99D5 /* SDL_x11dga.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83809C0D977003A99D5 /* SDL_x11dga.c */; }; + 0014B85009C0D977003A99D5 /* SDL_x11dyn.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83909C0D977003A99D5 /* SDL_x11dyn.c */; }; + 0014B85309C0D977003A99D5 /* SDL_x11events.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83C09C0D977003A99D5 /* SDL_x11events.c */; }; + 0014B85509C0D977003A99D5 /* SDL_x11gamma.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83E09C0D977003A99D5 /* SDL_x11gamma.c */; }; + 0014B85709C0D977003A99D5 /* SDL_x11gl.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84009C0D977003A99D5 /* SDL_x11gl.c */; }; + 0014B85909C0D977003A99D5 /* SDL_x11image.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84209C0D977003A99D5 /* SDL_x11image.c */; }; + 0014B85B09C0D977003A99D5 /* SDL_x11modes.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84409C0D977003A99D5 /* SDL_x11modes.c */; }; + 0014B85D09C0D977003A99D5 /* SDL_x11mouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84609C0D977003A99D5 /* SDL_x11mouse.c */; }; + 0014B85F09C0D977003A99D5 /* SDL_x11video.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84809C0D977003A99D5 /* SDL_x11video.c */; }; + 0014B86209C0D977003A99D5 /* SDL_x11wm.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84B09C0D977003A99D5 /* SDL_x11wm.c */; }; + 0014B86409C0D977003A99D5 /* SDL_x11yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84D09C0D977003A99D5 /* SDL_x11yuv.c */; }; + 0014B86509C0D977003A99D5 /* SDL_x11dga_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B83709C0D977003A99D5 /* SDL_x11dga_c.h */; }; + 0014B86609C0D977003A99D5 /* SDL_x11dga.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83809C0D977003A99D5 /* SDL_x11dga.c */; }; + 0014B86709C0D977003A99D5 /* SDL_x11dyn.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83909C0D977003A99D5 /* SDL_x11dyn.c */; }; + 0014B86809C0D977003A99D5 /* SDL_x11dyn.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B83A09C0D977003A99D5 /* SDL_x11dyn.h */; }; + 0014B86909C0D977003A99D5 /* SDL_x11events_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B83B09C0D977003A99D5 /* SDL_x11events_c.h */; }; + 0014B86A09C0D977003A99D5 /* SDL_x11events.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83C09C0D977003A99D5 /* SDL_x11events.c */; }; + 0014B86B09C0D977003A99D5 /* SDL_x11gamma_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B83D09C0D977003A99D5 /* SDL_x11gamma_c.h */; }; + 0014B86C09C0D977003A99D5 /* SDL_x11gamma.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B83E09C0D977003A99D5 /* SDL_x11gamma.c */; }; + 0014B86D09C0D977003A99D5 /* SDL_x11gl_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B83F09C0D977003A99D5 /* SDL_x11gl_c.h */; }; + 0014B86E09C0D977003A99D5 /* SDL_x11gl.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84009C0D977003A99D5 /* SDL_x11gl.c */; }; + 0014B86F09C0D977003A99D5 /* SDL_x11image_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84109C0D977003A99D5 /* SDL_x11image_c.h */; }; + 0014B87009C0D977003A99D5 /* SDL_x11image.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84209C0D977003A99D5 /* SDL_x11image.c */; }; + 0014B87109C0D977003A99D5 /* SDL_x11modes_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84309C0D977003A99D5 /* SDL_x11modes_c.h */; }; + 0014B87209C0D977003A99D5 /* SDL_x11modes.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84409C0D977003A99D5 /* SDL_x11modes.c */; }; + 0014B87309C0D977003A99D5 /* SDL_x11mouse_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84509C0D977003A99D5 /* SDL_x11mouse_c.h */; }; + 0014B87409C0D977003A99D5 /* SDL_x11mouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84609C0D977003A99D5 /* SDL_x11mouse.c */; }; + 0014B87509C0D977003A99D5 /* SDL_x11sym.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84709C0D977003A99D5 /* SDL_x11sym.h */; }; + 0014B87609C0D977003A99D5 /* SDL_x11video.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84809C0D977003A99D5 /* SDL_x11video.c */; }; + 0014B87709C0D977003A99D5 /* SDL_x11video.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84909C0D977003A99D5 /* SDL_x11video.h */; }; + 0014B87809C0D977003A99D5 /* SDL_x11wm_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84A09C0D977003A99D5 /* SDL_x11wm_c.h */; }; + 0014B87909C0D977003A99D5 /* SDL_x11wm.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84B09C0D977003A99D5 /* SDL_x11wm.c */; }; + 0014B87A09C0D977003A99D5 /* SDL_x11yuv_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B84C09C0D977003A99D5 /* SDL_x11yuv_c.h */; }; + 0014B87B09C0D977003A99D5 /* SDL_x11yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B84D09C0D977003A99D5 /* SDL_x11yuv.c */; }; + 0014B89209C0DA94003A99D5 /* XF86DGA.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89009C0DA94003A99D5 /* XF86DGA.c */; }; + 0014B89309C0DA94003A99D5 /* XF86DGA2.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89109C0DA94003A99D5 /* XF86DGA2.c */; }; + 0014B89409C0DA94003A99D5 /* XF86DGA.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89009C0DA94003A99D5 /* XF86DGA.c */; }; + 0014B89509C0DA94003A99D5 /* XF86DGA2.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89109C0DA94003A99D5 /* XF86DGA2.c */; }; + 0014B89709C0DAA1003A99D5 /* XF86VMode.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89609C0DAA1003A99D5 /* XF86VMode.c */; }; + 0014B89809C0DAA1003A99D5 /* XF86VMode.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89609C0DAA1003A99D5 /* XF86VMode.c */; }; + 0014B89B09C0DAAE003A99D5 /* Xv.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89909C0DAAE003A99D5 /* Xv.c */; }; + 0014B89D09C0DAAE003A99D5 /* Xv.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89909C0DAAE003A99D5 /* Xv.c */; }; + 0014B89E09C0DAAE003A99D5 /* Xvlibint.h in Headers */ = {isa = PBXBuildFile; fileRef = 0014B89A09C0DAAE003A99D5 /* Xvlibint.h */; }; + 0014B8A009C0DAB9003A99D5 /* Xinerama.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89F09C0DAB9003A99D5 /* Xinerama.c */; }; + 0014B8A109C0DAB9003A99D5 /* Xinerama.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B89F09C0DAB9003A99D5 /* Xinerama.c */; }; + 0014B8A309C0DAC4003A99D5 /* xme.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B8A209C0DAC4003A99D5 /* xme.c */; }; + 0014B8A409C0DAC4003A99D5 /* xme.c in Sources */ = {isa = PBXBuildFile; fileRef = 0014B8A209C0DAC4003A99D5 /* xme.c */; }; + 00162D4409BD1FA90037C8D0 /* SDL_config_dreamcast.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3209BD1FA90037C8D0 /* SDL_config_dreamcast.h */; }; + 00162D4509BD1FA90037C8D0 /* SDL_config_macos.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3309BD1FA90037C8D0 /* SDL_config_macos.h */; }; + 00162D4609BD1FA90037C8D0 /* SDL_config_macosx.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */; }; + 00162D4709BD1FA90037C8D0 /* SDL_config_os2.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3509BD1FA90037C8D0 /* SDL_config_os2.h */; }; + 00162D4809BD1FA90037C8D0 /* SDL_config_win32.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3609BD1FA90037C8D0 /* SDL_config_win32.h */; }; + 00162D4909BD1FA90037C8D0 /* SDL_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3709BD1FA90037C8D0 /* SDL_config.h */; }; + 00162D4A09BD1FA90037C8D0 /* SDL_platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3809BD1FA90037C8D0 /* SDL_platform.h */; }; + 00162D4B09BD1FA90037C8D0 /* SDL_stdinc.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */; }; + 00162D5309BD20DA0037C8D0 /* SDL_syscond.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D4D09BD20DA0037C8D0 /* SDL_syscond.c */; }; + 00162D5409BD20DA0037C8D0 /* SDL_sysmutex.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D4E09BD20DA0037C8D0 /* SDL_sysmutex.c */; }; + 00162D5609BD20DA0037C8D0 /* SDL_syssem.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D5009BD20DA0037C8D0 /* SDL_syssem.c */; }; + 00162D5709BD20DA0037C8D0 /* SDL_systhread.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D5109BD20DA0037C8D0 /* SDL_systhread.c */; }; + 00162D5909BD20DA0037C8D0 /* SDL_syscond.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D4D09BD20DA0037C8D0 /* SDL_syscond.c */; }; + 00162D5A09BD20DA0037C8D0 /* SDL_sysmutex.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D4E09BD20DA0037C8D0 /* SDL_sysmutex.c */; }; + 00162D5B09BD20DA0037C8D0 /* SDL_sysmutex_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D4F09BD20DA0037C8D0 /* SDL_sysmutex_c.h */; }; + 00162D5C09BD20DA0037C8D0 /* SDL_syssem.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D5009BD20DA0037C8D0 /* SDL_syssem.c */; }; + 00162D5D09BD20DA0037C8D0 /* SDL_systhread.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D5109BD20DA0037C8D0 /* SDL_systhread.c */; }; + 00162D5E09BD20DA0037C8D0 /* SDL_systhread_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D5209BD20DA0037C8D0 /* SDL_systhread_c.h */; }; + 00162D6109BD21010037C8D0 /* SDL_systimer.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6009BD21010037C8D0 /* SDL_systimer.c */; }; + 00162D6209BD21010037C8D0 /* SDL_systimer.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6009BD21010037C8D0 /* SDL_systimer.c */; }; + 00162D6B09BD214F0037C8D0 /* SDL_getenv.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6509BD214F0037C8D0 /* SDL_getenv.c */; }; + 00162D6C09BD214F0037C8D0 /* SDL_malloc.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6609BD214F0037C8D0 /* SDL_malloc.c */; }; + 00162D6D09BD214F0037C8D0 /* SDL_qsort.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6709BD214F0037C8D0 /* SDL_qsort.c */; }; + 00162D6E09BD214F0037C8D0 /* SDL_stdlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6809BD214F0037C8D0 /* SDL_stdlib.c */; }; + 00162D6F09BD214F0037C8D0 /* SDL_string.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6909BD214F0037C8D0 /* SDL_string.c */; }; + 00162D7009BD214F0037C8D0 /* SDL_getenv.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6509BD214F0037C8D0 /* SDL_getenv.c */; }; + 00162D7109BD214F0037C8D0 /* SDL_malloc.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6609BD214F0037C8D0 /* SDL_malloc.c */; }; + 00162D7209BD214F0037C8D0 /* SDL_qsort.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6709BD214F0037C8D0 /* SDL_qsort.c */; }; + 00162D7309BD214F0037C8D0 /* SDL_stdlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6809BD214F0037C8D0 /* SDL_stdlib.c */; }; + 00162D7409BD214F0037C8D0 /* SDL_string.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162D6909BD214F0037C8D0 /* SDL_string.c */; }; + 00162DA409BD222F0037C8D0 /* SDL_config_dreamcast.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3209BD1FA90037C8D0 /* SDL_config_dreamcast.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DA509BD222F0037C8D0 /* SDL_config_macos.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3309BD1FA90037C8D0 /* SDL_config_macos.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DA609BD222F0037C8D0 /* SDL_config_macosx.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DA709BD222F0037C8D0 /* SDL_config_os2.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3509BD1FA90037C8D0 /* SDL_config_os2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DA809BD222F0037C8D0 /* SDL_config_win32.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3609BD1FA90037C8D0 /* SDL_config_win32.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DA909BD222F0037C8D0 /* SDL_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3709BD1FA90037C8D0 /* SDL_config.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAA09BD222F0037C8D0 /* SDL_platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3809BD1FA90037C8D0 /* SDL_platform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAB09BD222F0037C8D0 /* SDL_stdinc.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAC09BD222F0037C8D0 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5E501191D2B7F000001 /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAD09BD222F0037C8D0 /* close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5E601191D2B7F000001 /* close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAE09BD222F0037C8D0 /* SDL_active.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5E701191D2B7F000001 /* SDL_active.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DAF09BD222F0037C8D0 /* SDL_audio.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5E801191D2B7F000001 /* SDL_audio.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB009BD222F0037C8D0 /* SDL_byteorder.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5E901191D2B7F000001 /* SDL_byteorder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB109BD222F0037C8D0 /* SDL_cdrom.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5EA01191D2B7F000001 /* SDL_cdrom.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB209BD222F0037C8D0 /* SDL_copying.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5EB01191D2B7F000001 /* SDL_copying.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB309BD222F0037C8D0 /* SDL_cpuinfo.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CF8DC405C444E400E5DC7F /* SDL_cpuinfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB409BD222F0037C8D0 /* SDL_endian.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5EC01191D2B7F000001 /* SDL_endian.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB509BD222F0037C8D0 /* SDL_error.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5ED01191D2B7F000001 /* SDL_error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB609BD222F0037C8D0 /* SDL_events.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5EE01191D2B7F000001 /* SDL_events.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB709BD222F0037C8D0 /* SDL_getenv.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5EF01191D2B7F000001 /* SDL_getenv.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB809BD222F0037C8D0 /* SDL_joystick.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F001191D2B7F000001 /* SDL_joystick.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DB909BD222F0037C8D0 /* SDL_keyboard.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F101191D2B7F000001 /* SDL_keyboard.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBA09BD222F0037C8D0 /* SDL_keysym.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F201191D2B7F000001 /* SDL_keysym.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBB09BD222F0037C8D0 /* SDL_loadso.h in Headers */ = {isa = PBXBuildFile; fileRef = B29A290D04E5B28700A80002 /* SDL_loadso.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBC09BD222F0037C8D0 /* SDL_main.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F301191D2B7F000001 /* SDL_main.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBD09BD222F0037C8D0 /* SDL_mouse.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F401191D2B7F000001 /* SDL_mouse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBE09BD222F0037C8D0 /* SDL_mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F501191D2B7F000001 /* SDL_mutex.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DBF09BD222F0037C8D0 /* SDL_name.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CF8DC705C4450500E5DC7F /* SDL_name.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC009BD222F0037C8D0 /* SDL_opengl.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F601191D2B7F000001 /* SDL_opengl.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC109BD222F0037C8D0 /* SDL_quit.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F701191D2B7F000001 /* SDL_quit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC209BD222F0037C8D0 /* SDL_rwops.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F801191D2B7F000001 /* SDL_rwops.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC309BD222F0037C8D0 /* SDL_syswm.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5F901191D2B7F000001 /* SDL_syswm.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC409BD222F0037C8D0 /* SDL_thread.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FA01191D2B7F000001 /* SDL_thread.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC509BD222F0037C8D0 /* SDL_timer.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FB01191D2B7F000001 /* SDL_timer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC609BD222F0037C8D0 /* SDL_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FC01191D2B7F000001 /* SDL_types.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC709BD222F0037C8D0 /* SDL_version.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FD01191D2B7F000001 /* SDL_version.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC809BD222F0037C8D0 /* SDL_video.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FE01191D2B7F000001 /* SDL_video.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162DC909BD222F0037C8D0 /* SDL.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C5AF5FF01191D2B7F000001 /* SDL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00162E6809BD27300037C8D0 /* SDL_mixer_MMX.c in Sources */ = {isa = PBXBuildFile; fileRef = 00B7E61F097F2D9E00826121 /* SDL_mixer_MMX.c */; }; + 00162E6A09BD27360037C8D0 /* SDL_mixer_MMX.c in Sources */ = {isa = PBXBuildFile; fileRef = 00B7E61F097F2D9E00826121 /* SDL_mixer_MMX.c */; }; + 00162E6B09BD27370037C8D0 /* SDL_mixer_MMX.h in Headers */ = {isa = PBXBuildFile; fileRef = 00B7E620097F2D9E00826121 /* SDL_mixer_MMX.h */; }; + 00162F3B09BE27FB0037C8D0 /* SDL_nullevents.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3409BE27FB0037C8D0 /* SDL_nullevents.c */; }; + 00162F3D09BE27FB0037C8D0 /* SDL_nullmouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3609BE27FB0037C8D0 /* SDL_nullmouse.c */; }; + 00162F3F09BE27FB0037C8D0 /* SDL_nullvideo.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3809BE27FB0037C8D0 /* SDL_nullvideo.c */; }; + 00162F4109BE27FB0037C8D0 /* SDL_nullevents.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3409BE27FB0037C8D0 /* SDL_nullevents.c */; }; + 00162F4209BE27FB0037C8D0 /* SDL_nullevents_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162F3509BE27FB0037C8D0 /* SDL_nullevents_c.h */; }; + 00162F4309BE27FB0037C8D0 /* SDL_nullmouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3609BE27FB0037C8D0 /* SDL_nullmouse.c */; }; + 00162F4409BE27FB0037C8D0 /* SDL_nullmouse_c.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162F3709BE27FB0037C8D0 /* SDL_nullmouse_c.h */; }; + 00162F4509BE27FB0037C8D0 /* SDL_nullvideo.c in Sources */ = {isa = PBXBuildFile; fileRef = 00162F3809BE27FB0037C8D0 /* SDL_nullvideo.c */; }; + 00162F4609BE27FB0037C8D0 /* SDL_nullvideo.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162F3909BE27FB0037C8D0 /* SDL_nullvideo.h */; }; + 002F328609CA049100EBEB88 /* SDL_iconv.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F328509CA049100EBEB88 /* SDL_iconv.c */; }; + 002F328709CA049100EBEB88 /* SDL_iconv.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F328509CA049100EBEB88 /* SDL_iconv.c */; }; + 002F32D709CA0BE700EBEB88 /* SDL_diskaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F32D409CA0BE700EBEB88 /* SDL_diskaudio.c */; }; + 002F32D909CA0BE700EBEB88 /* SDL_diskaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F32D409CA0BE700EBEB88 /* SDL_diskaudio.c */; }; + 002F32DA09CA0BE700EBEB88 /* SDL_diskaudio.h in Headers */ = {isa = PBXBuildFile; fileRef = 002F32D509CA0BE700EBEB88 /* SDL_diskaudio.h */; }; + 002F32E509CA0BF600EBEB88 /* SDL_dummyaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F32E209CA0BF600EBEB88 /* SDL_dummyaudio.c */; }; + 002F32E709CA0BF600EBEB88 /* SDL_dummyaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F32E209CA0BF600EBEB88 /* SDL_dummyaudio.c */; }; + 002F32E809CA0BF600EBEB88 /* SDL_dummyaudio.h in Headers */ = {isa = PBXBuildFile; fileRef = 002F32E309CA0BF600EBEB88 /* SDL_dummyaudio.h */; }; + 004C2C8B0975E13300E9D430 /* AudioFilePlayer.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C860975E13300E9D430 /* AudioFilePlayer.c */; }; + 004C2C8C0975E13300E9D430 /* AudioFileReaderThread.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C870975E13300E9D430 /* AudioFileReaderThread.c */; }; + 004C2C8D0975E13300E9D430 /* CDPlayer.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C880975E13300E9D430 /* CDPlayer.c */; }; + 004C2C8E0975E13300E9D430 /* SDLOSXCAGuard.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C890975E13300E9D430 /* SDLOSXCAGuard.c */; }; + 004C2C900975E13300E9D430 /* AudioFilePlayer.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C860975E13300E9D430 /* AudioFilePlayer.c */; }; + 004C2C910975E13300E9D430 /* AudioFileReaderThread.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C870975E13300E9D430 /* AudioFileReaderThread.c */; }; + 004C2C920975E13300E9D430 /* CDPlayer.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C880975E13300E9D430 /* CDPlayer.c */; }; + 004C2C930975E13300E9D430 /* SDLOSXCAGuard.c in Sources */ = {isa = PBXBuildFile; fileRef = 004C2C890975E13300E9D430 /* SDLOSXCAGuard.c */; }; + 004C2C940975E13300E9D430 /* SDLOSXCAGuard.h in Headers */ = {isa = PBXBuildFile; fileRef = 004C2C8A0975E13300E9D430 /* SDLOSXCAGuard.h */; }; + 007317A20858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */; }; + 007317A30858DECD00B2BC32 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179C0858DECD00B2BC32 /* AudioUnit.framework */; }; + 007317A40858DECD00B2BC32 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179D0858DECD00B2BC32 /* Cocoa.framework */; }; + 007317A50858DECD00B2BC32 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179E0858DECD00B2BC32 /* CoreAudio.framework */; }; + 007317A60858DECD00B2BC32 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; }; + 007317A70858DECD00B2BC32 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317A00858DECD00B2BC32 /* OpenGL.framework */; }; + 007317A90858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */; }; + 007317AA0858DECD00B2BC32 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179C0858DECD00B2BC32 /* AudioUnit.framework */; }; + 007317AB0858DECD00B2BC32 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179D0858DECD00B2BC32 /* Cocoa.framework */; }; + 007317AC0858DECD00B2BC32 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179E0858DECD00B2BC32 /* CoreAudio.framework */; }; + 007317AD0858DECD00B2BC32 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; }; + 007317AE0858DECD00B2BC32 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317A00858DECD00B2BC32 /* OpenGL.framework */; }; + 007317AF0858DECD00B2BC32 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317A10858DECD00B2BC32 /* QuickTime.framework */; }; + 007317B00858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */; }; + 007317B10858DECD00B2BC32 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179C0858DECD00B2BC32 /* AudioUnit.framework */; }; + 007317B20858DECD00B2BC32 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179D0858DECD00B2BC32 /* Cocoa.framework */; }; + 007317B30858DECD00B2BC32 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179E0858DECD00B2BC32 /* CoreAudio.framework */; }; + 007317B40858DECD00B2BC32 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; }; + 007317B50858DECD00B2BC32 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317A00858DECD00B2BC32 /* OpenGL.framework */; }; + 007317B60858DECD00B2BC32 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317A10858DECD00B2BC32 /* QuickTime.framework */; }; + 007317C30858E15000B2BC32 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; }; + 007317C40858E15000B2BC32 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; }; + 00D0D02310675823004B05EF /* SDL_QuartzWM.h in Headers */ = {isa = PBXBuildFile; fileRef = 00D0D02210675823004B05EF /* SDL_QuartzWM.h */; }; + 00D0D08410675DD9004B05EF /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00D0D08310675DD9004B05EF /* CoreFoundation.framework */; }; + 00D0D0D810675E46004B05EF /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; }; + 00EAE6FC0C4D3F84009A420A /* SDL_yuv_mmx.c in Sources */ = {isa = PBXBuildFile; fileRef = 00B7E625097F2DD100826121 /* SDL_yuv_mmx.c */; }; + 00EAE6FD0C4D3F88009A420A /* SDL_yuv_mmx.c in Sources */ = {isa = PBXBuildFile; fileRef = 00B7E625097F2DD100826121 /* SDL_yuv_mmx.c */; }; + 046B91EC0A11B53500FB151C /* SDL_sysloadso.c in Sources */ = {isa = PBXBuildFile; fileRef = 046B91E90A11B53500FB151C /* SDL_sysloadso.c */; }; + 046B91ED0A11B53500FB151C /* SDL_sysloadso.c in Sources */ = {isa = PBXBuildFile; fileRef = 046B91E90A11B53500FB151C /* SDL_sysloadso.c */; }; + 046B92130A11B8AD00FB151C /* SDL_dlcompat.c in Sources */ = {isa = PBXBuildFile; fileRef = 046B92100A11B8AD00FB151C /* SDL_dlcompat.c */; }; + 046B92140A11B8AD00FB151C /* SDL_dlcompat.c in Sources */ = {isa = PBXBuildFile; fileRef = 046B92100A11B8AD00FB151C /* SDL_dlcompat.c */; }; + BECDF62B0761BA81005FE872 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF2F0086C3A07F000001 /* SDLMain.nib */; }; + BECDF62E0761BA81005FE872 /* SDL_audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538330006D78D67F000001 /* SDL_audio.c */; }; + BECDF62F0761BA81005FE872 /* SDL_audiocvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538331006D78D67F000001 /* SDL_audiocvt.c */; }; + BECDF6300761BA81005FE872 /* SDL_audiodev.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538332006D78D67F000001 /* SDL_audiodev.c */; }; + BECDF6320761BA81005FE872 /* SDL_mixer.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538334006D78D67F000001 /* SDL_mixer.c */; }; + BECDF6330761BA81005FE872 /* SDL_wave.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538335006D78D67F000001 /* SDL_wave.c */; }; + BECDF6350761BA81005FE872 /* SDL_active.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538368006D79147F000001 /* SDL_active.c */; }; + BECDF6360761BA81005FE872 /* SDL_events.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538369006D79147F000001 /* SDL_events.c */; }; + BECDF6370761BA81005FE872 /* SDL_expose.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836A006D79147F000001 /* SDL_expose.c */; }; + BECDF6380761BA81005FE872 /* SDL_keyboard.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836B006D79147F000001 /* SDL_keyboard.c */; }; + BECDF6390761BA81005FE872 /* SDL_mouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836C006D79147F000001 /* SDL_mouse.c */; }; + BECDF63A0761BA81005FE872 /* SDL_quit.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836D006D79147F000001 /* SDL_quit.c */; }; + BECDF63B0761BA81005FE872 /* SDL_resize.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836E006D79147F000001 /* SDL_resize.c */; }; + BECDF63C0761BA81005FE872 /* SDL_rwops.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538377006D79307F000001 /* SDL_rwops.c */; }; + BECDF63E0761BA81005FE872 /* SDL_timer.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383A0006D79BC7F000001 /* SDL_timer.c */; }; + BECDF63F0761BA81005FE872 /* SDL_blit.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383D8006D7A567F000001 /* SDL_blit.c */; }; + BECDF6400761BA81005FE872 /* SDL_blit_0.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DA006D7A567F000001 /* SDL_blit_0.c */; }; + BECDF6410761BA81005FE872 /* SDL_blit_1.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DB006D7A567F000001 /* SDL_blit_1.c */; }; + BECDF6420761BA81005FE872 /* SDL_blit_A.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DC006D7A567F000001 /* SDL_blit_A.c */; }; + BECDF6430761BA81005FE872 /* SDL_blit_N.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DE006D7A567F000001 /* SDL_blit_N.c */; }; + BECDF6440761BA81005FE872 /* SDL_bmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DF006D7A567F000001 /* SDL_bmp.c */; }; + BECDF6450761BA81005FE872 /* SDL_cursor.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E0006D7A567F000001 /* SDL_cursor.c */; }; + BECDF6460761BA81005FE872 /* SDL_gamma.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E2006D7A567F000001 /* SDL_gamma.c */; }; + BECDF6470761BA81005FE872 /* SDL_pixels.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E6006D7A567F000001 /* SDL_pixels.c */; }; + BECDF6480761BA81005FE872 /* SDL_RLEaccel.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E8006D7A567F000001 /* SDL_RLEaccel.c */; }; + BECDF6490761BA81005FE872 /* SDL_surface.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EC006D7A567F000001 /* SDL_surface.c */; }; + BECDF64A0761BA81005FE872 /* SDL_video.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EE006D7A567F000001 /* SDL_video.c */; }; + BECDF64B0761BA81005FE872 /* SDL_yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EF006D7A567F000001 /* SDL_yuv.c */; }; + BECDF64C0761BA81005FE872 /* SDL_yuv_sw.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383F1006D7A567F000001 /* SDL_yuv_sw.c */; }; + BECDF64D0761BA81005FE872 /* SDL_error.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538438006D7D947F000001 /* SDL_error.c */; }; + BECDF64E0761BA81005FE872 /* SDL_fatal.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538439006D7D947F000001 /* SDL_fatal.c */; }; + BECDF6500761BA81005FE872 /* SDL.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153843C006D7D947F000001 /* SDL.c */; }; + BECDF6510761BA81005FE872 /* SDL_thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538445006D7EC67F000001 /* SDL_thread.c */; }; + BECDF6520761BA81005FE872 /* SDL_cdrom.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4895006D86FF7F000001 /* SDL_cdrom.c */; }; + BECDF6530761BA81005FE872 /* SDL_joystick.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E489D006D88D97F000001 /* SDL_joystick.c */; }; + BECDF6580761BA81005FE872 /* SDL_stretch.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EA006D7A567F000001 /* SDL_stretch.c */; }; + BECDF6590761BA81005FE872 /* SDL_sysjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F51789D101769A2401D3D55B /* SDL_sysjoystick.c */; }; + BECDF65B0761BA81005FE872 /* SDL_QuartzEvents.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4D705A88AD0006B9F1C /* SDL_QuartzEvents.m */; }; + BECDF65C0761BA81005FE872 /* SDL_QuartzGL.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4D805A88AD0006B9F1C /* SDL_QuartzGL.m */; }; + BECDF65D0761BA81005FE872 /* SDL_QuartzVideo.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DB05A88AD0006B9F1C /* SDL_QuartzVideo.m */; }; + BECDF65E0761BA81005FE872 /* SDL_QuartzWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DD05A88AD0006B9F1C /* SDL_QuartzWindow.m */; }; + BECDF65F0761BA81005FE872 /* SDL_QuartzWM.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DE05A88AD0006B9F1C /* SDL_QuartzWM.m */; }; + BECDF6610761BA81005FE872 /* SDL_cpuinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */; }; + BECDF6620761BA81005FE872 /* SDL_syscdrom.c in Sources */ = {isa = PBXBuildFile; fileRef = B2A23A7B04157C5700A80002 /* SDL_syscdrom.c */; }; + BECDF6670761BA81005FE872 /* SDL_coreaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = BECDF5D50761B759005FE872 /* SDL_coreaudio.c */; }; + BECDF6720761BA81005FE872 /* CGS.h in Headers */ = {isa = PBXBuildFile; fileRef = B24DA4D605A88AD0006B9F1C /* CGS.h */; }; + BECDF6730761BA81005FE872 /* SDL_QuartzKeys.h in Headers */ = {isa = PBXBuildFile; fileRef = B24DA4D905A88AD0006B9F1C /* SDL_QuartzKeys.h */; }; + BECDF6740761BA81005FE872 /* SDL_QuartzVideo.h in Headers */ = {isa = PBXBuildFile; fileRef = B24DA4DA05A88AD0006B9F1C /* SDL_QuartzVideo.h */; }; + BECDF6750761BA81005FE872 /* SDL_QuartzWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = B24DA4DC05A88AD0006B9F1C /* SDL_QuartzWindow.h */; }; + BECDF6760761BA81005FE872 /* SDL_cpuinfo.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CF8DC405C444E400E5DC7F /* SDL_cpuinfo.h */; }; + BECDF6770761BA81005FE872 /* SDL_name.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CF8DC705C4450500E5DC7F /* SDL_name.h */; }; + BECDF6780761BA81005FE872 /* SDL_coreaudio.h in Headers */ = {isa = PBXBuildFile; fileRef = BECDF5D60761B759005FE872 /* SDL_coreaudio.h */; }; + BECDF67A0761BA81005FE872 /* SDL_audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538330006D78D67F000001 /* SDL_audio.c */; }; + BECDF67B0761BA81005FE872 /* SDL_audiocvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538331006D78D67F000001 /* SDL_audiocvt.c */; }; + BECDF67D0761BA81005FE872 /* SDL_audiodev.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538332006D78D67F000001 /* SDL_audiodev.c */; }; + BECDF67E0761BA81005FE872 /* SDL_mixer.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538334006D78D67F000001 /* SDL_mixer.c */; }; + BECDF67F0761BA81005FE872 /* SDL_wave.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538335006D78D67F000001 /* SDL_wave.c */; }; + BECDF6810761BA81005FE872 /* SDL_cdrom.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4895006D86FF7F000001 /* SDL_cdrom.c */; }; + BECDF6830761BA81005FE872 /* SDL_active.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538368006D79147F000001 /* SDL_active.c */; }; + BECDF6840761BA81005FE872 /* SDL_events.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538369006D79147F000001 /* SDL_events.c */; }; + BECDF6850761BA81005FE872 /* SDL_expose.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836A006D79147F000001 /* SDL_expose.c */; }; + BECDF6860761BA81005FE872 /* SDL_keyboard.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836B006D79147F000001 /* SDL_keyboard.c */; }; + BECDF6870761BA81005FE872 /* SDL_mouse.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836C006D79147F000001 /* SDL_mouse.c */; }; + BECDF6880761BA81005FE872 /* SDL_quit.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836D006D79147F000001 /* SDL_quit.c */; }; + BECDF6890761BA81005FE872 /* SDL_resize.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153836E006D79147F000001 /* SDL_resize.c */; }; + BECDF68A0761BA81005FE872 /* SDL_rwops.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538377006D79307F000001 /* SDL_rwops.c */; }; + BECDF68B0761BA81005FE872 /* SDL_joystick.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E489D006D88D97F000001 /* SDL_joystick.c */; }; + BECDF68C0761BA81005FE872 /* SDL_thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538445006D7EC67F000001 /* SDL_thread.c */; }; + BECDF6920761BA81005FE872 /* SDL_timer.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383A0006D79BC7F000001 /* SDL_timer.c */; }; + BECDF6930761BA81005FE872 /* SDL_blit.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383D8006D7A567F000001 /* SDL_blit.c */; }; + BECDF6940761BA81005FE872 /* SDL_blit_0.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DA006D7A567F000001 /* SDL_blit_0.c */; }; + BECDF6950761BA81005FE872 /* SDL_blit_1.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DB006D7A567F000001 /* SDL_blit_1.c */; }; + BECDF6960761BA81005FE872 /* SDL_blit_A.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DC006D7A567F000001 /* SDL_blit_A.c */; }; + BECDF6970761BA81005FE872 /* SDL_blit_N.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DE006D7A567F000001 /* SDL_blit_N.c */; }; + BECDF6980761BA81005FE872 /* SDL_bmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383DF006D7A567F000001 /* SDL_bmp.c */; }; + BECDF6990761BA81005FE872 /* SDL_cursor.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E0006D7A567F000001 /* SDL_cursor.c */; }; + BECDF69A0761BA81005FE872 /* SDL_gamma.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E2006D7A567F000001 /* SDL_gamma.c */; }; + BECDF69B0761BA81005FE872 /* SDL_pixels.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E6006D7A567F000001 /* SDL_pixels.c */; }; + BECDF69C0761BA81005FE872 /* SDL_RLEaccel.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383E8006D7A567F000001 /* SDL_RLEaccel.c */; }; + BECDF69D0761BA81005FE872 /* SDL_stretch.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EA006D7A567F000001 /* SDL_stretch.c */; }; + BECDF69E0761BA81005FE872 /* SDL_surface.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EC006D7A567F000001 /* SDL_surface.c */; }; + BECDF69F0761BA81005FE872 /* SDL_video.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EE006D7A567F000001 /* SDL_video.c */; }; + BECDF6A00761BA81005FE872 /* SDL_yuv.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383EF006D7A567F000001 /* SDL_yuv.c */; }; + BECDF6A10761BA81005FE872 /* SDL_yuv_sw.c in Sources */ = {isa = PBXBuildFile; fileRef = 015383F1006D7A567F000001 /* SDL_yuv_sw.c */; }; + BECDF6A20761BA81005FE872 /* SDL_error.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538438006D7D947F000001 /* SDL_error.c */; }; + BECDF6A30761BA81005FE872 /* SDL_fatal.c in Sources */ = {isa = PBXBuildFile; fileRef = 01538439006D7D947F000001 /* SDL_fatal.c */; }; + BECDF6A50761BA81005FE872 /* SDL.c in Sources */ = {isa = PBXBuildFile; fileRef = 0153843C006D7D947F000001 /* SDL.c */; }; + BECDF6A60761BA81005FE872 /* SDL_sysjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F51789D101769A2401D3D55B /* SDL_sysjoystick.c */; }; + BECDF6A80761BA81005FE872 /* SDL_syscdrom.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4894006D86FF7F000001 /* SDL_syscdrom.c */; }; + BECDF6A90761BA81005FE872 /* SDL_QuartzEvents.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4D705A88AD0006B9F1C /* SDL_QuartzEvents.m */; }; + BECDF6AA0761BA81005FE872 /* SDL_QuartzGL.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4D805A88AD0006B9F1C /* SDL_QuartzGL.m */; }; + BECDF6AB0761BA81005FE872 /* SDL_QuartzVideo.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DB05A88AD0006B9F1C /* SDL_QuartzVideo.m */; }; + BECDF6AC0761BA81005FE872 /* SDL_QuartzWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DD05A88AD0006B9F1C /* SDL_QuartzWindow.m */; }; + BECDF6AD0761BA81005FE872 /* SDL_QuartzWM.m in Sources */ = {isa = PBXBuildFile; fileRef = B24DA4DE05A88AD0006B9F1C /* SDL_QuartzWM.m */; }; + BECDF6AF0761BA81005FE872 /* SDL_cpuinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */; }; + BECDF6B00761BA81005FE872 /* SDL_coreaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = BECDF5D50761B759005FE872 /* SDL_coreaudio.c */; }; + BECDF6B70761BA81005FE872 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EECDF2E0086C3A07F000001 /* SDLMain.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 00830FFF1072D94A00A531F1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0032354F1070931700C76517; + remoteInfo = "Generate Doxygen DocSet"; + }; + BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BECDF5FE0761BA81005FE872; + remoteInfo = "Framework (Upgraded)"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0014B7E809C0D8D2003A99D5 /* SDL_dgaevents_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_dgaevents_c.h; sourceTree = ""; }; + 0014B7E909C0D8D2003A99D5 /* SDL_dgaevents.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dgaevents.c; sourceTree = ""; }; + 0014B7EA09C0D8D2003A99D5 /* SDL_dgamouse_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_dgamouse_c.h; sourceTree = ""; }; + 0014B7EB09C0D8D2003A99D5 /* SDL_dgamouse.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dgamouse.c; sourceTree = ""; }; + 0014B7EC09C0D8D2003A99D5 /* SDL_dgavideo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dgavideo.c; sourceTree = ""; }; + 0014B7ED09C0D8D2003A99D5 /* SDL_dgavideo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_dgavideo.h; sourceTree = ""; }; + 0014B83709C0D977003A99D5 /* SDL_x11dga_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11dga_c.h; sourceTree = ""; }; + 0014B83809C0D977003A99D5 /* SDL_x11dga.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11dga.c; sourceTree = ""; }; + 0014B83909C0D977003A99D5 /* SDL_x11dyn.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11dyn.c; sourceTree = ""; }; + 0014B83A09C0D977003A99D5 /* SDL_x11dyn.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11dyn.h; sourceTree = ""; }; + 0014B83B09C0D977003A99D5 /* SDL_x11events_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11events_c.h; sourceTree = ""; }; + 0014B83C09C0D977003A99D5 /* SDL_x11events.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11events.c; sourceTree = ""; }; + 0014B83D09C0D977003A99D5 /* SDL_x11gamma_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11gamma_c.h; sourceTree = ""; }; + 0014B83E09C0D977003A99D5 /* SDL_x11gamma.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11gamma.c; sourceTree = ""; }; + 0014B83F09C0D977003A99D5 /* SDL_x11gl_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11gl_c.h; sourceTree = ""; }; + 0014B84009C0D977003A99D5 /* SDL_x11gl.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11gl.c; sourceTree = ""; }; + 0014B84109C0D977003A99D5 /* SDL_x11image_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11image_c.h; sourceTree = ""; }; + 0014B84209C0D977003A99D5 /* SDL_x11image.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11image.c; sourceTree = ""; }; + 0014B84309C0D977003A99D5 /* SDL_x11modes_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11modes_c.h; sourceTree = ""; }; + 0014B84409C0D977003A99D5 /* SDL_x11modes.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11modes.c; sourceTree = ""; }; + 0014B84509C0D977003A99D5 /* SDL_x11mouse_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11mouse_c.h; sourceTree = ""; }; + 0014B84609C0D977003A99D5 /* SDL_x11mouse.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11mouse.c; sourceTree = ""; }; + 0014B84709C0D977003A99D5 /* SDL_x11sym.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11sym.h; sourceTree = ""; }; + 0014B84809C0D977003A99D5 /* SDL_x11video.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11video.c; sourceTree = ""; }; + 0014B84909C0D977003A99D5 /* SDL_x11video.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11video.h; sourceTree = ""; }; + 0014B84A09C0D977003A99D5 /* SDL_x11wm_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11wm_c.h; sourceTree = ""; }; + 0014B84B09C0D977003A99D5 /* SDL_x11wm.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11wm.c; sourceTree = ""; }; + 0014B84C09C0D977003A99D5 /* SDL_x11yuv_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_x11yuv_c.h; sourceTree = ""; }; + 0014B84D09C0D977003A99D5 /* SDL_x11yuv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_x11yuv.c; sourceTree = ""; }; + 0014B89009C0DA94003A99D5 /* XF86DGA.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = XF86DGA.c; sourceTree = ""; }; + 0014B89109C0DA94003A99D5 /* XF86DGA2.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = XF86DGA2.c; sourceTree = ""; }; + 0014B89609C0DAA1003A99D5 /* XF86VMode.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = XF86VMode.c; sourceTree = ""; }; + 0014B89909C0DAAE003A99D5 /* Xv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = Xv.c; sourceTree = ""; }; + 0014B89A09C0DAAE003A99D5 /* Xvlibint.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Xvlibint.h; sourceTree = ""; }; + 0014B89F09C0DAB9003A99D5 /* Xinerama.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = Xinerama.c; sourceTree = ""; }; + 0014B8A209C0DAC4003A99D5 /* xme.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = xme.c; sourceTree = ""; }; + 00162D3209BD1FA90037C8D0 /* SDL_config_dreamcast.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config_dreamcast.h; path = ../../include/SDL_config_dreamcast.h; sourceTree = SOURCE_ROOT; }; + 00162D3309BD1FA90037C8D0 /* SDL_config_macos.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config_macos.h; path = ../../include/SDL_config_macos.h; sourceTree = SOURCE_ROOT; }; + 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config_macosx.h; path = ../../include/SDL_config_macosx.h; sourceTree = SOURCE_ROOT; }; + 00162D3509BD1FA90037C8D0 /* SDL_config_os2.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config_os2.h; path = ../../include/SDL_config_os2.h; sourceTree = SOURCE_ROOT; }; + 00162D3609BD1FA90037C8D0 /* SDL_config_win32.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config_win32.h; path = ../../include/SDL_config_win32.h; sourceTree = SOURCE_ROOT; }; + 00162D3709BD1FA90037C8D0 /* SDL_config.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_config.h; path = ../../include/SDL_config.h; sourceTree = SOURCE_ROOT; }; + 00162D3809BD1FA90037C8D0 /* SDL_platform.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_platform.h; path = ../../include/SDL_platform.h; sourceTree = SOURCE_ROOT; }; + 00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_stdinc.h; path = ../../include/SDL_stdinc.h; sourceTree = SOURCE_ROOT; }; + 00162D4D09BD20DA0037C8D0 /* SDL_syscond.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_syscond.c; sourceTree = ""; }; + 00162D4E09BD20DA0037C8D0 /* SDL_sysmutex.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_sysmutex.c; sourceTree = ""; }; + 00162D4F09BD20DA0037C8D0 /* SDL_sysmutex_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_sysmutex_c.h; sourceTree = ""; }; + 00162D5009BD20DA0037C8D0 /* SDL_syssem.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_syssem.c; sourceTree = ""; }; + 00162D5109BD20DA0037C8D0 /* SDL_systhread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_systhread.c; sourceTree = ""; }; + 00162D5209BD20DA0037C8D0 /* SDL_systhread_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_systhread_c.h; sourceTree = ""; }; + 00162D6009BD21010037C8D0 /* SDL_systimer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_systimer.c; sourceTree = ""; }; + 00162D6509BD214F0037C8D0 /* SDL_getenv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_getenv.c; sourceTree = ""; }; + 00162D6609BD214F0037C8D0 /* SDL_malloc.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_malloc.c; sourceTree = ""; }; + 00162D6709BD214F0037C8D0 /* SDL_qsort.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_qsort.c; sourceTree = ""; }; + 00162D6809BD214F0037C8D0 /* SDL_stdlib.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_stdlib.c; sourceTree = ""; }; + 00162D6909BD214F0037C8D0 /* SDL_string.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_string.c; sourceTree = ""; }; + 00162F3409BE27FB0037C8D0 /* SDL_nullevents.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_nullevents.c; sourceTree = ""; }; + 00162F3509BE27FB0037C8D0 /* SDL_nullevents_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_nullevents_c.h; sourceTree = ""; }; + 00162F3609BE27FB0037C8D0 /* SDL_nullmouse.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_nullmouse.c; sourceTree = ""; }; + 00162F3709BE27FB0037C8D0 /* SDL_nullmouse_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_nullmouse_c.h; sourceTree = ""; }; + 00162F3809BE27FB0037C8D0 /* SDL_nullvideo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_nullvideo.c; sourceTree = ""; }; + 00162F3909BE27FB0037C8D0 /* SDL_nullvideo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_nullvideo.h; sourceTree = ""; }; + 002F328509CA049100EBEB88 /* SDL_iconv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_iconv.c; sourceTree = ""; }; + 002F32D409CA0BE700EBEB88 /* SDL_diskaudio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_diskaudio.c; sourceTree = ""; }; + 002F32D509CA0BE700EBEB88 /* SDL_diskaudio.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_diskaudio.h; sourceTree = ""; }; + 002F32E209CA0BF600EBEB88 /* SDL_dummyaudio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dummyaudio.c; sourceTree = ""; }; + 002F32E309CA0BF600EBEB88 /* SDL_dummyaudio.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_dummyaudio.h; sourceTree = ""; }; + 004C2C860975E13300E9D430 /* AudioFilePlayer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = AudioFilePlayer.c; sourceTree = ""; }; + 004C2C870975E13300E9D430 /* AudioFileReaderThread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = AudioFileReaderThread.c; sourceTree = ""; }; + 004C2C880975E13300E9D430 /* CDPlayer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = CDPlayer.c; sourceTree = ""; }; + 004C2C890975E13300E9D430 /* SDLOSXCAGuard.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDLOSXCAGuard.c; sourceTree = ""; }; + 004C2C8A0975E13300E9D430 /* SDLOSXCAGuard.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLOSXCAGuard.h; sourceTree = ""; }; + 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = ""; }; + 0073179C0858DECD00B2BC32 /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = /System/Library/Frameworks/AudioUnit.framework; sourceTree = ""; }; + 0073179D0858DECD00B2BC32 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 0073179E0858DECD00B2BC32 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = ""; }; + 0073179F0858DECD00B2BC32 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; + 007317A00858DECD00B2BC32 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + 007317A10858DECD00B2BC32 /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = ""; }; + 007317C10858E15000B2BC32 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = ""; }; + 00794D3F09D0C461003FC8A1 /* License.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = License.rtf; sourceTree = ""; }; + 00AE6E1E08B958CC00255E2F /* ReadMeDevLite.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMeDevLite.txt; sourceTree = ""; }; + 00B7E61F097F2D9E00826121 /* SDL_mixer_MMX.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_mixer_MMX.c; sourceTree = ""; }; + 00B7E620097F2D9E00826121 /* SDL_mixer_MMX.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_mixer_MMX.h; sourceTree = ""; }; + 00B7E625097F2DD100826121 /* SDL_yuv_mmx.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_yuv_mmx.c; sourceTree = ""; }; + 00D0D02210675823004B05EF /* SDL_QuartzWM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_QuartzWM.h; sourceTree = ""; }; + 00D0D08310675DD9004B05EF /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; }; + 00F5D79E0990CA0D0051C449 /* UniversalBinaryNotes.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = UniversalBinaryNotes.rtf; sourceTree = ""; }; + 01538330006D78D67F000001 /* SDL_audio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_audio.c; sourceTree = ""; }; + 01538331006D78D67F000001 /* SDL_audiocvt.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_audiocvt.c; sourceTree = ""; }; + 01538332006D78D67F000001 /* SDL_audiodev.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_audiodev.c; sourceTree = ""; }; + 01538334006D78D67F000001 /* SDL_mixer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_mixer.c; sourceTree = ""; }; + 01538335006D78D67F000001 /* SDL_wave.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_wave.c; sourceTree = ""; }; + 01538368006D79147F000001 /* SDL_active.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_active.c; sourceTree = ""; }; + 01538369006D79147F000001 /* SDL_events.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_events.c; sourceTree = ""; }; + 0153836A006D79147F000001 /* SDL_expose.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_expose.c; sourceTree = ""; }; + 0153836B006D79147F000001 /* SDL_keyboard.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_keyboard.c; sourceTree = ""; }; + 0153836C006D79147F000001 /* SDL_mouse.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_mouse.c; sourceTree = ""; }; + 0153836D006D79147F000001 /* SDL_quit.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_quit.c; sourceTree = ""; }; + 0153836E006D79147F000001 /* SDL_resize.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_resize.c; sourceTree = ""; }; + 01538377006D79307F000001 /* SDL_rwops.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_rwops.c; sourceTree = ""; }; + 015383A0006D79BC7F000001 /* SDL_timer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_timer.c; sourceTree = ""; }; + 015383C5006D7A567F000001 /* SDL_macevents.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_macevents.c; sourceTree = ""; }; + 015383C7006D7A567F000001 /* SDL_macgl.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_macgl.c; sourceTree = ""; }; + 015383CA006D7A567F000001 /* SDL_macmouse.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_macmouse.c; sourceTree = ""; }; + 015383CC006D7A567F000001 /* SDL_macwm.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_macwm.c; sourceTree = ""; }; + 015383D1006D7A567F000001 /* SDL_dspvideo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dspvideo.c; sourceTree = ""; }; + 015383D2006D7A567F000001 /* SDL_dspvideo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_dspvideo.h; sourceTree = ""; }; + 015383D6006D7A567F000001 /* SDL_romvideo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_romvideo.c; sourceTree = ""; }; + 015383D8006D7A567F000001 /* SDL_blit.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_blit.c; sourceTree = ""; }; + 015383DA006D7A567F000001 /* SDL_blit_0.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_blit_0.c; sourceTree = ""; }; + 015383DB006D7A567F000001 /* SDL_blit_1.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_blit_1.c; sourceTree = ""; }; + 015383DC006D7A567F000001 /* SDL_blit_A.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_blit_A.c; sourceTree = ""; }; + 015383DE006D7A567F000001 /* SDL_blit_N.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_blit_N.c; sourceTree = ""; }; + 015383DF006D7A567F000001 /* SDL_bmp.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_bmp.c; sourceTree = ""; }; + 015383E0006D7A567F000001 /* SDL_cursor.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_cursor.c; sourceTree = ""; }; + 015383E2006D7A567F000001 /* SDL_gamma.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_gamma.c; sourceTree = ""; }; + 015383E6006D7A567F000001 /* SDL_pixels.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_pixels.c; sourceTree = ""; }; + 015383E8006D7A567F000001 /* SDL_RLEaccel.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_RLEaccel.c; sourceTree = ""; }; + 015383EA006D7A567F000001 /* SDL_stretch.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_stretch.c; sourceTree = ""; }; + 015383EC006D7A567F000001 /* SDL_surface.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_surface.c; sourceTree = ""; }; + 015383EE006D7A567F000001 /* SDL_video.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_video.c; sourceTree = ""; }; + 015383EF006D7A567F000001 /* SDL_yuv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_yuv.c; sourceTree = ""; }; + 015383F1006D7A567F000001 /* SDL_yuv_sw.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_yuv_sw.c; sourceTree = ""; }; + 01538438006D7D947F000001 /* SDL_error.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDL_error.c; path = ../../src/SDL_error.c; sourceTree = SOURCE_ROOT; }; + 01538439006D7D947F000001 /* SDL_fatal.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDL_fatal.c; path = ../../src/SDL_fatal.c; sourceTree = SOURCE_ROOT; }; + 0153843C006D7D947F000001 /* SDL.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDL.c; path = ../../src/SDL.c; sourceTree = SOURCE_ROOT; }; + 01538445006D7EC67F000001 /* SDL_thread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDL_thread.c; path = ../../src/thread/SDL_thread.c; sourceTree = SOURCE_ROOT; }; + 046B91E90A11B53500FB151C /* SDL_sysloadso.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_sysloadso.c; sourceTree = ""; }; + 046B92100A11B8AD00FB151C /* SDL_dlcompat.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_dlcompat.c; sourceTree = ""; }; + 083E4894006D86FF7F000001 /* SDL_syscdrom.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_syscdrom.c; sourceTree = ""; }; + 083E4895006D86FF7F000001 /* SDL_cdrom.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_cdrom.c; sourceTree = ""; }; + 083E489D006D88D97F000001 /* SDL_joystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_joystick.c; sourceTree = ""; }; + 0C5AF5E501191D2B7F000001 /* begin_code.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = begin_code.h; path = ../../include/begin_code.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5E601191D2B7F000001 /* close_code.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = close_code.h; path = ../../include/close_code.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5E701191D2B7F000001 /* SDL_active.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_active.h; path = ../../include/SDL_active.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5E801191D2B7F000001 /* SDL_audio.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_audio.h; path = ../../include/SDL_audio.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5E901191D2B7F000001 /* SDL_byteorder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_byteorder.h; path = ../../include/SDL_byteorder.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5EA01191D2B7F000001 /* SDL_cdrom.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_cdrom.h; path = ../../include/SDL_cdrom.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5EB01191D2B7F000001 /* SDL_copying.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_copying.h; path = ../../include/SDL_copying.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5EC01191D2B7F000001 /* SDL_endian.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_endian.h; path = ../../include/SDL_endian.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5ED01191D2B7F000001 /* SDL_error.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_error.h; path = ../../include/SDL_error.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5EE01191D2B7F000001 /* SDL_events.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_events.h; path = ../../include/SDL_events.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5EF01191D2B7F000001 /* SDL_getenv.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_getenv.h; path = ../../include/SDL_getenv.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F001191D2B7F000001 /* SDL_joystick.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_joystick.h; path = ../../include/SDL_joystick.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F101191D2B7F000001 /* SDL_keyboard.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_keyboard.h; path = ../../include/SDL_keyboard.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F201191D2B7F000001 /* SDL_keysym.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_keysym.h; path = ../../include/SDL_keysym.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F301191D2B7F000001 /* SDL_main.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_main.h; path = ../../include/SDL_main.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F401191D2B7F000001 /* SDL_mouse.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_mouse.h; path = ../../include/SDL_mouse.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F501191D2B7F000001 /* SDL_mutex.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_mutex.h; path = ../../include/SDL_mutex.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F601191D2B7F000001 /* SDL_opengl.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_opengl.h; path = ../../include/SDL_opengl.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F701191D2B7F000001 /* SDL_quit.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_quit.h; path = ../../include/SDL_quit.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F801191D2B7F000001 /* SDL_rwops.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_rwops.h; path = ../../include/SDL_rwops.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5F901191D2B7F000001 /* SDL_syswm.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_syswm.h; path = ../../include/SDL_syswm.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FA01191D2B7F000001 /* SDL_thread.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_thread.h; path = ../../include/SDL_thread.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FB01191D2B7F000001 /* SDL_timer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_timer.h; path = ../../include/SDL_timer.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FC01191D2B7F000001 /* SDL_types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_types.h; path = ../../include/SDL_types.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FD01191D2B7F000001 /* SDL_version.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_version.h; path = ../../include/SDL_version.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FE01191D2B7F000001 /* SDL_video.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_video.h; path = ../../include/SDL_video.h; sourceTree = SOURCE_ROOT; }; + 0C5AF5FF01191D2B7F000001 /* SDL.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL.h; path = ../../include/SDL.h; sourceTree = SOURCE_ROOT; }; + 2EECDF2D0086C3A07F000001 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDLMain.h; path = ../../src/main/macosx/SDLMain.h; sourceTree = SOURCE_ROOT; }; + 2EECDF2E0086C3A07F000001 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = SDLMain.m; path = ../../src/main/macosx/SDLMain.m; sourceTree = SOURCE_ROOT; }; + 2EECDF2F0086C3A07F000001 /* SDLMain.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = SDLMain.nib; path = ../../src/main/macosx/SDLMain.nib; sourceTree = SOURCE_ROOT; }; + B24DA4D605A88AD0006B9F1C /* CGS.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CGS.h; sourceTree = ""; }; + B24DA4D705A88AD0006B9F1C /* SDL_QuartzEvents.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDL_QuartzEvents.m; sourceTree = ""; }; + B24DA4D805A88AD0006B9F1C /* SDL_QuartzGL.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDL_QuartzGL.m; sourceTree = ""; }; + B24DA4D905A88AD0006B9F1C /* SDL_QuartzKeys.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_QuartzKeys.h; sourceTree = ""; }; + B24DA4DA05A88AD0006B9F1C /* SDL_QuartzVideo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_QuartzVideo.h; sourceTree = ""; }; + B24DA4DB05A88AD0006B9F1C /* SDL_QuartzVideo.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDL_QuartzVideo.m; sourceTree = ""; }; + B24DA4DC05A88AD0006B9F1C /* SDL_QuartzWindow.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_QuartzWindow.h; sourceTree = ""; }; + B24DA4DD05A88AD0006B9F1C /* SDL_QuartzWindow.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDL_QuartzWindow.m; sourceTree = ""; }; + B24DA4DE05A88AD0006B9F1C /* SDL_QuartzWM.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDL_QuartzWM.m; sourceTree = ""; }; + B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_cpuinfo.c; sourceTree = ""; }; + B29A290D04E5B28700A80002 /* SDL_loadso.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_loadso.h; path = ../../include/SDL_loadso.h; sourceTree = ""; }; + B2A23A450415799100A80002 /* AudioFilePlayer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AudioFilePlayer.h; sourceTree = ""; }; + B2A23A7A04157C5700A80002 /* SDL_syscdrom_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_syscdrom_c.h; sourceTree = ""; }; + B2A23A7B04157C5700A80002 /* SDL_syscdrom.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_syscdrom.c; sourceTree = ""; }; + B2A23A8104157D5D00A80002 /* CDPlayer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CDPlayer.h; sourceTree = ""; }; + B2CF8DC405C444E400E5DC7F /* SDL_cpuinfo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_cpuinfo.h; path = ../../include/SDL_cpuinfo.h; sourceTree = SOURCE_ROOT; }; + B2CF8DC705C4450500E5DC7F /* SDL_name.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_name.h; path = ../../include/SDL_name.h; sourceTree = SOURCE_ROOT; }; + BECDF5D50761B759005FE872 /* SDL_coreaudio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_coreaudio.c; sourceTree = ""; }; + BECDF5D60761B759005FE872 /* SDL_coreaudio.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDL_coreaudio.h; sourceTree = ""; }; + BECDF66B0761BA81005FE872 /* Info-Framework.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-Framework.plist"; sourceTree = ""; }; + BECDF66C0761BA81005FE872 /* SDL.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BECDF6B30761BA81005FE872 /* libSDL.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL.a; sourceTree = BUILT_PRODUCTS_DIR; }; + BECDF6BA0761BA81005FE872 /* libSDLmain.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLmain.a; sourceTree = BUILT_PRODUCTS_DIR; }; + BECDF6BE0761BA81005FE872 /* Standard DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Standard DMG"; sourceTree = BUILT_PRODUCTS_DIR; }; + BECDF6C30761BA81005FE872 /* Developer Extras Package */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Developer Extras Package"; sourceTree = BUILT_PRODUCTS_DIR; }; + F51789D101769A2401D3D55B /* SDL_sysjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_sysjoystick.c; sourceTree = ""; }; + F59C70FF00D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = ""; }; + F59C710000D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = ""; }; + F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = ""; }; + F59C710500D5CB5801000001 /* SDL-devel.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = "SDL-devel.info"; sourceTree = ""; }; + F59C710600D5CB5801000001 /* SDL.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SDL.info; sourceTree = ""; }; + F59C710C00D5D15801000001 /* install.sh */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.sh; path = install.sh; sourceTree = ""; }; + F5A2EF3900C6A39A01000001 /* BUGS */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = BUGS; path = ../../BUGS; sourceTree = SOURCE_ROOT; }; + F5A2EF3A00C6A3C201000001 /* README.MacOSX */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = README.MacOSX; path = ../../README.MacOSX; sourceTree = SOURCE_ROOT; }; + F5F81AD400D706B101000001 /* Readme SDL Developer.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = "Readme SDL Developer.txt"; path = "pkg-support/Readme SDL Developer.txt"; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + BECDF6680761BA81005FE872 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 007317A20858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */, + 007317A30858DECD00B2BC32 /* AudioUnit.framework in Frameworks */, + 007317A40858DECD00B2BC32 /* Cocoa.framework in Frameworks */, + 007317A50858DECD00B2BC32 /* CoreAudio.framework in Frameworks */, + 007317A60858DECD00B2BC32 /* IOKit.framework in Frameworks */, + 007317A70858DECD00B2BC32 /* OpenGL.framework in Frameworks */, + 00D0D08410675DD9004B05EF /* CoreFoundation.framework in Frameworks */, + 00D0D0D810675E46004B05EF /* Carbon.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B10761BA81005FE872 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 007317A90858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */, + 007317AA0858DECD00B2BC32 /* AudioUnit.framework in Frameworks */, + 007317AB0858DECD00B2BC32 /* Cocoa.framework in Frameworks */, + 007317AC0858DECD00B2BC32 /* CoreAudio.framework in Frameworks */, + 007317AD0858DECD00B2BC32 /* IOKit.framework in Frameworks */, + 007317AE0858DECD00B2BC32 /* OpenGL.framework in Frameworks */, + 007317AF0858DECD00B2BC32 /* QuickTime.framework in Frameworks */, + 007317C30858E15000B2BC32 /* Carbon.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B80761BA81005FE872 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 007317B00858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */, + 007317B10858DECD00B2BC32 /* AudioUnit.framework in Frameworks */, + 007317B20858DECD00B2BC32 /* Cocoa.framework in Frameworks */, + 007317B30858DECD00B2BC32 /* CoreAudio.framework in Frameworks */, + 007317B40858DECD00B2BC32 /* IOKit.framework in Frameworks */, + 007317B50858DECD00B2BC32 /* OpenGL.framework in Frameworks */, + 007317B60858DECD00B2BC32 /* QuickTime.framework in Frameworks */, + 007317C40858E15000B2BC32 /* Carbon.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0014B7D809C0D808003A99D5 /* dga */ = { + isa = PBXGroup; + children = ( + 0014B7E809C0D8D2003A99D5 /* SDL_dgaevents_c.h */, + 0014B7E909C0D8D2003A99D5 /* SDL_dgaevents.c */, + 0014B7EA09C0D8D2003A99D5 /* SDL_dgamouse_c.h */, + 0014B7EB09C0D8D2003A99D5 /* SDL_dgamouse.c */, + 0014B7EC09C0D8D2003A99D5 /* SDL_dgavideo.c */, + 0014B7ED09C0D8D2003A99D5 /* SDL_dgavideo.h */, + ); + path = dga; + sourceTree = ""; + }; + 0014B83109C0D91E003A99D5 /* x11 */ = { + isa = PBXGroup; + children = ( + 0014B83709C0D977003A99D5 /* SDL_x11dga_c.h */, + 0014B83809C0D977003A99D5 /* SDL_x11dga.c */, + 0014B83909C0D977003A99D5 /* SDL_x11dyn.c */, + 0014B83A09C0D977003A99D5 /* SDL_x11dyn.h */, + 0014B83B09C0D977003A99D5 /* SDL_x11events_c.h */, + 0014B83C09C0D977003A99D5 /* SDL_x11events.c */, + 0014B83D09C0D977003A99D5 /* SDL_x11gamma_c.h */, + 0014B83E09C0D977003A99D5 /* SDL_x11gamma.c */, + 0014B83F09C0D977003A99D5 /* SDL_x11gl_c.h */, + 0014B84009C0D977003A99D5 /* SDL_x11gl.c */, + 0014B84109C0D977003A99D5 /* SDL_x11image_c.h */, + 0014B84209C0D977003A99D5 /* SDL_x11image.c */, + 0014B84309C0D977003A99D5 /* SDL_x11modes_c.h */, + 0014B84409C0D977003A99D5 /* SDL_x11modes.c */, + 0014B84509C0D977003A99D5 /* SDL_x11mouse_c.h */, + 0014B84609C0D977003A99D5 /* SDL_x11mouse.c */, + 0014B84709C0D977003A99D5 /* SDL_x11sym.h */, + 0014B84809C0D977003A99D5 /* SDL_x11video.c */, + 0014B84909C0D977003A99D5 /* SDL_x11video.h */, + 0014B84A09C0D977003A99D5 /* SDL_x11wm_c.h */, + 0014B84B09C0D977003A99D5 /* SDL_x11wm.c */, + 0014B84C09C0D977003A99D5 /* SDL_x11yuv_c.h */, + 0014B84D09C0D977003A99D5 /* SDL_x11yuv.c */, + ); + path = x11; + sourceTree = ""; + }; + 0014B87D09C0D98A003A99D5 /* Xext */ = { + isa = PBXGroup; + children = ( + 0014B87E09C0D9BD003A99D5 /* Xxf86dga */, + 0014B87F09C0D9D1003A99D5 /* Xxf86vm */, + 0014B88309C0DA1A003A99D5 /* Xv */, + 0014B88209C0DA0F003A99D5 /* Xinerama */, + 0014B88109C0DA04003A99D5 /* XME */, + ); + path = Xext; + sourceTree = ""; + }; + 0014B87E09C0D9BD003A99D5 /* Xxf86dga */ = { + isa = PBXGroup; + children = ( + 0014B89009C0DA94003A99D5 /* XF86DGA.c */, + 0014B89109C0DA94003A99D5 /* XF86DGA2.c */, + ); + path = Xxf86dga; + sourceTree = ""; + }; + 0014B87F09C0D9D1003A99D5 /* Xxf86vm */ = { + isa = PBXGroup; + children = ( + 0014B89609C0DAA1003A99D5 /* XF86VMode.c */, + ); + path = Xxf86vm; + sourceTree = ""; + }; + 0014B88109C0DA04003A99D5 /* XME */ = { + isa = PBXGroup; + children = ( + 0014B8A209C0DAC4003A99D5 /* xme.c */, + ); + path = XME; + sourceTree = ""; + }; + 0014B88209C0DA0F003A99D5 /* Xinerama */ = { + isa = PBXGroup; + children = ( + 0014B89F09C0DAB9003A99D5 /* Xinerama.c */, + ); + path = Xinerama; + sourceTree = ""; + }; + 0014B88309C0DA1A003A99D5 /* Xv */ = { + isa = PBXGroup; + children = ( + 0014B89909C0DAAE003A99D5 /* Xv.c */, + 0014B89A09C0DAAE003A99D5 /* Xvlibint.h */, + ); + path = Xv; + sourceTree = ""; + }; + 00162D4C09BD20DA0037C8D0 /* pthread */ = { + isa = PBXGroup; + children = ( + 00162D4D09BD20DA0037C8D0 /* SDL_syscond.c */, + 00162D4E09BD20DA0037C8D0 /* SDL_sysmutex.c */, + 00162D4F09BD20DA0037C8D0 /* SDL_sysmutex_c.h */, + 00162D5009BD20DA0037C8D0 /* SDL_syssem.c */, + 00162D5109BD20DA0037C8D0 /* SDL_systhread.c */, + 00162D5209BD20DA0037C8D0 /* SDL_systhread_c.h */, + ); + path = pthread; + sourceTree = ""; + }; + 00162D5F09BD21010037C8D0 /* unix */ = { + isa = PBXGroup; + children = ( + 00162D6009BD21010037C8D0 /* SDL_systimer.c */, + ); + path = unix; + sourceTree = ""; + }; + 00162D6309BD214E0037C8D0 /* stdlib */ = { + isa = PBXGroup; + children = ( + 00162D6509BD214F0037C8D0 /* SDL_getenv.c */, + 002F328509CA049100EBEB88 /* SDL_iconv.c */, + 00162D6609BD214F0037C8D0 /* SDL_malloc.c */, + 00162D6709BD214F0037C8D0 /* SDL_qsort.c */, + 00162D6809BD214F0037C8D0 /* SDL_stdlib.c */, + 00162D6909BD214F0037C8D0 /* SDL_string.c */, + ); + name = stdlib; + path = ../../src/stdlib; + sourceTree = SOURCE_ROOT; + }; + 00162D7509BD217B0037C8D0 /* loadso */ = { + isa = PBXGroup; + children = ( + 046B91E80A11B53500FB151C /* dlopen */, + 00D55F250A11163D0030ED2A /* macosx */, + ); + name = loadso; + path = ../../src/loadso; + sourceTree = SOURCE_ROOT; + }; + 00162F3209BE27FB0037C8D0 /* dummy */ = { + isa = PBXGroup; + children = ( + 00162F3409BE27FB0037C8D0 /* SDL_nullevents.c */, + 00162F3509BE27FB0037C8D0 /* SDL_nullevents_c.h */, + 00162F3609BE27FB0037C8D0 /* SDL_nullmouse.c */, + 00162F3709BE27FB0037C8D0 /* SDL_nullmouse_c.h */, + 00162F3809BE27FB0037C8D0 /* SDL_nullvideo.c */, + 00162F3909BE27FB0037C8D0 /* SDL_nullvideo.h */, + ); + path = dummy; + sourceTree = ""; + }; + 002F32D209CA0BE700EBEB88 /* disk */ = { + isa = PBXGroup; + children = ( + 002F32D409CA0BE700EBEB88 /* SDL_diskaudio.c */, + 002F32D509CA0BE700EBEB88 /* SDL_diskaudio.h */, + ); + path = disk; + sourceTree = ""; + }; + 002F32E009CA0BF600EBEB88 /* dummy */ = { + isa = PBXGroup; + children = ( + 002F32E209CA0BF600EBEB88 /* SDL_dummyaudio.c */, + 002F32E309CA0BF600EBEB88 /* SDL_dummyaudio.h */, + ); + path = dummy; + sourceTree = ""; + }; + 00D55F250A11163D0030ED2A /* macosx */ = { + isa = PBXGroup; + children = ( + 046B92100A11B8AD00FB151C /* SDL_dlcompat.c */, + ); + path = macosx; + sourceTree = ""; + }; + 0153832C006D78D67F000001 /* audio */ = { + isa = PBXGroup; + children = ( + BECDF5D20761B759005FE872 /* macosx */, + 002F32D209CA0BE700EBEB88 /* disk */, + 002F32E009CA0BF600EBEB88 /* dummy */, + 01538330006D78D67F000001 /* SDL_audio.c */, + 01538331006D78D67F000001 /* SDL_audiocvt.c */, + 01538332006D78D67F000001 /* SDL_audiodev.c */, + 01538334006D78D67F000001 /* SDL_mixer.c */, + 00B7E61F097F2D9E00826121 /* SDL_mixer_MMX.c */, + 00B7E620097F2D9E00826121 /* SDL_mixer_MMX.h */, + 01538335006D78D67F000001 /* SDL_wave.c */, + ); + name = audio; + path = ../../src/audio; + sourceTree = SOURCE_ROOT; + }; + 01538367006D79147F000001 /* events */ = { + isa = PBXGroup; + children = ( + 01538368006D79147F000001 /* SDL_active.c */, + 01538369006D79147F000001 /* SDL_events.c */, + 0153836A006D79147F000001 /* SDL_expose.c */, + 0153836B006D79147F000001 /* SDL_keyboard.c */, + 0153836C006D79147F000001 /* SDL_mouse.c */, + 0153836D006D79147F000001 /* SDL_quit.c */, + 0153836E006D79147F000001 /* SDL_resize.c */, + ); + name = events; + path = ../../src/events; + sourceTree = SOURCE_ROOT; + }; + 01538376006D79307F000001 /* file */ = { + isa = PBXGroup; + children = ( + 01538377006D79307F000001 /* SDL_rwops.c */, + ); + name = file; + path = ../../src/file; + sourceTree = SOURCE_ROOT; + }; + 01538379006D79737F000001 /* thread */ = { + isa = PBXGroup; + children = ( + 00162D4C09BD20DA0037C8D0 /* pthread */, + 01538445006D7EC67F000001 /* SDL_thread.c */, + ); + name = thread; + path = ../../src/thread; + sourceTree = SOURCE_ROOT; + }; + 01538391006D79BC7F000001 /* timer */ = { + isa = PBXGroup; + children = ( + 00162D5F09BD21010037C8D0 /* unix */, + 015383A0006D79BC7F000001 /* SDL_timer.c */, + ); + name = timer; + path = ../../src/timer; + sourceTree = SOURCE_ROOT; + }; + 015383BE006D7A567F000001 /* video */ = { + isa = PBXGroup; + children = ( + 0FCDF5B50083FCE77F000001 /* quartz */, + 015383C1006D7A567F000001 /* maccommon */, + 015383CE006D7A567F000001 /* macdsp */, + 015383D3006D7A567F000001 /* macrom */, + 00162F3209BE27FB0037C8D0 /* dummy */, + 0014B83109C0D91E003A99D5 /* x11 */, + 0014B7D809C0D808003A99D5 /* dga */, + 0014B87D09C0D98A003A99D5 /* Xext */, + 015383D8006D7A567F000001 /* SDL_blit.c */, + 015383DA006D7A567F000001 /* SDL_blit_0.c */, + 015383DB006D7A567F000001 /* SDL_blit_1.c */, + 015383DC006D7A567F000001 /* SDL_blit_A.c */, + 015383DE006D7A567F000001 /* SDL_blit_N.c */, + 015383DF006D7A567F000001 /* SDL_bmp.c */, + 015383E0006D7A567F000001 /* SDL_cursor.c */, + 015383E2006D7A567F000001 /* SDL_gamma.c */, + 015383E6006D7A567F000001 /* SDL_pixels.c */, + 015383E8006D7A567F000001 /* SDL_RLEaccel.c */, + 015383EA006D7A567F000001 /* SDL_stretch.c */, + 015383EC006D7A567F000001 /* SDL_surface.c */, + 015383EE006D7A567F000001 /* SDL_video.c */, + 015383EF006D7A567F000001 /* SDL_yuv.c */, + 00B7E625097F2DD100826121 /* SDL_yuv_mmx.c */, + 015383F1006D7A567F000001 /* SDL_yuv_sw.c */, + ); + name = video; + path = ../../src/video; + sourceTree = SOURCE_ROOT; + }; + 015383C1006D7A567F000001 /* maccommon */ = { + isa = PBXGroup; + children = ( + 015383C5006D7A567F000001 /* SDL_macevents.c */, + 015383C7006D7A567F000001 /* SDL_macgl.c */, + 015383CA006D7A567F000001 /* SDL_macmouse.c */, + 015383CC006D7A567F000001 /* SDL_macwm.c */, + ); + path = maccommon; + sourceTree = ""; + }; + 015383CE006D7A567F000001 /* macdsp */ = { + isa = PBXGroup; + children = ( + 015383D1006D7A567F000001 /* SDL_dspvideo.c */, + 015383D2006D7A567F000001 /* SDL_dspvideo.h */, + ); + path = macdsp; + sourceTree = ""; + }; + 015383D3006D7A567F000001 /* macrom */ = { + isa = PBXGroup; + children = ( + 015383D6006D7A567F000001 /* SDL_romvideo.c */, + ); + path = macrom; + sourceTree = ""; + }; + 0153844A006D81B07F000001 /* Public Headers */ = { + isa = PBXGroup; + children = ( + 00162D3209BD1FA90037C8D0 /* SDL_config_dreamcast.h */, + 00162D3309BD1FA90037C8D0 /* SDL_config_macos.h */, + 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */, + 00162D3509BD1FA90037C8D0 /* SDL_config_os2.h */, + 00162D3609BD1FA90037C8D0 /* SDL_config_win32.h */, + 00162D3709BD1FA90037C8D0 /* SDL_config.h */, + 00162D3809BD1FA90037C8D0 /* SDL_platform.h */, + 00162D3909BD1FA90037C8D0 /* SDL_stdinc.h */, + 0C5AF5E501191D2B7F000001 /* begin_code.h */, + 0C5AF5E601191D2B7F000001 /* close_code.h */, + 0C5AF5E701191D2B7F000001 /* SDL_active.h */, + 0C5AF5E801191D2B7F000001 /* SDL_audio.h */, + 0C5AF5E901191D2B7F000001 /* SDL_byteorder.h */, + 0C5AF5EA01191D2B7F000001 /* SDL_cdrom.h */, + 0C5AF5EB01191D2B7F000001 /* SDL_copying.h */, + B2CF8DC405C444E400E5DC7F /* SDL_cpuinfo.h */, + 0C5AF5EC01191D2B7F000001 /* SDL_endian.h */, + 0C5AF5ED01191D2B7F000001 /* SDL_error.h */, + 0C5AF5EE01191D2B7F000001 /* SDL_events.h */, + 0C5AF5EF01191D2B7F000001 /* SDL_getenv.h */, + 0C5AF5F001191D2B7F000001 /* SDL_joystick.h */, + 0C5AF5F101191D2B7F000001 /* SDL_keyboard.h */, + 0C5AF5F201191D2B7F000001 /* SDL_keysym.h */, + B29A290D04E5B28700A80002 /* SDL_loadso.h */, + 0C5AF5F301191D2B7F000001 /* SDL_main.h */, + 0C5AF5F401191D2B7F000001 /* SDL_mouse.h */, + 0C5AF5F501191D2B7F000001 /* SDL_mutex.h */, + B2CF8DC705C4450500E5DC7F /* SDL_name.h */, + 0C5AF5F601191D2B7F000001 /* SDL_opengl.h */, + 0C5AF5F701191D2B7F000001 /* SDL_quit.h */, + 0C5AF5F801191D2B7F000001 /* SDL_rwops.h */, + 0C5AF5F901191D2B7F000001 /* SDL_syswm.h */, + 0C5AF5FA01191D2B7F000001 /* SDL_thread.h */, + 0C5AF5FB01191D2B7F000001 /* SDL_timer.h */, + 0C5AF5FC01191D2B7F000001 /* SDL_types.h */, + 0C5AF5FD01191D2B7F000001 /* SDL_version.h */, + 0C5AF5FE01191D2B7F000001 /* SDL_video.h */, + 0C5AF5FF01191D2B7F000001 /* SDL.h */, + ); + name = "Public Headers"; + sourceTree = ""; + }; + 034768DDFF38A45A11DB9C8B /* Products */ = { + isa = PBXGroup; + children = ( + 089C1665FE841158C02AAC07 /* Resources */, + BECDF66C0761BA81005FE872 /* SDL.framework */, + BECDF6B30761BA81005FE872 /* libSDL.a */, + BECDF6BA0761BA81005FE872 /* libSDLmain.a */, + BECDF6BE0761BA81005FE872 /* Standard DMG */, + BECDF6C30761BA81005FE872 /* Developer Extras Package */, + ); + name = Products; + sourceTree = ""; + }; + 046B91E80A11B53500FB151C /* dlopen */ = { + isa = PBXGroup; + children = ( + 046B91E90A11B53500FB151C /* SDL_sysloadso.c */, + ); + path = dlopen; + sourceTree = ""; + }; + 083E4892006D86FF7F000001 /* cdrom */ = { + isa = PBXGroup; + children = ( + B2A23A420415799100A80002 /* macosx */, + 083E4893006D86FF7F000001 /* dummy */, + 083E4895006D86FF7F000001 /* SDL_cdrom.c */, + ); + name = cdrom; + path = ../../src/cdrom; + sourceTree = SOURCE_ROOT; + }; + 083E4893006D86FF7F000001 /* dummy */ = { + isa = PBXGroup; + children = ( + 083E4894006D86FF7F000001 /* SDL_syscdrom.c */, + ); + path = dummy; + sourceTree = ""; + }; + 083E489A006D88D97F000001 /* joystick */ = { + isa = PBXGroup; + children = ( + F51789D001769A2401D3D55B /* darwin */, + 083E489D006D88D97F000001 /* SDL_joystick.c */, + ); + name = joystick; + path = ../../src/joystick; + sourceTree = SOURCE_ROOT; + }; + 0867D691FE84028FC02AAC07 /* SDLFramework */ = { + isa = PBXGroup; + children = ( + F5A2EF3900C6A39A01000001 /* BUGS */, + F5A2EF3A00C6A3C201000001 /* README.MacOSX */, + F59C70FC00D5CB5801000001 /* pkg-support */, + F5B2A58400C5D39001000001 /* Main */, + 0153844A006D81B07F000001 /* Public Headers */, + 08FB77ACFE841707C02AAC07 /* Library Source */, + 034768DDFF38A45A11DB9C8B /* Products */, + BECDF66B0761BA81005FE872 /* Info-Framework.plist */, + BEC562FE0761C0E800A33029 /* Linked Frameworks */, + ); + comments = "To build Universal Binaries, we have experimented with a variety of different options.\nThe complication is that we must retain compatibility with at least 10.2. \nThe Universal Binary defaults only work for > 10.3.9\n\nSo far, we have found:\ngcc 4.0.0 with Xcode 2.1 always links against libgcc_s. gcc 4.0.1 from Xcode 2.2 fixes this problem.\n\nBut gcc 4.0 will not work with < 10.3.9 because we continue to get an undefined symbol to _fprintf$LDBL128.\nSo we must use gcc 3.3 on PPC to accomplish 10.2 support. (But 4.0 is required for i386.)\n\nSetting the deployment target to 10.4 will disable prebinding, so for PPC, we set it less than 10.4 to preserve prebinding for legacy support.\n\nSetting the PPC SDKROOT to /Developers/SDKs/MacOSX10.2.8.sdk will link to 63.0.0 libSystem.B.dylib. Leaving it at current or 10.4u links to 88.1.2. However, as long as we are using gcc 3.3, it doesn't seem to matter as testing has demonstrated both will run. We have decided not to invoke the 10.2.8 SDK because it is not a default installed component with Xcode which will probably cause most people problems. However, rather than deleting the SDKROOT_ppc entry entirely, we have mapped it to 10.4u in case we decide we need to change this setting.\n\nTo use Altivec or SSE, we needed architecture specific flags:\nOTHER_CFLAGS_ppc\nOTHER_CFLAGS_i386\nOTHER_CFLAGS=$(OTHER_CFLAGS_($CURRENT_ARCH))\n\nThe general OTHER_CFLAGS needed to be manually mapped to architecture specific options because Xcode didn't do this automatically for us.\n\n\n"; + name = SDLFramework; + sourceTree = ""; + }; + 089C1665FE841158C02AAC07 /* Resources */ = { + isa = PBXGroup; + children = ( + ); + name = Resources; + sourceTree = ""; + }; + 08FB77ACFE841707C02AAC07 /* Library Source */ = { + isa = PBXGroup; + children = ( + 0153832C006D78D67F000001 /* audio */, + 083E4892006D86FF7F000001 /* cdrom */, + B24DA50105A88D52006B9F1C /* cpuinfo */, + 01538367006D79147F000001 /* events */, + 01538376006D79307F000001 /* file */, + 083E489A006D88D97F000001 /* joystick */, + 00162D7509BD217B0037C8D0 /* loadso */, + 00162D6309BD214E0037C8D0 /* stdlib */, + 01538379006D79737F000001 /* thread */, + 01538391006D79BC7F000001 /* timer */, + 015383BE006D7A567F000001 /* video */, + 01538438006D7D947F000001 /* SDL_error.c */, + 01538439006D7D947F000001 /* SDL_fatal.c */, + 0153843C006D7D947F000001 /* SDL.c */, + ); + name = "Library Source"; + sourceTree = ""; + }; + 0FCDF5B50083FCE77F000001 /* quartz */ = { + isa = PBXGroup; + children = ( + 00D0D02210675823004B05EF /* SDL_QuartzWM.h */, + B24DA4D605A88AD0006B9F1C /* CGS.h */, + B24DA4D705A88AD0006B9F1C /* SDL_QuartzEvents.m */, + B24DA4D805A88AD0006B9F1C /* SDL_QuartzGL.m */, + B24DA4D905A88AD0006B9F1C /* SDL_QuartzKeys.h */, + B24DA4DA05A88AD0006B9F1C /* SDL_QuartzVideo.h */, + B24DA4DB05A88AD0006B9F1C /* SDL_QuartzVideo.m */, + B24DA4DC05A88AD0006B9F1C /* SDL_QuartzWindow.h */, + B24DA4DD05A88AD0006B9F1C /* SDL_QuartzWindow.m */, + B24DA4DE05A88AD0006B9F1C /* SDL_QuartzWM.m */, + ); + name = quartz; + path = ../../src/video/quartz; + sourceTree = SOURCE_ROOT; + }; + B24DA50105A88D52006B9F1C /* cpuinfo */ = { + isa = PBXGroup; + children = ( + B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */, + ); + name = cpuinfo; + path = ../../src/cpuinfo; + sourceTree = ""; + }; + B2A23A420415799100A80002 /* macosx */ = { + isa = PBXGroup; + children = ( + 004C2C860975E13300E9D430 /* AudioFilePlayer.c */, + B2A23A450415799100A80002 /* AudioFilePlayer.h */, + 004C2C870975E13300E9D430 /* AudioFileReaderThread.c */, + 004C2C880975E13300E9D430 /* CDPlayer.c */, + B2A23A8104157D5D00A80002 /* CDPlayer.h */, + 004C2C890975E13300E9D430 /* SDLOSXCAGuard.c */, + 004C2C8A0975E13300E9D430 /* SDLOSXCAGuard.h */, + B2A23A7B04157C5700A80002 /* SDL_syscdrom.c */, + B2A23A7A04157C5700A80002 /* SDL_syscdrom_c.h */, + ); + path = macosx; + sourceTree = ""; + }; + BEC562FE0761C0E800A33029 /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 00D0D08310675DD9004B05EF /* CoreFoundation.framework */, + 007317C10858E15000B2BC32 /* Carbon.framework */, + 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */, + 0073179C0858DECD00B2BC32 /* AudioUnit.framework */, + 0073179D0858DECD00B2BC32 /* Cocoa.framework */, + 0073179E0858DECD00B2BC32 /* CoreAudio.framework */, + 0073179F0858DECD00B2BC32 /* IOKit.framework */, + 007317A00858DECD00B2BC32 /* OpenGL.framework */, + 007317A10858DECD00B2BC32 /* QuickTime.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + BECDF5D20761B759005FE872 /* macosx */ = { + isa = PBXGroup; + children = ( + BECDF5D50761B759005FE872 /* SDL_coreaudio.c */, + BECDF5D60761B759005FE872 /* SDL_coreaudio.h */, + ); + name = macosx; + path = ../../src/audio/macosx; + sourceTree = SOURCE_ROOT; + }; + F51789D001769A2401D3D55B /* darwin */ = { + isa = PBXGroup; + children = ( + F51789D101769A2401D3D55B /* SDL_sysjoystick.c */, + ); + name = darwin; + path = ../../src/joystick/darwin; + sourceTree = SOURCE_ROOT; + }; + F59C70FC00D5CB5801000001 /* pkg-support */ = { + isa = PBXGroup; + children = ( + F59C70FE00D5CB5801000001 /* devel-resources */, + F59C710100D5CB5801000001 /* resources */, + F5F81AD400D706B101000001 /* Readme SDL Developer.txt */, + F59C710500D5CB5801000001 /* SDL-devel.info */, + F59C710600D5CB5801000001 /* SDL.info */, + ); + path = "pkg-support"; + sourceTree = SOURCE_ROOT; + }; + F59C70FE00D5CB5801000001 /* devel-resources */ = { + isa = PBXGroup; + children = ( + F59C710C00D5D15801000001 /* install.sh */, + F59C70FF00D5CB5801000001 /* ReadMe.txt */, + F59C710000D5CB5801000001 /* Welcome.txt */, + ); + path = "devel-resources"; + sourceTree = ""; + }; + F59C710100D5CB5801000001 /* resources */ = { + isa = PBXGroup; + children = ( + 00794D3F09D0C461003FC8A1 /* License.rtf */, + 00F5D79E0990CA0D0051C449 /* UniversalBinaryNotes.rtf */, + 00AE6E1E08B958CC00255E2F /* ReadMeDevLite.txt */, + F59C710300D5CB5801000001 /* ReadMe.txt */, + ); + path = resources; + sourceTree = ""; + }; + F5B2A58400C5D39001000001 /* Main */ = { + isa = PBXGroup; + children = ( + 2EECDF2D0086C3A07F000001 /* SDLMain.h */, + 2EECDF2E0086C3A07F000001 /* SDLMain.m */, + 2EECDF2F0086C3A07F000001 /* SDLMain.nib */, + ); + name = Main; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + BECDF5FF0761BA81005FE872 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 00162DA409BD222F0037C8D0 /* SDL_config_dreamcast.h in Headers */, + 00162DA509BD222F0037C8D0 /* SDL_config_macos.h in Headers */, + 00162DA609BD222F0037C8D0 /* SDL_config_macosx.h in Headers */, + 00162DA709BD222F0037C8D0 /* SDL_config_os2.h in Headers */, + 00162DA809BD222F0037C8D0 /* SDL_config_win32.h in Headers */, + 00162DA909BD222F0037C8D0 /* SDL_config.h in Headers */, + 00162DAA09BD222F0037C8D0 /* SDL_platform.h in Headers */, + 00162DAB09BD222F0037C8D0 /* SDL_stdinc.h in Headers */, + 00162DAC09BD222F0037C8D0 /* begin_code.h in Headers */, + 00162DAD09BD222F0037C8D0 /* close_code.h in Headers */, + 00162DAE09BD222F0037C8D0 /* SDL_active.h in Headers */, + 00162DAF09BD222F0037C8D0 /* SDL_audio.h in Headers */, + 00162DB009BD222F0037C8D0 /* SDL_byteorder.h in Headers */, + 00162DB109BD222F0037C8D0 /* SDL_cdrom.h in Headers */, + 00162DB209BD222F0037C8D0 /* SDL_copying.h in Headers */, + 00162DB309BD222F0037C8D0 /* SDL_cpuinfo.h in Headers */, + 00162DB409BD222F0037C8D0 /* SDL_endian.h in Headers */, + 00162DB509BD222F0037C8D0 /* SDL_error.h in Headers */, + 00162DB609BD222F0037C8D0 /* SDL_events.h in Headers */, + 00162DB709BD222F0037C8D0 /* SDL_getenv.h in Headers */, + 00162DB809BD222F0037C8D0 /* SDL_joystick.h in Headers */, + 00162DB909BD222F0037C8D0 /* SDL_keyboard.h in Headers */, + 00162DBA09BD222F0037C8D0 /* SDL_keysym.h in Headers */, + 00162DBB09BD222F0037C8D0 /* SDL_loadso.h in Headers */, + 00162DBC09BD222F0037C8D0 /* SDL_main.h in Headers */, + 00162DBD09BD222F0037C8D0 /* SDL_mouse.h in Headers */, + 00162DBE09BD222F0037C8D0 /* SDL_mutex.h in Headers */, + 00162DBF09BD222F0037C8D0 /* SDL_name.h in Headers */, + 00162DC009BD222F0037C8D0 /* SDL_opengl.h in Headers */, + 00162DC109BD222F0037C8D0 /* SDL_quit.h in Headers */, + 00162DC209BD222F0037C8D0 /* SDL_rwops.h in Headers */, + 00162DC309BD222F0037C8D0 /* SDL_syswm.h in Headers */, + 00162DC409BD222F0037C8D0 /* SDL_thread.h in Headers */, + 00162DC509BD222F0037C8D0 /* SDL_timer.h in Headers */, + 00162DC609BD222F0037C8D0 /* SDL_types.h in Headers */, + 00162DC709BD222F0037C8D0 /* SDL_version.h in Headers */, + 00162DC809BD222F0037C8D0 /* SDL_video.h in Headers */, + 00162DC909BD222F0037C8D0 /* SDL.h in Headers */, + 00D0D02310675823004B05EF /* SDL_QuartzWM.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF66E0761BA81005FE872 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + BECDF6720761BA81005FE872 /* CGS.h in Headers */, + BECDF6730761BA81005FE872 /* SDL_QuartzKeys.h in Headers */, + BECDF6740761BA81005FE872 /* SDL_QuartzVideo.h in Headers */, + BECDF6750761BA81005FE872 /* SDL_QuartzWindow.h in Headers */, + BECDF6760761BA81005FE872 /* SDL_cpuinfo.h in Headers */, + BECDF6770761BA81005FE872 /* SDL_name.h in Headers */, + BECDF6780761BA81005FE872 /* SDL_coreaudio.h in Headers */, + 004C2C940975E13300E9D430 /* SDLOSXCAGuard.h in Headers */, + 00162D4409BD1FA90037C8D0 /* SDL_config_dreamcast.h in Headers */, + 00162D4509BD1FA90037C8D0 /* SDL_config_macos.h in Headers */, + 00162D4609BD1FA90037C8D0 /* SDL_config_macosx.h in Headers */, + 00162D4709BD1FA90037C8D0 /* SDL_config_os2.h in Headers */, + 00162D4809BD1FA90037C8D0 /* SDL_config_win32.h in Headers */, + 00162D4909BD1FA90037C8D0 /* SDL_config.h in Headers */, + 00162D4A09BD1FA90037C8D0 /* SDL_platform.h in Headers */, + 00162D4B09BD1FA90037C8D0 /* SDL_stdinc.h in Headers */, + 00162D5B09BD20DA0037C8D0 /* SDL_sysmutex_c.h in Headers */, + 00162D5E09BD20DA0037C8D0 /* SDL_systhread_c.h in Headers */, + 00162E6B09BD27370037C8D0 /* SDL_mixer_MMX.h in Headers */, + 00162F4209BE27FB0037C8D0 /* SDL_nullevents_c.h in Headers */, + 00162F4409BE27FB0037C8D0 /* SDL_nullmouse_c.h in Headers */, + 00162F4609BE27FB0037C8D0 /* SDL_nullvideo.h in Headers */, + 0014B7F409C0D8D2003A99D5 /* SDL_dgaevents_c.h in Headers */, + 0014B7F609C0D8D2003A99D5 /* SDL_dgamouse_c.h in Headers */, + 0014B7F909C0D8D2003A99D5 /* SDL_dgavideo.h in Headers */, + 0014B86509C0D977003A99D5 /* SDL_x11dga_c.h in Headers */, + 0014B86809C0D977003A99D5 /* SDL_x11dyn.h in Headers */, + 0014B86909C0D977003A99D5 /* SDL_x11events_c.h in Headers */, + 0014B86B09C0D977003A99D5 /* SDL_x11gamma_c.h in Headers */, + 0014B86D09C0D977003A99D5 /* SDL_x11gl_c.h in Headers */, + 0014B86F09C0D977003A99D5 /* SDL_x11image_c.h in Headers */, + 0014B87109C0D977003A99D5 /* SDL_x11modes_c.h in Headers */, + 0014B87309C0D977003A99D5 /* SDL_x11mouse_c.h in Headers */, + 0014B87509C0D977003A99D5 /* SDL_x11sym.h in Headers */, + 0014B87709C0D977003A99D5 /* SDL_x11video.h in Headers */, + 0014B87809C0D977003A99D5 /* SDL_x11wm_c.h in Headers */, + 0014B87A09C0D977003A99D5 /* SDL_x11yuv_c.h in Headers */, + 0014B89E09C0DAAE003A99D5 /* Xvlibint.h in Headers */, + 002F32DA09CA0BE700EBEB88 /* SDL_diskaudio.h in Headers */, + 002F32E809CA0BF600EBEB88 /* SDL_dummyaudio.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B50761BA81005FE872 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + BECDF5FE0761BA81005FE872 /* Framework */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */; + buildPhases = ( + 00D55F050A11143E0030ED2A /* Run Script to Create SDL_config.h */, + BECDF5FF0761BA81005FE872 /* Headers */, + BECDF62A0761BA81005FE872 /* Resources */, + BECDF62C0761BA81005FE872 /* Sources */, + BECDF6680761BA81005FE872 /* Frameworks */, + BECDF6690761BA81005FE872 /* Rez */, + ); + buildRules = ( + ); + comments = "We recommend installing to /Library/Frameworks\nAn alternative is $(HOME)/Library/Frameworks for per-user if permissions are an issue.\n\nAdd the framework to the Groups & Files panel (under Linked Frameworks is a good place) and enable the check box for the targets that need to link to it. You can also manually add \"-framework SDL\" to your linker flags if you don't like the check box system.\n\nAdd /Library/Frameworks/SDL.framework/Headers to your header search path\nAdd /Library/Frameworks to your library search path\n(Adjust the two above if installed in $(HOME)/Library/Frameworks. You can also list both paths if you want robustness.)\n\nWe used to use an exports file. It was becoming a maintenance issue we kept neglecting, so we have removed it. If you need it back, set the \"Exported Symbols File\" option to:\n../../src/main/macosx/exports/SDL.x\n(You may need to regenerate the exports list. There is a Makefile in that directory that you can run from the command line to rebuild it.)\nLong term, we want to utilize gcc 4.0's new visibility feature (analogous to declspec on Windows). Other platforms would benefit from this change too. The downside is that we still use gcc 3.3 for the PowerPC build here so only our x86 builds will cull the symbols if we go down this route (and don't use the exports file).\n\n"; + dependencies = ( + ); + name = Framework; + productInstallPath = "@executable_path/../Frameworks"; + productName = SDL; + productReference = BECDF66C0761BA81005FE872 /* SDL.framework */; + productType = "com.apple.product-type.framework"; + }; + BECDF66D0761BA81005FE872 /* Static Library */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0073177E0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Static Library" */; + buildPhases = ( + 00D55F080A11147F0030ED2A /* Run Script to Create SDL_config.h */, + BECDF66E0761BA81005FE872 /* Headers */, + BECDF6790761BA81005FE872 /* Sources */, + BECDF6B10761BA81005FE872 /* Frameworks */, + BECDF6B20761BA81005FE872 /* Rez */, + ); + buildRules = ( + ); + comments = "This produces libsdl.a, which is the static build of SDL. You will have to link to the Cocoa and OpenGL frameworks in your application."; + dependencies = ( + ); + name = "Static Library"; + productInstallPath = /usr/local/lib; + productName = "Static Library"; + productReference = BECDF6B30761BA81005FE872 /* libSDL.a */; + productType = "com.apple.product-type.library.static"; + }; + BECDF6B40761BA81005FE872 /* Main Library */ = { + isa = PBXNativeTarget; + buildConfigurationList = 007317820858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Main Library" */; + buildPhases = ( + BECDF6B50761BA81005FE872 /* Headers */, + BECDF6B60761BA81005FE872 /* Sources */, + BECDF6B80761BA81005FE872 /* Frameworks */, + BECDF6B90761BA81005FE872 /* Rez */, + ); + buildRules = ( + ); + comments = "This produces libSDLmain.a, which contains only SDL_main.m, the hook to get the app running correctly before your SDL code executes."; + dependencies = ( + ); + name = "Main Library"; + productInstallPath = /usr/local/lib; + productName = libSDLmain.a; + productReference = BECDF6BA0761BA81005FE872 /* libSDLmain.a */; + productType = "com.apple.product-type.library.static"; + }; + BECDF6BB0761BA81005FE872 /* Standard DMG */ = { + isa = PBXNativeTarget; + buildConfigurationList = 007317860858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Standard DMG" */; + buildPhases = ( + BECDF6BD0761BA81005FE872 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + BECDF6C60761BA81005FE872 /* PBXTargetDependency */, + ); + name = "Standard DMG"; + productInstallPath = /usr/local/bin; + productName = "Standard Package"; + productReference = BECDF6BE0761BA81005FE872 /* Standard DMG */; + productType = "com.apple.product-type.tool"; + }; + BECDF6C00761BA81005FE872 /* Developer Extras Package */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0073178A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Developer Extras Package" */; + buildPhases = ( + BECDF6C20761BA81005FE872 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 008310001072D94A00A531F1 /* PBXTargetDependency */, + ); + name = "Developer Extras Package"; + productInstallPath = /usr/local/bin; + productName = "Devel Package"; + productReference = BECDF6C30761BA81005FE872 /* Developer Extras Package */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 0867D690FE84028FC02AAC07 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0420; + }; + buildConfigurationList = 0073178E0858DB0500B2BC32 /* Build configuration list for PBXProject "SDL" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 0867D691FE84028FC02AAC07 /* SDLFramework */; + productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + BECDF5FE0761BA81005FE872 /* Framework */, + BECDF66D0761BA81005FE872 /* Static Library */, + BECDF6B40761BA81005FE872 /* Main Library */, + BECDF6BB0761BA81005FE872 /* Standard DMG */, + BECDF6C00761BA81005FE872 /* Developer Extras Package */, + 0032354F1070931700C76517 /* Generate Doxygen DocSet */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + BECDF62A0761BA81005FE872 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BECDF62B0761BA81005FE872 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXRezBuildPhase section */ + BECDF6690761BA81005FE872 /* Rez */ = { + isa = PBXRezBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B20761BA81005FE872 /* Rez */ = { + isa = PBXRezBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B90761BA81005FE872 /* Rez */ = { + isa = PBXRezBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXRezBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0032354E1070931700C76517 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 12; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# DOXYGEN_EXE is defined in the Enclosing Target's Build Tab\n# DOXYGEN_EXE=/Applications/Doxygen.app/Contents/Resources/doxygen\n#echo DOXYGEN_EXE dir is $DOXYGEN_EXE\n\nDOC_DIR=$SRCROOT/../XcodeDocSet\n#echo Doc dir is $DOC_DIR\ncd $DOC_DIR\n$DOXYGEN_EXE $DOC_DIR/Doxyfile\ncd html\nmake\nif [ -d $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset ] ; then\n\t# remove previous docset\n\trm -rf $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset\nfi\nmv org.libsdl.sdl.docset ..\ncd ..\nrm -rf html\nexit 0"; + }; + 00D55F050A11143E0030ED2A /* Run Script to Create SDL_config.h */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script to Create SDL_config.h"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n if [ -e ../../include/SDL_config.h ]; then\n mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n fi\n ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n"; + }; + 00D55F080A11147F0030ED2A /* Run Script to Create SDL_config.h */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script to Create SDL_config.h"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n if [ -e ../../include/SDL_config.h ]; then\n mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n fi\n ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n"; + }; + BECDF6BD0761BA81005FE872 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 12; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nmkdir -p build/dmg-tmp/devel-lite\n/Developer/Tools/CpMac -r $TARGET_BUILD_DIR/SDL.framework build/dmg-tmp/\n\n# strip moved to Xcode native mechanism\n# strip -x build/dmg-tmp/SDL.framework/SDL\n\ncp pkg-support/resources/License.rtf build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\ncp pkg-support/resources/ReadMeDevLite.txt build/dmg-tmp/devel-lite\ncp pkg-support/resources/UniversalBinaryNotes.rtf build/dmg-tmp\n\ncp ../../src/main/macosx/SDLMain.h build/dmg-tmp/devel-lite\ncp ../../src/main/macosx/SDLMain.m build/dmg-tmp/devel-lite\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\nfind -d build/dmg-tmp -type d -name .svn -exec rm -rf \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL -srcfolder build/dmg-tmp build/SDL.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n\n# compress it???\n#(cd build; gnutar -zcvf SDL.dmg.tar.gz SDL.dmg)"; + }; + BECDF6C20761BA81005FE872 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + comments = "The old .pkg generator script:\n\n# make a copy of the framework to work with\nmkdir -p build/pkg-tmp\n\n## We're changing this to follow OS X conventions, where the headers and\n## framework are bundled together. Thus this development package won't \n## actually contain any direct framework elements.\n#/Developer/Tools/CpMac -r build/SDL.framework build/pkg-tmp/\n\n# copy in some files they might want around...\ncp ../../docs.html build/pkg-tmp\ncp -r ../../docs build/pkg-tmp\n#cp -r ../../src/main/macosx build/pkg-tmp/\n#rm -rf build/pkg-tmp/main/exports\ncp -r \"../Project Stationary\" build/pkg-tmp/\ncp \"pkg-support/Readme SDL Developer.txt\" build/pkg-tmp/\n#cp \"../uninstall.csh\" build/pkg-tmp/\n\n## We shouldn't have any framework stuff to deal with now\n# clean up the framework, remove extra files\n# rm -rf build/pkg-tmp/SDL.framework/Resources/pbdevelopment.plist\n\n# remove the .DS_Store file to keep tool from crapping out\nfind pkg-support -name \".DS_Store\" -exec rm -rf \"{}\" \";\" \n\n# create the .pkg\n../package build/pkg-tmp pkg-support/SDL-devel.info -d build -r pkg-support/devel-resources \n#\"/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker\" -build -p build/ -f build/pkg-tmp -r pkg-support/devel-resources -i Info.plist -d Description.plist\n\n# create install scripts\nDIR=build/SDL-devel.pkg/\ncp $DIR/install.sh $DIR/SDL-devel.post_install\nmv $DIR/install.sh $DIR/SDL-devel.post_upgrade\n\n# add execute flag to scripts\nchmod 755 $DIR/SDL-devel.post_install $DIR/SDL-devel.post_upgrade\n\n# remove temporary files\n#rm -rf build/pkg-tmp\n\n# compress\n(cd build; gnutar -zcvf SDL-devel.pkg.tar.gz SDL-devel.pkg)"; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# make a directory to hold the stuff we're going to package up\nmkdir -p build/devel-extras-tmp\nmkdir -p build/devel-extras-tmp/Documentation\nmkdir -p build/devel-extras-tmp/Documentation/docs/XcodeDocSet\nmkdir -p build/devel-extras-tmp/XcodeTemplates\nmkdir -p build/devel-extras-tmp/SDLMain\nmkdir -p build/devel-extras-tmp/SDLMain/NIBless\nmkdir -p build/devel-extras-tmp/SDLMain/CocoaMenus\n\n# copy the docs\ncp ../../docs.html build/devel-extras-tmp/Documentation\ncp -r ../../docs build/devel-extras-tmp/Documentation\n\n# Copy Doxyfile for DocSet\ncp $SRCROOT/../XcodeDocSet/Doxyfile build/devel-extras-tmp/Documentation/docs/XcodeDocSet\n\n# Copy DocSet (if it exists)\nif [ -d $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset ] ; then\n#\techo Found docset directory\n\tmv $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset build/devel-extras-tmp/Documentation/docs/XcodeDocSet/\nelse\n\techo Warning: Could not find DocSet and will be omitted from package\nfi\n\n# copy the Xcode Project user templates\ncp -r \"../TemplatesForXcodeTiger\" build/devel-extras-tmp/XcodeTemplates\ncp -r \"../TemplatesForXcodeLeopard\" build/devel-extras-tmp/XcodeTemplates\ncp -r \"../TemplatesForXcodeSnowLeopard\" build/devel-extras-tmp/XcodeTemplates\n\ncp \"pkg-support/Readme SDL Developer.txt\" build/devel-extras-tmp\n\n# readme file\n#cp pkg-support/resources/ReadMe.txt build/devel-extras-tmp\n\n#cp pkg-support/resources/UniversalBinaryNotes.rtf build/devel-extras-tmp\n\n# Copy the devel-lite stuff just in case the user didn't notice it in the main package\n# I should copy all the different SDLMain versions (and nibs) instead.\n# I'm assuming the default is the same as the SDL App and SDL/OpenGL templates\n\ncp pkg-support/resources/ReadMeDevLite.txt build/devel-extras-tmp/SDLMain/NIBless\ncp ../../src/main/macosx/SDLMain.h build/devel-extras-tmp/SDLMain/NIBless\ncp ../../src/main/macosx/SDLMain.m build/devel-extras-tmp/SDLMain/NIBless\n\n# Nib stuff from SDL-Cocoa App\n/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.h\" build/devel-extras-tmp/SDLMain/CocoaMenus\n/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.m\" build/devel-extras-tmp/SDLMain/CocoaMenus\n/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib\" build/devel-extras-tmp/SDLMain/CocoaMenus\n\n# Copy precompiled libSDLmain.a's here??? We have potentially 3 different ones?\n# /Developer/Tools/CpMac -r $TARGET_BUILD_DIR/libSDLmain.a build/devel-extras-tmp/SDLMain/NIBless\n#\n#\n\n# Copy sdl-config's for those who've been wanting one? Will need to document that it may\n# require manual changes if you don't install the framework to /Library/Frameworks\n# <>\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/devel-extras-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n# remove CVS stuff\nfind build/devel-extras-tmp -name .cvsignore -exec rm -f \"{}\" \\;\n# depth first traversal, type=directory, remove recursively\nfind -d build/devel-extras-tmp -type d -name CVS -exec rm -rf \"{}\" \\;\nfind -d build/devel-extras-tmp -type d -name .svn -exec rm -rf \"{}\" \\;\n\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL-devel-extras -srcfolder build/devel-extras-tmp build/SDL-devel-extras.dmg\n\n# clean up\nrm -rf build/devel-extras-tmp\n\n# compress it???\n#(cd build; gnutar -zcvf SDL.dmg.tar.gz SDL.dmg)\n\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + BECDF62C0761BA81005FE872 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BECDF62E0761BA81005FE872 /* SDL_audio.c in Sources */, + BECDF62F0761BA81005FE872 /* SDL_audiocvt.c in Sources */, + BECDF6300761BA81005FE872 /* SDL_audiodev.c in Sources */, + BECDF6320761BA81005FE872 /* SDL_mixer.c in Sources */, + BECDF6330761BA81005FE872 /* SDL_wave.c in Sources */, + BECDF6350761BA81005FE872 /* SDL_active.c in Sources */, + BECDF6360761BA81005FE872 /* SDL_events.c in Sources */, + BECDF6370761BA81005FE872 /* SDL_expose.c in Sources */, + BECDF6380761BA81005FE872 /* SDL_keyboard.c in Sources */, + BECDF6390761BA81005FE872 /* SDL_mouse.c in Sources */, + BECDF63A0761BA81005FE872 /* SDL_quit.c in Sources */, + BECDF63B0761BA81005FE872 /* SDL_resize.c in Sources */, + BECDF63C0761BA81005FE872 /* SDL_rwops.c in Sources */, + BECDF63E0761BA81005FE872 /* SDL_timer.c in Sources */, + BECDF63F0761BA81005FE872 /* SDL_blit.c in Sources */, + BECDF6400761BA81005FE872 /* SDL_blit_0.c in Sources */, + BECDF6410761BA81005FE872 /* SDL_blit_1.c in Sources */, + BECDF6420761BA81005FE872 /* SDL_blit_A.c in Sources */, + BECDF6430761BA81005FE872 /* SDL_blit_N.c in Sources */, + BECDF6440761BA81005FE872 /* SDL_bmp.c in Sources */, + BECDF6450761BA81005FE872 /* SDL_cursor.c in Sources */, + BECDF6460761BA81005FE872 /* SDL_gamma.c in Sources */, + BECDF6470761BA81005FE872 /* SDL_pixels.c in Sources */, + BECDF6480761BA81005FE872 /* SDL_RLEaccel.c in Sources */, + BECDF6490761BA81005FE872 /* SDL_surface.c in Sources */, + BECDF64A0761BA81005FE872 /* SDL_video.c in Sources */, + BECDF64B0761BA81005FE872 /* SDL_yuv.c in Sources */, + BECDF64C0761BA81005FE872 /* SDL_yuv_sw.c in Sources */, + BECDF64D0761BA81005FE872 /* SDL_error.c in Sources */, + BECDF64E0761BA81005FE872 /* SDL_fatal.c in Sources */, + BECDF6500761BA81005FE872 /* SDL.c in Sources */, + BECDF6510761BA81005FE872 /* SDL_thread.c in Sources */, + BECDF6520761BA81005FE872 /* SDL_cdrom.c in Sources */, + BECDF6530761BA81005FE872 /* SDL_joystick.c in Sources */, + BECDF6580761BA81005FE872 /* SDL_stretch.c in Sources */, + BECDF6590761BA81005FE872 /* SDL_sysjoystick.c in Sources */, + BECDF65B0761BA81005FE872 /* SDL_QuartzEvents.m in Sources */, + BECDF65C0761BA81005FE872 /* SDL_QuartzGL.m in Sources */, + BECDF65D0761BA81005FE872 /* SDL_QuartzVideo.m in Sources */, + BECDF65E0761BA81005FE872 /* SDL_QuartzWindow.m in Sources */, + BECDF65F0761BA81005FE872 /* SDL_QuartzWM.m in Sources */, + BECDF6610761BA81005FE872 /* SDL_cpuinfo.c in Sources */, + BECDF6620761BA81005FE872 /* SDL_syscdrom.c in Sources */, + BECDF6670761BA81005FE872 /* SDL_coreaudio.c in Sources */, + 004C2C8B0975E13300E9D430 /* AudioFilePlayer.c in Sources */, + 004C2C8C0975E13300E9D430 /* AudioFileReaderThread.c in Sources */, + 004C2C8D0975E13300E9D430 /* CDPlayer.c in Sources */, + 004C2C8E0975E13300E9D430 /* SDLOSXCAGuard.c in Sources */, + 00162D5309BD20DA0037C8D0 /* SDL_syscond.c in Sources */, + 00162D5409BD20DA0037C8D0 /* SDL_sysmutex.c in Sources */, + 00162D5609BD20DA0037C8D0 /* SDL_syssem.c in Sources */, + 00162D5709BD20DA0037C8D0 /* SDL_systhread.c in Sources */, + 00162D6109BD21010037C8D0 /* SDL_systimer.c in Sources */, + 00162D6B09BD214F0037C8D0 /* SDL_getenv.c in Sources */, + 00162D6C09BD214F0037C8D0 /* SDL_malloc.c in Sources */, + 00162D6D09BD214F0037C8D0 /* SDL_qsort.c in Sources */, + 00162D6E09BD214F0037C8D0 /* SDL_stdlib.c in Sources */, + 00162D6F09BD214F0037C8D0 /* SDL_string.c in Sources */, + 00162E6809BD27300037C8D0 /* SDL_mixer_MMX.c in Sources */, + 00162F3B09BE27FB0037C8D0 /* SDL_nullevents.c in Sources */, + 00162F3D09BE27FB0037C8D0 /* SDL_nullmouse.c in Sources */, + 00162F3F09BE27FB0037C8D0 /* SDL_nullvideo.c in Sources */, + 0014B7EF09C0D8D2003A99D5 /* SDL_dgaevents.c in Sources */, + 0014B7F109C0D8D2003A99D5 /* SDL_dgamouse.c in Sources */, + 0014B7F209C0D8D2003A99D5 /* SDL_dgavideo.c in Sources */, + 0014B84F09C0D977003A99D5 /* SDL_x11dga.c in Sources */, + 0014B85009C0D977003A99D5 /* SDL_x11dyn.c in Sources */, + 0014B85309C0D977003A99D5 /* SDL_x11events.c in Sources */, + 0014B85509C0D977003A99D5 /* SDL_x11gamma.c in Sources */, + 0014B85709C0D977003A99D5 /* SDL_x11gl.c in Sources */, + 0014B85909C0D977003A99D5 /* SDL_x11image.c in Sources */, + 0014B85B09C0D977003A99D5 /* SDL_x11modes.c in Sources */, + 0014B85D09C0D977003A99D5 /* SDL_x11mouse.c in Sources */, + 0014B85F09C0D977003A99D5 /* SDL_x11video.c in Sources */, + 0014B86209C0D977003A99D5 /* SDL_x11wm.c in Sources */, + 0014B86409C0D977003A99D5 /* SDL_x11yuv.c in Sources */, + 0014B89209C0DA94003A99D5 /* XF86DGA.c in Sources */, + 0014B89309C0DA94003A99D5 /* XF86DGA2.c in Sources */, + 0014B89709C0DAA1003A99D5 /* XF86VMode.c in Sources */, + 0014B89B09C0DAAE003A99D5 /* Xv.c in Sources */, + 0014B8A009C0DAB9003A99D5 /* Xinerama.c in Sources */, + 0014B8A309C0DAC4003A99D5 /* xme.c in Sources */, + 002F328609CA049100EBEB88 /* SDL_iconv.c in Sources */, + 002F32D709CA0BE700EBEB88 /* SDL_diskaudio.c in Sources */, + 002F32E509CA0BF600EBEB88 /* SDL_dummyaudio.c in Sources */, + 046B91EC0A11B53500FB151C /* SDL_sysloadso.c in Sources */, + 046B92130A11B8AD00FB151C /* SDL_dlcompat.c in Sources */, + 00EAE6FC0C4D3F84009A420A /* SDL_yuv_mmx.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6790761BA81005FE872 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BECDF67A0761BA81005FE872 /* SDL_audio.c in Sources */, + BECDF67B0761BA81005FE872 /* SDL_audiocvt.c in Sources */, + BECDF67D0761BA81005FE872 /* SDL_audiodev.c in Sources */, + BECDF67E0761BA81005FE872 /* SDL_mixer.c in Sources */, + BECDF67F0761BA81005FE872 /* SDL_wave.c in Sources */, + BECDF6810761BA81005FE872 /* SDL_cdrom.c in Sources */, + BECDF6830761BA81005FE872 /* SDL_active.c in Sources */, + BECDF6840761BA81005FE872 /* SDL_events.c in Sources */, + BECDF6850761BA81005FE872 /* SDL_expose.c in Sources */, + BECDF6860761BA81005FE872 /* SDL_keyboard.c in Sources */, + BECDF6870761BA81005FE872 /* SDL_mouse.c in Sources */, + BECDF6880761BA81005FE872 /* SDL_quit.c in Sources */, + BECDF6890761BA81005FE872 /* SDL_resize.c in Sources */, + BECDF68A0761BA81005FE872 /* SDL_rwops.c in Sources */, + BECDF68B0761BA81005FE872 /* SDL_joystick.c in Sources */, + BECDF68C0761BA81005FE872 /* SDL_thread.c in Sources */, + BECDF6920761BA81005FE872 /* SDL_timer.c in Sources */, + BECDF6930761BA81005FE872 /* SDL_blit.c in Sources */, + BECDF6940761BA81005FE872 /* SDL_blit_0.c in Sources */, + BECDF6950761BA81005FE872 /* SDL_blit_1.c in Sources */, + BECDF6960761BA81005FE872 /* SDL_blit_A.c in Sources */, + BECDF6970761BA81005FE872 /* SDL_blit_N.c in Sources */, + BECDF6980761BA81005FE872 /* SDL_bmp.c in Sources */, + BECDF6990761BA81005FE872 /* SDL_cursor.c in Sources */, + BECDF69A0761BA81005FE872 /* SDL_gamma.c in Sources */, + BECDF69B0761BA81005FE872 /* SDL_pixels.c in Sources */, + BECDF69C0761BA81005FE872 /* SDL_RLEaccel.c in Sources */, + BECDF69D0761BA81005FE872 /* SDL_stretch.c in Sources */, + BECDF69E0761BA81005FE872 /* SDL_surface.c in Sources */, + BECDF69F0761BA81005FE872 /* SDL_video.c in Sources */, + BECDF6A00761BA81005FE872 /* SDL_yuv.c in Sources */, + BECDF6A10761BA81005FE872 /* SDL_yuv_sw.c in Sources */, + BECDF6A20761BA81005FE872 /* SDL_error.c in Sources */, + BECDF6A30761BA81005FE872 /* SDL_fatal.c in Sources */, + BECDF6A50761BA81005FE872 /* SDL.c in Sources */, + BECDF6A60761BA81005FE872 /* SDL_sysjoystick.c in Sources */, + BECDF6A80761BA81005FE872 /* SDL_syscdrom.c in Sources */, + BECDF6A90761BA81005FE872 /* SDL_QuartzEvents.m in Sources */, + BECDF6AA0761BA81005FE872 /* SDL_QuartzGL.m in Sources */, + BECDF6AB0761BA81005FE872 /* SDL_QuartzVideo.m in Sources */, + BECDF6AC0761BA81005FE872 /* SDL_QuartzWindow.m in Sources */, + BECDF6AD0761BA81005FE872 /* SDL_QuartzWM.m in Sources */, + BECDF6AF0761BA81005FE872 /* SDL_cpuinfo.c in Sources */, + BECDF6B00761BA81005FE872 /* SDL_coreaudio.c in Sources */, + 004C2C900975E13300E9D430 /* AudioFilePlayer.c in Sources */, + 004C2C910975E13300E9D430 /* AudioFileReaderThread.c in Sources */, + 004C2C920975E13300E9D430 /* CDPlayer.c in Sources */, + 004C2C930975E13300E9D430 /* SDLOSXCAGuard.c in Sources */, + 00162D5909BD20DA0037C8D0 /* SDL_syscond.c in Sources */, + 00162D5A09BD20DA0037C8D0 /* SDL_sysmutex.c in Sources */, + 00162D5C09BD20DA0037C8D0 /* SDL_syssem.c in Sources */, + 00162D5D09BD20DA0037C8D0 /* SDL_systhread.c in Sources */, + 00162D6209BD21010037C8D0 /* SDL_systimer.c in Sources */, + 00162D7009BD214F0037C8D0 /* SDL_getenv.c in Sources */, + 00162D7109BD214F0037C8D0 /* SDL_malloc.c in Sources */, + 00162D7209BD214F0037C8D0 /* SDL_qsort.c in Sources */, + 00162D7309BD214F0037C8D0 /* SDL_stdlib.c in Sources */, + 00162D7409BD214F0037C8D0 /* SDL_string.c in Sources */, + 00162E6A09BD27360037C8D0 /* SDL_mixer_MMX.c in Sources */, + 00162F4109BE27FB0037C8D0 /* SDL_nullevents.c in Sources */, + 00162F4309BE27FB0037C8D0 /* SDL_nullmouse.c in Sources */, + 00162F4509BE27FB0037C8D0 /* SDL_nullvideo.c in Sources */, + 0014B7F509C0D8D2003A99D5 /* SDL_dgaevents.c in Sources */, + 0014B7F709C0D8D2003A99D5 /* SDL_dgamouse.c in Sources */, + 0014B7F809C0D8D2003A99D5 /* SDL_dgavideo.c in Sources */, + 0014B86609C0D977003A99D5 /* SDL_x11dga.c in Sources */, + 0014B86709C0D977003A99D5 /* SDL_x11dyn.c in Sources */, + 0014B86A09C0D977003A99D5 /* SDL_x11events.c in Sources */, + 0014B86C09C0D977003A99D5 /* SDL_x11gamma.c in Sources */, + 0014B86E09C0D977003A99D5 /* SDL_x11gl.c in Sources */, + 0014B87009C0D977003A99D5 /* SDL_x11image.c in Sources */, + 0014B87209C0D977003A99D5 /* SDL_x11modes.c in Sources */, + 0014B87409C0D977003A99D5 /* SDL_x11mouse.c in Sources */, + 0014B87609C0D977003A99D5 /* SDL_x11video.c in Sources */, + 0014B87909C0D977003A99D5 /* SDL_x11wm.c in Sources */, + 0014B87B09C0D977003A99D5 /* SDL_x11yuv.c in Sources */, + 0014B89409C0DA94003A99D5 /* XF86DGA.c in Sources */, + 0014B89509C0DA94003A99D5 /* XF86DGA2.c in Sources */, + 0014B89809C0DAA1003A99D5 /* XF86VMode.c in Sources */, + 0014B89D09C0DAAE003A99D5 /* Xv.c in Sources */, + 0014B8A109C0DAB9003A99D5 /* Xinerama.c in Sources */, + 0014B8A409C0DAC4003A99D5 /* xme.c in Sources */, + 002F328709CA049100EBEB88 /* SDL_iconv.c in Sources */, + 002F32D909CA0BE700EBEB88 /* SDL_diskaudio.c in Sources */, + 002F32E709CA0BF600EBEB88 /* SDL_dummyaudio.c in Sources */, + 046B91ED0A11B53500FB151C /* SDL_sysloadso.c in Sources */, + 046B92140A11B8AD00FB151C /* SDL_dlcompat.c in Sources */, + 00EAE6FD0C4D3F88009A420A /* SDL_yuv_mmx.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BECDF6B60761BA81005FE872 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BECDF6B70761BA81005FE872 /* SDLMain.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 008310001072D94A00A531F1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0032354F1070931700C76517 /* Generate Doxygen DocSet */; + targetProxy = 00830FFF1072D94A00A531F1 /* PBXContainerItemProxy */; + }; + BECDF6C60761BA81005FE872 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BECDF5FE0761BA81005FE872 /* Framework */; + targetProxy = BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 003235521070931700C76517 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DOXYGEN_EXE = /Applications/Doxygen.app/Contents/Resources/doxygen; + PRODUCT_NAME = "Generate Doxygen DocSet"; + }; + name = Debug; + }; + 003235531070931700C76517 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DOXYGEN_EXE = /Applications/Doxygen.app/Contents/Resources/doxygen; + PRODUCT_NAME = "Generate Doxygen DocSet"; + }; + name = Release; + }; + 00CFA621106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + DEPLOYMENT_POSTPROCESSING = YES; + GCC_ALTIVEC_EXTENSIONS = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_CPP_EXCEPTIONS = NO; + GCC_ENABLE_CPP_RTTI = NO; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_OPTIMIZATION_LEVEL = s; + MACOSX_DEPLOYMENT_TARGET = 10.5; + SDKROOT = macosx; + SEPARATE_STRIP = YES; + STRIP_STYLE = "non-global"; + WARNING_CFLAGS = ""; + }; + name = Release; + }; + 00CFA622106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 12.4; + FRAMEWORK_VERSION = A; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = YES; + HEADER_SEARCH_PATHS = /usr/X11R6/include; + INFOPLIST_FILE = "Info-Framework.plist"; + INSTALL_PATH = "@rpath"; + OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))"; + OTHER_CFLAGS_i386 = ""; + OTHER_CFLAGS_ppc = ""; + OTHER_LDFLAGS_ppc = "-prebind -seg1addr 0x30000000"; + PRODUCT_NAME = SDL; + WRAPPER_EXTENSION = framework; + }; + name = Release; + }; + 00CFA623106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + "SDL_VIDEO_DRIVER_DGA=1", + "SDL_VIDEO_DRIVER_X11=1", + "SDL_VIDEO_DRIVER_X11_DGAMOUSE=1", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)", + "SDL_VIDEO_DRIVER_X11_VIDMODE=1", + "SDL_VIDEO_DRIVER_X11_XINERAMA=1", + "SDL_VIDEO_DRIVER_X11_XME=1", + "SDL_VIDEO_DRIVER_X11_XRANDR=1", + "SDL_VIDEO_DRIVER_X11_XV=1", + ); + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\""; + HEADER_SEARCH_PATHS = /usr/X11R6/include; + OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))"; + OTHER_CFLAGS_i386 = ""; + OTHER_CFLAGS_ppc = ""; + PRODUCT_NAME = SDL; + }; + name = Release; + }; + 00CFA624106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = SDLmain; + }; + name = Release; + }; + 00CFA625106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "Standard DMG"; + }; + name = Release; + }; + 00CFA626106A567900758660 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "Developer Extras Package"; + }; + name = Release; + }; + 00CFA627106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + GCC_ALTIVEC_EXTENSIONS = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_CPP_EXCEPTIONS = NO; + GCC_ENABLE_CPP_RTTI = NO; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + MACOSX_DEPLOYMENT_TARGET = 10.5; + SDKROOT = macosx; + WARNING_CFLAGS = ""; + }; + name = Debug; + }; + 00CFA628106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 12.4; + FRAMEWORK_VERSION = A; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = YES; + HEADER_SEARCH_PATHS = /usr/X11R6/include; + INFOPLIST_FILE = "Info-Framework.plist"; + INSTALL_PATH = "@rpath"; + OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))"; + OTHER_CFLAGS_i386 = ""; + OTHER_CFLAGS_ppc = ""; + PRODUCT_NAME = SDL; + WRAPPER_EXTENSION = framework; + }; + name = Debug; + }; + 00CFA629106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + "SDL_VIDEO_DRIVER_DGA=1", + "SDL_VIDEO_DRIVER_X11=1", + "SDL_VIDEO_DRIVER_X11_DGAMOUSE=1", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)", + "$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)", + "SDL_VIDEO_DRIVER_X11_VIDMODE=1", + "SDL_VIDEO_DRIVER_X11_XINERAMA=1", + "SDL_VIDEO_DRIVER_X11_XME=1", + "SDL_VIDEO_DRIVER_X11_XRANDR=1", + "SDL_VIDEO_DRIVER_X11_XV=1", + ); + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\""; + GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\""; + HEADER_SEARCH_PATHS = /usr/X11R6/include; + OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))"; + OTHER_CFLAGS_i386 = ""; + OTHER_CFLAGS_ppc = ""; + PRODUCT_NAME = SDL; + }; + name = Debug; + }; + 00CFA62A106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = SDLmain; + }; + name = Debug; + }; + 00CFA62B106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "Standard DMG"; + }; + name = Debug; + }; + 00CFA62C106A568900758660 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "Developer Extras Package"; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 003235571070933500C76517 /* Build configuration list for PBXAggregateTarget "Generate Doxygen DocSet" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 003235521070931700C76517 /* Debug */, + 003235531070931700C76517 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA628106A568900758660 /* Debug */, + 00CFA622106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 0073177E0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Static Library" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA629106A568900758660 /* Debug */, + 00CFA623106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 007317820858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Main Library" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA62A106A568900758660 /* Debug */, + 00CFA624106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 007317860858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Standard DMG" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA62B106A568900758660 /* Debug */, + 00CFA625106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 0073178A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Developer Extras Package" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA62C106A568900758660 /* Debug */, + 00CFA626106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 0073178E0858DB0500B2BC32 /* Build configuration list for PBXProject "SDL" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00CFA627106A568900758660 /* Debug */, + 00CFA621106A567900758660 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 0867D690FE84028FC02AAC07 /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/Readme SDL Developer.txt b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/Readme SDL Developer.txt new file mode 100755 index 0000000..aa32284 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/Readme SDL Developer.txt @@ -0,0 +1,282 @@ +SDL Mac OS X Developer Notes: + This is an optional developer package to provide extras that an + SDL developer might benefit from. + + Make sure you have already installed the SDL.framework + from the SDL.dmg. + + For more complete documentation, please see READMEs included + with the SDL source code. Also, don't forget about the API + documentation (also included with this package). + + +This package contains: +- SDL API Documentation +- A variety of SDLMain and .Nib files to choose from +- Xcode project templates + + +SDL API Documentation: + We include both the HTML documentation and the man files. + And new to 1.2.14, we introduce an Xocde DocSet which + is generated via Doxygen. These require Xcode 3.0 or greater. + + You will need to drill down into the XcodeDocSet directory + from the Documentation folder and find the + org.libsdl.sdl.docset bundle. We recommend you copy this to: + + /Library/Developer/Shared/Documentation/DocSets + + Again, this follows all the standard Xcode patterns + described with the project templates (below). You may need + to create the directories if they don't already exist. + You may install it on a per-user basis. + And you may target specific versions of Xcode + in lieu of using the "Shared" directory. + + To use, it is quite simple. Just bring up the Xcode + Documentation Browser window (can be activated through + the Xcode Help Menu) and start searching for something. + + If nothing is found on a legitimate search, verify that + the SDL documentation is enabled by opening up the DocSet + popup box below the toolbar in Snow Leopard. + (In Leopard, the DocSets appear in the left-side panel.) + + Another handy trick is to use the mouse and Option-Double-Click + on a function or keyword to bring up documentation on the + selected item. Prior to Xcode 3.2 (Snow Leopard), this would + jump you to the entry in the Xcode Documentation Browser. + + However, in Xcode 3.2 (Snow Leopard), this behavior has been + altered and you are now given a hovering connected popup box + on the selected item (called Quick Help). Unfortunately, the + Doxygen generated DocSet doesn't currently provide Quick Help + information. You can either follow a link to the main + Documentation Browser from the Quick Help, or alternatively, + you can bypass Quick Help by using Command-Option-Double-Click + instead of Option-Double-Click. (Please file feedback with both + Doxygen and Apple to improve Quick Help integration.) + + + For those that want to tweak the documentation output, + you can find my Doxyfile in the XcodeDocSet directory in + the Xcode directory of the SDL source code base (and in this package). + + One of the most significant options is "Separate Member Pages" + which I disable. When disabled, the documentation is about 6MB. + When enabled, the documentation is closer to 1.6GB (yes gigabytes). + Obviously, distribution will be really hard with sizes that huge + so I disable the option. + + I also disabled Dot because there didn't seem to be + much benefit of generating graphs for public C functions. + + One thing I would like to see is a CSS file that makes the + Doxygen DocSet look more like the native Apple documentation + style. Style sheets are outside my expertise so I am asking for + contributions on this one. Meanwhile, I also request you send + feedback to Doxygen and Apple about this issue too. + + + Finally for convenience, I have added a new shell script target + to the Xcode project that builds SDL that refers to my Doxyfile + and generate the DocSet we distribute. + + +SDLMain: + We include several different variations of SDLMain and the + .Nibs. (Each of these are demonstrated by the different PB/Xcode + project templates.) You get to pick which one you want to use, + or you can write your own to meet your own specific needs. We do + not currently provide a libSDLMain.a. You can build it yourself + once you decide which one you want to use though it is easier and + recommended in the SDL FAQ that you just copy the SDLMain.h and + SDLMain.m directly into your project. If you are puzzled by this, + we strongly recommend you look at the different PB/Xcode project + templates to understand their uses and differences. (See Project + Template info below.) Note that the "Nibless" version is the same + version of SDLMain we include the the devel-lite section of the + main SDL.dmg. + + +Xocde Project Templates: + For convenience, we provide Project Templates for Xcode. + Using Xcode is *not* a requirement for using + the SDL.framework. However, for newbies, we do recommend trying + out the Xcode templates first (and work your way back to raw gcc + if you desire), as the Xcode templates try to setup everything + for you in a working state. This avoids the need to ask those + many reoccuring questions that appear on the mailing list + or the SDL FAQ. + + + We have provided 3 different kinds of SDL templates for Xcode and have + a different set of templates for each version of Xcode (which generally + correspond with a particular Mac OS X version). + The installion directory depends on which version of Xcode you have. + (Note: These directories may not already exist on your system so you must create them yourself.) + + For Leopard and Snow Leopard (Xcode 2.5, 3+), we recommend you install to: + /Library/Application Support/Developer/Shared/Xcode/Project Templates/Application + + For Xcode 1.0 to 2.4, + /Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation + + + Also note you may place it in per-user locations, e.g. + ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application + + + And for advanced users who have multiple versions of Xcode installed on a single system, + you may put each set in a directory with the Xcode version number instead of using "Shared", e.g. + /Library/Application Support/Developer/2.5/Xcode/Project Templates/Application + /Library/Application Support/Developer/3.1/Xcode/Project Templates/Application + /Library/Application Support/Developer/3.2/Xcode/Project Templates/Application + + + Copy each of the SDL/Xcode template directories into the correct location (e.g. "SDL OpenGL Application"). + Do not copy our enclosing folder into the location (e.g. TemplatesForXcodeSnowLeopard). + So for example, in: + /Library/Application Support/Developer/Shared/Xcode/Project Templates/Application + you should have the 3 folders: + SDL Application + SDL Cocoa Application + SDL OpenGL Application + + + After doing this, when doing a File->New Project, you will see the + projects under the Application category. + (Newer versions of Xcode have a separate section for User Templates and it will + appear in the Application category of the User Templates section.) + + + + How to create a new SDL project: + + 1. Open Xcode + 2. Select File->New Project + 3. Select SDL Application + 4. Name, Save, and Finish + 5. Add your sources. + *6. That's it! + + * If you installed the SDL.framework to $(HOME)/Library/Frameworks + instead of /Library/Frameworks, you will need to update the + location of the SDL.framework in the "Groups & Files" browser. + + + The project templates we provide are: + - SDL Application + This is the barebones, most basic version. There is no + customized .Nib file. While still utilizing Cocoa under + the hood, this version may be best suited for fullscreen + applications. + + - SDL Cocoa Application + This demonstrates the integration of using native + Cocoa Menus with an SDL Application. For applications + designed to run in Windowed mode, Mac users may appreciate + having access to standard menus for things + like Preferences and Quiting (among other things). + + - SDL OpenGL Application + This reuses the same SDLMain from the "SDL Application" + temmplate, but also demonstrates how to + bring OpenGL into the mix. + + +Special Notes: +Only the 10.6 Snow Leopard templates (and later) will include 64-bit in the Universal Binary as +prior versions of OS X lacked the API support SDL requires for 64-bit to work correctly. +To prevent 64-bit SDL executables from being launched on 10.5 Leopard, a special key has been set +in the Info.plist in our Snow Leopard SDL/Xcode templates. + + +Xcode Tips and Tricks: + +- Building from command line + Use the command line tool: xcodebuild (see man page) + +- Running your app + You can send command line args to your app by either + invoking it from the command line (in *.app/Contents/MacOS) + or by entering them in the "Executables" panel of the target + settings. + +- Working directory + As defined in the SDLMain.m file, the working directory of + your SDL app is by default set to its parent. You may wish to + change this to better suit your needs. + + + +Additional References: + + - Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are + available at: + http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips + Though these are OpenSceneGraph centric, the same exact concepts apply to + SDL, thus the videos are recommended for everybody getting started with + developing on Mac OS X. (You can skim over the PlugIns stuff since SDL + doesn't have any PlugIns to worry about.) + + +Partial History: +2009-09-21 - CustomView template project was removed because it was broken by + the removal of legacy Quicktime support while moving to 64-bit. + ProjectBuilder templates were removed. + Tiger, Leopard, and Snow Leopard Xcode templates were introduced instead of + using a single common template due to the differences between the 3. + (Tiger used a chevron marker for substitution while Leopard/Snow Leopard use ___ + and we need the 10.6 SDK for 64-bit.) + +2007-12-30 - Updated documentation to reflect new template paths in Leopard + Xcode. Added reference to OSG screencasts. + +2006-03-17 - Changed the package format from a .pkg based + installer to a .dmg to avoid requiring administrator/root + to access contents, for better transparency, and to allow + users to more easily control which components + they actually want to install. + Introduced and updated documentation. + Created brand new Xcode project templates for Xcode 2.1 + based on the old Project Builder templates as they + required Xcode users to "Upgrade to Native Target". The new + templates try to leveage more default options and leverage + more Xcode conventions. The major change that may introduce + some breakage is that I now link to the SDL framework + via the "Group & Files" browser instead of using build + options. The downside to this is that if the user + installs the SDL.framework to a place other than + /Library/Frameworks (e.g. $(HOME)/Library/Frameworks), + the framework will not be found to link to and the user + has to manually fix this. But the upshot is (in addition to + being visually displayed in the forefront) is that it is + really easy to copy (embed) the framework automatically + into the .app bundle on build. So I have added this + feature, which makes the application potentially + drag-and-droppable ready. The Project Builder templates + are mostly unchanged due to the fact that I don't have + Project Builder. I did rename a file extension to .pbxproj + for the SDL Custom Cocoa Application template because + the .pbx extension would not load in my version of Xcode. + For both Project Builder and Xcode templates, I resync'd + the SDLMain.* files for the SDL App and OpenGL App + templates. I think people forget that we have 2 other + SDLMain's (and .Nib's) and somebody needs to go + through them and merge the new changes into those. + I also wrote a fix for the SDL Custom Cocoa App + template in MyController.m. The sprite loading code + needed to be able to find the icon.bmp in the .app + bundle's Resources folder. This change was needed to get + the app to run out of the box. This might change is untested + with Project Builder though and might break it. + There also seemed to be some corruption in the .nib itself. + Merely opening it and saving (allowing IB to correct the + .nib) seemed to correct things. + (Eric Wing) + + + + diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL-devel.info b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL-devel.info new file mode 100755 index 0000000..698f1d6 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL-devel.info @@ -0,0 +1,15 @@ +Title SDL 1.2.9 +Version 1 +Description SDL Library for Mac OS X (http://www.libsdl.org) +DefaultLocation /Developer/Documentation/SDL +Diskname (null) +DeleteWarning +NeedsAuthorization YES +DisableStop NO +UseUserMask YES +Application NO +Relocatable NO +Required NO +InstallOnly NO +RequiresReboot NO +InstallFat NO diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL.info b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL.info new file mode 100755 index 0000000..ca37a7f --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/SDL.info @@ -0,0 +1,15 @@ +Title SDL 1.2.8 +Version 1 +Description SDL Library for Mac OS X (http://www.libsdl.org) +DefaultLocation /Library/Frameworks +Diskname (null) +DeleteWarning +NeedsAuthorization NO +DisableStop NO +UseUserMask NO +Application NO +Relocatable YES +Required NO +InstallOnly NO +RequiresReboot NO +InstallFat NO diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/ReadMe.txt b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/ReadMe.txt new file mode 100755 index 0000000..f4fe361 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/ReadMe.txt @@ -0,0 +1,5 @@ +The Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators. + +The Simple DirectMedia Layer library source code is available from: http://www.libsdl.org/ + +This library is distributed under the terms of the GNU LGPL license: http://www.gnu.org/copyleft/lesser.html \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/Welcome.txt b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/Welcome.txt new file mode 100755 index 0000000..9b0d286 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/Welcome.txt @@ -0,0 +1,5 @@ +This package installs documentation and Project Builder stationary for the SDL framework. + +The SDL documentation is installed into /Developer/Documentation/SDL. + +The SDL Mac OS X Readme is installed into your home directory. diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/install.sh b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/install.sh new file mode 100755 index 0000000..e7a4ded --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/devel-resources/install.sh @@ -0,0 +1,76 @@ +#!/bin/sh +# finish up the installation +# this script should be executed using the sudo command +# this file is copied to SDL-devel.post_install and SDL-devel.post_upgrade +# inside the .pkg bundle +echo "Running post-install script" +umask 022 + +USER=`basename ~` +echo "User is \"$USER\"" + +ROOT=/Developer/Documentation/SDL +echo "Fixing framework permissions" +find $ROOT -type d -exec chmod a+rx {} \; +find $ROOT -type f -exec chmod a+r {} \; + +## We're not installing frameworks here anymore. The single +## framework should be installed to /Library/Frameworks which +## is handled by the standard package (not developer package). +## Using the home directory here is problematic for multi-user systems too. +# echo "Moving SDL.framework to ~/Library/Frameworks" +# move SDL to its proper home, so the target stationary works +#sudo -u $USER mkdir -p ~/Library/Frameworks +#sudo -u $USER /Developer/Tools/CpMac -r $ROOT/SDL.framework ~/Library/Frameworks + +## I'm not sure where this gets created and what's put in there. +rm -rf $ROOT/SDL.framework + +## I think precompiled headers have changed through the revisions of Apple's gcc. +## I don't know how useful this is anymore w.r.t. Apple's newest system for precompiled headers. +## I'm removing this for now. +# echo "Precompiling Header" +# precompile header for speedier compiles +#sudo -u $USER /usr/bin/cc -precomp ~/Library/Frameworks/SDL.framework/Headers/SDL.h -o ~/Library/Frameworks/SDL.framework/Headers/SDL.p + +# find the directory to store stationary in +if [ -e "/Library/Application Support/Apple/Developer Tools" ] ; then + echo "Installing project stationary for XCode" + PBXDIR="/Library/Application Support/Apple/Developer Tools" +else + echo "Installing project stationary for Project Builder" + PBXDIR="/Developer/ProjectBuilder Extras" +fi + +# move stationary to its proper home +mkdir -p "$PBXDIR/Project Templates/Application" +mkdir -p "$PBXDIR/Target Templates/SDL" + +cp -r "$ROOT/Project Stationary/SDL Application" "$PBXDIR/Project Templates/Application/" +cp -r "$ROOT/Project Stationary/SDL Cocoa Application" "$PBXDIR/Project Templates/Application/" +cp -r "$ROOT/Project Stationary/SDL Custom Cocoa Application" "$PBXDIR/Project Templates/Application/" +cp -r "$ROOT/Project Stationary/SDL OpenGL Application" "$PBXDIR/Project Templates/Application/" +cp "$ROOT/Project Stationary/Application.trgttmpl" "$PBXDIR/Target Templates/SDL/" + +rm -rf "$ROOT/Project Stationary" + +# Actually, man doesn't check this directory by default, so this isn't +# very helpful anymore. +#echo "Installing Man Pages" +## remove old man pages +#rm -rf "/Developer/Documentation/ManPages/man3/SDL"* +# +## install man pages +#mkdir -p "/Developer/Documentation/ManPages/man3" +#cp "$ROOT/docs/man3/SDL"* "/Developer/Documentation/ManPages/man3/" +#rm -rf "$ROOT/docs/man3" +# +#echo "Rebuilding Apropos Database" +## rebuild apropos database +#/usr/libexec/makewhatis + +# copy README file to your home directory +sudo -u $USER cp "$ROOT/Readme SDL Developer.txt" ~/ + +# open up the README file +sudo -u $USER open ~/"Readme SDL Developer.txt" diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/License.rtf b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/License.rtf new file mode 100755 index 0000000..706980d --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/License.rtf @@ -0,0 +1,283 @@ +{\rtf1\mac\ansicpg10000\cocoartf102 +{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 Helvetica-Oblique; +} +{\colortbl;\red255\green255\blue255;\red64\green64\blue64;} +\paperw11900\paperh16840\margl1440\margr1440\vieww9080\viewh13160\viewkind0 +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f0\b\fs36 \cf0 GNU LESSER GENERAL PUBLIC LICENSE +\fs24 \ +Version 2.1, February 1999 +\f1\b0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f2\i \cf0 Copyright (C) 1991, 1999 Free Software Foundation, Inc.\ + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\ + Everyone is permitted to copy and distribute verbatim copies\ + of this license document, but changing it is not allowed.\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f1\i0 \cf0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf2 [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]\cf0 \ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f0\b \cf0 Preamble +\f1\b0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.\ +\ +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.\ +\ +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.\ +\ +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.\ +\ +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.\ +\ +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.\ +\ +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.\ +\ +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.\ +\ +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We this license for certain libraries in order to permit linking those libraries into non-free programs.\ +\ +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.\ +\ +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.\ +\ +For example, on rare occasions, there may be a special need to encourage widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.\ +\ +Another cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.\ +\ +Although the Lesser General Public License is Less protective of the users' freedom, it does insure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.\ +\ +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.\ +\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f0\b \cf0 GNU LESSER GENERAL PUBLIC LICENSE\ +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f1\b0 \cf0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f0\b \cf0 0. +\f1\b0 This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".\ +\ +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.\ +\ +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)\ +\ +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.\ +\ +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.\ + \ + +\f0\b 1. +\f1\b0 You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.\ +\ +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.\ +\ + +\f0\b 2. +\f1\b0 You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\li240\ql\qnatural + +\f0\b \cf0 a) +\f1\b0 The modified work must itself be a software library.\ +\ + +\f0\b b) +\f1\b0 You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.\ +\ + +\f0\b c) +\f1\b0 You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.\ +\ + +\f0\b d) +\f1\b0 If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.\ +\ +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.\ +\ +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.\ +\ +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f0\b \cf0 3. +\f1\b0 You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.\ +\ +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.\ +\ +This option is useful when you wish to copy part of the code of the Library into a program that is not a library.\ +\ + +\f0\b 4. +\f1\b0 You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.\ +\ +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.\ +\ + +\f0\b 5. +\f1\b0 A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.\ +\ +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.\ +\ +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.\ +\ +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)\ +\ +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.\ +\ + +\f0\b 6. +\f1\b0 As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.\ +\ +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\li240\ql\qnatural + +\f0\b \cf0 a) +\f1\b0 Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)\ +\ + +\f0\b b) +\f1\b0 Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.\ +\ + +\f0\b c) +\f1\b0 Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.\ +\ + +\f0\b d) +\f1\b0 If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.\ +\ + +\f0\b e) +\f1\b0 Verify that the user has already received a copy of these materials or that you have already sent this user a copy.\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.\ +\ +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f0\b \cf0 7. +\f1\b0 You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\li240\ql\qnatural + +\f0\b \cf0 a) +\f1\b0 Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.\ +\ + +\f0\b b) +\f1\b0 Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f0\b \cf0 8. +\f1\b0 You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.\ +\ + +\f0\b 9. +\f1\b0 You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.\ +\ + +\f0\b 10. +\f1\b0 Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.\ +\ + +\f0\b 11. +\f1\b0 If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.\ +\ +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.\ +\ +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.\ +\ +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.\ +\ + +\f0\b 12. +\f1\b0 If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.\ +\ + +\f0\b 13. +\f1\b0 The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\ +\ +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.\ +\ + +\f0\b 14. +\f1\b0 If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f0\b \cf0 NO WARRANTY +\f1\b0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural + +\f0\b \cf0 15. +\f1\b0 BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\ +\ + +\f0\b 16. +\f1\b0 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\qc + +\f0\b \cf0 END OF TERMS AND CONDITIONS +\f1\b0 \ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +\ +How to Apply These Terms to Your New Libraries\ +\ +If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License).\ +\ +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.\ +\ +\pard\tx220\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\li240\ql\qnatural +\cf0 \ +Copyright (C) \ +\ +This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\ +\ +This library 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 Lesser General Public License for more details.\ +\ +You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +Also add information on how to contact you by electronic and paper mail.\ +\ +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names:\ +\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\li240\ql\qnatural +\cf0 Yoyodyne, Inc., hereby disclaims all copyright interest in the library\ +`Frob' (a library for tweaking knobs) written by James Random Hacker.\ +\ +, 1 April 1990\ +Ty Coon, President of Vice\ +\pard\tx565\tx1133\tx1700\tx2266\tx2832\tx3401\tx3967\tx4535\tx5102\tx5669\tx6235\tx6802\ql\qnatural +\cf0 \ +That's all there is to it!\ +\ +} \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMe.txt b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMe.txt new file mode 100755 index 0000000..0731150 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMe.txt @@ -0,0 +1,171 @@ +The Simple DirectMedia Layer (SDL for short) is a cross-platform +library designed to make it easy to write multi-media software, +such as games and emulators. + +The Simple DirectMedia Layer library source code is available from: +http://www.libsdl.org/ + +This library is distributed under the terms of the GNU LGPL license: +http://www.gnu.org/copyleft/lesser.html + + +This packages contains the SDL.framework for OS X. +Conforming with Apple guidelines, this framework +contains both the SDL runtime component and development header files. + + +To Install: +Copy the SDL.framework to /Library/Frameworks + +You may alternatively install it in /Library/Frameworks +if your access privileges are not high enough. +(Be aware that the Xcode templates we provide in the SDL Developer Extras +package may require some adjustment for your system if you do this.) + + +Known Issues: +??? + + +Additional References: + + - Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are + available at: + http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips + Though these are OpenSceneGraph centric, the same exact concepts apply to + SDL, thus the videos are recommended for everybody getting started with + developing on Mac OS X. (You can skim over the PlugIns stuff since SDL + doesn't have any PlugIns to worry about.) + + + +(Partial) History of PB/Xcode projects: +2009-09-21 - Added 64-bit for Snow Leopard. 10.4 is the new minimum requirement. + Removed 'no X11' targets as + new codebase will assume you have them. Also removed specific #defines + for X11, but needed to add search path to /usr/X11R6/include + +2007-12-31 - Enabled strip -x in the Xcode settings and removed it + from the Build DMG script. + Added a per-arch setting for the Deployment targets for OTHER_LDFLAGS_ppc + to re-enable prebinding. + Need to remember to copy these changes to the SDL satellite projects. + +2007-12-30 - Updated documentation to reflect new installation paths for + Xcode project templates under Leopard (Xcode 2.5/3.0). + +????-??-?? - Added extra targets for building formal releases against the + 10.2 SDK so we don't have to keep modifying the settings. + +????-??-?? - Added fancy DMG (background logo) support with automation. + +2006-05-09 - Added shell script phase to deal with new SDL_config.h + behavior. Encountered what seems to be an Xcode bug with + multiple files of the same name, even when conditional compiling + is controlled by custom #defines (SDL_sysloadso.c). Multiple or + undefined symbols are the result of this. + Recommended that macosx/SDL_sysloadso.c be modified to directly + include the dlopen version of the file via #ifdef's so only + one version needs to exist. Filed a formal bug report with Apple + about this (4542369). + +2006-03-22 - gcc 4 visibility features have been added to the code base so I + enabled the switch in Xcode to take advantage of it. Be aware that only + our x86 builds will be exposed to this feature as we still build ppc + with gcc 3.3. + + Christian Walther has sent me some great feedback on things that are + broken, so I have made some of these fixes. Among the issues are + compatibility and current library versions are not set to 1 (breaks + backwards compatibility), documentation errors, resource copying + location problems for the SDLTest apps, missing HAVE_OPENGL and + OpenGL.framework linking in testgl. + (Eric Wing) + +2006-03-17 - Because the X11 headers are not installed by default with Xcode, + we decided to offer two variants of the same targets (one with X11 stuff + and one without). By default, since the X11 stuff does not necessarily + conflict with the native stuff, we build the libraries with the X11 stuff + so advanced developers can access it by default. However, in the case + that a developer did not install X11 (or just doesn't want the extra bloat), + the user may directly select those targets and build those instead. + + Once again, we are attempting to remove the exported symbols file. If + I recall correctly, the clashing symbol problems we got were related + to the CD-ROM code which was formerly in C++. Now that the C++ code + has been purged, we are speculating that we might be able to remove + the exports file safely. The long term solution is to utilize gcc 4's + visibility features. + + For the developer extras package, I changed the package format + from a .pkg based installer to a .dmg to avoid requiring + administrator/root to access contents, for better + transparency, and to allow users to more easily control which components + they actually want to install. + I also made changes and updates to the PB/Xcode project templates (see Developer ReadMe). + (Eric Wing) + +2006-03-07 - The entire code base has been reorganized and platform specific + defines have been pushed into header files (SDL_config_*.h). This means + that defines that previously had to be defined in the Xcode projects can + be removed (which I have started doing). Furthermore, it appears that the + MMX/SSE code has been rewritten and refactored so it now compiles without + nasm and without making us do strange things to support OS X. However, this + Xcode project still employs architecture specific build options in order to + achieve the mandated 10.2 compatibility. As a result of the code base changes, + there are new public headers. But also as a result of these changes, there are + also new headers that qualify as "PrivateHeaders". Private Headers are headers + that must be exported because a public header includes them, but users shouldn't + directly invoke these. SDL_config_macosx.h and SDL_config_dreamcast.h are + examples of this. We have considered marking these headers as Private, but it + requires that the public headers invoke them via framework conventions, i.e. + #include + e.g. + #include + and not + #include "SDL_config_macosx.h" + However this imposes the restriction that non-framework distributions must + place their headers in a directory called SDL/ (and not SDL11/ like FreeBSD). + Currently, I do not believe this would pose a problem for any of the current + distributions (Fink, DarwinPorts). Or alternatively, users could be + expected/forced to also include the header path: + -I/Library/Frameworks/SDL.framework/PrivateHeaders, + but most people would probably not read the documentation on this. + But currently, we have decided to be conservative and have opted not to + use the PrivateHeaders feature. + (Eric Wing) + +2006-01-31 - Updates to build Universal Binaries while retaining 10.2 compatibility. + We were unable to get MMX/SSE support enabled. It is believed that a rewrite of + the assembly code will be necessary to make it position independent and not + require nasm. Altivec has finally been enabled for PPC. (Eric Wing) + +2005-09-?? - Had to add back the exports file because it was causing build problems + for some cases. (Eric Wing) + +2005-08-21 - First entry in history. Updated for SDL 1.2.9 and Xcode 2.1. Getting + ready for Universal Binaries. Removed the .pkg system for .dmg for due to problems + with broken packages in the past several SDL point releases. Removed usage of SDL + exports file because it has become another point of failure. Introduced new documentation + about SDLMain and how to compile in an devel-lite section of the SDL.dmg. (Eric Wing) + +Before history: +SDL 1.2.6? to 1.2.8 +Started updating Project Builder projects to Xcode for Panther and Tiger. Also removed +the system that split the single framework into separate runtime and headers frameworks. +This is against Apple conventions and causes problems on multiuser systems. +We now distribute a single framework. +The .pkg system has repeatedly been broken with every new release of OS X. +With 1.2.8, started migrating stuff to .dmg based system to simplify distribution process. +Tried updating the exports file and Perl script generation system for changing syntax. (Eric Wing) + +Pre-SDL 1.2.6 +Created Project Builder projects for SDL and .pkg based distribution system. (Darrell Walisser) + + + + + + + + diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt new file mode 100644 index 0000000..d2cd793 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt @@ -0,0 +1,12 @@ +This directory is for developers. This directory contains some basic essentials you will need for developing SDL based applications on OS X. The SDL-devel package contains all of this stuff plus more, so you can ignore this if you install the SDL-devel.pkg. The SDL-devel package contains Xcode templates, SDL documentation, and different variations of SDLmain and NIB files for SDL. + +To compile an SDL based application on OS X, SDLMain.m must be compiled into your program. (See the SDL FAQ). The SDL-devel.pkg includes Xcode templates which already do this for you. But for those who may not want to install the dev package, an SDLMain is provided here as a convenience. Be aware that there are different variations of SDLMain.m depending on what class of SDL application you make and they are intended to work with NIB files. Only one SDLMain variant is provided here and without any NIB files. You should look to the SDL-devel package for the others. We currently do not provide a SDLMain.a file, partly to call to attention that there are different variations of SDLmain. + +To build from the command line, your gcc line will look something like this: + +gcc -I/Library/Frameworks/SDL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa + +An SDL/OpenGL based application might look like: + +gcc -I/Library/Frameworks/SDL.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa -framework OpenGL + diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/SDL_DS_Store b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/SDL_DS_Store new file mode 100644 index 0000000..f15a5e7 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/SDL_DS_Store differ diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/UniversalBinaryNotes.rtf b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/UniversalBinaryNotes.rtf new file mode 100644 index 0000000..5585ecb --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/resources/UniversalBinaryNotes.rtf @@ -0,0 +1,150 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf110 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 LucidaGrande;\f2\fmodern\fcharset0 Courier-Oblique; +} +{\colortbl;\red255\green255\blue255;} +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural + +\f0\b\fs24 \cf0 64-bit Universal Binary Notes:\ + +\b0 \ +SDL 1.2.14 is our first release with Snow Leopard on the market. In order to make SDL compile and run in 64-bit, we had to remove code that depended on deprecated Mac APIs and move over to more modern Mac APIs.\ +\ +In addition, Apple has stopped shipping gcc 3.3 and the 10.3 SDK.\ +\ +Because of all these combined factors, we have made the decision to make Mac OS X 10.4 the new minimum requirement for SDL.\ +\ +Our official SDL.framework is compiled as a 3-way Universal Binary (64-bit Intel, 32-bit Intel, 32-bit PowerPC.)\ +\ +Certain APIs that SDL relies on were not made 64-bit ready by Apple until 10.6. This means even though 10.5 had preliminary 64-bit support, SDL will not compile or run correctly in 64-bit mode on 10.5. So there are two fallout items from this.\ +\ +First, you can only compile 64-bit code on Snow Leopard or greater (which removes the possibility of 64-bit PowerPC). \ +\ +Second, this presents a corner-case where if you have a 64-bit Intel executable in your Universal binary and try to run on 10.5 on an 64-bit Intel Mac, it will launch and crash. To force 10.5 to use the 32-bit version instead of the 64-bit, you should set the LaunchServices key, LSMinimumSystemVersionByArchitecture, in your application's Info.plist. Our SDL/Xcode templates for Snow Leopard already set this up for you.\ +\ +\ +One additional fallout item is we had to remove the SDL Custom Cocoa Xcode template project. It depended on NSQuickTimeView which was deprecated and removed from the SDL codebase. It may still be possible to recreate the behavior that this template demonstrated, but we would need a volunteer to investigate this.\ +\ +\ +\ +In addition, the SDL satellite projects were affected by the 64-bit transition.\ +\ +- SDL_mixer depended on legacy Quicktime for midi playback support. We had to disable midi. (Recall that we also disabled MP3 support awhile back because we never got SMPEG working during the Tiger/Intel transition.) To fix this, we would need a native Core Audio backend for SDL_mixer.\ +\ +- Since we have changed the baseline to 10.4, we took this opportunity to switch SDL_image over to a new native ImageIO based backend. This makes the binary about 10x smaller, greatly simplifies our maintenance requirements and build process as we no longer have to maintain build systems for 3rd party dependencies, and gives us access to more image formats.\ +\ +- The static library target for SDL_ttf no longer works because we no longer have access to a libfreetype.a. We have been relying on Apple's supplied libfreetype.a, but they stopped shipping a static version starting in 10.5 which means we have no static 64-bit version. But since 10.4 is our new baseline, all these systems should have libfreetype.dylib installed, so it shouldn't be much of a problem to use SDL_ttf as a dynamic library which dynamically links to libfreetype.\ +\ +\ +-Eric Wing 2009-09-23\ + +\b \ +\ +\ +\ +Universal Binary Notes: (historical, somewhat obsolete)\ + +\b0 \ +Below is an overview of what we had to do to build Universal Binaries for SDL (and satellites). The document is provided to help others understand what the heck we had to do to get this to work so they know (and don't break) any settings we have set to accomplish this. It also describes areas of problems for those who might attempt to fix them after us.\ +\ +\ +It turns out that developing a Universal Binary for SDL was a painful process, but not for the typical reasons affecting most other developers. SDL is already platform clean and has an Xcode project which are usually the two biggest obstacles. (The only real code bug we had to fix was in SDL_mixer, but that was due to a Quicktime issue so we can blame the Quicktime authors.)\ +\ +But developing a Universal Binary was painful to us for several reasons:\ +\ +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\ql\qnatural\pardirnatural +\ls1\ilvl0\cf0 {\listtext \'95 }SDL must retain compatibility with 10.2 (Jaguar)\ +\ +{\listtext \'95 }SDL has processor specific optimizations (Altivec, MMX/SSE)\ +\ +{\listtext \'95 }The SDL satellites (SDL_mixer, SDL_image, SDL_ttf) have 3rd party dependencies which we currently statically link against. All of these dependencies needed to be updated/recompiled with the same above constraints.\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\cf0 \ +For retaining compatibility with 10.2, we have experimentally determined that there is no reliable way to use gcc 4.0.x to compile a binary that works under Jaguar. With the gcc 4.0 that shipped in Xcode 2.1, libgcc_s was automatically linked against. This library does not exist on systems prior to 10.3.9. After filing a bug report, Apple removed this automatic linking in gcc 4.0.1 which shipped with Xcode 2.2, but we discovered that we suffered from undefined symbols to things in the printf family library. (They seem to be new symbols related to printing long doubles, etc.)\ +\ +So to accomplish our compatibility goals, we had to find and exploit some lesser known features of Xcode that allow us to specify architecture specific build flags found here:\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +{\field{\*\fldinst{HYPERLINK "http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_07_bs_building_product/chapter_33_section_6.html#//apple_ref/doc/uid/TP40002693-SW3"}}{\fldrslt \cf0 http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_07_bs_building_product/chapter_33_section_6.html#//apple_ref/doc/uid/TP40002693-SW3}}\ +\ +The first and most important of these is the +\f1 GCC_VERSION flag which lets us set gcc 3.3 for PowerPC and gcc 4.0 for Intel.\ +\ +But we also needed to verify other options such as the deployment target and SDK. Experimentally, we found that the Deployment target did very little for us except retain prebinding. Setting it to anything less than 10.4 allows for prebinding to remain active.\ +\ +For the SDK's, we found that Apple does link against different versions of system components. But experimentally, we discovered we could still link to the 10.4u SDK and things would still work on Jaguar. Ideally we should probably link to the 10.2.8 SDK for PowerPC. But in reality, most people don't install the 10.2.8 SDK on their system (it is not a default component) so we didn't want to confuse people as setting this would likely cause people's compile to fail the first time they try and they would have to understand the reason for this. We did leave the architecture specific SDKROOT option set explicitly to make it easy to change in case we need to.\ +\ +For the Altivec and MMX/SSE options, we had to use architecture specific build flags. Furthermore, to use SSE, we also had to include the assembly code. This caused us problems because there is no easy way to tell Xcode to use files only for a specific architecture. So the PowerPC side got confused on the .asm files and would fail to compile. \ +\ +Pushing forward, we ignored PPC for the moment to see if we could at least build an optimized x86 build and then use lipo manually to merge the results. We encountered additional problems. First the alignment needed to be changed for reasons outside my knowledge base. We changed all instances of .align 16 to .align 8. This seemed to fix the compile problems. But at the linking stage, we got errors such as:\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\li640\fi-640\ql\qnatural\pardirnatural + +\f2\i\fs22 \cf0 ld: /Users/ewing/DEVELOPMENT/CODETEST/UniversalBinarySDL/SDL12/Xcode/SDL/build/SDL.build/Deployment/Framework.build/Objects-normal/i386/SDL_yuv_mmx.o has local relocation entries in non-writable section (__TEXT,__text)\ +/usr/bin/libtool: internal link edit command failed\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\f1\i0\fs24 \cf0 \ +Our belief is that the assembly code is not position independent and thus will not work for us. We double checked for any OS X gcc flags that control position independence, but everything seemed to be in order. As such, we cannot compile MMX/SSE optimizations until they are rewritten, preferably without the nasm requirement to accommodate the dual PPC/x86 Xcode limitations.\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\cf0 \ +So for now, we have unchecked (checkbox) the assembly specific files in the Xcode project and have removed the -DUSE_ASMBLIT flag from OTHER_CFLAGS_i386. To reactivate this stuff, you will need to recheck the boxes and re-add the flag.\ +\ +The files are\ +SDL_mixer_MMX.c/h\ +The files under hermes\ +and SDL_yuv_mmx.c\ +\ +\ +\ +For the SDL satellites, it was more of the same. The painful part was that the 3rd library dependencies needed to be rebuilt. (Some of our libraries were out of date, so this was an opportunity to update them.) But this meant changing those build systems as well. \ +\ +These are the versions I used:\ +libpng-1.2.8\ +libjpeg-6b\ +libogg-1.1.3\ +libvorbis-1.1.2\ +smpeg cvs\ +\ +We found that Apple already had a libfreetype in the 10.4u SDK so we just used that one which seemed to work. (For the record, the question did come up of why we statically link against this when it seems to be a standard component on Panther and Tiger. We double checked, and it did not seem to be in Jaguar. So that's why.)\ +\ +The old libpng turned out to be from the 1.0.x branch so we needed to replace all the headers we had as well. Updating to the 1.2.x branch didn't seem to cause any problems we could detect.\ +\ +libpng and libjpeg lack an Xcode project so we mucked with their build system to produce Universal Binaries. But since we needed PPC to be compiled with 3.3 and Intel to be compiled with 4.0, it ended up that we built multiple times changing the compiler, and then using lipo to strip and combine the binaries.\ +\ +libogg/libvorbis did contain Xcode projects, but didn't build static libraries so we had to add that. We also discovered that not building with gcc 3.3 caused us addition missing symbol runtime problems with float versions of math functions (sinf, sqrtf, etc).\ +\ +It seems that once upon a time, the SDL_mixer framework supported MP3's via SMPEG, but this disappeared at some point. I don't know why or how this happened. But I also don't know how SMPEG was ever used with the framework as there was no preexisting infrastructure as with the other libraries. So I have attempted to correct this oversight, however, the SMPEG framework itself has MMX code which has also turned out to be problematic. I am getting compiler errors of " +\f2\i\fs22 Unknown pseudo-op:" +\f1\i0\fs24 for +\f2\i\fs22 .type +\f1\i0\fs24 and +\f2\i\fs22 .size. +\f1\i0\fs24 \ +So SMPEG is currently compiled without MMX optimizations.\ +\ +\ +\ +\ +Addendum: \ +2006-03-06:\ +The main SDL code base (not the satellites) have undergone an overhaul. The required platform specific defines have been moved out of the build system into platform specific header files (SDL_config_*.h). This allows us to simplify the Xcode projects somewhat, but we still must maintain the architecture specific build options to invoke gcc 3.3 to maintain our mandated 10.2 compatibilty requirement.\ +\ +Also it appears that the MMX/SSE code has been rewritten as well so that the obstacles we faced in compiling in these optimizations are no longer problems. The binaries we produce should now contain the processor specific optimizations. (Remember this note only applies to SDL and not the satellites, such as SMPEG.)\ +\ +\ +\ +Contributers:\ +Eric Wing (Xcode projects, 3rd party dependencies, documentation)\ +Christian Walther (10.2.8 and 10.3.9 testing/verification)\ +Ryan Gordon (converted C++ code in SDL/OSX code base to pure C)\ +Martin Storsj\'f6 (libgcc_s testing/verification)\ +Stephane Marchesin (MMX/SSE code expert)\ +\ +\ +\ +\ +\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural + +\f0 \cf0 \ +} \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/sdl_logo.pdf b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/sdl_logo.pdf new file mode 100644 index 0000000..a172f97 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/SDL/pkg-support/sdl_logo.pdf differ diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-checkkeys__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-checkkeys__Upgraded_.plist new file mode 100644 index 0000000..69321e3 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-checkkeys__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + checkkeys + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-graywin__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-graywin__Upgraded_.plist new file mode 100644 index 0000000..0a9c04b --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-graywin__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + graywin + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-loopwave__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-loopwave__Upgraded_.plist new file mode 100644 index 0000000..5f66864 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-loopwave__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + loopwave + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-test.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-test.plist new file mode 100644 index 0000000..60d5db5 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-test.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testalpha + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testalpha__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testalpha__Upgraded_.plist new file mode 100644 index 0000000..60d5db5 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testalpha__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testalpha + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testbitmap__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testbitmap__Upgraded_.plist new file mode 100644 index 0000000..87ec271 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testbitmap__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testbitmap + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testblitspeed.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testblitspeed.plist new file mode 100644 index 0000000..c7fbcfe --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testblitspeed.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testblitspeed + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testcdrom__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testcdrom__Upgraded_.plist new file mode 100644 index 0000000..dde6614 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testcdrom__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testcdrom + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testdyngl.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testdyngl.plist new file mode 100644 index 0000000..1874119 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testdyngl.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testdyngl + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testerror__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testerror__Upgraded_.plist new file mode 100644 index 0000000..11cc0fd --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testerror__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testerror + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testfile.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testfile.plist new file mode 100644 index 0000000..6488b54 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testfile.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testfile + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgamma__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgamma__Upgraded_.plist new file mode 100644 index 0000000..6a6b5af --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgamma__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testgamma + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgl__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgl__Upgraded_.plist new file mode 100644 index 0000000..eecc9cc --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testgl__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testgl + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testiconv.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testiconv.plist new file mode 100644 index 0000000..0ff003f --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testiconv.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testiconv + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testjoystick__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testjoystick__Upgraded_.plist new file mode 100644 index 0000000..ef2e274 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testjoystick__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testjoystick + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testkeys__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testkeys__Upgraded_.plist new file mode 100644 index 0000000..03eba70 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testkeys__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testkeys + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testlock__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testlock__Upgraded_.plist new file mode 100644 index 0000000..50b71f2 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testlock__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testlock + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay2.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay2.plist new file mode 100644 index 0000000..664e0ce --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay2.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testoverlay2 + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay__Upgraded_.plist new file mode 100644 index 0000000..a7a8a77 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testoverlay__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testpalette__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testpalette__Upgraded_.plist new file mode 100644 index 0000000..a08947e --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testpalette__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testpalette + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testplatform.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testplatform.plist new file mode 100644 index 0000000..9b60de2 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testplatform.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testplatform + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsem__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsem__Upgraded_.plist new file mode 100644 index 0000000..69235fe --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsem__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testsem + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsprite__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsprite__Upgraded_.plist new file mode 100644 index 0000000..91739c1 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testsprite__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testsprite + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testthread__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testthread__Upgraded_.plist new file mode 100644 index 0000000..30147f0 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testthread__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testthread + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtimer__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtimer__Upgraded_.plist new file mode 100644 index 0000000..a143244 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtimer__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testtimer + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtypes__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtypes__Upgraded_.plist new file mode 100644 index 0000000..f16490c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testtypes__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testtypes + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testversion__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testversion__Upgraded_.plist new file mode 100644 index 0000000..ba635f7 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testversion__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testversion + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testvidinfo__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testvidinfo__Upgraded_.plist new file mode 100644 index 0000000..35f13b4 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testvidinfo__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testvidinfo + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwin__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwin__Upgraded_.plist new file mode 100644 index 0000000..f0e91c6 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwin__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testwin + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwm__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwm__Upgraded_.plist new file mode 100644 index 0000000..9979ee4 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-testwm__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + testwm + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-threadwin__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-threadwin__Upgraded_.plist new file mode 100644 index 0000000..721763d --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-threadwin__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + threadwin + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/Info-torturethread__Upgraded_.plist b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-torturethread__Upgraded_.plist new file mode 100644 index 0000000..3433469 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/Info-torturethread__Upgraded_.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + torturethread + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSMainNibFile + SDLMain.nib + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj new file mode 100755 index 0000000..938d60f --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj @@ -0,0 +1,4514 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXAggregateTarget section */ + BEC566920761D90300A33029 /* All */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 001B599808BDB826006539E9 /* Build configuration list for PBXAggregateTarget "All" */; + buildPhases = ( + ); + dependencies = ( + 003FA6A809400236000C53B3 /* PBXTargetDependency */, + BEC568010761D90600A33029 /* PBXTargetDependency */, + BEC568030761D90600A33029 /* PBXTargetDependency */, + BEC568050761D90600A33029 /* PBXTargetDependency */, + BEC568070761D90600A33029 /* PBXTargetDependency */, + BEC568090761D90600A33029 /* PBXTargetDependency */, + 002F347909CA215600EBEB88 /* PBXTargetDependency */, + BEC5680B0761D90600A33029 /* PBXTargetDependency */, + 002F347B09CA215600EBEB88 /* PBXTargetDependency */, + BEC5680D0761D90600A33029 /* PBXTargetDependency */, + 002F347D09CA215600EBEB88 /* PBXTargetDependency */, + BEC5680F0761D90600A33029 /* PBXTargetDependency */, + BEC568110761D90600A33029 /* PBXTargetDependency */, + 002F347F09CA215600EBEB88 /* PBXTargetDependency */, + BEC568150761D90600A33029 /* PBXTargetDependency */, + BEC568170761D90600A33029 /* PBXTargetDependency */, + BEC568190761D90600A33029 /* PBXTargetDependency */, + 002F348109CA215600EBEB88 /* PBXTargetDependency */, + 002F348309CA215600EBEB88 /* PBXTargetDependency */, + BEC5681B0761D90600A33029 /* PBXTargetDependency */, + 002F348509CA215600EBEB88 /* PBXTargetDependency */, + BEC5681D0761D90600A33029 /* PBXTargetDependency */, + BEC5681F0761D90600A33029 /* PBXTargetDependency */, + BEC568130761D90600A33029 /* PBXTargetDependency */, + BEC568210761D90600A33029 /* PBXTargetDependency */, + BEC568250761D90600A33029 /* PBXTargetDependency */, + BEC568270761D90600A33029 /* PBXTargetDependency */, + BEC568290761D90600A33029 /* PBXTargetDependency */, + BEC5682B0761D90600A33029 /* PBXTargetDependency */, + BEC5682D0761D90600A33029 /* PBXTargetDependency */, + BEC5682F0761D90600A33029 /* PBXTargetDependency */, + ); + name = All; + productName = "Build All"; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 002F337509CA14F900EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F337909CA14F900EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F337A09CA14F900EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F338B09CA16BF00EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F338F09CA16BF00EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F339009CA16BF00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F339B09CA17BC00EBEB88 /* testblitspeed.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F339A09CA17BC00EBEB88 /* testblitspeed.c */; }; + 002F33A809CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33A909CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AA09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AB09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AC09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AD09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AE09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33AF09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B009CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B109CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B209CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B309CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B409CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B509CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B609CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B709CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B809CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33B909CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BA09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BB09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BC09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BD09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BE09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33BF09CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33C009CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33C109CA188600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33CF09CA19A600EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F33D209CA19A600EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F33D309CA19A600EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F33D409CA19A600EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F33E309CA1A0B00EBEB88 /* testdyngl.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F33E209CA1A0B00EBEB88 /* testdyngl.c */; }; + 002F340609CA1BFF00EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F340909CA1BFF00EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F340A09CA1BFF00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F340B09CA1BFF00EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F341809CA1C5B00EBEB88 /* testfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F341709CA1C5B00EBEB88 /* testfile.c */; }; + 002F342509CA1F0300EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F342809CA1F0300EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F342909CA1F0300EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F342A09CA1F0300EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F343709CA1F6F00EBEB88 /* testiconv.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F343609CA1F6F00EBEB88 /* testiconv.c */; }; + 002F344109CA1FB300EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F344409CA1FB300EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F344509CA1FB300EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F344609CA1FB300EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F345409CA202000EBEB88 /* testoverlay2.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F345209CA201C00EBEB88 /* testoverlay2.c */; }; + 002F345E09CA204F00EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + 002F346109CA204F00EBEB88 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + 002F346209CA204F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 002F346309CA204F00EBEB88 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F33A709CA188600EBEB88 /* Cocoa.framework */; }; + 002F347009CA20A600EBEB88 /* testplatform.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F346F09CA20A600EBEB88 /* testplatform.c */; }; + 003FA64D093FFDB3000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA64E093FFDB5000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA64F093FFDB7000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA650093FFDBA000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA651093FFDBC000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA652093FFDBE000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA653093FFDC1000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA654093FFDC3000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA655093FFDC6000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA656093FFDC8000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA657093FFDCA000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA658093FFDCC000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA659093FFDCF000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA65A093FFDD1000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA65B093FFDD3000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA65C093FFDD5000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA65D093FFDD7000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA65E093FFDDA000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA660093FFDDF000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA661093FFDE1000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA662093FFDE3000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA663093FFDE6000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA664093FFDE8000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 003FA665093FFDEA000C53B3 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 003FA643093FFD41000C53B3 /* SDL.framework */; }; + 00794DD909D1F894003FC8A1 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00794DD809D1F894003FC8A1 /* OpenGL.framework */; }; + 00794E6609D20865003FC8A1 /* sample.wav in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6209D20839003FC8A1 /* sample.wav */; }; + 00794EA209D2344B003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; }; + 00794EB709D235F5003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; }; + 00794EE709D236ED003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; }; + 00794EF009D23739003FC8A1 /* utf8.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6309D20839003FC8A1 /* utf8.txt */; }; + 00794EF709D237DE003FC8A1 /* moose.dat in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5E09D20839003FC8A1 /* moose.dat */; }; + 00794EFE09D2382B003FC8A1 /* sail.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6009D20839003FC8A1 /* sail.bmp */; }; + 00794F0409D23869003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; }; + 00794F0B09D238F4003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; }; + 00794F1109D2392B003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; }; + 00794F8709D2413B003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; }; + BEC566AF0761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566B10761D90300A33029 /* checkkeys.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D10FFB30A2C7F000001 /* checkkeys.c */; }; + BEC566BC0761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566BE0761D90300A33029 /* graywin.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D1BFFB30C237F000001 /* graywin.c */; }; + BEC566C90761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566CB0761D90300A33029 /* loopwave.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4872006D84C97F000001 /* loopwave.c */; }; + BEC566D70761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566D90761D90300A33029 /* testalpha.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4874006D84F77F000001 /* testalpha.c */; }; + BEC566E50761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566E70761D90300A33029 /* testbitmap.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D25FFB30D1A7F000001 /* testbitmap.c */; }; + BEC566F20761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC566F40761D90300A33029 /* testcdrom.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4876006D85297F000001 /* testcdrom.c */; }; + BEC566FF0761D90300A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567010761D90300A33029 /* testerror.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4878006D85357F000001 /* testerror.c */; }; + BEC5670C0761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC5670E0761D90400A33029 /* testgamma.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E487A006D85477F000001 /* testgamma.c */; }; + BEC5671A0761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC5671C0761D90400A33029 /* testgl.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D4EFFB311087F000001 /* testgl.c */; }; + BEC567270761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567290761D90400A33029 /* testhread.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D58FFB311A97F000001 /* testhread.c */; }; + BEC567340761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567360761D90400A33029 /* testjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D62FFB312AA7F000001 /* testjoystick.c */; }; + BEC567410761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567430761D90400A33029 /* testkeys.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D6CFFB313437F000001 /* testkeys.c */; }; + BEC5674E0761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567500761D90400A33029 /* testlock.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D75FFB313BB7F000001 /* testlock.c */; }; + BEC5675D0761D90400A33029 /* testoverlay.c in Sources */ = {isa = PBXBuildFile; fileRef = F57DC39802A6E6A201D28762 /* testoverlay.c */; }; + BEC567680761D90400A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC5676A0761D90400A33029 /* testpalette.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E487C006D856B7F000001 /* testpalette.c */; }; + BEC567760761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567780761D90500A33029 /* testsem.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E487E006D86A17F000001 /* testsem.c */; }; + BEC567830761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567850761D90500A33029 /* testsprite.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E487F006D86A17F000001 /* testsprite.c */; }; + BEC567910761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567930761D90500A33029 /* testtimer.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4880006D86A17F000001 /* testtimer.c */; }; + BEC567AB0761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567AD0761D90500A33029 /* testver.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4882006D86A17F000001 /* testver.c */; }; + BEC567B80761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567BA0761D90500A33029 /* testvidinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4883006D86A17F000001 /* testvidinfo.c */; }; + BEC567C50761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567C70761D90500A33029 /* testwin.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4884006D86A17F000001 /* testwin.c */; }; + BEC567D30761D90500A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567D50761D90500A33029 /* testwm.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4885006D86A17F000001 /* testwm.c */; }; + BEC567E10761D90600A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567E30761D90600A33029 /* threadwin.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4886006D86A17F000001 /* threadwin.c */; }; + BEC567EE0761D90600A33029 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */; }; + BEC567F00761D90600A33029 /* torturethread.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4887006D86A17F000001 /* torturethread.c */; }; + BEC567F90761D90600A33029 /* SDLMain.h in Headers */ = {isa = PBXBuildFile; fileRef = 2EECDF3B0086C5EA7F000001 /* SDLMain.h */; }; + BEC567FA0761D90600A33029 /* libsdlmain_prefix.h in Headers */ = {isa = PBXBuildFile; fileRef = B207FF2404E1B19600A80002 /* libsdlmain_prefix.h */; }; + BEC567FC0761D90600A33029 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EECDF3C0086C5EA7F000001 /* SDLMain.m */; }; + BEC568620761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568630761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568640761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568650761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568660761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568670761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568680761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568690761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686A0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686B0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686C0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686D0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686E0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5686F0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568700761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568710761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568720761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568730761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568750761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568760761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568770761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568780761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC568790761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; + BEC5687A0761D90600A33029 /* libsdlmain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlmain.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 002F337209CA14F900EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F338809CA16BF00EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F33CC09CA19A600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F340309CA1BFF00EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F342209CA1F0300EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F343E09CA1FB300EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F345B09CA204F00EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + 002F347809CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F338609CA16BF00EBEB88; + remoteInfo = testblitspeed; + }; + 002F347A09CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F33CA09CA19A600EBEB88; + remoteInfo = testdyngl; + }; + 002F347C09CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F340109CA1BFF00EBEB88; + remoteInfo = testfile; + }; + 002F347E09CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F342009CA1F0300EBEB88; + remoteInfo = testiconv; + }; + 002F348009CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567570761D90400A33029; + remoteInfo = "testoverlay (Upgraded)"; + }; + 002F348209CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F343C09CA1FB300EBEB88; + remoteInfo = testoverlay2; + }; + 002F348409CA215600EBEB88 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 002F345909CA204F00EBEB88; + remoteInfo = testplatform; + }; + 003FA642093FFD41000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = BECDF66C0761BA81005FE872; + remoteInfo = Framework; + }; + 003FA644093FFD41000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = BECDF6B30761BA81005FE872; + remoteInfo = "Static Library"; + }; + 003FA646093FFD41000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = BECDF6BA0761BA81005FE872; + remoteInfo = "Main Library"; + }; + 003FA648093FFD41000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = BECDF6BE0761BA81005FE872; + remoteInfo = "Standard DMG"; + }; + 003FA64A093FFD41000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = BECDF6C30761BA81005FE872; + remoteInfo = "Devel Extras Package"; + }; + 003FA6A709400236000C53B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = BECDF5FE0761BA81005FE872; + remoteInfo = Framework; + }; + BEC568000761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566AB0761D90300A33029; + remoteInfo = "checkkeys (Upgraded)"; + }; + BEC568020761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566B80761D90300A33029; + remoteInfo = "graywin (Upgraded)"; + }; + BEC568040761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566C50761D90300A33029; + remoteInfo = "loopwave (Upgraded)"; + }; + BEC568060761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566D30761D90300A33029; + remoteInfo = "testalpha (Upgraded)"; + }; + BEC568080761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566E10761D90300A33029; + remoteInfo = "testbitmap (Upgraded)"; + }; + BEC5680A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566EE0761D90300A33029; + remoteInfo = "testcdrom (Upgraded)"; + }; + BEC5680C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC566FB0761D90300A33029; + remoteInfo = "testerror (Upgraded)"; + }; + BEC5680E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567080761D90400A33029; + remoteInfo = "testgamma (Upgraded)"; + }; + BEC568100761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567160761D90400A33029; + remoteInfo = "testgl (Upgraded)"; + }; + BEC568120761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567230761D90400A33029; + remoteInfo = "testthread (Upgraded)"; + }; + BEC568140761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567300761D90400A33029; + remoteInfo = "testjoystick (Upgraded)"; + }; + BEC568160761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC5673D0761D90400A33029; + remoteInfo = "testkeys (Upgraded)"; + }; + BEC568180761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC5674A0761D90400A33029; + remoteInfo = "testlock (Upgraded)"; + }; + BEC5681A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567640761D90400A33029; + remoteInfo = "testpalette (Upgraded)"; + }; + BEC5681C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567720761D90500A33029; + remoteInfo = "testsem (Upgraded)"; + }; + BEC5681E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC5677F0761D90500A33029; + remoteInfo = "testsprite (Upgraded)"; + }; + BEC568200761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC5678D0761D90500A33029; + remoteInfo = "testtimer (Upgraded)"; + }; + BEC568240761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567A70761D90500A33029; + remoteInfo = "testversion (Upgraded)"; + }; + BEC568260761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567B40761D90500A33029; + remoteInfo = "testvidinfo (Upgraded)"; + }; + BEC568280761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567C10761D90500A33029; + remoteInfo = "testwin (Upgraded)"; + }; + BEC5682A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567CF0761D90500A33029; + remoteInfo = "testwm (Upgraded)"; + }; + BEC5682C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567DD0761D90600A33029; + remoteInfo = "threadwin (Upgraded)"; + }; + BEC5682E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567EA0761D90600A33029; + remoteInfo = "torturethread (Upgraded)"; + }; + BEC568300761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568320761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568340761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568360761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568380761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5683A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5683C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5683E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568400761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568420761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568440761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568460761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568480761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5684A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5684C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5684E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568500761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568520761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568560761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568580761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5685A0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5685C0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC5685E0761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; + BEC568600761D90600A33029 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BEC567F70761D90600A33029; + remoteInfo = "libsdlmain.a (Upgraded)"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 00794E6409D2084F003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794E6609D20865003FC8A1 /* sample.wav in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EA009D2343A003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EA209D2344B003FC8A1 /* icon.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EA909D234E8003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EB709D235F5003FC8A1 /* sample.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EE509D236E4003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EE709D236ED003FC8A1 /* sample.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EEC09D2371F003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EF009D23739003FC8A1 /* utf8.txt in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EF409D237C7003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EF709D237DE003FC8A1 /* moose.dat in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794EFC09D2381C003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794EFE09D2382B003FC8A1 /* sail.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794F0209D2385F003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794F0409D23869003FC8A1 /* icon.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794F0909D238E3003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794F0B09D238F4003FC8A1 /* sample.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794F0F09D23923003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794F1109D2392B003FC8A1 /* icon.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 00794F6109D24125003FC8A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 16; + files = ( + 00794F8709D2413B003FC8A1 /* sample.bmp in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F338109CA14F900EBEB88 /* test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = test.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F339709CA16BF00EBEB88 /* testblitspeed.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testblitspeed.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F339A09CA17BC00EBEB88 /* testblitspeed.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testblitspeed.c; path = ../../test/testblitspeed.c; sourceTree = SOURCE_ROOT; }; + 002F33A709CA188600EBEB88 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 002F33DB09CA19A600EBEB88 /* testdyngl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testdyngl.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F33E209CA1A0B00EBEB88 /* testdyngl.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testdyngl.c; path = ../../test/testdyngl.c; sourceTree = SOURCE_ROOT; }; + 002F341209CA1BFF00EBEB88 /* testfile.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testfile.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F341709CA1C5B00EBEB88 /* testfile.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testfile.c; path = ../../test/testfile.c; sourceTree = SOURCE_ROOT; }; + 002F343109CA1F0300EBEB88 /* testiconv.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testiconv.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F343609CA1F6F00EBEB88 /* testiconv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testiconv.c; path = ../../test/testiconv.c; sourceTree = SOURCE_ROOT; }; + 002F344D09CA1FB300EBEB88 /* testoverlay2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testoverlay2.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F345209CA201C00EBEB88 /* testoverlay2.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testoverlay2.c; path = ../../test/testoverlay2.c; sourceTree = SOURCE_ROOT; }; + 002F346A09CA204F00EBEB88 /* testplatform.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testplatform.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 002F346F09CA20A600EBEB88 /* testplatform.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testplatform.c; path = ../../test/testplatform.c; sourceTree = SOURCE_ROOT; }; + 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = ../SDL/SDL.xcodeproj; sourceTree = SOURCE_ROOT; }; + 00794DD809D1F894003FC8A1 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + 00794E5D09D20839003FC8A1 /* icon.bmp */ = {isa = PBXFileReference; lastKnownFileType = image.bmp; name = icon.bmp; path = ../../test/icon.bmp; sourceTree = SOURCE_ROOT; }; + 00794E5E09D20839003FC8A1 /* moose.dat */ = {isa = PBXFileReference; lastKnownFileType = file; name = moose.dat; path = ../../test/moose.dat; sourceTree = SOURCE_ROOT; }; + 00794E5F09D20839003FC8A1 /* picture.xbm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = picture.xbm; path = ../../test/picture.xbm; sourceTree = SOURCE_ROOT; }; + 00794E6009D20839003FC8A1 /* sail.bmp */ = {isa = PBXFileReference; lastKnownFileType = image.bmp; name = sail.bmp; path = ../../test/sail.bmp; sourceTree = SOURCE_ROOT; }; + 00794E6109D20839003FC8A1 /* sample.bmp */ = {isa = PBXFileReference; lastKnownFileType = image.bmp; name = sample.bmp; path = ../../test/sample.bmp; sourceTree = SOURCE_ROOT; }; + 00794E6209D20839003FC8A1 /* sample.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = sample.wav; path = ../../test/sample.wav; sourceTree = SOURCE_ROOT; }; + 00794E6309D20839003FC8A1 /* utf8.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = utf8.txt; path = ../../test/utf8.txt; sourceTree = SOURCE_ROOT; }; + 083E4872006D84C97F000001 /* loopwave.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = loopwave.c; path = ../../test/loopwave.c; sourceTree = SOURCE_ROOT; }; + 083E4874006D84F77F000001 /* testalpha.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testalpha.c; path = ../../test/testalpha.c; sourceTree = SOURCE_ROOT; }; + 083E4876006D85297F000001 /* testcdrom.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testcdrom.c; path = ../../test/testcdrom.c; sourceTree = SOURCE_ROOT; }; + 083E4878006D85357F000001 /* testerror.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testerror.c; path = ../../test/testerror.c; sourceTree = SOURCE_ROOT; }; + 083E487A006D85477F000001 /* testgamma.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testgamma.c; path = ../../test/testgamma.c; sourceTree = SOURCE_ROOT; }; + 083E487C006D856B7F000001 /* testpalette.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testpalette.c; path = ../../test/testpalette.c; sourceTree = SOURCE_ROOT; }; + 083E487E006D86A17F000001 /* testsem.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testsem.c; path = ../../test/testsem.c; sourceTree = SOURCE_ROOT; }; + 083E487F006D86A17F000001 /* testsprite.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testsprite.c; path = ../../test/testsprite.c; sourceTree = SOURCE_ROOT; }; + 083E4880006D86A17F000001 /* testtimer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testtimer.c; path = ../../test/testtimer.c; sourceTree = SOURCE_ROOT; }; + 083E4882006D86A17F000001 /* testver.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testver.c; path = ../../test/testver.c; sourceTree = SOURCE_ROOT; }; + 083E4883006D86A17F000001 /* testvidinfo.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testvidinfo.c; path = ../../test/testvidinfo.c; sourceTree = SOURCE_ROOT; }; + 083E4884006D86A17F000001 /* testwin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testwin.c; path = ../../test/testwin.c; sourceTree = SOURCE_ROOT; }; + 083E4885006D86A17F000001 /* testwm.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testwm.c; path = ../../test/testwm.c; sourceTree = SOURCE_ROOT; }; + 083E4886006D86A17F000001 /* threadwin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = threadwin.c; path = ../../test/threadwin.c; sourceTree = SOURCE_ROOT; }; + 083E4887006D86A17F000001 /* torturethread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = torturethread.c; path = ../../test/torturethread.c; sourceTree = SOURCE_ROOT; }; + 092D6D10FFB30A2C7F000001 /* checkkeys.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = checkkeys.c; path = ../../test/checkkeys.c; sourceTree = SOURCE_ROOT; }; + 092D6D1BFFB30C237F000001 /* graywin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = graywin.c; path = ../../test/graywin.c; sourceTree = SOURCE_ROOT; }; + 092D6D25FFB30D1A7F000001 /* testbitmap.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testbitmap.c; path = ../../test/testbitmap.c; sourceTree = SOURCE_ROOT; }; + 092D6D4EFFB311087F000001 /* testgl.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testgl.c; path = ../../test/testgl.c; sourceTree = SOURCE_ROOT; }; + 092D6D58FFB311A97F000001 /* testhread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testhread.c; path = ../../test/testhread.c; sourceTree = SOURCE_ROOT; }; + 092D6D62FFB312AA7F000001 /* testjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testjoystick.c; path = ../../test/testjoystick.c; sourceTree = SOURCE_ROOT; }; + 092D6D6CFFB313437F000001 /* testkeys.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testkeys.c; path = ../../test/testkeys.c; sourceTree = SOURCE_ROOT; }; + 092D6D75FFB313BB7F000001 /* testlock.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testlock.c; path = ../../test/testlock.c; sourceTree = SOURCE_ROOT; }; + 2EECDF3B0086C5EA7F000001 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDLMain.h; path = ../../src/main/macosx/SDLMain.h; sourceTree = SOURCE_ROOT; }; + 2EECDF3C0086C5EA7F000001 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = SDLMain.m; path = ../../src/main/macosx/SDLMain.m; sourceTree = SOURCE_ROOT; }; + 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = SDLMain.nib; path = ../../src/main/macosx/SDLMain.nib; sourceTree = SOURCE_ROOT; }; + B207FF2404E1B19600A80002 /* libsdlmain_prefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = libsdlmain_prefix.h; sourceTree = ""; }; + BEC566B60761D90300A33029 /* checkkeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = checkkeys.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC566C30761D90300A33029 /* graywin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = graywin.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC566D10761D90300A33029 /* loopwave.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = loopwave.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC566DF0761D90300A33029 /* testalpha.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testalpha.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC566EC0761D90300A33029 /* testbitmap.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testbitmap.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC566F90761D90300A33029 /* testcdrom.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testcdrom.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567060761D90400A33029 /* testerror.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testerror.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567140761D90400A33029 /* testgamma.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testgamma.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567210761D90400A33029 /* testgl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testgl.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC5672E0761D90400A33029 /* testthread.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testthread.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC5673B0761D90400A33029 /* testjoystick.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testjoystick.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567480761D90400A33029 /* testkeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testkeys.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567550761D90400A33029 /* testlock.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testlock.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567620761D90400A33029 /* testoverlay.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testoverlay.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567700761D90500A33029 /* testpalette.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testpalette.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC5677D0761D90500A33029 /* testsem.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testsem.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC5678B0761D90500A33029 /* testsprite.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testsprite.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567980761D90500A33029 /* testtimer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testtimer.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567B20761D90500A33029 /* testversion.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testversion.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567BF0761D90500A33029 /* testvidinfo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testvidinfo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567CD0761D90500A33029 /* testwin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testwin.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567DB0761D90600A33029 /* testwm.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testwm.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567E80761D90600A33029 /* threadwin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = threadwin.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567F50761D90600A33029 /* torturethread.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = torturethread.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BEC567FF0761D90600A33029 /* libsdlmain.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsdlmain.a; sourceTree = BUILT_PRODUCTS_DIR; }; + F57DC39802A6E6A201D28762 /* testoverlay.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testoverlay.c; path = ../../test/testoverlay.c; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 002F337809CA14F900EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F337909CA14F900EBEB88 /* libsdlmain.a in Frameworks */, + 002F337A09CA14F900EBEB88 /* SDL.framework in Frameworks */, + 002F33A909CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F338E09CA16BF00EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F338F09CA16BF00EBEB88 /* libsdlmain.a in Frameworks */, + 002F339009CA16BF00EBEB88 /* SDL.framework in Frameworks */, + 002F33A809CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F33D109CA19A600EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F33D209CA19A600EBEB88 /* libsdlmain.a in Frameworks */, + 002F33D309CA19A600EBEB88 /* SDL.framework in Frameworks */, + 002F33D409CA19A600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F340809CA1BFF00EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F340909CA1BFF00EBEB88 /* libsdlmain.a in Frameworks */, + 002F340A09CA1BFF00EBEB88 /* SDL.framework in Frameworks */, + 002F340B09CA1BFF00EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F342709CA1F0300EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F342809CA1F0300EBEB88 /* libsdlmain.a in Frameworks */, + 002F342909CA1F0300EBEB88 /* SDL.framework in Frameworks */, + 002F342A09CA1F0300EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F344309CA1FB300EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F344409CA1FB300EBEB88 /* libsdlmain.a in Frameworks */, + 002F344509CA1FB300EBEB88 /* SDL.framework in Frameworks */, + 002F344609CA1FB300EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F346009CA204F00EBEB88 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F346109CA204F00EBEB88 /* libsdlmain.a in Frameworks */, + 002F346209CA204F00EBEB88 /* SDL.framework in Frameworks */, + 002F346309CA204F00EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566B20761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568620761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA64D093FFDB3000C53B3 /* SDL.framework in Frameworks */, + 002F33C109CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566BF0761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568630761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA64E093FFDB5000C53B3 /* SDL.framework in Frameworks */, + 002F33C009CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566CC0761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568640761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA64F093FFDB7000C53B3 /* SDL.framework in Frameworks */, + 002F33BF09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566DA0761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568650761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA650093FFDBA000C53B3 /* SDL.framework in Frameworks */, + 002F33BE09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566E80761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568660761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA651093FFDBC000C53B3 /* SDL.framework in Frameworks */, + 002F33BD09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566F50761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568670761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA652093FFDBE000C53B3 /* SDL.framework in Frameworks */, + 002F33BB09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567020761D90300A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568680761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA653093FFDC1000C53B3 /* SDL.framework in Frameworks */, + 002F33BC09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5670F0761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568690761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA654093FFDC3000C53B3 /* SDL.framework in Frameworks */, + 002F33BA09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5671D0761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686A0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA655093FFDC6000C53B3 /* SDL.framework in Frameworks */, + 002F33B909CA188600EBEB88 /* Cocoa.framework in Frameworks */, + 00794DD909D1F894003FC8A1 /* OpenGL.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5672A0761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686B0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA656093FFDC8000C53B3 /* SDL.framework in Frameworks */, + 002F33B809CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567370761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686C0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA657093FFDCA000C53B3 /* SDL.framework in Frameworks */, + 002F33B709CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567440761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686D0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA658093FFDCC000C53B3 /* SDL.framework in Frameworks */, + 002F33B509CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567510761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686E0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA659093FFDCF000C53B3 /* SDL.framework in Frameworks */, + 002F33B609CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5675E0761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5686F0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA65A093FFDD1000C53B3 /* SDL.framework in Frameworks */, + 002F33B409CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5676B0761D90400A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568700761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA65B093FFDD3000C53B3 /* SDL.framework in Frameworks */, + 002F33B309CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567790761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568710761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA65C093FFDD5000C53B3 /* SDL.framework in Frameworks */, + 002F33B209CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567860761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568720761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA65D093FFDD7000C53B3 /* SDL.framework in Frameworks */, + 002F33B109CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567940761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568730761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA65E093FFDDA000C53B3 /* SDL.framework in Frameworks */, + 002F33B009CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567AE0761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568750761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA660093FFDDF000C53B3 /* SDL.framework in Frameworks */, + 002F33AF09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567BB0761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568760761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA661093FFDE1000C53B3 /* SDL.framework in Frameworks */, + 002F33AE09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567C80761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568770761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA662093FFDE3000C53B3 /* SDL.framework in Frameworks */, + 002F33AD09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567D60761D90500A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568780761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA663093FFDE6000C53B3 /* SDL.framework in Frameworks */, + 002F33AC09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567E40761D90600A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC568790761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA665093FFDEA000C53B3 /* SDL.framework in Frameworks */, + 002F33AB09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567F10761D90600A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5687A0761D90600A33029 /* libsdlmain.a in Frameworks */, + 003FA664093FFDE8000C53B3 /* SDL.framework in Frameworks */, + 002F33AA09CA188600EBEB88 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567FD0761D90600A33029 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 002F33A209CA183B00EBEB88 /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 00794DD809D1F894003FC8A1 /* OpenGL.framework */, + 002F33A709CA188600EBEB88 /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 003FA63B093FFD41000C53B3 /* Products */ = { + isa = PBXGroup; + children = ( + 003FA643093FFD41000C53B3 /* SDL.framework */, + 003FA645093FFD41000C53B3 /* libSDL.a */, + 003FA647093FFD41000C53B3 /* libSDLmain.a */, + 003FA649093FFD41000C53B3 /* Standard DMG */, + 003FA64B093FFD41000C53B3 /* Developer Extras Package */, + ); + name = Products; + sourceTree = ""; + }; + 00794E4609D207B4003FC8A1 /* Resources */ = { + isa = PBXGroup; + children = ( + 00794E5D09D20839003FC8A1 /* icon.bmp */, + 00794E5E09D20839003FC8A1 /* moose.dat */, + 00794E5F09D20839003FC8A1 /* picture.xbm */, + 00794E6009D20839003FC8A1 /* sail.bmp */, + 00794E6109D20839003FC8A1 /* sample.bmp */, + 00794E6209D20839003FC8A1 /* sample.wav */, + 00794E6309D20839003FC8A1 /* utf8.txt */, + ); + name = Resources; + sourceTree = ""; + }; + 08FB7794FE84155DC02AAC07 /* SDLTest */ = { + isa = PBXGroup; + children = ( + 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */, + 08FB7795FE84155DC02AAC07 /* Source */, + 2EECDF3B0086C5EA7F000001 /* SDLMain.h */, + 2EECDF3C0086C5EA7F000001 /* SDLMain.m */, + B207FF2404E1B19600A80002 /* libsdlmain_prefix.h */, + 2EECDF3D0086C5EA7F000001 /* SDLMain.nib */, + 002F33A209CA183B00EBEB88 /* Linked Frameworks */, + 00794E4609D207B4003FC8A1 /* Resources */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + comments = "I made these tests link against our \"default\" framework which includes X11 stuff. If you didn't install the X11 headers with Xcode, you might have problems building the SDL.framework (which is a dependency). You can swap the dependencies around to get around this, or you can modify the default SDL.framework target to not include X11 stuff. (Go into its target build options and remove all the Preprocessor macros.)\n\n\n\nWe are sort of in a half-way state at the moment. Going \"all-the-way\" means we copy the SDL.framework inside the app bundle so we can run the test without the step of the user \"installing\" the framework. But there is an oversight/bug in Xcode that doesn't correctly find the location of the framework when in an embedded/nested Xcode project. We could probably try to hack this with a shell script that checks multiple directories for existence, but this is messier and more work than I prefer, so I rather just wait for Apple to fix this. In the meantime...\n\nThe \"All\" target will build the SDL framework from the Xcode project. The other targets do not have this dependency set (for flexibility reasons in case we make changes). If you have not built the framework, you will probably be unable to link. You will either need to build the framework, or you need to add \"-framework SDL\" to the link options and make sure you have the SDL.framework installed somewhere where it can be seen (like /Library/Frameworks...I think we already set this one up.) \n\nTo run though, you should have a copy of the SDL.framework in /Library/Frameworks or ~/Library/Frameworks.\n\n\n\n\ntestgl and testdyngl need -DHAVE_OPENGL\ntestgl needs to link against OpenGL.framework\n\n"; + name = SDLTest; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 092D6D10FFB30A2C7F000001 /* checkkeys.c */, + 092D6D1BFFB30C237F000001 /* graywin.c */, + 083E4872006D84C97F000001 /* loopwave.c */, + 083E4874006D84F77F000001 /* testalpha.c */, + 092D6D25FFB30D1A7F000001 /* testbitmap.c */, + 002F339A09CA17BC00EBEB88 /* testblitspeed.c */, + 083E4876006D85297F000001 /* testcdrom.c */, + 002F33E209CA1A0B00EBEB88 /* testdyngl.c */, + 083E4878006D85357F000001 /* testerror.c */, + 002F343609CA1F6F00EBEB88 /* testiconv.c */, + 002F341709CA1C5B00EBEB88 /* testfile.c */, + 083E487A006D85477F000001 /* testgamma.c */, + 092D6D4EFFB311087F000001 /* testgl.c */, + 092D6D58FFB311A97F000001 /* testhread.c */, + 092D6D62FFB312AA7F000001 /* testjoystick.c */, + 092D6D6CFFB313437F000001 /* testkeys.c */, + 092D6D75FFB313BB7F000001 /* testlock.c */, + F57DC39802A6E6A201D28762 /* testoverlay.c */, + 002F345209CA201C00EBEB88 /* testoverlay2.c */, + 083E487C006D856B7F000001 /* testpalette.c */, + 002F346F09CA20A600EBEB88 /* testplatform.c */, + 083E487E006D86A17F000001 /* testsem.c */, + 083E487F006D86A17F000001 /* testsprite.c */, + 083E4880006D86A17F000001 /* testtimer.c */, + 083E4882006D86A17F000001 /* testver.c */, + 083E4883006D86A17F000001 /* testvidinfo.c */, + 083E4884006D86A17F000001 /* testwin.c */, + 083E4885006D86A17F000001 /* testwm.c */, + 083E4886006D86A17F000001 /* threadwin.c */, + 083E4887006D86A17F000001 /* torturethread.c */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + BEC566B60761D90300A33029 /* checkkeys.app */, + BEC566C30761D90300A33029 /* graywin.app */, + BEC566D10761D90300A33029 /* loopwave.app */, + BEC566DF0761D90300A33029 /* testalpha.app */, + BEC566EC0761D90300A33029 /* testbitmap.app */, + BEC566F90761D90300A33029 /* testcdrom.app */, + BEC567060761D90400A33029 /* testerror.app */, + BEC567140761D90400A33029 /* testgamma.app */, + BEC567210761D90400A33029 /* testgl.app */, + BEC5672E0761D90400A33029 /* testthread.app */, + BEC5673B0761D90400A33029 /* testjoystick.app */, + BEC567480761D90400A33029 /* testkeys.app */, + BEC567550761D90400A33029 /* testlock.app */, + BEC567620761D90400A33029 /* testoverlay.app */, + BEC567700761D90500A33029 /* testpalette.app */, + BEC5677D0761D90500A33029 /* testsem.app */, + BEC5678B0761D90500A33029 /* testsprite.app */, + BEC567980761D90500A33029 /* testtimer.app */, + BEC567B20761D90500A33029 /* testversion.app */, + BEC567BF0761D90500A33029 /* testvidinfo.app */, + BEC567CD0761D90500A33029 /* testwin.app */, + BEC567DB0761D90600A33029 /* testwm.app */, + BEC567E80761D90600A33029 /* threadwin.app */, + BEC567F50761D90600A33029 /* torturethread.app */, + BEC567FF0761D90600A33029 /* libsdlmain.a */, + 002F338109CA14F900EBEB88 /* test.app */, + 002F339709CA16BF00EBEB88 /* testblitspeed.app */, + 002F33DB09CA19A600EBEB88 /* testdyngl.app */, + 002F341209CA1BFF00EBEB88 /* testfile.app */, + 002F343109CA1F0300EBEB88 /* testiconv.app */, + 002F344D09CA1FB300EBEB88 /* testoverlay2.app */, + 002F346A09CA204F00EBEB88 /* testplatform.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 002F337309CA14F900EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F338909CA16BF00EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F33CD09CA19A600EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F340409CA1BFF00EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F342309CA1F0300EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F343F09CA1FB300EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F345C09CA204F00EBEB88 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566AD0761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566BA0761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566C70761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566D50761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566E30761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566F00761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566FD0761D90300A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5670A0761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567180761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567250761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567320761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5673F0761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5674C0761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567590761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567660761D90400A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567740761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567810761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5678F0761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567A90761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567B60761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567C30761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567D10761D90500A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567DF0761D90600A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567EC0761D90600A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567F80761D90600A33029 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567F90761D90600A33029 /* SDLMain.h in Headers */, + BEC567FA0761D90600A33029 /* libsdlmain_prefix.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 002F337009CA14F900EBEB88 /* test */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F337D09CA14F900EBEB88 /* Build configuration list for PBXNativeTarget "test" */; + buildPhases = ( + 002F337309CA14F900EBEB88 /* Headers */, + 002F337409CA14F900EBEB88 /* Resources */, + 002F337609CA14F900EBEB88 /* Sources */, + 002F337809CA14F900EBEB88 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 002F337109CA14F900EBEB88 /* PBXTargetDependency */, + ); + name = test; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F338109CA14F900EBEB88 /* test.app */; + productType = "com.apple.product-type.application"; + }; + 002F338609CA16BF00EBEB88 /* testblitspeed */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F339309CA16BF00EBEB88 /* Build configuration list for PBXNativeTarget "testblitspeed" */; + buildPhases = ( + 002F338909CA16BF00EBEB88 /* Headers */, + 002F338A09CA16BF00EBEB88 /* Resources */, + 002F338C09CA16BF00EBEB88 /* Sources */, + 002F338E09CA16BF00EBEB88 /* Frameworks */, + 00794EA909D234E8003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 002F338709CA16BF00EBEB88 /* PBXTargetDependency */, + ); + name = testblitspeed; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F339709CA16BF00EBEB88 /* testblitspeed.app */; + productType = "com.apple.product-type.application"; + }; + 002F33CA09CA19A600EBEB88 /* testdyngl */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F33D709CA19A600EBEB88 /* Build configuration list for PBXNativeTarget "testdyngl" */; + buildPhases = ( + 002F33CD09CA19A600EBEB88 /* Headers */, + 002F33CE09CA19A600EBEB88 /* Resources */, + 002F33D009CA19A600EBEB88 /* Sources */, + 002F33D109CA19A600EBEB88 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 002F33CB09CA19A600EBEB88 /* PBXTargetDependency */, + ); + name = testdyngl; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F33DB09CA19A600EBEB88 /* testdyngl.app */; + productType = "com.apple.product-type.application"; + }; + 002F340109CA1BFF00EBEB88 /* testfile */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F340E09CA1BFF00EBEB88 /* Build configuration list for PBXNativeTarget "testfile" */; + buildPhases = ( + 002F340409CA1BFF00EBEB88 /* Headers */, + 002F340509CA1BFF00EBEB88 /* Resources */, + 002F340709CA1BFF00EBEB88 /* Sources */, + 002F340809CA1BFF00EBEB88 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 002F340209CA1BFF00EBEB88 /* PBXTargetDependency */, + ); + name = testfile; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F341209CA1BFF00EBEB88 /* testfile.app */; + productType = "com.apple.product-type.application"; + }; + 002F342009CA1F0300EBEB88 /* testiconv */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F342D09CA1F0300EBEB88 /* Build configuration list for PBXNativeTarget "testiconv" */; + buildPhases = ( + 002F342309CA1F0300EBEB88 /* Headers */, + 002F342409CA1F0300EBEB88 /* Resources */, + 002F342609CA1F0300EBEB88 /* Sources */, + 002F342709CA1F0300EBEB88 /* Frameworks */, + 00794EEC09D2371F003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 002F342109CA1F0300EBEB88 /* PBXTargetDependency */, + ); + name = testiconv; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F343109CA1F0300EBEB88 /* testiconv.app */; + productType = "com.apple.product-type.application"; + }; + 002F343C09CA1FB300EBEB88 /* testoverlay2 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F344909CA1FB300EBEB88 /* Build configuration list for PBXNativeTarget "testoverlay2" */; + buildPhases = ( + 002F343F09CA1FB300EBEB88 /* Headers */, + 002F344009CA1FB300EBEB88 /* Resources */, + 002F344209CA1FB300EBEB88 /* Sources */, + 002F344309CA1FB300EBEB88 /* Frameworks */, + 00794EF409D237C7003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 002F343D09CA1FB300EBEB88 /* PBXTargetDependency */, + ); + name = testoverlay2; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F344D09CA1FB300EBEB88 /* testoverlay2.app */; + productType = "com.apple.product-type.application"; + }; + 002F345909CA204F00EBEB88 /* testplatform */ = { + isa = PBXNativeTarget; + buildConfigurationList = 002F346609CA204F00EBEB88 /* Build configuration list for PBXNativeTarget "testplatform" */; + buildPhases = ( + 002F345C09CA204F00EBEB88 /* Headers */, + 002F345D09CA204F00EBEB88 /* Resources */, + 002F345F09CA204F00EBEB88 /* Sources */, + 002F346009CA204F00EBEB88 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 002F345A09CA204F00EBEB88 /* PBXTargetDependency */, + ); + name = testplatform; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = 002F346A09CA204F00EBEB88 /* testplatform.app */; + productType = "com.apple.product-type.application"; + }; + BEC566AB0761D90300A33029 /* checkkeys (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B593808BDB826006539E9 /* Build configuration list for PBXNativeTarget "checkkeys (Upgraded)" */; + buildPhases = ( + BEC566AD0761D90300A33029 /* Headers */, + BEC566AE0761D90300A33029 /* Resources */, + BEC566B00761D90300A33029 /* Sources */, + BEC566B20761D90300A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568310761D90600A33029 /* PBXTargetDependency */, + ); + name = "checkkeys (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = checkkeys; + productReference = BEC566B60761D90300A33029 /* checkkeys.app */; + productType = "com.apple.product-type.application"; + }; + BEC566B80761D90300A33029 /* graywin (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B593C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "graywin (Upgraded)" */; + buildPhases = ( + BEC566BA0761D90300A33029 /* Headers */, + BEC566BB0761D90300A33029 /* Resources */, + BEC566BD0761D90300A33029 /* Sources */, + BEC566BF0761D90300A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568330761D90600A33029 /* PBXTargetDependency */, + ); + name = "graywin (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = graywin; + productReference = BEC566C30761D90300A33029 /* graywin.app */; + productType = "com.apple.product-type.application"; + }; + BEC566C50761D90300A33029 /* loopwave (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B594008BDB826006539E9 /* Build configuration list for PBXNativeTarget "loopwave (Upgraded)" */; + buildPhases = ( + BEC566C70761D90300A33029 /* Headers */, + BEC566C80761D90300A33029 /* Resources */, + BEC566CA0761D90300A33029 /* Sources */, + BEC566CC0761D90300A33029 /* Frameworks */, + 00794E6409D2084F003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC568350761D90600A33029 /* PBXTargetDependency */, + ); + name = "loopwave (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = loopwave; + productReference = BEC566D10761D90300A33029 /* loopwave.app */; + productType = "com.apple.product-type.application"; + }; + BEC566D30761D90300A33029 /* testalpha (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B594408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testalpha (Upgraded)" */; + buildPhases = ( + BEC566D50761D90300A33029 /* Headers */, + BEC566D60761D90300A33029 /* Resources */, + BEC566D80761D90300A33029 /* Sources */, + BEC566DA0761D90300A33029 /* Frameworks */, + 00794EA009D2343A003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC568370761D90600A33029 /* PBXTargetDependency */, + ); + name = "testalpha (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testalpha; + productReference = BEC566DF0761D90300A33029 /* testalpha.app */; + productType = "com.apple.product-type.application"; + }; + BEC566E10761D90300A33029 /* testbitmap (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B594808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testbitmap (Upgraded)" */; + buildPhases = ( + BEC566E30761D90300A33029 /* Headers */, + BEC566E40761D90300A33029 /* Resources */, + BEC566E60761D90300A33029 /* Sources */, + BEC566E80761D90300A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568390761D90600A33029 /* PBXTargetDependency */, + ); + name = "testbitmap (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testbitmap; + productReference = BEC566EC0761D90300A33029 /* testbitmap.app */; + productType = "com.apple.product-type.application"; + }; + BEC566EE0761D90300A33029 /* testcdrom (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B594C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testcdrom (Upgraded)" */; + buildPhases = ( + BEC566F00761D90300A33029 /* Headers */, + BEC566F10761D90300A33029 /* Resources */, + BEC566F30761D90300A33029 /* Sources */, + BEC566F50761D90300A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC5683B0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testcdrom (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testcdrom; + productReference = BEC566F90761D90300A33029 /* testcdrom.app */; + productType = "com.apple.product-type.application"; + }; + BEC566FB0761D90300A33029 /* testerror (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B595008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testerror (Upgraded)" */; + buildPhases = ( + BEC566FD0761D90300A33029 /* Headers */, + BEC566FE0761D90300A33029 /* Resources */, + BEC567000761D90300A33029 /* Sources */, + BEC567020761D90300A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC5683D0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testerror (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testerror; + productReference = BEC567060761D90400A33029 /* testerror.app */; + productType = "com.apple.product-type.application"; + }; + BEC567080761D90400A33029 /* testgamma (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B595408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testgamma (Upgraded)" */; + buildPhases = ( + BEC5670A0761D90400A33029 /* Headers */, + BEC5670B0761D90400A33029 /* Resources */, + BEC5670D0761D90400A33029 /* Sources */, + BEC5670F0761D90400A33029 /* Frameworks */, + 00794EE509D236E4003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC5683F0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testgamma (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testgamma; + productReference = BEC567140761D90400A33029 /* testgamma.app */; + productType = "com.apple.product-type.application"; + }; + BEC567160761D90400A33029 /* testgl (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B595808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testgl (Upgraded)" */; + buildPhases = ( + BEC567180761D90400A33029 /* Headers */, + BEC567190761D90400A33029 /* Resources */, + BEC5671B0761D90400A33029 /* Sources */, + BEC5671D0761D90400A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568410761D90600A33029 /* PBXTargetDependency */, + ); + name = "testgl (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testgl; + productReference = BEC567210761D90400A33029 /* testgl.app */; + productType = "com.apple.product-type.application"; + }; + BEC567230761D90400A33029 /* testthread (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B595C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testthread (Upgraded)" */; + buildPhases = ( + BEC567250761D90400A33029 /* Headers */, + BEC567260761D90400A33029 /* Resources */, + BEC567280761D90400A33029 /* Sources */, + BEC5672A0761D90400A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568430761D90600A33029 /* PBXTargetDependency */, + ); + name = "testthread (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testthread; + productReference = BEC5672E0761D90400A33029 /* testthread.app */; + productType = "com.apple.product-type.application"; + }; + BEC567300761D90400A33029 /* testjoystick (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B596008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testjoystick (Upgraded)" */; + buildPhases = ( + BEC567320761D90400A33029 /* Headers */, + BEC567330761D90400A33029 /* Resources */, + BEC567350761D90400A33029 /* Sources */, + BEC567370761D90400A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568450761D90600A33029 /* PBXTargetDependency */, + ); + name = "testjoystick (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testjoystick; + productReference = BEC5673B0761D90400A33029 /* testjoystick.app */; + productType = "com.apple.product-type.application"; + }; + BEC5673D0761D90400A33029 /* testkeys (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B596408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testkeys (Upgraded)" */; + buildPhases = ( + BEC5673F0761D90400A33029 /* Headers */, + BEC567400761D90400A33029 /* Resources */, + BEC567420761D90400A33029 /* Sources */, + BEC567440761D90400A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568470761D90600A33029 /* PBXTargetDependency */, + ); + name = "testkeys (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testkeys; + productReference = BEC567480761D90400A33029 /* testkeys.app */; + productType = "com.apple.product-type.application"; + }; + BEC5674A0761D90400A33029 /* testlock (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B596808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testlock (Upgraded)" */; + buildPhases = ( + BEC5674C0761D90400A33029 /* Headers */, + BEC5674D0761D90400A33029 /* Resources */, + BEC5674F0761D90400A33029 /* Sources */, + BEC567510761D90400A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568490761D90600A33029 /* PBXTargetDependency */, + ); + name = "testlock (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testlock; + productReference = BEC567550761D90400A33029 /* testlock.app */; + productType = "com.apple.product-type.application"; + }; + BEC567570761D90400A33029 /* testoverlay (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B599C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testoverlay (Upgraded)" */; + buildPhases = ( + BEC567590761D90400A33029 /* Headers */, + BEC5675A0761D90400A33029 /* Resources */, + BEC5675C0761D90400A33029 /* Sources */, + BEC5675E0761D90400A33029 /* Frameworks */, + 00794F6109D24125003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC5684B0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testoverlay (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testoverlay; + productReference = BEC567620761D90400A33029 /* testoverlay.app */; + productType = "com.apple.product-type.application"; + }; + BEC567640761D90400A33029 /* testpalette (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B596C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testpalette (Upgraded)" */; + buildPhases = ( + BEC567660761D90400A33029 /* Headers */, + BEC567670761D90400A33029 /* Resources */, + BEC567690761D90400A33029 /* Sources */, + BEC5676B0761D90400A33029 /* Frameworks */, + 00794EFC09D2381C003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC5684D0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testpalette (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testpalette; + productReference = BEC567700761D90500A33029 /* testpalette.app */; + productType = "com.apple.product-type.application"; + }; + BEC567720761D90500A33029 /* testsem (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B597008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testsem (Upgraded)" */; + buildPhases = ( + BEC567740761D90500A33029 /* Headers */, + BEC567750761D90500A33029 /* Resources */, + BEC567770761D90500A33029 /* Sources */, + BEC567790761D90500A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC5684F0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testsem (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testsem; + productReference = BEC5677D0761D90500A33029 /* testsem.app */; + productType = "com.apple.product-type.application"; + }; + BEC5677F0761D90500A33029 /* testsprite (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B597408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testsprite (Upgraded)" */; + buildPhases = ( + BEC567810761D90500A33029 /* Headers */, + BEC567820761D90500A33029 /* Resources */, + BEC567840761D90500A33029 /* Sources */, + BEC567860761D90500A33029 /* Frameworks */, + 00794F0209D2385F003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC568510761D90600A33029 /* PBXTargetDependency */, + ); + name = "testsprite (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testsprite; + productReference = BEC5678B0761D90500A33029 /* testsprite.app */; + productType = "com.apple.product-type.application"; + }; + BEC5678D0761D90500A33029 /* testtimer (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B597808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testtimer (Upgraded)" */; + buildPhases = ( + BEC5678F0761D90500A33029 /* Headers */, + BEC567900761D90500A33029 /* Resources */, + BEC567920761D90500A33029 /* Sources */, + BEC567940761D90500A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568530761D90600A33029 /* PBXTargetDependency */, + ); + name = "testtimer (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testtimer; + productReference = BEC567980761D90500A33029 /* testtimer.app */; + productType = "com.apple.product-type.application"; + }; + BEC567A70761D90500A33029 /* testversion (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B598008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testversion (Upgraded)" */; + buildPhases = ( + BEC567A90761D90500A33029 /* Headers */, + BEC567AA0761D90500A33029 /* Resources */, + BEC567AC0761D90500A33029 /* Sources */, + BEC567AE0761D90500A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568570761D90600A33029 /* PBXTargetDependency */, + ); + name = "testversion (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testversion; + productReference = BEC567B20761D90500A33029 /* testversion.app */; + productType = "com.apple.product-type.application"; + }; + BEC567B40761D90500A33029 /* testvidinfo (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B598408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testvidinfo (Upgraded)" */; + buildPhases = ( + BEC567B60761D90500A33029 /* Headers */, + BEC567B70761D90500A33029 /* Resources */, + BEC567B90761D90500A33029 /* Sources */, + BEC567BB0761D90500A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568590761D90600A33029 /* PBXTargetDependency */, + ); + name = "testvidinfo (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testvidinfo; + productReference = BEC567BF0761D90500A33029 /* testvidinfo.app */; + productType = "com.apple.product-type.application"; + }; + BEC567C10761D90500A33029 /* testwin (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B598808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testwin (Upgraded)" */; + buildPhases = ( + BEC567C30761D90500A33029 /* Headers */, + BEC567C40761D90500A33029 /* Resources */, + BEC567C60761D90500A33029 /* Sources */, + BEC567C80761D90500A33029 /* Frameworks */, + 00794F0909D238E3003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC5685B0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testwin (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testwin; + productReference = BEC567CD0761D90500A33029 /* testwin.app */; + productType = "com.apple.product-type.application"; + }; + BEC567CF0761D90500A33029 /* testwm (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B598C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testwm (Upgraded)" */; + buildPhases = ( + BEC567D10761D90500A33029 /* Headers */, + BEC567D20761D90500A33029 /* Resources */, + BEC567D40761D90500A33029 /* Sources */, + BEC567D60761D90500A33029 /* Frameworks */, + 00794F0F09D23923003FC8A1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + BEC5685D0761D90600A33029 /* PBXTargetDependency */, + ); + name = "testwm (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = testwm; + productReference = BEC567DB0761D90600A33029 /* testwm.app */; + productType = "com.apple.product-type.application"; + }; + BEC567DD0761D90600A33029 /* threadwin (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B599008BDB826006539E9 /* Build configuration list for PBXNativeTarget "threadwin (Upgraded)" */; + buildPhases = ( + BEC567DF0761D90600A33029 /* Headers */, + BEC567E00761D90600A33029 /* Resources */, + BEC567E20761D90600A33029 /* Sources */, + BEC567E40761D90600A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC5685F0761D90600A33029 /* PBXTargetDependency */, + ); + name = "threadwin (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = threadwin; + productReference = BEC567E80761D90600A33029 /* threadwin.app */; + productType = "com.apple.product-type.application"; + }; + BEC567EA0761D90600A33029 /* torturethread (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B599408BDB826006539E9 /* Build configuration list for PBXNativeTarget "torturethread (Upgraded)" */; + buildPhases = ( + BEC567EC0761D90600A33029 /* Headers */, + BEC567ED0761D90600A33029 /* Resources */, + BEC567EF0761D90600A33029 /* Sources */, + BEC567F10761D90600A33029 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + BEC568610761D90600A33029 /* PBXTargetDependency */, + ); + name = "torturethread (Upgraded)"; + productInstallPath = "$(USER_APPS_DIR)"; + productName = tortureThread; + productReference = BEC567F50761D90600A33029 /* torturethread.app */; + productType = "com.apple.product-type.application"; + }; + BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 001B593408BDB826006539E9 /* Build configuration list for PBXNativeTarget "libsdlmain.a (Upgraded)" */; + buildPhases = ( + BEC567F80761D90600A33029 /* Headers */, + BEC567FB0761D90600A33029 /* Sources */, + BEC567FD0761D90600A33029 /* Frameworks */, + BEC567FE0761D90600A33029 /* Rez */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libsdlmain.a (Upgraded)"; + productInstallPath = /usr/local/lib; + productName = libsdlmain.a; + productReference = BEC567FF0761D90600A33029 /* libsdlmain.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 001B5A0C08BDB826006539E9 /* Build configuration list for PBXProject "SDLTest" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 08FB7794FE84155DC02AAC07 /* SDLTest */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 003FA63B093FFD41000C53B3 /* Products */; + ProjectRef = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + BEC566920761D90300A33029 /* All */, + BEC566AB0761D90300A33029 /* checkkeys (Upgraded) */, + BEC566B80761D90300A33029 /* graywin (Upgraded) */, + BEC566C50761D90300A33029 /* loopwave (Upgraded) */, + BEC566D30761D90300A33029 /* testalpha (Upgraded) */, + BEC566E10761D90300A33029 /* testbitmap (Upgraded) */, + 002F338609CA16BF00EBEB88 /* testblitspeed */, + BEC566EE0761D90300A33029 /* testcdrom (Upgraded) */, + 002F33CA09CA19A600EBEB88 /* testdyngl */, + BEC566FB0761D90300A33029 /* testerror (Upgraded) */, + 002F340109CA1BFF00EBEB88 /* testfile */, + BEC567080761D90400A33029 /* testgamma (Upgraded) */, + BEC567160761D90400A33029 /* testgl (Upgraded) */, + 002F342009CA1F0300EBEB88 /* testiconv */, + BEC567300761D90400A33029 /* testjoystick (Upgraded) */, + BEC5673D0761D90400A33029 /* testkeys (Upgraded) */, + BEC5674A0761D90400A33029 /* testlock (Upgraded) */, + BEC567570761D90400A33029 /* testoverlay (Upgraded) */, + 002F343C09CA1FB300EBEB88 /* testoverlay2 */, + BEC567640761D90400A33029 /* testpalette (Upgraded) */, + 002F345909CA204F00EBEB88 /* testplatform */, + BEC567720761D90500A33029 /* testsem (Upgraded) */, + BEC5677F0761D90500A33029 /* testsprite (Upgraded) */, + BEC567230761D90400A33029 /* testthread (Upgraded) */, + BEC5678D0761D90500A33029 /* testtimer (Upgraded) */, + BEC567A70761D90500A33029 /* testversion (Upgraded) */, + BEC567B40761D90500A33029 /* testvidinfo (Upgraded) */, + BEC567C10761D90500A33029 /* testwin (Upgraded) */, + BEC567CF0761D90500A33029 /* testwm (Upgraded) */, + BEC567DD0761D90600A33029 /* threadwin (Upgraded) */, + BEC567EA0761D90600A33029 /* torturethread (Upgraded) */, + BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */, + 002F337009CA14F900EBEB88 /* test */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 003FA643093FFD41000C53B3 /* SDL.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = SDL.framework; + remoteRef = 003FA642093FFD41000C53B3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 003FA645093FFD41000C53B3 /* libSDL.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libSDL.a; + remoteRef = 003FA644093FFD41000C53B3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 003FA647093FFD41000C53B3 /* libSDLmain.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libSDLmain.a; + remoteRef = 003FA646093FFD41000C53B3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 003FA649093FFD41000C53B3 /* Standard DMG */ = { + isa = PBXReferenceProxy; + fileType = "compiled.mach-o.executable"; + path = "Standard DMG"; + remoteRef = 003FA648093FFD41000C53B3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 003FA64B093FFD41000C53B3 /* Developer Extras Package */ = { + isa = PBXReferenceProxy; + fileType = "compiled.mach-o.executable"; + path = "Developer Extras Package"; + remoteRef = 003FA64A093FFD41000C53B3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 002F337409CA14F900EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F337509CA14F900EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F338A09CA16BF00EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F338B09CA16BF00EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F33CE09CA19A600EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F33CF09CA19A600EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F340509CA1BFF00EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F340609CA1BFF00EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F342409CA1F0300EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F342509CA1F0300EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F344009CA1FB300EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F344109CA1FB300EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F345D09CA204F00EBEB88 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F345E09CA204F00EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566AE0761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566AF0761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566BB0761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566BC0761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566C80761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566C90761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566D60761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566D70761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566E40761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566E50761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566F10761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566F20761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566FE0761D90300A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566FF0761D90300A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5670B0761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5670C0761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567190761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5671A0761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567260761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567270761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567330761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567340761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567400761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567410761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5674D0761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5674E0761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5675A0761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567670761D90400A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567680761D90400A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567750761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567760761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567820761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567830761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567900761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567910761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567AA0761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567AB0761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567B70761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567B80761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567C40761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567C50761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567D20761D90500A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567D30761D90500A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567E00761D90600A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567E10761D90600A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567ED0761D90600A33029 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567EE0761D90600A33029 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXRezBuildPhase section */ + BEC567FE0761D90600A33029 /* Rez */ = { + isa = PBXRezBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXRezBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 002F337609CA14F900EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F338C09CA16BF00EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F339B09CA17BC00EBEB88 /* testblitspeed.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F33D009CA19A600EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F33E309CA1A0B00EBEB88 /* testdyngl.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F340709CA1BFF00EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F341809CA1C5B00EBEB88 /* testfile.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F342609CA1F0300EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F343709CA1F6F00EBEB88 /* testiconv.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F344209CA1FB300EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F345409CA202000EBEB88 /* testoverlay2.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 002F345F09CA204F00EBEB88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F347009CA20A600EBEB88 /* testplatform.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566B00761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566B10761D90300A33029 /* checkkeys.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566BD0761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566BE0761D90300A33029 /* graywin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566CA0761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566CB0761D90300A33029 /* loopwave.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566D80761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566D90761D90300A33029 /* testalpha.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566E60761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566E70761D90300A33029 /* testbitmap.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC566F30761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC566F40761D90300A33029 /* testcdrom.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567000761D90300A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567010761D90300A33029 /* testerror.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5670D0761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5670E0761D90400A33029 /* testgamma.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5671B0761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5671C0761D90400A33029 /* testgl.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567280761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567290761D90400A33029 /* testhread.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567350761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567360761D90400A33029 /* testjoystick.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567420761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567430761D90400A33029 /* testkeys.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5674F0761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567500761D90400A33029 /* testlock.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC5675C0761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5675D0761D90400A33029 /* testoverlay.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567690761D90400A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC5676A0761D90400A33029 /* testpalette.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567770761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567780761D90500A33029 /* testsem.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567840761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567850761D90500A33029 /* testsprite.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567920761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567930761D90500A33029 /* testtimer.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567AC0761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567AD0761D90500A33029 /* testver.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567B90761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567BA0761D90500A33029 /* testvidinfo.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567C60761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567C70761D90500A33029 /* testwin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567D40761D90500A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567D50761D90500A33029 /* testwm.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567E20761D90600A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567E30761D90600A33029 /* threadwin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567EF0761D90600A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567F00761D90600A33029 /* torturethread.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BEC567FB0761D90600A33029 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BEC567FC0761D90600A33029 /* SDLMain.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 002F337109CA14F900EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F337209CA14F900EBEB88 /* PBXContainerItemProxy */; + }; + 002F338709CA16BF00EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F338809CA16BF00EBEB88 /* PBXContainerItemProxy */; + }; + 002F33CB09CA19A600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F33CC09CA19A600EBEB88 /* PBXContainerItemProxy */; + }; + 002F340209CA1BFF00EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F340309CA1BFF00EBEB88 /* PBXContainerItemProxy */; + }; + 002F342109CA1F0300EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F342209CA1F0300EBEB88 /* PBXContainerItemProxy */; + }; + 002F343D09CA1FB300EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F343E09CA1FB300EBEB88 /* PBXContainerItemProxy */; + }; + 002F345A09CA204F00EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = 002F345B09CA204F00EBEB88 /* PBXContainerItemProxy */; + }; + 002F347909CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F338609CA16BF00EBEB88 /* testblitspeed */; + targetProxy = 002F347809CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F347B09CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F33CA09CA19A600EBEB88 /* testdyngl */; + targetProxy = 002F347A09CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F347D09CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F340109CA1BFF00EBEB88 /* testfile */; + targetProxy = 002F347C09CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F347F09CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F342009CA1F0300EBEB88 /* testiconv */; + targetProxy = 002F347E09CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F348109CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567570761D90400A33029 /* testoverlay (Upgraded) */; + targetProxy = 002F348009CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F348309CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F343C09CA1FB300EBEB88 /* testoverlay2 */; + targetProxy = 002F348209CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 002F348509CA215600EBEB88 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 002F345909CA204F00EBEB88 /* testplatform */; + targetProxy = 002F348409CA215600EBEB88 /* PBXContainerItemProxy */; + }; + 003FA6A809400236000C53B3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Framework; + targetProxy = 003FA6A709400236000C53B3 /* PBXContainerItemProxy */; + }; + BEC568010761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566AB0761D90300A33029 /* checkkeys (Upgraded) */; + targetProxy = BEC568000761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568030761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566B80761D90300A33029 /* graywin (Upgraded) */; + targetProxy = BEC568020761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568050761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566C50761D90300A33029 /* loopwave (Upgraded) */; + targetProxy = BEC568040761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568070761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566D30761D90300A33029 /* testalpha (Upgraded) */; + targetProxy = BEC568060761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568090761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566E10761D90300A33029 /* testbitmap (Upgraded) */; + targetProxy = BEC568080761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5680B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566EE0761D90300A33029 /* testcdrom (Upgraded) */; + targetProxy = BEC5680A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5680D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC566FB0761D90300A33029 /* testerror (Upgraded) */; + targetProxy = BEC5680C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5680F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567080761D90400A33029 /* testgamma (Upgraded) */; + targetProxy = BEC5680E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568110761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567160761D90400A33029 /* testgl (Upgraded) */; + targetProxy = BEC568100761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568130761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567230761D90400A33029 /* testthread (Upgraded) */; + targetProxy = BEC568120761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568150761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567300761D90400A33029 /* testjoystick (Upgraded) */; + targetProxy = BEC568140761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568170761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC5673D0761D90400A33029 /* testkeys (Upgraded) */; + targetProxy = BEC568160761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568190761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC5674A0761D90400A33029 /* testlock (Upgraded) */; + targetProxy = BEC568180761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5681B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567640761D90400A33029 /* testpalette (Upgraded) */; + targetProxy = BEC5681A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5681D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567720761D90500A33029 /* testsem (Upgraded) */; + targetProxy = BEC5681C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5681F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC5677F0761D90500A33029 /* testsprite (Upgraded) */; + targetProxy = BEC5681E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568210761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC5678D0761D90500A33029 /* testtimer (Upgraded) */; + targetProxy = BEC568200761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568250761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567A70761D90500A33029 /* testversion (Upgraded) */; + targetProxy = BEC568240761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568270761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567B40761D90500A33029 /* testvidinfo (Upgraded) */; + targetProxy = BEC568260761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568290761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567C10761D90500A33029 /* testwin (Upgraded) */; + targetProxy = BEC568280761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5682B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567CF0761D90500A33029 /* testwm (Upgraded) */; + targetProxy = BEC5682A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5682D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567DD0761D90600A33029 /* threadwin (Upgraded) */; + targetProxy = BEC5682C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5682F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567EA0761D90600A33029 /* torturethread (Upgraded) */; + targetProxy = BEC5682E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568310761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568300761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568330761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568320761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568350761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568340761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568370761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568360761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568390761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568380761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5683B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5683A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5683D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5683C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5683F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5683E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568410761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568400761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568430761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568420761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568450761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568440761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568470761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568460761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568490761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568480761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5684B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5684A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5684D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5684C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5684F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5684E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568510761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568500761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568530761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568520761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568570761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568560761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568590761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568580761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5685B0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5685A0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5685D0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5685C0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC5685F0761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC5685E0761D90600A33029 /* PBXContainerItemProxy */; + }; + BEC568610761D90600A33029 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BEC567F70761D90600A33029 /* libsdlmain.a (Upgraded) */; + targetProxy = BEC568600761D90600A33029 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 001B593508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREFIX_HEADER = libsdlmain_prefix.h; + PRODUCT_NAME = sdlmain; + }; + name = Deployment; + }; + 001B593608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREFIX_HEADER = libsdlmain_prefix.h; + PRODUCT_NAME = sdlmain; + }; + name = Development; + }; + 001B593708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREFIX_HEADER = libsdlmain_prefix.h; + PRODUCT_NAME = sdlmain; + }; + name = Default; + }; + 001B593908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-checkkeys__Upgraded_.plist"; + PRODUCT_NAME = checkkeys; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B593A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-checkkeys__Upgraded_.plist"; + PRODUCT_NAME = checkkeys; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B593B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-checkkeys__Upgraded_.plist"; + PRODUCT_NAME = checkkeys; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B593D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-graywin__Upgraded_.plist"; + PRODUCT_NAME = graywin; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B593E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-graywin__Upgraded_.plist"; + PRODUCT_NAME = graywin; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B593F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-graywin__Upgraded_.plist"; + PRODUCT_NAME = graywin; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B594108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-loopwave__Upgraded_.plist"; + PRODUCT_NAME = loopwave; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B594208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-loopwave__Upgraded_.plist"; + PRODUCT_NAME = loopwave; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B594308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-loopwave__Upgraded_.plist"; + PRODUCT_NAME = loopwave; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B594508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testalpha__Upgraded_.plist"; + PRODUCT_NAME = testalpha; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B594608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testalpha__Upgraded_.plist"; + PRODUCT_NAME = testalpha; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B594708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testalpha__Upgraded_.plist"; + PRODUCT_NAME = testalpha; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B594908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testbitmap__Upgraded_.plist"; + PRODUCT_NAME = testbitmap; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B594A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testbitmap__Upgraded_.plist"; + PRODUCT_NAME = testbitmap; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B594B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testbitmap__Upgraded_.plist"; + PRODUCT_NAME = testbitmap; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B594D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testcdrom__Upgraded_.plist"; + PRODUCT_NAME = testcdrom; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B594E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testcdrom__Upgraded_.plist"; + PRODUCT_NAME = testcdrom; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B594F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testcdrom__Upgraded_.plist"; + PRODUCT_NAME = testcdrom; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B595108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testerror__Upgraded_.plist"; + PRODUCT_NAME = testerror; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B595208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testerror__Upgraded_.plist"; + PRODUCT_NAME = testerror; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B595308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testerror__Upgraded_.plist"; + PRODUCT_NAME = testerror; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B595508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testgamma__Upgraded_.plist"; + PRODUCT_NAME = testgamma; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B595608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testgamma__Upgraded_.plist"; + PRODUCT_NAME = testgamma; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B595708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testgamma__Upgraded_.plist"; + PRODUCT_NAME = testgamma; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B595908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = HAVE_OPENGL; + INFOPLIST_FILE = "Info-testgl__Upgraded_.plist"; + PRODUCT_NAME = testgl; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B595A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = HAVE_OPENGL; + INFOPLIST_FILE = "Info-testgl__Upgraded_.plist"; + PRODUCT_NAME = testgl; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B595B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = HAVE_OPENGL; + INFOPLIST_FILE = "Info-testgl__Upgraded_.plist"; + PRODUCT_NAME = testgl; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B595D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testthread__Upgraded_.plist"; + PRODUCT_NAME = testthread; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B595E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testthread__Upgraded_.plist"; + PRODUCT_NAME = testthread; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B595F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testthread__Upgraded_.plist"; + PRODUCT_NAME = testthread; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B596108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testjoystick__Upgraded_.plist"; + PRODUCT_NAME = testjoystick; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B596208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testjoystick__Upgraded_.plist"; + PRODUCT_NAME = testjoystick; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B596308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testjoystick__Upgraded_.plist"; + PRODUCT_NAME = testjoystick; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B596508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testkeys__Upgraded_.plist"; + PRODUCT_NAME = testkeys; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B596608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testkeys__Upgraded_.plist"; + PRODUCT_NAME = testkeys; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B596708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testkeys__Upgraded_.plist"; + PRODUCT_NAME = testkeys; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B596908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testlock__Upgraded_.plist"; + PRODUCT_NAME = testlock; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B596A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testlock__Upgraded_.plist"; + PRODUCT_NAME = testlock; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B596B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testlock__Upgraded_.plist"; + PRODUCT_NAME = testlock; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B596D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testpalette__Upgraded_.plist"; + PRODUCT_NAME = testpalette; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B596E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testpalette__Upgraded_.plist"; + PRODUCT_NAME = testpalette; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B596F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testpalette__Upgraded_.plist"; + PRODUCT_NAME = testpalette; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B597108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsem__Upgraded_.plist"; + PRODUCT_NAME = testsem; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B597208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsem__Upgraded_.plist"; + PRODUCT_NAME = testsem; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B597308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsem__Upgraded_.plist"; + PRODUCT_NAME = testsem; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B597508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsprite__Upgraded_.plist"; + PRODUCT_NAME = testsprite; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B597608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsprite__Upgraded_.plist"; + PRODUCT_NAME = testsprite; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B597708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testsprite__Upgraded_.plist"; + PRODUCT_NAME = testsprite; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B597908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testtimer__Upgraded_.plist"; + PRODUCT_NAME = testtimer; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B597A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testtimer__Upgraded_.plist"; + PRODUCT_NAME = testtimer; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B597B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testtimer__Upgraded_.plist"; + PRODUCT_NAME = testtimer; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B598108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testversion__Upgraded_.plist"; + PRODUCT_NAME = testversion; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B598208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testversion__Upgraded_.plist"; + PRODUCT_NAME = testversion; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B598308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testversion__Upgraded_.plist"; + PRODUCT_NAME = testversion; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B598508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testvidinfo__Upgraded_.plist"; + PRODUCT_NAME = testvidinfo; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B598608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testvidinfo__Upgraded_.plist"; + PRODUCT_NAME = testvidinfo; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B598708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testvidinfo__Upgraded_.plist"; + PRODUCT_NAME = testvidinfo; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B598908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwin__Upgraded_.plist"; + PRODUCT_NAME = testwin; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B598A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwin__Upgraded_.plist"; + PRODUCT_NAME = testwin; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B598B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwin__Upgraded_.plist"; + PRODUCT_NAME = testwin; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B598D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwm__Upgraded_.plist"; + PRODUCT_NAME = testwm; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B598E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwm__Upgraded_.plist"; + PRODUCT_NAME = testwm; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B598F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testwm__Upgraded_.plist"; + PRODUCT_NAME = testwm; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B599108BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-threadwin__Upgraded_.plist"; + PRODUCT_NAME = threadwin; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B599208BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-threadwin__Upgraded_.plist"; + PRODUCT_NAME = threadwin; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B599308BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-threadwin__Upgraded_.plist"; + PRODUCT_NAME = threadwin; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B599508BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-torturethread__Upgraded_.plist"; + PRODUCT_NAME = torturethread; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B599608BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-torturethread__Upgraded_.plist"; + PRODUCT_NAME = torturethread; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B599708BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-torturethread__Upgraded_.plist"; + PRODUCT_NAME = torturethread; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B599908BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUGGING_SYMBOLS = NO; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_OPTIMIZATION_LEVEL = 3; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "Build All"; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + ); + ZERO_LINK = NO; + }; + name = Deployment; + }; + 001B599A08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "Build All"; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + ); + ZERO_LINK = YES; + }; + name = Development; + }; + 001B599B08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "Build All"; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + ); + }; + name = Default; + }; + 001B599D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay__Upgraded_.plist"; + PRODUCT_NAME = testoverlay; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 001B599E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay__Upgraded_.plist"; + PRODUCT_NAME = testoverlay; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 001B599F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay__Upgraded_.plist"; + PRODUCT_NAME = testoverlay; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 001B5A0D08BDB826006539E9 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc"; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../SDL/build/$(CONFIGURATION)", + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + ); + GCC_VERSION_i386 = 4.0; + GCC_VERSION_ppc = 4.0; + GCC_VERSION_x86_64 = 4.2; + HEADER_SEARCH_PATHS = ( + ../../include, + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + ); + MACOSX_DEPLOYMENT_TARGET_i386 = 10.4; + MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; + MACOSX_DEPLOYMENT_TARGET_x86_64 = 10.6; + WARNING_CFLAGS = "-Wmost"; + ZERO_LINK = NO; + }; + name = Deployment; + }; + 001B5A0E08BDB826006539E9 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc"; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../SDL/build/$(CONFIGURATION)", + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + ); + GCC_VERSION_i386 = 4.0; + GCC_VERSION_ppc = 4.0; + GCC_VERSION_x86_64 = 4.2; + HEADER_SEARCH_PATHS = ( + ../../include, + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + ); + MACOSX_DEPLOYMENT_TARGET_i386 = 10.4; + MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; + MACOSX_DEPLOYMENT_TARGET_x86_64 = 10.6; + WARNING_CFLAGS = "-Wmost"; + ZERO_LINK = NO; + }; + name = Development; + }; + 001B5A0F08BDB826006539E9 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc"; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../SDL/build/$(CONFIGURATION)", + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + ); + GCC_VERSION_i386 = 4.0; + GCC_VERSION_ppc = 4.0; + GCC_VERSION_x86_64 = 4.2; + HEADER_SEARCH_PATHS = ( + ../../include, + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + ); + MACOSX_DEPLOYMENT_TARGET_i386 = 10.4; + MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; + MACOSX_DEPLOYMENT_TARGET_x86_64 = 10.6; + WARNING_CFLAGS = "-Wmost"; + ZERO_LINK = NO; + }; + name = Default; + }; + 002F337E09CA14F900EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-test.plist"; + PRODUCT_NAME = test; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F337F09CA14F900EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-test.plist"; + PRODUCT_NAME = test; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F338009CA14F900EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-test.plist"; + PRODUCT_NAME = test; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F339409CA16BF00EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testblitspeed.plist"; + PRODUCT_NAME = testblitspeed; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F339509CA16BF00EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testblitspeed.plist"; + PRODUCT_NAME = testblitspeed; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F339609CA16BF00EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testblitspeed.plist"; + PRODUCT_NAME = testblitspeed; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F33D809CA19A600EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + HAVE_OPENGL, + ); + INFOPLIST_FILE = "Info-testdyngl.plist"; + PRODUCT_NAME = testdyngl; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F33D909CA19A600EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + HAVE_OPENGL, + ); + INFOPLIST_FILE = "Info-testdyngl.plist"; + PRODUCT_NAME = testdyngl; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F33DA09CA19A600EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + HAVE_OPENGL, + ); + INFOPLIST_FILE = "Info-testdyngl.plist"; + PRODUCT_NAME = testdyngl; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F340F09CA1BFF00EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testfile.plist"; + PRODUCT_NAME = testfile; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F341009CA1BFF00EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testfile.plist"; + PRODUCT_NAME = testfile; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F341109CA1BFF00EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testfile.plist"; + PRODUCT_NAME = testfile; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F342E09CA1F0300EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testiconv.plist"; + PRODUCT_NAME = testiconv; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F342F09CA1F0300EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testiconv.plist"; + PRODUCT_NAME = testiconv; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F343009CA1F0300EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testiconv.plist"; + PRODUCT_NAME = testiconv; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F344A09CA1FB300EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay2.plist"; + PRODUCT_NAME = testoverlay2; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F344B09CA1FB300EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay2.plist"; + PRODUCT_NAME = testoverlay2; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F344C09CA1FB300EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testoverlay2.plist"; + PRODUCT_NAME = testoverlay2; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 002F346709CA204F00EBEB88 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testplatform.plist"; + PRODUCT_NAME = testplatform; + WRAPPER_EXTENSION = app; + }; + name = Deployment; + }; + 002F346809CA204F00EBEB88 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testplatform.plist"; + PRODUCT_NAME = testplatform; + WRAPPER_EXTENSION = app; + }; + name = Development; + }; + 002F346909CA204F00EBEB88 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "Info-testplatform.plist"; + PRODUCT_NAME = testplatform; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 001B593408BDB826006539E9 /* Build configuration list for PBXNativeTarget "libsdlmain.a (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B593508BDB826006539E9 /* Deployment */, + 001B593608BDB826006539E9 /* Development */, + 001B593708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B593808BDB826006539E9 /* Build configuration list for PBXNativeTarget "checkkeys (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B593908BDB826006539E9 /* Deployment */, + 001B593A08BDB826006539E9 /* Development */, + 001B593B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B593C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "graywin (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B593D08BDB826006539E9 /* Deployment */, + 001B593E08BDB826006539E9 /* Development */, + 001B593F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B594008BDB826006539E9 /* Build configuration list for PBXNativeTarget "loopwave (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B594108BDB826006539E9 /* Deployment */, + 001B594208BDB826006539E9 /* Development */, + 001B594308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B594408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testalpha (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B594508BDB826006539E9 /* Deployment */, + 001B594608BDB826006539E9 /* Development */, + 001B594708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B594808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testbitmap (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B594908BDB826006539E9 /* Deployment */, + 001B594A08BDB826006539E9 /* Development */, + 001B594B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B594C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testcdrom (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B594D08BDB826006539E9 /* Deployment */, + 001B594E08BDB826006539E9 /* Development */, + 001B594F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B595008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testerror (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B595108BDB826006539E9 /* Deployment */, + 001B595208BDB826006539E9 /* Development */, + 001B595308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B595408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testgamma (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B595508BDB826006539E9 /* Deployment */, + 001B595608BDB826006539E9 /* Development */, + 001B595708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B595808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testgl (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B595908BDB826006539E9 /* Deployment */, + 001B595A08BDB826006539E9 /* Development */, + 001B595B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B595C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testthread (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B595D08BDB826006539E9 /* Deployment */, + 001B595E08BDB826006539E9 /* Development */, + 001B595F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B596008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testjoystick (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B596108BDB826006539E9 /* Deployment */, + 001B596208BDB826006539E9 /* Development */, + 001B596308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B596408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testkeys (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B596508BDB826006539E9 /* Deployment */, + 001B596608BDB826006539E9 /* Development */, + 001B596708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B596808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testlock (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B596908BDB826006539E9 /* Deployment */, + 001B596A08BDB826006539E9 /* Development */, + 001B596B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B596C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testpalette (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B596D08BDB826006539E9 /* Deployment */, + 001B596E08BDB826006539E9 /* Development */, + 001B596F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B597008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testsem (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B597108BDB826006539E9 /* Deployment */, + 001B597208BDB826006539E9 /* Development */, + 001B597308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B597408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testsprite (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B597508BDB826006539E9 /* Deployment */, + 001B597608BDB826006539E9 /* Development */, + 001B597708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B597808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testtimer (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B597908BDB826006539E9 /* Deployment */, + 001B597A08BDB826006539E9 /* Development */, + 001B597B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B598008BDB826006539E9 /* Build configuration list for PBXNativeTarget "testversion (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B598108BDB826006539E9 /* Deployment */, + 001B598208BDB826006539E9 /* Development */, + 001B598308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B598408BDB826006539E9 /* Build configuration list for PBXNativeTarget "testvidinfo (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B598508BDB826006539E9 /* Deployment */, + 001B598608BDB826006539E9 /* Development */, + 001B598708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B598808BDB826006539E9 /* Build configuration list for PBXNativeTarget "testwin (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B598908BDB826006539E9 /* Deployment */, + 001B598A08BDB826006539E9 /* Development */, + 001B598B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B598C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testwm (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B598D08BDB826006539E9 /* Deployment */, + 001B598E08BDB826006539E9 /* Development */, + 001B598F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B599008BDB826006539E9 /* Build configuration list for PBXNativeTarget "threadwin (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B599108BDB826006539E9 /* Deployment */, + 001B599208BDB826006539E9 /* Development */, + 001B599308BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B599408BDB826006539E9 /* Build configuration list for PBXNativeTarget "torturethread (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B599508BDB826006539E9 /* Deployment */, + 001B599608BDB826006539E9 /* Development */, + 001B599708BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B599808BDB826006539E9 /* Build configuration list for PBXAggregateTarget "All" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B599908BDB826006539E9 /* Deployment */, + 001B599A08BDB826006539E9 /* Development */, + 001B599B08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B599C08BDB826006539E9 /* Build configuration list for PBXNativeTarget "testoverlay (Upgraded)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B599D08BDB826006539E9 /* Deployment */, + 001B599E08BDB826006539E9 /* Development */, + 001B599F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 001B5A0C08BDB826006539E9 /* Build configuration list for PBXProject "SDLTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 001B5A0D08BDB826006539E9 /* Deployment */, + 001B5A0E08BDB826006539E9 /* Development */, + 001B5A0F08BDB826006539E9 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F337D09CA14F900EBEB88 /* Build configuration list for PBXNativeTarget "test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F337E09CA14F900EBEB88 /* Deployment */, + 002F337F09CA14F900EBEB88 /* Development */, + 002F338009CA14F900EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F339309CA16BF00EBEB88 /* Build configuration list for PBXNativeTarget "testblitspeed" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F339409CA16BF00EBEB88 /* Deployment */, + 002F339509CA16BF00EBEB88 /* Development */, + 002F339609CA16BF00EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F33D709CA19A600EBEB88 /* Build configuration list for PBXNativeTarget "testdyngl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F33D809CA19A600EBEB88 /* Deployment */, + 002F33D909CA19A600EBEB88 /* Development */, + 002F33DA09CA19A600EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F340E09CA1BFF00EBEB88 /* Build configuration list for PBXNativeTarget "testfile" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F340F09CA1BFF00EBEB88 /* Deployment */, + 002F341009CA1BFF00EBEB88 /* Development */, + 002F341109CA1BFF00EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F342D09CA1F0300EBEB88 /* Build configuration list for PBXNativeTarget "testiconv" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F342E09CA1F0300EBEB88 /* Deployment */, + 002F342F09CA1F0300EBEB88 /* Development */, + 002F343009CA1F0300EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F344909CA1FB300EBEB88 /* Build configuration list for PBXNativeTarget "testoverlay2" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F344A09CA1FB300EBEB88 /* Deployment */, + 002F344B09CA1FB300EBEB88 /* Development */, + 002F344C09CA1FB300EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 002F346609CA204F00EBEB88 /* Build configuration list for PBXNativeTarget "testplatform" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 002F346709CA204F00EBEB88 /* Deployment */, + 002F346809CA204F00EBEB88 /* Development */, + 002F346909CA204F00EBEB88 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/SDLTest/libsdlmain_prefix.h b/distrib/sdl-1.2.15/Xcode/SDLTest/libsdlmain_prefix.h new file mode 100644 index 0000000..ed41c97 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/SDLTest/libsdlmain_prefix.h @@ -0,0 +1,13 @@ +/* + * libsdlmain_prefix.h + * SDLTest + * + * Created by Darrell Walisser on Wed Aug 06 2003. + * Copyright (c) 2003 __MyCompanyName__. All rights reserved. + * + */ + +#include +#include +#include "SDL.h" +#include "SDLMain.h" \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist new file mode 100644 index 0000000..e433204 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..d9ca454 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0cff0a3 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,308 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib new file mode 100644 index 0000000..799eaad --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib @@ -0,0 +1,19 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = { + help = id; + newGame = id; + openGame = id; + prefsMenu = id; + saveGame = id; + saveGameAs = id; + }; + CLASS = SDLMain; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib new file mode 100644 index 0000000..1d6fb7e --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib @@ -0,0 +1,21 @@ + + + + + IBDocumentLocation + 62 117 356 240 0 0 1152 848 + IBEditorPositions + + 29 + 62 362 195 44 0 0 1152 848 + + IBFramework Version + 291.0 + IBOpenObjects + + 29 + + IBSystem Version + 6L60 + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib new file mode 100644 index 0000000..6378015 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist new file mode 100644 index 0000000..40a970f --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..1dcbea2 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application with Cocoa menus."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c61e527 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,320 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = ""; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = { + isa = PBXVariantGroup; + children = ( + 002F3AF009D08F1000EBEB88 /* English */, + ); + name = SDLMain.nib; + sourceTree = ""; + }; + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist new file mode 100644 index 0000000..a2e9429 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..ba87745 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application that uses OpenGL."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..529d444 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,350 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF409D0938900EBEB88 /* atlantis.c */; }; + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF609D0938900EBEB88 /* dolphin.c */; }; + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF709D0938900EBEB88 /* shark.c */; }; + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF809D0938900EBEB88 /* swim.c */; }; + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF909D0938900EBEB88 /* whale.c */; }; + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C0009D093BD00EBEB88 /* OpenGL.framework */; }; + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C6009D0951E00EBEB88 /* GLUT.framework */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3BF409D0938900EBEB88 /* atlantis.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = atlantis.c; path = atlantis/atlantis.c; sourceTree = SOURCE_ROOT; }; + 002F3BF509D0938900EBEB88 /* atlantis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = atlantis.h; path = atlantis/atlantis.h; sourceTree = SOURCE_ROOT; }; + 002F3BF609D0938900EBEB88 /* dolphin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = dolphin.c; path = atlantis/dolphin.c; sourceTree = SOURCE_ROOT; }; + 002F3BF709D0938900EBEB88 /* shark.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = shark.c; path = atlantis/shark.c; sourceTree = SOURCE_ROOT; }; + 002F3BF809D0938900EBEB88 /* swim.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = swim.c; path = atlantis/swim.c; sourceTree = SOURCE_ROOT; }; + 002F3BF909D0938900EBEB88 /* whale.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = whale.c; path = atlantis/whale.c; sourceTree = SOURCE_ROOT; }; + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + 002F3C6009D0951E00EBEB88 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../../../../../../../../System/Library/Frameworks/GLUT.framework; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 002F3BF309D0937800EBEB88 /* atlantis */ = { + isa = PBXGroup; + children = ( + 002F3BF409D0938900EBEB88 /* atlantis.c */, + 002F3BF509D0938900EBEB88 /* atlantis.h */, + 002F3BF609D0938900EBEB88 /* dolphin.c */, + 002F3BF709D0938900EBEB88 /* shark.c */, + 002F3BF809D0938900EBEB88 /* swim.c */, + 002F3BF909D0938900EBEB88 /* whale.c */, + ); + name = atlantis; + sourceTree = ""; + }; + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 002F3C6009D0951E00EBEB88 /* GLUT.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 002F3BF309D0937800EBEB88 /* atlantis */, + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */, + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */, + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */, + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */, + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c new file mode 100644 index 0000000..4efdf6c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c @@ -0,0 +1,459 @@ + +/* Copyright (c) Mark J. Kilgard, 1994. */ + +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include +#include +#include +#include +#include "atlantis.h" + +fishRec sharks[NUM_SHARKS]; +fishRec momWhale; +fishRec babyWhale; +fishRec dolph; + +GLboolean Timing = GL_TRUE; + +int w_win = 640; +int h_win = 480; +GLint count = 0; +GLenum StrMode = GL_VENDOR; + +GLboolean moving; + +static double mtime(void) +{ + struct timeval tk_time; + struct timezone tz; + + gettimeofday(&tk_time, &tz); + + return 4294.967296 * tk_time.tv_sec + 0.000001 * tk_time.tv_usec; +} + +static double filter(double in, double *save) +{ + static double k1 = 0.9; + static double k2 = 0.05; + + save[3] = in; + save[1] = save[0]*k1 + k2*(save[3] + save[2]); + + save[0]=save[1]; + save[2]=save[3]; + + return(save[1]); +} + +void DrawStr(const char *str) +{ + GLint i = 0; + + if(!str) return; + + while(str[i]) + { + glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]); + i++; + } +} + +void +InitFishs(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + sharks[i].x = 70000.0 + rand() % 6000; + sharks[i].y = rand() % 6000; + sharks[i].z = rand() % 6000; + sharks[i].psi = rand() % 360 - 180.0; + sharks[i].v = 1.0; + } + + dolph.x = 30000.0; + dolph.y = 0.0; + dolph.z = 6000.0; + dolph.psi = 90.0; + dolph.theta = 0.0; + dolph.v = 3.0; + + momWhale.x = 70000.0; + momWhale.y = 0.0; + momWhale.z = 0.0; + momWhale.psi = 90.0; + momWhale.theta = 0.0; + momWhale.v = 3.0; + + babyWhale.x = 60000.0; + babyWhale.y = -2000.0; + babyWhale.z = -2000.0; + babyWhale.psi = 90.0; + babyWhale.theta = 0.0; + babyWhale.v = 3.0; +} + +void +Atlantis_Init(void) +{ + static float ambient[] = {0.2, 0.2, 0.2, 1.0}; + static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; + static float position[] = {0.0, 1.0, 0.0, 0.0}; + static float mat_shininess[] = {90.0}; + static float mat_specular[] = {0.8, 0.8, 0.8, 1.0}; + static float mat_diffuse[] = {0.46, 0.66, 0.795, 1.0}; + static float mat_ambient[] = {0.3, 0.4, 0.5, 1.0}; + static float lmodel_ambient[] = {0.4, 0.4, 0.4, 1.0}; + static float lmodel_localviewer[] = {0.0}; + //GLfloat map1[4] = {0.0, 0.0, 0.0, 0.0}; + //GLfloat map2[4] = {0.0, 0.0, 0.0, 0.0}; + static float fog_color[] = {0.0, 0.5, 0.9, 1.0}; + + glFrontFace(GL_CCW); + + glDepthFunc(GL_LESS); + glEnable(GL_DEPTH_TEST); + + glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); + glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); + glLightfv(GL_LIGHT0, GL_POSITION, position); + glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); + glLightModelfv(GL_LIGHT_MODEL_LOCAL_VIEWER, lmodel_localviewer); + glEnable(GL_LIGHTING); + glEnable(GL_LIGHT0); + + glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, mat_shininess); + glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular); + glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse); + glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient); + + InitFishs(); + + glEnable(GL_FOG); + glFogi(GL_FOG_MODE, GL_EXP); + glFogf(GL_FOG_DENSITY, 0.0000025); + glFogfv(GL_FOG_COLOR, fog_color); + + glClearColor(0.0, 0.5, 0.9, 1.0); +} + +void +Atlantis_Reshape(int width, int height) +{ + w_win = width; + h_win = height; + + glViewport(0, 0, width, height); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + gluPerspective(60.0, (GLfloat) width / (GLfloat) height, 20000.0, 300000.0); + glMatrixMode(GL_MODELVIEW); +} + +void +Atlantis_Animate(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + SharkPilot(&sharks[i]); + SharkMiss(i); + } + WhalePilot(&dolph); + dolph.phi++; + //glutPostRedisplay(); + WhalePilot(&momWhale); + momWhale.phi++; + WhalePilot(&babyWhale); + babyWhale.phi++; +} + +void +Atlantis_Key(unsigned char key, int x, int y) +{ + switch (key) { + case 't': + Timing = !Timing; + break; + case ' ': + switch(StrMode) + { + case GL_EXTENSIONS: + StrMode = GL_VENDOR; + break; + case GL_VENDOR: + StrMode = GL_RENDERER; + break; + case GL_RENDERER: + StrMode = GL_VERSION; + break; + case GL_VERSION: + StrMode = GL_EXTENSIONS; + break; + } + break; + case 27: /* Esc will quit */ + exit(1); + break; + case 's': /* "s" start animation */ + moving = GL_TRUE; + //glutIdleFunc(Animate); + break; + case 'a': /* "a" stop animation */ + moving = GL_FALSE; + //glutIdleFunc(NULL); + break; + case '.': /* "." will advance frame */ + if (!moving) { + Atlantis_Animate(); + } + } +} +/* +void Display(void) +{ + static float P123[3] = {-448.94, -203.14, 9499.60}; + static float P124[3] = {-442.64, -185.20, 9528.07}; + static float P125[3] = {-441.07, -148.05, 9528.07}; + static float P126[3] = {-443.43, -128.84, 9499.60}; + static float P127[3] = {-456.87, -146.78, 9466.67}; + static float P128[3] = {-453.68, -183.93, 9466.67}; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glutSwapBuffers(); +} +*/ + +void +Atlantis_Display(void) +{ + int i; + static double th[4] = {0.0, 0.0, 0.0, 0.0}; + static double t1 = 0.0, t2 = 0.0, t; + char num_str[128]; + + t1 = t2; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + for (i = 0; i < NUM_SHARKS; i++) { + glPushMatrix(); + FishTransform(&sharks[i]); + DrawShark(&sharks[i]); + glPopMatrix(); + } + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&momWhale); + DrawWhale(&momWhale); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&babyWhale); + glScalef(0.45, 0.45, 0.3); + DrawWhale(&babyWhale); + glPopMatrix(); + + if(Timing) + { + t2 = mtime(); + t = t2 - t1; + if(t > 0.0001) t = 1.0 / t; + + glDisable(GL_LIGHTING); + //glDisable(GL_DEPTH_TEST); + + glColor3f(1.0, 0.0, 0.0); + + glMatrixMode (GL_PROJECTION); + glPushMatrix(); + glLoadIdentity(); + glOrtho(0, w_win, 0, h_win, -10.0, 10.0); + + glRasterPos2f(5.0, 5.0); + + switch(StrMode) + { + case GL_VENDOR: + sprintf(num_str, "%0.2f Hz, %dx%d, VENDOR: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VENDOR)); + break; + case GL_RENDERER: + sprintf(num_str, "%0.2f Hz, %dx%d, RENDERER: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_RENDERER)); + break; + case GL_VERSION: + sprintf(num_str, "%0.2f Hz, %dx%d, VERSION: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VERSION)); + break; + case GL_EXTENSIONS: + sprintf(num_str, "%0.2f Hz, %dx%d, EXTENSIONS: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_EXTENSIONS)); + break; + } + + glPopMatrix(); + glMatrixMode(GL_MODELVIEW); + + glEnable(GL_LIGHTING); + //glEnable(GL_DEPTH_TEST); + } + + count++; + + glutSwapBuffers(); +} + +/* +void +Visible(int state) +{ + if (state == GLUT_VISIBLE) { + if (moving) + glutIdleFunc(Animate); + } else { + if (moving) + glutIdleFunc(NULL); + } +} + + +void +timingSelect(int value) +{ + switch(value) + { + case 1: + StrMode = GL_VENDOR; + break; + case 2: + StrMode = GL_RENDERER; + break; + case 3: + StrMode = GL_VERSION; + break; + case 4: + StrMode = GL_EXTENSIONS; + break; + } +} + +void +menuSelect(int value) +{ + switch (value) { + case 1: + moving = GL_TRUE; + glutIdleFunc(Animate); + break; + case 2: + moving = GL_FALSE; + glutIdleFunc(NULL); + break; + case 4: + exit(0); + break; + } +} + +int +main(int argc, char **argv) +{ + GLboolean fullscreen = GL_FALSE; + GLint time_menu; + + srand(0); + + glutInit(&argc, argv); + if (argc > 1 && !strcmp(argv[1], "-w")) + fullscreen = GL_FALSE; + + //glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH); + glutInitDisplayString("rgba double depth=24"); + if (fullscreen) { + glutGameModeString("1024x768:32"); + glutEnterGameMode(); + } else { + glutInitWindowSize(320, 240); + glutCreateWindow("Atlantis Timing"); + } + Init(); + glutDisplayFunc(Display); + glutReshapeFunc(Reshape); + glutKeyboardFunc(Key); + moving = GL_TRUE; +glutIdleFunc(Animate); + glutVisibilityFunc(Visible); + + time_menu = glutCreateMenu(timingSelect); + glutAddMenuEntry("GL_VENDOR", 1); + glutAddMenuEntry("GL_RENDERER", 2); + glutAddMenuEntry("GL_VERSION", 3); + glutAddMenuEntry("GL_EXTENSIONS", 4); + + glutCreateMenu(menuSelect); + glutAddMenuEntry("Start motion", 1); + glutAddMenuEntry("Stop motion", 2); + glutAddSubMenu("Timing Mode", time_menu); + glutAddMenuEntry("Quit", 4); + + //glutAttachMenu(GLUT_RIGHT_BUTTON); + glutAttachMenu(GLUT_RIGHT_BUTTON); + glutMainLoop(); + return 0; // ANSI C requires main to return int. +} +*/ \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h new file mode 100644 index 0000000..6ccf2d5 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h @@ -0,0 +1,65 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#define RAD 57.295 +#define RRAD 0.01745 + +#define NUM_SHARKS 4 +#define SHARKSIZE 6000 +#define SHARKSPEED 100.0 + +#define WHALESPEED 250.0 + +typedef struct _fishRec { + float x, y, z, phi, theta, psi, v; + float xt, yt, zt; + float htail, vtail; + float dtheta; + int spurt, attack; +} fishRec; + +extern fishRec sharks[NUM_SHARKS]; +extern fishRec momWhale; +extern fishRec babyWhale; +extern fishRec dolph; + +extern void FishTransform(fishRec *); +extern void WhalePilot(fishRec *); +extern void SharkPilot(fishRec *); +extern void SharkMiss(int); +extern void DrawWhale(fishRec *); +extern void DrawShark(fishRec *); +extern void DrawDolphin(fishRec *); diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c new file mode 100644 index 0000000..9fba3ba --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c @@ -0,0 +1,1934 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {-0.005937 ,-0.101998 ,-0.994767}; +static float N002[3] = {0.936780 ,-0.200803 ,0.286569}; +static float N003[3] = {-0.233062 ,0.972058 ,0.028007}; +static float N005[3] = {0.898117 ,0.360171 ,0.252315}; +static float N006[3] = {-0.915437 ,0.348456 ,0.201378}; +static float N007[3] = {0.602263 ,-0.777527 ,0.180920}; +static float N008[3] = {-0.906912 ,-0.412015 ,0.088061}; +static float N012[3] = {0.884408 ,-0.429417 ,-0.182821}; +static float N013[3] = {0.921121 ,0.311084 ,-0.234016}; +static float N014[3] = {0.382635 ,0.877882 ,-0.287948}; +static float N015[3] = {-0.380046 ,0.888166 ,-0.258316}; +static float N016[3] = {-0.891515 ,0.392238 ,-0.226607}; +static float N017[3] = {-0.901419 ,-0.382002 ,-0.203763}; +static float N018[3] = {-0.367225 ,-0.911091 ,-0.187243}; +static float N019[3] = {0.339539 ,-0.924846 ,-0.171388}; +static float N020[3] = {0.914706 ,-0.378617 ,-0.141290}; +static float N021[3] = {0.950662 ,0.262713 ,-0.164994}; +static float N022[3] = {0.546359 ,0.801460 ,-0.243218}; +static float N023[3] = {-0.315796 ,0.917068 ,-0.243431}; +static float N024[3] = {-0.825687 ,0.532277 ,-0.186875}; +static float N025[3] = {-0.974763 ,-0.155232 ,-0.160435}; +static float N026[3] = {-0.560596 ,-0.816658 ,-0.137119}; +static float N027[3] = {0.380210 ,-0.910817 ,-0.160786}; +static float N028[3] = {0.923772 ,-0.358322 ,-0.135093}; +static float N029[3] = {0.951202 ,0.275053 ,-0.139859}; +static float N030[3] = {0.686099 ,0.702548 ,-0.188932}; +static float N031[3] = {-0.521865 ,0.826719 ,-0.210220}; +static float N032[3] = {-0.923820 ,0.346739 ,-0.162258}; +static float N033[3] = {-0.902095 ,-0.409995 ,-0.134646}; +static float N034[3] = {-0.509115 ,-0.848498 ,-0.144404}; +static float N035[3] = {0.456469 ,-0.880293 ,-0.129305}; +static float N036[3] = {0.873401 ,-0.475489 ,-0.105266}; +static float N037[3] = {0.970825 ,0.179861 ,-0.158584}; +static float N038[3] = {0.675609 ,0.714187 ,-0.183004}; +static float N039[3] = {-0.523574 ,0.830212 ,-0.191360}; +static float N040[3] = {-0.958895 ,0.230808 ,-0.165071}; +static float N041[3] = {-0.918285 ,-0.376803 ,-0.121542}; +static float N042[3] = {-0.622467 ,-0.774167 ,-0.114888}; +static float N043[3] = {0.404497 ,-0.908807 ,-0.102231}; +static float N044[3] = {0.930538 ,-0.365155 ,-0.027588}; +static float N045[3] = {0.921920 ,0.374157 ,-0.100345}; +static float N046[3] = {0.507346 ,0.860739 ,0.041562}; +static float N047[3] = {-0.394646 ,0.918815 ,-0.005730}; +static float N048[3] = {-0.925411 ,0.373024 ,-0.066837}; +static float N049[3] = {-0.945337 ,-0.322309 ,-0.049551}; +static float N050[3] = {-0.660437 ,-0.750557 ,-0.022072}; +static float N051[3] = {0.488835 ,-0.871950 ,-0.027261}; +static float N052[3] = {0.902599 ,-0.421397 ,0.087969}; +static float N053[3] = {0.938636 ,0.322606 ,0.122020}; +static float N054[3] = {0.484605 ,0.871078 ,0.079878}; +static float N055[3] = {-0.353607 ,0.931559 ,0.084619}; +static float N056[3] = {-0.867759 ,0.478564 ,0.134054}; +static float N057[3] = {-0.951583 ,-0.296030 ,0.082794}; +static float N058[3] = {-0.672355 ,-0.730209 ,0.121384}; +static float N059[3] = {0.528336 ,-0.842452 ,0.105525}; +static float N060[3] = {0.786913 ,-0.564760 ,0.248627}; +static float N062[3] = {0.622098 ,0.765230 ,0.165584}; +static float N063[3] = {-0.631711 ,0.767816 ,0.106773}; +static float N064[3] = {-0.687886 ,0.606351 ,0.398938}; +static float N065[3] = {-0.946327 ,-0.281623 ,0.158598}; +static float N066[3] = {-0.509549 ,-0.860437 ,0.002776}; +static float N067[3] = {0.462594 ,-0.876692 ,0.131977}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N078[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N079[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N080[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N081[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N082[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N083[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N084[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N085[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N086[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N087[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N088[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N089[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N090[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N097[3] = {-0.697296 ,0.702881 ,0.140491}; +static float N098[3] = {0.918864 ,0.340821 ,0.198819}; +static float N099[3] = {-0.932737 ,0.201195 ,0.299202}; +static float N100[3] = {0.029517 ,0.981679 ,0.188244}; +static float N102[3] = {0.813521 ,-0.204936 ,0.544229}; +static float N110[3] = {-0.781480 ,-0.384779 ,0.491155}; +static float N111[3] = {-0.722243 ,0.384927 ,0.574627}; +static float N112[3] = {-0.752278 ,0.502679 ,0.425901}; +static float N113[3] = {0.547257 ,0.367910 ,0.751766}; +static float N114[3] = {0.725949 ,-0.232568 ,0.647233}; +static float N115[3] = {-0.747182 ,-0.660786 ,0.071280}; +static float N116[3] = {0.931519 ,0.200748 ,0.303270}; +static float N117[3] = {-0.828928 ,0.313757 ,0.463071}; +static float N118[3] = {0.902554 ,-0.370967 ,0.218587}; +static float N119[3] = {-0.879257 ,-0.441851 ,0.177973}; +static float N120[3] = {0.642327 ,0.611901 ,0.461512}; +static float N121[3] = {0.964817 ,-0.202322 ,0.167910}; +static float N122[3] = {0.000000 ,1.000000 ,0.000000}; +static float P001[3] = {5.68, -300.95, 1324.70}; +static float P002[3] = {338.69, -219.63, 9677.03}; +static float P003[3] = {12.18, 474.59, 9138.14}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 68.74, 9427.85}; +static float P007[3] = {156.52, -266.72, 10311.68}; +static float P008[3] = {-185.56, -266.51, 10310.47}; +static float P009[3] = {124.39, -261.46, 1942.34}; +static float P010[3] = {-130.05, -261.46, 1946.03}; +static float P011[3] = {141.07, -320.11, 1239.38}; +static float P012[3] = {156.48, -360.12, 2073.41}; +static float P013[3] = {162.00, -175.88, 2064.44}; +static float P014[3] = {88.16, -87.72, 2064.02}; +static float P015[3] = {-65.21, -96.13, 2064.02}; +static float P016[3] = {-156.48, -180.96, 2064.44}; +static float P017[3] = {-162.00, -368.93, 2082.39}; +static float P018[3] = {-88.16, -439.22, 2082.39}; +static float P019[3] = {65.21, -440.32, 2083.39}; +static float P020[3] = {246.87, -356.02, 2576.95}; +static float P021[3] = {253.17, -111.15, 2567.15}; +static float P022[3] = {132.34, 51.41, 2559.84}; +static float P023[3] = {-97.88, 40.44, 2567.15}; +static float P024[3] = {-222.97, -117.49, 2567.15}; +static float P025[3] = {-252.22, -371.53, 2569.92}; +static float P026[3] = {-108.44, -518.19, 2586.75}; +static float P027[3] = {97.88, -524.79, 2586.75}; +static float P028[3] = {370.03, -421.19, 3419.70}; +static float P029[3] = {351.15, -16.98, 3423.17}; +static float P030[3] = {200.66, 248.46, 3430.37}; +static float P031[3] = {-148.42, 235.02, 3417.91}; +static float P032[3] = {-360.21, -30.27, 3416.84}; +static float P033[3] = {-357.90, -414.89, 3407.04}; +static float P034[3] = {-148.88, -631.35, 3409.90}; +static float P035[3] = {156.38, -632.59, 3419.70}; +static float P036[3] = {462.61, -469.21, 4431.51}; +static float P037[3] = {466.60, 102.25, 4434.98}; +static float P038[3] = {243.05, 474.34, 4562.02}; +static float P039[3] = {-191.23, 474.40, 4554.42}; +static float P040[3] = {-476.12, 111.05, 4451.11}; +static float P041[3] = {-473.36, -470.74, 4444.78}; +static float P042[3] = {-266.95, -748.41, 4447.78}; +static float P043[3] = {211.14, -749.91, 4429.73}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 6360.63}; +static float P046[3] = {371.29, 804.51, 6486.26}; +static float P047[3] = {-291.43, 797.22, 6494.28}; +static float P048[3] = {-784.13, 370.75, 6378.01}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float iP001[3] = {5.68, -300.95, 1324.70}; +static float iP009[3] = {124.39, -261.46, 1942.34}; +static float iP010[3] = {-130.05, -261.46, 1946.03}; +static float iP011[3] = {141.07, -320.11, 1239.38}; +static float iP012[3] = {156.48, -360.12, 2073.41}; +static float iP013[3] = {162.00, -175.88, 2064.44}; +static float iP014[3] = {88.16, -87.72, 2064.02}; +static float iP015[3] = {-65.21, -96.13, 2064.02}; +static float iP016[3] = {-156.48, -180.96, 2064.44}; +static float iP017[3] = {-162.00, -368.93, 2082.39}; +static float iP018[3] = {-88.16, -439.22, 2082.39}; +static float iP019[3] = {65.21, -440.32, 2083.39}; +static float iP020[3] = {246.87, -356.02, 2576.95}; +static float iP021[3] = {253.17, -111.15, 2567.15}; +static float iP022[3] = {132.34, 51.41, 2559.84}; +static float iP023[3] = {-97.88, 40.44, 2567.15}; +static float iP024[3] = {-222.97, -117.49, 2567.15}; +static float iP025[3] = {-252.22, -371.53, 2569.92}; +static float iP026[3] = {-108.44, -518.19, 2586.75}; +static float iP027[3] = {97.88, -524.79, 2586.75}; +static float iP028[3] = {370.03, -421.19, 3419.70}; +static float iP029[3] = {351.15, -16.98, 3423.17}; +static float iP030[3] = {200.66, 248.46, 3430.37}; +static float iP031[3] = {-148.42, 235.02, 3417.91}; +static float iP032[3] = {-360.21, -30.27, 3416.84}; +static float iP033[3] = {-357.90, -414.89, 3407.04}; +static float iP034[3] = {-148.88, -631.35, 3409.90}; +static float iP035[3] = {156.38, -632.59, 3419.70}; +static float iP036[3] = {462.61, -469.21, 4431.51}; +static float iP037[3] = {466.60, 102.25, 4434.98}; +static float iP038[3] = {243.05, 474.34, 4562.02}; +static float iP039[3] = {-191.23, 474.40, 4554.42}; +static float iP040[3] = {-476.12, 111.05, 4451.11}; +static float iP041[3] = {-473.36, -470.74, 4444.78}; +static float iP042[3] = {-266.95, -748.41, 4447.78}; +static float iP043[3] = {211.14, -749.91, 4429.73}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 6360.63}; +static float iP046[3] = {371.29, 804.51, 6486.26}; +static float iP047[3] = {-291.43, 797.22, 6494.28}; +static float iP048[3] = {-784.13, 370.75, 6378.01}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -300.15, 7894.03}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {246.22, 558.53, 8460.50}; +static float P055[3] = {-230.41, 559.84, 8473.23}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 338.75, 9450.30}; +static float P063[3] = {-165.71, 341.04, 9462.35}; +static float P064[3] = {-298.11, 110.13, 10180.37}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -491.45, 9348.73}; +static float P068[3] = {-136.29, -319.84, 1228.73}; +static float P069[3] = {1111.17, -314.14, 1314.19}; +static float P070[3] = {-1167.34, -321.61, 1319.45}; +static float P071[3] = {1404.86, -306.66, 1235.45}; +static float P072[3] = {-1409.73, -314.14, 1247.66}; +static float P073[3] = {1254.01, -296.87, 1544.58}; +static float P074[3] = {-1262.09, -291.70, 1504.26}; +static float P075[3] = {965.71, -269.26, 1742.65}; +static float P076[3] = {-900.97, -276.74, 1726.07}; +static float iP068[3] = {-136.29, -319.84, 1228.73}; +static float iP069[3] = {1111.17, -314.14, 1314.19}; +static float iP070[3] = {-1167.34, -321.61, 1319.45}; +static float iP071[3] = {1404.86, -306.66, 1235.45}; +static float iP072[3] = {-1409.73, -314.14, 1247.66}; +static float iP073[3] = {1254.01, -296.87, 1544.58}; +static float iP074[3] = {-1262.09, -291.70, 1504.26}; +static float iP075[3] = {965.71, -269.26, 1742.65}; +static float iP076[3] = {-900.97, -276.74, 1726.07}; +static float P077[3] = {1058.00, -448.81, 8194.66}; +static float P078[3] = {-1016.51, -456.43, 8190.62}; +static float P079[3] = {-1515.96, -676.45, 7754.93}; +static float P080[3] = {1856.75, -830.34, 7296.56}; +static float P081[3] = {1472.16, -497.38, 7399.68}; +static float P082[3] = {-1775.26, -829.51, 7298.46}; +static float P083[3] = {911.09, -252.51, 7510.99}; +static float P084[3] = {-1451.94, -495.62, 7384.30}; +static float P085[3] = {1598.75, -669.26, 7769.90}; +static float P086[3] = {-836.53, -250.08, 7463.25}; +static float P087[3] = {722.87, -158.18, 8006.41}; +static float P088[3] = {-688.86, -162.28, 7993.89}; +static float P089[3] = {-626.92, -185.30, 8364.98}; +static float P090[3] = {647.72, -189.46, 8354.99}; +static float P091[3] = {0.00, 835.01, 5555.62}; +static float P092[3] = {0.00, 1350.18, 5220.86}; +static float P093[3] = {0.00, 1422.94, 5285.27}; +static float P094[3] = {0.00, 1296.75, 5650.19}; +static float P095[3] = {0.00, 795.63, 6493.88}; +static float iP091[3] = {0.00, 835.01, 5555.62}; +static float iP092[3] = {0.00, 1350.18, 5220.86}; +static float iP093[3] = {0.00, 1422.94, 5285.27}; +static float iP094[3] = {0.00, 1296.75, 5650.19}; +static float iP095[3] = {0.00, 795.63, 6493.88}; +static float P097[3] = {-194.91, -357.14, 10313.32}; +static float P098[3] = {135.35, -357.66, 10307.94}; +static float iP097[3] = {-194.91, -357.14, 10313.32}; +static float iP098[3] = {135.35, -357.66, 10307.94}; +static float P099[3] = {-380.53, -221.14, 9677.98}; +static float P100[3] = {0.00, 412.99, 9629.33}; +static float P102[3] = {59.51, -412.55, 10677.58}; +static float iP102[3] = {59.51, -412.55, 10677.58}; +static float P103[3] = {6.50, 484.74, 9009.94}; +static float P105[3] = {-41.86, 476.51, 9078.17}; +static float P108[3] = {49.20, 476.83, 9078.24}; +static float P110[3] = {-187.62, -410.04, 10674.12}; +static float iP110[3] = {-187.62, -410.04, 10674.12}; +static float P111[3] = {-184.25, -318.70, 10723.88}; +static float iP111[3] = {-184.25, -318.70, 10723.88}; +static float P112[3] = {-179.61, -142.81, 10670.26}; +static float P113[3] = {57.43, -147.94, 10675.26}; +static float P114[3] = {54.06, -218.90, 10712.44}; +static float P115[3] = {-186.35, -212.09, 10713.76}; +static float P116[3] = {205.90, -84.61, 10275.97}; +static float P117[3] = {-230.96, -83.26, 10280.09}; +static float iP118[3] = {216.78, -509.17, 10098.94}; +static float iP119[3] = {-313.21, -510.79, 10102.62}; +static float P118[3] = {216.78, -509.17, 10098.94}; +static float P119[3] = {-313.21, -510.79, 10102.62}; +static float P120[3] = {217.95, 96.34, 10161.62}; +static float P121[3] = {71.99, -319.74, 10717.70}; +static float iP121[3] = {71.99, -319.74, 10717.70}; +static float P122[3] = {0.00, 602.74, 5375.84}; +static float iP122[3] = {0.00, 602.74, 5375.84}; +static float P123[3] = {-448.94, -203.14, 9499.60}; +static float P124[3] = {-442.64, -185.20, 9528.07}; +static float P125[3] = {-441.07, -148.05, 9528.07}; +static float P126[3] = {-443.43, -128.84, 9499.60}; +static float P127[3] = {-456.87, -146.78, 9466.67}; +static float P128[3] = {-453.68, -183.93, 9466.67}; +static float P129[3] = {428.43, -124.08, 9503.03}; +static float P130[3] = {419.73, -142.14, 9534.56}; +static float P131[3] = {419.92, -179.96, 9534.56}; +static float P132[3] = {431.20, -199.73, 9505.26}; +static float P133[3] = {442.28, -181.67, 9475.96}; +static float P134[3] = {442.08, -143.84, 9475.96}; +/* *INDENT-ON* */ + +void +Dolphin001(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P076); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P072); + glVertex3fv(P074); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P072); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P074); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P068); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P001); + glVertex3fv(P010); + glEnd(); +} + +void +Dolphin002(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P001); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P075); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P075); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P069); + glVertex3fv(P073); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P009); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P069); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P073); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P071); + glVertex3fv(P073); + glEnd(); +} + +void +Dolphin003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Dolphin004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Dolphin005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Dolphin006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N091); + glVertex3fv(P091); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Dolphin007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Dolphin008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Dolphin009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Dolphin010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Dolphin011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Dolphin012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); +} + +void +Dolphin013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N113); + glVertex3fv(P113); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P007); + glVertex3fv(P008); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P007); + glVertex3fv(P114); + glVertex3fv(P115); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N112); + glVertex3fv(P112); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); +} + +void +Dolphin014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P098); + glVertex3fv(P097); + glVertex3fv(P111); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P099); + glVertex3fv(P097); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); +} + +void +Dolphin015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N117); + glVertex3fv(P117); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Dolphin016(void) +{ + + glDisable(GL_DEPTH_TEST); + glBegin(GL_POLYGON); + glVertex3fv(P123); + glVertex3fv(P124); + glVertex3fv(P125); + glVertex3fv(P126); + glVertex3fv(P127); + glVertex3fv(P128); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P129); + glVertex3fv(P130); + glVertex3fv(P131); + glVertex3fv(P132); + glVertex3fv(P133); + glVertex3fv(P134); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P103); + glVertex3fv(P105); + glVertex3fv(P108); + glEnd(); + glEnable(GL_DEPTH_TEST); +} + +void +DrawDolphin(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (10.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg3 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.0 * thrash * sin((fish->htail + 4.0) * RRAD); + seg2 = 3.0 * thrash * sin((fish->htail + 6.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 10.0) * RRAD); + seg5 = 4.5 * thrash * sin((fish->htail + 15.0) * RRAD); + seg6 = 5.0 * thrash * sin((fish->htail + 20.0) * RRAD); + seg7 = 6.0 * thrash * sin((fish->htail + 30.0) * RRAD); + + pitch = fish->v * sin((fish->htail + 180.0) * RRAD); + + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + chomp = 100.0; + + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3; + P122[1] = iP122[1] + seg3 * 1.5; + + P097[1] = iP097[1] + chomp; + P098[1] = iP098[1] + chomp; + P102[1] = iP102[1] + chomp; + P110[1] = iP110[1] + chomp; + P111[1] = iP111[1] + chomp; + P121[1] = iP121[1] + chomp; + P118[1] = iP118[1] + chomp; + P119[1] = iP119[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 7000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glEnable(GL_CULL_FACE); + Dolphin014(); + Dolphin010(); + Dolphin009(); + Dolphin012(); + Dolphin013(); + Dolphin006(); + Dolphin002(); + Dolphin001(); + Dolphin003(); + Dolphin015(); + Dolphin004(); + Dolphin005(); + Dolphin007(); + Dolphin008(); + Dolphin011(); + Dolphin016(); + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c new file mode 100644 index 0000000..9c847db --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c @@ -0,0 +1,1308 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N002[3] = {0.000077 ,-0.020611 ,0.999788}; +static float N003[3] = {0.961425 ,0.258729 ,-0.093390}; +static float N004[3] = {0.510811 ,-0.769633 ,-0.383063}; +static float N005[3] = {0.400123 ,0.855734 ,-0.328055}; +static float N006[3] = {-0.770715 ,0.610204 ,-0.183440}; +static float N007[3] = {-0.915597 ,-0.373345 ,-0.149316}; +static float N008[3] = {-0.972788 ,0.208921 ,-0.100179}; +static float N009[3] = {-0.939713 ,-0.312268 ,-0.139383}; +static float N010[3] = {-0.624138 ,-0.741047 ,-0.247589}; +static float N011[3] = {0.591434 ,-0.768401 ,-0.244471}; +static float N012[3] = {0.935152 ,-0.328495 ,-0.132598}; +static float N013[3] = {0.997102 ,0.074243 ,-0.016593}; +static float N014[3] = {0.969995 ,0.241712 ,-0.026186}; +static float N015[3] = {0.844539 ,0.502628 ,-0.184714}; +static float N016[3] = {-0.906608 ,0.386308 ,-0.169787}; +static float N017[3] = {-0.970016 ,0.241698 ,-0.025516}; +static float N018[3] = {-0.998652 ,0.050493 ,-0.012045}; +static float N019[3] = {-0.942685 ,-0.333051 ,-0.020556}; +static float N020[3] = {-0.660944 ,-0.750276 ,0.015480}; +static float N021[3] = {0.503549 ,-0.862908 ,-0.042749}; +static float N022[3] = {0.953202 ,-0.302092 ,-0.012089}; +static float N023[3] = {0.998738 ,0.023574 ,0.044344}; +static float N024[3] = {0.979297 ,0.193272 ,0.060202}; +static float N025[3] = {0.798300 ,0.464885 ,0.382883}; +static float N026[3] = {-0.756590 ,0.452403 ,0.472126}; +static float N027[3] = {-0.953855 ,0.293003 ,0.065651}; +static float N028[3] = {-0.998033 ,0.040292 ,0.048028}; +static float N029[3] = {-0.977079 ,-0.204288 ,0.059858}; +static float N030[3] = {-0.729117 ,-0.675304 ,0.111140}; +static float N031[3] = {0.598361 ,-0.792753 ,0.116221}; +static float N032[3] = {0.965192 ,-0.252991 ,0.066332}; +static float N033[3] = {0.998201 ,-0.002790 ,0.059892}; +static float N034[3] = {0.978657 ,0.193135 ,0.070207}; +static float N035[3] = {0.718815 ,0.680392 ,0.142733}; +static float N036[3] = {-0.383096 ,0.906212 ,0.178936}; +static float N037[3] = {-0.952831 ,0.292590 ,0.080647}; +static float N038[3] = {-0.997680 ,0.032417 ,0.059861}; +static float N039[3] = {-0.982629 ,-0.169881 ,0.074700}; +static float N040[3] = {-0.695424 ,-0.703466 ,0.146700}; +static float N041[3] = {0.359323 ,-0.915531 ,0.180805}; +static float N042[3] = {0.943356 ,-0.319387 ,0.089842}; +static float N043[3] = {0.998272 ,-0.032435 ,0.048993}; +static float N044[3] = {0.978997 ,0.193205 ,0.065084}; +static float N045[3] = {0.872144 ,0.470094 ,-0.135565}; +static float N046[3] = {-0.664282 ,0.737945 ,-0.119027}; +static float N047[3] = {-0.954508 ,0.288570 ,0.075107}; +static float N048[3] = {-0.998273 ,0.032406 ,0.048993}; +static float N049[3] = {-0.979908 ,-0.193579 ,0.048038}; +static float N050[3] = {-0.858736 ,-0.507202 ,-0.072938}; +static float N051[3] = {0.643545 ,-0.763887 ,-0.048237}; +static float N052[3] = {0.955580 ,-0.288954 ,0.058068}; +static float N058[3] = {0.000050 ,0.793007 ,-0.609213}; +static float N059[3] = {0.913510 ,0.235418 ,-0.331779}; +static float N060[3] = {-0.807970 ,0.495000 ,-0.319625}; +static float N061[3] = {0.000000 ,0.784687 ,-0.619892}; +static float N062[3] = {0.000000 ,-1.000000 ,0.000000}; +static float N063[3] = {0.000000 ,1.000000 ,0.000000}; +static float N064[3] = {0.000000 ,1.000000 ,0.000000}; +static float N065[3] = {0.000000 ,1.000000 ,0.000000}; +static float N066[3] = {-0.055784 ,0.257059 ,0.964784}; +static float N069[3] = {-0.000505 ,-0.929775 ,-0.368127}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float P002[3] = {0.00, -36.59, 5687.72}; +static float P003[3] = {90.00, 114.73, 724.38}; +static float P004[3] = {58.24, -146.84, 262.35}; +static float P005[3] = {27.81, 231.52, 510.43}; +static float P006[3] = {-27.81, 230.43, 509.76}; +static float P007[3] = {-46.09, -146.83, 265.84}; +static float P008[3] = {-90.00, 103.84, 718.53}; +static float P009[3] = {-131.10, -165.92, 834.85}; +static float P010[3] = {-27.81, -285.31, 500.00}; +static float P011[3] = {27.81, -285.32, 500.00}; +static float P012[3] = {147.96, -170.89, 845.50}; +static float P013[3] = {180.00, 0.00, 2000.00}; +static float P014[3] = {145.62, 352.67, 2000.00}; +static float P015[3] = {55.62, 570.63, 2000.00}; +static float P016[3] = {-55.62, 570.64, 2000.00}; +static float P017[3] = {-145.62, 352.68, 2000.00}; +static float P018[3] = {-180.00, 0.01, 2000.00}; +static float P019[3] = {-178.20, -352.66, 2001.61}; +static float P020[3] = {-55.63, -570.63, 2000.00}; +static float P021[3] = {55.62, -570.64, 2000.00}; +static float P022[3] = {179.91, -352.69, 1998.39}; +static float P023[3] = {150.00, 0.00, 3000.00}; +static float P024[3] = {121.35, 293.89, 3000.00}; +static float P025[3] = {46.35, 502.93, 2883.09}; +static float P026[3] = {-46.35, 497.45, 2877.24}; +static float P027[3] = {-121.35, 293.90, 3000.00}; +static float P028[3] = {-150.00, 0.00, 3000.00}; +static float P029[3] = {-152.21, -304.84, 2858.68}; +static float P030[3] = {-46.36, -475.52, 3000.00}; +static float P031[3] = {46.35, -475.53, 3000.00}; +static float P032[3] = {155.64, -304.87, 2863.50}; +static float P033[3] = {90.00, 0.00, 4000.00}; +static float P034[3] = {72.81, 176.33, 4000.00}; +static float P035[3] = {27.81, 285.32, 4000.00}; +static float P036[3] = {-27.81, 285.32, 4000.00}; +static float P037[3] = {-72.81, 176.34, 4000.00}; +static float P038[3] = {-90.00, 0.00, 4000.00}; +static float P039[3] = {-72.81, -176.33, 4000.00}; +static float P040[3] = {-27.81, -285.31, 4000.00}; +static float P041[3] = {27.81, -285.32, 4000.00}; +static float P042[3] = {72.81, -176.34, 4000.00}; +static float P043[3] = {30.00, 0.00, 5000.00}; +static float P044[3] = {24.27, 58.78, 5000.00}; +static float P045[3] = {9.27, 95.11, 5000.00}; +static float P046[3] = {-9.27, 95.11, 5000.00}; +static float P047[3] = {-24.27, 58.78, 5000.00}; +static float P048[3] = {-30.00, 0.00, 5000.00}; +static float P049[3] = {-24.27, -58.78, 5000.00}; +static float P050[3] = {-9.27, -95.10, 5000.00}; +static float P051[3] = {9.27, -95.11, 5000.00}; +static float P052[3] = {24.27, -58.78, 5000.00}; +static float P058[3] = {0.00, 1212.72, 2703.08}; +static float P059[3] = {50.36, 0.00, 108.14}; +static float P060[3] = {-22.18, 0.00, 108.14}; +static float P061[3] = {0.00, 1181.61, 6344.65}; +static float P062[3] = {516.45, -887.08, 2535.45}; +static float P063[3] = {-545.69, -879.31, 2555.63}; +static float P064[3] = {618.89, -1005.64, 2988.32}; +static float P065[3] = {-635.37, -1014.79, 2938.68}; +static float P066[3] = {0.00, 1374.43, 3064.18}; +static float P069[3] = {0.00, -418.25, 5765.04}; +static float P070[3] = {0.00, 1266.91, 6629.60}; +static float P071[3] = {-139.12, -124.96, 997.98}; +static float P072[3] = {-139.24, -110.18, 1020.68}; +static float P073[3] = {-137.33, -94.52, 1022.63}; +static float P074[3] = {-137.03, -79.91, 996.89}; +static float P075[3] = {-135.21, -91.48, 969.14}; +static float P076[3] = {-135.39, -110.87, 968.76}; +static float P077[3] = {150.23, -78.44, 995.53}; +static float P078[3] = {152.79, -92.76, 1018.46}; +static float P079[3] = {154.19, -110.20, 1020.55}; +static float P080[3] = {151.33, -124.15, 993.77}; +static float P081[3] = {150.49, -111.19, 969.86}; +static float P082[3] = {150.79, -92.41, 969.70}; +static float iP002[3] = {0.00, -36.59, 5687.72}; +static float iP004[3] = {58.24, -146.84, 262.35}; +static float iP007[3] = {-46.09, -146.83, 265.84}; +static float iP010[3] = {-27.81, -285.31, 500.00}; +static float iP011[3] = {27.81, -285.32, 500.00}; +static float iP023[3] = {150.00, 0.00, 3000.00}; +static float iP024[3] = {121.35, 293.89, 3000.00}; +static float iP025[3] = {46.35, 502.93, 2883.09}; +static float iP026[3] = {-46.35, 497.45, 2877.24}; +static float iP027[3] = {-121.35, 293.90, 3000.00}; +static float iP028[3] = {-150.00, 0.00, 3000.00}; +static float iP029[3] = {-121.35, -304.84, 2853.86}; +static float iP030[3] = {-46.36, -475.52, 3000.00}; +static float iP031[3] = {46.35, -475.53, 3000.00}; +static float iP032[3] = {121.35, -304.87, 2853.86}; +static float iP033[3] = {90.00, 0.00, 4000.00}; +static float iP034[3] = {72.81, 176.33, 4000.00}; +static float iP035[3] = {27.81, 285.32, 4000.00}; +static float iP036[3] = {-27.81, 285.32, 4000.00}; +static float iP037[3] = {-72.81, 176.34, 4000.00}; +static float iP038[3] = {-90.00, 0.00, 4000.00}; +static float iP039[3] = {-72.81, -176.33, 4000.00}; +static float iP040[3] = {-27.81, -285.31, 4000.00}; +static float iP041[3] = {27.81, -285.32, 4000.00}; +static float iP042[3] = {72.81, -176.34, 4000.00}; +static float iP043[3] = {30.00, 0.00, 5000.00}; +static float iP044[3] = {24.27, 58.78, 5000.00}; +static float iP045[3] = {9.27, 95.11, 5000.00}; +static float iP046[3] = {-9.27, 95.11, 5000.00}; +static float iP047[3] = {-24.27, 58.78, 5000.00}; +static float iP048[3] = {-30.00, 0.00, 5000.00}; +static float iP049[3] = {-24.27, -58.78, 5000.00}; +static float iP050[3] = {-9.27, -95.10, 5000.00}; +static float iP051[3] = {9.27, -95.11, 5000.00}; +static float iP052[3] = {24.27, -58.78, 5000.00}; +static float iP061[3] = {0.00, 1181.61, 6344.65}; +static float iP069[3] = {0.00, -418.25, 5765.04}; +static float iP070[3] = {0.00, 1266.91, 6629.60}; +/* *INDENT-ON* */ + +void +Fish001(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N017); + glVertex3fv(P017); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N007); + glVertex3fv(P007); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P072); + glVertex3fv(P073); + glVertex3fv(P074); + glVertex3fv(P075); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P077); + glVertex3fv(P078); + glVertex3fv(P079); + glVertex3fv(P080); + glVertex3fv(P081); + glVertex3fv(P082); + glEnd(); +} + +void +Fish002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); +} + +void +Fish004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N070); + glVertex3fv(P070); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); +} + +void +Fish005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Fish006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); +} + +void +Fish007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); +} + +void +Fish008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish009(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P059); + glVertex3fv(P012); + glVertex3fv(P009); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P012); + glVertex3fv(P004); + glVertex3fv(P007); + glVertex3fv(P009); + glEnd(); +} + +void +Fish_1(void) +{ + Fish004(); + Fish005(); + Fish003(); + Fish007(); + Fish006(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); +} + +void +Fish_2(void) +{ + Fish005(); + Fish004(); + Fish003(); + Fish008(); + Fish006(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); +} + +void +Fish_3(void) +{ + Fish005(); + Fish004(); + Fish007(); + Fish003(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_4(void) +{ + Fish005(); + Fish004(); + Fish008(); + Fish003(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_5(void) +{ + Fish009(); + Fish006(); + Fish007(); + Fish001(); + Fish002(); + Fish003(); + Fish008(); + Fish004(); + Fish005(); +} + +void +Fish_6(void) +{ + Fish009(); + Fish006(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish004(); + Fish005(); +} + +void +Fish_7(void) +{ + Fish009(); + Fish001(); + Fish007(); + Fish005(); + Fish002(); + Fish008(); + Fish003(); + Fish004(); + Fish006(); +} + +void +Fish_8(void) +{ + Fish009(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish005(); + Fish004(); + Fish006(); +} + +void +DrawShark(fishRec * fish) +{ + float mat[4][4]; + int n; + float seg1, seg2, seg3, seg4, segup; + float thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 50.0 * fish->v; + + seg1 = 0.6 * thrash * sin(fish->htail * RRAD); + seg2 = 1.8 * thrash * sin((fish->htail + 45.0) * RRAD); + seg3 = 3.0 * thrash * sin((fish->htail + 90.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 110.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P004[1] = iP004[1] + chomp; + P007[1] = iP007[1] + chomp; + P010[1] = iP010[1] + chomp; + P011[1] = iP011[1] + chomp; + + P023[0] = iP023[0] + seg1; + P024[0] = iP024[0] + seg1; + P025[0] = iP025[0] + seg1; + P026[0] = iP026[0] + seg1; + P027[0] = iP027[0] + seg1; + P028[0] = iP028[0] + seg1; + P029[0] = iP029[0] + seg1; + P030[0] = iP030[0] + seg1; + P031[0] = iP031[0] + seg1; + P032[0] = iP032[0] + seg1; + P033[0] = iP033[0] + seg2; + P034[0] = iP034[0] + seg2; + P035[0] = iP035[0] + seg2; + P036[0] = iP036[0] + seg2; + P037[0] = iP037[0] + seg2; + P038[0] = iP038[0] + seg2; + P039[0] = iP039[0] + seg2; + P040[0] = iP040[0] + seg2; + P041[0] = iP041[0] + seg2; + P042[0] = iP042[0] + seg2; + P043[0] = iP043[0] + seg3; + P044[0] = iP044[0] + seg3; + P045[0] = iP045[0] + seg3; + P046[0] = iP046[0] + seg3; + P047[0] = iP047[0] + seg3; + P048[0] = iP048[0] + seg3; + P049[0] = iP049[0] + seg3; + P050[0] = iP050[0] + seg3; + P051[0] = iP051[0] + seg3; + P052[0] = iP052[0] + seg3; + P002[0] = iP002[0] + seg4; + P061[0] = iP061[0] + seg4; + P069[0] = iP069[0] + seg4; + P070[0] = iP070[0] + seg4; + + fish->vtail += ((fish->dtheta - fish->vtail) * 0.1); + + if (fish->vtail > 0.5) { + fish->vtail = 0.5; + } else if (fish->vtail < -0.5) { + fish->vtail = -0.5; + } + segup = thrash * fish->vtail; + + P023[1] = iP023[1] + segup; + P024[1] = iP024[1] + segup; + P025[1] = iP025[1] + segup; + P026[1] = iP026[1] + segup; + P027[1] = iP027[1] + segup; + P028[1] = iP028[1] + segup; + P029[1] = iP029[1] + segup; + P030[1] = iP030[1] + segup; + P031[1] = iP031[1] + segup; + P032[1] = iP032[1] + segup; + P033[1] = iP033[1] + segup * 5.0; + P034[1] = iP034[1] + segup * 5.0; + P035[1] = iP035[1] + segup * 5.0; + P036[1] = iP036[1] + segup * 5.0; + P037[1] = iP037[1] + segup * 5.0; + P038[1] = iP038[1] + segup * 5.0; + P039[1] = iP039[1] + segup * 5.0; + P040[1] = iP040[1] + segup * 5.0; + P041[1] = iP041[1] + segup * 5.0; + P042[1] = iP042[1] + segup * 5.0; + P043[1] = iP043[1] + segup * 12.0; + P044[1] = iP044[1] + segup * 12.0; + P045[1] = iP045[1] + segup * 12.0; + P046[1] = iP046[1] + segup * 12.0; + P047[1] = iP047[1] + segup * 12.0; + P048[1] = iP048[1] + segup * 12.0; + P049[1] = iP049[1] + segup * 12.0; + P050[1] = iP050[1] + segup * 12.0; + P051[1] = iP051[1] + segup * 12.0; + P052[1] = iP052[1] + segup * 12.0; + P002[1] = iP002[1] + segup * 17.0; + P061[1] = iP061[1] + segup * 17.0; + P069[1] = iP069[1] + segup * 17.0; + P070[1] = iP070[1] + segup * 17.0; + + glPushMatrix(); + + glTranslatef(0.0, 0.0, -3000.0); + + glGetFloatv(GL_MODELVIEW_MATRIX, &mat[0][0]); + n = 0; + if (mat[0][2] >= 0.0) { + n += 1; + } + if (mat[1][2] >= 0.0) { + n += 2; + } + if (mat[2][2] >= 0.0) { + n += 4; + } + glScalef(2.0, 1.0, 1.0); + + glEnable(GL_CULL_FACE); + switch (n) { + case 0: + Fish_1(); + break; + case 1: + Fish_2(); + break; + case 2: + Fish_3(); + break; + case 3: + Fish_4(); + break; + case 4: + Fish_5(); + break; + case 5: + Fish_6(); + break; + case 6: + Fish_7(); + break; + case 7: + Fish_8(); + break; + } + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c new file mode 100644 index 0000000..cac7b60 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c @@ -0,0 +1,188 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include /* For rand(). */ +#include +#include "atlantis.h" + +void +FishTransform(fishRec * fish) +{ + + glTranslatef(fish->y, fish->z, -fish->x); + glRotatef(-fish->psi, 0.0, 1.0, 0.0); + glRotatef(fish->theta, 1.0, 0.0, 0.0); + glRotatef(-fish->phi, 0.0, 0.0, 1.0); +} + +void +WhalePilot(fishRec * fish) +{ + + fish->phi = -20.0; + fish->theta = 0.0; + fish->psi -= 0.5; + + fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkPilot(fishRec * fish) +{ + static int sign = 1; + float X, Y, Z, tpsi, ttheta, thetal; + + fish->xt = 60000.0; + fish->yt = 0.0; + fish->zt = 0.0; + + X = fish->xt - fish->x; + Y = fish->yt - fish->y; + Z = fish->zt - fish->z; + + thetal = fish->theta; + + ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); + + if (ttheta > fish->theta + 0.25) { + fish->theta += 0.5; + } else if (ttheta < fish->theta - 0.25) { + fish->theta -= 0.5; + } + if (fish->theta > 90.0) { + fish->theta = 90.0; + } + if (fish->theta < -90.0) { + fish->theta = -90.0; + } + fish->dtheta = fish->theta - thetal; + + tpsi = RAD * atan2(Y, X); + + fish->attack = 0; + + if (fabs(tpsi - fish->psi) < 10.0) { + fish->attack = 1; + } else if (fabs(tpsi - fish->psi) < 45.0) { + if (fish->psi > tpsi) { + fish->psi -= 0.5; + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } else if (fish->psi < tpsi) { + fish->psi += 0.5; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + } + } else { + if (rand() % 100 > 98) { + sign = 1 - sign; + } + fish->psi += sign; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } + + if (fish->attack) { + if (fish->v < 1.1) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.2; + } + if (fish->v > 5.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.2; + } + } else { + if (!(rand() % 400) && (!fish->spurt)) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.05; + } + if (fish->v > 3.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.05; + } + } + + fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += SHARKSPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkMiss(int i) +{ + int j; + float avoid, thetal; + float X, Y, Z, R; + + for (j = 0; j < NUM_SHARKS; j++) { + if (j != i) { + X = sharks[j].x - sharks[i].x; + Y = sharks[j].y - sharks[i].y; + Z = sharks[j].z - sharks[i].z; + + R = sqrt(X * X + Y * Y + Z * Z); + + avoid = 1.0; + thetal = sharks[i].theta; + + if (R < SHARKSIZE) { + if (Z > 0.0) { + sharks[i].theta -= avoid; + } else { + sharks[i].theta += avoid; + } + } + sharks[i].dtheta += (sharks[i].theta - thetal); + } + } +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c new file mode 100644 index 0000000..828640a --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c @@ -0,0 +1,1798 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {0.019249 ,0.011340 ,-0.999750}; +static float N002[3] = {-0.132579 ,0.954547 ,0.266952}; +static float N003[3] = {-0.196061 ,0.980392 ,-0.019778}; +static float N004[3] = {0.695461 ,0.604704 ,0.388158}; +static float N005[3] = {0.870600 ,0.425754 ,0.246557}; +static float N006[3] = {-0.881191 ,0.392012 ,0.264251}; +static float N008[3] = {-0.341437 ,0.887477 ,0.309523}; +static float N009[3] = {0.124035 ,-0.992278 ,0.000000}; +static float N010[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N011[3] = {0.588172 ,0.000000 ,0.808736}; +static float N012[3] = {0.929824 ,-0.340623 ,-0.139298}; +static float N013[3] = {0.954183 ,0.267108 ,-0.134865}; +static float N014[3] = {0.495127 ,0.855436 ,-0.151914}; +static float N015[3] = {-0.390199 ,0.906569 ,-0.160867}; +static float N016[3] = {-0.923605 ,0.354581 ,-0.145692}; +static float N017[3] = {-0.955796 ,-0.260667 ,-0.136036}; +static float N018[3] = {-0.501283 ,-0.853462 ,-0.142540}; +static float N019[3] = {0.405300 ,-0.901974 ,-0.148913}; +static float N020[3] = {0.909913 ,-0.392746 ,-0.133451}; +static float N021[3] = {0.936494 ,0.331147 ,-0.115414}; +static float N022[3] = {0.600131 ,0.793724 ,-0.099222}; +static float N023[3] = {-0.231556 ,0.968361 ,-0.093053}; +static float N024[3] = {-0.844369 ,0.525330 ,-0.105211}; +static float N025[3] = {-0.982725 ,-0.136329 ,-0.125164}; +static float N026[3] = {-0.560844 ,-0.822654 ,-0.093241}; +static float N027[3] = {0.263884 ,-0.959981 ,-0.093817}; +static float N028[3] = {0.842057 ,-0.525192 ,-0.122938}; +static float N029[3] = {0.921620 ,0.367565 ,-0.124546}; +static float N030[3] = {0.613927 ,0.784109 ,-0.090918}; +static float N031[3] = {-0.448754 ,0.888261 ,-0.098037}; +static float N032[3] = {-0.891865 ,0.434376 ,-0.126077}; +static float N033[3] = {-0.881447 ,-0.448017 ,-0.149437}; +static float N034[3] = {-0.345647 ,-0.922057 ,-0.174183}; +static float N035[3] = {0.307998 ,-0.941371 ,-0.137688}; +static float N036[3] = {0.806316 ,-0.574647 ,-0.140124}; +static float N037[3] = {0.961346 ,0.233646 ,-0.145681}; +static float N038[3] = {0.488451 ,0.865586 ,-0.110351}; +static float N039[3] = {-0.374290 ,0.921953 ,-0.099553}; +static float N040[3] = {-0.928504 ,0.344533 ,-0.138485}; +static float N041[3] = {-0.918419 ,-0.371792 ,-0.135189}; +static float N042[3] = {-0.520666 ,-0.833704 ,-0.183968}; +static float N043[3] = {0.339204 ,-0.920273 ,-0.195036}; +static float N044[3] = {0.921475 ,-0.387382 ,-0.028636}; +static float N045[3] = {0.842465 ,0.533335 ,-0.076204}; +static float N046[3] = {0.380110 ,0.924939 ,0.002073}; +static float N047[3] = {-0.276128 ,0.961073 ,-0.009579}; +static float N048[3] = {-0.879684 ,0.473001 ,-0.049250}; +static float N049[3] = {-0.947184 ,-0.317614 ,-0.044321}; +static float N050[3] = {-0.642059 ,-0.764933 ,-0.051363}; +static float N051[3] = {0.466794 ,-0.880921 ,-0.077990}; +static float N052[3] = {0.898509 ,-0.432277 ,0.076279}; +static float N053[3] = {0.938985 ,0.328141 ,0.103109}; +static float N054[3] = {0.442420 ,0.895745 ,0.043647}; +static float N055[3] = {-0.255163 ,0.966723 ,0.018407}; +static float N056[3] = {-0.833769 ,0.540650 ,0.111924}; +static float N057[3] = {-0.953653 ,-0.289939 ,0.080507}; +static float N058[3] = {-0.672357 ,-0.730524 ,0.119461}; +static float N059[3] = {0.522249 ,-0.846652 ,0.102157}; +static float N060[3] = {0.885868 ,-0.427631 ,0.179914}; +static float N062[3] = {0.648942 ,0.743116 ,0.163255}; +static float N063[3] = {-0.578967 ,0.807730 ,0.111219}; +static float N065[3] = {-0.909864 ,-0.352202 ,0.219321}; +static float N066[3] = {-0.502541 ,-0.818090 ,0.279610}; +static float N067[3] = {0.322919 ,-0.915358 ,0.240504}; +static float N068[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N069[3] = {0.000000 ,1.000000 ,0.000000}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N072[3] = {0.000000 ,1.000000 ,0.000000}; +static float N073[3] = {0.000000 ,1.000000 ,0.000000}; +static float N074[3] = {0.000000 ,1.000000 ,0.000000}; +static float N075[3] = {0.031220 ,0.999025 ,-0.031220}; +static float N076[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {0.446821 ,0.893642 ,0.041889}; +static float N078[3] = {0.863035 ,-0.100980 ,0.494949}; +static float N079[3] = {0.585597 ,-0.808215 ,0.062174}; +static float N080[3] = {0.000000 ,1.000000 ,0.000000}; +static float N081[3] = {1.000000 ,0.000000 ,0.000000}; +static float N082[3] = {0.000000 ,1.000000 ,0.000000}; +static float N083[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N084[3] = {-0.478893 ,0.837129 ,-0.264343}; +static float N085[3] = {0.000000 ,1.000000 ,0.000000}; +static float N086[3] = {0.763909 ,0.539455 ,-0.354163}; +static float N087[3] = {0.446821 ,0.893642 ,0.041889}; +static float N088[3] = {0.385134 ,-0.908288 ,0.163352}; +static float N089[3] = {-0.605952 ,0.779253 ,-0.159961}; +static float N090[3] = {0.000000 ,1.000000 ,0.000000}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N096[3] = {0.644444 ,-0.621516 ,0.445433}; +static float N097[3] = {-0.760896 ,-0.474416 ,0.442681}; +static float N098[3] = {0.636888 ,-0.464314 ,0.615456}; +static float N099[3] = {-0.710295 ,0.647038 ,0.277168}; +static float N100[3] = {0.009604 ,0.993655 ,0.112063}; +static float iP001[3] = {18.74, 13.19, 3.76}; +static float P001[3] = {18.74, 13.19, 3.76}; +static float P002[3] = {0.00, 390.42, 10292.57}; +static float P003[3] = {55.80, 622.31, 8254.35}; +static float P004[3] = {20.80, 247.66, 10652.13}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 199.04, 9353.01}; +static float P008[3] = {-34.67, 247.64, 10663.71}; +static float iP009[3] = {97.46, 67.63, 593.82}; +static float iP010[3] = {-84.33, 67.63, 588.18}; +static float iP011[3] = {118.69, 8.98, -66.91}; +static float P009[3] = {97.46, 67.63, 593.82}; +static float P010[3] = {-84.33, 67.63, 588.18}; +static float P011[3] = {118.69, 8.98, -66.91}; +static float iP012[3] = {156.48, -31.95, 924.54}; +static float iP013[3] = {162.00, 110.22, 924.54}; +static float iP014[3] = {88.16, 221.65, 924.54}; +static float iP015[3] = {-65.21, 231.16, 924.54}; +static float iP016[3] = {-156.48, 121.97, 924.54}; +static float iP017[3] = {-162.00, -23.93, 924.54}; +static float iP018[3] = {-88.16, -139.10, 924.54}; +static float iP019[3] = {65.21, -148.61, 924.54}; +static float iP020[3] = {246.87, -98.73, 1783.04}; +static float iP021[3] = {253.17, 127.76, 1783.04}; +static float iP022[3] = {132.34, 270.77, 1783.04}; +static float iP023[3] = {-97.88, 285.04, 1783.04}; +static float iP024[3] = {-222.97, 139.80, 1783.04}; +static float iP025[3] = {-225.29, -86.68, 1783.04}; +static float iP026[3] = {-108.44, -224.15, 1783.04}; +static float iP027[3] = {97.88, -221.56, 1783.04}; +static float iP028[3] = {410.55, -200.66, 3213.87}; +static float iP029[3] = {432.19, 148.42, 3213.87}; +static float iP030[3] = {200.66, 410.55, 3213.87}; +static float iP031[3] = {-148.42, 432.19, 3213.87}; +static float iP032[3] = {-407.48, 171.88, 3213.87}; +static float iP033[3] = {-432.19, -148.42, 3213.87}; +static float iP034[3] = {-148.88, -309.74, 3213.87}; +static float iP035[3] = {156.38, -320.17, 3213.87}; +static float iP036[3] = {523.39, -303.81, 4424.57}; +static float iP037[3] = {574.66, 276.84, 4424.57}; +static float iP038[3] = {243.05, 492.50, 4424.57}; +static float iP039[3] = {-191.23, 520.13, 4424.57}; +static float iP040[3] = {-523.39, 304.01, 4424.57}; +static float iP041[3] = {-574.66, -231.83, 4424.57}; +static float iP042[3] = {-266.95, -578.17, 4424.57}; +static float iP043[3] = {211.14, -579.67, 4424.57}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 5943.46}; +static float iP046[3] = {371.29, 614.13, 5943.46}; +static float iP047[3] = {-291.43, 621.86, 5943.46}; +static float iP048[3] = {-784.13, 362.60, 5943.46}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P012[3] = {156.48, -31.95, 924.54}; +static float P013[3] = {162.00, 110.22, 924.54}; +static float P014[3] = {88.16, 221.65, 924.54}; +static float P015[3] = {-65.21, 231.16, 924.54}; +static float P016[3] = {-156.48, 121.97, 924.54}; +static float P017[3] = {-162.00, -23.93, 924.54}; +static float P018[3] = {-88.16, -139.10, 924.54}; +static float P019[3] = {65.21, -148.61, 924.54}; +static float P020[3] = {246.87, -98.73, 1783.04}; +static float P021[3] = {253.17, 127.76, 1783.04}; +static float P022[3] = {132.34, 270.77, 1783.04}; +static float P023[3] = {-97.88, 285.04, 1783.04}; +static float P024[3] = {-222.97, 139.80, 1783.04}; +static float P025[3] = {-225.29, -86.68, 1783.04}; +static float P026[3] = {-108.44, -224.15, 1783.04}; +static float P027[3] = {97.88, -221.56, 1783.04}; +static float P028[3] = {410.55, -200.66, 3213.87}; +static float P029[3] = {432.19, 148.42, 3213.87}; +static float P030[3] = {200.66, 410.55, 3213.87}; +static float P031[3] = {-148.42, 432.19, 3213.87}; +static float P032[3] = {-407.48, 171.88, 3213.87}; +static float P033[3] = {-432.19, -148.42, 3213.87}; +static float P034[3] = {-148.88, -309.74, 3213.87}; +static float P035[3] = {156.38, -320.17, 3213.87}; +static float P036[3] = {523.39, -303.81, 4424.57}; +static float P037[3] = {574.66, 276.84, 4424.57}; +static float P038[3] = {243.05, 492.50, 4424.57}; +static float P039[3] = {-191.23, 520.13, 4424.57}; +static float P040[3] = {-523.39, 304.01, 4424.57}; +static float P041[3] = {-574.66, -231.83, 4424.57}; +static float P042[3] = {-266.95, -578.17, 4424.57}; +static float P043[3] = {211.14, -579.67, 4424.57}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 5943.46}; +static float P046[3] = {371.29, 614.13, 5943.46}; +static float P047[3] = {-291.43, 621.86, 5943.46}; +static float P048[3] = {-784.13, 362.60, 5943.46}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -332.24, 7902.59}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {321.55, 558.53, 7902.59}; +static float P055[3] = {-260.54, 559.84, 7902.59}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 438.98, 9364.77}; +static float P063[3] = {-165.71, 441.27, 9355.44}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -504.03, 9355.44}; +static float iP068[3] = {-112.44, 9.25, -64.42}; +static float iP069[3] = {1155.63, 0.00, -182.46}; +static float iP070[3] = {-1143.13, 0.00, -181.54}; +static float iP071[3] = {1424.23, 0.00, -322.09}; +static float iP072[3] = {-1368.01, 0.00, -310.38}; +static float iP073[3] = {1255.57, 2.31, 114.05}; +static float iP074[3] = {-1149.38, 0.00, 117.12}; +static float iP075[3] = {718.36, 0.00, 433.36}; +static float iP076[3] = {-655.90, 0.00, 433.36}; +static float P068[3] = {-112.44, 9.25, -64.42}; +static float P069[3] = {1155.63, 0.00, -182.46}; +static float P070[3] = {-1143.13, 0.00, -181.54}; +static float P071[3] = {1424.23, 0.00, -322.09}; +static float P072[3] = {-1368.01, 0.00, -310.38}; +static float P073[3] = {1255.57, 2.31, 114.05}; +static float P074[3] = {-1149.38, 0.00, 117.12}; +static float P075[3] = {718.36, 0.00, 433.36}; +static float P076[3] = {-655.90, 0.00, 433.36}; +static float P077[3] = {1058.00, -2.66, 7923.51}; +static float P078[3] = {-1016.51, -15.47, 7902.87}; +static float P079[3] = {-1363.99, -484.50, 7593.38}; +static float P080[3] = {1478.09, -861.47, 7098.12}; +static float P081[3] = {1338.06, -284.68, 7024.15}; +static float P082[3] = {-1545.51, -860.64, 7106.60}; +static float P083[3] = {1063.19, -70.46, 7466.60}; +static float P084[3] = {-1369.18, -288.11, 7015.34}; +static float P085[3] = {1348.44, -482.50, 7591.41}; +static float P086[3] = {-1015.45, -96.80, 7474.86}; +static float P087[3] = {731.04, 148.38, 7682.58}; +static float P088[3] = {-697.03, 151.82, 7668.81}; +static float P089[3] = {-686.82, 157.09, 7922.29}; +static float P090[3] = {724.73, 147.75, 7931.39}; +static float iP091[3] = {0.00, 327.10, 2346.55}; +static float iP092[3] = {0.00, 552.28, 2311.31}; +static float iP093[3] = {0.00, 721.16, 2166.41}; +static float iP094[3] = {0.00, 693.42, 2388.80}; +static float iP095[3] = {0.00, 389.44, 2859.97}; +static float P091[3] = {0.00, 327.10, 2346.55}; +static float P092[3] = {0.00, 552.28, 2311.31}; +static float P093[3] = {0.00, 721.16, 2166.41}; +static float P094[3] = {0.00, 693.42, 2388.80}; +static float P095[3] = {0.00, 389.44, 2859.97}; +static float iP096[3] = {222.02, -183.67, 10266.89}; +static float iP097[3] = {-128.90, -182.70, 10266.89}; +static float iP098[3] = {41.04, 88.31, 10659.36}; +static float iP099[3] = {-48.73, 88.30, 10659.36}; +static float P096[3] = {222.02, -183.67, 10266.89}; +static float P097[3] = {-128.90, -182.70, 10266.89}; +static float P098[3] = {41.04, 88.31, 10659.36}; +static float P099[3] = {-48.73, 88.30, 10659.36}; +static float P100[3] = {0.00, 603.42, 9340.68}; +static float P104[3] = {-9.86, 567.62, 7858.65}; +static float P105[3] = {31.96, 565.27, 7908.46}; +static float P106[3] = {22.75, 568.13, 7782.83}; +static float P107[3] = {58.93, 568.42, 7775.94}; +static float P108[3] = {55.91, 565.59, 7905.86}; +static float P109[3] = {99.21, 566.00, 7858.65}; +static float P110[3] = {-498.83, 148.14, 9135.10}; +static float P111[3] = {-495.46, 133.24, 9158.48}; +static float P112[3] = {-490.82, 146.23, 9182.76}; +static float P113[3] = {-489.55, 174.11, 9183.66}; +static float P114[3] = {-492.92, 189.00, 9160.28}; +static float P115[3] = {-497.56, 176.02, 9136.00}; +static float P116[3] = {526.54, 169.68, 9137.70}; +static float P117[3] = {523.49, 184.85, 9161.42}; +static float P118[3] = {518.56, 171.78, 9186.06}; +static float P119[3] = {516.68, 143.53, 9186.98}; +static float P120[3] = {519.73, 128.36, 9163.26}; +static float P121[3] = {524.66, 141.43, 9138.62}; +/* *INDENT-ON* */ + +void +Whale001(void) +{ + + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N074); + glVertex3fv(P074); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); +} + +void +Whale002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); +} + +void +Whale003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Whale004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Whale005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Whale006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Whale007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Whale008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Whale009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Whale010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Whale011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Whale012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); +} + +void +Whale013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P005); + glVertex3fv(P006); + glVertex3fv(P099); + glVertex3fv(P098); + glEnd(); +} + +void +Whale014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P006); + glVertex3fv(P005); + glVertex3fv(P004); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); +} + +void +Whale015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); +} + +void +Whale016(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P104); + glVertex3fv(P105); + glVertex3fv(P106); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P107); + glVertex3fv(P108); + glVertex3fv(P109); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P110); + glVertex3fv(P111); + glVertex3fv(P112); + glVertex3fv(P113); + glVertex3fv(P114); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P116); + glVertex3fv(P117); + glVertex3fv(P118); + glVertex3fv(P119); + glVertex3fv(P120); + glVertex3fv(P121); + glEnd(); +} + +void +DrawWhale(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.5 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.5 * thrash * sin((fish->htail + 10.0) * RRAD); + seg2 = 3.7 * thrash * sin((fish->htail + 15.0) * RRAD); + seg3 = 4.8 * thrash * sin((fish->htail + 23.0) * RRAD); + seg4 = 6.0 * thrash * sin((fish->htail + 28.0) * RRAD); + seg5 = 6.5 * thrash * sin((fish->htail + 35.0) * RRAD); + seg6 = 6.5 * thrash * sin((fish->htail + 40.0) * RRAD); + seg7 = 6.5 * thrash * sin((fish->htail + 55.0) * RRAD); + + pitch = fish->v * sin((fish->htail - 160.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3 * 1.1; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3 * 0.9; + + P099[1] = iP099[1] + chomp; + P098[1] = iP098[1] + chomp; + P097[1] = iP097[1] + chomp; + P096[1] = iP096[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 8000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glScalef(3.0, 3.0, 3.0); + + glEnable(GL_CULL_FACE); + + Whale001(); + Whale002(); + Whale003(); + Whale004(); + Whale005(); + Whale006(); + Whale007(); + Whale008(); + Whale009(); + Whale010(); + Whale011(); + Whale012(); + Whale013(); + Whale014(); + Whale015(); + Whale016(); + + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/main.c new file mode 100644 index 0000000..b7794b3 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/main.c @@ -0,0 +1,179 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +extern void Atlantis_Init (); +extern void Atlantis_Reshape (int w, int h); +extern void Atlantis_Animate (); +extern void Atlantis_Display (); + +static SDL_Surface *gScreen; + +static void initAttributes () +{ + // Setup attributes we want for the OpenGL context + + int value; + + // Don't set color bit sizes (SDL_GL_RED_SIZE, etc) + // Mac OS X will always use 8-8-8-8 ARGB for 32-bit screens and + // 5-5-5 RGB for 16-bit screens + + // Request a 16-bit depth buffer (without this, there is no depth buffer) + value = 16; + SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, value); + + + // Request double-buffered OpenGL + // The fact that windows are double-buffered on Mac OS X has no effect + // on OpenGL double buffering. + value = 1; + SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, value); +} + +static void printAttributes () +{ + // Print out attributes of the context we created + int nAttr; + int i; + + int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE, + SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DEPTH_SIZE }; + + char *desc[] = { "Red size: %d bits\n", "Blue size: %d bits\n", "Green size: %d bits\n", + "Alpha size: %d bits\n", "Color buffer size: %d bits\n", + "Depth bufer size: %d bits\n" }; + + nAttr = sizeof(attr) / sizeof(int); + + for (i = 0; i < nAttr; i++) { + + int value; + SDL_GL_GetAttribute (attr[i], &value); + printf (desc[i], value); + } +} + +static void createSurface (int fullscreen) +{ + Uint32 flags = 0; + + flags = SDL_OPENGL; + if (fullscreen) + flags |= SDL_FULLSCREEN; + + // Create window + gScreen = SDL_SetVideoMode (640, 480, 0, flags); + if (gScreen == NULL) { + + fprintf (stderr, "Couldn't set 640x480 OpenGL video mode: %s\n", + SDL_GetError()); + SDL_Quit(); + exit(2); + } +} + +static void initGL () +{ + Atlantis_Init (); + Atlantis_Reshape (gScreen->w, gScreen->h); +} + +static void drawGL () +{ + Atlantis_Animate (); + Atlantis_Display (); +} + +static void mainLoop () +{ + SDL_Event event; + int done = 0; + int fps = 24; + int delay = 1000/fps; + int thenTicks = -1; + int nowTicks; + + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent (&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + + // Draw at 24 hz + // This approach is not normally recommended - it is better to + // use time-based animation and run as fast as possible + drawGL (); + SDL_GL_SwapBuffers (); + + // Time how long each draw-swap-delay cycle takes + // and adjust delay to get closer to target framerate + if (thenTicks > 0) { + nowTicks = SDL_GetTicks (); + delay += (1000/fps - (nowTicks-thenTicks)); + thenTicks = nowTicks; + if (delay < 0) + delay = 1000/fps; + } + else { + thenTicks = SDL_GetTicks (); + } + + SDL_Delay (delay); + } +} + +int main(int argc, char *argv[]) +{ + // Init SDL video subsystem + if ( SDL_Init (SDL_INIT_VIDEO) < 0 ) { + + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + // Set GL context attributes + initAttributes (); + + // Create GL context + createSurface (0); + + // Get GL context attributes + printAttributes (); + + // Init GL state + initGL (); + + // Draw, get events... + mainLoop (); + + // Cleanup + SDL_Quit(); + + return 0; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/Info.plist new file mode 100644 index 0000000..e433204 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..d9ca454 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..d6553a7 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,310 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 3.2"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = macosx10.6; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = macosx10.6; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib new file mode 100644 index 0000000..799eaad --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib @@ -0,0 +1,19 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = { + help = id; + newGame = id; + openGame = id; + prefsMenu = id; + saveGame = id; + saveGameAs = id; + }; + CLASS = SDLMain; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib new file mode 100644 index 0000000..1d6fb7e --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib @@ -0,0 +1,21 @@ + + + + + IBDocumentLocation + 62 117 356 240 0 0 1152 848 + IBEditorPositions + + 29 + 62 362 195 44 0 0 1152 848 + + IBFramework Version + 291.0 + IBOpenObjects + + 29 + + IBSystem Version + 6L60 + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib new file mode 100644 index 0000000..6378015 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/Info.plist new file mode 100644 index 0000000..40a970f --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..1dcbea2 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application with Cocoa menus."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9d9a924 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,322 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = ""; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 3.2"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = { + isa = PBXVariantGroup; + children = ( + 002F3AF009D08F1000EBEB88 /* English */, + ); + name = SDLMain.nib; + sourceTree = ""; + }; + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = macosx10.6; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = macosx10.6; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..6e721b0 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/Info.plist new file mode 100644 index 0000000..a2e9429 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/Info.plist @@ -0,0 +1,37 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.___PROJECTNAMEASXML___ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6.0 + i386 + 10.4.0 + ppc + 10.4.0 + + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns new file mode 100644 index 0000000..ae0b02b Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..ba87745 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application that uses OpenGL."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5683273 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj @@ -0,0 +1,352 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF409D0938900EBEB88 /* atlantis.c */; }; + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF609D0938900EBEB88 /* dolphin.c */; }; + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF709D0938900EBEB88 /* shark.c */; }; + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF809D0938900EBEB88 /* swim.c */; }; + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF909D0938900EBEB88 /* whale.c */; }; + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C0009D093BD00EBEB88 /* OpenGL.framework */; }; + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C6009D0951E00EBEB88 /* GLUT.framework */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3BF409D0938900EBEB88 /* atlantis.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = atlantis.c; path = atlantis/atlantis.c; sourceTree = SOURCE_ROOT; }; + 002F3BF509D0938900EBEB88 /* atlantis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = atlantis.h; path = atlantis/atlantis.h; sourceTree = SOURCE_ROOT; }; + 002F3BF609D0938900EBEB88 /* dolphin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = dolphin.c; path = atlantis/dolphin.c; sourceTree = SOURCE_ROOT; }; + 002F3BF709D0938900EBEB88 /* shark.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = shark.c; path = atlantis/shark.c; sourceTree = SOURCE_ROOT; }; + 002F3BF809D0938900EBEB88 /* swim.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = swim.c; path = atlantis/swim.c; sourceTree = SOURCE_ROOT; }; + 002F3BF909D0938900EBEB88 /* whale.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = whale.c; path = atlantis/whale.c; sourceTree = SOURCE_ROOT; }; + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + 002F3C6009D0951E00EBEB88 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../../../../../../../../System/Library/Frameworks/GLUT.framework; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 002F3BF309D0937800EBEB88 /* atlantis */ = { + isa = PBXGroup; + children = ( + 002F3BF409D0938900EBEB88 /* atlantis.c */, + 002F3BF509D0938900EBEB88 /* atlantis.h */, + 002F3BF609D0938900EBEB88 /* dolphin.c */, + 002F3BF709D0938900EBEB88 /* shark.c */, + 002F3BF809D0938900EBEB88 /* swim.c */, + 002F3BF909D0938900EBEB88 /* whale.c */, + ); + name = atlantis; + sourceTree = ""; + }; + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 002F3C6009D0951E00EBEB88 /* GLUT.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "___PROJECTNAMEASXML___"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 002F3BF309D0937800EBEB88 /* atlantis */, + 32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productInstallPath = "$(HOME)/Applications"; + productName = "___PROJECTNAME___"; + productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 3.2"; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */, + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */, + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */, + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */, + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "___PROJECTNAME___"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_VERSION = 4.0; + "GCC_VERSION[arch=x86_64]" = 4.2; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = macosx10.4; + "SDKROOT[arch=x86_64]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.c new file mode 100644 index 0000000..4efdf6c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.c @@ -0,0 +1,459 @@ + +/* Copyright (c) Mark J. Kilgard, 1994. */ + +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include +#include +#include +#include +#include "atlantis.h" + +fishRec sharks[NUM_SHARKS]; +fishRec momWhale; +fishRec babyWhale; +fishRec dolph; + +GLboolean Timing = GL_TRUE; + +int w_win = 640; +int h_win = 480; +GLint count = 0; +GLenum StrMode = GL_VENDOR; + +GLboolean moving; + +static double mtime(void) +{ + struct timeval tk_time; + struct timezone tz; + + gettimeofday(&tk_time, &tz); + + return 4294.967296 * tk_time.tv_sec + 0.000001 * tk_time.tv_usec; +} + +static double filter(double in, double *save) +{ + static double k1 = 0.9; + static double k2 = 0.05; + + save[3] = in; + save[1] = save[0]*k1 + k2*(save[3] + save[2]); + + save[0]=save[1]; + save[2]=save[3]; + + return(save[1]); +} + +void DrawStr(const char *str) +{ + GLint i = 0; + + if(!str) return; + + while(str[i]) + { + glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]); + i++; + } +} + +void +InitFishs(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + sharks[i].x = 70000.0 + rand() % 6000; + sharks[i].y = rand() % 6000; + sharks[i].z = rand() % 6000; + sharks[i].psi = rand() % 360 - 180.0; + sharks[i].v = 1.0; + } + + dolph.x = 30000.0; + dolph.y = 0.0; + dolph.z = 6000.0; + dolph.psi = 90.0; + dolph.theta = 0.0; + dolph.v = 3.0; + + momWhale.x = 70000.0; + momWhale.y = 0.0; + momWhale.z = 0.0; + momWhale.psi = 90.0; + momWhale.theta = 0.0; + momWhale.v = 3.0; + + babyWhale.x = 60000.0; + babyWhale.y = -2000.0; + babyWhale.z = -2000.0; + babyWhale.psi = 90.0; + babyWhale.theta = 0.0; + babyWhale.v = 3.0; +} + +void +Atlantis_Init(void) +{ + static float ambient[] = {0.2, 0.2, 0.2, 1.0}; + static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; + static float position[] = {0.0, 1.0, 0.0, 0.0}; + static float mat_shininess[] = {90.0}; + static float mat_specular[] = {0.8, 0.8, 0.8, 1.0}; + static float mat_diffuse[] = {0.46, 0.66, 0.795, 1.0}; + static float mat_ambient[] = {0.3, 0.4, 0.5, 1.0}; + static float lmodel_ambient[] = {0.4, 0.4, 0.4, 1.0}; + static float lmodel_localviewer[] = {0.0}; + //GLfloat map1[4] = {0.0, 0.0, 0.0, 0.0}; + //GLfloat map2[4] = {0.0, 0.0, 0.0, 0.0}; + static float fog_color[] = {0.0, 0.5, 0.9, 1.0}; + + glFrontFace(GL_CCW); + + glDepthFunc(GL_LESS); + glEnable(GL_DEPTH_TEST); + + glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); + glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); + glLightfv(GL_LIGHT0, GL_POSITION, position); + glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); + glLightModelfv(GL_LIGHT_MODEL_LOCAL_VIEWER, lmodel_localviewer); + glEnable(GL_LIGHTING); + glEnable(GL_LIGHT0); + + glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, mat_shininess); + glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular); + glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse); + glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient); + + InitFishs(); + + glEnable(GL_FOG); + glFogi(GL_FOG_MODE, GL_EXP); + glFogf(GL_FOG_DENSITY, 0.0000025); + glFogfv(GL_FOG_COLOR, fog_color); + + glClearColor(0.0, 0.5, 0.9, 1.0); +} + +void +Atlantis_Reshape(int width, int height) +{ + w_win = width; + h_win = height; + + glViewport(0, 0, width, height); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + gluPerspective(60.0, (GLfloat) width / (GLfloat) height, 20000.0, 300000.0); + glMatrixMode(GL_MODELVIEW); +} + +void +Atlantis_Animate(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + SharkPilot(&sharks[i]); + SharkMiss(i); + } + WhalePilot(&dolph); + dolph.phi++; + //glutPostRedisplay(); + WhalePilot(&momWhale); + momWhale.phi++; + WhalePilot(&babyWhale); + babyWhale.phi++; +} + +void +Atlantis_Key(unsigned char key, int x, int y) +{ + switch (key) { + case 't': + Timing = !Timing; + break; + case ' ': + switch(StrMode) + { + case GL_EXTENSIONS: + StrMode = GL_VENDOR; + break; + case GL_VENDOR: + StrMode = GL_RENDERER; + break; + case GL_RENDERER: + StrMode = GL_VERSION; + break; + case GL_VERSION: + StrMode = GL_EXTENSIONS; + break; + } + break; + case 27: /* Esc will quit */ + exit(1); + break; + case 's': /* "s" start animation */ + moving = GL_TRUE; + //glutIdleFunc(Animate); + break; + case 'a': /* "a" stop animation */ + moving = GL_FALSE; + //glutIdleFunc(NULL); + break; + case '.': /* "." will advance frame */ + if (!moving) { + Atlantis_Animate(); + } + } +} +/* +void Display(void) +{ + static float P123[3] = {-448.94, -203.14, 9499.60}; + static float P124[3] = {-442.64, -185.20, 9528.07}; + static float P125[3] = {-441.07, -148.05, 9528.07}; + static float P126[3] = {-443.43, -128.84, 9499.60}; + static float P127[3] = {-456.87, -146.78, 9466.67}; + static float P128[3] = {-453.68, -183.93, 9466.67}; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glutSwapBuffers(); +} +*/ + +void +Atlantis_Display(void) +{ + int i; + static double th[4] = {0.0, 0.0, 0.0, 0.0}; + static double t1 = 0.0, t2 = 0.0, t; + char num_str[128]; + + t1 = t2; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + for (i = 0; i < NUM_SHARKS; i++) { + glPushMatrix(); + FishTransform(&sharks[i]); + DrawShark(&sharks[i]); + glPopMatrix(); + } + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&momWhale); + DrawWhale(&momWhale); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&babyWhale); + glScalef(0.45, 0.45, 0.3); + DrawWhale(&babyWhale); + glPopMatrix(); + + if(Timing) + { + t2 = mtime(); + t = t2 - t1; + if(t > 0.0001) t = 1.0 / t; + + glDisable(GL_LIGHTING); + //glDisable(GL_DEPTH_TEST); + + glColor3f(1.0, 0.0, 0.0); + + glMatrixMode (GL_PROJECTION); + glPushMatrix(); + glLoadIdentity(); + glOrtho(0, w_win, 0, h_win, -10.0, 10.0); + + glRasterPos2f(5.0, 5.0); + + switch(StrMode) + { + case GL_VENDOR: + sprintf(num_str, "%0.2f Hz, %dx%d, VENDOR: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VENDOR)); + break; + case GL_RENDERER: + sprintf(num_str, "%0.2f Hz, %dx%d, RENDERER: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_RENDERER)); + break; + case GL_VERSION: + sprintf(num_str, "%0.2f Hz, %dx%d, VERSION: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VERSION)); + break; + case GL_EXTENSIONS: + sprintf(num_str, "%0.2f Hz, %dx%d, EXTENSIONS: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_EXTENSIONS)); + break; + } + + glPopMatrix(); + glMatrixMode(GL_MODELVIEW); + + glEnable(GL_LIGHTING); + //glEnable(GL_DEPTH_TEST); + } + + count++; + + glutSwapBuffers(); +} + +/* +void +Visible(int state) +{ + if (state == GLUT_VISIBLE) { + if (moving) + glutIdleFunc(Animate); + } else { + if (moving) + glutIdleFunc(NULL); + } +} + + +void +timingSelect(int value) +{ + switch(value) + { + case 1: + StrMode = GL_VENDOR; + break; + case 2: + StrMode = GL_RENDERER; + break; + case 3: + StrMode = GL_VERSION; + break; + case 4: + StrMode = GL_EXTENSIONS; + break; + } +} + +void +menuSelect(int value) +{ + switch (value) { + case 1: + moving = GL_TRUE; + glutIdleFunc(Animate); + break; + case 2: + moving = GL_FALSE; + glutIdleFunc(NULL); + break; + case 4: + exit(0); + break; + } +} + +int +main(int argc, char **argv) +{ + GLboolean fullscreen = GL_FALSE; + GLint time_menu; + + srand(0); + + glutInit(&argc, argv); + if (argc > 1 && !strcmp(argv[1], "-w")) + fullscreen = GL_FALSE; + + //glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH); + glutInitDisplayString("rgba double depth=24"); + if (fullscreen) { + glutGameModeString("1024x768:32"); + glutEnterGameMode(); + } else { + glutInitWindowSize(320, 240); + glutCreateWindow("Atlantis Timing"); + } + Init(); + glutDisplayFunc(Display); + glutReshapeFunc(Reshape); + glutKeyboardFunc(Key); + moving = GL_TRUE; +glutIdleFunc(Animate); + glutVisibilityFunc(Visible); + + time_menu = glutCreateMenu(timingSelect); + glutAddMenuEntry("GL_VENDOR", 1); + glutAddMenuEntry("GL_RENDERER", 2); + glutAddMenuEntry("GL_VERSION", 3); + glutAddMenuEntry("GL_EXTENSIONS", 4); + + glutCreateMenu(menuSelect); + glutAddMenuEntry("Start motion", 1); + glutAddMenuEntry("Stop motion", 2); + glutAddSubMenu("Timing Mode", time_menu); + glutAddMenuEntry("Quit", 4); + + //glutAttachMenu(GLUT_RIGHT_BUTTON); + glutAttachMenu(GLUT_RIGHT_BUTTON); + glutMainLoop(); + return 0; // ANSI C requires main to return int. +} +*/ \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.h new file mode 100644 index 0000000..6ccf2d5 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.h @@ -0,0 +1,65 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#define RAD 57.295 +#define RRAD 0.01745 + +#define NUM_SHARKS 4 +#define SHARKSIZE 6000 +#define SHARKSPEED 100.0 + +#define WHALESPEED 250.0 + +typedef struct _fishRec { + float x, y, z, phi, theta, psi, v; + float xt, yt, zt; + float htail, vtail; + float dtheta; + int spurt, attack; +} fishRec; + +extern fishRec sharks[NUM_SHARKS]; +extern fishRec momWhale; +extern fishRec babyWhale; +extern fishRec dolph; + +extern void FishTransform(fishRec *); +extern void WhalePilot(fishRec *); +extern void SharkPilot(fishRec *); +extern void SharkMiss(int); +extern void DrawWhale(fishRec *); +extern void DrawShark(fishRec *); +extern void DrawDolphin(fishRec *); diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/dolphin.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/dolphin.c new file mode 100644 index 0000000..9fba3ba --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/dolphin.c @@ -0,0 +1,1934 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {-0.005937 ,-0.101998 ,-0.994767}; +static float N002[3] = {0.936780 ,-0.200803 ,0.286569}; +static float N003[3] = {-0.233062 ,0.972058 ,0.028007}; +static float N005[3] = {0.898117 ,0.360171 ,0.252315}; +static float N006[3] = {-0.915437 ,0.348456 ,0.201378}; +static float N007[3] = {0.602263 ,-0.777527 ,0.180920}; +static float N008[3] = {-0.906912 ,-0.412015 ,0.088061}; +static float N012[3] = {0.884408 ,-0.429417 ,-0.182821}; +static float N013[3] = {0.921121 ,0.311084 ,-0.234016}; +static float N014[3] = {0.382635 ,0.877882 ,-0.287948}; +static float N015[3] = {-0.380046 ,0.888166 ,-0.258316}; +static float N016[3] = {-0.891515 ,0.392238 ,-0.226607}; +static float N017[3] = {-0.901419 ,-0.382002 ,-0.203763}; +static float N018[3] = {-0.367225 ,-0.911091 ,-0.187243}; +static float N019[3] = {0.339539 ,-0.924846 ,-0.171388}; +static float N020[3] = {0.914706 ,-0.378617 ,-0.141290}; +static float N021[3] = {0.950662 ,0.262713 ,-0.164994}; +static float N022[3] = {0.546359 ,0.801460 ,-0.243218}; +static float N023[3] = {-0.315796 ,0.917068 ,-0.243431}; +static float N024[3] = {-0.825687 ,0.532277 ,-0.186875}; +static float N025[3] = {-0.974763 ,-0.155232 ,-0.160435}; +static float N026[3] = {-0.560596 ,-0.816658 ,-0.137119}; +static float N027[3] = {0.380210 ,-0.910817 ,-0.160786}; +static float N028[3] = {0.923772 ,-0.358322 ,-0.135093}; +static float N029[3] = {0.951202 ,0.275053 ,-0.139859}; +static float N030[3] = {0.686099 ,0.702548 ,-0.188932}; +static float N031[3] = {-0.521865 ,0.826719 ,-0.210220}; +static float N032[3] = {-0.923820 ,0.346739 ,-0.162258}; +static float N033[3] = {-0.902095 ,-0.409995 ,-0.134646}; +static float N034[3] = {-0.509115 ,-0.848498 ,-0.144404}; +static float N035[3] = {0.456469 ,-0.880293 ,-0.129305}; +static float N036[3] = {0.873401 ,-0.475489 ,-0.105266}; +static float N037[3] = {0.970825 ,0.179861 ,-0.158584}; +static float N038[3] = {0.675609 ,0.714187 ,-0.183004}; +static float N039[3] = {-0.523574 ,0.830212 ,-0.191360}; +static float N040[3] = {-0.958895 ,0.230808 ,-0.165071}; +static float N041[3] = {-0.918285 ,-0.376803 ,-0.121542}; +static float N042[3] = {-0.622467 ,-0.774167 ,-0.114888}; +static float N043[3] = {0.404497 ,-0.908807 ,-0.102231}; +static float N044[3] = {0.930538 ,-0.365155 ,-0.027588}; +static float N045[3] = {0.921920 ,0.374157 ,-0.100345}; +static float N046[3] = {0.507346 ,0.860739 ,0.041562}; +static float N047[3] = {-0.394646 ,0.918815 ,-0.005730}; +static float N048[3] = {-0.925411 ,0.373024 ,-0.066837}; +static float N049[3] = {-0.945337 ,-0.322309 ,-0.049551}; +static float N050[3] = {-0.660437 ,-0.750557 ,-0.022072}; +static float N051[3] = {0.488835 ,-0.871950 ,-0.027261}; +static float N052[3] = {0.902599 ,-0.421397 ,0.087969}; +static float N053[3] = {0.938636 ,0.322606 ,0.122020}; +static float N054[3] = {0.484605 ,0.871078 ,0.079878}; +static float N055[3] = {-0.353607 ,0.931559 ,0.084619}; +static float N056[3] = {-0.867759 ,0.478564 ,0.134054}; +static float N057[3] = {-0.951583 ,-0.296030 ,0.082794}; +static float N058[3] = {-0.672355 ,-0.730209 ,0.121384}; +static float N059[3] = {0.528336 ,-0.842452 ,0.105525}; +static float N060[3] = {0.786913 ,-0.564760 ,0.248627}; +static float N062[3] = {0.622098 ,0.765230 ,0.165584}; +static float N063[3] = {-0.631711 ,0.767816 ,0.106773}; +static float N064[3] = {-0.687886 ,0.606351 ,0.398938}; +static float N065[3] = {-0.946327 ,-0.281623 ,0.158598}; +static float N066[3] = {-0.509549 ,-0.860437 ,0.002776}; +static float N067[3] = {0.462594 ,-0.876692 ,0.131977}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N078[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N079[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N080[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N081[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N082[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N083[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N084[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N085[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N086[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N087[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N088[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N089[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N090[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N097[3] = {-0.697296 ,0.702881 ,0.140491}; +static float N098[3] = {0.918864 ,0.340821 ,0.198819}; +static float N099[3] = {-0.932737 ,0.201195 ,0.299202}; +static float N100[3] = {0.029517 ,0.981679 ,0.188244}; +static float N102[3] = {0.813521 ,-0.204936 ,0.544229}; +static float N110[3] = {-0.781480 ,-0.384779 ,0.491155}; +static float N111[3] = {-0.722243 ,0.384927 ,0.574627}; +static float N112[3] = {-0.752278 ,0.502679 ,0.425901}; +static float N113[3] = {0.547257 ,0.367910 ,0.751766}; +static float N114[3] = {0.725949 ,-0.232568 ,0.647233}; +static float N115[3] = {-0.747182 ,-0.660786 ,0.071280}; +static float N116[3] = {0.931519 ,0.200748 ,0.303270}; +static float N117[3] = {-0.828928 ,0.313757 ,0.463071}; +static float N118[3] = {0.902554 ,-0.370967 ,0.218587}; +static float N119[3] = {-0.879257 ,-0.441851 ,0.177973}; +static float N120[3] = {0.642327 ,0.611901 ,0.461512}; +static float N121[3] = {0.964817 ,-0.202322 ,0.167910}; +static float N122[3] = {0.000000 ,1.000000 ,0.000000}; +static float P001[3] = {5.68, -300.95, 1324.70}; +static float P002[3] = {338.69, -219.63, 9677.03}; +static float P003[3] = {12.18, 474.59, 9138.14}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 68.74, 9427.85}; +static float P007[3] = {156.52, -266.72, 10311.68}; +static float P008[3] = {-185.56, -266.51, 10310.47}; +static float P009[3] = {124.39, -261.46, 1942.34}; +static float P010[3] = {-130.05, -261.46, 1946.03}; +static float P011[3] = {141.07, -320.11, 1239.38}; +static float P012[3] = {156.48, -360.12, 2073.41}; +static float P013[3] = {162.00, -175.88, 2064.44}; +static float P014[3] = {88.16, -87.72, 2064.02}; +static float P015[3] = {-65.21, -96.13, 2064.02}; +static float P016[3] = {-156.48, -180.96, 2064.44}; +static float P017[3] = {-162.00, -368.93, 2082.39}; +static float P018[3] = {-88.16, -439.22, 2082.39}; +static float P019[3] = {65.21, -440.32, 2083.39}; +static float P020[3] = {246.87, -356.02, 2576.95}; +static float P021[3] = {253.17, -111.15, 2567.15}; +static float P022[3] = {132.34, 51.41, 2559.84}; +static float P023[3] = {-97.88, 40.44, 2567.15}; +static float P024[3] = {-222.97, -117.49, 2567.15}; +static float P025[3] = {-252.22, -371.53, 2569.92}; +static float P026[3] = {-108.44, -518.19, 2586.75}; +static float P027[3] = {97.88, -524.79, 2586.75}; +static float P028[3] = {370.03, -421.19, 3419.70}; +static float P029[3] = {351.15, -16.98, 3423.17}; +static float P030[3] = {200.66, 248.46, 3430.37}; +static float P031[3] = {-148.42, 235.02, 3417.91}; +static float P032[3] = {-360.21, -30.27, 3416.84}; +static float P033[3] = {-357.90, -414.89, 3407.04}; +static float P034[3] = {-148.88, -631.35, 3409.90}; +static float P035[3] = {156.38, -632.59, 3419.70}; +static float P036[3] = {462.61, -469.21, 4431.51}; +static float P037[3] = {466.60, 102.25, 4434.98}; +static float P038[3] = {243.05, 474.34, 4562.02}; +static float P039[3] = {-191.23, 474.40, 4554.42}; +static float P040[3] = {-476.12, 111.05, 4451.11}; +static float P041[3] = {-473.36, -470.74, 4444.78}; +static float P042[3] = {-266.95, -748.41, 4447.78}; +static float P043[3] = {211.14, -749.91, 4429.73}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 6360.63}; +static float P046[3] = {371.29, 804.51, 6486.26}; +static float P047[3] = {-291.43, 797.22, 6494.28}; +static float P048[3] = {-784.13, 370.75, 6378.01}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float iP001[3] = {5.68, -300.95, 1324.70}; +static float iP009[3] = {124.39, -261.46, 1942.34}; +static float iP010[3] = {-130.05, -261.46, 1946.03}; +static float iP011[3] = {141.07, -320.11, 1239.38}; +static float iP012[3] = {156.48, -360.12, 2073.41}; +static float iP013[3] = {162.00, -175.88, 2064.44}; +static float iP014[3] = {88.16, -87.72, 2064.02}; +static float iP015[3] = {-65.21, -96.13, 2064.02}; +static float iP016[3] = {-156.48, -180.96, 2064.44}; +static float iP017[3] = {-162.00, -368.93, 2082.39}; +static float iP018[3] = {-88.16, -439.22, 2082.39}; +static float iP019[3] = {65.21, -440.32, 2083.39}; +static float iP020[3] = {246.87, -356.02, 2576.95}; +static float iP021[3] = {253.17, -111.15, 2567.15}; +static float iP022[3] = {132.34, 51.41, 2559.84}; +static float iP023[3] = {-97.88, 40.44, 2567.15}; +static float iP024[3] = {-222.97, -117.49, 2567.15}; +static float iP025[3] = {-252.22, -371.53, 2569.92}; +static float iP026[3] = {-108.44, -518.19, 2586.75}; +static float iP027[3] = {97.88, -524.79, 2586.75}; +static float iP028[3] = {370.03, -421.19, 3419.70}; +static float iP029[3] = {351.15, -16.98, 3423.17}; +static float iP030[3] = {200.66, 248.46, 3430.37}; +static float iP031[3] = {-148.42, 235.02, 3417.91}; +static float iP032[3] = {-360.21, -30.27, 3416.84}; +static float iP033[3] = {-357.90, -414.89, 3407.04}; +static float iP034[3] = {-148.88, -631.35, 3409.90}; +static float iP035[3] = {156.38, -632.59, 3419.70}; +static float iP036[3] = {462.61, -469.21, 4431.51}; +static float iP037[3] = {466.60, 102.25, 4434.98}; +static float iP038[3] = {243.05, 474.34, 4562.02}; +static float iP039[3] = {-191.23, 474.40, 4554.42}; +static float iP040[3] = {-476.12, 111.05, 4451.11}; +static float iP041[3] = {-473.36, -470.74, 4444.78}; +static float iP042[3] = {-266.95, -748.41, 4447.78}; +static float iP043[3] = {211.14, -749.91, 4429.73}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 6360.63}; +static float iP046[3] = {371.29, 804.51, 6486.26}; +static float iP047[3] = {-291.43, 797.22, 6494.28}; +static float iP048[3] = {-784.13, 370.75, 6378.01}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -300.15, 7894.03}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {246.22, 558.53, 8460.50}; +static float P055[3] = {-230.41, 559.84, 8473.23}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 338.75, 9450.30}; +static float P063[3] = {-165.71, 341.04, 9462.35}; +static float P064[3] = {-298.11, 110.13, 10180.37}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -491.45, 9348.73}; +static float P068[3] = {-136.29, -319.84, 1228.73}; +static float P069[3] = {1111.17, -314.14, 1314.19}; +static float P070[3] = {-1167.34, -321.61, 1319.45}; +static float P071[3] = {1404.86, -306.66, 1235.45}; +static float P072[3] = {-1409.73, -314.14, 1247.66}; +static float P073[3] = {1254.01, -296.87, 1544.58}; +static float P074[3] = {-1262.09, -291.70, 1504.26}; +static float P075[3] = {965.71, -269.26, 1742.65}; +static float P076[3] = {-900.97, -276.74, 1726.07}; +static float iP068[3] = {-136.29, -319.84, 1228.73}; +static float iP069[3] = {1111.17, -314.14, 1314.19}; +static float iP070[3] = {-1167.34, -321.61, 1319.45}; +static float iP071[3] = {1404.86, -306.66, 1235.45}; +static float iP072[3] = {-1409.73, -314.14, 1247.66}; +static float iP073[3] = {1254.01, -296.87, 1544.58}; +static float iP074[3] = {-1262.09, -291.70, 1504.26}; +static float iP075[3] = {965.71, -269.26, 1742.65}; +static float iP076[3] = {-900.97, -276.74, 1726.07}; +static float P077[3] = {1058.00, -448.81, 8194.66}; +static float P078[3] = {-1016.51, -456.43, 8190.62}; +static float P079[3] = {-1515.96, -676.45, 7754.93}; +static float P080[3] = {1856.75, -830.34, 7296.56}; +static float P081[3] = {1472.16, -497.38, 7399.68}; +static float P082[3] = {-1775.26, -829.51, 7298.46}; +static float P083[3] = {911.09, -252.51, 7510.99}; +static float P084[3] = {-1451.94, -495.62, 7384.30}; +static float P085[3] = {1598.75, -669.26, 7769.90}; +static float P086[3] = {-836.53, -250.08, 7463.25}; +static float P087[3] = {722.87, -158.18, 8006.41}; +static float P088[3] = {-688.86, -162.28, 7993.89}; +static float P089[3] = {-626.92, -185.30, 8364.98}; +static float P090[3] = {647.72, -189.46, 8354.99}; +static float P091[3] = {0.00, 835.01, 5555.62}; +static float P092[3] = {0.00, 1350.18, 5220.86}; +static float P093[3] = {0.00, 1422.94, 5285.27}; +static float P094[3] = {0.00, 1296.75, 5650.19}; +static float P095[3] = {0.00, 795.63, 6493.88}; +static float iP091[3] = {0.00, 835.01, 5555.62}; +static float iP092[3] = {0.00, 1350.18, 5220.86}; +static float iP093[3] = {0.00, 1422.94, 5285.27}; +static float iP094[3] = {0.00, 1296.75, 5650.19}; +static float iP095[3] = {0.00, 795.63, 6493.88}; +static float P097[3] = {-194.91, -357.14, 10313.32}; +static float P098[3] = {135.35, -357.66, 10307.94}; +static float iP097[3] = {-194.91, -357.14, 10313.32}; +static float iP098[3] = {135.35, -357.66, 10307.94}; +static float P099[3] = {-380.53, -221.14, 9677.98}; +static float P100[3] = {0.00, 412.99, 9629.33}; +static float P102[3] = {59.51, -412.55, 10677.58}; +static float iP102[3] = {59.51, -412.55, 10677.58}; +static float P103[3] = {6.50, 484.74, 9009.94}; +static float P105[3] = {-41.86, 476.51, 9078.17}; +static float P108[3] = {49.20, 476.83, 9078.24}; +static float P110[3] = {-187.62, -410.04, 10674.12}; +static float iP110[3] = {-187.62, -410.04, 10674.12}; +static float P111[3] = {-184.25, -318.70, 10723.88}; +static float iP111[3] = {-184.25, -318.70, 10723.88}; +static float P112[3] = {-179.61, -142.81, 10670.26}; +static float P113[3] = {57.43, -147.94, 10675.26}; +static float P114[3] = {54.06, -218.90, 10712.44}; +static float P115[3] = {-186.35, -212.09, 10713.76}; +static float P116[3] = {205.90, -84.61, 10275.97}; +static float P117[3] = {-230.96, -83.26, 10280.09}; +static float iP118[3] = {216.78, -509.17, 10098.94}; +static float iP119[3] = {-313.21, -510.79, 10102.62}; +static float P118[3] = {216.78, -509.17, 10098.94}; +static float P119[3] = {-313.21, -510.79, 10102.62}; +static float P120[3] = {217.95, 96.34, 10161.62}; +static float P121[3] = {71.99, -319.74, 10717.70}; +static float iP121[3] = {71.99, -319.74, 10717.70}; +static float P122[3] = {0.00, 602.74, 5375.84}; +static float iP122[3] = {0.00, 602.74, 5375.84}; +static float P123[3] = {-448.94, -203.14, 9499.60}; +static float P124[3] = {-442.64, -185.20, 9528.07}; +static float P125[3] = {-441.07, -148.05, 9528.07}; +static float P126[3] = {-443.43, -128.84, 9499.60}; +static float P127[3] = {-456.87, -146.78, 9466.67}; +static float P128[3] = {-453.68, -183.93, 9466.67}; +static float P129[3] = {428.43, -124.08, 9503.03}; +static float P130[3] = {419.73, -142.14, 9534.56}; +static float P131[3] = {419.92, -179.96, 9534.56}; +static float P132[3] = {431.20, -199.73, 9505.26}; +static float P133[3] = {442.28, -181.67, 9475.96}; +static float P134[3] = {442.08, -143.84, 9475.96}; +/* *INDENT-ON* */ + +void +Dolphin001(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P076); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P072); + glVertex3fv(P074); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P072); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P074); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P068); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P001); + glVertex3fv(P010); + glEnd(); +} + +void +Dolphin002(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P001); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P075); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P075); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P069); + glVertex3fv(P073); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P009); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P069); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P073); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P071); + glVertex3fv(P073); + glEnd(); +} + +void +Dolphin003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Dolphin004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Dolphin005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Dolphin006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N091); + glVertex3fv(P091); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Dolphin007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Dolphin008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Dolphin009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Dolphin010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Dolphin011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Dolphin012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); +} + +void +Dolphin013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N113); + glVertex3fv(P113); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P007); + glVertex3fv(P008); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P007); + glVertex3fv(P114); + glVertex3fv(P115); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N112); + glVertex3fv(P112); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); +} + +void +Dolphin014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P098); + glVertex3fv(P097); + glVertex3fv(P111); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P099); + glVertex3fv(P097); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); +} + +void +Dolphin015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N117); + glVertex3fv(P117); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Dolphin016(void) +{ + + glDisable(GL_DEPTH_TEST); + glBegin(GL_POLYGON); + glVertex3fv(P123); + glVertex3fv(P124); + glVertex3fv(P125); + glVertex3fv(P126); + glVertex3fv(P127); + glVertex3fv(P128); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P129); + glVertex3fv(P130); + glVertex3fv(P131); + glVertex3fv(P132); + glVertex3fv(P133); + glVertex3fv(P134); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P103); + glVertex3fv(P105); + glVertex3fv(P108); + glEnd(); + glEnable(GL_DEPTH_TEST); +} + +void +DrawDolphin(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (10.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg3 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.0 * thrash * sin((fish->htail + 4.0) * RRAD); + seg2 = 3.0 * thrash * sin((fish->htail + 6.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 10.0) * RRAD); + seg5 = 4.5 * thrash * sin((fish->htail + 15.0) * RRAD); + seg6 = 5.0 * thrash * sin((fish->htail + 20.0) * RRAD); + seg7 = 6.0 * thrash * sin((fish->htail + 30.0) * RRAD); + + pitch = fish->v * sin((fish->htail + 180.0) * RRAD); + + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + chomp = 100.0; + + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3; + P122[1] = iP122[1] + seg3 * 1.5; + + P097[1] = iP097[1] + chomp; + P098[1] = iP098[1] + chomp; + P102[1] = iP102[1] + chomp; + P110[1] = iP110[1] + chomp; + P111[1] = iP111[1] + chomp; + P121[1] = iP121[1] + chomp; + P118[1] = iP118[1] + chomp; + P119[1] = iP119[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 7000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glEnable(GL_CULL_FACE); + Dolphin014(); + Dolphin010(); + Dolphin009(); + Dolphin012(); + Dolphin013(); + Dolphin006(); + Dolphin002(); + Dolphin001(); + Dolphin003(); + Dolphin015(); + Dolphin004(); + Dolphin005(); + Dolphin007(); + Dolphin008(); + Dolphin011(); + Dolphin016(); + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/shark.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/shark.c new file mode 100644 index 0000000..9c847db --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/shark.c @@ -0,0 +1,1308 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N002[3] = {0.000077 ,-0.020611 ,0.999788}; +static float N003[3] = {0.961425 ,0.258729 ,-0.093390}; +static float N004[3] = {0.510811 ,-0.769633 ,-0.383063}; +static float N005[3] = {0.400123 ,0.855734 ,-0.328055}; +static float N006[3] = {-0.770715 ,0.610204 ,-0.183440}; +static float N007[3] = {-0.915597 ,-0.373345 ,-0.149316}; +static float N008[3] = {-0.972788 ,0.208921 ,-0.100179}; +static float N009[3] = {-0.939713 ,-0.312268 ,-0.139383}; +static float N010[3] = {-0.624138 ,-0.741047 ,-0.247589}; +static float N011[3] = {0.591434 ,-0.768401 ,-0.244471}; +static float N012[3] = {0.935152 ,-0.328495 ,-0.132598}; +static float N013[3] = {0.997102 ,0.074243 ,-0.016593}; +static float N014[3] = {0.969995 ,0.241712 ,-0.026186}; +static float N015[3] = {0.844539 ,0.502628 ,-0.184714}; +static float N016[3] = {-0.906608 ,0.386308 ,-0.169787}; +static float N017[3] = {-0.970016 ,0.241698 ,-0.025516}; +static float N018[3] = {-0.998652 ,0.050493 ,-0.012045}; +static float N019[3] = {-0.942685 ,-0.333051 ,-0.020556}; +static float N020[3] = {-0.660944 ,-0.750276 ,0.015480}; +static float N021[3] = {0.503549 ,-0.862908 ,-0.042749}; +static float N022[3] = {0.953202 ,-0.302092 ,-0.012089}; +static float N023[3] = {0.998738 ,0.023574 ,0.044344}; +static float N024[3] = {0.979297 ,0.193272 ,0.060202}; +static float N025[3] = {0.798300 ,0.464885 ,0.382883}; +static float N026[3] = {-0.756590 ,0.452403 ,0.472126}; +static float N027[3] = {-0.953855 ,0.293003 ,0.065651}; +static float N028[3] = {-0.998033 ,0.040292 ,0.048028}; +static float N029[3] = {-0.977079 ,-0.204288 ,0.059858}; +static float N030[3] = {-0.729117 ,-0.675304 ,0.111140}; +static float N031[3] = {0.598361 ,-0.792753 ,0.116221}; +static float N032[3] = {0.965192 ,-0.252991 ,0.066332}; +static float N033[3] = {0.998201 ,-0.002790 ,0.059892}; +static float N034[3] = {0.978657 ,0.193135 ,0.070207}; +static float N035[3] = {0.718815 ,0.680392 ,0.142733}; +static float N036[3] = {-0.383096 ,0.906212 ,0.178936}; +static float N037[3] = {-0.952831 ,0.292590 ,0.080647}; +static float N038[3] = {-0.997680 ,0.032417 ,0.059861}; +static float N039[3] = {-0.982629 ,-0.169881 ,0.074700}; +static float N040[3] = {-0.695424 ,-0.703466 ,0.146700}; +static float N041[3] = {0.359323 ,-0.915531 ,0.180805}; +static float N042[3] = {0.943356 ,-0.319387 ,0.089842}; +static float N043[3] = {0.998272 ,-0.032435 ,0.048993}; +static float N044[3] = {0.978997 ,0.193205 ,0.065084}; +static float N045[3] = {0.872144 ,0.470094 ,-0.135565}; +static float N046[3] = {-0.664282 ,0.737945 ,-0.119027}; +static float N047[3] = {-0.954508 ,0.288570 ,0.075107}; +static float N048[3] = {-0.998273 ,0.032406 ,0.048993}; +static float N049[3] = {-0.979908 ,-0.193579 ,0.048038}; +static float N050[3] = {-0.858736 ,-0.507202 ,-0.072938}; +static float N051[3] = {0.643545 ,-0.763887 ,-0.048237}; +static float N052[3] = {0.955580 ,-0.288954 ,0.058068}; +static float N058[3] = {0.000050 ,0.793007 ,-0.609213}; +static float N059[3] = {0.913510 ,0.235418 ,-0.331779}; +static float N060[3] = {-0.807970 ,0.495000 ,-0.319625}; +static float N061[3] = {0.000000 ,0.784687 ,-0.619892}; +static float N062[3] = {0.000000 ,-1.000000 ,0.000000}; +static float N063[3] = {0.000000 ,1.000000 ,0.000000}; +static float N064[3] = {0.000000 ,1.000000 ,0.000000}; +static float N065[3] = {0.000000 ,1.000000 ,0.000000}; +static float N066[3] = {-0.055784 ,0.257059 ,0.964784}; +static float N069[3] = {-0.000505 ,-0.929775 ,-0.368127}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float P002[3] = {0.00, -36.59, 5687.72}; +static float P003[3] = {90.00, 114.73, 724.38}; +static float P004[3] = {58.24, -146.84, 262.35}; +static float P005[3] = {27.81, 231.52, 510.43}; +static float P006[3] = {-27.81, 230.43, 509.76}; +static float P007[3] = {-46.09, -146.83, 265.84}; +static float P008[3] = {-90.00, 103.84, 718.53}; +static float P009[3] = {-131.10, -165.92, 834.85}; +static float P010[3] = {-27.81, -285.31, 500.00}; +static float P011[3] = {27.81, -285.32, 500.00}; +static float P012[3] = {147.96, -170.89, 845.50}; +static float P013[3] = {180.00, 0.00, 2000.00}; +static float P014[3] = {145.62, 352.67, 2000.00}; +static float P015[3] = {55.62, 570.63, 2000.00}; +static float P016[3] = {-55.62, 570.64, 2000.00}; +static float P017[3] = {-145.62, 352.68, 2000.00}; +static float P018[3] = {-180.00, 0.01, 2000.00}; +static float P019[3] = {-178.20, -352.66, 2001.61}; +static float P020[3] = {-55.63, -570.63, 2000.00}; +static float P021[3] = {55.62, -570.64, 2000.00}; +static float P022[3] = {179.91, -352.69, 1998.39}; +static float P023[3] = {150.00, 0.00, 3000.00}; +static float P024[3] = {121.35, 293.89, 3000.00}; +static float P025[3] = {46.35, 502.93, 2883.09}; +static float P026[3] = {-46.35, 497.45, 2877.24}; +static float P027[3] = {-121.35, 293.90, 3000.00}; +static float P028[3] = {-150.00, 0.00, 3000.00}; +static float P029[3] = {-152.21, -304.84, 2858.68}; +static float P030[3] = {-46.36, -475.52, 3000.00}; +static float P031[3] = {46.35, -475.53, 3000.00}; +static float P032[3] = {155.64, -304.87, 2863.50}; +static float P033[3] = {90.00, 0.00, 4000.00}; +static float P034[3] = {72.81, 176.33, 4000.00}; +static float P035[3] = {27.81, 285.32, 4000.00}; +static float P036[3] = {-27.81, 285.32, 4000.00}; +static float P037[3] = {-72.81, 176.34, 4000.00}; +static float P038[3] = {-90.00, 0.00, 4000.00}; +static float P039[3] = {-72.81, -176.33, 4000.00}; +static float P040[3] = {-27.81, -285.31, 4000.00}; +static float P041[3] = {27.81, -285.32, 4000.00}; +static float P042[3] = {72.81, -176.34, 4000.00}; +static float P043[3] = {30.00, 0.00, 5000.00}; +static float P044[3] = {24.27, 58.78, 5000.00}; +static float P045[3] = {9.27, 95.11, 5000.00}; +static float P046[3] = {-9.27, 95.11, 5000.00}; +static float P047[3] = {-24.27, 58.78, 5000.00}; +static float P048[3] = {-30.00, 0.00, 5000.00}; +static float P049[3] = {-24.27, -58.78, 5000.00}; +static float P050[3] = {-9.27, -95.10, 5000.00}; +static float P051[3] = {9.27, -95.11, 5000.00}; +static float P052[3] = {24.27, -58.78, 5000.00}; +static float P058[3] = {0.00, 1212.72, 2703.08}; +static float P059[3] = {50.36, 0.00, 108.14}; +static float P060[3] = {-22.18, 0.00, 108.14}; +static float P061[3] = {0.00, 1181.61, 6344.65}; +static float P062[3] = {516.45, -887.08, 2535.45}; +static float P063[3] = {-545.69, -879.31, 2555.63}; +static float P064[3] = {618.89, -1005.64, 2988.32}; +static float P065[3] = {-635.37, -1014.79, 2938.68}; +static float P066[3] = {0.00, 1374.43, 3064.18}; +static float P069[3] = {0.00, -418.25, 5765.04}; +static float P070[3] = {0.00, 1266.91, 6629.60}; +static float P071[3] = {-139.12, -124.96, 997.98}; +static float P072[3] = {-139.24, -110.18, 1020.68}; +static float P073[3] = {-137.33, -94.52, 1022.63}; +static float P074[3] = {-137.03, -79.91, 996.89}; +static float P075[3] = {-135.21, -91.48, 969.14}; +static float P076[3] = {-135.39, -110.87, 968.76}; +static float P077[3] = {150.23, -78.44, 995.53}; +static float P078[3] = {152.79, -92.76, 1018.46}; +static float P079[3] = {154.19, -110.20, 1020.55}; +static float P080[3] = {151.33, -124.15, 993.77}; +static float P081[3] = {150.49, -111.19, 969.86}; +static float P082[3] = {150.79, -92.41, 969.70}; +static float iP002[3] = {0.00, -36.59, 5687.72}; +static float iP004[3] = {58.24, -146.84, 262.35}; +static float iP007[3] = {-46.09, -146.83, 265.84}; +static float iP010[3] = {-27.81, -285.31, 500.00}; +static float iP011[3] = {27.81, -285.32, 500.00}; +static float iP023[3] = {150.00, 0.00, 3000.00}; +static float iP024[3] = {121.35, 293.89, 3000.00}; +static float iP025[3] = {46.35, 502.93, 2883.09}; +static float iP026[3] = {-46.35, 497.45, 2877.24}; +static float iP027[3] = {-121.35, 293.90, 3000.00}; +static float iP028[3] = {-150.00, 0.00, 3000.00}; +static float iP029[3] = {-121.35, -304.84, 2853.86}; +static float iP030[3] = {-46.36, -475.52, 3000.00}; +static float iP031[3] = {46.35, -475.53, 3000.00}; +static float iP032[3] = {121.35, -304.87, 2853.86}; +static float iP033[3] = {90.00, 0.00, 4000.00}; +static float iP034[3] = {72.81, 176.33, 4000.00}; +static float iP035[3] = {27.81, 285.32, 4000.00}; +static float iP036[3] = {-27.81, 285.32, 4000.00}; +static float iP037[3] = {-72.81, 176.34, 4000.00}; +static float iP038[3] = {-90.00, 0.00, 4000.00}; +static float iP039[3] = {-72.81, -176.33, 4000.00}; +static float iP040[3] = {-27.81, -285.31, 4000.00}; +static float iP041[3] = {27.81, -285.32, 4000.00}; +static float iP042[3] = {72.81, -176.34, 4000.00}; +static float iP043[3] = {30.00, 0.00, 5000.00}; +static float iP044[3] = {24.27, 58.78, 5000.00}; +static float iP045[3] = {9.27, 95.11, 5000.00}; +static float iP046[3] = {-9.27, 95.11, 5000.00}; +static float iP047[3] = {-24.27, 58.78, 5000.00}; +static float iP048[3] = {-30.00, 0.00, 5000.00}; +static float iP049[3] = {-24.27, -58.78, 5000.00}; +static float iP050[3] = {-9.27, -95.10, 5000.00}; +static float iP051[3] = {9.27, -95.11, 5000.00}; +static float iP052[3] = {24.27, -58.78, 5000.00}; +static float iP061[3] = {0.00, 1181.61, 6344.65}; +static float iP069[3] = {0.00, -418.25, 5765.04}; +static float iP070[3] = {0.00, 1266.91, 6629.60}; +/* *INDENT-ON* */ + +void +Fish001(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N017); + glVertex3fv(P017); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N007); + glVertex3fv(P007); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P072); + glVertex3fv(P073); + glVertex3fv(P074); + glVertex3fv(P075); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P077); + glVertex3fv(P078); + glVertex3fv(P079); + glVertex3fv(P080); + glVertex3fv(P081); + glVertex3fv(P082); + glEnd(); +} + +void +Fish002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); +} + +void +Fish004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N070); + glVertex3fv(P070); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); +} + +void +Fish005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Fish006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); +} + +void +Fish007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); +} + +void +Fish008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish009(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P059); + glVertex3fv(P012); + glVertex3fv(P009); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P012); + glVertex3fv(P004); + glVertex3fv(P007); + glVertex3fv(P009); + glEnd(); +} + +void +Fish_1(void) +{ + Fish004(); + Fish005(); + Fish003(); + Fish007(); + Fish006(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); +} + +void +Fish_2(void) +{ + Fish005(); + Fish004(); + Fish003(); + Fish008(); + Fish006(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); +} + +void +Fish_3(void) +{ + Fish005(); + Fish004(); + Fish007(); + Fish003(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_4(void) +{ + Fish005(); + Fish004(); + Fish008(); + Fish003(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_5(void) +{ + Fish009(); + Fish006(); + Fish007(); + Fish001(); + Fish002(); + Fish003(); + Fish008(); + Fish004(); + Fish005(); +} + +void +Fish_6(void) +{ + Fish009(); + Fish006(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish004(); + Fish005(); +} + +void +Fish_7(void) +{ + Fish009(); + Fish001(); + Fish007(); + Fish005(); + Fish002(); + Fish008(); + Fish003(); + Fish004(); + Fish006(); +} + +void +Fish_8(void) +{ + Fish009(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish005(); + Fish004(); + Fish006(); +} + +void +DrawShark(fishRec * fish) +{ + float mat[4][4]; + int n; + float seg1, seg2, seg3, seg4, segup; + float thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 50.0 * fish->v; + + seg1 = 0.6 * thrash * sin(fish->htail * RRAD); + seg2 = 1.8 * thrash * sin((fish->htail + 45.0) * RRAD); + seg3 = 3.0 * thrash * sin((fish->htail + 90.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 110.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P004[1] = iP004[1] + chomp; + P007[1] = iP007[1] + chomp; + P010[1] = iP010[1] + chomp; + P011[1] = iP011[1] + chomp; + + P023[0] = iP023[0] + seg1; + P024[0] = iP024[0] + seg1; + P025[0] = iP025[0] + seg1; + P026[0] = iP026[0] + seg1; + P027[0] = iP027[0] + seg1; + P028[0] = iP028[0] + seg1; + P029[0] = iP029[0] + seg1; + P030[0] = iP030[0] + seg1; + P031[0] = iP031[0] + seg1; + P032[0] = iP032[0] + seg1; + P033[0] = iP033[0] + seg2; + P034[0] = iP034[0] + seg2; + P035[0] = iP035[0] + seg2; + P036[0] = iP036[0] + seg2; + P037[0] = iP037[0] + seg2; + P038[0] = iP038[0] + seg2; + P039[0] = iP039[0] + seg2; + P040[0] = iP040[0] + seg2; + P041[0] = iP041[0] + seg2; + P042[0] = iP042[0] + seg2; + P043[0] = iP043[0] + seg3; + P044[0] = iP044[0] + seg3; + P045[0] = iP045[0] + seg3; + P046[0] = iP046[0] + seg3; + P047[0] = iP047[0] + seg3; + P048[0] = iP048[0] + seg3; + P049[0] = iP049[0] + seg3; + P050[0] = iP050[0] + seg3; + P051[0] = iP051[0] + seg3; + P052[0] = iP052[0] + seg3; + P002[0] = iP002[0] + seg4; + P061[0] = iP061[0] + seg4; + P069[0] = iP069[0] + seg4; + P070[0] = iP070[0] + seg4; + + fish->vtail += ((fish->dtheta - fish->vtail) * 0.1); + + if (fish->vtail > 0.5) { + fish->vtail = 0.5; + } else if (fish->vtail < -0.5) { + fish->vtail = -0.5; + } + segup = thrash * fish->vtail; + + P023[1] = iP023[1] + segup; + P024[1] = iP024[1] + segup; + P025[1] = iP025[1] + segup; + P026[1] = iP026[1] + segup; + P027[1] = iP027[1] + segup; + P028[1] = iP028[1] + segup; + P029[1] = iP029[1] + segup; + P030[1] = iP030[1] + segup; + P031[1] = iP031[1] + segup; + P032[1] = iP032[1] + segup; + P033[1] = iP033[1] + segup * 5.0; + P034[1] = iP034[1] + segup * 5.0; + P035[1] = iP035[1] + segup * 5.0; + P036[1] = iP036[1] + segup * 5.0; + P037[1] = iP037[1] + segup * 5.0; + P038[1] = iP038[1] + segup * 5.0; + P039[1] = iP039[1] + segup * 5.0; + P040[1] = iP040[1] + segup * 5.0; + P041[1] = iP041[1] + segup * 5.0; + P042[1] = iP042[1] + segup * 5.0; + P043[1] = iP043[1] + segup * 12.0; + P044[1] = iP044[1] + segup * 12.0; + P045[1] = iP045[1] + segup * 12.0; + P046[1] = iP046[1] + segup * 12.0; + P047[1] = iP047[1] + segup * 12.0; + P048[1] = iP048[1] + segup * 12.0; + P049[1] = iP049[1] + segup * 12.0; + P050[1] = iP050[1] + segup * 12.0; + P051[1] = iP051[1] + segup * 12.0; + P052[1] = iP052[1] + segup * 12.0; + P002[1] = iP002[1] + segup * 17.0; + P061[1] = iP061[1] + segup * 17.0; + P069[1] = iP069[1] + segup * 17.0; + P070[1] = iP070[1] + segup * 17.0; + + glPushMatrix(); + + glTranslatef(0.0, 0.0, -3000.0); + + glGetFloatv(GL_MODELVIEW_MATRIX, &mat[0][0]); + n = 0; + if (mat[0][2] >= 0.0) { + n += 1; + } + if (mat[1][2] >= 0.0) { + n += 2; + } + if (mat[2][2] >= 0.0) { + n += 4; + } + glScalef(2.0, 1.0, 1.0); + + glEnable(GL_CULL_FACE); + switch (n) { + case 0: + Fish_1(); + break; + case 1: + Fish_2(); + break; + case 2: + Fish_3(); + break; + case 3: + Fish_4(); + break; + case 4: + Fish_5(); + break; + case 5: + Fish_6(); + break; + case 6: + Fish_7(); + break; + case 7: + Fish_8(); + break; + } + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/swim.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/swim.c new file mode 100644 index 0000000..cac7b60 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/swim.c @@ -0,0 +1,188 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include /* For rand(). */ +#include +#include "atlantis.h" + +void +FishTransform(fishRec * fish) +{ + + glTranslatef(fish->y, fish->z, -fish->x); + glRotatef(-fish->psi, 0.0, 1.0, 0.0); + glRotatef(fish->theta, 1.0, 0.0, 0.0); + glRotatef(-fish->phi, 0.0, 0.0, 1.0); +} + +void +WhalePilot(fishRec * fish) +{ + + fish->phi = -20.0; + fish->theta = 0.0; + fish->psi -= 0.5; + + fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkPilot(fishRec * fish) +{ + static int sign = 1; + float X, Y, Z, tpsi, ttheta, thetal; + + fish->xt = 60000.0; + fish->yt = 0.0; + fish->zt = 0.0; + + X = fish->xt - fish->x; + Y = fish->yt - fish->y; + Z = fish->zt - fish->z; + + thetal = fish->theta; + + ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); + + if (ttheta > fish->theta + 0.25) { + fish->theta += 0.5; + } else if (ttheta < fish->theta - 0.25) { + fish->theta -= 0.5; + } + if (fish->theta > 90.0) { + fish->theta = 90.0; + } + if (fish->theta < -90.0) { + fish->theta = -90.0; + } + fish->dtheta = fish->theta - thetal; + + tpsi = RAD * atan2(Y, X); + + fish->attack = 0; + + if (fabs(tpsi - fish->psi) < 10.0) { + fish->attack = 1; + } else if (fabs(tpsi - fish->psi) < 45.0) { + if (fish->psi > tpsi) { + fish->psi -= 0.5; + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } else if (fish->psi < tpsi) { + fish->psi += 0.5; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + } + } else { + if (rand() % 100 > 98) { + sign = 1 - sign; + } + fish->psi += sign; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } + + if (fish->attack) { + if (fish->v < 1.1) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.2; + } + if (fish->v > 5.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.2; + } + } else { + if (!(rand() % 400) && (!fish->spurt)) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.05; + } + if (fish->v > 3.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.05; + } + } + + fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += SHARKSPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkMiss(int i) +{ + int j; + float avoid, thetal; + float X, Y, Z, R; + + for (j = 0; j < NUM_SHARKS; j++) { + if (j != i) { + X = sharks[j].x - sharks[i].x; + Y = sharks[j].y - sharks[i].y; + Z = sharks[j].z - sharks[i].z; + + R = sqrt(X * X + Y * Y + Z * Z); + + avoid = 1.0; + thetal = sharks[i].theta; + + if (R < SHARKSIZE) { + if (Z > 0.0) { + sharks[i].theta -= avoid; + } else { + sharks[i].theta += avoid; + } + } + sharks[i].dtheta += (sharks[i].theta - thetal); + } + } +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/whale.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/whale.c new file mode 100644 index 0000000..828640a --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/whale.c @@ -0,0 +1,1798 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {0.019249 ,0.011340 ,-0.999750}; +static float N002[3] = {-0.132579 ,0.954547 ,0.266952}; +static float N003[3] = {-0.196061 ,0.980392 ,-0.019778}; +static float N004[3] = {0.695461 ,0.604704 ,0.388158}; +static float N005[3] = {0.870600 ,0.425754 ,0.246557}; +static float N006[3] = {-0.881191 ,0.392012 ,0.264251}; +static float N008[3] = {-0.341437 ,0.887477 ,0.309523}; +static float N009[3] = {0.124035 ,-0.992278 ,0.000000}; +static float N010[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N011[3] = {0.588172 ,0.000000 ,0.808736}; +static float N012[3] = {0.929824 ,-0.340623 ,-0.139298}; +static float N013[3] = {0.954183 ,0.267108 ,-0.134865}; +static float N014[3] = {0.495127 ,0.855436 ,-0.151914}; +static float N015[3] = {-0.390199 ,0.906569 ,-0.160867}; +static float N016[3] = {-0.923605 ,0.354581 ,-0.145692}; +static float N017[3] = {-0.955796 ,-0.260667 ,-0.136036}; +static float N018[3] = {-0.501283 ,-0.853462 ,-0.142540}; +static float N019[3] = {0.405300 ,-0.901974 ,-0.148913}; +static float N020[3] = {0.909913 ,-0.392746 ,-0.133451}; +static float N021[3] = {0.936494 ,0.331147 ,-0.115414}; +static float N022[3] = {0.600131 ,0.793724 ,-0.099222}; +static float N023[3] = {-0.231556 ,0.968361 ,-0.093053}; +static float N024[3] = {-0.844369 ,0.525330 ,-0.105211}; +static float N025[3] = {-0.982725 ,-0.136329 ,-0.125164}; +static float N026[3] = {-0.560844 ,-0.822654 ,-0.093241}; +static float N027[3] = {0.263884 ,-0.959981 ,-0.093817}; +static float N028[3] = {0.842057 ,-0.525192 ,-0.122938}; +static float N029[3] = {0.921620 ,0.367565 ,-0.124546}; +static float N030[3] = {0.613927 ,0.784109 ,-0.090918}; +static float N031[3] = {-0.448754 ,0.888261 ,-0.098037}; +static float N032[3] = {-0.891865 ,0.434376 ,-0.126077}; +static float N033[3] = {-0.881447 ,-0.448017 ,-0.149437}; +static float N034[3] = {-0.345647 ,-0.922057 ,-0.174183}; +static float N035[3] = {0.307998 ,-0.941371 ,-0.137688}; +static float N036[3] = {0.806316 ,-0.574647 ,-0.140124}; +static float N037[3] = {0.961346 ,0.233646 ,-0.145681}; +static float N038[3] = {0.488451 ,0.865586 ,-0.110351}; +static float N039[3] = {-0.374290 ,0.921953 ,-0.099553}; +static float N040[3] = {-0.928504 ,0.344533 ,-0.138485}; +static float N041[3] = {-0.918419 ,-0.371792 ,-0.135189}; +static float N042[3] = {-0.520666 ,-0.833704 ,-0.183968}; +static float N043[3] = {0.339204 ,-0.920273 ,-0.195036}; +static float N044[3] = {0.921475 ,-0.387382 ,-0.028636}; +static float N045[3] = {0.842465 ,0.533335 ,-0.076204}; +static float N046[3] = {0.380110 ,0.924939 ,0.002073}; +static float N047[3] = {-0.276128 ,0.961073 ,-0.009579}; +static float N048[3] = {-0.879684 ,0.473001 ,-0.049250}; +static float N049[3] = {-0.947184 ,-0.317614 ,-0.044321}; +static float N050[3] = {-0.642059 ,-0.764933 ,-0.051363}; +static float N051[3] = {0.466794 ,-0.880921 ,-0.077990}; +static float N052[3] = {0.898509 ,-0.432277 ,0.076279}; +static float N053[3] = {0.938985 ,0.328141 ,0.103109}; +static float N054[3] = {0.442420 ,0.895745 ,0.043647}; +static float N055[3] = {-0.255163 ,0.966723 ,0.018407}; +static float N056[3] = {-0.833769 ,0.540650 ,0.111924}; +static float N057[3] = {-0.953653 ,-0.289939 ,0.080507}; +static float N058[3] = {-0.672357 ,-0.730524 ,0.119461}; +static float N059[3] = {0.522249 ,-0.846652 ,0.102157}; +static float N060[3] = {0.885868 ,-0.427631 ,0.179914}; +static float N062[3] = {0.648942 ,0.743116 ,0.163255}; +static float N063[3] = {-0.578967 ,0.807730 ,0.111219}; +static float N065[3] = {-0.909864 ,-0.352202 ,0.219321}; +static float N066[3] = {-0.502541 ,-0.818090 ,0.279610}; +static float N067[3] = {0.322919 ,-0.915358 ,0.240504}; +static float N068[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N069[3] = {0.000000 ,1.000000 ,0.000000}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N072[3] = {0.000000 ,1.000000 ,0.000000}; +static float N073[3] = {0.000000 ,1.000000 ,0.000000}; +static float N074[3] = {0.000000 ,1.000000 ,0.000000}; +static float N075[3] = {0.031220 ,0.999025 ,-0.031220}; +static float N076[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {0.446821 ,0.893642 ,0.041889}; +static float N078[3] = {0.863035 ,-0.100980 ,0.494949}; +static float N079[3] = {0.585597 ,-0.808215 ,0.062174}; +static float N080[3] = {0.000000 ,1.000000 ,0.000000}; +static float N081[3] = {1.000000 ,0.000000 ,0.000000}; +static float N082[3] = {0.000000 ,1.000000 ,0.000000}; +static float N083[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N084[3] = {-0.478893 ,0.837129 ,-0.264343}; +static float N085[3] = {0.000000 ,1.000000 ,0.000000}; +static float N086[3] = {0.763909 ,0.539455 ,-0.354163}; +static float N087[3] = {0.446821 ,0.893642 ,0.041889}; +static float N088[3] = {0.385134 ,-0.908288 ,0.163352}; +static float N089[3] = {-0.605952 ,0.779253 ,-0.159961}; +static float N090[3] = {0.000000 ,1.000000 ,0.000000}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N096[3] = {0.644444 ,-0.621516 ,0.445433}; +static float N097[3] = {-0.760896 ,-0.474416 ,0.442681}; +static float N098[3] = {0.636888 ,-0.464314 ,0.615456}; +static float N099[3] = {-0.710295 ,0.647038 ,0.277168}; +static float N100[3] = {0.009604 ,0.993655 ,0.112063}; +static float iP001[3] = {18.74, 13.19, 3.76}; +static float P001[3] = {18.74, 13.19, 3.76}; +static float P002[3] = {0.00, 390.42, 10292.57}; +static float P003[3] = {55.80, 622.31, 8254.35}; +static float P004[3] = {20.80, 247.66, 10652.13}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 199.04, 9353.01}; +static float P008[3] = {-34.67, 247.64, 10663.71}; +static float iP009[3] = {97.46, 67.63, 593.82}; +static float iP010[3] = {-84.33, 67.63, 588.18}; +static float iP011[3] = {118.69, 8.98, -66.91}; +static float P009[3] = {97.46, 67.63, 593.82}; +static float P010[3] = {-84.33, 67.63, 588.18}; +static float P011[3] = {118.69, 8.98, -66.91}; +static float iP012[3] = {156.48, -31.95, 924.54}; +static float iP013[3] = {162.00, 110.22, 924.54}; +static float iP014[3] = {88.16, 221.65, 924.54}; +static float iP015[3] = {-65.21, 231.16, 924.54}; +static float iP016[3] = {-156.48, 121.97, 924.54}; +static float iP017[3] = {-162.00, -23.93, 924.54}; +static float iP018[3] = {-88.16, -139.10, 924.54}; +static float iP019[3] = {65.21, -148.61, 924.54}; +static float iP020[3] = {246.87, -98.73, 1783.04}; +static float iP021[3] = {253.17, 127.76, 1783.04}; +static float iP022[3] = {132.34, 270.77, 1783.04}; +static float iP023[3] = {-97.88, 285.04, 1783.04}; +static float iP024[3] = {-222.97, 139.80, 1783.04}; +static float iP025[3] = {-225.29, -86.68, 1783.04}; +static float iP026[3] = {-108.44, -224.15, 1783.04}; +static float iP027[3] = {97.88, -221.56, 1783.04}; +static float iP028[3] = {410.55, -200.66, 3213.87}; +static float iP029[3] = {432.19, 148.42, 3213.87}; +static float iP030[3] = {200.66, 410.55, 3213.87}; +static float iP031[3] = {-148.42, 432.19, 3213.87}; +static float iP032[3] = {-407.48, 171.88, 3213.87}; +static float iP033[3] = {-432.19, -148.42, 3213.87}; +static float iP034[3] = {-148.88, -309.74, 3213.87}; +static float iP035[3] = {156.38, -320.17, 3213.87}; +static float iP036[3] = {523.39, -303.81, 4424.57}; +static float iP037[3] = {574.66, 276.84, 4424.57}; +static float iP038[3] = {243.05, 492.50, 4424.57}; +static float iP039[3] = {-191.23, 520.13, 4424.57}; +static float iP040[3] = {-523.39, 304.01, 4424.57}; +static float iP041[3] = {-574.66, -231.83, 4424.57}; +static float iP042[3] = {-266.95, -578.17, 4424.57}; +static float iP043[3] = {211.14, -579.67, 4424.57}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 5943.46}; +static float iP046[3] = {371.29, 614.13, 5943.46}; +static float iP047[3] = {-291.43, 621.86, 5943.46}; +static float iP048[3] = {-784.13, 362.60, 5943.46}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P012[3] = {156.48, -31.95, 924.54}; +static float P013[3] = {162.00, 110.22, 924.54}; +static float P014[3] = {88.16, 221.65, 924.54}; +static float P015[3] = {-65.21, 231.16, 924.54}; +static float P016[3] = {-156.48, 121.97, 924.54}; +static float P017[3] = {-162.00, -23.93, 924.54}; +static float P018[3] = {-88.16, -139.10, 924.54}; +static float P019[3] = {65.21, -148.61, 924.54}; +static float P020[3] = {246.87, -98.73, 1783.04}; +static float P021[3] = {253.17, 127.76, 1783.04}; +static float P022[3] = {132.34, 270.77, 1783.04}; +static float P023[3] = {-97.88, 285.04, 1783.04}; +static float P024[3] = {-222.97, 139.80, 1783.04}; +static float P025[3] = {-225.29, -86.68, 1783.04}; +static float P026[3] = {-108.44, -224.15, 1783.04}; +static float P027[3] = {97.88, -221.56, 1783.04}; +static float P028[3] = {410.55, -200.66, 3213.87}; +static float P029[3] = {432.19, 148.42, 3213.87}; +static float P030[3] = {200.66, 410.55, 3213.87}; +static float P031[3] = {-148.42, 432.19, 3213.87}; +static float P032[3] = {-407.48, 171.88, 3213.87}; +static float P033[3] = {-432.19, -148.42, 3213.87}; +static float P034[3] = {-148.88, -309.74, 3213.87}; +static float P035[3] = {156.38, -320.17, 3213.87}; +static float P036[3] = {523.39, -303.81, 4424.57}; +static float P037[3] = {574.66, 276.84, 4424.57}; +static float P038[3] = {243.05, 492.50, 4424.57}; +static float P039[3] = {-191.23, 520.13, 4424.57}; +static float P040[3] = {-523.39, 304.01, 4424.57}; +static float P041[3] = {-574.66, -231.83, 4424.57}; +static float P042[3] = {-266.95, -578.17, 4424.57}; +static float P043[3] = {211.14, -579.67, 4424.57}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 5943.46}; +static float P046[3] = {371.29, 614.13, 5943.46}; +static float P047[3] = {-291.43, 621.86, 5943.46}; +static float P048[3] = {-784.13, 362.60, 5943.46}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -332.24, 7902.59}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {321.55, 558.53, 7902.59}; +static float P055[3] = {-260.54, 559.84, 7902.59}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 438.98, 9364.77}; +static float P063[3] = {-165.71, 441.27, 9355.44}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -504.03, 9355.44}; +static float iP068[3] = {-112.44, 9.25, -64.42}; +static float iP069[3] = {1155.63, 0.00, -182.46}; +static float iP070[3] = {-1143.13, 0.00, -181.54}; +static float iP071[3] = {1424.23, 0.00, -322.09}; +static float iP072[3] = {-1368.01, 0.00, -310.38}; +static float iP073[3] = {1255.57, 2.31, 114.05}; +static float iP074[3] = {-1149.38, 0.00, 117.12}; +static float iP075[3] = {718.36, 0.00, 433.36}; +static float iP076[3] = {-655.90, 0.00, 433.36}; +static float P068[3] = {-112.44, 9.25, -64.42}; +static float P069[3] = {1155.63, 0.00, -182.46}; +static float P070[3] = {-1143.13, 0.00, -181.54}; +static float P071[3] = {1424.23, 0.00, -322.09}; +static float P072[3] = {-1368.01, 0.00, -310.38}; +static float P073[3] = {1255.57, 2.31, 114.05}; +static float P074[3] = {-1149.38, 0.00, 117.12}; +static float P075[3] = {718.36, 0.00, 433.36}; +static float P076[3] = {-655.90, 0.00, 433.36}; +static float P077[3] = {1058.00, -2.66, 7923.51}; +static float P078[3] = {-1016.51, -15.47, 7902.87}; +static float P079[3] = {-1363.99, -484.50, 7593.38}; +static float P080[3] = {1478.09, -861.47, 7098.12}; +static float P081[3] = {1338.06, -284.68, 7024.15}; +static float P082[3] = {-1545.51, -860.64, 7106.60}; +static float P083[3] = {1063.19, -70.46, 7466.60}; +static float P084[3] = {-1369.18, -288.11, 7015.34}; +static float P085[3] = {1348.44, -482.50, 7591.41}; +static float P086[3] = {-1015.45, -96.80, 7474.86}; +static float P087[3] = {731.04, 148.38, 7682.58}; +static float P088[3] = {-697.03, 151.82, 7668.81}; +static float P089[3] = {-686.82, 157.09, 7922.29}; +static float P090[3] = {724.73, 147.75, 7931.39}; +static float iP091[3] = {0.00, 327.10, 2346.55}; +static float iP092[3] = {0.00, 552.28, 2311.31}; +static float iP093[3] = {0.00, 721.16, 2166.41}; +static float iP094[3] = {0.00, 693.42, 2388.80}; +static float iP095[3] = {0.00, 389.44, 2859.97}; +static float P091[3] = {0.00, 327.10, 2346.55}; +static float P092[3] = {0.00, 552.28, 2311.31}; +static float P093[3] = {0.00, 721.16, 2166.41}; +static float P094[3] = {0.00, 693.42, 2388.80}; +static float P095[3] = {0.00, 389.44, 2859.97}; +static float iP096[3] = {222.02, -183.67, 10266.89}; +static float iP097[3] = {-128.90, -182.70, 10266.89}; +static float iP098[3] = {41.04, 88.31, 10659.36}; +static float iP099[3] = {-48.73, 88.30, 10659.36}; +static float P096[3] = {222.02, -183.67, 10266.89}; +static float P097[3] = {-128.90, -182.70, 10266.89}; +static float P098[3] = {41.04, 88.31, 10659.36}; +static float P099[3] = {-48.73, 88.30, 10659.36}; +static float P100[3] = {0.00, 603.42, 9340.68}; +static float P104[3] = {-9.86, 567.62, 7858.65}; +static float P105[3] = {31.96, 565.27, 7908.46}; +static float P106[3] = {22.75, 568.13, 7782.83}; +static float P107[3] = {58.93, 568.42, 7775.94}; +static float P108[3] = {55.91, 565.59, 7905.86}; +static float P109[3] = {99.21, 566.00, 7858.65}; +static float P110[3] = {-498.83, 148.14, 9135.10}; +static float P111[3] = {-495.46, 133.24, 9158.48}; +static float P112[3] = {-490.82, 146.23, 9182.76}; +static float P113[3] = {-489.55, 174.11, 9183.66}; +static float P114[3] = {-492.92, 189.00, 9160.28}; +static float P115[3] = {-497.56, 176.02, 9136.00}; +static float P116[3] = {526.54, 169.68, 9137.70}; +static float P117[3] = {523.49, 184.85, 9161.42}; +static float P118[3] = {518.56, 171.78, 9186.06}; +static float P119[3] = {516.68, 143.53, 9186.98}; +static float P120[3] = {519.73, 128.36, 9163.26}; +static float P121[3] = {524.66, 141.43, 9138.62}; +/* *INDENT-ON* */ + +void +Whale001(void) +{ + + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N074); + glVertex3fv(P074); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); +} + +void +Whale002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); +} + +void +Whale003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Whale004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Whale005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Whale006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Whale007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Whale008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Whale009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Whale010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Whale011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Whale012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); +} + +void +Whale013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P005); + glVertex3fv(P006); + glVertex3fv(P099); + glVertex3fv(P098); + glEnd(); +} + +void +Whale014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P006); + glVertex3fv(P005); + glVertex3fv(P004); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); +} + +void +Whale015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); +} + +void +Whale016(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P104); + glVertex3fv(P105); + glVertex3fv(P106); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P107); + glVertex3fv(P108); + glVertex3fv(P109); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P110); + glVertex3fv(P111); + glVertex3fv(P112); + glVertex3fv(P113); + glVertex3fv(P114); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P116); + glVertex3fv(P117); + glVertex3fv(P118); + glVertex3fv(P119); + glVertex3fv(P120); + glVertex3fv(P121); + glEnd(); +} + +void +DrawWhale(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.5 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.5 * thrash * sin((fish->htail + 10.0) * RRAD); + seg2 = 3.7 * thrash * sin((fish->htail + 15.0) * RRAD); + seg3 = 4.8 * thrash * sin((fish->htail + 23.0) * RRAD); + seg4 = 6.0 * thrash * sin((fish->htail + 28.0) * RRAD); + seg5 = 6.5 * thrash * sin((fish->htail + 35.0) * RRAD); + seg6 = 6.5 * thrash * sin((fish->htail + 40.0) * RRAD); + seg7 = 6.5 * thrash * sin((fish->htail + 55.0) * RRAD); + + pitch = fish->v * sin((fish->htail - 160.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3 * 1.1; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3 * 0.9; + + P099[1] = iP099[1] + chomp; + P098[1] = iP098[1] + chomp; + P097[1] = iP097[1] + chomp; + P096[1] = iP096[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 8000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glScalef(3.0, 3.0, 3.0); + + glEnable(GL_CULL_FACE); + + Whale001(); + Whale002(); + Whale003(); + Whale004(); + Whale005(); + Whale006(); + Whale007(); + Whale008(); + Whale009(); + Whale010(); + Whale011(); + Whale012(); + Whale013(); + Whale014(); + Whale015(); + Whale016(); + + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/main.c new file mode 100644 index 0000000..b7794b3 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/main.c @@ -0,0 +1,179 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +extern void Atlantis_Init (); +extern void Atlantis_Reshape (int w, int h); +extern void Atlantis_Animate (); +extern void Atlantis_Display (); + +static SDL_Surface *gScreen; + +static void initAttributes () +{ + // Setup attributes we want for the OpenGL context + + int value; + + // Don't set color bit sizes (SDL_GL_RED_SIZE, etc) + // Mac OS X will always use 8-8-8-8 ARGB for 32-bit screens and + // 5-5-5 RGB for 16-bit screens + + // Request a 16-bit depth buffer (without this, there is no depth buffer) + value = 16; + SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, value); + + + // Request double-buffered OpenGL + // The fact that windows are double-buffered on Mac OS X has no effect + // on OpenGL double buffering. + value = 1; + SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, value); +} + +static void printAttributes () +{ + // Print out attributes of the context we created + int nAttr; + int i; + + int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE, + SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DEPTH_SIZE }; + + char *desc[] = { "Red size: %d bits\n", "Blue size: %d bits\n", "Green size: %d bits\n", + "Alpha size: %d bits\n", "Color buffer size: %d bits\n", + "Depth bufer size: %d bits\n" }; + + nAttr = sizeof(attr) / sizeof(int); + + for (i = 0; i < nAttr; i++) { + + int value; + SDL_GL_GetAttribute (attr[i], &value); + printf (desc[i], value); + } +} + +static void createSurface (int fullscreen) +{ + Uint32 flags = 0; + + flags = SDL_OPENGL; + if (fullscreen) + flags |= SDL_FULLSCREEN; + + // Create window + gScreen = SDL_SetVideoMode (640, 480, 0, flags); + if (gScreen == NULL) { + + fprintf (stderr, "Couldn't set 640x480 OpenGL video mode: %s\n", + SDL_GetError()); + SDL_Quit(); + exit(2); + } +} + +static void initGL () +{ + Atlantis_Init (); + Atlantis_Reshape (gScreen->w, gScreen->h); +} + +static void drawGL () +{ + Atlantis_Animate (); + Atlantis_Display (); +} + +static void mainLoop () +{ + SDL_Event event; + int done = 0; + int fps = 24; + int delay = 1000/fps; + int thenTicks = -1; + int nowTicks; + + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent (&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + + // Draw at 24 hz + // This approach is not normally recommended - it is better to + // use time-based animation and run as fast as possible + drawGL (); + SDL_GL_SwapBuffers (); + + // Time how long each draw-swap-delay cycle takes + // and adjust delay to get closer to target framerate + if (thenTicks > 0) { + nowTicks = SDL_GetTicks (); + delay += (1000/fps - (nowTicks-thenTicks)); + thenTicks = nowTicks; + if (delay < 0) + delay = 1000/fps; + } + else { + thenTicks = SDL_GetTicks (); + } + + SDL_Delay (delay); + } +} + +int main(int argc, char *argv[]) +{ + // Init SDL video subsystem + if ( SDL_Init (SDL_INIT_VIDEO) < 0 ) { + + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + // Set GL context attributes + initAttributes (); + + // Create GL context + createSurface (0); + + // Get GL context attributes + printAttributes (); + + // Init GL state + initGL (); + + // Draw, get events... + mainLoop (); + + // Cleanup + SDL_Quit(); + + return 0; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/English.lproj/InfoPlist.strings new file mode 100755 index 0000000..e612457 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/Info.plist new file mode 100644 index 0000000..c678d11 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.«PROJECTNAMEASXML» + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..d9ca454 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ccac459 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/project.pbxproj @@ -0,0 +1,324 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXBuildStyle section */ + 4A9504CCFFE6A4B311CA0CBA /* Debug */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Debug; + }; + 4A9504CDFFE6A4B311CA0CBA /* Release */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Release; + }; +/* End PBXBuildStyle section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file; path = "«PROJECTNAME»_Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "«PROJECTNAMEASXML»"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + buildSettings = { + }; + dependencies = ( + ); + name = "«PROJECTNAME»"; + productInstallPath = "$(HOME)/Applications"; + productName = "«PROJECTNAME»"; + productReference = 8D1107320486CEB800E47090 /* «PROJECTNAME».app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLApp" */; + buildSettings = { + }; + buildStyles = ( + 4A9504CCFFE6A4B311CA0CBA /* Debug */, + 4A9504CDFFE6A4B311CA0CBA /* Release */, + ); + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */; + projectDirPath = ""; + targets = ( + 8D1107260486CEB800E47090 /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + ZERO_LINK = YES; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp_Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp_Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp_Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/InfoPlist.strings new file mode 100755 index 0000000..e612457 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib new file mode 100644 index 0000000..799eaad --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib @@ -0,0 +1,19 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = { + help = id; + newGame = id; + openGame = id; + prefsMenu = id; + saveGame = id; + saveGameAs = id; + }; + CLASS = SDLMain; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib new file mode 100644 index 0000000..1d6fb7e --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib @@ -0,0 +1,21 @@ + + + + + IBDocumentLocation + 62 117 356 240 0 0 1152 848 + IBEditorPositions + + 29 + 62 362 195 44 0 0 1152 848 + + IBFramework Version + 291.0 + IBOpenObjects + + 29 + + IBSystem Version + 6L60 + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib new file mode 100644 index 0000000..6378015 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/Info.plist new file mode 100644 index 0000000..c678d11 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.«PROJECTNAMEASXML» + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLApp_Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLApp_Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLApp_Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..1dcbea2 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application with Cocoa menus."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5859662 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/project.pbxproj @@ -0,0 +1,336 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXBuildStyle section */ + 4A9504CCFFE6A4B311CA0CBA /* Debug */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Debug; + }; + 4A9504CDFFE6A4B311CA0CBA /* Release */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Release; + }; +/* End PBXBuildStyle section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = ""; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file; path = "«PROJECTNAME»_Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "«PROJECTNAMEASXML»"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + buildSettings = { + }; + dependencies = ( + ); + name = "«PROJECTNAME»"; + productInstallPath = "$(HOME)/Applications"; + productName = "«PROJECTNAME»"; + productReference = 8D1107320486CEB800E47090 /* «PROJECTNAME».app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLCocoaApp" */; + buildSettings = { + }; + buildStyles = ( + 4A9504CCFFE6A4B311CA0CBA /* Debug */, + 4A9504CDFFE6A4B311CA0CBA /* Release */, + ); + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */; + projectDirPath = ""; + targets = ( + 8D1107260486CEB800E47090 /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + 002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = { + isa = PBXVariantGroup; + children = ( + 002F3AF009D08F1000EBEB88 /* English */, + ); + name = SDLMain.nib; + sourceTree = ""; + }; + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + ZERO_LINK = YES; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLCocoaApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/main.c new file mode 100644 index 0000000..7115de9 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/main.c @@ -0,0 +1,65 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +int main(int argc, char *argv[]) +{ + Uint32 initflags = SDL_INIT_VIDEO; /* See documentation for details */ + SDL_Surface *screen; + Uint8 video_bpp = 0; + Uint32 videoflags = SDL_SWSURFACE; + int done; + SDL_Event event; + + /* Initialize the SDL library */ + if ( SDL_Init(initflags) < 0 ) { + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + /* Set 640x480 video mode */ + screen=SDL_SetVideoMode(640,480, video_bpp, videoflags); + if (screen == NULL) { + fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n", + video_bpp, SDL_GetError()); + SDL_Quit(); + exit(2); + } + + done = 0; + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent(&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + } + + /* Clean up the SDL library */ + SDL_Quit(); + return(0); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/English.lproj/InfoPlist.strings b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/English.lproj/InfoPlist.strings new file mode 100755 index 0000000..e612457 Binary files /dev/null and b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/English.lproj/InfoPlist.strings differ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/Info.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/Info.plist new file mode 100644 index 0000000..c678d11 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.«PROJECTNAMEASXML» + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLApp_Prefix.pch b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLApp_Prefix.pch new file mode 100644 index 0000000..0009507 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLApp_Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project +// + +#include "SDL.h" + +#ifdef __OBJC__ + #import +#endif diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.h new file mode 100644 index 0000000..c56d90c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.h @@ -0,0 +1,16 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#ifndef _SDLMain_h_ +#define _SDLMain_h_ + +#import + +@interface SDLMain : NSObject +@end + +#endif /* _SDLMain_h_ */ diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.m b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.m new file mode 100644 index 0000000..b065a20 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLMain.m @@ -0,0 +1,383 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#include "SDL.h" +#include "SDLMain.h" +#include /* for MAXPATHLEN */ +#include + +/* For some reaon, Apple removed setAppleMenu from the headers in 10.4, + but the method still is there and works. To avoid warnings, we declare + it ourselves here. */ +@interface NSApplication(SDL_Missing_Methods) +- (void)setAppleMenu:(NSMenu *)menu; +@end + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; +static BOOL gCalledAppMainline = FALSE; + +static NSString *getApplicationName(void) +{ + const NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (const NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} +@end + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) { + chdir(parentdir); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (int argc, char **argv) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + + +/* + * Catch document open requests...this lets us notice files when the app + * was launched by double-clicking a document, or when a document was + * dragged/dropped on the app's icon. You need to have a + * CFBundleDocumentsType section in your Info.plist to get this message, + * apparently. + * + * Files are added to gArgv, so to the app, they'll look like command line + * arguments. Previously, apps launched from the finder had nothing but + * an argv[0]. + * + * This message may be received multiple times to open several docs on launch. + * + * This message is ignored once the app's mainline has been called. + */ +- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename +{ + const char *temparg; + size_t arglen; + char *arg; + char **newargv; + + if (!gFinderLaunch) /* MacOS is passing command line args. */ + return FALSE; + + if (gCalledAppMainline) /* app has started, ignore this document. */ + return FALSE; + + temparg = [filename UTF8String]; + arglen = SDL_strlen(temparg) + 1; + arg = (char *) SDL_malloc(arglen); + if (arg == NULL) + return FALSE; + + newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2)); + if (newargv == NULL) + { + SDL_free(arg); + return FALSE; + } + gArgv = newargv; + + SDL_strlcpy(arg, temparg, arglen); + gArgv[gArgc++] = arg; + gArgv[gArgc] = NULL; + return TRUE; +} + + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + gCalledAppMainline = TRUE; + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = (unichar *)NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgv = (char **) SDL_malloc(sizeof (char *) * 2); + gArgv[0] = argv[0]; + gArgv[1] = NULL; + gArgc = 1; + gFinderLaunch = YES; + } else { + int i; + gArgc = argc; + gArgv = (char **) SDL_malloc(sizeof (char *) * (argc+1)); + for (i = 0; i <= argc; i++) + gArgv[i] = argv[i]; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} + diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/TemplateInfo.plist b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/TemplateInfo.plist new file mode 100644 index 0000000..ba87745 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/TemplateInfo.plist @@ -0,0 +1,12 @@ +{ + FilesToRename = { + "SDLApp_Prefix.pch" = "ÇPROJECTNAMEÈ_Prefix.pch"; + }; + FilesToMacroExpand = ( + "ÇPROJECTNAMEÈ_Prefix.pch", + "Info.plist", + "English.lproj/InfoPlist.strings", + "main.c", + ); + Description = "This project builds an SDL-based application that uses OpenGL."; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/project.pbxproj b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6995ccb --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/project.pbxproj @@ -0,0 +1,362 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; }; + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A2C09D0888800EBEB88 /* SDLMain.m */; }; + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; }; + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF409D0938900EBEB88 /* atlantis.c */; }; + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF609D0938900EBEB88 /* dolphin.c */; }; + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF709D0938900EBEB88 /* shark.c */; }; + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF809D0938900EBEB88 /* swim.c */; }; + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF909D0938900EBEB88 /* whale.c */; }; + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C0009D093BD00EBEB88 /* OpenGL.framework */; }; + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C6009D0951E00EBEB88 /* GLUT.framework */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXBuildStyle section */ + 4A9504CCFFE6A4B311CA0CBA /* Debug */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Debug; + }; + 4A9504CDFFE6A4B311CA0CBA /* Release */ = { + isa = PBXBuildStyle; + buildSettings = { + }; + name = Release; + }; +/* End PBXBuildStyle section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */, + ); + name = "Copy Frameworks into .app bundle"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = ""; }; + 002F3A2B09D0888800EBEB88 /* SDLMain.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SDLMain.h; sourceTree = SOURCE_ROOT; }; + 002F3A2C09D0888800EBEB88 /* SDLMain.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SDLMain.m; sourceTree = SOURCE_ROOT; }; + 002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; }; + 002F3BF409D0938900EBEB88 /* atlantis.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = atlantis.c; path = atlantis/atlantis.c; sourceTree = SOURCE_ROOT; }; + 002F3BF509D0938900EBEB88 /* atlantis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = atlantis.h; path = atlantis/atlantis.h; sourceTree = SOURCE_ROOT; }; + 002F3BF609D0938900EBEB88 /* dolphin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = dolphin.c; path = atlantis/dolphin.c; sourceTree = SOURCE_ROOT; }; + 002F3BF709D0938900EBEB88 /* shark.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = shark.c; path = atlantis/shark.c; sourceTree = SOURCE_ROOT; }; + 002F3BF809D0938900EBEB88 /* swim.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = swim.c; path = atlantis/swim.c; sourceTree = SOURCE_ROOT; }; + 002F3BF909D0938900EBEB88 /* whale.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = whale.c; path = atlantis/whale.c; sourceTree = SOURCE_ROOT; }; + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + 002F3C6009D0951E00EBEB88 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../../../../../../../../System/Library/Frameworks/GLUT.framework; sourceTree = SOURCE_ROOT; }; + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file; path = "«PROJECTNAME»_Prefix.pch"; sourceTree = ""; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */, + 002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */, + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + 002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 002F3BF309D0937800EBEB88 /* atlantis */ = { + isa = PBXGroup; + children = ( + 002F3BF409D0938900EBEB88 /* atlantis.c */, + 002F3BF509D0938900EBEB88 /* atlantis.h */, + 002F3BF609D0938900EBEB88 /* dolphin.c */, + 002F3BF709D0938900EBEB88 /* shark.c */, + 002F3BF809D0938900EBEB88 /* swim.c */, + 002F3BF909D0938900EBEB88 /* whale.c */, + ); + name = atlantis; + sourceTree = ""; + }; + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 002F3A2B09D0888800EBEB88 /* SDLMain.h */, + 002F3A2C09D0888800EBEB88 /* SDLMain.m */, + ); + name = Classes; + sourceTree = ""; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 002F39F909D0881F00EBEB88 /* SDL.framework */, + 002F3C6009D0951E00EBEB88 /* GLUT.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + 002F3C0009D093BD00EBEB88 /* OpenGL.framework */, + ); + name = "Linked Frameworks"; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* «PROJECTNAME».app */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "«PROJECTNAMEASXML»"; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 002F3BF309D0937800EBEB88 /* atlantis */, + 32CA4F630368D1EE00C91783 /* «PROJECTNAME»_Prefix.pch */, + 002F3A3E09D088BA00EBEB88 /* main.c */, + ); + name = "Other Sources"; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */, + ); + buildRules = ( + ); + buildSettings = { + }; + dependencies = ( + ); + name = "«PROJECTNAME»"; + productInstallPath = "$(HOME)/Applications"; + productName = "«PROJECTNAME»"; + productReference = 8D1107320486CEB800E47090 /* «PROJECTNAME».app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLOpenGLApp" */; + buildSettings = { + }; + buildStyles = ( + 4A9504CCFFE6A4B311CA0CBA /* Debug */, + 4A9504CDFFE6A4B311CA0CBA /* Release */, + ); + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */; + projectDirPath = ""; + targets = ( + 8D1107260486CEB800E47090 /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 002F3A2E09D0888800EBEB88 /* SDLMain.m in Sources */, + 002F3A3F09D088BA00EBEB88 /* main.c in Sources */, + 002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */, + 002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */, + 002F3BFD09D0938900EBEB88 /* shark.c in Sources */, + 002F3BFE09D0938900EBEB88 /* swim.c in Sources */, + 002F3BFF09D0938900EBEB88 /* whale.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C01FCF4B08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + ZERO_LINK = YES; + }; + name = Debug; + }; + C01FCF4C08A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "«PROJECTNAME»"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks", + /Library/Frameworks, + "$(FRAMEWORK_SEARCH_PATHS)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(HOME)/Library/Frameworks/SDL.framework/Headers", + /Library/Frameworks/SDL.framework/Headers, + "$(HEADER_SEARCH_PATHS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4B08A954540054247B /* Debug */, + C01FCF4C08A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLOpenGLApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.c new file mode 100644 index 0000000..4efdf6c --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.c @@ -0,0 +1,459 @@ + +/* Copyright (c) Mark J. Kilgard, 1994. */ + +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include +#include +#include +#include +#include "atlantis.h" + +fishRec sharks[NUM_SHARKS]; +fishRec momWhale; +fishRec babyWhale; +fishRec dolph; + +GLboolean Timing = GL_TRUE; + +int w_win = 640; +int h_win = 480; +GLint count = 0; +GLenum StrMode = GL_VENDOR; + +GLboolean moving; + +static double mtime(void) +{ + struct timeval tk_time; + struct timezone tz; + + gettimeofday(&tk_time, &tz); + + return 4294.967296 * tk_time.tv_sec + 0.000001 * tk_time.tv_usec; +} + +static double filter(double in, double *save) +{ + static double k1 = 0.9; + static double k2 = 0.05; + + save[3] = in; + save[1] = save[0]*k1 + k2*(save[3] + save[2]); + + save[0]=save[1]; + save[2]=save[3]; + + return(save[1]); +} + +void DrawStr(const char *str) +{ + GLint i = 0; + + if(!str) return; + + while(str[i]) + { + glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]); + i++; + } +} + +void +InitFishs(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + sharks[i].x = 70000.0 + rand() % 6000; + sharks[i].y = rand() % 6000; + sharks[i].z = rand() % 6000; + sharks[i].psi = rand() % 360 - 180.0; + sharks[i].v = 1.0; + } + + dolph.x = 30000.0; + dolph.y = 0.0; + dolph.z = 6000.0; + dolph.psi = 90.0; + dolph.theta = 0.0; + dolph.v = 3.0; + + momWhale.x = 70000.0; + momWhale.y = 0.0; + momWhale.z = 0.0; + momWhale.psi = 90.0; + momWhale.theta = 0.0; + momWhale.v = 3.0; + + babyWhale.x = 60000.0; + babyWhale.y = -2000.0; + babyWhale.z = -2000.0; + babyWhale.psi = 90.0; + babyWhale.theta = 0.0; + babyWhale.v = 3.0; +} + +void +Atlantis_Init(void) +{ + static float ambient[] = {0.2, 0.2, 0.2, 1.0}; + static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; + static float position[] = {0.0, 1.0, 0.0, 0.0}; + static float mat_shininess[] = {90.0}; + static float mat_specular[] = {0.8, 0.8, 0.8, 1.0}; + static float mat_diffuse[] = {0.46, 0.66, 0.795, 1.0}; + static float mat_ambient[] = {0.3, 0.4, 0.5, 1.0}; + static float lmodel_ambient[] = {0.4, 0.4, 0.4, 1.0}; + static float lmodel_localviewer[] = {0.0}; + //GLfloat map1[4] = {0.0, 0.0, 0.0, 0.0}; + //GLfloat map2[4] = {0.0, 0.0, 0.0, 0.0}; + static float fog_color[] = {0.0, 0.5, 0.9, 1.0}; + + glFrontFace(GL_CCW); + + glDepthFunc(GL_LESS); + glEnable(GL_DEPTH_TEST); + + glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); + glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); + glLightfv(GL_LIGHT0, GL_POSITION, position); + glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient); + glLightModelfv(GL_LIGHT_MODEL_LOCAL_VIEWER, lmodel_localviewer); + glEnable(GL_LIGHTING); + glEnable(GL_LIGHT0); + + glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, mat_shininess); + glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular); + glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse); + glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient); + + InitFishs(); + + glEnable(GL_FOG); + glFogi(GL_FOG_MODE, GL_EXP); + glFogf(GL_FOG_DENSITY, 0.0000025); + glFogfv(GL_FOG_COLOR, fog_color); + + glClearColor(0.0, 0.5, 0.9, 1.0); +} + +void +Atlantis_Reshape(int width, int height) +{ + w_win = width; + h_win = height; + + glViewport(0, 0, width, height); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + gluPerspective(60.0, (GLfloat) width / (GLfloat) height, 20000.0, 300000.0); + glMatrixMode(GL_MODELVIEW); +} + +void +Atlantis_Animate(void) +{ + int i; + + for (i = 0; i < NUM_SHARKS; i++) { + SharkPilot(&sharks[i]); + SharkMiss(i); + } + WhalePilot(&dolph); + dolph.phi++; + //glutPostRedisplay(); + WhalePilot(&momWhale); + momWhale.phi++; + WhalePilot(&babyWhale); + babyWhale.phi++; +} + +void +Atlantis_Key(unsigned char key, int x, int y) +{ + switch (key) { + case 't': + Timing = !Timing; + break; + case ' ': + switch(StrMode) + { + case GL_EXTENSIONS: + StrMode = GL_VENDOR; + break; + case GL_VENDOR: + StrMode = GL_RENDERER; + break; + case GL_RENDERER: + StrMode = GL_VERSION; + break; + case GL_VERSION: + StrMode = GL_EXTENSIONS; + break; + } + break; + case 27: /* Esc will quit */ + exit(1); + break; + case 's': /* "s" start animation */ + moving = GL_TRUE; + //glutIdleFunc(Animate); + break; + case 'a': /* "a" stop animation */ + moving = GL_FALSE; + //glutIdleFunc(NULL); + break; + case '.': /* "." will advance frame */ + if (!moving) { + Atlantis_Animate(); + } + } +} +/* +void Display(void) +{ + static float P123[3] = {-448.94, -203.14, 9499.60}; + static float P124[3] = {-442.64, -185.20, 9528.07}; + static float P125[3] = {-441.07, -148.05, 9528.07}; + static float P126[3] = {-443.43, -128.84, 9499.60}; + static float P127[3] = {-456.87, -146.78, 9466.67}; + static float P128[3] = {-453.68, -183.93, 9466.67}; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glutSwapBuffers(); +} +*/ + +void +Atlantis_Display(void) +{ + int i; + static double th[4] = {0.0, 0.0, 0.0, 0.0}; + static double t1 = 0.0, t2 = 0.0, t; + char num_str[128]; + + t1 = t2; + + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + for (i = 0; i < NUM_SHARKS; i++) { + glPushMatrix(); + FishTransform(&sharks[i]); + DrawShark(&sharks[i]); + glPopMatrix(); + } + + glPushMatrix(); + FishTransform(&dolph); + DrawDolphin(&dolph); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&momWhale); + DrawWhale(&momWhale); + glPopMatrix(); + + glPushMatrix(); + FishTransform(&babyWhale); + glScalef(0.45, 0.45, 0.3); + DrawWhale(&babyWhale); + glPopMatrix(); + + if(Timing) + { + t2 = mtime(); + t = t2 - t1; + if(t > 0.0001) t = 1.0 / t; + + glDisable(GL_LIGHTING); + //glDisable(GL_DEPTH_TEST); + + glColor3f(1.0, 0.0, 0.0); + + glMatrixMode (GL_PROJECTION); + glPushMatrix(); + glLoadIdentity(); + glOrtho(0, w_win, 0, h_win, -10.0, 10.0); + + glRasterPos2f(5.0, 5.0); + + switch(StrMode) + { + case GL_VENDOR: + sprintf(num_str, "%0.2f Hz, %dx%d, VENDOR: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VENDOR)); + break; + case GL_RENDERER: + sprintf(num_str, "%0.2f Hz, %dx%d, RENDERER: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_RENDERER)); + break; + case GL_VERSION: + sprintf(num_str, "%0.2f Hz, %dx%d, VERSION: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_VERSION)); + break; + case GL_EXTENSIONS: + sprintf(num_str, "%0.2f Hz, %dx%d, EXTENSIONS: ", filter(t, th), w_win, h_win); + DrawStr(num_str); + DrawStr(glGetString(GL_EXTENSIONS)); + break; + } + + glPopMatrix(); + glMatrixMode(GL_MODELVIEW); + + glEnable(GL_LIGHTING); + //glEnable(GL_DEPTH_TEST); + } + + count++; + + glutSwapBuffers(); +} + +/* +void +Visible(int state) +{ + if (state == GLUT_VISIBLE) { + if (moving) + glutIdleFunc(Animate); + } else { + if (moving) + glutIdleFunc(NULL); + } +} + + +void +timingSelect(int value) +{ + switch(value) + { + case 1: + StrMode = GL_VENDOR; + break; + case 2: + StrMode = GL_RENDERER; + break; + case 3: + StrMode = GL_VERSION; + break; + case 4: + StrMode = GL_EXTENSIONS; + break; + } +} + +void +menuSelect(int value) +{ + switch (value) { + case 1: + moving = GL_TRUE; + glutIdleFunc(Animate); + break; + case 2: + moving = GL_FALSE; + glutIdleFunc(NULL); + break; + case 4: + exit(0); + break; + } +} + +int +main(int argc, char **argv) +{ + GLboolean fullscreen = GL_FALSE; + GLint time_menu; + + srand(0); + + glutInit(&argc, argv); + if (argc > 1 && !strcmp(argv[1], "-w")) + fullscreen = GL_FALSE; + + //glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH); + glutInitDisplayString("rgba double depth=24"); + if (fullscreen) { + glutGameModeString("1024x768:32"); + glutEnterGameMode(); + } else { + glutInitWindowSize(320, 240); + glutCreateWindow("Atlantis Timing"); + } + Init(); + glutDisplayFunc(Display); + glutReshapeFunc(Reshape); + glutKeyboardFunc(Key); + moving = GL_TRUE; +glutIdleFunc(Animate); + glutVisibilityFunc(Visible); + + time_menu = glutCreateMenu(timingSelect); + glutAddMenuEntry("GL_VENDOR", 1); + glutAddMenuEntry("GL_RENDERER", 2); + glutAddMenuEntry("GL_VERSION", 3); + glutAddMenuEntry("GL_EXTENSIONS", 4); + + glutCreateMenu(menuSelect); + glutAddMenuEntry("Start motion", 1); + glutAddMenuEntry("Stop motion", 2); + glutAddSubMenu("Timing Mode", time_menu); + glutAddMenuEntry("Quit", 4); + + //glutAttachMenu(GLUT_RIGHT_BUTTON); + glutAttachMenu(GLUT_RIGHT_BUTTON); + glutMainLoop(); + return 0; // ANSI C requires main to return int. +} +*/ \ No newline at end of file diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.h b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.h new file mode 100644 index 0000000..6ccf2d5 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.h @@ -0,0 +1,65 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#define RAD 57.295 +#define RRAD 0.01745 + +#define NUM_SHARKS 4 +#define SHARKSIZE 6000 +#define SHARKSPEED 100.0 + +#define WHALESPEED 250.0 + +typedef struct _fishRec { + float x, y, z, phi, theta, psi, v; + float xt, yt, zt; + float htail, vtail; + float dtheta; + int spurt, attack; +} fishRec; + +extern fishRec sharks[NUM_SHARKS]; +extern fishRec momWhale; +extern fishRec babyWhale; +extern fishRec dolph; + +extern void FishTransform(fishRec *); +extern void WhalePilot(fishRec *); +extern void SharkPilot(fishRec *); +extern void SharkMiss(int); +extern void DrawWhale(fishRec *); +extern void DrawShark(fishRec *); +extern void DrawDolphin(fishRec *); diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/dolphin.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/dolphin.c new file mode 100644 index 0000000..9fba3ba --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/dolphin.c @@ -0,0 +1,1934 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {-0.005937 ,-0.101998 ,-0.994767}; +static float N002[3] = {0.936780 ,-0.200803 ,0.286569}; +static float N003[3] = {-0.233062 ,0.972058 ,0.028007}; +static float N005[3] = {0.898117 ,0.360171 ,0.252315}; +static float N006[3] = {-0.915437 ,0.348456 ,0.201378}; +static float N007[3] = {0.602263 ,-0.777527 ,0.180920}; +static float N008[3] = {-0.906912 ,-0.412015 ,0.088061}; +static float N012[3] = {0.884408 ,-0.429417 ,-0.182821}; +static float N013[3] = {0.921121 ,0.311084 ,-0.234016}; +static float N014[3] = {0.382635 ,0.877882 ,-0.287948}; +static float N015[3] = {-0.380046 ,0.888166 ,-0.258316}; +static float N016[3] = {-0.891515 ,0.392238 ,-0.226607}; +static float N017[3] = {-0.901419 ,-0.382002 ,-0.203763}; +static float N018[3] = {-0.367225 ,-0.911091 ,-0.187243}; +static float N019[3] = {0.339539 ,-0.924846 ,-0.171388}; +static float N020[3] = {0.914706 ,-0.378617 ,-0.141290}; +static float N021[3] = {0.950662 ,0.262713 ,-0.164994}; +static float N022[3] = {0.546359 ,0.801460 ,-0.243218}; +static float N023[3] = {-0.315796 ,0.917068 ,-0.243431}; +static float N024[3] = {-0.825687 ,0.532277 ,-0.186875}; +static float N025[3] = {-0.974763 ,-0.155232 ,-0.160435}; +static float N026[3] = {-0.560596 ,-0.816658 ,-0.137119}; +static float N027[3] = {0.380210 ,-0.910817 ,-0.160786}; +static float N028[3] = {0.923772 ,-0.358322 ,-0.135093}; +static float N029[3] = {0.951202 ,0.275053 ,-0.139859}; +static float N030[3] = {0.686099 ,0.702548 ,-0.188932}; +static float N031[3] = {-0.521865 ,0.826719 ,-0.210220}; +static float N032[3] = {-0.923820 ,0.346739 ,-0.162258}; +static float N033[3] = {-0.902095 ,-0.409995 ,-0.134646}; +static float N034[3] = {-0.509115 ,-0.848498 ,-0.144404}; +static float N035[3] = {0.456469 ,-0.880293 ,-0.129305}; +static float N036[3] = {0.873401 ,-0.475489 ,-0.105266}; +static float N037[3] = {0.970825 ,0.179861 ,-0.158584}; +static float N038[3] = {0.675609 ,0.714187 ,-0.183004}; +static float N039[3] = {-0.523574 ,0.830212 ,-0.191360}; +static float N040[3] = {-0.958895 ,0.230808 ,-0.165071}; +static float N041[3] = {-0.918285 ,-0.376803 ,-0.121542}; +static float N042[3] = {-0.622467 ,-0.774167 ,-0.114888}; +static float N043[3] = {0.404497 ,-0.908807 ,-0.102231}; +static float N044[3] = {0.930538 ,-0.365155 ,-0.027588}; +static float N045[3] = {0.921920 ,0.374157 ,-0.100345}; +static float N046[3] = {0.507346 ,0.860739 ,0.041562}; +static float N047[3] = {-0.394646 ,0.918815 ,-0.005730}; +static float N048[3] = {-0.925411 ,0.373024 ,-0.066837}; +static float N049[3] = {-0.945337 ,-0.322309 ,-0.049551}; +static float N050[3] = {-0.660437 ,-0.750557 ,-0.022072}; +static float N051[3] = {0.488835 ,-0.871950 ,-0.027261}; +static float N052[3] = {0.902599 ,-0.421397 ,0.087969}; +static float N053[3] = {0.938636 ,0.322606 ,0.122020}; +static float N054[3] = {0.484605 ,0.871078 ,0.079878}; +static float N055[3] = {-0.353607 ,0.931559 ,0.084619}; +static float N056[3] = {-0.867759 ,0.478564 ,0.134054}; +static float N057[3] = {-0.951583 ,-0.296030 ,0.082794}; +static float N058[3] = {-0.672355 ,-0.730209 ,0.121384}; +static float N059[3] = {0.528336 ,-0.842452 ,0.105525}; +static float N060[3] = {0.786913 ,-0.564760 ,0.248627}; +static float N062[3] = {0.622098 ,0.765230 ,0.165584}; +static float N063[3] = {-0.631711 ,0.767816 ,0.106773}; +static float N064[3] = {-0.687886 ,0.606351 ,0.398938}; +static float N065[3] = {-0.946327 ,-0.281623 ,0.158598}; +static float N066[3] = {-0.509549 ,-0.860437 ,0.002776}; +static float N067[3] = {0.462594 ,-0.876692 ,0.131977}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N078[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N079[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N080[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N081[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N082[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N083[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N084[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N085[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N086[3] = {-0.571197 ,0.816173 ,0.087152}; +static float N087[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N088[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N089[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N090[3] = {-0.880770 ,0.461448 ,0.106351}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N097[3] = {-0.697296 ,0.702881 ,0.140491}; +static float N098[3] = {0.918864 ,0.340821 ,0.198819}; +static float N099[3] = {-0.932737 ,0.201195 ,0.299202}; +static float N100[3] = {0.029517 ,0.981679 ,0.188244}; +static float N102[3] = {0.813521 ,-0.204936 ,0.544229}; +static float N110[3] = {-0.781480 ,-0.384779 ,0.491155}; +static float N111[3] = {-0.722243 ,0.384927 ,0.574627}; +static float N112[3] = {-0.752278 ,0.502679 ,0.425901}; +static float N113[3] = {0.547257 ,0.367910 ,0.751766}; +static float N114[3] = {0.725949 ,-0.232568 ,0.647233}; +static float N115[3] = {-0.747182 ,-0.660786 ,0.071280}; +static float N116[3] = {0.931519 ,0.200748 ,0.303270}; +static float N117[3] = {-0.828928 ,0.313757 ,0.463071}; +static float N118[3] = {0.902554 ,-0.370967 ,0.218587}; +static float N119[3] = {-0.879257 ,-0.441851 ,0.177973}; +static float N120[3] = {0.642327 ,0.611901 ,0.461512}; +static float N121[3] = {0.964817 ,-0.202322 ,0.167910}; +static float N122[3] = {0.000000 ,1.000000 ,0.000000}; +static float P001[3] = {5.68, -300.95, 1324.70}; +static float P002[3] = {338.69, -219.63, 9677.03}; +static float P003[3] = {12.18, 474.59, 9138.14}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 68.74, 9427.85}; +static float P007[3] = {156.52, -266.72, 10311.68}; +static float P008[3] = {-185.56, -266.51, 10310.47}; +static float P009[3] = {124.39, -261.46, 1942.34}; +static float P010[3] = {-130.05, -261.46, 1946.03}; +static float P011[3] = {141.07, -320.11, 1239.38}; +static float P012[3] = {156.48, -360.12, 2073.41}; +static float P013[3] = {162.00, -175.88, 2064.44}; +static float P014[3] = {88.16, -87.72, 2064.02}; +static float P015[3] = {-65.21, -96.13, 2064.02}; +static float P016[3] = {-156.48, -180.96, 2064.44}; +static float P017[3] = {-162.00, -368.93, 2082.39}; +static float P018[3] = {-88.16, -439.22, 2082.39}; +static float P019[3] = {65.21, -440.32, 2083.39}; +static float P020[3] = {246.87, -356.02, 2576.95}; +static float P021[3] = {253.17, -111.15, 2567.15}; +static float P022[3] = {132.34, 51.41, 2559.84}; +static float P023[3] = {-97.88, 40.44, 2567.15}; +static float P024[3] = {-222.97, -117.49, 2567.15}; +static float P025[3] = {-252.22, -371.53, 2569.92}; +static float P026[3] = {-108.44, -518.19, 2586.75}; +static float P027[3] = {97.88, -524.79, 2586.75}; +static float P028[3] = {370.03, -421.19, 3419.70}; +static float P029[3] = {351.15, -16.98, 3423.17}; +static float P030[3] = {200.66, 248.46, 3430.37}; +static float P031[3] = {-148.42, 235.02, 3417.91}; +static float P032[3] = {-360.21, -30.27, 3416.84}; +static float P033[3] = {-357.90, -414.89, 3407.04}; +static float P034[3] = {-148.88, -631.35, 3409.90}; +static float P035[3] = {156.38, -632.59, 3419.70}; +static float P036[3] = {462.61, -469.21, 4431.51}; +static float P037[3] = {466.60, 102.25, 4434.98}; +static float P038[3] = {243.05, 474.34, 4562.02}; +static float P039[3] = {-191.23, 474.40, 4554.42}; +static float P040[3] = {-476.12, 111.05, 4451.11}; +static float P041[3] = {-473.36, -470.74, 4444.78}; +static float P042[3] = {-266.95, -748.41, 4447.78}; +static float P043[3] = {211.14, -749.91, 4429.73}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 6360.63}; +static float P046[3] = {371.29, 804.51, 6486.26}; +static float P047[3] = {-291.43, 797.22, 6494.28}; +static float P048[3] = {-784.13, 370.75, 6378.01}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float iP001[3] = {5.68, -300.95, 1324.70}; +static float iP009[3] = {124.39, -261.46, 1942.34}; +static float iP010[3] = {-130.05, -261.46, 1946.03}; +static float iP011[3] = {141.07, -320.11, 1239.38}; +static float iP012[3] = {156.48, -360.12, 2073.41}; +static float iP013[3] = {162.00, -175.88, 2064.44}; +static float iP014[3] = {88.16, -87.72, 2064.02}; +static float iP015[3] = {-65.21, -96.13, 2064.02}; +static float iP016[3] = {-156.48, -180.96, 2064.44}; +static float iP017[3] = {-162.00, -368.93, 2082.39}; +static float iP018[3] = {-88.16, -439.22, 2082.39}; +static float iP019[3] = {65.21, -440.32, 2083.39}; +static float iP020[3] = {246.87, -356.02, 2576.95}; +static float iP021[3] = {253.17, -111.15, 2567.15}; +static float iP022[3] = {132.34, 51.41, 2559.84}; +static float iP023[3] = {-97.88, 40.44, 2567.15}; +static float iP024[3] = {-222.97, -117.49, 2567.15}; +static float iP025[3] = {-252.22, -371.53, 2569.92}; +static float iP026[3] = {-108.44, -518.19, 2586.75}; +static float iP027[3] = {97.88, -524.79, 2586.75}; +static float iP028[3] = {370.03, -421.19, 3419.70}; +static float iP029[3] = {351.15, -16.98, 3423.17}; +static float iP030[3] = {200.66, 248.46, 3430.37}; +static float iP031[3] = {-148.42, 235.02, 3417.91}; +static float iP032[3] = {-360.21, -30.27, 3416.84}; +static float iP033[3] = {-357.90, -414.89, 3407.04}; +static float iP034[3] = {-148.88, -631.35, 3409.90}; +static float iP035[3] = {156.38, -632.59, 3419.70}; +static float iP036[3] = {462.61, -469.21, 4431.51}; +static float iP037[3] = {466.60, 102.25, 4434.98}; +static float iP038[3] = {243.05, 474.34, 4562.02}; +static float iP039[3] = {-191.23, 474.40, 4554.42}; +static float iP040[3] = {-476.12, 111.05, 4451.11}; +static float iP041[3] = {-473.36, -470.74, 4444.78}; +static float iP042[3] = {-266.95, -748.41, 4447.78}; +static float iP043[3] = {211.14, -749.91, 4429.73}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 6360.63}; +static float iP046[3] = {371.29, 804.51, 6486.26}; +static float iP047[3] = {-291.43, 797.22, 6494.28}; +static float iP048[3] = {-784.13, 370.75, 6378.01}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -300.15, 7894.03}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {246.22, 558.53, 8460.50}; +static float P055[3] = {-230.41, 559.84, 8473.23}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 338.75, 9450.30}; +static float P063[3] = {-165.71, 341.04, 9462.35}; +static float P064[3] = {-298.11, 110.13, 10180.37}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -491.45, 9348.73}; +static float P068[3] = {-136.29, -319.84, 1228.73}; +static float P069[3] = {1111.17, -314.14, 1314.19}; +static float P070[3] = {-1167.34, -321.61, 1319.45}; +static float P071[3] = {1404.86, -306.66, 1235.45}; +static float P072[3] = {-1409.73, -314.14, 1247.66}; +static float P073[3] = {1254.01, -296.87, 1544.58}; +static float P074[3] = {-1262.09, -291.70, 1504.26}; +static float P075[3] = {965.71, -269.26, 1742.65}; +static float P076[3] = {-900.97, -276.74, 1726.07}; +static float iP068[3] = {-136.29, -319.84, 1228.73}; +static float iP069[3] = {1111.17, -314.14, 1314.19}; +static float iP070[3] = {-1167.34, -321.61, 1319.45}; +static float iP071[3] = {1404.86, -306.66, 1235.45}; +static float iP072[3] = {-1409.73, -314.14, 1247.66}; +static float iP073[3] = {1254.01, -296.87, 1544.58}; +static float iP074[3] = {-1262.09, -291.70, 1504.26}; +static float iP075[3] = {965.71, -269.26, 1742.65}; +static float iP076[3] = {-900.97, -276.74, 1726.07}; +static float P077[3] = {1058.00, -448.81, 8194.66}; +static float P078[3] = {-1016.51, -456.43, 8190.62}; +static float P079[3] = {-1515.96, -676.45, 7754.93}; +static float P080[3] = {1856.75, -830.34, 7296.56}; +static float P081[3] = {1472.16, -497.38, 7399.68}; +static float P082[3] = {-1775.26, -829.51, 7298.46}; +static float P083[3] = {911.09, -252.51, 7510.99}; +static float P084[3] = {-1451.94, -495.62, 7384.30}; +static float P085[3] = {1598.75, -669.26, 7769.90}; +static float P086[3] = {-836.53, -250.08, 7463.25}; +static float P087[3] = {722.87, -158.18, 8006.41}; +static float P088[3] = {-688.86, -162.28, 7993.89}; +static float P089[3] = {-626.92, -185.30, 8364.98}; +static float P090[3] = {647.72, -189.46, 8354.99}; +static float P091[3] = {0.00, 835.01, 5555.62}; +static float P092[3] = {0.00, 1350.18, 5220.86}; +static float P093[3] = {0.00, 1422.94, 5285.27}; +static float P094[3] = {0.00, 1296.75, 5650.19}; +static float P095[3] = {0.00, 795.63, 6493.88}; +static float iP091[3] = {0.00, 835.01, 5555.62}; +static float iP092[3] = {0.00, 1350.18, 5220.86}; +static float iP093[3] = {0.00, 1422.94, 5285.27}; +static float iP094[3] = {0.00, 1296.75, 5650.19}; +static float iP095[3] = {0.00, 795.63, 6493.88}; +static float P097[3] = {-194.91, -357.14, 10313.32}; +static float P098[3] = {135.35, -357.66, 10307.94}; +static float iP097[3] = {-194.91, -357.14, 10313.32}; +static float iP098[3] = {135.35, -357.66, 10307.94}; +static float P099[3] = {-380.53, -221.14, 9677.98}; +static float P100[3] = {0.00, 412.99, 9629.33}; +static float P102[3] = {59.51, -412.55, 10677.58}; +static float iP102[3] = {59.51, -412.55, 10677.58}; +static float P103[3] = {6.50, 484.74, 9009.94}; +static float P105[3] = {-41.86, 476.51, 9078.17}; +static float P108[3] = {49.20, 476.83, 9078.24}; +static float P110[3] = {-187.62, -410.04, 10674.12}; +static float iP110[3] = {-187.62, -410.04, 10674.12}; +static float P111[3] = {-184.25, -318.70, 10723.88}; +static float iP111[3] = {-184.25, -318.70, 10723.88}; +static float P112[3] = {-179.61, -142.81, 10670.26}; +static float P113[3] = {57.43, -147.94, 10675.26}; +static float P114[3] = {54.06, -218.90, 10712.44}; +static float P115[3] = {-186.35, -212.09, 10713.76}; +static float P116[3] = {205.90, -84.61, 10275.97}; +static float P117[3] = {-230.96, -83.26, 10280.09}; +static float iP118[3] = {216.78, -509.17, 10098.94}; +static float iP119[3] = {-313.21, -510.79, 10102.62}; +static float P118[3] = {216.78, -509.17, 10098.94}; +static float P119[3] = {-313.21, -510.79, 10102.62}; +static float P120[3] = {217.95, 96.34, 10161.62}; +static float P121[3] = {71.99, -319.74, 10717.70}; +static float iP121[3] = {71.99, -319.74, 10717.70}; +static float P122[3] = {0.00, 602.74, 5375.84}; +static float iP122[3] = {0.00, 602.74, 5375.84}; +static float P123[3] = {-448.94, -203.14, 9499.60}; +static float P124[3] = {-442.64, -185.20, 9528.07}; +static float P125[3] = {-441.07, -148.05, 9528.07}; +static float P126[3] = {-443.43, -128.84, 9499.60}; +static float P127[3] = {-456.87, -146.78, 9466.67}; +static float P128[3] = {-453.68, -183.93, 9466.67}; +static float P129[3] = {428.43, -124.08, 9503.03}; +static float P130[3] = {419.73, -142.14, 9534.56}; +static float P131[3] = {419.92, -179.96, 9534.56}; +static float P132[3] = {431.20, -199.73, 9505.26}; +static float P133[3] = {442.28, -181.67, 9475.96}; +static float P134[3] = {442.08, -143.84, 9475.96}; +/* *INDENT-ON* */ + +void +Dolphin001(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P076); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P072); + glVertex3fv(P074); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P072); + glVertex3fv(P070); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P074); + glVertex3fv(P070); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P070); + glVertex3fv(P068); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P076); + glVertex3fv(P068); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P068); + glVertex3fv(P001); + glVertex3fv(P010); + glEnd(); +} + +void +Dolphin002(void) +{ + glNormal3fv(N071); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P001); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P075); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P075); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P069); + glVertex3fv(P073); + glEnd(); + glNormal3fv(N119); + glBegin(GL_POLYGON); + glVertex3fv(P001); + glVertex3fv(P011); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P009); + glVertex3fv(P011); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P011); + glVertex3fv(P069); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P073); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P069); + glVertex3fv(P071); + glVertex3fv(P073); + glEnd(); +} + +void +Dolphin003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Dolphin004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Dolphin005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Dolphin006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N091); + glVertex3fv(P091); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N122); + glVertex3fv(P122); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Dolphin007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Dolphin008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Dolphin009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Dolphin010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Dolphin011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Dolphin012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); +} + +void +Dolphin013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N113); + glVertex3fv(P113); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N116); + glVertex3fv(P116); + glNormal3fv(N113); + glVertex3fv(P113); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N114); + glVertex3fv(P114); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P007); + glVertex3fv(P008); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P007); + glVertex3fv(P114); + glVertex3fv(P115); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N112); + glVertex3fv(P112); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N112); + glVertex3fv(P112); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N115); + glVertex3fv(P115); + glEnd(); +} + +void +Dolphin014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N111); + glVertex3fv(P111); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N110); + glVertex3fv(P110); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N119); + glVertex3fv(P119); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P098); + glVertex3fv(P097); + glVertex3fv(P111); + glVertex3fv(P121); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P002); + glVertex3fv(P099); + glVertex3fv(P097); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N110); + glVertex3fv(P110); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N119); + glVertex3fv(P119); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N118); + glVertex3fv(P118); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N118); + glVertex3fv(P118); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N102); + glVertex3fv(P102); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N102); + glVertex3fv(P102); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N121); + glVertex3fv(P121); + glEnd(); +} + +void +Dolphin015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N099); + glVertex3fv(P099); + glNormal3fv(N117); + glVertex3fv(P117); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N117); + glVertex3fv(P117); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N120); + glVertex3fv(P120); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N120); + glVertex3fv(P120); + glNormal3fv(N116); + glVertex3fv(P116); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Dolphin016(void) +{ + + glDisable(GL_DEPTH_TEST); + glBegin(GL_POLYGON); + glVertex3fv(P123); + glVertex3fv(P124); + glVertex3fv(P125); + glVertex3fv(P126); + glVertex3fv(P127); + glVertex3fv(P128); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P129); + glVertex3fv(P130); + glVertex3fv(P131); + glVertex3fv(P132); + glVertex3fv(P133); + glVertex3fv(P134); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P103); + glVertex3fv(P105); + glVertex3fv(P108); + glEnd(); + glEnable(GL_DEPTH_TEST); +} + +void +DrawDolphin(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (10.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg3 = 1.0 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.0 * thrash * sin((fish->htail + 4.0) * RRAD); + seg2 = 3.0 * thrash * sin((fish->htail + 6.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 10.0) * RRAD); + seg5 = 4.5 * thrash * sin((fish->htail + 15.0) * RRAD); + seg6 = 5.0 * thrash * sin((fish->htail + 20.0) * RRAD); + seg7 = 6.0 * thrash * sin((fish->htail + 30.0) * RRAD); + + pitch = fish->v * sin((fish->htail + 180.0) * RRAD); + + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + chomp = 100.0; + + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3; + P122[1] = iP122[1] + seg3 * 1.5; + + P097[1] = iP097[1] + chomp; + P098[1] = iP098[1] + chomp; + P102[1] = iP102[1] + chomp; + P110[1] = iP110[1] + chomp; + P111[1] = iP111[1] + chomp; + P121[1] = iP121[1] + chomp; + P118[1] = iP118[1] + chomp; + P119[1] = iP119[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 7000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glEnable(GL_CULL_FACE); + Dolphin014(); + Dolphin010(); + Dolphin009(); + Dolphin012(); + Dolphin013(); + Dolphin006(); + Dolphin002(); + Dolphin001(); + Dolphin003(); + Dolphin015(); + Dolphin004(); + Dolphin005(); + Dolphin007(); + Dolphin008(); + Dolphin011(); + Dolphin016(); + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/shark.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/shark.c new file mode 100644 index 0000000..9c847db --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/shark.c @@ -0,0 +1,1308 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N002[3] = {0.000077 ,-0.020611 ,0.999788}; +static float N003[3] = {0.961425 ,0.258729 ,-0.093390}; +static float N004[3] = {0.510811 ,-0.769633 ,-0.383063}; +static float N005[3] = {0.400123 ,0.855734 ,-0.328055}; +static float N006[3] = {-0.770715 ,0.610204 ,-0.183440}; +static float N007[3] = {-0.915597 ,-0.373345 ,-0.149316}; +static float N008[3] = {-0.972788 ,0.208921 ,-0.100179}; +static float N009[3] = {-0.939713 ,-0.312268 ,-0.139383}; +static float N010[3] = {-0.624138 ,-0.741047 ,-0.247589}; +static float N011[3] = {0.591434 ,-0.768401 ,-0.244471}; +static float N012[3] = {0.935152 ,-0.328495 ,-0.132598}; +static float N013[3] = {0.997102 ,0.074243 ,-0.016593}; +static float N014[3] = {0.969995 ,0.241712 ,-0.026186}; +static float N015[3] = {0.844539 ,0.502628 ,-0.184714}; +static float N016[3] = {-0.906608 ,0.386308 ,-0.169787}; +static float N017[3] = {-0.970016 ,0.241698 ,-0.025516}; +static float N018[3] = {-0.998652 ,0.050493 ,-0.012045}; +static float N019[3] = {-0.942685 ,-0.333051 ,-0.020556}; +static float N020[3] = {-0.660944 ,-0.750276 ,0.015480}; +static float N021[3] = {0.503549 ,-0.862908 ,-0.042749}; +static float N022[3] = {0.953202 ,-0.302092 ,-0.012089}; +static float N023[3] = {0.998738 ,0.023574 ,0.044344}; +static float N024[3] = {0.979297 ,0.193272 ,0.060202}; +static float N025[3] = {0.798300 ,0.464885 ,0.382883}; +static float N026[3] = {-0.756590 ,0.452403 ,0.472126}; +static float N027[3] = {-0.953855 ,0.293003 ,0.065651}; +static float N028[3] = {-0.998033 ,0.040292 ,0.048028}; +static float N029[3] = {-0.977079 ,-0.204288 ,0.059858}; +static float N030[3] = {-0.729117 ,-0.675304 ,0.111140}; +static float N031[3] = {0.598361 ,-0.792753 ,0.116221}; +static float N032[3] = {0.965192 ,-0.252991 ,0.066332}; +static float N033[3] = {0.998201 ,-0.002790 ,0.059892}; +static float N034[3] = {0.978657 ,0.193135 ,0.070207}; +static float N035[3] = {0.718815 ,0.680392 ,0.142733}; +static float N036[3] = {-0.383096 ,0.906212 ,0.178936}; +static float N037[3] = {-0.952831 ,0.292590 ,0.080647}; +static float N038[3] = {-0.997680 ,0.032417 ,0.059861}; +static float N039[3] = {-0.982629 ,-0.169881 ,0.074700}; +static float N040[3] = {-0.695424 ,-0.703466 ,0.146700}; +static float N041[3] = {0.359323 ,-0.915531 ,0.180805}; +static float N042[3] = {0.943356 ,-0.319387 ,0.089842}; +static float N043[3] = {0.998272 ,-0.032435 ,0.048993}; +static float N044[3] = {0.978997 ,0.193205 ,0.065084}; +static float N045[3] = {0.872144 ,0.470094 ,-0.135565}; +static float N046[3] = {-0.664282 ,0.737945 ,-0.119027}; +static float N047[3] = {-0.954508 ,0.288570 ,0.075107}; +static float N048[3] = {-0.998273 ,0.032406 ,0.048993}; +static float N049[3] = {-0.979908 ,-0.193579 ,0.048038}; +static float N050[3] = {-0.858736 ,-0.507202 ,-0.072938}; +static float N051[3] = {0.643545 ,-0.763887 ,-0.048237}; +static float N052[3] = {0.955580 ,-0.288954 ,0.058068}; +static float N058[3] = {0.000050 ,0.793007 ,-0.609213}; +static float N059[3] = {0.913510 ,0.235418 ,-0.331779}; +static float N060[3] = {-0.807970 ,0.495000 ,-0.319625}; +static float N061[3] = {0.000000 ,0.784687 ,-0.619892}; +static float N062[3] = {0.000000 ,-1.000000 ,0.000000}; +static float N063[3] = {0.000000 ,1.000000 ,0.000000}; +static float N064[3] = {0.000000 ,1.000000 ,0.000000}; +static float N065[3] = {0.000000 ,1.000000 ,0.000000}; +static float N066[3] = {-0.055784 ,0.257059 ,0.964784}; +static float N069[3] = {-0.000505 ,-0.929775 ,-0.368127}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float P002[3] = {0.00, -36.59, 5687.72}; +static float P003[3] = {90.00, 114.73, 724.38}; +static float P004[3] = {58.24, -146.84, 262.35}; +static float P005[3] = {27.81, 231.52, 510.43}; +static float P006[3] = {-27.81, 230.43, 509.76}; +static float P007[3] = {-46.09, -146.83, 265.84}; +static float P008[3] = {-90.00, 103.84, 718.53}; +static float P009[3] = {-131.10, -165.92, 834.85}; +static float P010[3] = {-27.81, -285.31, 500.00}; +static float P011[3] = {27.81, -285.32, 500.00}; +static float P012[3] = {147.96, -170.89, 845.50}; +static float P013[3] = {180.00, 0.00, 2000.00}; +static float P014[3] = {145.62, 352.67, 2000.00}; +static float P015[3] = {55.62, 570.63, 2000.00}; +static float P016[3] = {-55.62, 570.64, 2000.00}; +static float P017[3] = {-145.62, 352.68, 2000.00}; +static float P018[3] = {-180.00, 0.01, 2000.00}; +static float P019[3] = {-178.20, -352.66, 2001.61}; +static float P020[3] = {-55.63, -570.63, 2000.00}; +static float P021[3] = {55.62, -570.64, 2000.00}; +static float P022[3] = {179.91, -352.69, 1998.39}; +static float P023[3] = {150.00, 0.00, 3000.00}; +static float P024[3] = {121.35, 293.89, 3000.00}; +static float P025[3] = {46.35, 502.93, 2883.09}; +static float P026[3] = {-46.35, 497.45, 2877.24}; +static float P027[3] = {-121.35, 293.90, 3000.00}; +static float P028[3] = {-150.00, 0.00, 3000.00}; +static float P029[3] = {-152.21, -304.84, 2858.68}; +static float P030[3] = {-46.36, -475.52, 3000.00}; +static float P031[3] = {46.35, -475.53, 3000.00}; +static float P032[3] = {155.64, -304.87, 2863.50}; +static float P033[3] = {90.00, 0.00, 4000.00}; +static float P034[3] = {72.81, 176.33, 4000.00}; +static float P035[3] = {27.81, 285.32, 4000.00}; +static float P036[3] = {-27.81, 285.32, 4000.00}; +static float P037[3] = {-72.81, 176.34, 4000.00}; +static float P038[3] = {-90.00, 0.00, 4000.00}; +static float P039[3] = {-72.81, -176.33, 4000.00}; +static float P040[3] = {-27.81, -285.31, 4000.00}; +static float P041[3] = {27.81, -285.32, 4000.00}; +static float P042[3] = {72.81, -176.34, 4000.00}; +static float P043[3] = {30.00, 0.00, 5000.00}; +static float P044[3] = {24.27, 58.78, 5000.00}; +static float P045[3] = {9.27, 95.11, 5000.00}; +static float P046[3] = {-9.27, 95.11, 5000.00}; +static float P047[3] = {-24.27, 58.78, 5000.00}; +static float P048[3] = {-30.00, 0.00, 5000.00}; +static float P049[3] = {-24.27, -58.78, 5000.00}; +static float P050[3] = {-9.27, -95.10, 5000.00}; +static float P051[3] = {9.27, -95.11, 5000.00}; +static float P052[3] = {24.27, -58.78, 5000.00}; +static float P058[3] = {0.00, 1212.72, 2703.08}; +static float P059[3] = {50.36, 0.00, 108.14}; +static float P060[3] = {-22.18, 0.00, 108.14}; +static float P061[3] = {0.00, 1181.61, 6344.65}; +static float P062[3] = {516.45, -887.08, 2535.45}; +static float P063[3] = {-545.69, -879.31, 2555.63}; +static float P064[3] = {618.89, -1005.64, 2988.32}; +static float P065[3] = {-635.37, -1014.79, 2938.68}; +static float P066[3] = {0.00, 1374.43, 3064.18}; +static float P069[3] = {0.00, -418.25, 5765.04}; +static float P070[3] = {0.00, 1266.91, 6629.60}; +static float P071[3] = {-139.12, -124.96, 997.98}; +static float P072[3] = {-139.24, -110.18, 1020.68}; +static float P073[3] = {-137.33, -94.52, 1022.63}; +static float P074[3] = {-137.03, -79.91, 996.89}; +static float P075[3] = {-135.21, -91.48, 969.14}; +static float P076[3] = {-135.39, -110.87, 968.76}; +static float P077[3] = {150.23, -78.44, 995.53}; +static float P078[3] = {152.79, -92.76, 1018.46}; +static float P079[3] = {154.19, -110.20, 1020.55}; +static float P080[3] = {151.33, -124.15, 993.77}; +static float P081[3] = {150.49, -111.19, 969.86}; +static float P082[3] = {150.79, -92.41, 969.70}; +static float iP002[3] = {0.00, -36.59, 5687.72}; +static float iP004[3] = {58.24, -146.84, 262.35}; +static float iP007[3] = {-46.09, -146.83, 265.84}; +static float iP010[3] = {-27.81, -285.31, 500.00}; +static float iP011[3] = {27.81, -285.32, 500.00}; +static float iP023[3] = {150.00, 0.00, 3000.00}; +static float iP024[3] = {121.35, 293.89, 3000.00}; +static float iP025[3] = {46.35, 502.93, 2883.09}; +static float iP026[3] = {-46.35, 497.45, 2877.24}; +static float iP027[3] = {-121.35, 293.90, 3000.00}; +static float iP028[3] = {-150.00, 0.00, 3000.00}; +static float iP029[3] = {-121.35, -304.84, 2853.86}; +static float iP030[3] = {-46.36, -475.52, 3000.00}; +static float iP031[3] = {46.35, -475.53, 3000.00}; +static float iP032[3] = {121.35, -304.87, 2853.86}; +static float iP033[3] = {90.00, 0.00, 4000.00}; +static float iP034[3] = {72.81, 176.33, 4000.00}; +static float iP035[3] = {27.81, 285.32, 4000.00}; +static float iP036[3] = {-27.81, 285.32, 4000.00}; +static float iP037[3] = {-72.81, 176.34, 4000.00}; +static float iP038[3] = {-90.00, 0.00, 4000.00}; +static float iP039[3] = {-72.81, -176.33, 4000.00}; +static float iP040[3] = {-27.81, -285.31, 4000.00}; +static float iP041[3] = {27.81, -285.32, 4000.00}; +static float iP042[3] = {72.81, -176.34, 4000.00}; +static float iP043[3] = {30.00, 0.00, 5000.00}; +static float iP044[3] = {24.27, 58.78, 5000.00}; +static float iP045[3] = {9.27, 95.11, 5000.00}; +static float iP046[3] = {-9.27, 95.11, 5000.00}; +static float iP047[3] = {-24.27, 58.78, 5000.00}; +static float iP048[3] = {-30.00, 0.00, 5000.00}; +static float iP049[3] = {-24.27, -58.78, 5000.00}; +static float iP050[3] = {-9.27, -95.10, 5000.00}; +static float iP051[3] = {9.27, -95.11, 5000.00}; +static float iP052[3] = {24.27, -58.78, 5000.00}; +static float iP061[3] = {0.00, 1181.61, 6344.65}; +static float iP069[3] = {0.00, -418.25, 5765.04}; +static float iP070[3] = {0.00, 1266.91, 6629.60}; +/* *INDENT-ON* */ + +void +Fish001(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N017); + glVertex3fv(P017); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N007); + glVertex3fv(P007); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N010); + glVertex3fv(P010); + glNormal3fv(N007); + glVertex3fv(P007); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N011); + glVertex3fv(P011); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N003); + glVertex3fv(P003); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P071); + glVertex3fv(P072); + glVertex3fv(P073); + glVertex3fv(P074); + glVertex3fv(P075); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P077); + glVertex3fv(P078); + glVertex3fv(P079); + glVertex3fv(P080); + glVertex3fv(P081); + glVertex3fv(P082); + glEnd(); +} + +void +Fish002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); +} + +void +Fish004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N061); + glVertex3fv(P061); + glNormal3fv(N070); + glVertex3fv(P070); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N061); + glVertex3fv(P061); + glEnd(); +} + +void +Fish005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N069); + glVertex3fv(P069); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); +} + +void +Fish006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); +} + +void +Fish007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N064); + glVertex3fv(P064); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N064); + glVertex3fv(P064); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); +} + +void +Fish008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); +} + +void +Fish009(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P059); + glVertex3fv(P012); + glVertex3fv(P009); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P012); + glVertex3fv(P004); + glVertex3fv(P007); + glVertex3fv(P009); + glEnd(); +} + +void +Fish_1(void) +{ + Fish004(); + Fish005(); + Fish003(); + Fish007(); + Fish006(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); +} + +void +Fish_2(void) +{ + Fish005(); + Fish004(); + Fish003(); + Fish008(); + Fish006(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); +} + +void +Fish_3(void) +{ + Fish005(); + Fish004(); + Fish007(); + Fish003(); + Fish002(); + Fish008(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_4(void) +{ + Fish005(); + Fish004(); + Fish008(); + Fish003(); + Fish002(); + Fish007(); + Fish009(); + Fish001(); + Fish006(); +} + +void +Fish_5(void) +{ + Fish009(); + Fish006(); + Fish007(); + Fish001(); + Fish002(); + Fish003(); + Fish008(); + Fish004(); + Fish005(); +} + +void +Fish_6(void) +{ + Fish009(); + Fish006(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish004(); + Fish005(); +} + +void +Fish_7(void) +{ + Fish009(); + Fish001(); + Fish007(); + Fish005(); + Fish002(); + Fish008(); + Fish003(); + Fish004(); + Fish006(); +} + +void +Fish_8(void) +{ + Fish009(); + Fish008(); + Fish001(); + Fish002(); + Fish007(); + Fish003(); + Fish005(); + Fish004(); + Fish006(); +} + +void +DrawShark(fishRec * fish) +{ + float mat[4][4]; + int n; + float seg1, seg2, seg3, seg4, segup; + float thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 50.0 * fish->v; + + seg1 = 0.6 * thrash * sin(fish->htail * RRAD); + seg2 = 1.8 * thrash * sin((fish->htail + 45.0) * RRAD); + seg3 = 3.0 * thrash * sin((fish->htail + 90.0) * RRAD); + seg4 = 4.0 * thrash * sin((fish->htail + 110.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P004[1] = iP004[1] + chomp; + P007[1] = iP007[1] + chomp; + P010[1] = iP010[1] + chomp; + P011[1] = iP011[1] + chomp; + + P023[0] = iP023[0] + seg1; + P024[0] = iP024[0] + seg1; + P025[0] = iP025[0] + seg1; + P026[0] = iP026[0] + seg1; + P027[0] = iP027[0] + seg1; + P028[0] = iP028[0] + seg1; + P029[0] = iP029[0] + seg1; + P030[0] = iP030[0] + seg1; + P031[0] = iP031[0] + seg1; + P032[0] = iP032[0] + seg1; + P033[0] = iP033[0] + seg2; + P034[0] = iP034[0] + seg2; + P035[0] = iP035[0] + seg2; + P036[0] = iP036[0] + seg2; + P037[0] = iP037[0] + seg2; + P038[0] = iP038[0] + seg2; + P039[0] = iP039[0] + seg2; + P040[0] = iP040[0] + seg2; + P041[0] = iP041[0] + seg2; + P042[0] = iP042[0] + seg2; + P043[0] = iP043[0] + seg3; + P044[0] = iP044[0] + seg3; + P045[0] = iP045[0] + seg3; + P046[0] = iP046[0] + seg3; + P047[0] = iP047[0] + seg3; + P048[0] = iP048[0] + seg3; + P049[0] = iP049[0] + seg3; + P050[0] = iP050[0] + seg3; + P051[0] = iP051[0] + seg3; + P052[0] = iP052[0] + seg3; + P002[0] = iP002[0] + seg4; + P061[0] = iP061[0] + seg4; + P069[0] = iP069[0] + seg4; + P070[0] = iP070[0] + seg4; + + fish->vtail += ((fish->dtheta - fish->vtail) * 0.1); + + if (fish->vtail > 0.5) { + fish->vtail = 0.5; + } else if (fish->vtail < -0.5) { + fish->vtail = -0.5; + } + segup = thrash * fish->vtail; + + P023[1] = iP023[1] + segup; + P024[1] = iP024[1] + segup; + P025[1] = iP025[1] + segup; + P026[1] = iP026[1] + segup; + P027[1] = iP027[1] + segup; + P028[1] = iP028[1] + segup; + P029[1] = iP029[1] + segup; + P030[1] = iP030[1] + segup; + P031[1] = iP031[1] + segup; + P032[1] = iP032[1] + segup; + P033[1] = iP033[1] + segup * 5.0; + P034[1] = iP034[1] + segup * 5.0; + P035[1] = iP035[1] + segup * 5.0; + P036[1] = iP036[1] + segup * 5.0; + P037[1] = iP037[1] + segup * 5.0; + P038[1] = iP038[1] + segup * 5.0; + P039[1] = iP039[1] + segup * 5.0; + P040[1] = iP040[1] + segup * 5.0; + P041[1] = iP041[1] + segup * 5.0; + P042[1] = iP042[1] + segup * 5.0; + P043[1] = iP043[1] + segup * 12.0; + P044[1] = iP044[1] + segup * 12.0; + P045[1] = iP045[1] + segup * 12.0; + P046[1] = iP046[1] + segup * 12.0; + P047[1] = iP047[1] + segup * 12.0; + P048[1] = iP048[1] + segup * 12.0; + P049[1] = iP049[1] + segup * 12.0; + P050[1] = iP050[1] + segup * 12.0; + P051[1] = iP051[1] + segup * 12.0; + P052[1] = iP052[1] + segup * 12.0; + P002[1] = iP002[1] + segup * 17.0; + P061[1] = iP061[1] + segup * 17.0; + P069[1] = iP069[1] + segup * 17.0; + P070[1] = iP070[1] + segup * 17.0; + + glPushMatrix(); + + glTranslatef(0.0, 0.0, -3000.0); + + glGetFloatv(GL_MODELVIEW_MATRIX, &mat[0][0]); + n = 0; + if (mat[0][2] >= 0.0) { + n += 1; + } + if (mat[1][2] >= 0.0) { + n += 2; + } + if (mat[2][2] >= 0.0) { + n += 4; + } + glScalef(2.0, 1.0, 1.0); + + glEnable(GL_CULL_FACE); + switch (n) { + case 0: + Fish_1(); + break; + case 1: + Fish_2(); + break; + case 2: + Fish_3(); + break; + case 3: + Fish_4(); + break; + case 4: + Fish_5(); + break; + case 5: + Fish_6(); + break; + case 6: + Fish_7(); + break; + case 7: + Fish_8(); + break; + } + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/swim.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/swim.c new file mode 100644 index 0000000..cac7b60 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/swim.c @@ -0,0 +1,188 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include /* For rand(). */ +#include +#include "atlantis.h" + +void +FishTransform(fishRec * fish) +{ + + glTranslatef(fish->y, fish->z, -fish->x); + glRotatef(-fish->psi, 0.0, 1.0, 0.0); + glRotatef(fish->theta, 1.0, 0.0, 0.0); + glRotatef(-fish->phi, 0.0, 0.0, 1.0); +} + +void +WhalePilot(fishRec * fish) +{ + + fish->phi = -20.0; + fish->theta = 0.0; + fish->psi -= 0.5; + + fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkPilot(fishRec * fish) +{ + static int sign = 1; + float X, Y, Z, tpsi, ttheta, thetal; + + fish->xt = 60000.0; + fish->yt = 0.0; + fish->zt = 0.0; + + X = fish->xt - fish->x; + Y = fish->yt - fish->y; + Z = fish->zt - fish->z; + + thetal = fish->theta; + + ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); + + if (ttheta > fish->theta + 0.25) { + fish->theta += 0.5; + } else if (ttheta < fish->theta - 0.25) { + fish->theta -= 0.5; + } + if (fish->theta > 90.0) { + fish->theta = 90.0; + } + if (fish->theta < -90.0) { + fish->theta = -90.0; + } + fish->dtheta = fish->theta - thetal; + + tpsi = RAD * atan2(Y, X); + + fish->attack = 0; + + if (fabs(tpsi - fish->psi) < 10.0) { + fish->attack = 1; + } else if (fabs(tpsi - fish->psi) < 45.0) { + if (fish->psi > tpsi) { + fish->psi -= 0.5; + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } else if (fish->psi < tpsi) { + fish->psi += 0.5; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + } + } else { + if (rand() % 100 > 98) { + sign = 1 - sign; + } + fish->psi += sign; + if (fish->psi > 180.0) { + fish->psi -= 360.0; + } + if (fish->psi < -180.0) { + fish->psi += 360.0; + } + } + + if (fish->attack) { + if (fish->v < 1.1) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.2; + } + if (fish->v > 5.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.2; + } + } else { + if (!(rand() % 400) && (!fish->spurt)) { + fish->spurt = 1; + } + if (fish->spurt) { + fish->v += 0.05; + } + if (fish->v > 3.0) { + fish->spurt = 0; + } + if ((fish->v > 1.0) && (!fish->spurt)) { + fish->v -= 0.05; + } + } + + fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD); + fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD); + fish->z += SHARKSPEED * fish->v * sin(fish->theta / RAD); +} + +void +SharkMiss(int i) +{ + int j; + float avoid, thetal; + float X, Y, Z, R; + + for (j = 0; j < NUM_SHARKS; j++) { + if (j != i) { + X = sharks[j].x - sharks[i].x; + Y = sharks[j].y - sharks[i].y; + Z = sharks[j].z - sharks[i].z; + + R = sqrt(X * X + Y * Y + Z * Z); + + avoid = 1.0; + thetal = sharks[i].theta; + + if (R < SHARKSIZE) { + if (Z > 0.0) { + sharks[i].theta -= avoid; + } else { + sharks[i].theta += avoid; + } + } + sharks[i].dtheta += (sharks[i].theta - thetal); + } + } +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/whale.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/whale.c new file mode 100644 index 0000000..828640a --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/whale.c @@ -0,0 +1,1798 @@ +/** + * (c) Copyright 1993, 1994, Silicon Graphics, Inc. + * ALL RIGHTS RESERVED + * Permission to use, copy, modify, and distribute this software for + * any purpose and without fee is hereby granted, provided that the above + * copyright notice appear in all copies and that both the copyright notice + * and this permission notice appear in supporting documentation, and that + * the name of Silicon Graphics, Inc. not be used in advertising + * or publicity pertaining to distribution of the software without specific, + * written prior permission. + * + * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" + * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR + * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON + * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, + * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY + * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, + * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF + * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN + * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE + * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. + * + * US Government Users Restricted Rights + * Use, duplication, or disclosure by the Government is subject to + * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph + * (c)(1)(ii) of the Rights in Technical Data and Computer Software + * clause at DFARS 252.227-7013 and/or in similar or successor + * clauses in the FAR or the DOD or NASA FAR Supplement. + * Unpublished-- rights reserved under the copyright laws of the + * United States. Contractor/manufacturer is Silicon Graphics, + * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. + * + * OpenGL(TM) is a trademark of Silicon Graphics, Inc. + */ +#include +#include +#include "atlantis.h" +/* *INDENT-OFF* */ +static float N001[3] = {0.019249 ,0.011340 ,-0.999750}; +static float N002[3] = {-0.132579 ,0.954547 ,0.266952}; +static float N003[3] = {-0.196061 ,0.980392 ,-0.019778}; +static float N004[3] = {0.695461 ,0.604704 ,0.388158}; +static float N005[3] = {0.870600 ,0.425754 ,0.246557}; +static float N006[3] = {-0.881191 ,0.392012 ,0.264251}; +static float N008[3] = {-0.341437 ,0.887477 ,0.309523}; +static float N009[3] = {0.124035 ,-0.992278 ,0.000000}; +static float N010[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N011[3] = {0.588172 ,0.000000 ,0.808736}; +static float N012[3] = {0.929824 ,-0.340623 ,-0.139298}; +static float N013[3] = {0.954183 ,0.267108 ,-0.134865}; +static float N014[3] = {0.495127 ,0.855436 ,-0.151914}; +static float N015[3] = {-0.390199 ,0.906569 ,-0.160867}; +static float N016[3] = {-0.923605 ,0.354581 ,-0.145692}; +static float N017[3] = {-0.955796 ,-0.260667 ,-0.136036}; +static float N018[3] = {-0.501283 ,-0.853462 ,-0.142540}; +static float N019[3] = {0.405300 ,-0.901974 ,-0.148913}; +static float N020[3] = {0.909913 ,-0.392746 ,-0.133451}; +static float N021[3] = {0.936494 ,0.331147 ,-0.115414}; +static float N022[3] = {0.600131 ,0.793724 ,-0.099222}; +static float N023[3] = {-0.231556 ,0.968361 ,-0.093053}; +static float N024[3] = {-0.844369 ,0.525330 ,-0.105211}; +static float N025[3] = {-0.982725 ,-0.136329 ,-0.125164}; +static float N026[3] = {-0.560844 ,-0.822654 ,-0.093241}; +static float N027[3] = {0.263884 ,-0.959981 ,-0.093817}; +static float N028[3] = {0.842057 ,-0.525192 ,-0.122938}; +static float N029[3] = {0.921620 ,0.367565 ,-0.124546}; +static float N030[3] = {0.613927 ,0.784109 ,-0.090918}; +static float N031[3] = {-0.448754 ,0.888261 ,-0.098037}; +static float N032[3] = {-0.891865 ,0.434376 ,-0.126077}; +static float N033[3] = {-0.881447 ,-0.448017 ,-0.149437}; +static float N034[3] = {-0.345647 ,-0.922057 ,-0.174183}; +static float N035[3] = {0.307998 ,-0.941371 ,-0.137688}; +static float N036[3] = {0.806316 ,-0.574647 ,-0.140124}; +static float N037[3] = {0.961346 ,0.233646 ,-0.145681}; +static float N038[3] = {0.488451 ,0.865586 ,-0.110351}; +static float N039[3] = {-0.374290 ,0.921953 ,-0.099553}; +static float N040[3] = {-0.928504 ,0.344533 ,-0.138485}; +static float N041[3] = {-0.918419 ,-0.371792 ,-0.135189}; +static float N042[3] = {-0.520666 ,-0.833704 ,-0.183968}; +static float N043[3] = {0.339204 ,-0.920273 ,-0.195036}; +static float N044[3] = {0.921475 ,-0.387382 ,-0.028636}; +static float N045[3] = {0.842465 ,0.533335 ,-0.076204}; +static float N046[3] = {0.380110 ,0.924939 ,0.002073}; +static float N047[3] = {-0.276128 ,0.961073 ,-0.009579}; +static float N048[3] = {-0.879684 ,0.473001 ,-0.049250}; +static float N049[3] = {-0.947184 ,-0.317614 ,-0.044321}; +static float N050[3] = {-0.642059 ,-0.764933 ,-0.051363}; +static float N051[3] = {0.466794 ,-0.880921 ,-0.077990}; +static float N052[3] = {0.898509 ,-0.432277 ,0.076279}; +static float N053[3] = {0.938985 ,0.328141 ,0.103109}; +static float N054[3] = {0.442420 ,0.895745 ,0.043647}; +static float N055[3] = {-0.255163 ,0.966723 ,0.018407}; +static float N056[3] = {-0.833769 ,0.540650 ,0.111924}; +static float N057[3] = {-0.953653 ,-0.289939 ,0.080507}; +static float N058[3] = {-0.672357 ,-0.730524 ,0.119461}; +static float N059[3] = {0.522249 ,-0.846652 ,0.102157}; +static float N060[3] = {0.885868 ,-0.427631 ,0.179914}; +static float N062[3] = {0.648942 ,0.743116 ,0.163255}; +static float N063[3] = {-0.578967 ,0.807730 ,0.111219}; +static float N065[3] = {-0.909864 ,-0.352202 ,0.219321}; +static float N066[3] = {-0.502541 ,-0.818090 ,0.279610}; +static float N067[3] = {0.322919 ,-0.915358 ,0.240504}; +static float N068[3] = {0.242536 ,0.000000 ,-0.970143}; +static float N069[3] = {0.000000 ,1.000000 ,0.000000}; +static float N070[3] = {0.000000 ,1.000000 ,0.000000}; +static float N071[3] = {0.000000 ,1.000000 ,0.000000}; +static float N072[3] = {0.000000 ,1.000000 ,0.000000}; +static float N073[3] = {0.000000 ,1.000000 ,0.000000}; +static float N074[3] = {0.000000 ,1.000000 ,0.000000}; +static float N075[3] = {0.031220 ,0.999025 ,-0.031220}; +static float N076[3] = {0.000000 ,1.000000 ,0.000000}; +static float N077[3] = {0.446821 ,0.893642 ,0.041889}; +static float N078[3] = {0.863035 ,-0.100980 ,0.494949}; +static float N079[3] = {0.585597 ,-0.808215 ,0.062174}; +static float N080[3] = {0.000000 ,1.000000 ,0.000000}; +static float N081[3] = {1.000000 ,0.000000 ,0.000000}; +static float N082[3] = {0.000000 ,1.000000 ,0.000000}; +static float N083[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N084[3] = {-0.478893 ,0.837129 ,-0.264343}; +static float N085[3] = {0.000000 ,1.000000 ,0.000000}; +static float N086[3] = {0.763909 ,0.539455 ,-0.354163}; +static float N087[3] = {0.446821 ,0.893642 ,0.041889}; +static float N088[3] = {0.385134 ,-0.908288 ,0.163352}; +static float N089[3] = {-0.605952 ,0.779253 ,-0.159961}; +static float N090[3] = {0.000000 ,1.000000 ,0.000000}; +static float N091[3] = {0.000000 ,1.000000 ,0.000000}; +static float N092[3] = {0.000000 ,1.000000 ,0.000000}; +static float N093[3] = {0.000000 ,1.000000 ,0.000000}; +static float N094[3] = {1.000000 ,0.000000 ,0.000000}; +static float N095[3] = {-1.000000 ,0.000000 ,0.000000}; +static float N096[3] = {0.644444 ,-0.621516 ,0.445433}; +static float N097[3] = {-0.760896 ,-0.474416 ,0.442681}; +static float N098[3] = {0.636888 ,-0.464314 ,0.615456}; +static float N099[3] = {-0.710295 ,0.647038 ,0.277168}; +static float N100[3] = {0.009604 ,0.993655 ,0.112063}; +static float iP001[3] = {18.74, 13.19, 3.76}; +static float P001[3] = {18.74, 13.19, 3.76}; +static float P002[3] = {0.00, 390.42, 10292.57}; +static float P003[3] = {55.80, 622.31, 8254.35}; +static float P004[3] = {20.80, 247.66, 10652.13}; +static float P005[3] = {487.51, 198.05, 9350.78}; +static float P006[3] = {-457.61, 199.04, 9353.01}; +static float P008[3] = {-34.67, 247.64, 10663.71}; +static float iP009[3] = {97.46, 67.63, 593.82}; +static float iP010[3] = {-84.33, 67.63, 588.18}; +static float iP011[3] = {118.69, 8.98, -66.91}; +static float P009[3] = {97.46, 67.63, 593.82}; +static float P010[3] = {-84.33, 67.63, 588.18}; +static float P011[3] = {118.69, 8.98, -66.91}; +static float iP012[3] = {156.48, -31.95, 924.54}; +static float iP013[3] = {162.00, 110.22, 924.54}; +static float iP014[3] = {88.16, 221.65, 924.54}; +static float iP015[3] = {-65.21, 231.16, 924.54}; +static float iP016[3] = {-156.48, 121.97, 924.54}; +static float iP017[3] = {-162.00, -23.93, 924.54}; +static float iP018[3] = {-88.16, -139.10, 924.54}; +static float iP019[3] = {65.21, -148.61, 924.54}; +static float iP020[3] = {246.87, -98.73, 1783.04}; +static float iP021[3] = {253.17, 127.76, 1783.04}; +static float iP022[3] = {132.34, 270.77, 1783.04}; +static float iP023[3] = {-97.88, 285.04, 1783.04}; +static float iP024[3] = {-222.97, 139.80, 1783.04}; +static float iP025[3] = {-225.29, -86.68, 1783.04}; +static float iP026[3] = {-108.44, -224.15, 1783.04}; +static float iP027[3] = {97.88, -221.56, 1783.04}; +static float iP028[3] = {410.55, -200.66, 3213.87}; +static float iP029[3] = {432.19, 148.42, 3213.87}; +static float iP030[3] = {200.66, 410.55, 3213.87}; +static float iP031[3] = {-148.42, 432.19, 3213.87}; +static float iP032[3] = {-407.48, 171.88, 3213.87}; +static float iP033[3] = {-432.19, -148.42, 3213.87}; +static float iP034[3] = {-148.88, -309.74, 3213.87}; +static float iP035[3] = {156.38, -320.17, 3213.87}; +static float iP036[3] = {523.39, -303.81, 4424.57}; +static float iP037[3] = {574.66, 276.84, 4424.57}; +static float iP038[3] = {243.05, 492.50, 4424.57}; +static float iP039[3] = {-191.23, 520.13, 4424.57}; +static float iP040[3] = {-523.39, 304.01, 4424.57}; +static float iP041[3] = {-574.66, -231.83, 4424.57}; +static float iP042[3] = {-266.95, -578.17, 4424.57}; +static float iP043[3] = {211.14, -579.67, 4424.57}; +static float iP044[3] = {680.57, -370.27, 5943.46}; +static float iP045[3] = {834.01, 363.09, 5943.46}; +static float iP046[3] = {371.29, 614.13, 5943.46}; +static float iP047[3] = {-291.43, 621.86, 5943.46}; +static float iP048[3] = {-784.13, 362.60, 5943.46}; +static float iP049[3] = {-743.29, -325.82, 5943.46}; +static float iP050[3] = {-383.24, -804.77, 5943.46}; +static float iP051[3] = {283.47, -846.09, 5943.46}; +static float P012[3] = {156.48, -31.95, 924.54}; +static float P013[3] = {162.00, 110.22, 924.54}; +static float P014[3] = {88.16, 221.65, 924.54}; +static float P015[3] = {-65.21, 231.16, 924.54}; +static float P016[3] = {-156.48, 121.97, 924.54}; +static float P017[3] = {-162.00, -23.93, 924.54}; +static float P018[3] = {-88.16, -139.10, 924.54}; +static float P019[3] = {65.21, -148.61, 924.54}; +static float P020[3] = {246.87, -98.73, 1783.04}; +static float P021[3] = {253.17, 127.76, 1783.04}; +static float P022[3] = {132.34, 270.77, 1783.04}; +static float P023[3] = {-97.88, 285.04, 1783.04}; +static float P024[3] = {-222.97, 139.80, 1783.04}; +static float P025[3] = {-225.29, -86.68, 1783.04}; +static float P026[3] = {-108.44, -224.15, 1783.04}; +static float P027[3] = {97.88, -221.56, 1783.04}; +static float P028[3] = {410.55, -200.66, 3213.87}; +static float P029[3] = {432.19, 148.42, 3213.87}; +static float P030[3] = {200.66, 410.55, 3213.87}; +static float P031[3] = {-148.42, 432.19, 3213.87}; +static float P032[3] = {-407.48, 171.88, 3213.87}; +static float P033[3] = {-432.19, -148.42, 3213.87}; +static float P034[3] = {-148.88, -309.74, 3213.87}; +static float P035[3] = {156.38, -320.17, 3213.87}; +static float P036[3] = {523.39, -303.81, 4424.57}; +static float P037[3] = {574.66, 276.84, 4424.57}; +static float P038[3] = {243.05, 492.50, 4424.57}; +static float P039[3] = {-191.23, 520.13, 4424.57}; +static float P040[3] = {-523.39, 304.01, 4424.57}; +static float P041[3] = {-574.66, -231.83, 4424.57}; +static float P042[3] = {-266.95, -578.17, 4424.57}; +static float P043[3] = {211.14, -579.67, 4424.57}; +static float P044[3] = {680.57, -370.27, 5943.46}; +static float P045[3] = {834.01, 363.09, 5943.46}; +static float P046[3] = {371.29, 614.13, 5943.46}; +static float P047[3] = {-291.43, 621.86, 5943.46}; +static float P048[3] = {-784.13, 362.60, 5943.46}; +static float P049[3] = {-743.29, -325.82, 5943.46}; +static float P050[3] = {-383.24, -804.77, 5943.46}; +static float P051[3] = {283.47, -846.09, 5943.46}; +static float P052[3] = {599.09, -332.24, 7902.59}; +static float P053[3] = {735.48, 306.26, 7911.92}; +static float P054[3] = {321.55, 558.53, 7902.59}; +static float P055[3] = {-260.54, 559.84, 7902.59}; +static float P056[3] = {-698.66, 320.83, 7902.59}; +static float P057[3] = {-643.29, -299.16, 7902.59}; +static float P058[3] = {-341.47, -719.30, 7902.59}; +static float P059[3] = {252.57, -756.12, 7902.59}; +static float P060[3] = {458.39, -265.31, 9355.44}; +static float P062[3] = {224.04, 438.98, 9364.77}; +static float P063[3] = {-165.71, 441.27, 9355.44}; +static float P065[3] = {-473.99, -219.71, 9355.44}; +static float P066[3] = {-211.97, -479.87, 9355.44}; +static float P067[3] = {192.86, -504.03, 9355.44}; +static float iP068[3] = {-112.44, 9.25, -64.42}; +static float iP069[3] = {1155.63, 0.00, -182.46}; +static float iP070[3] = {-1143.13, 0.00, -181.54}; +static float iP071[3] = {1424.23, 0.00, -322.09}; +static float iP072[3] = {-1368.01, 0.00, -310.38}; +static float iP073[3] = {1255.57, 2.31, 114.05}; +static float iP074[3] = {-1149.38, 0.00, 117.12}; +static float iP075[3] = {718.36, 0.00, 433.36}; +static float iP076[3] = {-655.90, 0.00, 433.36}; +static float P068[3] = {-112.44, 9.25, -64.42}; +static float P069[3] = {1155.63, 0.00, -182.46}; +static float P070[3] = {-1143.13, 0.00, -181.54}; +static float P071[3] = {1424.23, 0.00, -322.09}; +static float P072[3] = {-1368.01, 0.00, -310.38}; +static float P073[3] = {1255.57, 2.31, 114.05}; +static float P074[3] = {-1149.38, 0.00, 117.12}; +static float P075[3] = {718.36, 0.00, 433.36}; +static float P076[3] = {-655.90, 0.00, 433.36}; +static float P077[3] = {1058.00, -2.66, 7923.51}; +static float P078[3] = {-1016.51, -15.47, 7902.87}; +static float P079[3] = {-1363.99, -484.50, 7593.38}; +static float P080[3] = {1478.09, -861.47, 7098.12}; +static float P081[3] = {1338.06, -284.68, 7024.15}; +static float P082[3] = {-1545.51, -860.64, 7106.60}; +static float P083[3] = {1063.19, -70.46, 7466.60}; +static float P084[3] = {-1369.18, -288.11, 7015.34}; +static float P085[3] = {1348.44, -482.50, 7591.41}; +static float P086[3] = {-1015.45, -96.80, 7474.86}; +static float P087[3] = {731.04, 148.38, 7682.58}; +static float P088[3] = {-697.03, 151.82, 7668.81}; +static float P089[3] = {-686.82, 157.09, 7922.29}; +static float P090[3] = {724.73, 147.75, 7931.39}; +static float iP091[3] = {0.00, 327.10, 2346.55}; +static float iP092[3] = {0.00, 552.28, 2311.31}; +static float iP093[3] = {0.00, 721.16, 2166.41}; +static float iP094[3] = {0.00, 693.42, 2388.80}; +static float iP095[3] = {0.00, 389.44, 2859.97}; +static float P091[3] = {0.00, 327.10, 2346.55}; +static float P092[3] = {0.00, 552.28, 2311.31}; +static float P093[3] = {0.00, 721.16, 2166.41}; +static float P094[3] = {0.00, 693.42, 2388.80}; +static float P095[3] = {0.00, 389.44, 2859.97}; +static float iP096[3] = {222.02, -183.67, 10266.89}; +static float iP097[3] = {-128.90, -182.70, 10266.89}; +static float iP098[3] = {41.04, 88.31, 10659.36}; +static float iP099[3] = {-48.73, 88.30, 10659.36}; +static float P096[3] = {222.02, -183.67, 10266.89}; +static float P097[3] = {-128.90, -182.70, 10266.89}; +static float P098[3] = {41.04, 88.31, 10659.36}; +static float P099[3] = {-48.73, 88.30, 10659.36}; +static float P100[3] = {0.00, 603.42, 9340.68}; +static float P104[3] = {-9.86, 567.62, 7858.65}; +static float P105[3] = {31.96, 565.27, 7908.46}; +static float P106[3] = {22.75, 568.13, 7782.83}; +static float P107[3] = {58.93, 568.42, 7775.94}; +static float P108[3] = {55.91, 565.59, 7905.86}; +static float P109[3] = {99.21, 566.00, 7858.65}; +static float P110[3] = {-498.83, 148.14, 9135.10}; +static float P111[3] = {-495.46, 133.24, 9158.48}; +static float P112[3] = {-490.82, 146.23, 9182.76}; +static float P113[3] = {-489.55, 174.11, 9183.66}; +static float P114[3] = {-492.92, 189.00, 9160.28}; +static float P115[3] = {-497.56, 176.02, 9136.00}; +static float P116[3] = {526.54, 169.68, 9137.70}; +static float P117[3] = {523.49, 184.85, 9161.42}; +static float P118[3] = {518.56, 171.78, 9186.06}; +static float P119[3] = {516.68, 143.53, 9186.98}; +static float P120[3] = {519.73, 128.36, 9163.26}; +static float P121[3] = {524.66, 141.43, 9138.62}; +/* *INDENT-ON* */ + +void +Whale001(void) +{ + + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N072); + glVertex3fv(P072); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N074); + glVertex3fv(P074); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N074); + glVertex3fv(P074); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N070); + glVertex3fv(P070); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N076); + glVertex3fv(P076); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N076); + glVertex3fv(P076); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N068); + glVertex3fv(P068); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N010); + glVertex3fv(P010); + glEnd(); +} + +void +Whale002(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N009); + glVertex3fv(P009); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N009); + glVertex3fv(P009); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N011); + glVertex3fv(P011); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N073); + glVertex3fv(P073); + glNormal3fv(N075); + glVertex3fv(P075); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N069); + glVertex3fv(P069); + glNormal3fv(N071); + glVertex3fv(P071); + glNormal3fv(N073); + glVertex3fv(P073); + glEnd(); +} + +void +Whale003(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N019); + glVertex3fv(P019); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N018); + glVertex3fv(P018); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N016); + glVertex3fv(P016); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N012); + glVertex3fv(P012); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N015); + glVertex3fv(P015); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N013); + glVertex3fv(P013); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N001); + glVertex3fv(P001); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N014); + glVertex3fv(P014); + glEnd(); +} + +void +Whale004(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N022); + glVertex3fv(P022); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N015); + glVertex3fv(P015); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N023); + glVertex3fv(P023); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N016); + glVertex3fv(P016); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N024); + glVertex3fv(P024); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N017); + glVertex3fv(P017); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N025); + glVertex3fv(P025); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N014); + glVertex3fv(P014); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N021); + glVertex3fv(P021); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N013); + glVertex3fv(P013); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N020); + glVertex3fv(P020); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N018); + glVertex3fv(P018); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N026); + glVertex3fv(P026); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N019); + glVertex3fv(P019); + glNormal3fv(N012); + glVertex3fv(P012); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N027); + glVertex3fv(P027); + glEnd(); +} + +void +Whale005(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N022); + glVertex3fv(P022); + glNormal3fv(N030); + glVertex3fv(P030); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N023); + glVertex3fv(P023); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N031); + glVertex3fv(P031); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N024); + glVertex3fv(P024); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N032); + glVertex3fv(P032); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N021); + glVertex3fv(P021); + glNormal3fv(N029); + glVertex3fv(P029); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N020); + glVertex3fv(P020); + glNormal3fv(N028); + glVertex3fv(P028); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N035); + glVertex3fv(P035); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N025); + glVertex3fv(P025); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N033); + glVertex3fv(P033); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N026); + glVertex3fv(P026); + glNormal3fv(N027); + glVertex3fv(P027); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N034); + glVertex3fv(P034); + glEnd(); +} + +void +Whale006(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N093); + glVertex3fv(P093); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N095); + glVertex3fv(P095); + glNormal3fv(N094); + glVertex3fv(P094); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N091); + glVertex3fv(P091); + glNormal3fv(N092); + glVertex3fv(P092); + glNormal3fv(N094); + glVertex3fv(P094); + glNormal3fv(N095); + glVertex3fv(P095); + glEnd(); +} + +void +Whale007(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N030); + glVertex3fv(P030); + glNormal3fv(N038); + glVertex3fv(P038); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N029); + glVertex3fv(P029); + glNormal3fv(N037); + glVertex3fv(P037); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N028); + glVertex3fv(P028); + glNormal3fv(N036); + glVertex3fv(P036); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N043); + glVertex3fv(P043); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N035); + glVertex3fv(P035); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N034); + glVertex3fv(P034); + glNormal3fv(N042); + glVertex3fv(P042); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N031); + glVertex3fv(P031); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N039); + glVertex3fv(P039); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N032); + glVertex3fv(P032); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N040); + glVertex3fv(P040); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N033); + glVertex3fv(P033); + glNormal3fv(N041); + glVertex3fv(P041); + glEnd(); +} + +void +Whale008(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N043); + glVertex3fv(P043); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N051); + glVertex3fv(P051); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N042); + glVertex3fv(P042); + glNormal3fv(N050); + glVertex3fv(P050); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N036); + glVertex3fv(P036); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N044); + glVertex3fv(P044); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N041); + glVertex3fv(P041); + glNormal3fv(N049); + glVertex3fv(P049); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N040); + glVertex3fv(P040); + glNormal3fv(N048); + glVertex3fv(P048); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N047); + glVertex3fv(P047); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N037); + glVertex3fv(P037); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N045); + glVertex3fv(P045); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N038); + glVertex3fv(P038); + glNormal3fv(N039); + glVertex3fv(P039); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N046); + glVertex3fv(P046); + glEnd(); +} + +void +Whale009(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N051); + glVertex3fv(P051); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N059); + glVertex3fv(P059); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N044); + glVertex3fv(P044); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N050); + glVertex3fv(P050); + glNormal3fv(N058); + glVertex3fv(P058); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N049); + glVertex3fv(P049); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N048); + glVertex3fv(P048); + glNormal3fv(N056); + glVertex3fv(P056); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N045); + glVertex3fv(P045); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N046); + glVertex3fv(P046); + glNormal3fv(N047); + glVertex3fv(P047); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); +} + +void +Whale010(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N080); + glVertex3fv(P080); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N081); + glVertex3fv(P081); + glNormal3fv(N085); + glVertex3fv(P085); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N085); + glVertex3fv(P085); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N083); + glVertex3fv(P083); + glNormal3fv(N077); + glVertex3fv(P077); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N087); + glVertex3fv(P087); + glNormal3fv(N077); + glVertex3fv(P077); + glNormal3fv(N090); + glVertex3fv(P090); + glEnd(); +} + +void +Whale011(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N079); + glVertex3fv(P079); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N088); + glVertex3fv(P088); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N089); + glVertex3fv(P089); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N089); + glVertex3fv(P089); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N086); + glVertex3fv(P086); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N078); + glVertex3fv(P078); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N078); + glVertex3fv(P078); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N084); + glVertex3fv(P084); + glNormal3fv(N082); + glVertex3fv(P082); + glNormal3fv(N079); + glVertex3fv(P079); + glEnd(); +} + +void +Whale012(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N066); + glVertex3fv(P066); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N052); + glVertex3fv(P052); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N059); + glVertex3fv(P059); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N067); + glVertex3fv(P067); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N058); + glVertex3fv(P058); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N057); + glVertex3fv(P057); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N057); + glVertex3fv(P057); + glNormal3fv(N065); + glVertex3fv(P065); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N006); + glVertex3fv(P006); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N056); + glVertex3fv(P056); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N055); + glVertex3fv(P055); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N053); + glVertex3fv(P053); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N060); + glVertex3fv(P060); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N053); + glVertex3fv(P053); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N052); + glVertex3fv(P052); + glEnd(); +} + +void +Whale013(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N098); + glVertex3fv(P098); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N066); + glVertex3fv(P066); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N067); + glVertex3fv(P067); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N060); + glVertex3fv(P060); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N096); + glVertex3fv(P096); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N096); + glVertex3fv(P096); + glNormal3fv(N005); + glVertex3fv(P005); + glNormal3fv(N098); + glVertex3fv(P098); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N065); + glVertex3fv(P065); + glNormal3fv(N097); + glVertex3fv(P097); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N097); + glVertex3fv(P097); + glNormal3fv(N099); + glVertex3fv(P099); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P005); + glVertex3fv(P006); + glVertex3fv(P099); + glVertex3fv(P098); + glEnd(); +} + +void +Whale014(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N004); + glVertex3fv(P004); + glNormal3fv(N005); + glVertex3fv(P005); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P006); + glVertex3fv(P005); + glVertex3fv(P004); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N006); + glVertex3fv(P006); + glNormal3fv(N008); + glVertex3fv(P008); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N008); + glVertex3fv(P008); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N062); + glVertex3fv(P062); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N004); + glVertex3fv(P004); + glEnd(); +} + +void +Whale015(void) +{ + glBegin(GL_POLYGON); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N055); + glVertex3fv(P055); + glNormal3fv(N063); + glVertex3fv(P063); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N100); + glVertex3fv(P100); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N003); + glVertex3fv(P003); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N054); + glVertex3fv(P054); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N054); + glVertex3fv(P054); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N063); + glVertex3fv(P063); + glNormal3fv(N002); + glVertex3fv(P002); + glEnd(); + glBegin(GL_POLYGON); + glNormal3fv(N100); + glVertex3fv(P100); + glNormal3fv(N002); + glVertex3fv(P002); + glNormal3fv(N062); + glVertex3fv(P062); + glEnd(); +} + +void +Whale016(void) +{ + glBegin(GL_POLYGON); + glVertex3fv(P104); + glVertex3fv(P105); + glVertex3fv(P106); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P107); + glVertex3fv(P108); + glVertex3fv(P109); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P110); + glVertex3fv(P111); + glVertex3fv(P112); + glVertex3fv(P113); + glVertex3fv(P114); + glVertex3fv(P115); + glEnd(); + glBegin(GL_POLYGON); + glVertex3fv(P116); + glVertex3fv(P117); + glVertex3fv(P118); + glVertex3fv(P119); + glVertex3fv(P120); + glVertex3fv(P121); + glEnd(); +} + +void +DrawWhale(fishRec * fish) +{ + float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7; + float pitch, thrash, chomp; + + fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360; + + thrash = 70.0 * fish->v; + + seg0 = 1.5 * thrash * sin((fish->htail) * RRAD); + seg1 = 2.5 * thrash * sin((fish->htail + 10.0) * RRAD); + seg2 = 3.7 * thrash * sin((fish->htail + 15.0) * RRAD); + seg3 = 4.8 * thrash * sin((fish->htail + 23.0) * RRAD); + seg4 = 6.0 * thrash * sin((fish->htail + 28.0) * RRAD); + seg5 = 6.5 * thrash * sin((fish->htail + 35.0) * RRAD); + seg6 = 6.5 * thrash * sin((fish->htail + 40.0) * RRAD); + seg7 = 6.5 * thrash * sin((fish->htail + 55.0) * RRAD); + + pitch = fish->v * sin((fish->htail - 160.0) * RRAD); + + chomp = 0.0; + if (fish->v > 2.0) { + chomp = -(fish->v - 2.0) * 200.0; + } + P012[1] = iP012[1] + seg5; + P013[1] = iP013[1] + seg5; + P014[1] = iP014[1] + seg5; + P015[1] = iP015[1] + seg5; + P016[1] = iP016[1] + seg5; + P017[1] = iP017[1] + seg5; + P018[1] = iP018[1] + seg5; + P019[1] = iP019[1] + seg5; + + P020[1] = iP020[1] + seg4; + P021[1] = iP021[1] + seg4; + P022[1] = iP022[1] + seg4; + P023[1] = iP023[1] + seg4; + P024[1] = iP024[1] + seg4; + P025[1] = iP025[1] + seg4; + P026[1] = iP026[1] + seg4; + P027[1] = iP027[1] + seg4; + + P028[1] = iP028[1] + seg2; + P029[1] = iP029[1] + seg2; + P030[1] = iP030[1] + seg2; + P031[1] = iP031[1] + seg2; + P032[1] = iP032[1] + seg2; + P033[1] = iP033[1] + seg2; + P034[1] = iP034[1] + seg2; + P035[1] = iP035[1] + seg2; + + P036[1] = iP036[1] + seg1; + P037[1] = iP037[1] + seg1; + P038[1] = iP038[1] + seg1; + P039[1] = iP039[1] + seg1; + P040[1] = iP040[1] + seg1; + P041[1] = iP041[1] + seg1; + P042[1] = iP042[1] + seg1; + P043[1] = iP043[1] + seg1; + + P044[1] = iP044[1] + seg0; + P045[1] = iP045[1] + seg0; + P046[1] = iP046[1] + seg0; + P047[1] = iP047[1] + seg0; + P048[1] = iP048[1] + seg0; + P049[1] = iP049[1] + seg0; + P050[1] = iP050[1] + seg0; + P051[1] = iP051[1] + seg0; + + P009[1] = iP009[1] + seg6; + P010[1] = iP010[1] + seg6; + P075[1] = iP075[1] + seg6; + P076[1] = iP076[1] + seg6; + + P001[1] = iP001[1] + seg7; + P011[1] = iP011[1] + seg7; + P068[1] = iP068[1] + seg7; + P069[1] = iP069[1] + seg7; + P070[1] = iP070[1] + seg7; + P071[1] = iP071[1] + seg7; + P072[1] = iP072[1] + seg7; + P073[1] = iP073[1] + seg7; + P074[1] = iP074[1] + seg7; + + P091[1] = iP091[1] + seg3 * 1.1; + P092[1] = iP092[1] + seg3; + P093[1] = iP093[1] + seg3; + P094[1] = iP094[1] + seg3; + P095[1] = iP095[1] + seg3 * 0.9; + + P099[1] = iP099[1] + chomp; + P098[1] = iP098[1] + chomp; + P097[1] = iP097[1] + chomp; + P096[1] = iP096[1] + chomp; + + glPushMatrix(); + + glRotatef(pitch, 1.0, 0.0, 0.0); + + glTranslatef(0.0, 0.0, 8000.0); + + glRotatef(180.0, 0.0, 1.0, 0.0); + + glScalef(3.0, 3.0, 3.0); + + glEnable(GL_CULL_FACE); + + Whale001(); + Whale002(); + Whale003(); + Whale004(); + Whale005(); + Whale006(); + Whale007(); + Whale008(); + Whale009(); + Whale010(); + Whale011(); + Whale012(); + Whale013(); + Whale014(); + Whale015(); + Whale016(); + + glDisable(GL_CULL_FACE); + + glPopMatrix(); +} diff --git a/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/main.c b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/main.c new file mode 100644 index 0000000..b7794b3 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/main.c @@ -0,0 +1,179 @@ + +/* Simple program: Create a blank window, wait for keypress, quit. + + Please see the SDL documentation for details on using the SDL API: + /Developer/Documentation/SDL/docs.html +*/ + +#include +#include +#include +#include + +#include "SDL.h" + +extern void Atlantis_Init (); +extern void Atlantis_Reshape (int w, int h); +extern void Atlantis_Animate (); +extern void Atlantis_Display (); + +static SDL_Surface *gScreen; + +static void initAttributes () +{ + // Setup attributes we want for the OpenGL context + + int value; + + // Don't set color bit sizes (SDL_GL_RED_SIZE, etc) + // Mac OS X will always use 8-8-8-8 ARGB for 32-bit screens and + // 5-5-5 RGB for 16-bit screens + + // Request a 16-bit depth buffer (without this, there is no depth buffer) + value = 16; + SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, value); + + + // Request double-buffered OpenGL + // The fact that windows are double-buffered on Mac OS X has no effect + // on OpenGL double buffering. + value = 1; + SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, value); +} + +static void printAttributes () +{ + // Print out attributes of the context we created + int nAttr; + int i; + + int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE, + SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DEPTH_SIZE }; + + char *desc[] = { "Red size: %d bits\n", "Blue size: %d bits\n", "Green size: %d bits\n", + "Alpha size: %d bits\n", "Color buffer size: %d bits\n", + "Depth bufer size: %d bits\n" }; + + nAttr = sizeof(attr) / sizeof(int); + + for (i = 0; i < nAttr; i++) { + + int value; + SDL_GL_GetAttribute (attr[i], &value); + printf (desc[i], value); + } +} + +static void createSurface (int fullscreen) +{ + Uint32 flags = 0; + + flags = SDL_OPENGL; + if (fullscreen) + flags |= SDL_FULLSCREEN; + + // Create window + gScreen = SDL_SetVideoMode (640, 480, 0, flags); + if (gScreen == NULL) { + + fprintf (stderr, "Couldn't set 640x480 OpenGL video mode: %s\n", + SDL_GetError()); + SDL_Quit(); + exit(2); + } +} + +static void initGL () +{ + Atlantis_Init (); + Atlantis_Reshape (gScreen->w, gScreen->h); +} + +static void drawGL () +{ + Atlantis_Animate (); + Atlantis_Display (); +} + +static void mainLoop () +{ + SDL_Event event; + int done = 0; + int fps = 24; + int delay = 1000/fps; + int thenTicks = -1; + int nowTicks; + + while ( !done ) { + + /* Check for events */ + while ( SDL_PollEvent (&event) ) { + switch (event.type) { + + case SDL_MOUSEMOTION: + break; + case SDL_MOUSEBUTTONDOWN: + break; + case SDL_KEYDOWN: + /* Any keypress quits the app... */ + case SDL_QUIT: + done = 1; + break; + default: + break; + } + } + + // Draw at 24 hz + // This approach is not normally recommended - it is better to + // use time-based animation and run as fast as possible + drawGL (); + SDL_GL_SwapBuffers (); + + // Time how long each draw-swap-delay cycle takes + // and adjust delay to get closer to target framerate + if (thenTicks > 0) { + nowTicks = SDL_GetTicks (); + delay += (1000/fps - (nowTicks-thenTicks)); + thenTicks = nowTicks; + if (delay < 0) + delay = 1000/fps; + } + else { + thenTicks = SDL_GetTicks (); + } + + SDL_Delay (delay); + } +} + +int main(int argc, char *argv[]) +{ + // Init SDL video subsystem + if ( SDL_Init (SDL_INIT_VIDEO) < 0 ) { + + fprintf(stderr, "Couldn't initialize SDL: %s\n", + SDL_GetError()); + exit(1); + } + + // Set GL context attributes + initAttributes (); + + // Create GL context + createSurface (0); + + // Get GL context attributes + printAttributes (); + + // Init GL state + initGL (); + + // Draw, get events... + mainLoop (); + + // Cleanup + SDL_Quit(); + + return 0; +} diff --git a/distrib/sdl-1.2.15/Xcode/XcodeDocSet/Doxyfile b/distrib/sdl-1.2.15/Xcode/XcodeDocSet/Doxyfile new file mode 100644 index 0000000..34e1228 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/XcodeDocSet/Doxyfile @@ -0,0 +1,1558 @@ +# Doxyfile 1.6.1 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = SDL + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 1.2.14 + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = YES + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = YES + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it parses. +# With this tag you can assign which parser to use for a given extension. +# Doxygen has a built-in mapping, but you can override or extend it using this tag. +# The format is ext=language, where ext is a file extension, and language is one of +# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, +# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat +# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), +# use: inc=Fortran f=C. Note that for custom extensions you also need to set +# FILE_PATTERNS otherwise the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate getter +# and setter methods for a property. Setting this option to YES (the default) +# will make doxygen to replace the get and set methods by a property in the +# documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = YES + +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to +# determine which symbols to keep in memory and which to flush to disk. +# When the cache is full, less often used symbols will be written to disk. +# For small to medium size projects (<1000 input files) the default value is +# probably good enough. For larger projects a too small cache size can cause +# doxygen to be busy swapping symbols to and from disk most of the time +# causing a significant performance penality. +# If the system has enough physical memory increasing the cache will improve the +# performance by keeping more symbols in memory. Note that the value works on +# a logarithmic scale so increasing the size by one will rougly double the +# memory usage. The cache size is given by this formula: +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols + +SYMBOL_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = NO + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespace are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = YES + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is NO. + +SHOW_DIRECTORIES = NO + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = NO + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by +# doxygen. The layout file controls the global structure of the generated output files +# in an output format independent way. The create the layout file that represents +# doxygen's defaults, run doxygen with the -l option. You can optionally specify a +# file name after the option, if omitted DoxygenLayout.xml will be used as the name +# of the layout file. + +LAYOUT_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = ../../include + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.vhd \ + *.vhdl + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. For this to work a browser that supports +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox +# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). + +HTML_DYNAMIC_SECTIONS = NO + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. + +GENERATE_DOCSET = YES + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs for SDL" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.libsdl.sdl + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = SDL.chm + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = "C:/Program Files/HTML Help Workshop/hhc.exe" + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = YES + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER +# are set, an additional index file will be generated that can be used as input for +# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated +# HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. +# For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's +# filter section matches. +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, +# and Class Hierarchy pages using a tree view instead of an ordered list. + +USE_INLINE_TREES = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# When the SEARCHENGINE tag is enable doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP) or Qt help (GENERATE_QHP) +# there is already a search function so this one should typically +# be disabled. + +SEARCHENGINE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = YES + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = YES + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = NO + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = DECLSPEC \ + SDLCALL + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse +# the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more +# powerful graphs. + +CLASS_DIAGRAMS = NO + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# By default doxygen will write a font called FreeSans.ttf to the output +# directory and reference it in all dot files that doxygen generates. This +# font does not include all possible unicode characters however, so when you need +# these (or just want a differently looking font) you can specify the font name +# using DOT_FONTNAME. You need need to make sure dot is able to find the font, +# which can be done by putting it in a standard location or by setting the +# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory +# containing the font. + +DOT_FONTNAME = FreeSans + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the output directory to look for the +# FreeSans.ttf font (which doxygen will put there itself). If you specify a +# different font using DOT_FONTNAME you can set the path where dot +# can find it using this tag. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = /Applications/Graphviz.app/Contents/MacOS + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 67 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 2 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/distrib/sdl-1.2.15/Xcode/mkxcode.csh b/distrib/sdl-1.2.15/Xcode/mkxcode.csh new file mode 100755 index 0000000..caf6481 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/mkxcode.csh @@ -0,0 +1,20 @@ +#!/bin/csh + +### +## This script creates "Xcode.tar.gz" in the parent directory +### + +# remove build products +rm -rf SDL/build +rm -rf SDLTest/build + +# remove Finder info files +find . -name ".DS_Store" -exec rm "{}" ";" + +# remove user project prefs +find . -name "*.pbxuser*" -exec rm "{}" ";" +find . -name "*.mode*" -exec rm "{}" ";" +find . -name "*.perspective*" -exec rm "{}" ";" + +# create the archive +(cd .. && gnutar -zcvf Xcode.tar.gz Xcode) diff --git a/distrib/sdl-1.2.15/Xcode/package b/distrib/sdl-1.2.15/Xcode/package new file mode 100755 index 0000000..6e6b570 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/package @@ -0,0 +1,272 @@ +#! /bin/csh -ef + +set prog = `/usr/bin/basename $0` +set usage = "Usage: $prog [-f] root-dir info-file [tiff-file] [-d dest-dir] [-r resource-dir] [-traditional | -gnutar]" +set noglob + +if (-x /usr/bin/mkbom) then + set mkbom=/usr/bin/mkbom + set lsbom=/usr/bin/lsbom +else + set mkbom=/usr/etc/mkbom + set lsbom=/usr/etc/lsbom +endif + +if (-x /usr/bin/awk) then + set awk=/usr/bin/awk +else + set awk=/bin/awk +endif + +set gnutar=/usr/bin/gnutar +set tar=/usr/bin/tar +set pax=/bin/pax + +# gather parameters +if ($#argv == 0) then + echo $usage + exit(1) +endif + +while ( $#argv > 0 ) + switch ( $argv[1] ) + case -d: + if ( $?destDir ) then + echo ${prog}: dest-dir parameter already set to ${destDir}. + echo $usage + exit(1) + else if ( $#argv < 2 ) then + echo ${prog}: -d option requires destination directory. + echo $usage + exit(1) + else + set destDir = $argv[2] + shift; shift + breaksw + endif + case -f: + if ( $?rootDir ) then + echo ${prog}: root-dir parameter already set to ${rootDir}. + echo $usage + exit(1) + else if ( $#argv < 2 ) then + echo ${prog}: -f option requires package root directory. + echo $usage + exit(1) + else + set rootDir = $argv[2] + set fflag + shift; shift + breaksw + endif + case -r: + if ( $?resDir ) then + echo ${prog}: resource-dir parameter already set to ${resDir}. + echo $usage + exit(1) + else if ( $#argv < 2 ) then + echo ${prog}: -r option requires package resource directory. + echo $usage + exit(1) + else + set resDir = $argv[2] + shift; shift + breaksw + endif + case -traditional: + set usetar + unset usegnutar + unset usepax + breaksw + case -gnutar: + set usegnutar + unset usepax + unset usetar + case -B: + # We got long file names, better use bigtar instead + #set archiver = /NextAdmin/Installer.app/Resources/installer_bigtar + echo 2>&1 ${prog}: -B flag is no longer relevant. + shift + breaksw + case -*: + echo ${prog}: Unknown option: $argv[1] + echo $usage + exit(1) + case *.info: + if ( $?info ) then + echo ${prog}: info-file parameter already set to ${info}. + echo $usage + exit(1) + else + set info = "$argv[1]" + shift + breaksw + endif + case *.tiff: + if ( $?tiff ) then + echo ${prog}: tiff-file parameter already set to ${tiff}. + echo $usage + exit(1) + else + set tiff = "$argv[1]" + shift + breaksw + endif + default: + if ( $?rootDir ) then + echo ${prog}: unrecognized parameter: $argv[1] + echo $usage + exit(1) + else + set rootDir = "$argv[1]" + shift + breaksw + endif + endsw +end + +# check for mandatory parameters +if ( ! $?rootDir ) then + echo ${prog}: missing root-dir parameter. + echo $usage + exit(1) +else if ( ! $?info) then + echo ${prog}: missing info-file parameter. + echo $usage + exit(1) +endif + +# destDir gets default value if unset on command line +if ( $?destDir ) then + /bin/mkdir -p $destDir +else + set destDir = . +endif + +# derive the root name for the package from the root name of the info file +set root = `/usr/bin/basename $info .info` + +# create package directory +set pkg = ${destDir}/${root}.pkg +echo Generating Installer package $pkg ... +if ( -e $pkg ) /bin/rm -rf $pkg +/bin/mkdir -p -m 755 $pkg + +# (gnu)tar/pax and compress root directory to package archive +echo -n " creating package archive ... " +if ( $?fflag ) then + set pkgTop = ${rootDir:t} + set parent = ${rootDir:h} + if ( "$parent" == "$pkgTop" ) set parent = "." +else + set parent = $rootDir + set pkgTop = . +endif +if ( $?usetar ) then + set pkgArchive = $pkg/$root.tar.Z + (cd $parent; $tar -w $pkgTop) | /usr/bin/compress -f -c > $pkgArchive +else if ( $?usegnutar ) then + set pkgArchive = $pkg/$root.tar.gz + (cd $parent; $gnutar zcf $pkgArchive $pkgTop) +else + set pkgArchive = $pkg/$root.pax.gz + (cd $parent; $pax -w -z -x cpio $pkgTop) > $pkgArchive +endif +/bin/chmod 444 $pkgArchive +echo done. + +# copy info file to package +set pkgInfo = $pkg/$root.info +echo -n " copying ${info:t} ... " +/bin/cp $info $pkgInfo +/bin/chmod 444 $pkgInfo +echo done. + +# copy tiff file to package +if ( $?tiff ) then + set pkgTiff = $pkg/$root.tiff + echo -n " copying ${tiff:t} ... " + /bin/cp $tiff $pkgTiff + /bin/chmod 444 $pkgTiff + echo done. +endif + +# copy resources to package +if ( $?resDir ) then + echo -n " copying ${resDir:t} ... " + + # don't want to see push/pop output + pushd $resDir > /dev/null + # get lists of resources. We'll want to change + # permissions on just these things later. + set directoriesInResDir = `find . -type d` + set filesInResDir = `find . -type f` + popd > /dev/null + + # copy the resource directory contents into the package directory + foreach resFile (`ls $resDir`) + cp -r $resDir/$resFile $pkg + end + + pushd $pkg > /dev/null + # Change all directories to +r+x, except the package + # directory itself + foreach resFileItem ($directoriesInResDir) + if ( $resFileItem != "." ) then + chmod 555 $resFileItem + endif + end + # change all flat files to read only + foreach resFileItem ($filesInResDir) + chmod 444 $resFileItem + end + popd > /dev/null + + echo done. +endif + +# generate bom file +set pkgBom = $pkg/$root.bom +echo -n " generating bom file ... " +/bin/rm -f $pkgBom +if ( $?fflag ) then + $mkbom $parent $pkgBom >& /dev/null +else + $mkbom $rootDir $pkgBom >& /dev/null +endif +/bin/chmod 444 $pkgArchive +echo done. + +# generate sizes file +set pkgSizes = $pkg/$root.sizes +echo -n " generating sizes file ... " + +# compute number of files in package +set numFiles = `$lsbom -s $pkgBom | /usr/bin/wc -l` + +# compute package size when compressed +@ compressedSize = `/usr/bin/du -k -s $pkg | $awk '{print $1}'` +@ compressedSize += 3 # add 1KB each for sizes, location, status files + +@ infoSize = `/bin/ls -s $pkgInfo | $awk '{print $1}'` +@ bomSize = `/bin/ls -s $pkgBom | $awk '{print $1}'` +if ( $?tiff ) then + @ tiffSize = `/bin/ls -s $pkgTiff | $awk '{print $1}'` +else + @ tiffSize = 0 +endif + +@ installedSize = `/usr/bin/du -k -s $rootDir | $awk '{print $1}'` +@ installedSize += $infoSize + $bomSize + $tiffSize + 3 + +# echo size parameters to sizes file +echo NumFiles $numFiles > $pkgSizes +echo InstalledSize $installedSize >> $pkgSizes +echo CompressedSize $compressedSize >> $pkgSizes +echo done. +echo " ... finished generating $pkg." + +exit(0) + +# end package + diff --git a/distrib/sdl-1.2.15/Xcode/stationary.csh b/distrib/sdl-1.2.15/Xcode/stationary.csh new file mode 100755 index 0000000..ba5a385 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/stationary.csh @@ -0,0 +1,25 @@ +#!/bin/csh + +### +## This script installs the stationary +### + +sudo -v -p "Please enter the administrator password: " + +# project templates +sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/" + +sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Cocoa Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/" + +sudo /Developer/Tools/CpMac -r "Project Stationary/SDL Custom Cocoa Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/" + +sudo /Developer/Tools/CpMac -r "Project Stationary/SDL OpenGL Application" "/Developer/ProjectBuilder Extras/Project Templates/Application/" + + +# target templates +sudo mkdir -p "/Developer/ProjectBuilder Extras/Target Templates/SDL" + +sudo /Developer/Tools/CpMac -r "Project Stationary/Application.trgttmpl" "/Developer/ProjectBuilder Extras/Target Templates/SDL" + + + diff --git a/distrib/sdl-1.2.15/Xcode/uninstall.csh b/distrib/sdl-1.2.15/Xcode/uninstall.csh new file mode 100755 index 0000000..aab8d79 --- /dev/null +++ b/distrib/sdl-1.2.15/Xcode/uninstall.csh @@ -0,0 +1,32 @@ +#!/bin/csh + +### +## This script removes the Developer SDL package +### + +setenv HOME_DIR ~ + +sudo -v -p "Enter administrator password to remove SDL: " + +sudo rm -rf "$HOME_DIR/Library/Frameworks/SDL.framework" + +# will only remove the Frameworks dir if empty (since we put it there) +sudo rmdir "$HOME_DIR/Library/Frameworks" + +sudo rm -r "$HOME_DIR/Readme SDL Developer.txt" +sudo rm -r "/Developer/Documentation/SDL" +sudo rm -r "/Developer/Documentation/ManPages/man3/SDL"* +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Cocoa Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Custom Cocoa Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL OpenGL Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Target Templates/SDL" +sudo rm -r "/Library/Receipts/SDL-devel.pkg" + +# rebuild apropos database +sudo /usr/libexec/makewhatis + +unsetenv HOME_DIR + + + diff --git a/distrib/sdl-1.2.15/acinclude/alsa.m4 b/distrib/sdl-1.2.15/acinclude/alsa.m4 new file mode 100644 index 0000000..d818e70 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/alsa.m4 @@ -0,0 +1,145 @@ +############################################################################## +dnl Configure Paths for Alsa +dnl Some modifications by Richard Boulton +dnl Christopher Lansdown +dnl Jaroslav Kysela +dnl Last modification: alsa.m4,v 1.23 2004/01/16 18:14:22 tiwai Exp +dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. +dnl enables arguments --with-alsa-prefix= +dnl --with-alsa-enc-prefix= +dnl --disable-alsatest +dnl +dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified, +dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result. +dnl +AC_DEFUN([AM_PATH_ALSA], +[dnl Save the original CFLAGS, LDFLAGS, and LIBS +alsa_save_CFLAGS="$CFLAGS" +alsa_save_LDFLAGS="$LDFLAGS" +alsa_save_LIBS="$LIBS" +alsa_found=yes + +dnl +dnl Get the cflags and libraries for alsa +dnl +AC_ARG_WITH(alsa-prefix, +[ --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)], +[alsa_prefix="$withval"], [alsa_prefix=""]) + +AC_ARG_WITH(alsa-inc-prefix, +[ --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)], +[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""]) + +dnl FIXME: this is not yet implemented +AC_ARG_ENABLE(alsatest, +[ --disable-alsatest Do not try to compile and run a test Alsa program], +[enable_alsatest="$enableval"], +[enable_alsatest=yes]) + +dnl Add any special include directories +AC_MSG_CHECKING(for ALSA CFLAGS) +if test "$alsa_inc_prefix" != "" ; then + ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" + CFLAGS="$CFLAGS -I$alsa_inc_prefix" +fi +AC_MSG_RESULT($ALSA_CFLAGS) + +dnl add any special lib dirs +AC_MSG_CHECKING(for ALSA LDFLAGS) +if test "$alsa_prefix" != "" ; then + ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" + LDFLAGS="$LDFLAGS $ALSA_LIBS" +fi + +dnl add the alsa library +ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" +LIBS=`echo $LIBS | sed 's/-lm//'` +LIBS=`echo $LIBS | sed 's/-ldl//'` +LIBS=`echo $LIBS | sed 's/-lpthread//'` +LIBS=`echo $LIBS | sed 's/ //'` +LIBS="$ALSA_LIBS $LIBS" +AC_MSG_RESULT($ALSA_LIBS) + +dnl Check for a working version of libasound that is of the right version. +min_alsa_version=ifelse([$1], ,0.1.1,$1) +AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) +no_alsa="" + alsa_min_major_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + alsa_min_minor_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + alsa_min_micro_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + +AC_LANG_SAVE +AC_LANG_C +AC_TRY_COMPILE([ +#include +], [ +/* ensure backward compatibility */ +#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) +#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR +#endif +#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) +#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR +#endif +#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) +#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR +#endif + +# if(SND_LIB_MAJOR > $alsa_min_major_version) + exit(0); +# else +# if(SND_LIB_MAJOR < $alsa_min_major_version) +# error not present +# endif + +# if(SND_LIB_MINOR > $alsa_min_minor_version) + exit(0); +# else +# if(SND_LIB_MINOR < $alsa_min_minor_version) +# error not present +# endif + +# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) +# error not present +# endif +# endif +# endif +exit(0); +], + [AC_MSG_RESULT(found.)], + [AC_MSG_RESULT(not present.) + ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)]) + alsa_found=no] +) +AC_LANG_RESTORE + +dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. +if test "x$enable_alsatest" = "xyes"; then +AC_CHECK_LIB([asound], [snd_ctl_open],, + [ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)]) + alsa_found=no] +) +fi + +if test "x$alsa_found" = "xyes" ; then + ifelse([$2], , :, [$2]) + LIBS=`echo $LIBS | sed 's/-lasound//g'` + LIBS=`echo $LIBS | sed 's/ //'` + LIBS="-lasound $LIBS" +fi +if test "x$alsa_found" = "xno" ; then + ifelse([$3], , :, [$3]) + CFLAGS="$alsa_save_CFLAGS" + LDFLAGS="$alsa_save_LDFLAGS" + LIBS="$alsa_save_LIBS" + ALSA_CFLAGS="" + ALSA_LIBS="" +fi + +dnl That should be it. Now just export out symbols: +AC_SUBST(ALSA_CFLAGS) +AC_SUBST(ALSA_LIBS) +]) diff --git a/distrib/sdl-1.2.15/acinclude/esd.m4 b/distrib/sdl-1.2.15/acinclude/esd.m4 new file mode 100644 index 0000000..58d64a9 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/esd.m4 @@ -0,0 +1,168 @@ +############################################################################## +# +# --- esd.m4 --- +# +# Configure paths for ESD +# Manish Singh 98-9-30 +# stolen back from Frank Belew +# stolen from Manish Singh +# Shamelessly stolen from Owen Taylor + +dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS +dnl +AC_DEFUN([AM_PATH_ESD], +[dnl +dnl Get the cflags and libraries from the esd-config script +dnl +AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)], + esd_prefix="$withval", esd_prefix="") +AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)], + esd_exec_prefix="$withval", esd_exec_prefix="") +AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program], + , enable_esdtest=yes) + + if test x$esd_exec_prefix != x ; then + esd_args="$esd_args --exec-prefix=$esd_exec_prefix" + if test x${ESD_CONFIG+set} != xset ; then + ESD_CONFIG=$esd_exec_prefix/bin/esd-config + fi + fi + if test x$esd_prefix != x ; then + esd_args="$esd_args --prefix=$esd_prefix" + if test x${ESD_CONFIG+set} != xset ; then + ESD_CONFIG=$esd_prefix/bin/esd-config + fi + fi + + AC_PATH_PROG(ESD_CONFIG, esd-config, no) + min_esd_version=ifelse([$1], ,0.2.7,$1) + AC_MSG_CHECKING(for ESD - version >= $min_esd_version) + no_esd="" + if test "$ESD_CONFIG" = "no" ; then + no_esd=yes + else + ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` + ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` + + esd_major_version=`$ESD_CONFIG $esd_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + esd_minor_version=`$ESD_CONFIG $esd_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_esdtest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $ESD_CFLAGS" + LIBS="$LIBS $ESD_LIBS" +dnl +dnl Now check if the installed ESD is sufficiently new. (Also sanity +dnl checks the results of esd-config to some extent +dnl + rm -f conf.esdtest + AC_TRY_RUN([ +#include +#include +#include +#include + +char* +my_strdup (char *str) +{ + char *new_str; + + if (str) + { + new_str = malloc ((strlen (str) + 1) * sizeof(char)); + strcpy (new_str, str); + } + else + new_str = NULL; + + return new_str; +} + +int main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.esdtest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = my_strdup("$min_esd_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_esd_version"); + exit(1); + } + + if (($esd_major_version > major) || + (($esd_major_version == major) && ($esd_minor_version > minor)) || + (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version); + printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n"); + printf("*** to point to the correct copy of esd-config, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); + return 1; + } +} + +],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_esd" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$ESD_CONFIG" = "no" ; then + echo "*** The esd-config script installed by ESD could not be found" + echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the ESD_CONFIG environment variable to the" + echo "*** full path to esd-config." + else + if test -f conf.esdtest ; then + : + else + echo "*** Could not run ESD test program, checking why..." + CFLAGS="$CFLAGS $ESD_CFLAGS" + LIBS="$LIBS $ESD_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding ESD or finding the wrong" + echo "*** version of ESD. If it is not finding ESD, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means ESD was incorrectly installed" + echo "*** or that you have moved ESD since it was installed. In the latter case, you" + echo "*** may want to edit the esd-config script: $ESD_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + ESD_CFLAGS="" + ESD_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(ESD_CFLAGS) + AC_SUBST(ESD_LIBS) + rm -f conf.esdtest +]) diff --git a/distrib/sdl-1.2.15/acinclude/libtool.m4 b/distrib/sdl-1.2.15/acinclude/libtool.m4 new file mode 100644 index 0000000..b64223e --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/libtool.m4 @@ -0,0 +1,7370 @@ +############################################################################## +# Based on libtool-2.2.6a +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 56 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl +_LT_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + +## ------------------------------------- ## +## Accumulate code for creating libtool. ## +## ------------------------------------- ## + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + +## ------------------------ ## +## FIXME: Eliminate VARNAME ## +## ------------------------ ## + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case \$lt_ECHO in +*'\\\[$]0 --fallback-echo"')dnl " + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` + ;; +esac + +_LT_OUTPUT_LIBTOOL_INIT +]) + + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +cat >"$CONFIG_LT" <<_LTEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate a libtool stub with the current configuration. + +lt_cl_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AS_SHELL_SANITIZE +_AS_PREPARE + +exec AS_MESSAGE_FD>&1 +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2008 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +if test "$no_create" != yes; then + lt_cl_success=: + test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" + exec AS_MESSAGE_LOG_FD>/dev/null + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false + exec AS_MESSAGE_LOG_FD>>config.log + $lt_cl_success || AS_EXIT(1) +fi +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_XSI_SHELLFNS + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES +# -------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=echo + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX +# ----------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_SHELL_INIT + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[_LT_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$lt_ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +ECHO=${lt_ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then + # Yippee, $ECHO works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<_LT_EOF +[$]* +_LT_EOF + exit 0 +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test -z "$lt_ECHO"; then + if test "X${echo_test_string+set}" != Xset; then + # find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if { echo_test_string=`eval $cmd`; } 2>/dev/null && + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null + then + break + fi + done + fi + + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : + else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$ECHO" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + ECHO='print -r' + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + ECHO='printf %s\n' + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + ECHO="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + ECHO=echo + fi + fi + fi + fi + fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +lt_ECHO=$ECHO +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(lt_ECHO) +]) +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], + [An echo program that does not interpret backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[AC_CHECK_TOOL(AR, ar, false) +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1]) + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + beos*) + # On BeOS, this test takes a really really long time. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ + = "XX$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line __oline__ "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[[3-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + lt_cv_deplibs_check_method=pass_all + ;; + +cegcc) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method == "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC*) + # IBM XL 8.0 on PPC + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl*) + # IBM XL C 8.0/Fortran 10.1 on PPC + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag= + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE(int foo(void) {}, + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + ) + LDFLAGS="$save_LDFLAGS" + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], + [[If ld is used when linking, flag to hardcode $libdir into a binary + during linking. This must work even if $libdir does not exist]]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [fix_srcfile_path], [1], + [Fix the shell variable $srcfile for the compiler]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG + + +# _LT_PROG_CXX +# ------------ +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ +# compiler, we have our own version here. +m4_defun([_LT_PROG_CXX], +[ +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) +AC_PROG_CXX +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi +popdef([AC_MSG_ERROR]) +])# _LT_PROG_CXX + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([_LT_PROG_CXX], []) + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[AC_REQUIRE([_LT_PROG_CXX])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd[[12]]*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 will use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + ;; + xl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=echo + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +]) +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_PROG_F77 +# ------------ +# Since AC_PROG_F77 is broken, in that it returns the empty string +# if there is no fortran compiler, we have our own version here. +m4_defun([_LT_PROG_F77], +[ +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) +AC_PROG_F77 +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi +popdef([AC_MSG_ERROR]) +])# _LT_PROG_F77 + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([_LT_PROG_F77], []) + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_REQUIRE([_LT_PROG_F77])dnl +AC_LANG_PUSH(Fortran 77) + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + CC=${F77-"f77"} + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" +fi # test "$_lt_disable_F77" != yes + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_PROG_FC +# ----------- +# Since AC_PROG_FC is broken, in that it returns the empty string +# if there is no fortran compiler, we have our own version here. +m4_defun([_LT_PROG_FC], +[ +pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) +AC_PROG_FC +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi +popdef([AC_MSG_ERROR]) +])# _LT_PROG_FC + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([_LT_PROG_FC], []) + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_REQUIRE([_LT_PROG_FC])dnl +AC_LANG_PUSH(Fortran) + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + CC=${FC-"f95"} + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" +fi # test "$_lt_disable_FC" != yes + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC="$lt_save_CC" +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC="$lt_save_CC" +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_XSI_SHELLFNS +# --------------------- +# Bourne and XSI compatible variants of some useful shell functions. +m4_defun([_LT_PROG_XSI_SHELLFNS], +[case $xsi_shell in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result="${1##*/}" +} + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}" +} + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +func_stripname () +{ + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=${1%%=*} + func_opt_split_arg=${1#*=} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=$(( $[*] )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=${#1} +} + +_LT_EOF + ;; + *) # Bourne compatible functions. + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + +dnl func_dirname_and_basename +dnl A portable version of this function is already defined in general.m4sh +dnl so there is no need for it here. + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + esac +} + +# sed scripts: +my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' +my_sed_long_arg='1s/^-[[^=]]*=//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "$[@]"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` +} + +_LT_EOF +esac + +case $lt_shell_append in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$[1]+=\$[2]" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$[1]=\$$[1]\$[2]" +} + +_LT_EOF + ;; + esac +]) + diff --git a/distrib/sdl-1.2.15/acinclude/ltdl.m4 b/distrib/sdl-1.2.15/acinclude/ltdl.m4 new file mode 100644 index 0000000..e2b7129 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/ltdl.m4 @@ -0,0 +1,806 @@ +############################################################################## +# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*- +# +# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Thomas Tanner, 1999 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 17 LTDL_INIT + +# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE]) +# ------------------------------------------ +# DIRECTORY contains the libltdl sources. It is okay to call this +# function multiple times, as long as the same DIRECTORY is always given. +AC_DEFUN([LT_CONFIG_LTDL_DIR], +[AC_BEFORE([$0], [LTDL_INIT]) +_$0($*) +])# LT_CONFIG_LTDL_DIR + +# We break this out into a separate macro, so that we can call it safely +# internally without being caught accidentally by the sed scan in libtoolize. +m4_defun([_LT_CONFIG_LTDL_DIR], +[dnl remove trailing slashes +m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$])) +m4_case(_LTDL_DIR, + [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.' + m4_if(_ARG_DIR, [.], + [], + [m4_define([_LTDL_DIR], _ARG_DIR) + _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])], + [m4_if(_ARG_DIR, _LTDL_DIR, + [], + [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])]) +m4_popdef([_ARG_DIR]) +])# _LT_CONFIG_LTDL_DIR + +# Initialise: +m4_define([_LTDL_DIR], []) + + +# _LT_BUILD_PREFIX +# ---------------- +# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise +# to `${top_builddir}/'. +m4_define([_LT_BUILD_PREFIX], +[m4_ifdef([AC_AUTOCONF_VERSION], + [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]), + [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX], + [${top_build_prefix}], + [${top_builddir}/])], + [${top_build_prefix}])], + [${top_builddir}/])[]dnl +]) + + +# LTDL_CONVENIENCE +# ---------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with +# '${top_build_prefix}' if available, otherwise with '${top_builddir}/', +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_build_prefix, top_builddir, and top_srcdir appropriately +# in your Makefiles. +AC_DEFUN([LTDL_CONVENIENCE], +[AC_BEFORE([$0], [LTDL_INIT])dnl +dnl Although the argument is deprecated and no longer documented, +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one +dnl here make sure it is the same as any other declaration of libltdl's +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is +dnl not yet using an explicit LT_CONFIG_LTDL_DIR. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl +_$0() +])# LTDL_CONVENIENCE + +# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools, +# now we have LT_CONFIG_LTDL_DIR: +AU_DEFUN([AC_LIBLTDL_CONVENIENCE], +[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) +_LTDL_CONVENIENCE]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], []) + + +# _LTDL_CONVENIENCE +# ----------------- +# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]). +m4_defun([_LTDL_CONVENIENCE], +[case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; +esac +LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" +LTDLDEPS=$LIBLTDL +LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" + +AC_SUBST([LIBLTDL]) +AC_SUBST([LTDLDEPS]) +AC_SUBST([LTDLINCL]) + +# For backwards non-gettext consistent compatibility... +INCLTDL="$LTDLINCL" +AC_SUBST([INCLTDL]) +])# _LTDL_CONVENIENCE + + +# LTDL_INSTALLABLE +# ---------------- +# sets LIBLTDL to the link flags for the libltdl installable library +# and LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl +# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if +# available, otherwise with '${top_builddir}/', and LTDLINCL will be +# prefixed with '${top_srcdir}/' (note the single quotes!). If your +# package is not flat and you're not using automake, define top_build_prefix, +# top_builddir, and top_srcdir appropriately in your Makefiles. +# In the future, this macro may have to be called after LT_INIT. +AC_DEFUN([LTDL_INSTALLABLE], +[AC_BEFORE([$0], [LTDL_INIT])dnl +dnl Although the argument is deprecated and no longer documented, +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one +dnl here make sure it is the same as any other declaration of libltdl's +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is +dnl not yet using an explicit LT_CONFIG_LTDL_DIR. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl +_$0() +])# LTDL_INSTALLABLE + +# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools, +# now we have LT_CONFIG_LTDL_DIR: +AU_DEFUN([AC_LIBLTDL_INSTALLABLE], +[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) +_LTDL_INSTALLABLE]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], []) + + +# _LTDL_INSTALLABLE +# ----------------- +# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]). +m4_defun([_LTDL_INSTALLABLE], +[if test -f $prefix/lib/libltdl.la; then + lt_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-L$prefix/lib $LDFLAGS" + AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes]) + LDFLAGS="$lt_save_LDFLAGS" + if test x"${lt_lib_ltdl-no}" = xyes; then + if test x"$enable_ltdl_install" != xyes; then + # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install + AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install']) + enable_ltdl_install=no + fi + elif test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + fi +fi + +# If configure.ac declared an installable ltdl, and the user didn't override +# with --disable-ltdl-install, we will install the shipped libltdl. +case $enable_ltdl_install in + no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLDEPS= + LTDLINCL= + ;; + *) enable_ltdl_install=yes + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la" + LTDLDEPS=$LIBLTDL + LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" + ;; +esac + +AC_SUBST([LIBLTDL]) +AC_SUBST([LTDLDEPS]) +AC_SUBST([LTDLINCL]) + +# For backwards non-gettext consistent compatibility... +INCLTDL="$LTDLINCL" +AC_SUBST([INCLTDL]) +])# LTDL_INSTALLABLE + + +# _LTDL_MODE_DISPATCH +# ------------------- +m4_define([_LTDL_MODE_DISPATCH], +[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself: +m4_if(_LTDL_DIR, [], + [], + dnl if _LTDL_MODE was not set already, the default value is `subproject': + [m4_case(m4_default(_LTDL_MODE, [subproject]), + [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR) + _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])], + [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])], + [recursive], [], + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl +dnl Be careful not to expand twice: +m4_define([$0], []) +])# _LTDL_MODE_DISPATCH + + +# _LT_LIBOBJ(MODULE_NAME) +# ----------------------- +# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead +# of into LIBOBJS. +AC_DEFUN([_LT_LIBOBJ], [ + m4_pattern_allow([^_LT_LIBOBJS$]) + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" +])# _LT_LIBOBJS + + +# LTDL_INIT([OPTIONS]) +# -------------------- +# Clients of libltdl can use this macro to allow the installer to +# choose between a shipped copy of the ltdl sources or a preinstalled +# version of the library. If the shipped ltdl sources are not in a +# subdirectory named libltdl, the directory name must be given by +# LT_CONFIG_LTDL_DIR. +AC_DEFUN([LTDL_INIT], +[dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +dnl We need to keep our own list of libobjs separate from our parent project, +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while +dnl we look for our own LIBOBJs. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) +m4_pushdef([AC_LIBSOURCES]) + +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: +m4_if(_LTDL_MODE, [], + [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) + +AC_ARG_WITH([included_ltdl], + [AS_HELP_STRING([--with-included-ltdl], + [use the GNU ltdl sources included here])]) + +if test "x$with_included_ltdl" != xyes; then + # We are not being forced to use the included libltdl sources, so + # decide whether there is a useful installed version we can use. + AC_CHECK_HEADER([ltdl.h], + [AC_CHECK_DECL([lt_dlinterface_register], + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], + [with_included_ltdl=no], + [with_included_ltdl=yes])], + [with_included_ltdl=yes], + [AC_INCLUDES_DEFAULT + #include ])], + [with_included_ltdl=yes], + [AC_INCLUDES_DEFAULT] + ) +fi + +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE +dnl was called yet, then for old times' sake, we assume libltdl is in an +dnl eponymous directory: +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) + +AC_ARG_WITH([ltdl_include], + [AS_HELP_STRING([--with-ltdl-include=DIR], + [use the ltdl headers installed in DIR])]) + +if test -n "$with_ltdl_include"; then + if test -f "$with_ltdl_include/ltdl.h"; then : + else + AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include']) + fi +else + with_ltdl_include=no +fi + +AC_ARG_WITH([ltdl_lib], + [AS_HELP_STRING([--with-ltdl-lib=DIR], + [use the libltdl.la installed in DIR])]) + +if test -n "$with_ltdl_lib"; then + if test -f "$with_ltdl_lib/libltdl.la"; then : + else + AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib']) + fi +else + with_ltdl_lib=no +fi + +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in + ,yes,no,no,) + m4_case(m4_default(_LTDL_TYPE, [convenience]), + [convenience], [_LTDL_CONVENIENCE], + [installable], [_LTDL_INSTALLABLE], + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) + ;; + ,no,no,no,) + # If the included ltdl is not to be used, then use the + # preinstalled libltdl we found. + AC_DEFINE([HAVE_LTDL], [1], + [Define this if a modern libltdl is already installed]) + LIBLTDL=-lltdl + LTDLDEPS= + LTDLINCL= + ;; + ,no*,no,*) + AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together]) + ;; + *) with_included_ltdl=no + LIBLTDL="-L$with_ltdl_lib -lltdl" + LTDLDEPS= + LTDLINCL="-I$with_ltdl_include" + ;; +esac +INCLTDL="$LTDLINCL" + +# Report our decision... +AC_MSG_CHECKING([where to find libltdl headers]) +AC_MSG_RESULT([$LTDLINCL]) +AC_MSG_CHECKING([where to find libltdl library]) +AC_MSG_RESULT([$LIBLTDL]) + +_LTDL_SETUP + +dnl restore autoconf definition. +m4_popdef([AC_LIBOBJ]) +m4_popdef([AC_LIBSOURCES]) + +AC_CONFIG_COMMANDS_PRE([ + _ltdl_libobjs= + _ltdl_ltlibobjs= + if test -n "$_LT_LIBOBJS"; then + # Remove the extension. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" + done + fi + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) +]) + +# Only expand once: +m4_define([LTDL_INIT]) +])# LTDL_INIT + +# Old names: +AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) +AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) +AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIB_LTDL], []) +dnl AC_DEFUN([AC_WITH_LTDL], []) +dnl AC_DEFUN([LT_WITH_LTDL], []) + + +# _LTDL_SETUP +# ----------- +# Perform all the checks necessary for compilation of the ltdl objects +# -- including compiler checks and header checks. This is a public +# interface mainly for the benefit of libltdl's own configure.ac, most +# other users should call LTDL_INIT instead. +AC_DEFUN([_LTDL_SETUP], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl +AC_REQUIRE([LT_LIB_DLLOAD])dnl +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl +AC_REQUIRE([gl_FUNC_ARGZ])dnl + +m4_require([_LT_CHECK_OBJDIR])dnl +m4_require([_LT_HEADER_DLFCN])dnl +m4_require([_LT_CHECK_DLPREOPEN])dnl +m4_require([_LT_DECL_SED])dnl + +dnl Don't require this, or it will be expanded earlier than the code +dnl that sets the variables it relies on: +_LT_ENABLE_INSTALL + +dnl _LTDL_MODE specific code must be called at least once: +_LTDL_MODE_DISPATCH + +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS +# the user used. This is so that ltdl.h can pick up the parent projects +# config.h file, The first file in AC_CONFIG_HEADERS must contain the +# definitions required by ltdl.c. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). +AC_CONFIG_COMMANDS_PRE([dnl +m4_pattern_allow([^LT_CONFIG_H$])dnl +m4_ifset([AH_HEADER], + [LT_CONFIG_H=AH_HEADER], + [m4_ifset([AC_LIST_HEADERS], + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], + [])])]) +AC_SUBST([LT_CONFIG_H]) + +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], + [], [], [AC_INCLUDES_DEFAULT]) + +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) + +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) + +name=ltdl +LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` +AC_SUBST([LTDLOPEN]) +])# _LTDL_SETUP + + +# _LT_ENABLE_INSTALL +# ------------------ +m4_define([_LT_ENABLE_INSTALL], +[AC_ARG_ENABLE([ltdl-install], + [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])]) + +case ,${enable_ltdl_install},${enable_ltdl_convenience} in + *yes*) ;; + *) enable_ltdl_convenience=yes ;; +esac + +m4_ifdef([AM_CONDITIONAL], +[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) + AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)]) +])# _LT_ENABLE_INSTALL + + +# LT_SYS_DLOPEN_DEPLIBS +# --------------------- +AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_CACHE_CHECK([whether deplibs are loaded by dlopen], + [lt_cv_sys_dlopen_deplibs], + [# PORTME does your system automatically load deplibs for dlopen? + # or its logical equivalent (e.g. shl_load for HP-UX < 11) + # For now, we just catch OSes we know something about -- in the + # future, we'll try test this programmatically. + lt_cv_sys_dlopen_deplibs=unknown + case $host_os in + aix3*|aix4.1.*|aix4.2.*) + # Unknown whether this is true for these versions of AIX, but + # we want this `case' here to explicitly catch those versions. + lt_cv_sys_dlopen_deplibs=unknown + ;; + aix[[4-9]]*) + lt_cv_sys_dlopen_deplibs=yes + ;; + amigaos*) + case $host_cpu in + powerpc) + lt_cv_sys_dlopen_deplibs=no + ;; + esac + ;; + darwin*) + # Assuming the user has installed a libdl from somewhere, this is true + # If you are looking for one http://www.opendarwin.org/projects/dlcompat + lt_cv_sys_dlopen_deplibs=yes + ;; + freebsd* | dragonfly*) + lt_cv_sys_dlopen_deplibs=yes + ;; + gnu* | linux* | k*bsd*-gnu) + # GNU and its variants, using gnu ld.so (Glibc) + lt_cv_sys_dlopen_deplibs=yes + ;; + hpux10*|hpux11*) + lt_cv_sys_dlopen_deplibs=yes + ;; + interix*) + lt_cv_sys_dlopen_deplibs=yes + ;; + irix[[12345]]*|irix6.[[01]]*) + # Catch all versions of IRIX before 6.2, and indicate that we don't + # know how it worked for any of those versions. + lt_cv_sys_dlopen_deplibs=unknown + ;; + irix*) + # The case above catches anything before 6.2, and it's known that + # at 6.2 and later dlopen does load deplibs. + lt_cv_sys_dlopen_deplibs=yes + ;; + netbsd*) + lt_cv_sys_dlopen_deplibs=yes + ;; + openbsd*) + lt_cv_sys_dlopen_deplibs=yes + ;; + osf[[1234]]*) + # dlopen did load deplibs (at least at 4.x), but until the 5.x series, + # it did *not* use an RPATH in a shared library to find objects the + # library depends on, so we explicitly say `no'. + lt_cv_sys_dlopen_deplibs=no + ;; + osf5.0|osf5.0a|osf5.1) + # dlopen *does* load deplibs and with the right loader patch applied + # it even uses RPATH in a shared library to search for shared objects + # that the library depends on, but there's no easy way to know if that + # patch is installed. Since this is the case, all we can really + # say is unknown -- it depends on the patch being installed. If + # it is, this changes to `yes'. Without it, it would be `no'. + lt_cv_sys_dlopen_deplibs=unknown + ;; + osf*) + # the two cases above should catch all versions of osf <= 5.1. Read + # the comments above for what we know about them. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library + # is used to find them so we can finally say `yes'. + lt_cv_sys_dlopen_deplibs=yes + ;; + qnx*) + lt_cv_sys_dlopen_deplibs=yes + ;; + solaris*) + lt_cv_sys_dlopen_deplibs=yes + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + esac + ]) +if test "$lt_cv_sys_dlopen_deplibs" != yes; then + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], + [Define if the OS needs help to load dependent libraries for dlopen().]) +fi +])# LT_SYS_DLOPEN_DEPLIBS + +# Old name: +AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], []) + + +# LT_SYS_MODULE_EXT +# ----------------- +AC_DEFUN([LT_SYS_MODULE_EXT], +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl +AC_CACHE_CHECK([which extension is used for runtime loadable modules], + [libltdl_cv_shlibext], +[ +module=yes +eval libltdl_cv_shlibext=$shrext_cmds + ]) +if test -n "$libltdl_cv_shlibext"; then + m4_pattern_allow([LT_MODULE_EXT])dnl + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], + [Define to the extension used for runtime loadable modules, say, ".so".]) +fi +])# LT_SYS_MODULE_EXT + +# Old name: +AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_SHLIBEXT], []) + + +# LT_SYS_MODULE_PATH +# ------------------ +AC_DEFUN([LT_SYS_MODULE_PATH], +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl +AC_CACHE_CHECK([which variable specifies run-time module search path], + [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"]) +if test -n "$lt_cv_module_path_var"; then + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], + [Define to the name of the environment variable that determines the run-time module search path.]) +fi +])# LT_SYS_MODULE_PATH + +# Old name: +AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_SHLIBPATH], []) + + +# LT_SYS_DLSEARCH_PATH +# -------------------- +AC_DEFUN([LT_SYS_DLSEARCH_PATH], +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl +AC_CACHE_CHECK([for the default library search path], + [lt_cv_sys_dlsearch_path], + [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"]) +if test -n "$lt_cv_sys_dlsearch_path"; then + sys_dlsearch_path= + for dir in $lt_cv_sys_dlsearch_path; do + if test -z "$sys_dlsearch_path"; then + sys_dlsearch_path="$dir" + else + sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" + fi + done + m4_pattern_allow([LT_DLSEARCH_PATH])dnl + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], + [Define to the system default library search path.]) +fi +])# LT_SYS_DLSEARCH_PATH + +# Old name: +AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], []) + + +# _LT_CHECK_DLPREOPEN +# ------------------- +m4_defun([_LT_CHECK_DLPREOPEN], +[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], + [libltdl_cv_preloaded_symbols], + [if test -n "$lt_cv_sys_global_symbol_pipe"; then + libltdl_cv_preloaded_symbols=yes + else + libltdl_cv_preloaded_symbols=no + fi + ]) +if test x"$libltdl_cv_preloaded_symbols" = xyes; then + AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1], + [Define if libtool can extract symbol lists from object files.]) +fi +])# _LT_CHECK_DLPREOPEN + + +# LT_LIB_DLLOAD +# ------------- +AC_DEFUN([LT_LIB_DLLOAD], +[m4_pattern_allow([^LT_DLLOADERS$]) +LT_DLLOADERS= +AC_SUBST([LT_DLLOADERS]) + +AC_LANG_PUSH([C]) + +LIBADD_DLOPEN= +AC_SEARCH_LIBS([dlopen], [dl], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.]) + if test "$ac_cv_search_dlopen" != "none required" ; then + LIBADD_DLOPEN="-ldl" + fi + libltdl_cv_lib_dl_dlopen="yes" + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H +# include +#endif + ]], [[dlopen(0, 0);]])], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.]) + libltdl_cv_func_dlopen="yes" + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], + [AC_CHECK_LIB([svld], [dlopen], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.]) + LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) +if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes +then + lt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBADD_DLOPEN" + AC_CHECK_FUNCS([dlerror]) + LIBS="$lt_save_LIBS" +fi +AC_SUBST([LIBADD_DLOPEN]) + +LIBADD_SHL_LOAD= +AC_CHECK_FUNC([shl_load], + [AC_DEFINE([HAVE_SHL_LOAD], [1], + [Define if you have the shl_load function.]) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], + [AC_CHECK_LIB([dld], [shl_load], + [AC_DEFINE([HAVE_SHL_LOAD], [1], + [Define if you have the shl_load function.]) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" + LIBADD_SHL_LOAD="-ldld"])]) +AC_SUBST([LIBADD_SHL_LOAD]) + +case $host_os in +darwin[[1567]].*) +# We only want this for pre-Mac OS X 10.4. + AC_CHECK_FUNC([_dyld_func_lookup], + [AC_DEFINE([HAVE_DYLD], [1], + [Define if you have the _dyld_func_lookup function.]) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) + ;; +beos*) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" + ;; +cygwin* | mingw* | os2* | pw32*) + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include ]]) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" + ;; +esac + +AC_CHECK_LIB([dld], [dld_link], + [AC_DEFINE([HAVE_DLD], [1], + [Define if you have the GNU dld library.]) + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) +AC_SUBST([LIBADD_DLD_LINK]) + +m4_pattern_allow([^LT_DLPREOPEN$]) +LT_DLPREOPEN= +if test -n "$LT_DLLOADERS" +then + for lt_loader in $LT_DLLOADERS; do + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " + done + AC_DEFINE([HAVE_LIBDLLOADER], [1], + [Define if libdlloader will be built on this platform]) +fi +AC_SUBST([LT_DLPREOPEN]) + +dnl This isn't used anymore, but set it for backwards compatibility +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" +AC_SUBST([LIBADD_DL]) + +AC_LANG_POP +])# LT_LIB_DLLOAD + +# Old name: +AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_DLLIB], []) + + +# LT_SYS_SYMBOL_USCORE +# -------------------- +# does the compiler prefix global symbols with an underscore? +AC_DEFUN([LT_SYS_SYMBOL_USCORE], +[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +AC_CACHE_CHECK([for _ prefix in compiled symbols], + [lt_cv_sys_symbol_underscore], + [lt_cv_sys_symbol_underscore=no + cat > conftest.$ac_ext <<_LT_EOF +void nm_test_func(){} +int main(){nm_test_func;return 0;} +_LT_EOF + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + ac_nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then + # See whether the symbols have a leading underscore. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then + lt_cv_sys_symbol_underscore=yes + else + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then + : + else + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD + fi + fi + else + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.c >&AS_MESSAGE_LOG_FD + fi + rm -rf conftest* + ]) + sys_symbol_underscore=$lt_cv_sys_symbol_underscore + AC_SUBST([sys_symbol_underscore]) +])# LT_SYS_SYMBOL_USCORE + +# Old name: +AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], []) + + +# LT_FUNC_DLSYM_USCORE +# -------------------- +AC_DEFUN([LT_FUNC_DLSYM_USCORE], +[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl +if test x"$lt_cv_sys_symbol_underscore" = xyes; then + if test x"$libltdl_cv_func_dlopen" = xyes || + test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then + AC_CACHE_CHECK([whether we have to add an underscore for dlsym], + [libltdl_cv_need_uscore], + [libltdl_cv_need_uscore=unknown + save_LIBS="$LIBS" + LIBS="$LIBS $LIBADD_DLOPEN" + _LT_TRY_DLOPEN_SELF( + [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes], + [], [libltdl_cv_need_uscore=cross]) + LIBS="$save_LIBS" + ]) + fi +fi + +if test x"$libltdl_cv_need_uscore" = xyes; then + AC_DEFINE([NEED_USCORE], [1], + [Define if dlsym() requires a leading underscore in symbol names.]) +fi +])# LT_FUNC_DLSYM_USCORE + +# Old name: +AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], []) + diff --git a/distrib/sdl-1.2.15/acinclude/ltoptions.m4 b/distrib/sdl-1.2.15/acinclude/ltoptions.m4 new file mode 100644 index 0000000..d4df679 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/ltoptions.m4 @@ -0,0 +1,370 @@ +############################################################################## +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [0], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + +## ----------------- ## +## LTDL_INIT Options ## +## ----------------- ## + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) + diff --git a/distrib/sdl-1.2.15/acinclude/ltsugar.m4 b/distrib/sdl-1.2.15/acinclude/ltsugar.m4 new file mode 100644 index 0000000..02a939d --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/ltsugar.m4 @@ -0,0 +1,125 @@ +############################################################################## +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) + diff --git a/distrib/sdl-1.2.15/acinclude/ltversion.m4 b/distrib/sdl-1.2.15/acinclude/ltversion.m4 new file mode 100644 index 0000000..83a83f2 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/ltversion.m4 @@ -0,0 +1,25 @@ +############################################################################## +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# Generated from ltversion.in. + +# serial 3012 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.2.6]) +m4_define([LT_PACKAGE_REVISION], [1.3012]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.2.6' +macro_revision='1.3012' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) + diff --git a/distrib/sdl-1.2.15/acinclude/lt~obsolete.m4 b/distrib/sdl-1.2.15/acinclude/lt~obsolete.m4 new file mode 100644 index 0000000..3b2acd4 --- /dev/null +++ b/distrib/sdl-1.2.15/acinclude/lt~obsolete.m4 @@ -0,0 +1,93 @@ +############################################################################## +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 4 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) diff --git a/distrib/sdl-1.2.15/autogen.sh b/distrib/sdl-1.2.15/autogen.sh new file mode 100755 index 0000000..649d7b3 --- /dev/null +++ b/distrib/sdl-1.2.15/autogen.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# +echo "Generating build information using autoconf" +echo "This may take a while ..." + +# Regenerate configuration files +cat acinclude/* >aclocal.m4 +found=false +for autoconf in autoconf autoconf259 autoconf-2.59 +do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi +done +if test x$found = xfalse; then + echo "Couldn't find autoconf, aborting" + exit 1 +fi +(cd test; sh autogen.sh) + +# Run configure for this platform +echo "Now you are ready to run ./configure" diff --git a/distrib/sdl-1.2.15/build-scripts/config.guess b/distrib/sdl-1.2.15/build-scripts/config.guess new file mode 100755 index 0000000..e792aac --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/config.guess @@ -0,0 +1,1494 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +# Free Software Foundation, Inc. + +timestamp='2009-09-18' + +# This file 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 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[456]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd | genuineintel) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + echo ${UNAME_MACHINE}-pc-linux-gnu + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/distrib/sdl-1.2.15/build-scripts/config.sub b/distrib/sdl-1.2.15/build-scripts/config.sub new file mode 100755 index 0000000..5ecc18b --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/config.sub @@ -0,0 +1,1700 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +# Free Software Foundation, Inc. + +timestamp='2009-10-07' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file 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 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to . Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze) + basic_machine=microblaze-xilinx + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/distrib/sdl-1.2.15/build-scripts/fatbuild.sh b/distrib/sdl-1.2.15/build-scripts/fatbuild.sh new file mode 100755 index 0000000..8b99c1d --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/fatbuild.sh @@ -0,0 +1,310 @@ +#!/bin/sh +# +# Build a fat binary on Mac OS X, thanks Ryan! + +# Number of CPUs (for make -j) +NCPU=`sysctl -n hw.ncpu` +if test x$NJOB = x; then + NJOB=$NCPU +fi + +# SDK path +if test x$SDK_PATH = x; then + SDK_PATH=/Developer/SDKs +fi + +# Generic, cross-platform CFLAGS you always want go here. +CFLAGS="-O3 -g -pipe" + +# We dynamically load X11, so using the system X11 headers is fine. +BASE_CONFIG_FLAGS="--build=`uname -p`-apple-darwin \ +--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" + +# PowerPC 32-bit compiler flags +CONFIG_PPC="--host=powerpc-apple-darwin" +CC_PPC="gcc-4.0" +CXX_PPC="g++-4.0" +BUILD_FLAGS_PPC="-arch ppc -mmacosx-version-min=10.4" + +# Intel 32-bit compiler flags +CONFIG_X86="--host=i386-apple-darwin" +CC_X86="gcc" +CXX_X86="g++" +BUILD_FLAGS_X86="-arch i386 -mmacosx-version-min=10.4" + +# Intel 64-bit compiler flags +CONFIG_X64="--host=x86_64-apple-darwin" +CC_X64="gcc" +CXX_X64="g++" +BUILD_FLAGS_X64="-arch x86_64 -mmacosx-version-min=10.6" + +# +# Find the configure script +# +srcdir=`dirname $0`/.. +auxdir=$srcdir/build-scripts +cd $srcdir + +allow_ppc="yes" +which gcc-4.0 >/dev/null 2>/dev/null +if [ "x$?" = "x1" ]; then + #echo "WARNING: Can't find gcc-4.0, which means you don't have Xcode 3." + #echo "WARNING: Therefore, we can't do PowerPC support." + allow_ppc="no" +fi + +# +# Figure out which phase to build: +# all, +# configure, configure-ppc, configure-x86, configure-x64 +# make, make-ppc, make-x86, make-x64, merge +# install +# clean +if test x"$1" = x; then + phase=all +else + phase="$1" +fi +case $phase in + all) + configure_ppc="$allow_ppc" + configure_x86="yes" + configure_x64="yes" + make_ppc="$allow_ppc" + make_x86="yes" + make_x64="yes" + merge="yes" + ;; + configure) + configure_ppc="$allow_ppc" + configure_x86="yes" + configure_x64="yes" + ;; + configure-ppc) + configure_ppc="$allow_ppc" + ;; + configure-x86) + configure_x86="yes" + ;; + configure-x64) + configure_x64="yes" + ;; + make) + make_ppc="$allow_ppc" + make_x86="yes" + make_x64="yes" + merge="yes" + ;; + make-ppc) + make_ppc="$allow_ppc" + ;; + make-x86) + make_x86="yes" + ;; + make-x64) + make_x64="yes" + ;; + merge) + merge="yes" + ;; + install) + install_bin="yes" + install_hdrs="yes" + install_lib="yes" + install_data="yes" + install_man="yes" + ;; + install-bin) + install_bin="yes" + ;; + install-hdrs) + install_hdrs="yes" + ;; + install-lib) + install_lib="yes" + ;; + install-data) + install_data="yes" + ;; + install-man) + install_man="yes" + ;; + clean) + clean_ppc="yes" + clean_x86="yes" + clean_x64="yes" + ;; + clean-ppc) + clean_ppc="yes" + ;; + clean-x86) + clean_x86="yes" + ;; + clean-x64) + clean_x64="yes" + ;; + *) + echo "Usage: $0 [all|configure[-ppc|-x86|-x64]|make[-ppc|-x86|-x64]|merge|install|clean[-ppc|-x86|-x64]]" + exit 1 + ;; +esac +case `uname -p` in + *86) + native_path=x86 + ;; + *powerpc) + native_path=ppc + ;; + x86_64) + native_path=x64 + ;; + *) + echo "Couldn't figure out native architecture path" + exit 1 + ;; +esac + +# +# Create the build directories +# +for dir in build build/ppc build/x86 build/x64; do + if test -d $dir; then + : + else + mkdir $dir || exit 1 + fi +done + + +# +# Build the PowerPC 32-bit binary +# +if test x$configure_ppc = xyes; then + (cd build/ppc && \ + sh ../../configure $BASE_CONFIG_FLAGS $CONFIG_PPC CC="$CC_PPC" CXX="$CXX_PPC" CFLAGS="$CFLAGS $BUILD_FLAGS_PPC $CFLAGS_PPC" LDFLAGS="$BUILD_FLAGS_PPC $LFLAGS_PPC") || exit 2 +fi +if test x$make_ppc = xyes; then + (cd build/ppc && make -j$NJOB) || exit 3 +fi +# +# Build the Intel 32-bit binary +# +if test x$configure_x86 = xyes; then + (cd build/x86 && \ + sh ../../configure $BASE_CONFIG_FLAGS $CONFIG_X86 CC="$CC_X86" CXX="$CXX_X86" CFLAGS="$CFLAGS $BUILD_FLAGS_X86 $CFLAGS_X86" LDFLAGS="$BUILD_FLAGS_X86 $LFLAGS_X86") || exit 2 +fi +if test x$make_x86 = xyes; then + (cd build/x86 && make -j$NJOB) || exit 3 +fi + +# +# Build the Intel 64-bit binary +# +if test x$configure_x64 = xyes; then + (cd build/x64 && \ + sh ../../configure $BASE_CONFIG_FLAGS $CONFIG_X64 CC="$CC_X64" CXX="$CXX_X64" CFLAGS="$CFLAGS $BUILD_FLAGS_X64 $CFLAGS_X64" LDFLAGS="$BUILD_FLAGS_X64 $LFLAGS_X64") || exit 2 +fi +if test x$make_x64 = xyes; then + (cd build/x64 && make -j$NJOB) || exit 3 +fi + +# +# Combine into fat binary +# +if test x$merge = xyes; then + output=.libs + sh $auxdir/mkinstalldirs build/$output + cd build + target=`find . -mindepth 4 -maxdepth 4 -type f -name '*.dylib' | head -1 | sed 's|.*/||'` + (lipo -create -o $output/$target `find . -mindepth 4 -maxdepth 4 -type f -name "*.dylib"` && + ln -sf $target $output/libSDL.dylib && + lipo -create -o $output/libSDL.a */build/.libs/libSDL.a && + cp $native_path/build/.libs/libSDL.la $output && + cp $native_path/build/.libs/libSDL.lai $output && + cp $native_path/build/libSDL.la . && + lipo -create -o $output/libSDLmain.a */build/.libs/libSDLmain.a && + cp $native_path/build/.libs/libSDLmain.la $output && + cp $native_path/build/.libs/libSDLmain.lai $output && + cp $native_path/build/libSDLmain.la . && + echo "Build complete!" && + echo "Files can be found in the build directory.") || exit 4 + cd .. +fi + +# +# Install +# +do_install() +{ + echo $* + $* || exit 5 +} +if test x$prefix = x; then + prefix=/usr/local +fi +if test x$exec_prefix = x; then + exec_prefix=$prefix +fi +if test x$bindir = x; then + bindir=$exec_prefix/bin +fi +if test x$libdir = x; then + libdir=$exec_prefix/lib +fi +if test x$includedir = x; then + includedir=$prefix/include +fi +if test x$datadir = x; then + datadir=$prefix/share +fi +if test x$mandir = x; then + mandir=$prefix/man +fi +if test x$install_bin = xyes; then + do_install sh $auxdir/mkinstalldirs $bindir + do_install /usr/bin/install -c -m 755 build/$native_path/sdl-config $bindir/sdl-config +fi +if test x$install_hdrs = xyes; then + do_install sh $auxdir/mkinstalldirs $includedir/SDL + for src in $srcdir/include/*.h; do \ + file=`echo $src | sed -e 's|^.*/||'`; \ + do_install /usr/bin/install -c -m 644 $src $includedir/SDL/$file; \ + done + do_install /usr/bin/install -c -m 644 $srcdir/include/SDL_config_macosx.h $includedir/SDL/SDL_config.h +fi +if test x$install_lib = xyes; then + do_install sh $auxdir/mkinstalldirs $libdir + do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDL.la $libdir/libSDL.la + do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDLmain.la $libdir/libSDLmain.la +fi +if test x$install_data = xyes; then + do_install sh $auxdir/mkinstalldirs $datadir/aclocal + do_install /usr/bin/install -c -m 644 $srcdir/sdl.m4 $datadir/aclocal/sdl.m4 + do_install sh $auxdir/mkinstalldirs $libdir/pkgconfig + do_install /usr/bin/install -m 644 build/$native_path/sdl.pc $libdir/pkgconfig/sdl.pc +fi +if test x$install_man = xyes; then + do_install sh $auxdir/mkinstalldirs $mandir/man3 + for src in $srcdir/docs/man3/*.3; do \ + file=`echo $src | sed -e 's|^.*/||'`; \ + do_install /usr/bin/install -c -m 644 $src $mandir/man3/$file; \ + done +fi + +# +# Clean up +# +do_clean() +{ + echo $* + $* || exit 6 +} +if test x$clean_ppc = xyes; then + do_clean rm -r build/ppc +fi +if test x$clean_x86 = xyes; then + do_clean rm -r build/x86 +fi +if test x$clean_x64 = xyes; then + do_clean rm -r build/x64 +fi diff --git a/distrib/sdl-1.2.15/build-scripts/install-sh b/distrib/sdl-1.2.15/build-scripts/install-sh new file mode 100755 index 0000000..1a83534 --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/install-sh @@ -0,0 +1,323 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2005-02-02.21 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +chmodcmd="$chmodprog 0755" +chowncmd= +chgrpcmd= +stripcmd= +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src= +dst= +dir_arg= +dstarg= +no_target_directory= + +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: +-c (ignored) +-d create directories instead of installing files. +-g GROUP $chgrpprog installed files to GROUP. +-m MODE $chmodprog installed files to MODE. +-o USER $chownprog installed files to USER. +-s $stripprog installed files. +-t DIRECTORY install into DIRECTORY. +-T report an error if DSTFILE is a directory. +--help display this help and exit. +--version display version info and exit. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG +" + +while test -n "$1"; do + case $1 in + -c) shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + --help) echo "$usage"; exit $?;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -s) stripcmd=$stripprog + shift + continue;; + + -t) dstarg=$2 + shift + shift + continue;; + + -T) no_target_directory=true + shift + continue;; + + --version) echo "$0 $scriptversion"; exit $?;; + + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done + break;; + esac +done + +if test -z "$1"; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src ;; + esac + + if test -n "$dir_arg"; then + dst=$src + src= + + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dstarg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dstarg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst ;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dstarg: Is a directory" >&2 + exit 1 + fi + dst=$dst/`basename "$src"` + fi + fi + + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` + + # Make sure that the destination directory exists. + + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS + + pathcomp= + + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit + fi + pathcomp=$pathcomp/ + done + fi + + if test -n "$dir_arg"; then + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + + else + dstfile=`basename "$dst"` + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 + + # Copy the file name to the temp name. + $doit $cpprog "$src" "$dsttmp" && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + + # Now rename the file to the real destination. + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + || { + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + || { + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + (exit 1); exit 1 + } + else + : + fi + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + } + } + fi || { (exit 1); exit 1; } +done + +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit 0 +} + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/distrib/sdl-1.2.15/build-scripts/ltmain.sh b/distrib/sdl-1.2.15/build-scripts/ltmain.sh new file mode 100644 index 0000000..5e04f08 --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/ltmain.sh @@ -0,0 +1,8407 @@ +# Generated from ltmain.m4sh. + +# ltmain.sh (GNU libtool) 2.2.6 +# Written by Gordon Matzigkeit , 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print informational messages (default) +# --version print version information +# -h, --help print short or long help message +# +# MODE must be one of the following: +# +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory +# +# MODE-ARGS vary depending on the MODE. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE. +# +# When reporting a bug, please describe a test case to reproduce it and +# include the following information: +# +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.2.6 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to . + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=2.2.6 +TIMESTAMP="" +package_revision=1.3012 + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# NLS nuisances: We save the old values to restore during execute mode. +# Only set LANG and LC_ALL to C if already set. +# These must not be set unconditionally because not all systems understand +# e.g. LANG=C (notably SCO). +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done + +$lt_unset CDPATH + + + + + +: ${CP="cp -f"} +: ${ECHO="echo"} +: ${EGREP="/usr/bin/grep -E"} +: ${FGREP="/usr/bin/grep -F"} +: ${GREP="/usr/bin/grep"} +: ${LN_S="ln -s"} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SED="/opt/local/bin/gsed"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + +# Generated shell functions inserted here. + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# The name of this program: +# In the unlikely event $progname began with a '-', it would play havoc with +# func_echo (imagine progname=-n), so we prepend ./ in that case: +func_dirname_and_basename "$progpath" +progname=$func_basename_result +case $progname in + -*) progname=./$progname ;; +esac + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=: + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to double_quote_subst, that '$' was protected from expansion. +# Since each input `\' is now two `\'s, look for any number of runs of +# four `\'s followed by two `\'s and then a '$'. `\' that '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname${mode+: }$mode: $*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` + done + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_mkdir_p_IFS" + # mkdir can fail with a `File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "X$my_tmpdir" | $Xsed +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# func_quote_for_expand arg +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "X$1" | $Xsed \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + + + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $SED -n '/^# Usage:/,/# -h/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + $ECHO + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help +# Echo long help message to standard output and exit. +func_help () +{ + $SED -n '/^# Usage:/,/# Report bugs to/ { + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ + p + }' < "$progpath" + exit $? +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + func_error "missing argument for $1" + exit_cmd=exit +} + +exit_cmd=: + + + + + +# Check that we have a working $ECHO. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then + # Yippee, $ECHO works! + : +else + # Restart under the correct shell, and then maybe $ECHO will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + +# Parse options once, thoroughly. This comes as soon as possible in +# the script to make things like `libtool --version' happen quickly. +{ + + # Shorthand for --mode=foo, only valid as the first argument + case $1 in + clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; + compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; + execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; + finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; + install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; + link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; + esac + + # Parse non-mode specific arguments: + while test "$#" -gt 0; do + opt="$1" + shift + + case $opt in + --config) func_config ;; + + --debug) preserve_args="$preserve_args $opt" + func_echo "enabling shell trace mode" + opt_debug='set -x' + $opt_debug + ;; + + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break + execute_dlfiles="$execute_dlfiles $1" + shift + ;; + + --dry-run | -n) opt_dry_run=: ;; + --features) func_features ;; + --finish) mode="finish" ;; + + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break + case $1 in + # Valid mode arguments: + clean) ;; + compile) ;; + execute) ;; + finish) ;; + install) ;; + link) ;; + relink) ;; + uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; + esac + + mode="$1" + shift + ;; + + --preserve-dup-deps) + opt_duplicate_deps=: ;; + + --quiet|--silent) preserve_args="$preserve_args $opt" + opt_silent=: + ;; + + --verbose| -v) preserve_args="$preserve_args $opt" + opt_silent=false + ;; + + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break + preserve_args="$preserve_args $opt $1" + func_enable_tag "$1" # tagname is set here + shift + ;; + + # Separate optargs to long options: + -dlopen=*|--mode=*|--tag=*) + func_opt_split "$opt" + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} + shift + ;; + + -\?|-h) func_usage ;; + --help) opt_help=: ;; + --version) func_version ;; + + -*) func_fatal_help "unrecognized option \`$opt'" ;; + + *) nonopt="$opt" + break + ;; + esac + done + + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps + ;; + esac + + # Having warned about all mis-specified options, bail out if + # anything was wrong. + $exit_cmd $EXIT_FAILURE +} + +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +## ----------- ## +## Main. ## +## ----------- ## + +$opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + test -z "$mode" && func_fatal_error "error: you must specify a MODE." + + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$mode' for more information." +} + + +# func_lalib_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if `file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case "$lalib_p_line" in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test "$lalib_p" = yes +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + func_lalib_p "$1" +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_ltwrapper_scriptname_result="" + if func_ltwrapper_executable_p "$1"; then + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" + fi +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# `FILE.' does not work on cygwin managed mounts. +func_source () +{ + $opt_debug + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $opt_debug + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_quote_for_eval "$arg" + CC_quoted="$CC_quoted $func_quote_for_eval_result" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_quote_for_eval "$arg" + CC_quoted="$CC_quoted $func_quote_for_eval_result" + done + case "$@ " in + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with \`--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=${1} + if test "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; then + write_oldobj=\'${3}\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T <?"'"'"' &()|`$[]' \ + && func_warning "libobj name \`$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname="$func_basename_result" + xdir="$func_dirname_result" + lobj=${xdir}$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + removelist="$removelist $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + removelist="$removelist $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + command="$command -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + command="$command -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + command="$command$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { +test "$mode" = compile && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -shared do not build a \`.o' file suitable for static linking + -static only build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode \`$mode'" + ;; + esac + + $ECHO + $ECHO "Try \`$progname --help' for more information about other modes." + + exit $? +} + + # Now that we've collected a possible --mode arg, show help if necessary + $opt_help && func_mode_help + + +# func_mode_execute arg... +func_mode_execute () +{ + $opt_debug + # The first argument is the command name. + cmd="$nonopt" + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + test -f "$file" \ + || func_fatal_help "\`$file' is not a file" + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "\`$file' was not linked with \`-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir="$func_dirname_result" + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir="$func_dirname_result" + ;; + + *) + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file="$progdir/$program" + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_quote_for_eval "$file" + args="$args $func_quote_for_eval_result" + done + + if test "X$opt_dry_run" = Xfalse; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + $ECHO "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + fi +} + +test "$mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_silent && exit $EXIT_SUCCESS + + $ECHO "X----------------------------------------------------------------------" | $Xsed + $ECHO "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + $ECHO + $ECHO "If you ever happen to want to link against installed libraries" + $ECHO "in a given directory, LIBDIR, you must either use libtool, and" + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" + $ECHO "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" + $ECHO " during execution" + fi + if test -n "$runpath_var"; then + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" + $ECHO " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + $ECHO + + $ECHO "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" + $ECHO "pages." + ;; + *) + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + $ECHO "X----------------------------------------------------------------------" | $Xsed + exit $EXIT_SUCCESS +} + +test "$mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + install_prog="$install_prog$func_quote_for_eval_result" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + case " $install_prog " in + *[\\\ /]cp\ *) ;; + *) prev=$arg ;; + esac + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + install_prog="$install_prog $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the \`$prev' option requires an argument" + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir="$func_dirname_result" + destname="$func_basename_result" + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "\`$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "\`$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir="$func_dirname_result" + dir="$dir$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking \`$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname="$1" + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme="$stripme" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme="" + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name="$func_basename_result" + instname="$dir/$name"i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to \`$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script \`$wrapper'" + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file="$func_basename_result" + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_silent || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink \`$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file="$outputname" + else + func_warning "cannot relink \`$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name="$func_basename_result" + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run \`$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test "$mode" = install && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms="${my_outputname}S.c" + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${my_outputname}.nm" + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + func_verbose "generating symbol list for \`$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_verbose "extracting global C symbols from \`$progfile'" + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $opt_dry_run || { + $RM $export_symbols + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from \`$dlprefile'" + func_basename "$dlprefile" + name="$func_basename_result" + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + $ECHO >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +" + case $host in + *cygwin* | *mingw* | *cegcc* ) + $ECHO >> "$output_objdir/$my_dlsyms" "\ +/* DATA imports from DLLs on WIN32 con't be const, because + runtime relocations are performed -- see ld's documentation + on pseudo-relocs. */" + lt_dlsym_const= ;; + *osf5*) + echo >> "$output_objdir/$my_dlsyms" "\ +/* This system does not cope well with relocations in const data */" + lt_dlsym_const= ;; + *) + lt_dlsym_const=const ;; + esac + + $ECHO >> "$output_objdir/$my_dlsyms" "\ +extern $lt_dlsym_const lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[]; +$lt_dlsym_const lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + $ECHO >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) symtab_cflags="$symtab_cflags $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' + + # Transform the symbol file into the correct name. + symfileobj="$output_objdir/${my_outputname}S.$objext" + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for \`$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + fi +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () +{ + $opt_debug + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | + $SED -n -e ' + 1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $opt_debug + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib="$func_basename_result" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`basename "$darwin_archive"` + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + + func_extract_archives_result="$my_oldobjs" +} + + + +# func_emit_wrapper_part1 [arg=no] +# +# Emit the first part of a libtool wrapper script on stdout. +# For more information, see the description associated with +# func_emit_wrapper(), below. +func_emit_wrapper_part1 () +{ + func_emit_wrapper_part1_arg1=no + if test -n "$1" ; then + func_emit_wrapper_part1_arg1=$1 + fi + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + ECHO=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$ECHO works! + : + else + # Restart under the correct shell, and then maybe \$ECHO will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $ECHO "\ + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done +" +} +# end: func_emit_wrapper_part1 + +# func_emit_wrapper_part2 [arg=no] +# +# Emit the second part of a libtool wrapper script on stdout. +# For more information, see the description associated with +# func_emit_wrapper(), below. +func_emit_wrapper_part2 () +{ + func_emit_wrapper_part2_arg1=no + if test -n "$1" ; then + func_emit_wrapper_part2_arg1=$1 + fi + + $ECHO "\ + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} +# end: func_emit_wrapper_part2 + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=no + if test -n "$1" ; then + func_emit_wrapper_arg1=$1 + fi + + # split this up so that func_emit_cwrapperexe_src + # can call each part independently. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" +} + + +# func_to_host_path arg +# +# Convert paths to host format when used with build tools. +# Intended for use with "native" mingw (where libtool itself +# is running under the msys shell), or in the following cross- +# build environments: +# $build $host +# mingw (msys) mingw [e.g. native] +# cygwin mingw +# *nix + wine mingw +# where wine is equipped with the `winepath' executable. +# In the native mingw case, the (msys) shell automatically +# converts paths for any non-msys applications it launches, +# but that facility isn't available from inside the cwrapper. +# Similar accommodations are necessary for $host mingw and +# $build cygwin. Calling this function does no harm for other +# $host/$build combinations not listed above. +# +# ARG is the path (on $build) that should be converted to +# the proper representation for $host. The result is stored +# in $func_to_host_path_result. +func_to_host_path () +{ + func_to_host_path_result="$1" + if test -n "$1" ; then + case $host in + *mingw* ) + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + case $build in + *mingw* ) # actually, msys + # awkward: cmd appends spaces to result + lt_sed_strip_trailing_spaces="s/[ ]*\$//" + func_to_host_path_tmp1=`( cmd //c echo "$1" |\ + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + *cygwin* ) + func_to_host_path_tmp1=`cygpath -w "$1"` + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + * ) + # Unfortunately, winepath does not exit with a non-zero + # error code, so we are forced to check the contents of + # stdout. On the other hand, if the command is not + # found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both + # error code of zero AND non-empty stdout, which explains + # the odd construction: + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + else + # Allow warning below. + func_to_host_path_result="" + fi + ;; + esac + if test -z "$func_to_host_path_result" ; then + #func_error "Could not determine host path corresponding to" + #func_error " '$1'" + #func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_path_result="$1" + fi + ;; + esac + fi +} +# end: func_to_host_path + +# func_to_host_pathlist arg +# +# Convert pathlists to host format when used with build tools. +# See func_to_host_path(), above. This function supports the +# following $build/$host combinations (but does no harm for +# combinations not listed here): +# $build $host +# mingw (msys) mingw [e.g. native] +# cygwin mingw +# *nix + wine mingw +# +# Path separators are also converted from $build format to +# $host format. If ARG begins or ends with a path separator +# character, it is preserved (but converted to $host format) +# on output. +# +# ARG is a pathlist (on $build) that should be converted to +# the proper representation on $host. The result is stored +# in $func_to_host_pathlist_result. +func_to_host_pathlist () +{ + func_to_host_pathlist_result="$1" + if test -n "$1" ; then + case $host in + *mingw* ) + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_to_host_pathlist_tmp2="$1" + # Once set for this call, this variable should not be + # reassigned. It is used in tha fallback case. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e 's|^:*||' -e 's|:*$||'` + case $build in + *mingw* ) # Actually, msys. + # Awkward: cmd appends spaces to result. + lt_sed_strip_trailing_spaces="s/[ ]*\$//" + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + *cygwin* ) + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + * ) + # unfortunately, winepath doesn't convert pathlists + func_to_host_pathlist_result="" + func_to_host_pathlist_oldIFS=$IFS + IFS=: + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do + IFS=$func_to_host_pathlist_oldIFS + if test -n "$func_to_host_pathlist_f" ; then + func_to_host_path "$func_to_host_pathlist_f" + if test -n "$func_to_host_path_result" ; then + if test -z "$func_to_host_pathlist_result" ; then + func_to_host_pathlist_result="$func_to_host_path_result" + else + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" + fi + fi + fi + IFS=: + done + IFS=$func_to_host_pathlist_oldIFS + ;; + esac + if test -z "$func_to_host_pathlist_result" ; then + func_error "Could not determine the host path(s) corresponding to" + func_error " '$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This may break if $1 contains DOS-style drive + # specifications. The fix is not to complicate the expression + # below, but for the user to provide a working wine installation + # with winepath so that path translation in the cross-to-mingw + # case works properly. + lt_replace_pathsep_nix_to_dos="s|:|;|g" + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ + $SED -e "$lt_replace_pathsep_nix_to_dos"` + fi + # Now, add the leading and trailing path separators back + case "$1" in + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" + ;; + esac + case "$1" in + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" + ;; + esac + ;; + esac + fi +} +# end: func_to_host_pathlist + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat < +#include +#ifdef _MSC_VER +# include +# include +# include +# define setmode _setmode +#else +# include +# include +# ifdef __CYGWIN__ +# include +# define HAVE_SETENV +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +# endif +#endif +#include +#include +#include +#include +#include +#include +#include +#include + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +#ifdef _MSC_VER +# define S_IXUSR _S_IEXEC +# define stat _stat +# ifndef _INTPTR_T_DEFINED +# define intptr_t int +# endif +#endif + +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifdef __CYGWIN__ +# define FOPEN_WB "wb" +#endif + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +#undef LTWRAPPER_DEBUGPRINTF +#if defined DEBUGWRAPPER +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args +static void +ltwrapper_debugprintf (const char *fmt, ...) +{ + va_list args; + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); +} +#else +# define LTWRAPPER_DEBUGPRINTF(args) +#endif + +const char *program_name = NULL; + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_fatal (const char *message, ...); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_opt_process_env_set (const char *arg); +void lt_opt_process_env_prepend (const char *arg); +void lt_opt_process_env_append (const char *arg); +int lt_split_name_value (const char *arg, char** name, char** value); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); + +static const char *script_text_part1 = +EOF + + func_emit_wrapper_part1 yes | + $SED -e 's/\([\\"]\)/\\\1/g' \ + -e 's/^/ "/' -e 's/$/\\n"/' + echo ";" + cat <"))); + for (i = 0; i < newargc; i++) + { + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); + } + +EOF + + case $host_os in + mingw*) + cat <<"EOF" + /* execv doesn't actually work on mingw as expected on unix */ + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); + if (rval == -1) + { + /* failed to start process */ + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); + return 127; + } + return rval; +EOF + ;; + *) + cat <<"EOF" + execv (lt_argv_zero, newargz); + return rval; /* =127, but avoids unused variable warning */ +EOF + ;; + esac + + cat <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void *p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), + string) : NULL; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char) name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable (const char *path) +{ + struct stat st; + + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", + path ? (*path ? path : "EMPTY!") : "NULL!")); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", + path ? (*path ? path : "EMPTY!") : "NULL!")); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char *concat_name; + + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", + tmp_pathspec)); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + char *errstr = strerror (errno); + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal ("Could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp (str, pat) == 0) + *str = '\0'; + } + return str; +} + +static void +lt_error_core (int exit_status, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} + +void +lt_setenv (const char *name, const char *value) +{ + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", + (name ? name : ""), + (value ? value : ""))); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +int +lt_split_name_value (const char *arg, char** name, char** value) +{ + const char *p; + int len; + if (!arg || !*arg) + return 1; + + p = strchr (arg, (int)'='); + + if (!p) + return 1; + + *value = xstrdup (++p); + + len = strlen (arg) - strlen (*value); + *name = XMALLOC (char, len); + strncpy (*name, arg, len-1); + (*name)[len - 1] = '\0'; + + return 0; +} + +void +lt_opt_process_env_set (const char *arg) +{ + char *name = NULL; + char *value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); + } + + lt_setenv (name, value); + XFREE (name); + XFREE (value); +} + +void +lt_opt_process_env_prepend (const char *arg) +{ + char *name = NULL; + char *value = NULL; + char *new_value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); + } + + new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + XFREE (name); + XFREE (value); +} + +void +lt_opt_process_env_append (const char *arg) +{ + char *name = NULL; + char *value = NULL; + char *new_value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); + } + + new_value = lt_extend_str (getenv (name), value, 1); + lt_setenv (name, new_value); + XFREE (new_value); + XFREE (name); + XFREE (value); +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + (name ? name : ""), + (value ? value : ""))); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + (name ? name : ""), + (value ? value : ""))); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + + +EOF +} +# end: func_emit_cwrapperexe_src + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module="${wl}-single_module" + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + test -f "$arg" \ + || func_fatal_error "symbol file \`$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file \`$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + weak) + weak_libs="$weak_libs $arg" + prev= + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "\`-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname '-L' '' "$arg" + dir=$func_stripname_result + if test -z "$dir"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of \`$dir'" + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot) + compiler_flags="$compiler_flags $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + compiler_flags="$compiler_flags $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; + esac + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "\`-no-install' is ignored for $host" + func_warning "assuming \`-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + arg="$arg $wl$func_quote_for_eval_result" + compiler_flags="$compiler_flags $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + arg="$arg $wl$func_quote_for_eval_result" + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" + linker_flags="$linker_flags $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler + # -r[0-9][0-9]* specifies the processor on the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* pass through architecture-specific + # compiler args for GCC + # -F/path gives path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" + func_append finalize_command " $arg" + compiler_flags="$compiler_flags $arg" + continue + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the \`$prevarg' option requires an argument" + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname="$func_basename_result" + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + func_dirname "$output" "/" "" + output_objdir="$func_dirname_result$objdir" + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_duplicate_deps ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test "$linkmode,$pass" = "lib,link"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs="$tmp_deplibs" + fi + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + case $lib in + *.la) func_source "$lib" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` + case " $weak_libs " in + *" $deplib_base "*) ;; + *) deplibs="$deplibs $deplib" ;; + esac + done + done + libs="$dlprefiles" + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + compiler_flags="$compiler_flags $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + newlib_search_path="$newlib_search_path $func_stripname_result" + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + newlib_search_path="$newlib_search_path $func_stripname_result" + ;; + *) + func_warning "\`-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + func_stripname '-R' '' "$deplib" + dir=$func_stripname_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + $ECHO + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + $ECHO "*** I have the capability to make that library automatically link in when" + $ECHO "*** you link to this library. But I can only do this if you have a" + $ECHO "*** shared version of the library, which you do not appear to have" + $ECHO "*** because the file extensions .$libext of this argument makes me believe" + $ECHO "*** that it is just a static archive that I should not use here." + else + $ECHO + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "\`$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + func_fatal_error "\`$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_duplicate_deps ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of \`$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir="$ladir" + fi + ;; + esac + func_basename "$lib" + laname="$func_basename_result" + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library \`$lib' was moved." + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; then + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + newlib_search_path="$newlib_search_path $func_stripname_result" + ;; + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_duplicate_deps ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath:" in + *"$absdir:"*) ;; + *) temp_rpath="$temp_rpath$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + notinst_deplibs="$notinst_deplibs $lib" + need_relink=no + ;; + *) + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule="" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" + break + fi + done + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then + $ECHO + if test "$linkmode" = prog; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname="$1" + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc*) + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + func_basename "$soroot" + soname="$func_basename_result" + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from \`$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for \`$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we can not + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null ; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $ECHO + $ECHO "*** And there doesn't seem to be a static archive available" + $ECHO "*** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + elif test -n "$old_library"; then + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + $ECHO + $ECHO "*** Warning: This system can not link to static lib archive $lib." + $ECHO "*** I have the capability to make that library automatically link in when" + $ECHO "*** you link to this library. But I can only do this if you have a" + $ECHO "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + $ECHO "*** But as you try to build a module library, libtool will still create " + $ECHO "*** a static module, that should work as long as the dlopening application" + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + $ECHO + $ECHO "*** However, this would only work if libtool was able to extract symbol" + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" + $ECHO "*** not find such a program. So, this module is probably useless." + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if $opt_duplicate_deps ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + func_dirname "$deplib" "" "." + dir="$func_dirname_result" + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of \`$dir'" + absdir="$dir" + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl" ; then + depdepl="$absdir/$objdir/$depdepl" + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" + path= + fi + fi + ;; + *) + path="-L$absdir/$objdir" + ;; + esac + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "\`$deplib' seems to be moved" + + path="-L$absdir" + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test "$pass" = link; then + if test "$linkmode" = "prog"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "\`-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "\`-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" + else + $ECHO + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + test "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "\`-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + shift + IFS="$save_ifs" + + test -n "$7" && \ + func_fatal_help "too many parameters to \`-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$1" + number_minor="$2" + number_revision="$3" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$1" + revision="$2" + age="$3" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT \`$current' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION \`$revision' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE \`$age' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE \`$age' is greater than the current interface number \`$current'" + func_fatal_error "\`$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + qnx) + major=".$current" + versuffix=".$current" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + + *) + func_fatal_configuration "unknown library version type \`$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + libobjs="$libobjs $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + removelist="$removelist $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c </dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $ECHO + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + $ECHO "*** I have the capability to make that library automatically link in when" + $ECHO "*** you link to this library. But I can only do this if you have a" + $ECHO "*** shared version of the library, which you do not appear to have" + $ECHO "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $ECHO + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + $ECHO "*** I have the capability to make that library automatically link in when" + $ECHO "*** you link to this library. But I can only do this if you have a" + $ECHO "*** shared version of the library, which you do not appear to have" + $ECHO "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` + done + fi + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | + $GREP . >/dev/null; then + $ECHO + if test "X$deplibs_check_method" = "Xnone"; then + $ECHO "*** Warning: inter-library dependencies are not supported in this platform." + else + $ECHO "*** Warning: inter-library dependencies are not known to be supported." + fi + $ECHO "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + $ECHO + $ECHO "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + $ECHO "*** a static module, that should work as long as the dlopening" + $ECHO "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + $ECHO + $ECHO "*** However, this would only work if libtool was able to extract symbol" + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" + $ECHO "*** not find such a program. So, this module is probably useless." + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + $ECHO "*** The inter-library dependencies that have been dropped here will be" + $ECHO "*** automatically added whenever a program is linked with this library" + $ECHO "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + $ECHO + $ECHO "*** Since this library must not contain undefined symbols," + $ECHO "*** because either the platform does not support them or" + $ECHO "*** it was explicitly requested with -no-undefined," + $ECHO "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + deplibs="$new_libs" + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + if test -n "$hardcode_libdir_flag_spec_ld"; then + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname="$1" + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols="$output_objdir/$libname.uexp" + delfiles="$delfiles $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols="$export_symbols" + export_symbols= + always_export_symbols=yes + fi + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + func_len " $cmd" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + fi + + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test "$compiler_needs_object" = yes && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + libobjs="$libobjs $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + output_la=`$ECHO "X$output" | $Xsed -e "$basename"` + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then + output=${output_objdir}/${output_la}.lnkscript + func_verbose "creating GNU ld script: $output" + $ECHO 'INPUT (' > $output + for obj in $save_libobjs + do + $ECHO "$obj" >> $output + done + $ECHO ')' >> $output + delfiles="$delfiles $output" + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; then + firstobj="$1 " + shift + fi + for obj + do + $ECHO "$obj" >> $output + done + delfiles="$delfiles $output" + output=$firstobj\"$file_list_spec$output\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-${k}.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test "X$objlist" = X || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-${k}.$objext + objlist=$obj + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + if test -n "$last_robj"; then + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" + fi + delfiles="$delfiles $output" + + else + output= + fi + + if ${skipped_export-false}; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + fi + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + if ${skipped_export-false}; then + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + fi + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $dlprefiles + libobjs="$libobjs $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "\`-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object \`$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "\`-release' is ignored for programs" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test "$tagname" = CXX ; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *cegcc) + # Disable wrappers for cegcc, we are cross compiling anyway. + wrappers_required=no + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # Replace the output file specification. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.${objext}"; then + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' + fi + + exit $exit_status + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "\`$output' will be relinked during installation" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` + fi + + # Quote $ECHO for shipping. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host" ; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + oldobjs="$oldobjs $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $addlibs + oldobjs="$oldobjs $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $dlprefiles + oldobjs="$oldobjs $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $ECHO "copying selected object files to avoid basename conflicts..." + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase="$func_basename_result" + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + oldobjs="$oldobjs $gentop/$newobj" + ;; + *) oldobjs="$oldobjs $obj" ;; + esac + done + fi + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + newdlfiles="$newdlfiles $libdir/$name" + ;; + *) newdlfiles="$newdlfiles $lib" ;; + esac + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + newdlprefiles="$newdlprefiles $libdir/$name" + ;; + esac + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $RM $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +{ test "$mode" = link || test "$mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) RM="$RM $arg"; rmforce=yes ;; + -*) RM="$RM $arg" ;; + *) files="$files $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + func_dirname "$file" "" "." + dir="$func_dirname_result" + if test "X$dir" = X.; then + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + + case "$mode" in + clean) + case " $library_names " in + # " " in the beginning catches empty $dlname + *" $dlname "*) ;; + *) rmfiles="$rmfiles $objdir/$dlname" ;; + esac + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && + test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && + test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + rmfiles="$rmfiles $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +{ test "$mode" = uninstall || test "$mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +test -z "$mode" && { + help="$generic_help" + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode \`$mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# vi:sw=2 + diff --git a/distrib/sdl-1.2.15/build-scripts/makedep.sh b/distrib/sdl-1.2.15/build-scripts/makedep.sh new file mode 100755 index 0000000..3b3863b --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/makedep.sh @@ -0,0 +1,93 @@ +#!/bin/sh +# +# Generate dependencies from a list of source files + +# Check to make sure our environment variables are set +if test x"$INCLUDE" = x -o x"$SOURCES" = x -o x"$output" = x; then + echo "SOURCES, INCLUDE, and output needs to be set" + exit 1 +fi +cache_prefix=".#$$" + +generate_var() +{ + echo $1 | sed -e 's|^.*/||' -e 's|\.|_|g' +} + +search_deps() +{ + base=`echo $1 | sed 's|/[^/]*$||'` + grep '#include "' <$1 | sed -e 's|.*"\([^"]*\)".*|\1|' | \ + while read file + do cache=${cache_prefix}_`generate_var $file` + if test -f $cache; then + : # We already ahve this cached + else + : >$cache + for path in $base `echo $INCLUDE | sed 's|-I||g'` + do dep="$path/$file" + if test -f "$dep"; then + echo " $dep \\" >>$cache + search_deps $dep >>$cache + break + fi + done + fi + cat $cache + done +} + +:>${output}.new +for src in $SOURCES +do echo "Generating dependencies for $src" + ext=`echo $src | sed 's|.*\.\(.*\)|\1|'` + obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.lo|g"` + echo "\$(objects)/$obj: $src \\" >>${output}.new + + # No search to be done with Windows resource files + if test x"$ext" != x"rc"; then + search_deps $src | sort | uniq >>${output}.new + fi + case $ext in + c) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + +__EOF__ + ;; + cc) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + +__EOF__ + ;; + m) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + +__EOF__ + ;; + asm) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --tag=CC --mode=compile \$(auxdir)/strip_fPIC.sh \$(NASM) -I\$(srcdir)/src/hermes/ $src -o \$@ + +__EOF__ + ;; + S) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + +__EOF__ + ;; + rc) cat >>${output}.new <<__EOF__ + + \$(LIBTOOL) --tag=RC --mode=compile \$(WINDRES) $src -o \$@ + +__EOF__ + ;; + *) echo "Unknown file extension: $ext";; + esac + echo "" >>${output}.new +done +mv ${output}.new ${output} +rm -f ${cache_prefix}* diff --git a/distrib/sdl-1.2.15/build-scripts/mkinstalldirs b/distrib/sdl-1.2.15/build-scripts/mkinstalldirs new file mode 100755 index 0000000..8ab885e --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/mkinstalldirs @@ -0,0 +1,99 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." + +# process command line arguments +while test $# -gt 0 ; do + case "${1}" in + -h | --help | --h* ) # -h for help + echo "${usage}" 1>&2; exit 0 ;; + -m ) # -m PERM arg + shift + test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } + dirmode="${1}" + shift ;; + -- ) shift; break ;; # stop option processing + -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option + * ) break ;; # first non-opt arg + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in +0) exit 0 ;; +esac + +case $dirmode in +'') + if mkdir -p -- . 2>/dev/null; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + fi ;; +*) + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + fi ;; +esac + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case "$pathcomp" in + -* ) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 3 +# End: +# mkinstalldirs ends here diff --git a/distrib/sdl-1.2.15/build-scripts/strip_fPIC.sh b/distrib/sdl-1.2.15/build-scripts/strip_fPIC.sh new file mode 100755 index 0000000..45d34ba --- /dev/null +++ b/distrib/sdl-1.2.15/build-scripts/strip_fPIC.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# libtool assumes that the compiler can handle the -fPIC flag +# This isn't always true (for example, nasm can't handle it) +command="" +while [ $# -gt 0 ]; do + case "$1" in + -fPIC) + # Ignore -fPIC option + ;; + -fno-common) + # Ignore -fPIC and -DPIC options + ;; + *) + command="$command $1" + ;; + esac + shift +done +echo $command +exec $command diff --git a/distrib/sdl-1.2.15/configure.in b/distrib/sdl-1.2.15/configure.in new file mode 100644 index 0000000..08c8e1e --- /dev/null +++ b/distrib/sdl-1.2.15/configure.in @@ -0,0 +1,2965 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(README) +AC_CONFIG_HEADER(include/SDL_config.h) +AC_GNU_SOURCE +AC_CONFIG_AUX_DIRS($srcdir/build-scripts) + +dnl Set various version strings - taken gratefully from the GTk sources +# +# Making releases: +# Edit include/SDL/SDL_version.h and change the version, then: +# SDL_MICRO_VERSION += 1; +# SDL_INTERFACE_AGE += 1; +# SDL_BINARY_AGE += 1; +# if any functions have been added, set SDL_INTERFACE_AGE to 0. +# if backwards compatibility has been broken, +# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0. +# +SDL_MAJOR_VERSION=1 +SDL_MINOR_VERSION=2 +SDL_MICRO_VERSION=15 +SDL_INTERFACE_AGE=4 +SDL_BINARY_AGE=15 +SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION + +AC_SUBST(SDL_MAJOR_VERSION) +AC_SUBST(SDL_MINOR_VERSION) +AC_SUBST(SDL_MICRO_VERSION) +AC_SUBST(SDL_INTERFACE_AGE) +AC_SUBST(SDL_BINARY_AGE) +AC_SUBST(SDL_VERSION) + +# libtool versioning +LT_INIT([win32-dll]) + +LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION +LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE` +LT_REVISION=$SDL_INTERFACE_AGE +LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE` +m4_pattern_allow([^LT_]) + +AC_SUBST(LT_RELEASE) +AC_SUBST(LT_CURRENT) +AC_SUBST(LT_REVISION) +AC_SUBST(LT_AGE) + +dnl Detect the canonical build and host environments +AC_CONFIG_AUX_DIR([build-scripts]) +dnl AC_CANONICAL_HOST +AC_C_BIGENDIAN +if test x$ac_cv_c_bigendian = xyes; then + AC_DEFINE(SDL_BYTEORDER, 4321) +else + AC_DEFINE(SDL_BYTEORDER, 1234) +fi + +dnl Check for tools +AC_PROG_LIBTOOL +AC_PROG_CC +AC_PROG_CXX +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_CHECK_TOOL(WINDRES, [windres], [:]) + +dnl Set up the compiler and linker flags +INCLUDE="-I$srcdir/include" +if test x$srcdir != x.; then + # Remove SDL_config.h from the source directory, since it's the + # default one, and we want to include the one that we generate. + if test -f $srcdir/include/SDL_config.h; then + rm $srcdir/include/SDL_config.h + fi + INCLUDE="-Iinclude $INCLUDE" +fi +case "$host" in + *-*-cygwin*) + # We build SDL on cygwin without the UNIX emulation layer + BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin" + BASE_LDFLAGS="-mno-cygwin" + ;; + *) + BASE_CFLAGS="-D_GNU_SOURCE=1" + BASE_LDFLAGS="" + ;; +esac +BUILD_CFLAGS="$CFLAGS $CPPFLAGS" +EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS" +BUILD_LDFLAGS="$LDFLAGS" +EXTRA_LDFLAGS="$BASE_LDFLAGS" +## These are common directories to find software packages +#for path in /usr/freeware /usr/pkg /usr/X11R6 /usr/local; do +# if test -d $path/include; then +# EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include" +# fi +# if test -d $path/lib; then +# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib" +# fi +#done +SDL_CFLAGS="$BASE_CFLAGS" +SDL_LIBS="-lSDL $BASE_LDFLAGS" +CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" +CFLAGS="$CFLAGS $EXTRA_CFLAGS" +LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" + +dnl set this to use on systems that use lib64 instead of lib +base_libdir=`echo \${libdir} | sed 's/.*\/\(.*\)/\1/; q'` + +dnl Function to find a library in the compiler search path +find_lib() +{ + gcc_bin_path=[`$CC -print-search-dirs 2>/dev/null | fgrep programs: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`] + gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`] + env_lib_path=[`echo $LIBS $LDFLAGS $* | sed 's/-L[ ]*//g'`] + if test "$cross_compiling" = yes; then + host_lib_path="" + else + host_lib_path="/usr/$base_libdir /usr/local/$base_libdir" + fi + for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do + lib=[`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`] + if test x$lib != x; then + echo $lib + return + fi + done +} + +dnl Check for compiler characteristics +AC_C_CONST +AC_C_INLINE +AC_C_VOLATILE + +dnl See whether we are allowed to use the system C library +AC_ARG_ENABLE(libc, +AC_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]), + , enable_libc=yes) +if test x$enable_libc = xyes; then + AC_DEFINE(HAVE_LIBC) + + dnl Check for C library headers + AC_HEADER_STDC + AC_CHECK_HEADERS(sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h) + + dnl Check for typedefs, structures, etc. + AC_TYPE_SIZE_T + if test x$ac_cv_header_inttypes_h = xyes -o x$ac_cv_header_stdint_h = xyes; then + AC_CHECK_TYPE(int64_t) + if test x$ac_cv_type_int64_t = xyes; then + AC_DEFINE(SDL_HAS_64BIT_TYPE) + fi + have_inttypes=yes + fi + + dnl Checks for library functions. + case "$host" in + *-*-cygwin* | *-*-mingw32*) + ;; + *) + AC_FUNC_ALLOCA + ;; + esac + + AC_FUNC_MEMCMP + if test x$ac_cv_func_memcmp_working = xyes; then + AC_DEFINE(HAVE_MEMCMP) + fi + AC_FUNC_STRTOD + if test x$ac_cv_func_strtod = xyes; then + AC_DEFINE(HAVE_STRTOD) + fi + AC_CHECK_FUNC(mprotect, + AC_TRY_COMPILE([ + #include + #include + ],[ + ],[ + AC_DEFINE(HAVE_MPROTECT) + ]), + ) + AC_CHECK_FUNCS(malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp sscanf snprintf vsnprintf iconv sigaction setjmp nanosleep) + + AC_CHECK_LIB(iconv, libiconv_open, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"]) + AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"]) + + AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE(HAVE_SA_SIGACTION)], ,[#include ]) +fi + +if test x$have_inttypes != xyes; then + AC_CHECK_SIZEOF(char, 1) + AC_CHECK_SIZEOF(short, 2) + AC_CHECK_SIZEOF(int, 4) + AC_CHECK_SIZEOF(long, 4) + AC_CHECK_SIZEOF(long long, 8) + if test x$ac_cv_sizeof_char = x1; then + AC_DEFINE(int8_t, signed char) + AC_DEFINE(uint8_t, unsigned char) + fi + if test x$ac_cv_sizeof_short = x2; then + AC_DEFINE(int16_t, signed short) + AC_DEFINE(uint16_t, unsigned short) + else + if test x$ac_cv_sizeof_int = x2; then + AC_DEFINE(int16_t, signed int) + AC_DEFINE(uint16_t, unsigned int) + fi + fi + if test x$ac_cv_sizeof_int = x4; then + AC_DEFINE(int32_t, signed int) + AC_DEFINE(uint32_t, unsigned int) + else + if test x$ac_cv_sizeof_long = x4; then + AC_DEFINE(int32_t, signed long) + AC_DEFINE(uint32_t, unsigned long) + fi + fi + if test x$ac_cv_sizeof_long = x8; then + AC_DEFINE(int64_t, signed long) + AC_DEFINE(uint64_t, unsigned long) + AC_DEFINE(SDL_HAS_64BIT_TYPE) + else + if test x$ac_cv_sizeof_long_long = x8; then + AC_DEFINE(int64_t, signed long long) + AC_DEFINE(uint64_t, unsigned long long) + AC_DEFINE(SDL_HAS_64BIT_TYPE) + fi + fi + AC_DEFINE(size_t, unsigned int) + AC_DEFINE(uintptr_t, unsigned long) +fi + +# Standard C sources +SOURCES="$SOURCES $srcdir/src/*.c" +SOURCES="$SOURCES $srcdir/src/audio/*.c" +SOURCES="$SOURCES $srcdir/src/cdrom/*.c" +SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c" +SOURCES="$SOURCES $srcdir/src/events/*.c" +SOURCES="$SOURCES $srcdir/src/file/*.c" +SOURCES="$SOURCES $srcdir/src/stdlib/*.c" +SOURCES="$SOURCES $srcdir/src/thread/*.c" +SOURCES="$SOURCES $srcdir/src/timer/*.c" +SOURCES="$SOURCES $srcdir/src/video/*.c" + +dnl Enable/disable various subsystems of the SDL library + +AC_ARG_ENABLE(audio, +AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]), + , enable_audio=yes) +if test x$enable_audio != xyes; then + AC_DEFINE(SDL_AUDIO_DISABLED) +fi +AC_ARG_ENABLE(video, +AC_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]), + , enable_video=yes) +if test x$enable_video != xyes; then + AC_DEFINE(SDL_VIDEO_DISABLED) +fi +AC_ARG_ENABLE(events, +AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]), + , enable_events=yes) +if test x$enable_events != xyes; then + AC_DEFINE(SDL_EVENTS_DISABLED) +fi +AC_ARG_ENABLE(joystick, +AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]), + , enable_joystick=yes) +if test x$enable_joystick != xyes; then + AC_DEFINE(SDL_JOYSTICK_DISABLED) +else + SOURCES="$SOURCES $srcdir/src/joystick/*.c" +fi +AC_ARG_ENABLE(cdrom, +AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]), + , enable_cdrom=yes) +if test x$enable_cdrom != xyes; then + AC_DEFINE(SDL_CDROM_DISABLED) +fi +AC_ARG_ENABLE(threads, +AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]), + , enable_threads=yes) +if test x$enable_threads != xyes; then + AC_DEFINE(SDL_THREADS_DISABLED) +fi +AC_ARG_ENABLE(timers, +AC_HELP_STRING([--enable-timers], [Enable the timer subsystem [[default=yes]]]), + , enable_timers=yes) +if test x$enable_timers != xyes; then + AC_DEFINE(SDL_TIMERS_DISABLED) +fi +AC_ARG_ENABLE(file, +AC_HELP_STRING([--enable-file], [Enable the file subsystem [[default=yes]]]), + , enable_file=yes) +if test x$enable_file != xyes; then + AC_DEFINE(SDL_FILE_DISABLED) +fi +AC_ARG_ENABLE(loadso, +AC_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [[default=yes]]]), + , enable_loadso=yes) +if test x$enable_loadso != xyes; then + AC_DEFINE(SDL_LOADSO_DISABLED) +fi +AC_ARG_ENABLE(cpuinfo, +AC_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [[default=yes]]]), + , enable_cpuinfo=yes) +if test x$enable_cpuinfo != xyes; then + AC_DEFINE(SDL_CPUINFO_DISABLED) +fi +AC_ARG_ENABLE(assembly, +AC_HELP_STRING([--enable-assembly], [Enable assembly routines [[default=yes]]]), + , enable_assembly=yes) +if test x$enable_assembly = xyes; then + AC_DEFINE(SDL_ASSEMBLY_ROUTINES) +fi + +dnl See if the OSS audio interface is supported +CheckOSS() +{ + AC_ARG_ENABLE(oss, +AC_HELP_STRING([--enable-oss], [support the OSS audio API [[default=yes]]]), + , enable_oss=yes) + if test x$enable_audio = xyes -a x$enable_oss = xyes; then + AC_MSG_CHECKING(for OSS audio support) + have_oss=no + if test x$have_oss != xyes; then + AC_TRY_COMPILE([ + #include + ],[ + int arg = SNDCTL_DSP_SETFRAGMENT; + ],[ + have_oss=yes + ]) + fi + if test x$have_oss != xyes; then + AC_TRY_COMPILE([ + #include + ],[ + int arg = SNDCTL_DSP_SETFRAGMENT; + ],[ + have_oss=yes + AC_DEFINE(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H) + ]) + fi + AC_MSG_RESULT($have_oss) + if test x$have_oss = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_OSS) + SOURCES="$SOURCES $srcdir/src/audio/dsp/*.c" + SOURCES="$SOURCES $srcdir/src/audio/dma/*.c" + have_audio=yes + + # We may need to link with ossaudio emulation library + case "$host" in + *-*-openbsd*|*-*-netbsd*) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lossaudio";; + esac + fi + fi +} + +dnl See if the ALSA audio interface is supported +CheckALSA() +{ + AC_ARG_ENABLE(alsa, +AC_HELP_STRING([--enable-alsa], [support the ALSA audio API [[default=yes]]]), + , enable_alsa=yes) + if test x$enable_audio = xyes -a x$enable_alsa = xyes; then + AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no) + # Restore all flags from before the ALSA detection runs + CFLAGS="$alsa_save_CFLAGS" + LDFLAGS="$alsa_save_LDFLAGS" + LIBS="$alsa_save_LIBS" + if test x$have_alsa = xyes; then + AC_ARG_ENABLE(alsa-shared, +AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[default=yes]]]), + , enable_alsa_shared=yes) + alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`] + + AC_DEFINE(SDL_AUDIO_DRIVER_ALSA) + SOURCES="$SOURCES $srcdir/src/audio/alsa/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $ALSA_CFLAGS" + if test x$have_loadso != xyes && \ + test x$enable_alsa_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic ALSA loading]) + fi + if test x$have_loadso = xyes && \ + test x$enable_alsa_shared = xyes && test x$alsa_lib != x; then + echo "-- dynamic libasound -> $alsa_lib" + AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ALSA_DYNAMIC, "$alsa_lib") + else + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS" + fi + have_audio=yes + fi + fi +} + +dnl Check whether we want to use IRIX 6.5+ native audio or not +CheckDMEDIA() +{ + if test x$enable_audio = xyes; then + AC_MSG_CHECKING(for dmedia audio support) + have_dmedia=no + AC_TRY_COMPILE([ + #include + ],[ + ALport audio_port; + ],[ + have_dmedia=yes + ]) + AC_MSG_RESULT($have_dmedia) + # Set up files for the audio library + if test x$have_dmedia = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_DMEDIA) + SOURCES="$SOURCES $srcdir/src/audio/dmedia/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -laudio" + have_audio=yes + fi + fi +} + +dnl Check whether we want to use Tru64 UNIX native audio or not +CheckMME() +{ + dnl Make sure we are running on an Tru64 UNIX + case $ARCH in + osf) + ;; + *) + return + ;; + esac + if test x$enable_audio = xyes; then + AC_MSG_CHECKING(for MME audio support) + MME_CFLAGS="-I/usr/include/mme" + MME_LIBS="-lmme" + have_mme=no + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $MME_CFLAGS" + AC_TRY_COMPILE([ + #include + ],[ + HWAVEOUT sound; + ],[ + have_mme=yes + ]) + CFLAGS="$save_CFLAGS" + AC_MSG_RESULT($have_mme) + # Set up files for the audio library + if test x$have_mme = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_MMEAUDIO) + SOURCES="$SOURCES $srcdir/src/audio/mme/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $MME_CFLAGS" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $MME_LIBS" + have_audio=yes + fi + fi +} + +dnl Find the ESD includes and libraries +CheckESD() +{ + AC_ARG_ENABLE(esd, +AC_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [[default=yes]]]), + , enable_esd=yes) + if test x$enable_audio = xyes -a x$enable_esd = xyes; then + AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no) + if test x$have_esd = xyes; then + AC_ARG_ENABLE(esd-shared, +AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]), + , enable_esd_shared=yes) + esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`] + + AC_DEFINE(SDL_AUDIO_DRIVER_ESD) + SOURCES="$SOURCES $srcdir/src/audio/esd/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $ESD_CFLAGS" + if test x$have_loadso != xyes && \ + test x$enable_esd_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic ESD loading]) + fi + if test x$have_loadso = xyes && \ + test x$enable_esd_shared = xyes && test x$esd_lib != x; then + echo "-- dynamic libesd -> $esd_lib" + AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ESD_DYNAMIC, "$esd_lib") + else + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS" + fi + have_audio=yes + fi + fi +} + +dnl Find PulseAudio +CheckPulseAudio() +{ + AC_ARG_ENABLE(pulseaudio, +AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]), + , enable_pulseaudio=yes) + if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then + audio_pulse=no + + PULSE_REQUIRED_VERSION=0.9 + + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + AC_MSG_CHECKING(for PulseAudio $PULSE_REQUIRED_VERSION support) + if test x$PKG_CONFIG != xno; then + if $PKG_CONFIG --atleast-pkgconfig-version 0.7 && $PKG_CONFIG --atleast-version $PULSE_REQUIRED_VERSION libpulse-simple; then + PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse-simple` + PULSE_LIBS=`$PKG_CONFIG --libs libpulse-simple` + audio_pulse=yes + fi + fi + AC_MSG_RESULT($audio_pulse) + + if test x$audio_pulse = xyes; then + AC_ARG_ENABLE(pulseaudio-shared, +AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]), + , enable_pulseaudio_shared=yes) + pulse_lib=[`find_lib "libpulse-simple.so.*" "$PULSE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`] + + AC_DEFINE(SDL_AUDIO_DRIVER_PULSE) + SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS" + if test x$have_loadso != xyes && \ + test x$enable_pulseaudio_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic PulseAudio loading]) + fi + if test x$have_loadso = xyes && \ + test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then + echo "-- dynamic libpulse-simple -> $pulse_lib" + AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSE_DYNAMIC, "$pulse_lib") + else + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS" + fi + have_audio=yes + fi + fi +} + +CheckARTSC() +{ + AC_ARG_ENABLE(arts, +AC_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [[default=yes]]]), + , enable_arts=yes) + if test x$enable_audio = xyes -a x$enable_arts = xyes; then + AC_PATH_PROG(ARTSCONFIG, artsc-config) + if test x$ARTSCONFIG = x -o x$ARTSCONFIG = x'"$ARTSCONFIG"'; then + : # arts isn't installed + else + ARTS_CFLAGS=`$ARTSCONFIG --cflags` + ARTS_LIBS=`$ARTSCONFIG --libs` + AC_MSG_CHECKING(for aRts development environment) + audio_arts=no + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $ARTS_CFLAGS" + AC_TRY_COMPILE([ + #include + ],[ + arts_stream_t stream; + ],[ + audio_arts=yes + ]) + CFLAGS="$save_CFLAGS" + AC_MSG_RESULT($audio_arts) + if test x$audio_arts = xyes; then + AC_ARG_ENABLE(arts-shared, +AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [[default=yes]]]), + , enable_arts_shared=yes) + arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`] + + AC_DEFINE(SDL_AUDIO_DRIVER_ARTS) + SOURCES="$SOURCES $srcdir/src/audio/arts/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $ARTS_CFLAGS" + if test x$have_loadso != xyes && \ + test x$enable_arts_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic ARTS loading]) + fi + if test x$have_loadso = xyes && \ + test x$enable_arts_shared = xyes && test x$arts_lib != x; then + echo "-- dynamic libartsc -> $arts_lib" + AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_ARTS_DYNAMIC, "$arts_lib") + else + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS" + fi + have_audio=yes + fi + fi + fi +} + +dnl See if the NAS audio interface is supported +CheckNAS() +{ + AC_ARG_ENABLE(nas, +AC_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]), + , enable_nas=yes) + if test x$enable_audio = xyes -a x$enable_nas = xyes; then + AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes) + AC_CHECK_LIB(audio, AuOpenServer, have_nas_lib=yes) + + AC_MSG_CHECKING(for NAS audio support) + have_nas=no + + if test x$have_nas_hdr = xyes -a x$have_nas_lib = xyes; then + have_nas=yes + NAS_LIBS="-laudio" + + elif test -r /usr/X11R6/include/audio/audiolib.h; then + have_nas=yes + NAS_CFLAGS="-I/usr/X11R6/include/" + NAS_LIBS="-L/usr/X11R6/lib -laudio -lXt" + + dnl On IRIX, the NAS includes are in a different directory, + dnl and libnas must be explicitly linked in + + elif test -r /usr/freeware/include/nas/audiolib.h; then + have_nas=yes + NAS_LIBS="-lnas -lXt" + fi + + AC_MSG_RESULT($have_nas) + + if test x$have_nas = xyes; then + AC_ARG_ENABLE(nas-shared, +AC_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[default=yes]]]), + , enable_nas_shared=yes) + nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`] + + if test x$have_loadso != xyes && \ + test x$enable_nas_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic NAS loading]) + fi + if test x$have_loadso = xyes && \ + test x$enable_nas_shared = xyes && test x$nas_lib != x; then + echo "-- dynamic libaudio -> $nas_lib" + AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_NAS_DYNAMIC, "$nas_lib") + else + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $NAS_LIBS" + fi + + AC_DEFINE(SDL_AUDIO_DRIVER_NAS) + SOURCES="$SOURCES $srcdir/src/audio/nas/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $NAS_CFLAGS" + have_audio=yes + fi + fi +} + +dnl rcg07142001 See if the user wants the disk writer audio driver... +CheckDiskAudio() +{ + AC_ARG_ENABLE(diskaudio, +AC_HELP_STRING([--enable-diskaudio], [support the disk writer audio driver [[default=yes]]]), + , enable_diskaudio=yes) + if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_DISK) + SOURCES="$SOURCES $srcdir/src/audio/disk/*.c" + fi +} + +dnl rcg03142006 See if the user wants the dummy audio driver... +CheckDummyAudio() +{ + AC_ARG_ENABLE(dummyaudio, +AC_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [[default=yes]]]), + , enable_dummyaudio=yes) + if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY) + SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c" + fi +} + +dnl Set up the Atari Audio driver +CheckAtariAudio() +{ + AC_ARG_ENABLE(mintaudio, +AC_HELP_STRING([--enable-mintaudio], [support Atari audio driver [[default=yes]]]), + , enable_mintaudio=yes) + if test x$enable_audio = xyes -a x$enable_mintaudio = xyes; then + mintaudio=no + AC_CHECK_HEADER(mint/falcon.h, have_mint_falcon_hdr=yes) + if test x$have_mint_falcon_hdr = xyes; then + mintaudio=yes + AC_DEFINE(SDL_AUDIO_DRIVER_MINT) + SOURCES="$SOURCES $srcdir/src/audio/mint/*.c" + SOURCES="$SOURCES $srcdir/src/audio/mint/*.S" + have_audio=yes + fi + fi +} + +dnl See if we can use x86 assembly blitters +# NASM is available from: http://nasm.sourceforge.net +CheckNASM() +{ + dnl Make sure we are running on an x86 platform + case $host in + i?86*) + ;; + *) + # Nope, bail early. + return + ;; + esac + + dnl Mac OS X might report itself as "i386" but generate x86_64 code. + dnl So see what size we think a pointer is, and bail if not 32-bit. + AC_CHECK_SIZEOF([void *], 4) + if test x$ac_cv_sizeof_void_p != x4; then + return + fi + + dnl Check for NASM (for assembly blit routines) + AC_ARG_ENABLE(nasm, +AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]), + , enable_nasm=yes) + if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then + CompileNASM() + { + # Usage: CompileNASM + AC_MSG_CHECKING(to see if $NASM supports $1) + if $NASM $NASMFLAGS $1 -o $1.o >&AS_MESSAGE_LOG_FD 2>&1; then + CompileNASM_ret="yes" + else + CompileNASM_ret="no" + fi + rm -f $1 $1.o + AC_MSG_RESULT($CompileNASM_ret) + test "$CompileNASM_ret" = "yes" + } + + if test x"$NASMFLAGS" = x; then + case $ARCH in + win32) + NASMFLAGS="-f win32" + ;; + macosx) + NASMFLAGS="-f macho" + ;; + *) + NASMFLAGS="-f elf32" + ;; + esac + fi + + AC_PATH_PROG(NASM, nasm) + echo "%ifidn __OUTPUT_FORMAT__,elf32" > unquoted-sections + echo "section .note.GNU-stack noalloc noexec nowrite progbits" >> unquoted-sections + echo "%endif" >> unquoted-sections + CompileNASM unquoted-sections || NASM="" + + if test "x$NASM" != x -a "x$NASM" != x'"$NASM"'; then + AC_DEFINE(SDL_HERMES_BLITTERS) + SOURCES="$SOURCES $srcdir/src/hermes/*.asm" + NASMFLAGS="$NASMFLAGS -I $srcdir/src/hermes/" + + dnl See if hidden visibility is supported + echo "GLOBAL _bar:function hidden" > symbol-visibility + echo "_bar:" >> symbol-visibility + CompileNASM symbol-visibility && NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY" + + AC_SUBST(NASM) + AC_SUBST(NASMFLAGS) + + case "$host" in + # this line is needed for QNX, because it's not defined the __ELF__ + *-*-qnx*) + EXTRA_CFLAGS="$EXTRA_CFLAGS -D__ELF__";; + *-*-solaris*) + EXTRA_CFLAGS="$EXTRA_CFLAGS -D__ELF__";; + esac + fi + fi +} + +dnl Check for altivec instruction support using gas syntax +CheckAltivec() +{ + AC_ARG_ENABLE(altivec, +AC_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [[default=yes]]]), + , enable_altivec=yes) + if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then + save_CFLAGS="$CFLAGS" + have_gcc_altivec=no + have_altivec_h_hdr=no + altivec_CFLAGS="-maltivec" + CFLAGS="$save_CFLAGS $altivec_CFLAGS" + + AC_MSG_CHECKING(for Altivec with GCC altivec.h and -maltivec option) + AC_TRY_COMPILE([ + #include + vector unsigned int vzero() { + return vec_splat_u32(0); + } + ],[ + ],[ + have_gcc_altivec=yes + have_altivec_h_hdr=yes + ]) + AC_MSG_RESULT($have_gcc_altivec) + + if test x$have_gcc_altivec = xno; then + AC_MSG_CHECKING(for Altivec with GCC -maltivec option) + AC_TRY_COMPILE([ + vector unsigned int vzero() { + return vec_splat_u32(0); + } + ],[ + ],[ + have_gcc_altivec=yes + ]) + AC_MSG_RESULT($have_gcc_altivec) + fi + + if test x$have_gcc_altivec = xno; then + AC_MSG_CHECKING(for Altivec with GCC altivec.h and -faltivec option) + altivec_CFLAGS="-faltivec" + CFLAGS="$save_CFLAGS $altivec_CFLAGS" + AC_TRY_COMPILE([ + #include + vector unsigned int vzero() { + return vec_splat_u32(0); + } + ],[ + ],[ + have_gcc_altivec=yes + have_altivec_h_hdr=yes + ]) + AC_MSG_RESULT($have_gcc_altivec) + fi + + if test x$have_gcc_altivec = xno; then + AC_MSG_CHECKING(for Altivec with GCC -faltivec option) + AC_TRY_COMPILE([ + vector unsigned int vzero() { + return vec_splat_u32(0); + } + ],[ + ],[ + have_gcc_altivec=yes + ]) + AC_MSG_RESULT($have_gcc_altivec) + fi + CFLAGS="$save_CFLAGS" + + if test x$have_gcc_altivec = xyes; then + AC_DEFINE(SDL_ALTIVEC_BLITTERS) + if test x$have_altivec_h_hdr = xyes; then + AC_DEFINE(HAVE_ALTIVEC_H) + fi + EXTRA_CFLAGS="$EXTRA_CFLAGS $altivec_CFLAGS" + fi + fi +} + +dnl See if GCC's -fvisibility=hidden is supported (gcc4 and later, usually). +dnl Details of this flag are here: http://gcc.gnu.org/wiki/Visibility +CheckVisibilityHidden() +{ + AC_MSG_CHECKING(for GCC -fvisibility=hidden option) + have_gcc_fvisibility=no + + visibility_CFLAGS="-fvisibility=hidden" + save_CFLAGS="$CFLAGS" + CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror" + AC_TRY_COMPILE([ + #if !defined(__GNUC__) || __GNUC__ < 4 + #error SDL only uses visibility attributes in GCC 4 or newer + #endif + ],[ + ],[ + have_gcc_fvisibility=yes + ]) + AC_MSG_RESULT($have_gcc_fvisibility) + CFLAGS="$save_CFLAGS" + + if test x$have_gcc_fvisibility = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS $visibility_CFLAGS" + fi +} + +dnl See if GCC's -Wall is supported. +CheckWarnAll() +{ + AC_MSG_CHECKING(for GCC -Wall option) + have_gcc_Wall=no + + save_CFLAGS="$CFLAGS" + CFLAGS="$save_CFLAGS -Wall" + AC_TRY_COMPILE([ + int x = 0; + ],[ + ],[ + have_gcc_Wall=yes + ]) + AC_MSG_RESULT($have_gcc_Wall) + CFLAGS="$save_CFLAGS" + + if test x$have_gcc_Wall = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" + + dnl Haiku headers use multicharacter constants all over the place. Ignore these warnings when using -Wall. + AC_MSG_CHECKING(for necessary GCC -Wno-multichar option) + need_gcc_Wno_multichar=no + case "$host" in + *-*-beos* | *-*-haiku*) + need_gcc_Wno_multichar=yes + ;; + esac + AC_MSG_RESULT($need_gcc_Wno_multichar) + if test x$need_gcc_Wno_multichar = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wno-multichar" + fi + fi +} + + +dnl Do the iPod thing +CheckIPod() +{ + AC_ARG_ENABLE(ipod, +AC_HELP_STRING([--enable-ipod], [configure SDL to work with iPodLinux [[default=no]]]), + , enable_ipod=no) + + if test x$enable_ipod = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DIPOD" + AC_DEFINE(SDL_VIDEO_DRIVER_IPOD) + SOURCES="$SOURCES $srcdir/src/video/ipod/*.c" + fi +} + +dnl Find the nanox include and library directories +CheckNANOX() +{ + AC_ARG_ENABLE(video-nanox, + AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]), + , enable_video_nanox=no) + + if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then + AC_ARG_ENABLE(nanox-debug, + AC_HELP_STRING([--enable-nanox-debug], [print debug messages [[default=no]]]), + , enable_nanox_debug=no) + if test x$enable_nanox_debug = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DEBUG" + fi + + AC_ARG_ENABLE(nanox-share-memory, + AC_HELP_STRING([--enable-nanox-share-memory], [use share memory [[default=no]]]), + , enable_nanox_share_memory=no) + if test x$enable_nanox_share_memory = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DNANOX_SHARE_MEMORY" + fi + + AC_ARG_ENABLE(nanox_direct_fb, + AC_HELP_STRING([--enable-nanox-direct-fb], [use direct framebuffer access [[default=no]]]), + , enable_nanox_direct_fb=no) + if test x$enable_nanox_direct_fb = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DIRECT_FB" + fi + + AC_DEFINE(SDL_VIDEO_DRIVER_NANOX) + SOURCES="$SOURCES $srcdir/src/video/nanox/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lnano-X" + have_video=yes + fi +} + +dnl Find the X11 include and library directories +CheckX11() +{ + AC_ARG_ENABLE(video-x11, +AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]), + , enable_video_x11=yes) + if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then + case "$host" in + *-*-darwin*) + # This isn't necessary for X11, but fixes GLX detection + if test "x$x_includes" = xNONE && test "x$x_libraries" = xNONE; then + x_includes="/usr/X11R6/include" + x_libraries="/usr/X11R6/lib" + fi + ;; + esac + AC_PATH_X + AC_PATH_XTRA + if test x$have_x = xyes; then + # Only allow dynamically loaded X11 if the X11 function pointers + # will not end up in the global namespace, which causes problems + # with other libraries calling X11 functions. + x11_symbols_private=$have_gcc_fvisibility + + AC_ARG_ENABLE(x11-shared, +AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=maybe]]]), + , enable_x11_shared=maybe) + + case "$host" in + *-*-darwin*) # Latest Mac OS X actually ships with Xrandr/Xrender libs... + x11_symbols_private=yes + x11_lib='/usr/X11R6/lib/libX11.6.dylib' + x11ext_lib='/usr/X11R6/lib/libXext.6.dylib' + xrender_lib='/usr/X11R6/lib/libXrender.1.dylib' + xrandr_lib='/usr/X11R6/lib/libXrandr.2.dylib' + ;; + *-*-osf*) + x11_lib='libX11.so' + x11ext_lib='libXext.so' + ;; + *-*-irix*) # IRIX 6.5 requires that we use /usr/lib32 + x11_lib='libX11.so' + x11ext_lib='libXext.so' + ;; + *) + x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`] + x11ext_lib=[`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`] + xrender_lib=[`find_lib "libXrender.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`] + xrandr_lib=[`find_lib "libXrandr.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`] + ;; + esac + + X_CFLAGS="$X_CFLAGS -DXTHREADS" + if test x$ac_cv_func_shmat != xyes; then + X_CFLAGS="$X_CFLAGS -DNO_SHARED_MEMORY" + fi + CFLAGS="$CFLAGS $X_CFLAGS" + LDFLAGS="$LDFLAGS $X_LIBS" + + AC_DEFINE(SDL_VIDEO_DRIVER_X11) + SOURCES="$SOURCES $srcdir/src/video/x11/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $X_CFLAGS" + + if test x$enable_x11_shared = xmaybe; then + enable_x11_shared=$x11_symbols_private + fi + if test x$have_loadso != xyes && \ + test x$enable_x11_shared = xyes; then + AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic X11 loading]) + enable_x11_shared=no + fi + if test x$x11_symbols_private != xyes && \ + test x$enable_x11_shared = xyes; then + AC_MSG_WARN([You must have gcc4 (-fvisibility=hidden) for dynamic X11 loading]) + enable_x11_shared=no + fi + + if test x$have_loadso = xyes && \ + test x$enable_x11_shared = xyes && test x$x11_lib != x && test x$x11ext_lib != x; then + echo "-- dynamic libX11 -> $x11_lib" + echo "-- dynamic libX11ext -> $x11ext_lib" + AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC, "$x11_lib") + AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT, "$x11ext_lib") + else + enable_x11_shared=no + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $X_LIBS -lX11 -lXext" + fi + have_video=yes + + AC_ARG_ENABLE(dga, +AC_HELP_STRING([--enable-dga], [allow use of X11 DGA code [[default=yes]]]), + , enable_dga=yes) + if test x$enable_dga = xyes; then + SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86dga/*.c" + fi + AC_ARG_ENABLE(video-dga, +AC_HELP_STRING([--enable-video-dga], [use DGA 2.0 video driver [[default=yes]]]), + , enable_video_dga=yes) + if test x$enable_dga = xyes -a x$enable_video_dga = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_DGA) + SOURCES="$SOURCES $srcdir/src/video/dga/*.c" + fi + AC_ARG_ENABLE(video-x11-dgamouse, +AC_HELP_STRING([--enable-video-x11-dgamouse], [use X11 DGA for mouse events [[default=yes]]]), + , enable_video_x11_dgamouse=yes) + if test x$enable_dga = xyes -a x$enable_video_x11_dgamouse = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_DGAMOUSE) + fi + AC_ARG_ENABLE(video-x11-vm, +AC_HELP_STRING([--enable-video-x11-vm], [use X11 VM extension for fullscreen [[default=yes]]]), + , enable_video_x11_vm=yes) + if test x$enable_video_x11_vm = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_VIDMODE) + SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86vm/*.c" + fi + AC_ARG_ENABLE(video-x11-xv, +AC_HELP_STRING([--enable-video-x11-xv], [use X11 XvImage extension for video [[default=yes]]]), + , enable_video_x11_xv=yes) + if test x$enable_video_x11_xv = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_XV) + SOURCES="$SOURCES $srcdir/src/video/Xext/Xv/*.c" + fi + AC_ARG_ENABLE(video-x11-xinerama, +AC_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [[default=yes]]]), + , enable_video_x11_xinerama=yes) + if test x$enable_video_x11_xinerama = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA) + SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c" + fi + AC_ARG_ENABLE(video-x11-xme, +AC_HELP_STRING([--enable-video-x11-xme], [enable Xi Graphics XME for fullscreen [[default=yes]]]), + , enable_video_x11_xme=yes) + if test x$enable_video_x11_xme = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_XME) + SOURCES="$SOURCES $srcdir/src/video/Xext/XME/*.c" + fi + AC_ARG_ENABLE(video-x11-xrandr, +AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]), + , enable_video_x11_xrandr=yes) + if test x$enable_video_x11_xrandr = xyes; then + definitely_enable_video_x11_xrandr=no + AC_CHECK_HEADER(X11/extensions/Xrandr.h, + have_xrandr_h_hdr=yes, + have_xrandr_h_hdr=no, + [#include + ]) + if test x$have_xrandr_h_hdr = xyes; then + if test x$enable_x11_shared = xyes && test x$xrandr_lib != x ; then + echo "-- dynamic libXrender -> $xrender_lib" + echo "-- dynamic libXrandr -> $xrandr_lib" + AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER, "$xrender_lib") + AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR, "$xrandr_lib") + definitely_enable_video_x11_xrandr=yes + else + AC_CHECK_LIB(Xrender, XRenderQueryExtension, have_xrender_lib=yes) + AC_CHECK_LIB(Xrandr, XRRQueryExtension, have_xrandr_lib=yes) + if test x$have_xrender_lib = xyes && test x$have_xrandr_lib = xyes ; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lXrandr -lXrender" + definitely_enable_video_x11_xrandr=yes + fi + fi + fi + fi + if test x$definitely_enable_video_x11_xrandr = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR) + fi + fi + fi +} + +dnl Check for QNX photon video driver +CheckPHOTON() +{ + AC_ARG_ENABLE(video-photon, +AC_HELP_STRING([--enable-video-photon], [use QNX Photon video driver [[default=yes]]]), + , enable_video_photon=yes) + if test x$enable_video = xyes -a x$enable_video_photon = xyes; then + AC_MSG_CHECKING(for QNX Photon support) + video_photon=no + AC_TRY_COMPILE([ + #include + #include + #include + #include + ],[ + PgDisplaySettings_t *visual; + ],[ + video_photon=yes + ]) + AC_MSG_RESULT($video_photon) + if test x$video_photon = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_PHOTON) + SOURCES="$SOURCES $srcdir/src/video/photon/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lph" + have_video=yes + + CheckOpenGLQNX + fi + fi +} + +dnl Set up the BWindow video driver if enabled +CheckBWINDOW() +{ + if test x$enable_video = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_BWINDOW) + SOURCES="$SOURCES $srcdir/src/video/bwindow/*.cc" + have_video=yes + fi +} + +dnl Set up the Carbon/QuickDraw video driver for Mac OS X (but not Darwin) +CheckCARBON() +{ + AC_ARG_ENABLE(video-carbon, +AC_HELP_STRING([--enable-video-carbon], [use Carbon/QuickDraw video driver [[default=no]]]), + , enable_video_carbon=no) + if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then + AC_MSG_CHECKING(for Carbon framework) + have_carbon=no + AC_TRY_COMPILE([ + #include + ],[ + ],[ + have_carbon=yes + ]) + AC_MSG_RESULT($have_carbon) + if test x$have_carbon = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_TOOLBOX) + SOURCES="$SOURCES $srcdir/src/video/maccommon/*.c" + SOURCES="$SOURCES $srcdir/src/video/macrom/*.c" + have_video=yes + fi + fi +} + +dnl Set up the Cocoa/Quartz video driver for Mac OS X (but not Darwin) +CheckCOCOA() +{ + AC_ARG_ENABLE(video-cocoa, +AC_HELP_STRING([--enable-video-cocoa], [use Cocoa/Quartz video driver [[default=yes]]]), + , enable_video_cocoa=yes) + if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then + save_CFLAGS="$CFLAGS" + dnl work around that we don't have Objective-C support in autoconf + CFLAGS="$CFLAGS -x objective-c" + AC_MSG_CHECKING(for Cocoa framework) + have_cocoa=no + AC_TRY_COMPILE([ + #import + ],[ + ],[ + have_cocoa=yes + ]) + AC_MSG_RESULT($have_cocoa) + CFLAGS="$save_CFLAGS" + if test x$have_cocoa = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_QUARTZ) + SOURCES="$SOURCES $srcdir/src/video/quartz/*.m" + have_video=yes + fi + fi +} + +dnl Find the framebuffer console includes +CheckFBCON() +{ + AC_ARG_ENABLE(video-fbcon, +AC_HELP_STRING([--enable-video-fbcon], [use framebuffer console video driver [[default=yes]]]), + , enable_video_fbcon=yes) + if test x$enable_video = xyes -a x$enable_video_fbcon = xyes; then + AC_MSG_CHECKING(for framebuffer console support) + video_fbcon=no + AC_TRY_COMPILE([ + #include + #include + #include + ],[ + ],[ + video_fbcon=yes + ]) + AC_MSG_RESULT($video_fbcon) + if test x$video_fbcon = xyes; then + AC_CHECK_FUNCS(getpagesize) + AC_DEFINE(SDL_VIDEO_DRIVER_FBCON) + SOURCES="$SOURCES $srcdir/src/video/fbcon/*.c" + have_video=yes + fi + fi +} + +dnl Find DirectFB +CheckDirectFB() +{ + AC_ARG_ENABLE(video-directfb, +AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=yes]]]), + , enable_video_directfb=yes) + if test x$enable_video = xyes -a x$enable_video_directfb = xyes; then + video_directfb=no + + DIRECTFB_REQUIRED_VERSION=0.9.15 + + AC_PATH_PROG(DIRECTFBCONFIG, directfb-config, no) + if test x$DIRECTFBCONFIG = xno; then + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + if test x$PKG_CONFIG != xno; then + if $PKG_CONFIG --atleast-pkgconfig-version 0.7 && $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb; then + DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags directfb` + DIRECTFB_LIBS=`$PKG_CONFIG --libs directfb` + video_directfb=yes + fi + fi + else + set -- `echo $DIRECTFB_REQUIRED_VERSION | sed 's/\./ /g'` + NEED_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3` + set -- `directfb-config --version | sed 's/\./ /g'` + HAVE_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3` + if test $HAVE_VERSION -ge $NEED_VERSION; then + DIRECTFB_CFLAGS=`$DIRECTFBCONFIG --cflags` + DIRECTFB_LIBS=`$DIRECTFBCONFIG --libs` + video_directfb=yes + fi + fi + if test x$video_directfb = xyes; then + # SuSE 11.1 installs directfb-config without directfb-devel + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $DIRECTFB_CFLAGS" + AC_CHECK_HEADER(directfb.h, have_directfb_hdr=yes, have_directfb_hdr=no) + CFLAGS="$save_CFLAGS" + video_directfb=$have_directfb_hdr + fi + AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support) + AC_MSG_RESULT($video_directfb) + + if test x$video_directfb = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB) + SOURCES="$SOURCES $srcdir/src/video/directfb/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $DIRECTFB_LIBS" + have_video=yes + fi + fi +} + +dnl See if we're running on PlayStation 2 hardware +CheckPS2GS() +{ + AC_ARG_ENABLE(video-ps2gs, +AC_HELP_STRING([--enable-video-ps2gs], [use PlayStation 2 GS video driver [[default=yes]]]), + , enable_video_ps2gs=yes) + if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then + AC_MSG_CHECKING(for PlayStation 2 GS support) + video_ps2gs=no + AC_TRY_COMPILE([ + #include + #include + ],[ + ],[ + video_ps2gs=yes + ]) + AC_MSG_RESULT($video_ps2gs) + if test x$video_ps2gs = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_PS2GS) + SOURCES="$SOURCES $srcdir/src/video/ps2gs/*.c" + have_video=yes + fi + fi +} + +dnl See if we're running on PlayStation 3 Cell hardware +CheckPS3() +{ + AC_ARG_ENABLE(video-ps3, + AC_HELP_STRING([--enable-video-ps3], [use PlayStation 3 Cell driver [[default=yes]]]), + , enable_video_ps3=yes) + if test x$enable_video = xyes -a x$enable_video_ps3 = xyes; then + AC_MSG_CHECKING(for PlayStation 3 Cell support) + video_ps3=no + AC_TRY_COMPILE([ + #include + #include + #include + ],[ + ],[ + video_ps3=yes + ]) + AC_MSG_RESULT($video_ps3) + if test x$video_ps3 = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_PS3) + SOURCES="$SOURCES $srcdir/src/video/ps3/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS -I/opt/cell/sdk/usr/include" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lbilin_scaler_spu -lfb_writer_spu -lyuv2rgb_spu -L/opt/cell/sdk/usr/lib -lspe2" + have_video=yes + fi + fi +} + +dnl Find the GGI includes +CheckGGI() +{ + AC_ARG_ENABLE(video-ggi, +AC_HELP_STRING([--enable-video-ggi], [use GGI video driver [[default=no]]]), + , enable_video_ggi=no) + if test x$enable_video = xyes -a x$enable_video_ggi = xyes; then + AC_MSG_CHECKING(for GGI support) + video_ggi=no + AC_TRY_COMPILE([ + #include + #include + ],[ + ],[ + video_ggi=yes + ]) + AC_MSG_RESULT($video_ggi) + if test x$video_ggi = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_GGI) + SOURCES="$SOURCES $srcdir/src/video/ggi/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lggi -lgii -lgg" + have_video=yes + fi + fi +} + +dnl Find the SVGAlib includes and libraries +CheckSVGA() +{ + AC_ARG_ENABLE(video-svga, +AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=yes]]]), + , enable_video_svga=yes) + if test x$enable_video = xyes -a x$enable_video_svga = xyes; then + AC_MSG_CHECKING(for SVGAlib (1.4.0+) support) + video_svga=no + AC_TRY_COMPILE([ + #include + #include + #include + ],[ + if ( SCANCODE_RIGHTWIN && SCANCODE_LEFTWIN ) { + exit(0); + } + ],[ + video_svga=yes + ]) + AC_MSG_RESULT($video_svga) + if test x$video_svga = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_SVGALIB) + SOURCES="$SOURCES $srcdir/src/video/svga/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvga" + have_video=yes + fi + fi +} + +dnl Find the VGL includes and libraries +CheckVGL() +{ + AC_ARG_ENABLE(video-vgl, +AC_HELP_STRING([--enable-video-vgl], [use VGL video driver [[default=yes]]]), + , enable_video_vgl=yes) + if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then + AC_MSG_CHECKING(for libVGL support) + video_vgl=no + AC_TRY_COMPILE([ + #include + #include + #include + #include + ],[ + VGLBitmap bitmap; + bitmap.Type = VIDBUF32; + bitmap.PixelBytes = 4; + exit(bitmap.Bitmap); + ],[ + video_vgl=yes + ]) + AC_MSG_RESULT($video_vgl) + if test x$video_vgl = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_VGL) + SOURCES="$SOURCES $srcdir/src/video/vgl/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvgl" + have_video=yes + fi + fi +} + +dnl Set up the wscons video driver if enabled +CheckWscons() +{ + AC_ARG_ENABLE(video-wscons, +AC_HELP_STRING([--enable-video-wscons], [use wscons video driver [[default=yes]]]), + , enable_video_wscons=yes) + if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then + AC_MSG_CHECKING(for wscons support) + video_wscons=no + AC_TRY_COMPILE([ + #include + #include + #include + ],[ + int wsmode = WSDISPLAYIO_MODE_DUMBFB; + ],[ + video_wscons=yes + ]) + AC_MSG_RESULT($video_wscons) + if test x$video_wscons = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_WSCONS) + SOURCES="$SOURCES $srcdir/src/video/wscons/*.c" + have_video=yes + fi + fi +} + + +dnl Find the AAlib includes +CheckAAlib() +{ + AC_ARG_ENABLE(video-aalib, +AC_HELP_STRING([--enable-video-aalib], [use AAlib video driver [[default=no]]]), + , enable_video_aalib=no) + if test x$enable_video = xyes -a x$enable_video_aalib = xyes; then + AC_MSG_CHECKING(for AAlib support) + video_aalib=no + AC_TRY_COMPILE([ + #include + ],[ + ],[ + video_aalib=yes + ]) + AC_MSG_RESULT($video_aalib) + if test x$video_aalib = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_AALIB) + SOURCES="$SOURCES $srcdir/src/video/aalib/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -laa" + have_video=yes + fi + fi +} + +dnl Find the libcaca includes +CheckCaca() +{ + AC_ARG_ENABLE(video-caca, +AC_HELP_STRING([--enable-video-caca], [use libcaca video driver [[default=no]]]), + , enable_video_caca=no) + if test x$enable_video = xyes -a x$enable_video_caca = xyes; then + video_caca=no + AC_PATH_PROG(CACACONFIG, caca-config, no) + if test x$CACACONFIG != xno; then + AC_MSG_CHECKING(for libcaca support) + CACA_CFLAGS=`$CACACONFIG --cflags` + CACA_LDFLAGS=`$CACACONFIG --libs` + save_CFLAGS="$CFLAGS" + AC_TRY_COMPILE([ + #include + ],[ + ],[ + video_caca=yes + ]) + CFLAGS="$save_CFLAGS" + AC_MSG_RESULT($video_caca) + if test x$video_caca = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_CACA) + EXTRA_CFLAGS="$EXTRA_CFLAGS $CACA_CFLAGS" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $CACA_LDFLAGS" + SOURCES="$SOURCES $srcdir/src/video/caca/*.c" + fi + fi + fi +} + +dnl Set up the QTopia video driver if enabled +CheckQtopia() +{ + AC_ARG_ENABLE(video-qtopia, +AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [[default=no]]]), + , enable_video_qtopia=no) + if test x$enable_video = xyes -a x$enable_video_qtopia = xyes; then + AC_MSG_CHECKING(for Qtopia support) + video_qtopia=no + QTOPIA_FLAGS="-DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -I${QPEDIR}/include -I${QTDIR}/include/ -DNO_DEBUG -fno-rtti -fno-exceptions" + AC_LANG_CPLUSPLUS + OLD_CXX="$CXXFLAGS" + CXXFLAGS="$QTOPIA_FLAGS" + AC_TRY_COMPILE([ + #include + ],[ + ],[ + video_qtopia=yes + ]) + CXXFLAGS="$OLD_CXX" + AC_MSG_RESULT($video_qtopia) + if test x$video_qtopia = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_QTOPIA) + SOURCES="$SOURCES $srcdir/src/video/qtopia/*.cc" + SDLMAIN_SOURCES="$srcdir/src/main/qtopia/*.cc" + SDLMAIN_LDFLAGS="-static" + EXTRA_CFLAGS="$EXTRA_CFLAGS $QTOPIA_FLAGS" + SDL_CFLAGS="$SDL_CFLAGS -DQWS -Dmain=SDL_main" + SDL_LIBS="-lSDLmain $SDL_LIBS -L${QPEDIR}/lib -L${QTDIR}/lib/ -lqpe -lqte" + have_video=yes + fi + AC_LANG_C + fi +} + +dnl Set up the PicoGUI video driver if enabled +CheckPicoGUI() +{ + AC_ARG_ENABLE(video-picogui, +AC_HELP_STRING([--enable-video-picogui], [use PicoGUI video driver [[default=no]]]), + , enable_video_picogui=no) + if test x$enable_video = xyes -a x$enable_video_picogui = xyes; then + AC_MSG_CHECKING(for PicoGUI support) + video_picogui=no + AC_TRY_COMPILE([ + #include + ],[ + ],[ + video_picogui=yes + ]) + AC_MSG_RESULT($video_picogui) + if test x$video_picogui = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_PICOGUI) + SOURCES="$SOURCES $srcdir/src/video/picogui/*.c" + SDL_LIBS="$SDL_LIBS -lpgui" + have_video=yes + fi + fi +} + +dnl Set up the Atari Bios keyboard driver +CheckAtariBiosEvent() +{ + SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.c" + SOURCES="$SOURCES $srcdir/src/video/ataricommon/*.S" +} + +dnl Set up the Atari Xbios driver +CheckAtariXbiosVideo() +{ + AC_ARG_ENABLE(xbios, +AC_HELP_STRING([--enable-video-xbios], [use Atari Xbios video driver [[default=yes]]]), + , enable_video_xbios=yes) + video_xbios=no + if test x$enable_video = xyes -a x$enable_video_xbios = xyes; then + video_xbios=yes + AC_DEFINE(SDL_VIDEO_DRIVER_XBIOS) + SOURCES="$SOURCES $srcdir/src/video/xbios/*.c" + have_video=yes + fi +} + +dnl Set up the Atari Gem driver +CheckAtariGemVideo() +{ + AC_ARG_ENABLE(gem, +AC_HELP_STRING([--enable-video-gem], [use Atari Gem video driver [[default=yes]]]), + , enable_video_gem=yes) + if test x$enable_video = xyes -a x$enable_video_gem = xyes; then + video_gem=no + AC_CHECK_HEADER(gem.h, have_gem_hdr=yes) + AC_CHECK_LIB(gem, appl_init, have_gem_lib=yes) + if test x$have_gem_hdr = xyes -a x$have_gem_lib = xyes; then + video_gem=yes + AC_DEFINE(SDL_VIDEO_DRIVER_GEM) + SOURCES="$SOURCES $srcdir/src/video/gem/*.c" + SDL_LIBS="$SDL_LIBS -lgem" + have_video=yes + fi + fi +} + +dnl rcg04172001 Set up the Null video driver. +CheckDummyVideo() +{ + AC_ARG_ENABLE(video-dummy, +AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [[default=yes]]]), + , enable_video_dummy=yes) + if test x$enable_video_dummy = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY) + SOURCES="$SOURCES $srcdir/src/video/dummy/*.c" + have_video=yes + fi +} + +dnl Check to see if OpenGL support is desired +AC_ARG_ENABLE(video-opengl, +AC_HELP_STRING([--enable-video-opengl], [include OpenGL context creation [[default=yes]]]), + , enable_video_opengl=yes) + +dnl Find OpenGL +CheckOpenGLX11() +{ + if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then + AC_MSG_CHECKING(for OpenGL (GLX) support) + video_opengl=no + AC_TRY_COMPILE([ + #include + #include + #include + ],[ + ],[ + video_opengl=yes + ]) + AC_MSG_RESULT($video_opengl) + if test x$video_opengl = xyes; then + AC_DEFINE(SDL_VIDEO_OPENGL) + AC_DEFINE(SDL_VIDEO_OPENGL_GLX) + fi + fi +} + +dnl Find QNX RtP OpenGL +CheckOpenGLQNX() +{ + if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then + AC_MSG_CHECKING(for OpenGL (Photon) support) + video_opengl=no + AC_TRY_COMPILE([ + #include + ],[ + ],[ + video_opengl=yes + ]) + AC_MSG_RESULT($video_opengl) + if test x$video_opengl = xyes; then + AC_DEFINE(SDL_VIDEO_OPENGL) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL" + fi + fi +} + +dnl Check for Win32 OpenGL +CheckWIN32GL() +{ + if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then + AC_DEFINE(SDL_VIDEO_OPENGL) + AC_DEFINE(SDL_VIDEO_OPENGL_WGL) + fi +} + +dnl Check for BeOS OpenGL +CheckBeGL() +{ + if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then + AC_DEFINE(SDL_VIDEO_OPENGL) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL" + fi +} + +dnl Check for MacOS OpenGL +CheckMacGL() +{ + if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then + AC_DEFINE(SDL_VIDEO_OPENGL) + case "$host" in + *-*-darwin*) + if test x$enable_video_cocoa = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL" + fi + if test x$enable_video_carbon = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AGL" + fi + esac + fi +} + +dnl Check for Mesa offscreen rendering +CheckAtariOSMesa() +{ + if test "x$enable_video" = "xyes" -a "x$enable_video_opengl" = "xyes"; then + AC_CHECK_HEADER(GL/osmesa.h, have_osmesa_hdr=yes) + AC_CHECK_LIB(OSMesa, OSMesaCreateContext, have_osmesa_lib=yes, have_osmesa_lib=no, -lm) + + # Static linking to -lOSMesa + AC_PATH_PROG(OSMESA_CONFIG, osmesa-config, no) + if test "x$OSMESA_CONFIG" = "xno" -o "x$enable_atari_ldg" = "xno"; then + # -lOSMesa is really the static library + if test "x$have_osmesa_hdr" = "xyes" -a "x$have_osmesa_lib" = "xyes"; then + OSMESA_LIBS="-lOSMesa" + fi + else + # -lOSMesa is a loader for OSMesa.ldg + OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags` + OSMESA_LIBS=`$OSMESA_CONFIG --libs` + fi + AC_DEFINE(SDL_VIDEO_OPENGL) + AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA) + SDL_CFLAGS="$SDL_CFLAGS $OSMESA_CFLAGS" + SDL_LIBS="$SDL_LIBS $OSMESA_LIBS" + + AC_ARG_ENABLE(osmesa-shared, +AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [[default=yes]]]), + , enable_osmesa_shared=yes) + if test "x$enable_osmesa_shared" = "xyes" -a "x$enable_atari_ldg" = "xyes"; then + # Dynamic linking + if test "x$have_osmesa_hdr" = "xyes"; then + AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA_DYNAMIC) + fi + fi + fi +} + +AC_ARG_ENABLE(screensaver, +AC_HELP_STRING([--enable-screensaver], [enable screensaver by default while any SDL application is running [[default=no]]]), + , enable_screensaver=no) +if test x$enable_screensaver = xno; then + AC_DEFINE(SDL_VIDEO_DISABLE_SCREENSAVER) +fi + +dnl See if we can use the new unified event interface in Linux 2.4 +CheckInputEvents() +{ + dnl Check for Linux 2.4 unified input event interface support + AC_ARG_ENABLE(input-events, +AC_HELP_STRING([--enable-input-events], [use Linux 2.4 unified input interface [[default=yes]]]), + , enable_input_events=yes) + if test x$enable_input_events = xyes; then + AC_MSG_CHECKING(for Linux 2.4 unified input interface) + use_input_events=no + AC_TRY_COMPILE([ + #include + ],[ + #ifndef EVIOCGNAME + #error EVIOCGNAME() ioctl not available + #endif + ],[ + use_input_events=yes + ]) + AC_MSG_RESULT($use_input_events) + if test x$use_input_events = xyes; then + AC_DEFINE(SDL_INPUT_LINUXEV) + fi + fi +} + +dnl See if we can use the Touchscreen input library +CheckTslib() +{ + AC_ARG_ENABLE(input-tslib, +AC_HELP_STRING([--enable-input-tslib], [use the Touchscreen library for input [[default=yes]]]), + , enable_input_tslib=yes) + if test x$enable_input_tslib = xyes; then + AC_MSG_CHECKING(for Touchscreen library support) + enable_input_tslib=no + AC_TRY_COMPILE([ + #include "tslib.h" + ],[ + ],[ + enable_input_tslib=yes + ]) + AC_MSG_RESULT($enable_input_tslib) + if test x$enable_input_tslib = xyes; then + AC_DEFINE(SDL_INPUT_TSLIB) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lts" + fi + fi +} + +dnl See if we can use GNU pth library for threads +CheckPTH() +{ + dnl Check for pth support + AC_ARG_ENABLE(pth, +AC_HELP_STRING([--enable-pth], [use GNU pth library for multi-threading [[default=yes]]]), + , enable_pth=yes) + if test x$enable_threads = xyes -a x$enable_pth = xyes; then + AC_PATH_PROG(PTH_CONFIG, pth-config, no) + if test "$PTH_CONFIG" = "no"; then + use_pth=no + else + use_pth=yes + fi + AC_MSG_CHECKING(pth) + AC_MSG_RESULT($use_pth) + if test "x$use_pth" = xyes; then + AC_DEFINE(SDL_THREAD_PTH) + SOURCES="$SOURCES $srcdir/src/thread/pth/*.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syssem.c" + SDL_CFLAGS="$SDL_CFLAGS `$PTH_CONFIG --cflags`" + SDL_LIBS="$SDL_LIBS `$PTH_CONFIG --libs --all`" + have_threads=yes + fi + fi +} + +dnl See what type of thread model to use on Linux and Solaris +CheckPTHREAD() +{ + dnl Check for pthread support + AC_ARG_ENABLE(pthreads, +AC_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [[default=yes]]]), + , enable_pthreads=yes) + dnl This is used on Linux for glibc binary compatibility (Doh!) + AC_ARG_ENABLE(pthread-sem, +AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]), + , enable_pthread_sem=yes) + case "$host" in + *-*-linux*|*-*-uclinux*) + pthread_cflags="-D_REENTRANT" + pthread_lib="-lpthread" + ;; + *-*-bsdi*) + pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + pthread_lib="" + ;; + *-*-darwin*) + pthread_cflags="-D_THREAD_SAFE" +# causes Carbon.p complaints? +# pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + ;; + *-*-freebsd*|*-*-dragonfly*) + pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + pthread_lib="-pthread" + ;; + *-*-netbsd*) + pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + pthread_lib="-lpthread" + ;; + *-*-openbsd*) + pthread_cflags="-D_REENTRANT" + pthread_lib="-pthread" + ;; + *-*-solaris*) + pthread_cflags="-D_REENTRANT" + pthread_lib="-lpthread -lposix4" + ;; + *-*-sysv5*) + pthread_cflags="-D_REENTRANT -Kthread" + pthread_lib="" + ;; + *-*-irix*) + pthread_cflags="-D_SGI_MP_SOURCE" + pthread_lib="-lpthread" + ;; + *-*-aix*) + pthread_cflags="-D_REENTRANT -mthreads" + pthread_lib="-lpthread" + ;; + *-*-hpux11*) + pthread_cflags="-D_REENTRANT" + pthread_lib="-L/usr/lib -lpthread" + ;; + *-*-qnx*) + pthread_cflags="" + pthread_lib="" + ;; + *-*-osf*) + pthread_cflags="-D_REENTRANT" + if test x$ac_cv_prog_gcc = xyes; then + pthread_lib="-lpthread -lrt" + else + pthread_lib="-lpthread -lexc -lrt" + fi + ;; + *) + pthread_cflags="-D_REENTRANT" + pthread_lib="-lpthread" + ;; + esac + if test x$enable_threads = xyes -a x$enable_pthreads = xyes -a x$enable_ipod != xyes; then + # Save the original compiler flags and libraries + ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS" + # Add the pthread compiler flags and libraries + CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib" + # Check to see if we have pthread support on this system + AC_MSG_CHECKING(for pthreads) + use_pthreads=no + AC_TRY_LINK([ + #include + ],[ + pthread_attr_t type; + pthread_attr_init(&type); + ],[ + use_pthreads=yes + ]) + AC_MSG_RESULT($use_pthreads) + # Restore the compiler flags and libraries + CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs" + + # Do futher testing if we have pthread support... + if test x$use_pthreads = xyes; then + AC_DEFINE(SDL_THREAD_PTHREAD) + EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib" + SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags" + SDL_LIBS="$SDL_LIBS $pthread_lib" + + # Save the original compiler flags and libraries + ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS" + # Add the pthread compiler flags and libraries + CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib" + + # Check to see if recursive mutexes are available + AC_MSG_CHECKING(for recursive mutexes) + has_recursive_mutexes=no + if test x$has_recursive_mutexes = xno; then + AC_TRY_COMPILE([ + #include + ],[ + pthread_mutexattr_t attr; + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); + ],[ + has_recursive_mutexes=yes + AC_DEFINE(SDL_THREAD_PTHREAD_RECURSIVE_MUTEX) + ]) + fi + if test x$has_recursive_mutexes = xno; then + AC_TRY_COMPILE([ + #include + ],[ + pthread_mutexattr_t attr; + pthread_mutexattr_setkind_np(&attr, PTHREAD_MUTEX_RECURSIVE_NP); + ],[ + has_recursive_mutexes=yes + AC_DEFINE(SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP) + ]) + fi + AC_MSG_RESULT($has_recursive_mutexes) + + # Check to see if pthread semaphore support is missing + if test x$enable_pthread_sem = xyes; then + AC_MSG_CHECKING(for pthread semaphores) + have_pthread_sem=no + AC_TRY_COMPILE([ + #include + #include + ],[ + ],[ + have_pthread_sem=yes + ]) + AC_MSG_RESULT($have_pthread_sem) + fi + if test x$have_pthread_sem = xyes; then + AC_MSG_CHECKING(for sem_timedwait) + have_sem_timedwait=no + AC_TRY_LINK([ + #include + #include + ],[ + sem_timedwait(NULL, NULL); + ],[ + have_sem_timedwait=yes + AC_DEFINE(HAVE_SEM_TIMEDWAIT) + ]) + AC_MSG_RESULT($have_sem_timedwait) + fi + + # Restore the compiler flags and libraries + CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs" + + # Basic thread creation functions + SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_systhread.c" + + # Semaphores + # We can fake these with mutexes and condition variables if necessary + if test x$have_pthread_sem = xyes; then + SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syssem.c" + else + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syssem.c" + fi + + # Mutexes + # We can fake these with semaphores if necessary + SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_sysmutex.c" + + # Condition variables + # We can fake these with semaphores and mutexes if necessary + SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syscond.c" + + have_threads=yes + else + CheckPTH + fi + fi +} + +dnl Determine whether the compiler can produce Win32 executables +CheckWIN32() +{ + AC_MSG_CHECKING(Win32 compiler) + have_win32_gcc=no + AC_TRY_COMPILE([ + #include + ],[ + ],[ + have_win32_gcc=yes + ]) + AC_MSG_RESULT($have_win32_gcc) + if test x$have_win32_gcc != xyes; then + AC_MSG_ERROR([ +*** Your compiler ($CC) does not produce Win32 executables! + ]) + fi + + dnl See if the user wants to redirect standard output to files + AC_ARG_ENABLE(stdio-redirect, +AC_HELP_STRING([--enable-stdio-redirect], [Redirect STDIO to files on Win32 [[default=yes]]]), + , enable_stdio_redirect=yes) + if test x$enable_stdio_redirect != xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DNO_STDIO_REDIRECT" + fi + + if test x$enable_video = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_WINDIB) + SOURCES="$SOURCES $srcdir/src/video/wincommon/*.c" + SOURCES="$SOURCES $srcdir/src/video/windib/*.c" + have_video=yes + fi +} + +dnl Find the DirectX includes and libraries +CheckDIRECTX() +{ + AC_ARG_ENABLE(directx, +AC_HELP_STRING([--enable-directx], [use DirectX for Win32 audio/video [[default=yes]]]), + , enable_directx=yes) + if test x$enable_directx = xyes; then + have_directx=no + AC_CHECK_HEADER(ddraw.h, have_ddraw=yes) + AC_CHECK_HEADER(dsound.h, have_dsound=yes) + AC_CHECK_HEADER(dinput.h, use_dinput=yes) + if test x$have_ddraw = xyes -a x$have_dsound = xyes -a x$use_dinput = xyes; then + have_directx=yes + fi + if test x$enable_video = xyes -a x$have_directx = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_DDRAW) + SOURCES="$SOURCES $srcdir/src/video/windx5/*.c" + have_video=yes + fi + fi +} + +dnl Check for the dlfcn.h interface for dynamically loading objects +CheckDLOPEN() +{ + AC_ARG_ENABLE(sdl-dlopen, +AC_HELP_STRING([--enable-sdl-dlopen], [use dlopen for shared object loading [[default=yes]]]), + , enable_sdl_dlopen=yes) + if test x$enable_sdl_dlopen = xyes; then + AC_MSG_CHECKING(for dlopen) + have_dlopen=no + AC_TRY_COMPILE([ + #include + ],[ + #if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED <= 1020 + #error Use dlcompat for Mac OS X 10.2 compatibility + #endif + ],[ + have_dlopen=yes + ]) + AC_MSG_RESULT($have_dlopen) + + if test x$have_dlopen = xyes; then + AC_CHECK_LIB(c, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS", + AC_CHECK_LIB(dl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl", + AC_CHECK_LIB(ltdl, dlopen, EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lltdl"))) + AC_DEFINE(SDL_LOADSO_DLOPEN) + SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c" + have_loadso=yes + fi + fi +} + +dnl Set up the Atari LDG (shared object loader) +CheckAtariLdg() +{ + AC_ARG_ENABLE(atari-ldg, +AC_HELP_STRING([--enable-atari-ldg], [use Atari LDG for shared object loading [[default=yes]]]), + , enable_atari_ldg=yes) + if test x$video_gem = xyes -a x$enable_atari_ldg = xyes; then + AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes) + AC_CHECK_LIB(ldg, ldg_open, have_ldg_lib=yes, have_ldg_lib=no, -lgem) + if test x$have_ldg_hdr = xyes -a x$have_ldg_lib = xyes; then + AC_DEFINE(SDL_LOADSO_LDG) + SOURCES="$SOURCES $srcdir/src/loadso/mint/*.c" + SDL_LIBS="$SDL_LIBS -lldg -lgem" + have_loadso=yes + fi + fi +} + +dnl Check for the usbhid(3) library on *BSD +CheckUSBHID() +{ + if test x$enable_joystick = xyes; then + AC_CHECK_LIB(usbhid, hid_init, have_libusbhid=yes) + if test x$have_libusbhid = xyes; then + AC_CHECK_HEADER(usbhid.h, [USB_CFLAGS="-DHAVE_USBHID_H"]) + AC_CHECK_HEADER(libusbhid.h, [USB_CFLAGS="-DHAVE_LIBUSBHID_H"]) + USB_LIBS="$USB_LIBS -lusbhid" + else + AC_CHECK_HEADER(usb.h, [USB_CFLAGS="-DHAVE_USB_H"]) + AC_CHECK_HEADER(libusb.h, [USB_CFLAGS="-DHAVE_LIBUSB_H"]) + AC_CHECK_LIB(usb, hid_init, [USB_LIBS="$USB_LIBS -lusb"]) + fi + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $USB_CFLAGS" + + AC_MSG_CHECKING(for usbhid) + have_usbhid=no + AC_TRY_COMPILE([ + #include + #if defined(HAVE_USB_H) + #include + #endif + #ifdef __DragonFly__ + # include + # include + #else + # include + # include + #endif + #if defined(HAVE_USBHID_H) + #include + #elif defined(HAVE_LIBUSB_H) + #include + #elif defined(HAVE_LIBUSBHID_H) + #include + #endif + ],[ + struct report_desc *repdesc; + struct usb_ctl_report *repbuf; + hid_kind_t hidkind; + ],[ + have_usbhid=yes + ]) + AC_MSG_RESULT($have_usbhid) + + if test x$have_usbhid = xyes; then + AC_MSG_CHECKING(for ucr_data member of usb_ctl_report) + have_usbhid_ucr_data=no + AC_TRY_COMPILE([ + #include + #if defined(HAVE_USB_H) + #include + #endif + #ifdef __DragonFly__ + # include + # include + #else + # include + # include + #endif + #if defined(HAVE_USBHID_H) + #include + #elif defined(HAVE_LIBUSB_H) + #include + #elif defined(HAVE_LIBUSBHID_H) + #include + #endif + ],[ + struct usb_ctl_report buf; + if (buf.ucr_data) { } + ],[ + have_usbhid_ucr_data=yes + ]) + if test x$have_usbhid_ucr_data = xyes; then + USB_CFLAGS="$USB_CFLAGS -DUSBHID_UCR_DATA" + fi + AC_MSG_RESULT($have_usbhid_ucr_data) + + AC_MSG_CHECKING(for new usbhid API) + have_usbhid_new=no + AC_TRY_COMPILE([ + #include + #if defined(HAVE_USB_H) + #include + #endif + #ifdef __DragonFly__ + #include + #include + #else + #include + #include + #endif + #if defined(HAVE_USBHID_H) + #include + #elif defined(HAVE_LIBUSB_H) + #include + #elif defined(HAVE_LIBUSBHID_H) + #include + #endif + ],[ + report_desc_t d; + hid_start_parse(d, 1, 1); + ],[ + have_usbhid_new=yes + ]) + if test x$have_usbhid_new = xyes; then + USB_CFLAGS="$USB_CFLAGS -DUSBHID_NEW" + fi + AC_MSG_RESULT($have_usbhid_new) + + AC_MSG_CHECKING(for struct joystick in machine/joystick.h) + have_machine_joystick=no + AC_TRY_COMPILE([ + #include + ],[ + struct joystick t; + ],[ + have_machine_joystick=yes + ]) + if test x$have_machine_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H) + fi + AC_MSG_RESULT($have_machine_joystick) + + AC_DEFINE(SDL_JOYSTICK_USBHID) + SOURCES="$SOURCES $srcdir/src/joystick/bsd/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS $USB_CFLAGS" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $USB_LIBS" + have_joystick=yes + fi + CFLAGS="$save_CFLAGS" + fi +} + +dnl Check for clock_gettime() +CheckClockGettime() +{ + AC_ARG_ENABLE(clock_gettime, +AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=no]]]), + , enable_clock_gettime=no) + if test x$enable_clock_gettime = xyes; then + AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes) + if test x$have_clock_gettime = xyes; then + AC_DEFINE(HAVE_CLOCK_GETTIME) + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lrt" + fi + fi +} + +dnl Check for a valid linux/version.h +CheckLinuxVersion() +{ + AC_CHECK_HEADER(linux/version.h, have_linux_version_h=yes) + if test x$have_linux_version_h = xyes; then + EXTRA_CFLAGS="$EXTRA_CFLAGS -DHAVE_LINUX_VERSION_H" + fi +} + +dnl Check if we want to use RPATH +CheckRPATH() +{ + AC_ARG_ENABLE(rpath, +AC_HELP_STRING([--enable-rpath], [use an rpath when linking SDL [[default=yes]]]), + , enable_rpath=yes) +} + +dnl Set up the configuration based on the host platform! +case "$host" in + arm-*-elf*) # FIXME: Can we get more specific for iPodLinux? + ARCH=linux + CheckDummyVideo + CheckIPod + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_UNIX) + SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" + have_timers=yes + fi + ;; + *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*) + case "$host" in + *-*-linux*) ARCH=linux ;; + *-*-uclinux*) ARCH=linux ;; + *-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;; + *-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;; + *-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;; + *-*-gnu*) ARCH=gnu ;; # must be last of the gnu variants + *-*-bsdi*) ARCH=bsdi ;; + *-*-freebsd*) ARCH=freebsd ;; + *-*-dragonfly*) ARCH=freebsd ;; + *-*-netbsd*) ARCH=netbsd ;; + *-*-openbsd*) ARCH=openbsd ;; + *-*-sysv5*) ARCH=sysv5 ;; + *-*-solaris*) ARCH=solaris ;; + *-*-hpux*) ARCH=hpux ;; + *-*-irix*) ARCH=irix ;; + *-*-aix*) ARCH=aix ;; + *-*-osf*) ARCH=osf ;; + esac + CheckVisibilityHidden + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckDLOPEN + CheckNASM + CheckAltivec + CheckOSS + CheckDMEDIA + CheckMME + CheckALSA + CheckARTSC + CheckESD + CheckPulseAudio + CheckNAS + CheckX11 + CheckNANOX + CheckFBCON + CheckDirectFB + CheckPS2GS + CheckPS3 + CheckGGI + CheckSVGA + CheckVGL + CheckWscons + CheckAAlib + CheckCaca + CheckQtopia + CheckPicoGUI + CheckOpenGLX11 + CheckInputEvents + CheckTslib + CheckUSBHID + CheckPTHREAD + CheckClockGettime + CheckLinuxVersion + CheckRPATH + # Set up files for the audio library + if test x$enable_audio = xyes; then + case $ARCH in + sysv5|solaris|hpux) + AC_DEFINE(SDL_AUDIO_DRIVER_SUNAUDIO) + SOURCES="$SOURCES $srcdir/src/audio/sun/*.c" + have_audio=yes + ;; + netbsd|openbsd) + AC_DEFINE(SDL_AUDIO_DRIVER_BSD) + SOURCES="$SOURCES $srcdir/src/audio/bsd/*.c" + have_audio=yes + ;; + aix) + AC_DEFINE(SDL_AUDIO_DRIVER_PAUD) + SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c" + have_audio=yes + ;; + esac + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + case $ARCH in + linux) + AC_DEFINE(SDL_JOYSTICK_LINUX) + SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c" + have_joystick=yes + ;; + esac + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + case $ARCH in + linux|solaris) + AC_DEFINE(SDL_CDROM_LINUX) + SOURCES="$SOURCES $srcdir/src/cdrom/linux/*.c" + have_cdrom=yes + ;; + *freebsd*) + AC_DEFINE(SDL_CDROM_FREEBSD) + SOURCES="$SOURCES $srcdir/src/cdrom/freebsd/*.c" + have_cdrom=yes + ;; + *openbsd*|*netbsd*) + AC_DEFINE(SDL_CDROM_OPENBSD) + SOURCES="$SOURCES $srcdir/src/cdrom/openbsd/*.c" + have_cdrom=yes + ;; + bsdi) + AC_DEFINE(SDL_CDROM_BSDI) + SOURCES="$SOURCES $srcdir/src/cdrom/bsdi/*.c" + have_cdrom=yes + ;; + aix) + AC_DEFINE(SDL_CDROM_AIX) + SOURCES="$SOURCES $srcdir/src/cdrom/aix/*.c" + have_cdrom=yes + ;; + osf) + AC_DEFINE(SDL_CDROM_OSF) + SOURCES="$SOURCES $srcdir/src/cdrom/osf/*.c" + have_cdrom=yes + ;; + esac + fi + # Set up files for the thread library + if test x$enable_threads = xyes -a x$use_pthreads != xyes -a x$use_pth != xyes -a x$ARCH = xirix; then + AC_DEFINE(SDL_THREAD_SPROC) + SOURCES="$SOURCES $srcdir/src/thread/irix/*.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c" + have_threads=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_UNIX) + SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" + have_timers=yes + fi + ;; + *-*-qnx*) + ARCH=qnx + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + # CheckNASM + CheckDLOPEN + CheckNAS + CheckPHOTON + CheckX11 + CheckOpenGLX11 + CheckPTHREAD + # Set up files for the audio library + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_QNXNTO) + SOURCES="$SOURCES $srcdir/src/audio/nto/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lasound" + have_audio=yes + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_QNX) + SOURCES="$SOURCES $srcdir/src/cdrom/qnx/*.c" + have_cdrom=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_UNIX) + SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" + have_timers=yes + fi + ;; + *-*-cygwin* | *-*-mingw32*) + ARCH=win32 + if test "$build" != "$host"; then # cross-compiling + # Default cross-compile location + ac_default_prefix=/usr/local/cross-tools/i386-mingw32 + else + # Look for the location of the tools and install there + if test "$BUILD_PREFIX" != ""; then + ac_default_prefix=$BUILD_PREFIX + fi + fi + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckWIN32 + CheckWIN32GL + CheckDIRECTX + CheckNASM + # Set up files for the audio library + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_WAVEOUT) + SOURCES="$SOURCES $srcdir/src/audio/windib/*.c" + if test x$have_directx = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND) + SOURCES="$SOURCES $srcdir/src/audio/windx5/*.c" + fi + have_audio=yes + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_WINMM) + SOURCES="$SOURCES $srcdir/src/joystick/win32/*.c" + have_joystick=yes + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_WIN32) + SOURCES="$SOURCES $srcdir/src/cdrom/win32/*.c" + have_cdrom=yes + fi + # Set up files for the thread library + if test x$enable_threads = xyes; then + AC_DEFINE(SDL_THREAD_WIN32) + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_sysmutex.c" + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c" + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_systhread.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c" + have_threads=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_WIN32) + SOURCES="$SOURCES $srcdir/src/timer/win32/*.c" + have_timers=yes + fi + # Set up files for the shared object loading library + if test x$enable_loadso = xyes; then + AC_DEFINE(SDL_LOADSO_WIN32) + SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c" + have_loadso=yes + fi + # Set up the system libraries we need + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm" + if test x$have_directx = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldxguid" + fi + # The Win32 platform requires special setup + SOURCES="$SOURCES $srcdir/src/main/win32/*.rc" + SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" + SDLMAIN_LDFLAGS="-static" + SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" + SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" + ;; + *-wince*) + ARCH=win32 + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckWIN32 + CheckNASM + SOURCES="$SOURCES $srcdir/src/video/gapi/*.c" + EXTRA_CFLAGS="$EXTRA_CFLAGS -D_WIN32_WCE=0x420" + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_WAVEOUT) + SOURCES="$SOURCES $srcdir/src/audio/windib/*.c" + have_audio=yes + fi + # Set up files for the thread library + if test x$enable_threads = xyes; then + AC_DEFINE(SDL_THREAD_WIN32) + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_sysmutex.c" + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c" + SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_systhread.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c" + have_threads=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_WINCE) + SOURCES="$SOURCES $srcdir/src/timer/wince/*.c" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lmmtimer" + have_timers=yes + fi + # Set up files for the shared object loading library + if test x$enable_loadso = xyes; then + AC_DEFINE(SDL_LOADSO_WIN32) + SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c" + have_loadso=yes + fi + # Set up the system libraries we need + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl" + # The Win32 platform requires special setup + SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" + SDLMAIN_LDFLAGS="-static" + SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main -D_WIN32_WCE=0x420" + SDL_LIBS="-lSDLmain $SDL_LIBS" + ;; + *-*-beos* | *-*-haiku*) + ARCH=beos + ac_default_prefix=/boot/develop/tools/gnupro + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckNASM + CheckBWINDOW + CheckBeGL + # Set up files for the audio library + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO) + SOURCES="$SOURCES $srcdir/src/audio/baudio/*.cc" + have_audio=yes + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_BEOS) + SOURCES="$SOURCES $srcdir/src/joystick/beos/*.cc" + have_joystick=yes + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_BEOS) + SOURCES="$SOURCES $srcdir/src/cdrom/beos/*.cc" + have_cdrom=yes + fi + # Set up files for the thread library + if test x$enable_threads = xyes; then + AC_DEFINE(SDL_THREAD_BEOS) + SOURCES="$SOURCES $srcdir/src/thread/beos/*.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_sysmutex.c" + SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c" + have_threads=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_BEOS) + SOURCES="$SOURCES $srcdir/src/timer/beos/*.c" + have_timers=yes + fi + # Set up files for the shared object loading library + if test x$enable_loadso = xyes; then + case "$host" in + *-*-beos*) + AC_DEFINE(SDL_LOADSO_BEOS) + SOURCES="$SOURCES $srcdir/src/loadso/beos/*.c" + ;; + *-*-haiku*) + AC_DEFINE(SDL_LOADSO_DLOPEN) + SOURCES="$SOURCES $srcdir/src/loadso/dlopen/*.c" + ;; + esac + have_loadso=yes + fi + # The BeOS platform requires special setup. + SOURCES="$srcdir/src/main/beos/*.cc $SOURCES" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding" + ;; + *-*-darwin* ) + # This could be either full "Mac OS X", or plain "Darwin" which is + # just the OS X kernel sans upper layers like Carbon and Cocoa. + # Next line is broken, and a few files below require Mac OS X (full) + ARCH=macosx + + # Mac OS X builds with both the Carbon and OSX APIs at the moment + EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_CARBON" + EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_OSX" + + # HACK: Reset EXTRA_LDFLAGS; the only thing it contains at this point + # is -lm which is not needed under Mac OS X. But for some reasons it + # also tends to contain spurious -L switches, which we don't want to + # use here or in sdl-config. Hence we reset it. + EXTRA_LDFLAGS="" + + CheckVisibilityHidden + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckDLOPEN + CheckNASM + + # Set up files for the shared object loading library + # (this needs to be done before the dynamic X11 check) + if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then + AC_DEFINE(SDL_LOADSO_DLCOMPAT) + SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c" + have_loadso=yes + fi + + CheckCOCOA + CheckCARBON + CheckX11 + CheckMacGL + CheckOpenGLX11 + CheckPTHREAD + CheckAltivec + + # Need this or things might misbuild on a G3. + EXTRA_CFLAGS="$EXTRA_CFLAGS -force_cpusubtype_ALL" + + # Set up files for the audio library + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO) + SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c" + have_audio=yes + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_IOKIT) + SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c" + have_joystick=yes + need_iokit_framework=yes + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_MACOSX) + SOURCES="$SOURCES $srcdir/src/cdrom/macosx/*.c" + have_cdrom=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_UNIX) + SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" + have_timers=yes + fi + # The Mac OS X platform requires special setup. + SDLMAIN_SOURCES="$srcdir/src/main/macosx/*.m" + SDLMAIN_LDFLAGS="-static" + EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings" + SDL_LIBS="-lSDLmain $SDL_LIBS" + if test x$enable_video_cocoa = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa" + need_iokit_framework=yes + fi + if test x$enable_video_carbon = xyes -o x$enable_video_cocoa = xyes; then + # The Cocoa backend still needs Carbon + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ApplicationServices" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon" + fi + # If either the audio or CD driver is used, add the AudioUnit framework + if test x$enable_audio = xyes -o x$enable_cdrom = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit" + fi + # Some subsystems reference IOKit... + if test x$need_iokit_framework = xyes; then + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit" + fi + ;; + *-*-mint*) + ARCH=mint + CheckDummyVideo + CheckDiskAudio + CheckDummyAudio + CheckAtariBiosEvent + CheckAtariXbiosVideo + CheckAtariGemVideo + CheckAtariAudio + CheckAtariLdg + CheckAtariOSMesa + CheckPTH + # Set up files for the audio library + if test x$enable_threads = xyes -a x$enable_pth = xyes; then + if test x$enable_audio = xyes; then + AC_DEFINE(SDL_AUDIO_DRIVER_SUNAUDIO) + SOURCES="$SOURCES $srcdir/src/audio/sun/*.c" + have_audio=yes + fi + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_MINT) + SOURCES="$SOURCES $srcdir/src/joystick/mint/*.c" + have_joystick=yes + fi + # Set up files for the cdrom library + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_MINT) + SOURCES="$SOURCES $srcdir/src/cdrom/mint/*.c" + have_cdrom=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + if test x$enable_threads = xyes -a x$enable_pth = xyes; then + AC_DEFINE(SDL_TIMER_UNIX) + SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" + else + AC_DEFINE(SDL_TIMER_MINT) + SOURCES="$SOURCES $srcdir/src/timer/mint/*.c" + SOURCES="$SOURCES $srcdir/src/timer/mint/*.S" + fi + have_timers=yes + fi + ;; + *-riscos) + ARCH=riscos + CheckOSS + CheckPTHREAD + # Set up files for the video library + if test x$enable_video = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_RISCOS) + SOURCES="$SOURCES $srcdir/src/video/riscos/*.c" + SOURCES="$SOURCES $srcdir/src/video/riscos/*.S" + have_video=yes + fi + # Set up files for the joystick library + if test x$enable_joystick = xyes; then + AC_DEFINE(SDL_JOYSTICK_RISCOS) + SOURCES="$SOURCES $srcdir/src/joystick/riscos/*.c" + have_joystick=yes + fi + # Set up files for the timer library + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMER_RISCOS) + SOURCES="$SOURCES $srcdir/src/timer/riscos/*.c" + have_timers=yes + fi + # The RISC OS platform requires special setup. + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ljpeg -ltiff -lpng -lz" + ;; + *) + AC_MSG_ERROR([ +*** Unsupported host: Please add to configure.in + ]) + ;; +esac + +dnl Do this on all platforms, after everything else. +CheckWarnAll + +# Verify that we have all the platform specific files we need + +if test x$enable_joystick = xyes; then + if test x$have_joystick != xyes; then + # Wants joystick subsystem, but doesn't have a platform-specific backend... + AC_DEFINE(SDL_JOYSTICK_DUMMY) + SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c" + fi +fi +if test x$have_cdrom != xyes; then + if test x$enable_cdrom = xyes; then + AC_DEFINE(SDL_CDROM_DISABLED) + fi + SOURCES="$SOURCES $srcdir/src/cdrom/dummy/*.c" +fi +if test x$have_threads != xyes; then + if test x$enable_threads = xyes; then + AC_DEFINE(SDL_THREADS_DISABLED) + fi + SOURCES="$SOURCES $srcdir/src/thread/generic/*.c" +fi +if test x$have_timers != xyes; then + if test x$enable_timers = xyes; then + AC_DEFINE(SDL_TIMERS_DISABLED) + fi + SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c" +fi +if test x$have_loadso != xyes; then + if test x$enable_loadso = xyes; then + AC_DEFINE(SDL_LOADSO_DISABLED) + fi + SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c" +fi +if test x$SDLMAIN_SOURCES = x; then + SDLMAIN_SOURCES="$srcdir/src/main/dummy/*.c" + SDLMAIN_LDFLAGS="-static" +fi + +OBJECTS=`echo $SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.asm,$(objects)/\1.lo,g'` +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.lo,g'` +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.lo,g'` +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.S,$(objects)/\1.lo,g'` +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.lo,g'` + +SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.lo,g'` +SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.lo,g'` +SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + +# Set runtime shared library paths as needed + +if test "x$enable_rpath" = "xyes"; then + if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = irix -o $ARCH = linux -o $ARCH = netbsd; then + SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}" + fi + if test $ARCH = solaris; then + SDL_RLD_FLAGS="-R\${libdir}" + fi +else + SDL_RLD_FLAGS="" +fi + +case "$ARCH" in + macosx) + if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then + SDL_LIBS="$SDL_LIBS -Wl,-framework,Cocoa" + fi + if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then + SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon" + fi + # Evil hack to allow static linking on Mac OS X + SDL_STATIC_LIBS="\${libdir}/libSDLmain.a \${libdir}/libSDL.a $EXTRA_LDFLAGS" + ;; + *) + SDL_STATIC_LIBS="$SDL_LIBS $EXTRA_LDFLAGS" + ;; +esac + +dnl Expand the cflags and libraries needed by apps using SDL +AC_SUBST(SDL_CFLAGS) +AC_SUBST(SDL_LIBS) +AC_SUBST(SDL_STATIC_LIBS) +AC_SUBST(SDL_RLD_FLAGS) +if test x$enable_shared = xyes; then + ENABLE_SHARED_TRUE= + ENABLE_SHARED_FALSE="#" +else + ENABLE_SHARED_TRUE="#" + ENABLE_SHARED_FALSE= +fi +if test x$enable_static = xyes; then + ENABLE_STATIC_TRUE= + ENABLE_STATIC_FALSE="#" +else + ENABLE_STATIC_TRUE="#" + ENABLE_STATIC_FALSE= +fi +AC_SUBST(ENABLE_SHARED_TRUE) +AC_SUBST(ENABLE_SHARED_FALSE) +AC_SUBST(ENABLE_STATIC_TRUE) +AC_SUBST(ENABLE_STATIC_FALSE) + +dnl Expand the sources and objects needed to build the library +AC_SUBST(ac_aux_dir) +AC_SUBST(INCLUDE) +AC_SUBST(SOURCES) +AC_SUBST(OBJECTS) +AC_SUBST(SDLMAIN_SOURCES) +AC_SUBST(SDLMAIN_OBJECTS) +AC_SUBST(SDLMAIN_LDFLAGS) +AC_SUBST(BUILD_CFLAGS) +AC_SUBST(EXTRA_CFLAGS) +AC_SUBST(BUILD_LDFLAGS) +AC_SUBST(EXTRA_LDFLAGS) +AC_SUBST(WINDRES) + +AC_OUTPUT([ + Makefile sdl-config SDL.spec SDL.qpg sdl.pc +], [ + : >build-deps + if test x"$MAKE" = x; then MAKE=make; fi; $MAKE depend +]) diff --git a/distrib/sdl-1.2.15/docs.html b/distrib/sdl-1.2.15/docs.html new file mode 100644 index 0000000..7916dfa --- /dev/null +++ b/distrib/sdl-1.2.15/docs.html @@ -0,0 +1,698 @@ + +SDL Stable Release + + +[separator] +

+This source is stable, and is fully tested on all supported platforms.
+Please send bug reports or questions to the SDL mailing list:
+http://www.libsdl.org/mailing-list.php
+The latest stable release may be found on the + SDL website. +

+ +

API Documentation

+ +[separator] + +

SDL 1.2.15 Release Notes

+

+SDL 1.2.15 is a minor bug fix release. +

+ +

General Notes

+ +
+

+ Fixed assembly register clobbering in CPU info routines +

+

+ Fixed memory stomp when using stretch blit on large images +

+

+ Fixed pixel corruption with overlapping blits +

+

+ SDL_JOYSTICK_DEVICE can be a colon separated list of joystick devices +

+

+ Disabled MMX blitters since they don't compile on modern compilers +

+
+ +

Unix Notes

+ +
+

+ Fixed crash in joystick code on newer Linux kernels +

+

+ Fixed channel swizzling for ALSA target with 6-channel output +

+

+ Use the OpenGL GLX_EXT_swap_control extension if available +

+

+ XRandR support is disabled by default because it causes desktop reconfiguring. It can be enabled with the SDL_VIDEO_X11_XRANDR=1 environment variable, or by applying this patch: http://hg.libsdl.org/SDL/raw-rev/8ec3036098df +

+
+ +

Windows Notes

+ +
+

+ Fixed SDL_GL_ACCELERATED_VISUAL handling +

+

+ Fixed application state handling with ALT-Tab +

+

+ Fixed occasional crash handling WM_ACTIVATEAPP in Direct X code +

+

+ Fixed UTF-8 decoding of Russian characters +

+
+ +

Mac OS X Notes

+ +
+

+ Fixed building and running on Mac OS X 10.7 (Lion) +

+
+ +[separator] + +

SDL 1.2.14 Release Notes

+

+SDL 1.2.14 is a significant bug fix release and a recommended update. +

+ +

General Notes

+ +
+

+ Fixed flicker when resizing the SDL window +

+

+ Fixed crash in SDL_SetGammaRamp() +

+

+ Fixed freeze in SDL_memset() with 0 length when assembly code is disabled. +

+

+ Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys. +

+

+ Fixed audio quality problem when converting between 22050 Hz and 44100 Hz. +

+

+ Fixed a threading crash when a few threads are rapidly created and complete. +

+

+ Increased accuracy of alpha blending routines. +

+

+ Fixed crash loading BMP files saved with the scanlines inverted. +

+

+ Fixed mouse coordinate clamping if SDL_SetVideoMode() isn't called in response to SDL_VIDEORESIZE event. +

+

+ Added doxygen documentation for the SDL API headers. +

+
+ +

Unix Notes

+ +
+

+ Fixed potential memory corruption due to assembly bug with SDL_revcpy() +

+

+ Fixed crashes trying to detect SSE features on x86_64 architecture. +

+

+ Fixed assembly for GCC optimized 50% alpha blending blits. +

+

+ Added configure option --enable-screensaver, to allow enabling the screensaver by default. +

+

+ Use XResetScreenSaver() instead of disabling screensaver entirely. +

+

+ Removed the maximum window size limitation on X11. +

+

+ Fixed SDL_GL_SWAP_CONTROL on X11. +

+

+ Fixed setting the X11 window input hint. +

+

+ Fixed distorted X11 window icon for some visuals. +

+

+ Fixed detecting X11 libraries for dynamic loading on 64-bit Linux. +

+

+ SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) returns the correct value with GLX_SGI_swap_control. +

+

+ Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for SDL_VIDEO_FULLSCREEN_HEAD on X11. +

+

+ The SDL_VIDEO_FULLSCREEN_DISPLAY environment variable can be set to 0 to place fullscreen SDL windows on the first Xinerama screen. +

+

+ Added the SDL_VIDEO_FBCON_ROTATION environment variable to control output orientation on the framebuffer console. +
+ Valid values are: +

    +
  • not set - Not rotating, no shadow. +
  • "NONE" - Not rotating, but still using shadow. +
  • "CW" - Rotating screen clockwise. +
  • "UD" - Rotating screen upside down. +
  • "CCW" - Rotating screen counter clockwise. +
+

+

+ Fixed DirectFB detection on some Linux distributions. +

+

+ Added code to use the PS3 SPE processors for YUV conversion on Linux. +

+

+ Updated ALSA support to the latest stable API +

+

+ ALSA is now preferred over OSS audio. (SDL_AUDIODRIVER=dsp will restore the previous behavior.) +

+

+ Improved support for PulseAudio +

+

+ The Network Audio System support is now dynamically loaded at runtime. +

+

+ Fixed crash with the MP-8866 Dual USB Joypad on newer Linux kernels. +

+

+ Fixed crash in SDL_Quit() when a joystick has been unplugged. +

+
+ +

Windows Notes

+ +
+

+ Verified 100% compatibility with Windows 7. +

+

+ Prevent loss of OpenGL context when setting the video mode in response to a window resize event. +

+

+ Fixed video initialization with SDL_WINDOWID on Windows XP. +

+

+ Improved mouse input responsiveness for first-person-shooter games. +

+

+ IME messages are now generated for localized input. +

+

+ SDL_RWFromFile() takes a UTF-8 filename when opening a file. +

+

+ The SDL_STDIO_REDIRECT environment variable can be used to override whether SDL redirects stdio to stdout.txt and stderr.txt. +

+

+ Fixed dynamic object loading on Windows CE. +

+
+ +

Mac OS X Notes

+ +
+

+ SDL now builds on Mac OS X 10.6 (Snow Leopard). +
+ Eric Wing posted a good rundown on the numerous changes here: http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html +

+

+ The X11 video driver is built by default. +

+

+ Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target. +

+

+ Fixed setting the starting working directory in release builds. +

+
+ +[separator] + +

SDL 1.2.13 Release Notes

+

+SDL 1.2.13 is a minor bug fix release. +

+ +

General Notes

+ +
+

+ Fixed link error when building with Intel Compiler 10. +

+

+ Removed stray C++ comment from public headers. +

+
+ +

Unix Notes

+ +
+

+ Fixed crash in SDL_SoftStretch() on secure operating systems. +

+

+ Fixed undefined symbol on X11 implementations without UTF-8 support. +

+

+ Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver. +

+

+ Scan for all joysticks on Linux instead of stopping at one that was removed. +

+

+ Fixed use of sdl-config arguments in sdl.m4 +

+
+ +

Windows Notes

+ +
+

+ Fixed crash when a video driver reports higher than 32 bpp video modes. +

+

+ Fixed restoring the desktop after setting a 24-bit OpenGL video mode. +

+

+ Fixed window titles on Windows 95/98/ME. +

+

+ Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons. +

+

+ Added support for quoted command line arguments. +

+
+ +

Mac OS X Notes

+ +
+

+ SDL now builds on Mac OS X 10.5 (Leopard). +

+

+ Fixed high frequency crash involving text input. +

+

+ Fixed beeping when the escape key is pressed and UNICODE translation is enabled. +

+

+ Improved trackpad scrolling support. +

+

+ Fixed joystick hat reporting for certain joysticks. +

+
+ +[separator] + +

SDL 1.2.12 Release Notes

+

+SDL 1.2.12 is a minor bug fix release. +

+ +

General Notes

+ +
+

+ Added support for the PulseAudio sound server: http://www.pulseaudio.org/ +

+

+ Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11. +

+

+ Fixed buffer overrun crash when resampling audio rates. +

+

+ Fixed audio bug where converting to mono was doubling the volume. +

+

+ Fixed off-by-one error in the C implementation of SDL_revcpy() +

+

+ Fixed compiling with Sun Studio. +

+

+ Support for AmigaOS has been removed from the main SDL code. +

+

+ Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code. +

+

+ Unofficial support for the S60/SymbianOS platform has been added. +

+

+ Unofficial support for the Nintendo DS platform has been added. +

+

+ Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only). +

+
+ +

Unix Notes

+ +
+

+ Fixed detection of X11 DGA mouse support. +

+

+ Improved XIM support for asian character sets. +

+

+ The GFX_Display has been added to the X11 window information in SDL_syswm.h. +

+

+ Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels. +

+

+ Fixed hang or crash at startup if aRts can't access the hardware. +

+

+ Fixed relative mouse mode when the cursor starts outside the X11 window. +

+

+ Fixed accidental free of stack memory in X11 mouse acceleration code. +

+

+ Closed minor memory leak in XME code. +

+

+ Fixed TEXTRELs in the library to resolve some PIC issues. +

+
+ +

Windows Notes

+ +
+

+ The GDI video driver makes better use of the palette in 8-bit modes. +

+

+ The windib driver now supports more mouse buttons with WM_XBUTTON events. +

+

+ On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed. +

+

+ Added support for UTF-8 window titles on Windows. +

+

+ Fixed joystick detection on Windows. +

+

+ Improved performance with Win32 file I/O. +

+

+ Fixed HBITMAP leak in GAPI driver. +

+
+ +

Mac OS X Notes

+ +
+

+ Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X. +

+

+ Fixed YUV overlay crash inside Quicktime on Intel Mac OS X. +

+

+ Fixed blitting alignment in Altivec alpha blit functions. +

+

+ Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X. +

+

+ Fixed joystick calibration code on Mac OS X. +

+

+ Fixed mouse jitter when multiple motion events are queued up in Mac OS X. +

+

+ Fixed changing the cursor in fullscreen mode on Mac OS X. +

+
+ +

Mac OS Classic Notes

+ +
+

+ Added support for gamma ramps to both toolbox and DrawSprocket video drivers. +

+
+ +

BeOS Notes

+ +
+

+ Implemented mouse grabbing and mouse relative mode on BeOS. +

+
+ +[separator] + +

SDL 1.2.11 Release Notes

+

+SDL 1.2.11 is a minor bug fix release. +

+ +

Unix Notes

+ +
+

+ Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden. This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX. +

+

+ Fixed building SDL with Xinerama disabled. +

+

+ Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen(). +

+

+ Added pkgconfig configuration support. +

+
+ +

Windows Notes

+ +
+

+ Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL. +

+

+ The Win32 window positioning code works properly for windows with menus. +

+

+ DirectSound audio quality has been improved on certain sound cards. +

+

+ Fixed 5.1 audio channel ordering on Windows and Mac OS X. +

+

+ Plugged a couple of minor memory leaks in the windib video driver. +

+

+ Fixed type collision with stdint.h when building with gcc on Win32. +

+

+ Fixed building with the Digital Mars Compiler on Win32. +

+
+ +

Mac OS X Notes

+ +
+

+ The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above. +

+
+ +[separator] + +

SDL 1.2.10 Release Notes

+

+SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes. +

+

API enhancements

+
    +
  • + If SDL_OpenAudio() is passed zero for the desired format + fields, the following environment variables will be used + to fill them in: +
    
    +		SDL_AUDIO_FREQUENCY
    +		SDL_AUDIO_FORMAT
    +		SDL_AUDIO_CHANNELS
    +		SDL_AUDIO_SAMPLES
    +
    + If an environment variable is not specified, it will be set + to a reasonable default value. +
  • + SDL_SetVideoMode() now accepts 0 for width or height and will use + the current video mode (or the desktop mode if no mode has been set.) +
  • + Added current_w and current_h to the SDL_VideoInfo structure, + which is set to the desktop resolution during video intialization, + and then set to the current resolution when a video mode is set. +
  • + SDL_GL_LoadLibrary() will load the system default OpenGL library + if it is passed NULL as a parameter. +
  • + Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications. +
  • + Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration. +
  • + SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms. +
  • + Added SDL_GetKeyRepeat() to query the key repeat settings. +
  • + Added the "dummy" audio driver, which can be used to emulate audio + output without a sound card. +
  • + Added SDL_config.h, with defaults for various build environments. +
+ +

General Notes

+ +
+

+ The SDL website now has an RSS feed! +

+ The SDL development source code is now managed with Subversion. +

+ SDL now uses the Bugzilla bug tracking system, hosted by icculus.org. +

+ SDL is licensed under version 2.1 of the GNU Lesser General Public License. +

+ The entire build system has been revamped to make it much more portable, including versions of C library functions to make it possible to run SDL on a minimal embedded environment. See README.Porting in the SDL source distribution for information on how to port SDL to a new platform. +

+ SDL_opengl.h has been updated with the latest glext.h from http://oss.sgi.com/projects/ogl-sample/registry/ +

+ Alex Volkov contributed highly optimized RGB <-> RGBA blitters. +

+ +

Unix Notes

+ +
+

+ The X11 libraries are dynamically loaded at runtime by default. This allows the distributed version of SDL to run on systems without X11 libraries installed. +

+ The XiG XME extension code is now included in the X11 video driver by default. +

+ XRandR support for video mode switching has been added to the X11 driver, but is disabled because of undesired interactions with window managers. You can enable this by setting the environment variable SDL_VIDEO_X11_XRANDR to 1. +

+ Xinerama multi-head displays are properly handled now, and the SDL_VIDEO_FULLSCREEN_HEAD environment variable can be used to select the screen used for fullscreen video modes. Note that changing the video modes only works on screen 0. +

+ XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file. +

+ SDL windows are no longer transparent in X11 compositing systems like XGL. +

+ The mouse is properly released by the X11 video driver if the fullscreen window loses focus. +

+ The X11 input driver now uses XIM to handle international input. +

+ The screensaver and DPMS monitor blanking are disabled while SDL games are running under the X11 and DGA video drivers. This behavior will be formalized and selectable in SDL 1.3. +

+ Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver. +

+ The DGA video driver now waits for pending blits involving surfaces before they are freed. This prevents display oddities when using SDL_DisplayFormat() to convert many images. +

+ The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling. +

+ The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back. +

+ The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings. +

+ The framebuffer console input driver correctly sets IMPS/2 mode for wheel mice. It also properly detects when gpm is in IMPS/2 protocol mode, or passing raw protocol from an IMPS/2 mouse. +

+ The SVGAlib video driver now has support for banked (non-linear) video modes. +

+ A video driver for OpenBSD on the Sharp Zaurus has been contributed by Staffan Ulfberg. See the file README.wscons in the SDL source distribution for details. +

+ Many patches have been incorporated from *BSD ports. +

+ +

Windows Notes

+ +
+

+ The "windib" video driver is the default now, to prevent problems with certain laptops, 64-bit Windows, and Windows Vista. The DirectX driver is still available, and can be selected by setting the environment variable SDL_VIDEODRIVER to "directx". +

+ SDL has been ported to 64-bit Windows. +

+ Dmitry Yakimov contributed a GAPI video driver for Windows CE. +

+ The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions. A full API for querying and selecting refresh rates is planned for SDL 1.3. +

+ Dialog boxes are now shown when SDL is in windowed OpenGL mode. +

+ The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes. +

+ An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored. +

+ Window positions are retained when switching between fullscreen and windowed modes. +

+ ToUnicode() is used, when available, for improved handling of international keyboard input. +

+ The PrtScrn is now treated normally with both key down and key up events. +

+ Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications. +

+ Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting. +

+ An MCI error when playing the last track on a CD-ROM has been fixed. +

+ OpenWatcom projects for building SDL have been provided by Marc Peter. +

+ +

Mac OS X Notes

+ +
+

+ SDL now supports building Universal binaries, both through Xcode projects and when using configure/make. See README.MacOSX in the SDL source archive for details. +

+ The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed. +

+ Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker. +

+ Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs. +

+ +

OS/2 Notes

+ +
+

+ Projects for building SDL on OS/2 with OpenWatcom have been contributed by Doodle. See the file README.OS2 in the SDL source distribution for details. +

+ +[separator] + + + diff --git a/distrib/sdl-1.2.15/docs/html/audio.html b/distrib/sdl-1.2.15/docs/html/audio.html new file mode 100644 index 0000000..94075e2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/audio.html @@ -0,0 +1,242 @@ +Audio
SDL Library Documentation
PrevNext

Chapter 10. Audio

Table of Contents
SDL_AudioSpec -- Audio Specification Structure
SDL_OpenAudio -- Opens the audio device with the desired parameters.
SDL_PauseAudio -- Pauses and unpauses the audio callback processing
SDL_GetAudioStatus -- Get the current audio state
SDL_LoadWAV -- Load a WAVE file
SDL_FreeWAV -- Frees previously opened WAV data
SDL_AudioCVT -- Audio Conversion Structure
SDL_BuildAudioCVT -- Initializes a SDL_AudioCVT structure for conversion
SDL_ConvertAudio -- Convert audio data to a desired audio format.
SDL_MixAudio -- Mix audio data
SDL_LockAudio -- Lock out the callback function
SDL_UnlockAudio -- Unlock the callback function
SDL_CloseAudio -- Shuts down audio processing and closes the audio device.

Sound on the computer is translated from waves that you hear into a series of +values, or samples, each representing the amplitude of the wave. When these +samples are sent in a stream to a sound card, an approximation of the original +wave can be recreated. The more bits used to represent the amplitude, and the +greater frequency these samples are gathered, the closer the approximated +sound is to the original, and the better the quality of sound.

This library supports both 8 and 16 bit signed and unsigned sound samples, +at frequencies ranging from 11025 Hz to 44100 Hz, depending on the +underlying hardware. If the hardware doesn't support the desired audio +format or frequency, it can be emulated if desired (See +SDL_OpenAudio())

A commonly supported audio format is 16 bits per sample at 22050 Hz.


PrevHomeNext
SDL_JoystickCloseUpSDL_AudioSpec
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/cdrom.html b/distrib/sdl-1.2.15/docs/html/cdrom.html new file mode 100644 index 0000000..bdd6bfd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/cdrom.html @@ -0,0 +1,260 @@ +CD-ROM
SDL Library Documentation
PrevNext

Chapter 11. CD-ROM

Table of Contents
SDL_CDNumDrives -- Returns the number of CD-ROM drives on the system.
SDL_CDName -- Returns a human-readable, system-dependent identifier for the CD-ROM.
SDL_CDOpen -- Opens a CD-ROM drive for access.
SDL_CDStatus -- Returns the current status of the given drive.
SDL_CDPlay -- Play a CD
SDL_CDPlayTracks -- Play the given CD track(s)
SDL_CDPause -- Pauses a CDROM
SDL_CDResume -- Resumes a CDROM
SDL_CDStop -- Stops a CDROM
SDL_CDEject -- Ejects a CDROM
SDL_CDClose -- Closes a SDL_CD handle
SDL_CD -- CDROM Drive Information
SDL_CDtrack -- CD Track Information Structure

SDL supports audio control of up to 32 local CD-ROM drives at once.

You use this API to perform all the basic functions of a CD player, +including listing the tracks, playing, stopping, and ejecting the CD-ROM. +(Currently, multi-changer CD drives are not supported.)

Before you call any of the SDL CD-ROM functions, you must first call +"SDL_Init(SDL_INIT_CDROM)", which scans the system for +CD-ROM drives, and sets the program up for audio control. Check the +return code, which should be 0, to see if there +were any errors in starting up.

After you have initialized the library, you can find out how many drives +are available using the SDL_CDNumDrives() function. +The first drive listed is the system default CD-ROM drive. After you have +chosen a drive, and have opened it with SDL_CDOpen(), +you can check the status and start playing if there's a CD in the drive.

A CD-ROM is organized into one or more tracks, each consisting of a certain +number of "frames". Each frame is ~2K in size, and at normal playing speed, +a CD plays 75 frames per second. SDL works with the number of frames on a +CD, but this can easily be converted to the more familiar minutes/seconds +format by using the FRAMES_TO_MSF() macro.


PrevHomeNext
SDL_CloseAudioUpSDL_CDNumDrives
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/event.html b/distrib/sdl-1.2.15/docs/html/event.html new file mode 100644 index 0000000..f2bddb2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/event.html @@ -0,0 +1,216 @@ +Events
SDL Library Documentation
PrevNext

Chapter 8. Events

Introduction

Event handling allows your application to receive input from the user. Event handling is initalised (along with video) with a call to: +

SDL_Init(SDL_INIT_VIDEO);
+Internally, SDL stores all the events waiting to be handled in an event queue. Using functions like SDL_PollEvent and SDL_PeepEvents you can observe and handle waiting input events.

The key to event handling in SDL is the SDL_Event union. The event queue itself is composed of a series of SDL_Event unions, one for each waiting event. SDL_Event unions are read from the queue with the SDL_PollEvent function and it is then up to the application to process the information stored with them.


PrevHomeNext
SDL_WM_GrabInputUpSDL Event Structures.
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/eventfunctions.html b/distrib/sdl-1.2.15/docs/html/eventfunctions.html new file mode 100644 index 0000000..f68a29a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/eventfunctions.html @@ -0,0 +1,481 @@ +Event Functions.
SDL Library Documentation
PrevChapter 8. EventsNext

Event Functions.

Table of Contents
SDL_PumpEvents -- Pumps the event loop, gathering events from the input devices.
SDL_PeepEvents -- Checks the event queue for messages and optionally returns them.
SDL_PollEvent -- Polls for currently pending events.
SDL_WaitEvent -- Waits indefinitely for the next available event.
SDL_PushEvent -- Pushes an event onto the event queue
SDL_SetEventFilter -- Sets up a filter to process all events before they are posted +to the event queue.
SDL_GetEventFilter -- Retrieves a pointer to he event filter
SDL_EventState -- This function allows you to set the state of processing certain events.
SDL_GetKeyState -- Get a snapshot of the current keyboard state
SDL_GetModState -- Get the state of modifier keys.
SDL_SetModState -- Set the current key modifier state
SDL_GetKeyName -- Get the name of an SDL virtual keysym
SDL_EnableUNICODE -- Enable UNICODE translation
SDL_EnableKeyRepeat -- Set keyboard repeat rate.
SDL_GetMouseState -- Retrieve the current state of the mouse
SDL_GetRelativeMouseState -- Retrieve the current state of the mouse
SDL_GetAppState -- Get the state of the application
SDL_JoystickEventState -- Enable/disable joystick event polling

SDL_PumpEventsPumps the event loop, gathering events from the input devices
SDL_PeepEventsChecks the event queue for messages and optionally returns them
SDL_PollEventPolls for currently pending events
SDL_WaitEventWaits indefinitely for the next available event
SDL_PushEventPushes an event onto the event queue
SDL_SetEventFilterSets up a filter to process all events
SDL_EventStateAllows you to set the state of processing certain events
SDL_GetKeyStateGet a snapshot of the current keyboard state
SDL_GetModStateGet the state of modifier keys
SDL_SetModStateSet the state of modifier keys
SDL_GetKeyNameGet the name of an SDL virtual keysym
SDL_EnableUNICODEEnable UNICODE translation
SDL_EnableKeyRepeatSet keyboard repeat rate
SDL_GetMouseStateRetrieve the current state of the mouse
SDL_GetRelativeMouseStateRetrieve the current state of the mouse
SDL_GetAppStateGet the state of the application
SDL_JoystickEventStateEnable/disable joystick event polling


PrevHomeNext
SDLKeyUpSDL_PumpEvents
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/eventstructures.html b/distrib/sdl-1.2.15/docs/html/eventstructures.html new file mode 100644 index 0000000..c959296 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/eventstructures.html @@ -0,0 +1,233 @@ +SDL Event Structures.
SDL Library Documentation
PrevChapter 8. EventsNext

SDL Event Structures.

Table of Contents
SDL_Event -- General event structure
SDL_ActiveEvent -- Application visibility event structure
SDL_KeyboardEvent -- Keyboard event structure
SDL_MouseMotionEvent -- Mouse motion event structure
SDL_MouseButtonEvent -- Mouse button event structure
SDL_JoyAxisEvent -- Joystick axis motion event structure
SDL_JoyButtonEvent -- Joystick button event structure
SDL_JoyHatEvent -- Joystick hat position change event structure
SDL_JoyBallEvent -- Joystick trackball motion event structure
SDL_ResizeEvent -- Window resize event structure
SDL_ExposeEvent -- Quit requested event
SDL_SysWMEvent -- Platform-dependent window manager event.
SDL_UserEvent -- A user-defined event type
SDL_QuitEvent -- Quit requested event
SDL_keysym -- Keysym structure
SDLKey -- Keysym definitions.

PrevHomeNext
EventsUpSDL_Event
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/general.html b/distrib/sdl-1.2.15/docs/html/general.html new file mode 100644 index 0000000..0beb591 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/general.html @@ -0,0 +1,225 @@ +General
SDL Library Documentation
PrevNext

Chapter 5. General

Table of Contents
SDL_Init -- Initializes SDL
SDL_InitSubSystem -- Initialize subsystems
SDL_QuitSubSystem -- Shut down a subsystem
SDL_Quit -- Shut down SDL
SDL_WasInit -- Check which subsystems are initialized
SDL_GetError -- Get SDL error string
SDL_envvars -- SDL environment variables

Before SDL can be used in a program it must be initialized with SDL_Init. SDL_Init initializes all the subsystems that the user requests (video, audio, joystick, timers and/or cdrom). Once SDL is initialized with SDL_Init subsystems can be shut down and initialized as needed using SDL_InitSubSystem and SDL_QuitSubSystem.

SDL must also be shut down before the program exits to make sure it cleans up correctly. Calling SDL_Quit shuts down all subsystems and frees any resources allocated to SDL.


PrevHomeNext
SDL ReferenceUpSDL_Init
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guide.html b/distrib/sdl-1.2.15/docs/html/guide.html new file mode 100644 index 0000000..2c1297e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guide.html @@ -0,0 +1,174 @@ +SDL Guide
SDL Library Documentation
PrevNext

I. SDL Guide


PrevHomeNext
SDL Library Documentation Preface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideaboutsdldoc.html b/distrib/sdl-1.2.15/docs/html/guideaboutsdldoc.html new file mode 100644 index 0000000..cdb0d78 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideaboutsdldoc.html @@ -0,0 +1,148 @@ +About SDLdoc
SDL Library Documentation
PrevPrefaceNext

About SDLdoc

SDLdoc (The SDL Documentation Project) was formed to completely rewrite the SDL documentation and to keep it continually up to date. The team consists completely of volunteers ranging from people working with SDL in their spare time to people who use SDL in their everyday working lives.

The latest version of this documentation can always be found here: http://sdldoc.csn.ul.ie Downloadable PS, man pages and html tarballs are available at http://sdldoc.csn.ul.ie/pub/


PrevHomeNext
PrefaceUpCredits
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideaudioexamples.html b/distrib/sdl-1.2.15/docs/html/guideaudioexamples.html new file mode 100644 index 0000000..afb7522 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideaudioexamples.html @@ -0,0 +1,228 @@ +Audio Examples
SDL Library Documentation
PrevChapter 4. ExamplesNext

Audio Examples

Opening the audio device

    SDL_AudioSpec wanted;
+    extern void fill_audio(void *udata, Uint8 *stream, int len);
+
+    /* Set the audio format */
+    wanted.freq = 22050;
+    wanted.format = AUDIO_S16;
+    wanted.channels = 2;    /* 1 = mono, 2 = stereo */
+    wanted.samples = 1024;  /* Good low-latency value for callback */
+    wanted.callback = fill_audio;
+    wanted.userdata = NULL;
+
+    /* Open the audio device, forcing the desired format */
+    if ( SDL_OpenAudio(&wanted, NULL) < 0 ) {
+        fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
+        return(-1);
+    }
+    return(0);

Playing audio

    static Uint8 *audio_chunk;
+    static Uint32 audio_len;
+    static Uint8 *audio_pos;
+
+    /* The audio function callback takes the following parameters:
+       stream:  A pointer to the audio buffer to be filled
+       len:     The length (in bytes) of the audio buffer
+    */
+    void fill_audio(void *udata, Uint8 *stream, int len)
+    {
+        /* Only play if we have data left */
+        if ( audio_len == 0 )
+            return;
+
+        /* Mix as much data as possible */
+        len = ( len > audio_len ? audio_len : len );
+        SDL_MixAudio(stream, audio_pos, len, SDL_MIX_MAXVOLUME);
+        audio_pos += len;
+        audio_len -= len;
+    }
+
+    /* Load the audio data ... */
+
+    ;;;;;
+
+    audio_pos = audio_chunk;
+
+    /* Let the callback function play the audio chunk */
+    SDL_PauseAudio(0);
+
+    /* Do some processing */
+
+    ;;;;;
+
+    /* Wait for sound to complete */
+    while ( audio_len > 0 ) {
+        SDL_Delay(100);         /* Sleep 1/10 second */
+    }
+    SDL_CloseAudio();


PrevHomeNext
Event ExamplesUpCDROM Examples
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidebasicsinit.html b/distrib/sdl-1.2.15/docs/html/guidebasicsinit.html new file mode 100644 index 0000000..faafdbd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidebasicsinit.html @@ -0,0 +1,240 @@ +Initializing SDL
SDL Library Documentation
PrevChapter 1. The BasicsNext

Initializing SDL

SDL is composed of eight subsystems - Audio, CDROM, Event Handling, File I/O, Joystick Handling, Threading, Timers and Video. Before you can use any of these subsystems they must be initialized by calling SDL_Init (or SDL_InitSubSystem). SDL_Init must be called before any other SDL function. It automatically initializes the Event Handling, File I/O and Threading subsystems and it takes a parameter specifying which other subsystems to initialize. So, to initialize the default subsystems and the Video subsystems you would call: +

    SDL_Init ( SDL_INIT_VIDEO );
+To initialize the default subsystems, the Video subsystem and the Timers subsystem you would call: +
    SDL_Init ( SDL_INIT_VIDEO | SDL_INIT_TIMER );

SDL_Init is complemented by SDL_Quit (and SDL_QuitSubSystem). SDL_Quit shuts down all subsystems, including the default ones. It should always be called before a SDL application exits.

With SDL_Init and SDL_Quit firmly embedded in your programmers toolkit you can write your first and most basic SDL application. However, we must be prepare to handle errors. Many SDL functions return a value and indicates whether the function has succeeded or failed, SDL_Init, for instance, returns -1 if it could not initialize a subsystem. SDL provides a useful facility that allows you to determine exactly what the problem was, every time an error occurs within SDL an error message is stored which can be retrieved using SDL_GetError. Use this often, you can never know too much about an error.

Example 1-1. Initializing SDL

#include "SDL.h"   /* All SDL App's need this */
+#include <stdio.h>
+
+int main(int argc, char *argv[]) {
+    
+    printf("Initializing SDL.\n");
+    
+    /* Initialize defaults, Video and Audio */
+    if((SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO)==-1)) { 
+        printf("Could not initialize SDL: %s.\n", SDL_GetError());
+        exit(-1);
+    }
+
+    printf("SDL initialized.\n");
+
+    printf("Quiting SDL.\n");
+    
+    /* Shutdown all subsystems */
+    SDL_Quit();
+    
+    printf("Quiting....\n");
+
+    exit(0);
+}

PrevHomeNext
The BasicsUpGraphics and Video
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidecdromexamples.html b/distrib/sdl-1.2.15/docs/html/guidecdromexamples.html new file mode 100644 index 0000000..2bc5a16 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidecdromexamples.html @@ -0,0 +1,275 @@ +CDROM Examples
SDL Library Documentation
PrevChapter 4. ExamplesNext

CDROM Examples

Listing CD-ROM drives

    #include "SDL.h"
+
+    /* Initialize SDL first */
+    if ( SDL_Init(SDL_INIT_CDROM) < 0 ) {
+        fprintf(stderr, "Couldn't initialize SDL: %s\n",SDL_GetError());
+        exit(1);
+    }
+    atexit(SDL_Quit);
+
+    /* Find out how many CD-ROM drives are connected to the system */
+    printf("Drives available: %d\n", SDL_CDNumDrives());
+    for ( i=0; i<SDL_CDNumDrives(); ++i ) {
+        printf("Drive %d:  \"%s\"\n", i, SDL_CDName(i));
+    }

Opening the default drive

    SDL_CD *cdrom;
+    CDstatus status;
+    char *status_str;
+
+    cdrom = SDL_CDOpen(0);
+    if ( cdrom == NULL ) {
+        fprintf(stderr, "Couldn't open default CD-ROM drive: %s\n",
+                        SDL_GetError());
+        exit(2);
+    }
+
+    status = SDL_CDStatus(cdrom);
+    switch (status) {
+        case CD_TRAYEMPTY:
+            status_str = "tray empty";
+            break;
+        case CD_STOPPED:
+            status_str = "stopped";
+            break;
+        case CD_PLAYING:
+            status_str = "playing";
+            break;
+        case CD_PAUSED:
+            status_str = "paused";
+            break;
+        case CD_ERROR:
+            status_str = "error state";
+            break;
+    }
+    printf("Drive status: %s\n", status_str);
+    if ( status >= CD_PLAYING ) {
+        int m, s, f;
+        FRAMES_TO_MSF(cdrom->cur_frame, &m, &s, &f);
+        printf("Currently playing track %d, %d:%2.2d\n",
+        cdrom->track[cdrom->cur_track].id, m, s);
+    }

Listing the tracks on a CD

    SDL_CD *cdrom;          /* Assuming this has already been set.. */
+    int i;
+    int m, s, f;
+
+    SDL_CDStatus(cdrom);
+    printf("Drive tracks: %d\n", cdrom->numtracks);
+    for ( i=0; i<cdrom->numtracks; ++i ) {
+        FRAMES_TO_MSF(cdrom->track[i].length, &m, &s, &f);
+        if ( f > 0 )
+            ++s;
+        printf("\tTrack (index %d) %d: %d:%2.2d\n", i,
+        cdrom->track[i].id, m, s);
+    }

Play an entire CD

    SDL_CD *cdrom;          /* Assuming this has already been set.. */
+
+    // Play entire CD:
+    if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
+        SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
+
+        // Play last track:
+        if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
+            SDL_CDPlayTracks(cdrom, cdrom->numtracks-1, 0, 0, 0);
+        }
+
+        // Play first and second track and 10 seconds of third track:
+        if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
+            SDL_CDPlayTracks(cdrom, 0, 0, 2, CD_FPS * 10);


PrevHomeNext
Audio ExamplesUpTime Examples
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidecredits.html b/distrib/sdl-1.2.15/docs/html/guidecredits.html new file mode 100644 index 0000000..b66b28f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidecredits.html @@ -0,0 +1,195 @@ +Credits
SDL Library Documentation
PrevPrefaceNext

Credits

Sam Lantinga, slouken@libsdl.org
Martin Donlon, akawaka@skynet.ie
Mattias Engdegård
Julian Peterson
Ken Jordan
Maxim Sobolev
Wesley Poole
Michael Vance
Andreas Umbach
Andreas Hofmeister


PrevHomeNext
About SDLdocUpThe Basics
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideeventexamples.html b/distrib/sdl-1.2.15/docs/html/guideeventexamples.html new file mode 100644 index 0000000..3001369 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideeventexamples.html @@ -0,0 +1,247 @@ +Event Examples
SDL Library Documentation
PrevChapter 4. ExamplesNext

Event Examples

Filtering and Handling Events

#include <stdio.h>
+#include <stdlib.h>
+
+#include "SDL.h"
+
+/* This function may run in a separate event thread */
+int FilterEvents(const SDL_Event *event) {
+    static int boycott = 1;
+
+    /* This quit event signals the closing of the window */
+    if ( (event->type == SDL_QUIT) && boycott ) {
+        printf("Quit event filtered out -- try again.\n");
+        boycott = 0;
+        return(0);
+    }
+    if ( event->type == SDL_MOUSEMOTION ) {
+        printf("Mouse moved to (%d,%d)\n",
+                event->motion.x, event->motion.y);
+        return(0);    /* Drop it, we've handled it */
+    }
+    return(1);
+}
+
+int main(int argc, char *argv[])
+{
+    SDL_Event event;
+
+    /* Initialize the SDL library (starts the event loop) */
+    if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
+        fprintf(stderr,
+                "Couldn't initialize SDL: %s\n", SDL_GetError());
+        exit(1);
+    }
+
+    /* Clean up on exit, exit on window close and interrupt */
+    atexit(SDL_Quit);
+
+    /* Ignore key events */
+    SDL_EventState(SDL_KEYDOWN, SDL_IGNORE);
+    SDL_EventState(SDL_KEYUP, SDL_IGNORE);
+
+    /* Filter quit and mouse motion events */
+    SDL_SetEventFilter(FilterEvents);
+
+    /* The mouse isn't much use unless we have a display for reference */
+    if ( SDL_SetVideoMode(640, 480, 8, 0) == NULL ) {
+        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
+                        SDL_GetError());
+        exit(1);
+    }
+
+    /* Loop waiting for ESC+Mouse_Button */
+    while ( SDL_WaitEvent(&event) >= 0 ) {
+        switch (event.type) {
+            case SDL_ACTIVEEVENT: {
+                if ( event.active.state & SDL_APPACTIVE ) {
+                    if ( event.active.gain ) {
+                        printf("App activated\n");
+                    } else {
+                        printf("App iconified\n");
+                    }
+                }
+            }
+            break;
+                    
+            case SDL_MOUSEBUTTONDOWN: {
+                Uint8 *keys;
+
+                keys = SDL_GetKeyState(NULL);
+                if ( keys[SDLK_ESCAPE] == SDL_PRESSED ) {
+                    printf("Bye bye...\n");
+                    exit(0);
+                }
+                printf("Mouse button pressed\n");
+            }
+            break;
+
+            case SDL_QUIT: {
+                printf("Quit requested, quitting.\n");
+                exit(0);
+            }
+            break;
+        }
+    }
+    /* This should never happen */
+    printf("SDL_WaitEvent error: %s\n", SDL_GetError());
+    exit(1);
+}


PrevHomeNext
ExamplesUpAudio Examples
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideexamples.html b/distrib/sdl-1.2.15/docs/html/guideexamples.html new file mode 100644 index 0000000..5b9a847 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideexamples.html @@ -0,0 +1,188 @@ +Examples
SDL Library Documentation
PrevNext

Chapter 4. Examples

Introduction

For the moment these examples are taken directly from the old SDL documentation. By the 1.2 release these examples should hopefully deal with most common SDL programming problems.


PrevHomeNext
Handling the KeyboardUpEvent Examples
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideinput.html b/distrib/sdl-1.2.15/docs/html/guideinput.html new file mode 100644 index 0000000..9b9bbe1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideinput.html @@ -0,0 +1,739 @@ +Input handling
SDL Library Documentation
PrevNext

Chapter 3. Input handling

Handling Joysticks

Initialization

The first step in using a joystick in a SDL program is to initialize the Joystick subsystems of SDL. This done by passing the SDL_INIT_JOYSTICK flag to SDL_Init. The joystick flag will usually be used in conjunction with other flags (like the video flag) because the joystick is usually used to control something.

Example 3-1. Initializing SDL with Joystick Support

    if (SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) < 0)
+    {
+        fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
+        exit(1);
+    }

This will attempt to start SDL with both the video and the joystick subsystems activated.

Querying

If we have reached this point then we can safely assume that the SDL library has been initialized and that the Joystick subsystem is active. We can now call some video and/or sound functions to get things going before we need the joystick. Eventually we have to make sure that there is actually a joystick to work with. It's wise to always check even if you know a joystick will be present on the system because it can also help detect when the joystick is unplugged. The function used to check for joysticks is SDL_NumJoysticks.

This function simply returns the number of joysticks available on the system. If it is at least one then we are in good shape. The next step is to determine which joystick the user wants to use. If the number of joysticks available is only one then it is safe to assume that one joystick is the one the user wants to use. SDL has a function to get the name of the joysticks as assigned by the operations system and that function is SDL_JoystickName. The joystick is specified by an index where 0 is the first joystick and the last joystick is the number returned by SDL_NumJoysticks - 1. In the demonstration a list of all available joysticks is printed to stdout.

Example 3-2. Querying the Number of Available Joysticks

    printf("%i joysticks were found.\n\n", SDL_NumJoysticks() );
+    printf("The names of the joysticks are:\n");
+		
+    for( i=0; i < SDL_NumJoysticks(); i++ ) 
+    {
+        printf("    %s\n", SDL_JoystickName(i));
+    }

Opening a Joystick and Receiving Joystick Events

SDL's event driven architecture makes working with joysticks a snap. Joysticks can trigger 4 different types of events: +

SDL_JoyAxisEventOccurs when an axis changes
SDL_JoyBallEventOccurs when a joystick trackball's position changes
SDL_JoyHatEventOccurs when a hat's position changes
SDL_JoyButtonEventOccurs when a button is pressed or released

Events are received from all joysticks opened. The first thing that needs to be done in order to receive joystick events is to call SDL_JoystickEventState with the SDL_ENABLE flag. Next you must open the joysticks that you want to receive events from. This is done with the SDL_JoystickOpen function. For the example we are only interested in events from the first joystick on the system, regardless of what it may be. To receive events from it we would do this:

Example 3-3. Opening a Joystick

    SDL_Joystick *joystick;
+
+    SDL_JoystickEventState(SDL_ENABLE);
+    joystick = SDL_JoystickOpen(0);

If we wanted to receive events for other joysticks we would open them with calls to SDL_JoystickOpen just like we opened joystick 0, except we would store the SDL_Joystick structure they return in a different pointer. We only need the joystick pointer when we are querying the joysticks or when we are closing the joystick.

Up to this point all the code we have is used just to initialize the joysticks in order to read values at run time. All we need now is an event loop, which is something that all SDL programs should have anyway to receive the systems quit events. We must now add code to check the event loop for at least some of the above mentioned events. Let's assume our event loop looks like this: +

    SDL_Event event;
+    /* Other initializtion code goes here */   
+
+    /* Start main game loop here */
+
+    while(SDL_PollEvent(&event))
+    {  
+        switch(event.type)
+        {  
+            case SDL_KEYDOWN:
+            /* handle keyboard stuff here */				
+            break;
+
+            case SDL_QUIT:
+            /* Set whatever flags are necessary to */
+            /* end the main game loop here */
+            break;
+        }
+    }
+
+    /* End loop here */
+To handle Joystick events we merely add cases for them, first we'll add axis handling code. Axis checks can get kinda of tricky because alot of the joystick events received are junk. Joystick axis have a tendency to vary just a little between polling due to the way they are designed. To compensate for this you have to set a threshold for changes and ignore the events that have'nt exceeded the threshold. 10% is usually a good threshold value. This sounds a lot more complicated than it is. Here is the Axis event handler:

Example 3-4. Joystick Axis Events

    case SDL_JOYAXISMOTION:  /* Handle Joystick Motion */
+    if ( ( event.jaxis.value < -3200 ) || (event.jaxis.value > 3200 ) ) 
+    {
+      /* code goes here */
+    }
+    break;

Another trick with axis events is that up-down and left-right movement are two different sets of axes. The most important axis is axis 0 (left-right) and axis 1 (up-down). To handle them seperatly in the code we do the following:

Example 3-5. More Joystick Axis Events

    case SDL_JOYAXISMOTION:  /* Handle Joystick Motion */
+    if ( ( event.jaxis.value < -3200 ) || (event.jaxis.value > 3200 ) ) 
+    {
+        if( event.jaxis.axis == 0) 
+        {
+            /* Left-right movement code goes here */
+        }
+
+        if( event.jaxis.axis == 1) 
+        {
+            /* Up-Down movement code goes here */
+        }
+    }
+    break;

Ideally the code here should use event.jaxis.value to scale something. For example lets assume you are using the joystick to control the movement of a spaceship. If the user is using an analog joystick and they push the stick a little bit they expect to move less than if they pushed it a lot. Designing your code for this situation is preferred because it makes the experience for users of analog controls better and remains the same for users of digital controls.

If your joystick has any additional axis then they may be used for other sticks or throttle controls and those axis return values too just with different event.jaxis.axis values.

Button handling is simple compared to the axis checking.

Example 3-6. Joystick Button Events

    case SDL_JOYBUTTONDOWN:  /* Handle Joystick Button Presses */
+    if ( event.jbutton.button == 0 ) 
+    {
+        /* code goes here */
+    }
+    break;

Button checks are simpler than axis checks because a button can only be pressed or not pressed. The SDL_JOYBUTTONDOWN event is triggered when a button is pressed and the SDL_JOYBUTTONUP event is fired when a button is released. We do have to know what button was pressed though, that is done by reading the event.jbutton.button field.

Lastly when we are through using our joysticks we should close them with a call to SDL_JoystickClose. To close our opened joystick 0 we would do this at the end of our program: +

    SDL_JoystickClose(joystick);

Advanced Joystick Functions

That takes care of the controls that you can count on being on every joystick under the sun, but there are a few extra things that SDL can support. Joyballs are next on our list, they are alot like axis with a few minor differences. Joyballs store relative changes unlike the the absolute postion stored in a axis event. Also one trackball event contains both the change in x and they change in y. Our case for it is as follows:

Example 3-7. Joystick Ball Events

    case SDL_JOYBALLMOTION:  /* Handle Joyball Motion */
+    if( event.jball.ball == 0 )
+    {
+      /* ball handling */
+    }
+    break;

The above checks the first joyball on the joystick. The change in position will be stored in event.jball.xrel and event.jball.yrel.

Finally we have the hat event. Hats report only the direction they are pushed in. We check hat's position with the bitmasks: + +

SDL_HAT_CENTERED
SDL_HAT_UP
SDL_HAT_RIGHT
SDL_HAT_DOWN
SDL_HAT_LEFT

+ +Also there are some predefined combinations of the above: +

SDL_HAT_RIGHTUP
SDL_HAT_RIGHTDOWN
SDL_HAT_LEFTUP
SDL_HAT_LEFTDOWN

+ +Our case for the hat may resemble the following:

Example 3-8. Joystick Hat Events

    case SDL_JOYHATMOTION:  /* Handle Hat Motion */
+    if ( event.jhat.value & SDL_HAT_UP )
+    {
+        /* Do up stuff here */
+    }
+
+    if ( event.jhat.value & SDL_HAT_LEFT )
+    {
+        /* Do left stuff here */
+    }
+
+    if ( event.jhat.value & SDL_HAT_RIGHTDOWN )
+    {
+        /* Do right and down together stuff here */
+    }
+    break;

In addition to the queries for number of joysticks on the system and their names there are additional functions to query the capabilities of attached joysticks: +

SDL_JoystickNumAxesReturns the number of joysitck axes
SDL_JoystickNumButtonsReturns the number of joysitck buttons
SDL_JoystickNumBallsReturns the number of joysitck balls
SDL_JoystickNumHatsReturns the number of joysitck hats

+ +To use these functions we just have to pass in the joystick structure we got when we opened the joystick. For Example:

Example 3-9. Querying Joystick Characteristics

    int number_of_buttons;
+    SDL_Joystick *joystick;
+
+    joystick = SDL_JoystickOpen(0);
+    number_of_buttons = SDL_JoystickNumButtons(joystick);

This block of code would get the number of buttons on the first joystick in the system.


PrevHomeNext
Using OpenGL With SDLUpHandling the Keyboard
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guideinputkeyboard.html b/distrib/sdl-1.2.15/docs/html/guideinputkeyboard.html new file mode 100644 index 0000000..787036c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guideinputkeyboard.html @@ -0,0 +1,746 @@ +Handling the Keyboard
SDL Library Documentation
PrevChapter 3. Input handlingNext

Handling the Keyboard

Keyboard Related Structures

It should make it a lot easier to understand this tutorial is you are familiar with the data types involved in keyboard access, so I'll explain them first.

SDLKey

SDLKey is an enumerated type defined in SDL/include/SDL_keysym.h and detailed here. Each SDLKey symbol represents a key, SDLK_a corresponds to the 'a' key on a keyboard, SDLK_SPACE corresponds to the space bar, and so on.

SDLMod

SDLMod is an enumerated type, similar to SDLKey, however it enumerates keyboard modifiers (Control, Alt, Shift). The full list of modifier symbols is here. SDLMod values can be AND'd together to represent several modifiers.

SDL_keysym

typedef struct{
+  Uint8 scancode;
+  SDLKey sym;
+  SDLMod mod;
+  Uint16 unicode;
+} SDL_keysym;

The SDL_keysym structure describes a key press or a key release. The scancode field is hardware specific and should be ignored unless you know what your doing. The sym field is the SDLKey value of the key being pressed or released. The mod field describes the state of the keyboard modifiers at the time the key press or release occurred. So a value of KMOD_NUM | KMOD_CAPS | KMOD_LSHIFT would mean that Numlock, Capslock and the left shift key were all press (or enabled in the case of the lock keys). Finally, the unicode field stores the 16-bit unicode value of the key.

Note: It should be noted and understood that this field is only valid when the SDL_keysym is describing a key press, not a key release. Unicode values only make sense on a key press because the unicode value describes an international character and only key presses produce characters. More information on Unicode can be found at www.unicode.org

Note: Unicode translation must be enabled using the SDL_EnableUNICODE function.

SDL_KeyboardEvent

typedef struct{
+  Uint8 type;
+  Uint8 state;
+  SDL_keysym keysym;
+} SDL_KeyboardEvent;

The SDL_KeyboardEvent describes a keyboard event (obviously). The key member of the SDL_Event union is a SDL_KeyboardEvent structure. The type field specifies whether the event is a key release (SDL_KEYUP) or a key press (SDL_KEYDOWN) event. The state is largely redundant, it reports the same information as the type field but uses different values (SDL_RELEASED and SDL_PRESSED). The keysym contains information of the key press or release that this event represents (see above).

Reading Keyboard Events

Reading keybaord events from the event queue is quite simple (the event queue and using it is described here). We read events using SDL_PollEvent in a while() loop and check for SDL_KEYUP and SDL_KEYDOWN events using a switch statement, like so:

Example 3-10. Reading Keyboard Events

  SDL_Event event;
+  .
+  .
+  /* Poll for events. SDL_PollEvent() returns 0 when there are no  */
+  /* more events on the event queue, our while loop will exit when */
+  /* that occurs.                                                  */
+  while( SDL_PollEvent( &event ) ){
+    /* We are only worried about SDL_KEYDOWN and SDL_KEYUP events */
+    switch( event.type ){
+      case SDL_KEYDOWN:
+        printf( "Key press detected\n" );
+        break;
+
+      case SDL_KEYUP:
+        printf( "Key release detected\n" );
+        break;
+
+      default:
+        break;
+    }
+  }
+  .
+  .

This is a very basic example. No information about the key press or release is interpreted. We will explore the other extreme out our first full example below - reporting all available information about a keyboard event.

A More Detailed Look

Before we can read events SDL must be initialised with SDL_Init and a video mode must be set using SDL_SetVideoMode. There are, however, two other functions we must use to obtain all the information required. We must enable unicode translation by calling SDL_EnableUNICODE(1) and we must convert SDLKey values into something printable, using SDL_GetKeyName

Note: It is useful to note that unicode values < 0x80 translate directly a characters ASCII value. THis is used in the example below

Example 3-11. Interpreting Key Event Information


    #include "SDL.h"
+
+    /* Function Prototypes */
+    void PrintKeyInfo( SDL_KeyboardEvent *key );
+    void PrintModifiers( SDLMod mod );
+
+    /* main */
+    int main( int argc, char *argv[] ){
+        
+        SDL_Event event;
+        int quit = 0;
+        
+        /* Initialise SDL */
+        if( SDL_Init( SDL_INIT_VIDEO ) < 0){
+            fprintf( stderr, "Could not initialise SDL: %s\n", SDL_GetError() );
+            exit( -1 );
+        }
+
+        /* Set a video mode */
+        if( !SDL_SetVideoMode( 320, 200, 0, 0 ) ){
+            fprintf( stderr, "Could not set video mode: %s\n", SDL_GetError() );
+            SDL_Quit();
+            exit( -1 );
+        }
+
+        /* Enable Unicode translation */
+        SDL_EnableUNICODE( 1 );
+
+        /* Loop until an SDL_QUIT event is found */
+        while( !quit ){
+
+            /* Poll for events */
+            while( SDL_PollEvent( &event ) ){
+                
+                switch( event.type ){
+                    /* Keyboard event */
+                    /* Pass the event data onto PrintKeyInfo() */
+                    case SDL_KEYDOWN:
+                    case SDL_KEYUP:
+                        PrintKeyInfo( &event.key );
+                        break;
+
+                    /* SDL_QUIT event (window close) */
+                    case SDL_QUIT:
+                        quit = 1;
+                        break;
+
+                    default:
+                        break;
+                }
+
+            }
+
+        }
+
+        /* Clean up */
+        SDL_Quit();
+        exit( 0 );
+    }
+
+    /* Print all information about a key event */
+    void PrintKeyInfo( SDL_KeyboardEvent *key ){
+        /* Is it a release or a press? */
+        if( key->type == SDL_KEYUP )
+            printf( "Release:- " );
+        else
+            printf( "Press:- " );
+
+        /* Print the hardware scancode first */
+        printf( "Scancode: 0x%02X", key->keysym.scancode );
+        /* Print the name of the key */
+        printf( ", Name: %s", SDL_GetKeyName( key->keysym.sym ) );
+        /* We want to print the unicode info, but we need to make */
+        /* sure its a press event first (remember, release events */
+        /* don't have unicode info                                */
+        if( key->type == SDL_KEYDOWN ){
+            /* If the Unicode value is less than 0x80 then the    */
+            /* unicode value can be used to get a printable       */
+            /* representation of the key, using (char)unicode.    */
+            printf(", Unicode: " );
+            if( key->keysym.unicode < 0x80 && key->keysym.unicode > 0 ){
+                printf( "%c (0x%04X)", (char)key->keysym.unicode,
+                        key->keysym.unicode );
+            }
+            else{
+                printf( "? (0x%04X)", key->keysym.unicode );
+            }
+        }
+        printf( "\n" );
+        /* Print modifier info */
+        PrintModifiers( key->keysym.mod );
+    }
+
+    /* Print modifier info */
+    void PrintModifiers( SDLMod mod ){
+        printf( "Modifers: " );
+
+        /* If there are none then say so and return */
+        if( mod == KMOD_NONE ){
+            printf( "None\n" );
+            return;
+        }
+
+        /* Check for the presence of each SDLMod value */
+        /* This looks messy, but there really isn't    */
+        /* a clearer way.                              */
+        if( mod & KMOD_NUM ) printf( "NUMLOCK " );
+        if( mod & KMOD_CAPS ) printf( "CAPSLOCK " );
+        if( mod & KMOD_LCTRL ) printf( "LCTRL " );
+        if( mod & KMOD_RCTRL ) printf( "RCTRL " );
+        if( mod & KMOD_RSHIFT ) printf( "RSHIFT " );
+        if( mod & KMOD_LSHIFT ) printf( "LSHIFT " );
+        if( mod & KMOD_RALT ) printf( "RALT " );
+        if( mod & KMOD_LALT ) printf( "LALT " );
+        if( mod & KMOD_CTRL ) printf( "CTRL " );
+        if( mod & KMOD_SHIFT ) printf( "SHIFT " );
+        if( mod & KMOD_ALT ) printf( "ALT " );
+        printf( "\n" );
+    }

Game-type Input

I have found that people using keyboard events for games and other interactive applications don't always understand one fundemental point.

Keyboard events only take place when a keys state changes from being unpressed to pressed, and vice versa.

Imagine you have an image of an alien that you wish to move around using the cursor keys: when you pressed the left arrow key you want him to slide over to the left, and when you press the down key you want him to slide down the screen. Examine the following code; it highlights an error that many people have made. +

    /* Alien screen coordinates */
+    int alien_x=0, alien_y=0;
+    .
+    .
+    /* Initialise SDL and video modes and all that */
+    .
+    /* Main game loop */
+    /* Check for events */
+    while( SDL_PollEvent( &event ) ){
+        switch( event.type ){
+            /* Look for a keypress */
+            case SDL_KEYDOWN:
+                /* Check the SDLKey values and move change the coords */
+                switch( event.key.keysym.sym ){
+                    case SDLK_LEFT:
+                        alien_x -= 1;
+                        break;
+                    case SDLK_RIGHT:
+                        alien_x += 1;
+                        break;
+                    case SDLK_UP:
+                        alien_y -= 1;
+                        break;
+                    case SDLK_DOWN:
+                        alien_y += 1;
+                        break;
+                    default:
+                        break;
+                }
+            }
+        }
+    }
+    .
+    .
+At first glance you may think this is a perfectly reasonable piece of code for the task, but it isn't. Like I said keyboard events only occur when a key changes state, so the user would have to press and release the left cursor key 100 times to move the alien 100 pixels to the left.

To get around this problem we must not use the events to change the position of the alien, we use the events to set flags which are then used in a seperate section of code to move the alien. Something like this:

Example 3-12. Proper Game Movement

    /* Alien screen coordinates */
+    int alien_x=0, alien_y=0;
+    int alien_xvel=0, alien_yvel=0;
+    .
+    .
+    /* Initialise SDL and video modes and all that */
+    .
+    /* Main game loop */
+    /* Check for events */
+    while( SDL_PollEvent( &event ) ){
+        switch( event.type ){
+            /* Look for a keypress */
+            case SDL_KEYDOWN:
+                /* Check the SDLKey values and move change the coords */
+                switch( event.key.keysym.sym ){
+                    case SDLK_LEFT:
+                        alien_xvel = -1;
+                        break;
+                    case SDLK_RIGHT:
+                        alien_xvel =  1;
+                        break;
+                    case SDLK_UP:
+                        alien_yvel = -1;
+                        break;
+                    case SDLK_DOWN:
+                        alien_yvel =  1;
+                        break;
+                    default:
+                        break;
+                }
+                break;
+            /* We must also use the SDL_KEYUP events to zero the x */
+            /* and y velocity variables. But we must also be       */
+            /* careful not to zero the velocities when we shouldn't*/
+            case SDL_KEYUP:
+                switch( event.key.keysym.sym ){
+                    case SDLK_LEFT:
+                        /* We check to make sure the alien is moving */
+                        /* to the left. If it is then we zero the    */
+                        /* velocity. If the alien is moving to the   */
+                        /* right then the right key is still press   */
+                        /* so we don't tocuh the velocity            */
+                        if( alien_xvel < 0 )
+                            alien_xvel = 0;
+                        break;
+                    case SDLK_RIGHT:
+                        if( alien_xvel > 0 )
+                            alien_xvel = 0;
+                        break;
+                    case SDLK_UP:
+                        if( alien_yvel < 0 )
+                            alien_yvel = 0;
+                        break;
+                    case SDLK_DOWN:
+                        if( alien_yvel > 0 )
+                            alien_yvel = 0;
+                        break;
+                    default:
+                        break;
+                }
+                break;
+            
+            default:
+                break;
+        }
+    }
+    .
+    .
+    /* Update the alien position */
+    alien_x += alien_xvel;
+    alien_y += alien_yvel;

As can be seen, we use two extra variables, alien_xvel and alien_yvel, which represent the motion of the ship, it is these variables that we update when we detect keypresses and releases.


PrevHomeNext
Input handlingUpExamples
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidepreface.html b/distrib/sdl-1.2.15/docs/html/guidepreface.html new file mode 100644 index 0000000..9986fc6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidepreface.html @@ -0,0 +1,178 @@ +Preface
SDL Library Documentation
PrevNext

Preface

About SDL

The SDL library is designed to make it easy to write games that run on Linux, *BSD, MacOS, Win32 and BeOS using the various native high-performance media interfaces, (for video, audio, etc) and presenting a single source-code level API to your application. SDL is a fairly low level API, but using it, completely portable applications can be written with a great deal of flexibility.


PrevHomeNext
SDL GuideUpAbout SDLdoc
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidethebasics.html b/distrib/sdl-1.2.15/docs/html/guidethebasics.html new file mode 100644 index 0000000..4f32363 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidethebasics.html @@ -0,0 +1,173 @@ +The Basics
SDL Library Documentation
PrevNext

Chapter 1. The Basics

Introduction

The SDL Guide section is pretty incomplete. If you feel you have anything to add mail akawaka@skynet.ie or visit http://akawaka.csn.ul.ie/tne/.


PrevHomeNext
CreditsUpInitializing SDL
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidetimeexamples.html b/distrib/sdl-1.2.15/docs/html/guidetimeexamples.html new file mode 100644 index 0000000..42b5019 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidetimeexamples.html @@ -0,0 +1,183 @@ +Time Examples
SDL Library Documentation
PrevChapter 4. ExamplesNext

Time Examples

Time based game loop

#define TICK_INTERVAL    30
+
+static Uint32 next_time;
+
+Uint32 time_left(void)
+{
+    Uint32 now;
+
+    now = SDL_GetTicks();
+    if(next_time <= now)
+        return 0;
+    else
+        return next_time - now;
+}
+
+
+/* main game loop */
+
+    next_time = SDL_GetTicks() + TICK_INTERVAL;
+    while ( game_running ) {
+        update_game_state();
+        SDL_Delay(time_left());
+        next_time += TICK_INTERVAL;
+    }


PrevHomeNext
CDROM ExamplesUpSDL Reference
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidevideo.html b/distrib/sdl-1.2.15/docs/html/guidevideo.html new file mode 100644 index 0000000..85da77d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidevideo.html @@ -0,0 +1,463 @@ +Graphics and Video
SDL Library Documentation
PrevNext

Chapter 2. Graphics and Video

Introduction to SDL Video

Video is probably the most common thing that SDL is used for, and +so it has the most complete subsystem. Here are a few +examples to demonstrate the basics.

Initializing the Video Display

This is what almost all SDL programs have to do in one way or +another.

Example 2-1. Initializing the Video Display

    SDL_Surface *screen;
+
+    /* Initialize the SDL library */
+    if( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
+        fprintf(stderr,
+                "Couldn't initialize SDL: %s\n", SDL_GetError());
+        exit(1);
+    }
+
+    /* Clean up on exit */
+    atexit(SDL_Quit);
+    
+    /*
+     * Initialize the display in a 640x480 8-bit palettized mode,
+     * requesting a software surface
+     */
+    screen = SDL_SetVideoMode(640, 480, 8, SDL_SWSURFACE);
+    if ( screen == NULL ) {
+        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
+                        SDL_GetError());
+        exit(1);
+    }

Initializing the Best Video Mode

If you have a preference for a certain pixel depth but will accept any +other, use SDL_SetVideoMode with SDL_ANYFORMAT as below. You can also +use SDL_VideoModeOK() to find the native video mode that is closest to +the mode you request.

Example 2-2. Initializing the Best Video Mode

    /* Have a preference for 8-bit, but accept any depth */
+    screen = SDL_SetVideoMode(640, 480, 8, SDL_SWSURFACE|SDL_ANYFORMAT);
+    if ( screen == NULL ) {
+        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
+                        SDL_GetError());
+        exit(1);
+    }
+    printf("Set 640x480 at %d bits-per-pixel mode\n",
+           screen->format->BitsPerPixel);

Loading and Displaying a BMP File

The following function loads and displays a BMP file given as +argument, once SDL is initialised and a video mode has been set.

Example 2-3. Loading and Displaying a BMP File

void display_bmp(char *file_name)
+{
+    SDL_Surface *image;
+
+    /* Load the BMP file into a surface */
+    image = SDL_LoadBMP(file_name);
+    if (image == NULL) {
+        fprintf(stderr, "Couldn't load %s: %s\n", file_name, SDL_GetError());
+        return;
+    }
+
+    /*
+     * Palettized screen modes will have a default palette (a standard
+     * 8*8*4 colour cube), but if the image is palettized as well we can
+     * use that palette for a nicer colour matching
+     */
+    if (image->format->palette && screen->format->palette) {
+    SDL_SetColors(screen, image->format->palette->colors, 0,
+                  image->format->palette->ncolors);
+    }
+
+    /* Blit onto the screen surface */
+    if(SDL_BlitSurface(image, NULL, screen, NULL) < 0)
+        fprintf(stderr, "BlitSurface error: %s\n", SDL_GetError());
+
+    SDL_UpdateRect(screen, 0, 0, image->w, image->h);
+
+    /* Free the allocated BMP surface */
+    SDL_FreeSurface(image);
+}

Drawing Directly to the Display

The following two functions can be used to get and set single +pixels of a surface. They are carefully written to work with any depth +currently supported by SDL. Remember to lock the surface before +calling them, and to unlock it before calling any other SDL +functions.

To convert between pixel values and their red, green, blue +components, use SDL_GetRGB() and SDL_MapRGB().

Example 2-4. getpixel()

/*
+ * Return the pixel value at (x, y)
+ * NOTE: The surface must be locked before calling this!
+ */
+Uint32 getpixel(SDL_Surface *surface, int x, int y)
+{
+    int bpp = surface->format->BytesPerPixel;
+    /* Here p is the address to the pixel we want to retrieve */
+    Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp;
+
+    switch(bpp) {
+    case 1:
+        return *p;
+
+    case 2:
+        return *(Uint16 *)p;
+
+    case 3:
+        if(SDL_BYTEORDER == SDL_BIG_ENDIAN)
+            return p[0] << 16 | p[1] << 8 | p[2];
+        else
+            return p[0] | p[1] << 8 | p[2] << 16;
+
+    case 4:
+        return *(Uint32 *)p;
+
+    default:
+        return 0;       /* shouldn't happen, but avoids warnings */
+    }
+}

Example 2-5. putpixel()

/*
+ * Set the pixel at (x, y) to the given value
+ * NOTE: The surface must be locked before calling this!
+ */
+void putpixel(SDL_Surface *surface, int x, int y, Uint32 pixel)
+{
+    int bpp = surface->format->BytesPerPixel;
+    /* Here p is the address to the pixel we want to set */
+    Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp;
+
+    switch(bpp) {
+    case 1:
+        *p = pixel;
+        break;
+
+    case 2:
+        *(Uint16 *)p = pixel;
+        break;
+
+    case 3:
+        if(SDL_BYTEORDER == SDL_BIG_ENDIAN) {
+            p[0] = (pixel >> 16) & 0xff;
+            p[1] = (pixel >> 8) & 0xff;
+            p[2] = pixel & 0xff;
+        } else {
+            p[0] = pixel & 0xff;
+            p[1] = (pixel >> 8) & 0xff;
+            p[2] = (pixel >> 16) & 0xff;
+        }
+        break;
+
+    case 4:
+        *(Uint32 *)p = pixel;
+        break;
+    }
+}

The following code uses the putpixel() function above to set a +yellow pixel in the middle of the screen.

Example 2-6. Using putpixel()


    /* Code to set a yellow pixel at the center of the screen */
+
+    int x, y;
+    Uint32 yellow;
+
+    /* Map the color yellow to this display (R=0xff, G=0xFF, B=0x00)
+       Note:  If the display is palettized, you must set the palette first.
+    */
+    yellow = SDL_MapRGB(screen->format, 0xff, 0xff, 0x00);
+
+    x = screen->w / 2;
+    y = screen->h / 2;
+
+    /* Lock the screen for direct access to the pixels */
+    if ( SDL_MUSTLOCK(screen) ) {
+        if ( SDL_LockSurface(screen) < 0 ) {
+            fprintf(stderr, "Can't lock screen: %s\n", SDL_GetError());
+            return;
+        }
+    }
+
+    putpixel(screen, x, y, yellow);
+
+    if ( SDL_MUSTLOCK(screen) ) {
+        SDL_UnlockSurface(screen);
+    }
+    /* Update just the part of the display that we've changed */
+    SDL_UpdateRect(screen, x, y, 1, 1);
+
+    return;

PrevHomeNext
Initializing SDLUpUsing OpenGL With SDL
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/guidevideoopengl.html b/distrib/sdl-1.2.15/docs/html/guidevideoopengl.html new file mode 100644 index 0000000..0abd567 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/guidevideoopengl.html @@ -0,0 +1,730 @@ +Using OpenGL With SDL
SDL Library Documentation
PrevChapter 2. Graphics and VideoNext

Using OpenGL With SDL

SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, Mac OS X, FreeBSD/X11 and Solaris/X11). This allows you to use SDL's audio, event handling, threads and times in your OpenGL applications (a function often performed by GLUT).

Initialisation

Initialising SDL to use OpenGL is not very different to initialising SDL normally. There are three differences; you must pass SDL_OPENGL to SDL_SetVideoMode, you must specify several GL attributes (depth buffer size, framebuffer sizes) using SDL_GL_SetAttribute and finally, if you wish to use double buffering you must specify it as a GL attribute, not by passing the SDL_DOUBLEBUF flag to SDL_SetVideoMode.

Example 2-7. Initializing SDL with OpenGL

    /* Information about the current video settings. */
+    const SDL_VideoInfo* info = NULL;
+    /* Dimensions of our window. */
+    int width = 0;
+    int height = 0;
+    /* Color depth in bits of our window. */
+    int bpp = 0;
+    /* Flags we will pass into SDL_SetVideoMode. */
+    int flags = 0;
+
+    /* First, initialize SDL's video subsystem. */
+    if( SDL_Init( SDL_INIT_VIDEO ) < 0 ) {
+        /* Failed, exit. */
+        fprintf( stderr, "Video initialization failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }
+
+    /* Let's get some video information. */
+    info = SDL_GetVideoInfo( );
+
+    if( !info ) {
+        /* This should probably never happen. */
+        fprintf( stderr, "Video query failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }
+
+    /*
+     * Set our width/height to 640/480 (you would
+     * of course let the user decide this in a normal
+     * app). We get the bpp we will request from
+     * the display. On X11, VidMode can't change
+     * resolution, so this is probably being overly
+     * safe. Under Win32, ChangeDisplaySettings
+     * can change the bpp.
+     */
+    width = 640;
+    height = 480;
+    bpp = info->vfmt->BitsPerPixel;
+
+    /*
+     * Now, we want to setup our requested
+     * window attributes for our OpenGL window.
+     * We want *at least* 5 bits of red, green
+     * and blue. We also want at least a 16-bit
+     * depth buffer.
+     *
+     * The last thing we do is request a double
+     * buffered window. '1' turns on double
+     * buffering, '0' turns it off.
+     *
+     * Note that we do not use SDL_DOUBLEBUF in
+     * the flags to SDL_SetVideoMode. That does
+     * not affect the GL attribute state, only
+     * the standard 2D blitting setup.
+     */
+    SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
+    SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
+
+    /*
+     * We want to request that SDL provide us
+     * with an OpenGL window, in a fullscreen
+     * video mode.
+     *
+     * EXERCISE:
+     * Make starting windowed an option, and
+     * handle the resize events properly with
+     * glViewport.
+     */
+    flags = SDL_OPENGL | SDL_FULLSCREEN;
+
+    /*
+     * Set the video mode
+     */
+    if( SDL_SetVideoMode( width, height, bpp, flags ) == 0 ) {
+        /* 
+         * This could happen for a variety of reasons,
+         * including DISPLAY not being set, the specified
+         * resolution not being available, etc.
+         */
+        fprintf( stderr, "Video mode set failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }

Drawing

Apart from initialisation, using OpenGL within SDL is the same as using OpenGL +with any other API, e.g. GLUT. You still use all the same function calls and +data types. However if you are using a double-buffered display, then you must +use +SDL_GL_SwapBuffers() +to swap the buffers and update the display. To request double-buffering +with OpenGL, use +SDL_GL_SetAttribute +with SDL_GL_DOUBLEBUFFER, and use +SDL_GL_GetAttribute +to see if you actually got it.

A full example code listing is now presented below.

Example 2-8. SDL and OpenGL

/*
+ * SDL OpenGL Tutorial.
+ * (c) Michael Vance, 2000
+ * briareos@lokigames.com
+ *
+ * Distributed under terms of the LGPL. 
+ */
+
+#include <SDL/SDL.h>
+#include <GL/gl.h>
+#include <GL/glu.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+
+static GLboolean should_rotate = GL_TRUE;
+
+static void quit_tutorial( int code )
+{
+    /*
+     * Quit SDL so we can release the fullscreen
+     * mode and restore the previous video settings,
+     * etc.
+     */
+    SDL_Quit( );
+
+    /* Exit program. */
+    exit( code );
+}
+
+static void handle_key_down( SDL_keysym* keysym )
+{
+
+    /* 
+     * We're only interested if 'Esc' has
+     * been presssed.
+     *
+     * EXERCISE: 
+     * Handle the arrow keys and have that change the
+     * viewing position/angle.
+     */
+    switch( keysym->sym ) {
+    case SDLK_ESCAPE:
+        quit_tutorial( 0 );
+        break;
+    case SDLK_SPACE:
+        should_rotate = !should_rotate;
+        break;
+    default:
+        break;
+    }
+
+}
+
+static void process_events( void )
+{
+    /* Our SDL event placeholder. */
+    SDL_Event event;
+
+    /* Grab all the events off the queue. */
+    while( SDL_PollEvent( &event ) ) {
+
+        switch( event.type ) {
+        case SDL_KEYDOWN:
+            /* Handle key presses. */
+            handle_key_down( &event.key.keysym );
+            break;
+        case SDL_QUIT:
+            /* Handle quit requests (like Ctrl-c). */
+            quit_tutorial( 0 );
+            break;
+        }
+
+    }
+
+}
+
+static void draw_screen( void )
+{
+    /* Our angle of rotation. */
+    static float angle = 0.0f;
+
+    /*
+     * EXERCISE:
+     * Replace this awful mess with vertex
+     * arrays and a call to glDrawElements.
+     *
+     * EXERCISE:
+     * After completing the above, change
+     * it to use compiled vertex arrays.
+     *
+     * EXERCISE:
+     * Verify my windings are correct here ;).
+     */
+    static GLfloat v0[] = { -1.0f, -1.0f,  1.0f };
+    static GLfloat v1[] = {  1.0f, -1.0f,  1.0f };
+    static GLfloat v2[] = {  1.0f,  1.0f,  1.0f };
+    static GLfloat v3[] = { -1.0f,  1.0f,  1.0f };
+    static GLfloat v4[] = { -1.0f, -1.0f, -1.0f };
+    static GLfloat v5[] = {  1.0f, -1.0f, -1.0f };
+    static GLfloat v6[] = {  1.0f,  1.0f, -1.0f };
+    static GLfloat v7[] = { -1.0f,  1.0f, -1.0f };
+    static GLubyte red[]    = { 255,   0,   0, 255 };
+    static GLubyte green[]  = {   0, 255,   0, 255 };
+    static GLubyte blue[]   = {   0,   0, 255, 255 };
+    static GLubyte white[]  = { 255, 255, 255, 255 };
+    static GLubyte yellow[] = {   0, 255, 255, 255 };
+    static GLubyte black[]  = {   0,   0,   0, 255 };
+    static GLubyte orange[] = { 255, 255,   0, 255 };
+    static GLubyte purple[] = { 255,   0, 255,   0 };
+
+    /* Clear the color and depth buffers. */
+    glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
+    /* We don't want to modify the projection matrix. */
+    glMatrixMode( GL_MODELVIEW );
+    glLoadIdentity( );
+
+    /* Move down the z-axis. */
+    glTranslatef( 0.0, 0.0, -5.0 );
+
+    /* Rotate. */
+    glRotatef( angle, 0.0, 1.0, 0.0 );
+
+    if( should_rotate ) {
+
+        if( ++angle > 360.0f ) {
+            angle = 0.0f;
+        }
+
+    }
+
+    /* Send our triangle data to the pipeline. */
+    glBegin( GL_TRIANGLES );
+
+    glColor4ubv( red );
+    glVertex3fv( v0 );
+    glColor4ubv( green );
+    glVertex3fv( v1 );
+    glColor4ubv( blue );
+    glVertex3fv( v2 );
+
+    glColor4ubv( red );
+    glVertex3fv( v0 );
+    glColor4ubv( blue );
+    glVertex3fv( v2 );
+    glColor4ubv( white );
+    glVertex3fv( v3 );
+
+    glColor4ubv( green );
+    glVertex3fv( v1 );
+    glColor4ubv( black );
+    glVertex3fv( v5 );
+    glColor4ubv( orange );
+    glVertex3fv( v6 );
+
+    glColor4ubv( green );
+    glVertex3fv( v1 );
+    glColor4ubv( orange );
+    glVertex3fv( v6 );
+    glColor4ubv( blue );
+    glVertex3fv( v2 );
+
+    glColor4ubv( black );
+    glVertex3fv( v5 );
+    glColor4ubv( yellow );
+    glVertex3fv( v4 );
+    glColor4ubv( purple );
+    glVertex3fv( v7 );
+
+    glColor4ubv( black );
+    glVertex3fv( v5 );
+    glColor4ubv( purple );
+    glVertex3fv( v7 );
+    glColor4ubv( orange );
+    glVertex3fv( v6 );
+
+    glColor4ubv( yellow );
+    glVertex3fv( v4 );
+    glColor4ubv( red );
+    glVertex3fv( v0 );
+    glColor4ubv( white );
+    glVertex3fv( v3 );
+
+    glColor4ubv( yellow );
+    glVertex3fv( v4 );
+    glColor4ubv( white );
+    glVertex3fv( v3 );
+    glColor4ubv( purple );
+    glVertex3fv( v7 );
+
+    glColor4ubv( white );
+    glVertex3fv( v3 );
+    glColor4ubv( blue );
+    glVertex3fv( v2 );
+    glColor4ubv( orange );
+    glVertex3fv( v6 );
+
+    glColor4ubv( white );
+    glVertex3fv( v3 );
+    glColor4ubv( orange );
+    glVertex3fv( v6 );
+    glColor4ubv( purple );
+    glVertex3fv( v7 );
+
+    glColor4ubv( green );
+    glVertex3fv( v1 );
+    glColor4ubv( red );
+    glVertex3fv( v0 );
+    glColor4ubv( yellow );
+    glVertex3fv( v4 );
+
+    glColor4ubv( green );
+    glVertex3fv( v1 );
+    glColor4ubv( yellow );
+    glVertex3fv( v4 );
+    glColor4ubv( black );
+    glVertex3fv( v5 );
+
+    glEnd( );
+
+    /*
+     * EXERCISE:
+     * Draw text telling the user that 'Spc'
+     * pauses the rotation and 'Esc' quits.
+     * Do it using vetors and textured quads.
+     */
+
+    /*
+     * Swap the buffers. This this tells the driver to
+     * render the next frame from the contents of the
+     * back-buffer, and to set all rendering operations
+     * to occur on what was the front-buffer.
+     *
+     * Double buffering prevents nasty visual tearing
+     * from the application drawing on areas of the
+     * screen that are being updated at the same time.
+     */
+    SDL_GL_SwapBuffers( );
+}
+
+static void setup_opengl( int width, int height )
+{
+    float ratio = (float) width / (float) height;
+
+    /* Our shading model--Gouraud (smooth). */
+    glShadeModel( GL_SMOOTH );
+
+    /* Culling. */
+    glCullFace( GL_BACK );
+    glFrontFace( GL_CCW );
+    glEnable( GL_CULL_FACE );
+
+    /* Set the clear color. */
+    glClearColor( 0, 0, 0, 0 );
+
+    /* Setup our viewport. */
+    glViewport( 0, 0, width, height );
+
+    /*
+     * Change to the projection matrix and set
+     * our viewing volume.
+     */
+    glMatrixMode( GL_PROJECTION );
+    glLoadIdentity( );
+    /*
+     * EXERCISE:
+     * Replace this with a call to glFrustum.
+     */
+    gluPerspective( 60.0, ratio, 1.0, 1024.0 );
+}
+
+int main( int argc, char* argv[] )
+{
+    /* Information about the current video settings. */
+    const SDL_VideoInfo* info = NULL;
+    /* Dimensions of our window. */
+    int width = 0;
+    int height = 0;
+    /* Color depth in bits of our window. */
+    int bpp = 0;
+    /* Flags we will pass into SDL_SetVideoMode. */
+    int flags = 0;
+
+    /* First, initialize SDL's video subsystem. */
+    if( SDL_Init( SDL_INIT_VIDEO ) < 0 ) {
+        /* Failed, exit. */
+        fprintf( stderr, "Video initialization failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }
+
+    /* Let's get some video information. */
+    info = SDL_GetVideoInfo( );
+
+    if( !info ) {
+        /* This should probably never happen. */
+        fprintf( stderr, "Video query failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }
+
+    /*
+     * Set our width/height to 640/480 (you would
+     * of course let the user decide this in a normal
+     * app). We get the bpp we will request from
+     * the display. On X11, VidMode can't change
+     * resolution, so this is probably being overly
+     * safe. Under Win32, ChangeDisplaySettings
+     * can change the bpp.
+     */
+    width = 640;
+    height = 480;
+    bpp = info->vfmt->BitsPerPixel;
+
+    /*
+     * Now, we want to setup our requested
+     * window attributes for our OpenGL window.
+     * We want *at least* 5 bits of red, green
+     * and blue. We also want at least a 16-bit
+     * depth buffer.
+     *
+     * The last thing we do is request a double
+     * buffered window. '1' turns on double
+     * buffering, '0' turns it off.
+     *
+     * Note that we do not use SDL_DOUBLEBUF in
+     * the flags to SDL_SetVideoMode. That does
+     * not affect the GL attribute state, only
+     * the standard 2D blitting setup.
+     */
+    SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
+    SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
+    SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
+
+    /*
+     * We want to request that SDL provide us
+     * with an OpenGL window, in a fullscreen
+     * video mode.
+     *
+     * EXERCISE:
+     * Make starting windowed an option, and
+     * handle the resize events properly with
+     * glViewport.
+     */
+    flags = SDL_OPENGL | SDL_FULLSCREEN;
+
+    /*
+     * Set the video mode
+     */
+    if( SDL_SetVideoMode( width, height, bpp, flags ) == 0 ) {
+        /* 
+         * This could happen for a variety of reasons,
+         * including DISPLAY not being set, the specified
+         * resolution not being available, etc.
+         */
+        fprintf( stderr, "Video mode set failed: %s\n",
+             SDL_GetError( ) );
+        quit_tutorial( 1 );
+    }
+
+    /*
+     * At this point, we should have a properly setup
+     * double-buffered window for use with OpenGL.
+     */
+    setup_opengl( width, height );
+
+    /*
+     * Now we want to begin our normal app process--
+     * an event loop with a lot of redrawing.
+     */
+    while( 1 ) {
+        /* Process incoming events. */
+        process_events( );
+        /* Draw the screen. */
+        draw_screen( );
+    }
+
+    /*
+     * EXERCISE:
+     * Record timings using SDL_GetTicks() and
+     * and print out frames per second at program
+     * end.
+     */
+
+    /* Never reached. */
+    return 0;
+}

PrevHomeNext
Graphics and VideoUpInput handling
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/index.html b/distrib/sdl-1.2.15/docs/html/index.html new file mode 100644 index 0000000..f86ff19 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/index.html @@ -0,0 +1,1156 @@ +
Table of Contents
I. SDL Guide
Preface
About SDL
About SDLdoc
Credits
1. The Basics
Introduction
Initializing SDL
2. Graphics and Video
Introduction to SDL Video
Using OpenGL With SDL
3. Input handling
Handling Joysticks
Handling the Keyboard
4. Examples
Introduction
Event Examples
Audio Examples
CDROM Examples
Time Examples
II. SDL Reference
5. General
SDL_Init -- Initializes SDL
SDL_InitSubSystem -- Initialize subsystems
SDL_QuitSubSystem -- Shut down a subsystem
SDL_Quit -- Shut down SDL
SDL_WasInit -- Check which subsystems are initialized
SDL_GetError -- Get SDL error string
SDL_envvars -- SDL environment variables
6. Video
SDL_GetVideoSurface -- returns a pointer to the current display surface
SDL_GetVideoInfo -- returns a pointer to information about the video hardware
SDL_VideoDriverName -- Obtain the name of the video driver
SDL_ListModes -- Returns a pointer to an array of available screen dimensions for +the given format and video flags
SDL_VideoModeOK -- Check to see if a particular video mode is supported.
SDL_SetVideoMode -- Set up a video mode with the specified width, height and bits-per-pixel.
SDL_UpdateRect -- Makes sure the given area is updated on the given screen.
SDL_UpdateRects -- Makes sure the given list of rectangles is updated on the given screen.
SDL_Flip -- Swaps screen buffers
SDL_SetColors -- Sets a portion of the colormap for the given 8-bit surface.
SDL_SetPalette -- Sets the colors in the palette of an 8-bit surface.
SDL_SetGamma -- Sets the color gamma function for the display
SDL_GetGammaRamp -- Gets the color gamma lookup tables for the display
SDL_SetGammaRamp -- Sets the color gamma lookup tables for the display
SDL_MapRGB -- Map a RGB color value to a pixel format.
SDL_MapRGBA -- Map a RGBA color value to a pixel format.
SDL_GetRGB -- Get RGB values from a pixel in the specified pixel format.
SDL_GetRGBA -- Get RGBA values from a pixel in the specified pixel format.
SDL_CreateRGBSurface -- Create an empty SDL_Surface
SDL_CreateRGBSurfaceFrom -- Create an SDL_Surface from pixel data
SDL_FreeSurface -- Frees (deletes) a SDL_Surface
SDL_LockSurface -- Lock a surface for directly access.
SDL_UnlockSurface -- Unlocks a previously locked surface.
SDL_LoadBMP -- Load a Windows BMP file into an SDL_Surface.
SDL_SaveBMP -- Save an SDL_Surface as a Windows BMP file.
SDL_SetColorKey -- Sets the color key (transparent pixel) in a blittable surface and +RLE acceleration.
SDL_SetAlpha -- Adjust the alpha properties of a surface
SDL_SetClipRect -- Sets the clipping rectangle for a surface.
SDL_GetClipRect -- Gets the clipping rectangle for a surface.
SDL_ConvertSurface -- Converts a surface to the same format as another surface.
SDL_BlitSurface -- This performs a fast blit from the source surface to the destination surface.
SDL_FillRect -- This function performs a fast fill of the given rectangle with some color
SDL_DisplayFormat -- Convert a surface to the display format
SDL_DisplayFormatAlpha -- Convert a surface to the display format
SDL_WarpMouse -- Set the position of the mouse cursor.
SDL_CreateCursor -- Creates a new mouse cursor.
SDL_FreeCursor -- Frees a cursor created with SDL_CreateCursor.
SDL_SetCursor -- Set the currently active mouse cursor.
SDL_GetCursor -- Get the currently active mouse cursor.
SDL_ShowCursor -- Toggle whether or not the cursor is shown on the screen.
SDL_GL_LoadLibrary -- Specify an OpenGL library
SDL_GL_GetProcAddress -- Get the address of a GL function
SDL_GL_GetAttribute -- Get the value of a special SDL/OpenGL attribute
SDL_GL_SetAttribute -- Set a special SDL/OpenGL attribute
SDL_GL_SwapBuffers -- Swap OpenGL framebuffers/Update Display
SDL_CreateYUVOverlay -- Create a YUV video overlay
SDL_LockYUVOverlay -- Lock an overlay
SDL_UnlockYUVOverlay -- Unlock an overlay
SDL_DisplayYUVOverlay -- Blit the overlay to the display
SDL_FreeYUVOverlay -- Free a YUV video overlay
SDL_GLattr -- SDL GL Attributes
SDL_Rect -- Defines a rectangular area
SDL_Color -- Format independent color description
SDL_Palette -- Color palette for 8-bit pixel formats
SDL_PixelFormat -- Stores surface format information
SDL_Surface -- Graphical Surface Structure
SDL_VideoInfo -- Video Target information
SDL_Overlay -- YUV video overlay
7. Window Management
SDL_WM_SetCaption -- Sets the window tile and icon name.
SDL_WM_GetCaption -- Gets the window title and icon name.
SDL_WM_SetIcon -- Sets the icon for the display window.
SDL_WM_IconifyWindow -- Iconify/Minimise the window
SDL_WM_ToggleFullScreen -- Toggles fullscreen mode
SDL_WM_GrabInput -- Grabs mouse and keyboard input.
8. Events
Introduction
SDL Event Structures.
Event Functions.
9. Joystick
SDL_NumJoysticks -- Count available joysticks.
SDL_JoystickName -- Get joystick name.
SDL_JoystickOpen -- Opens a joystick for use.
SDL_JoystickOpened -- Determine if a joystick has been opened
SDL_JoystickIndex -- Get the index of an SDL_Joystick.
SDL_JoystickNumAxes -- Get the number of joystick axes
SDL_JoystickNumBalls -- Get the number of joystick trackballs
SDL_JoystickNumHats -- Get the number of joystick hats
SDL_JoystickNumButtons -- Get the number of joysitck buttons
SDL_JoystickUpdate -- Updates the state of all joysticks
SDL_JoystickGetAxis -- Get the current state of an axis
SDL_JoystickGetHat -- Get the current state of a joystick hat
SDL_JoystickGetButton -- Get the current state of a given button on a given joystick
SDL_JoystickGetBall -- Get relative trackball motion
SDL_JoystickClose -- Closes a previously opened joystick
10. Audio
SDL_AudioSpec -- Audio Specification Structure
SDL_OpenAudio -- Opens the audio device with the desired parameters.
SDL_PauseAudio -- Pauses and unpauses the audio callback processing
SDL_GetAudioStatus -- Get the current audio state
SDL_LoadWAV -- Load a WAVE file
SDL_FreeWAV -- Frees previously opened WAV data
SDL_AudioCVT -- Audio Conversion Structure
SDL_BuildAudioCVT -- Initializes a SDL_AudioCVT structure for conversion
SDL_ConvertAudio -- Convert audio data to a desired audio format.
SDL_MixAudio -- Mix audio data
SDL_LockAudio -- Lock out the callback function
SDL_UnlockAudio -- Unlock the callback function
SDL_CloseAudio -- Shuts down audio processing and closes the audio device.
11. CD-ROM
SDL_CDNumDrives -- Returns the number of CD-ROM drives on the system.
SDL_CDName -- Returns a human-readable, system-dependent identifier for the CD-ROM.
SDL_CDOpen -- Opens a CD-ROM drive for access.
SDL_CDStatus -- Returns the current status of the given drive.
SDL_CDPlay -- Play a CD
SDL_CDPlayTracks -- Play the given CD track(s)
SDL_CDPause -- Pauses a CDROM
SDL_CDResume -- Resumes a CDROM
SDL_CDStop -- Stops a CDROM
SDL_CDEject -- Ejects a CDROM
SDL_CDClose -- Closes a SDL_CD handle
SDL_CD -- CDROM Drive Information
SDL_CDtrack -- CD Track Information Structure
12. Multi-threaded Programming
SDL_CreateThread -- Creates a new thread of execution that shares its parent's properties.
SDL_ThreadID -- Get the 32-bit thread identifier for the current thread.
SDL_GetThreadID -- Get the SDL thread ID of a SDL_Thread
SDL_WaitThread -- Wait for a thread to finish.
SDL_KillThread -- Gracelessly terminates the thread.
SDL_CreateMutex -- Create a mutex
SDL_DestroyMutex -- Destroy a mutex
SDL_mutexP -- Lock a mutex
SDL_mutexV -- Unlock a mutex
SDL_CreateSemaphore -- Creates a new semaphore and assigns an initial value to it.
SDL_DestroySemaphore -- Destroys a semaphore that was created by SDL_CreateSemaphore.
SDL_SemWait -- Lock a semaphore and suspend the thread if the semaphore value is zero.
SDL_SemTryWait -- Attempt to lock a semaphore but don't suspend the thread.
SDL_SemWaitTimeout -- Lock a semaphore, but only wait up to a specified maximum time.
SDL_SemPost -- Unlock a semaphore.
SDL_SemValue -- Return the current value of a semaphore.
SDL_CreateCond -- Create a condition variable
SDL_DestroyCond -- Destroy a condition variable
SDL_CondSignal -- Restart a thread wait on a condition variable
SDL_CondBroadcast -- Restart all threads waiting on a condition variable
SDL_CondWait -- Wait on a condition variable
SDL_CondWaitTimeout -- Wait on a condition variable, with timeout
13. Time
SDL_GetTicks -- Get the number of milliseconds since the SDL library initialization.
SDL_Delay -- Wait a specified number of milliseconds before returning.
SDL_AddTimer -- Add a timer which will call a callback after the specified number of milliseconds has +elapsed.
SDL_RemoveTimer -- Remove a timer which was added with +SDL_AddTimer.
SDL_SetTimer -- Set a callback to run after the specified number of milliseconds has +elapsed.

  Next
  SDL Guide
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/joystick.html b/distrib/sdl-1.2.15/docs/html/joystick.html new file mode 100644 index 0000000..05da008 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/joystick.html @@ -0,0 +1,296 @@ +Joystick
SDL Library Documentation
PrevNext

Chapter 9. Joystick

Table of Contents
SDL_NumJoysticks -- Count available joysticks.
SDL_JoystickName -- Get joystick name.
SDL_JoystickOpen -- Opens a joystick for use.
SDL_JoystickOpened -- Determine if a joystick has been opened
SDL_JoystickIndex -- Get the index of an SDL_Joystick.
SDL_JoystickNumAxes -- Get the number of joystick axes
SDL_JoystickNumBalls -- Get the number of joystick trackballs
SDL_JoystickNumHats -- Get the number of joystick hats
SDL_JoystickNumButtons -- Get the number of joysitck buttons
SDL_JoystickUpdate -- Updates the state of all joysticks
SDL_JoystickGetAxis -- Get the current state of an axis
SDL_JoystickGetHat -- Get the current state of a joystick hat
SDL_JoystickGetButton -- Get the current state of a given button on a given joystick
SDL_JoystickGetBall -- Get relative trackball motion
SDL_JoystickClose -- Closes a previously opened joystick

Joysticks, and other similar input devices, have a very strong role in game playing and SDL provides comprehensive support for them. Axes, Buttons, POV Hats and trackballs are all supported.

Joystick support is initialized by passed the SDL_INIT_JOYSTICK flag to SDL_Init. Once initilized joysticks must be opened using SDL_JoystickOpen.

While using the functions describe in this secton may seem like the best way to access and read from joysticks, in most cases they aren't. Ideally joysticks should be read using the event system. To enable this, you must set the joystick event processing state with SDL_JoystickEventState. Joysticks must be opened before they can be used of course.

Note: If you are not handling the joystick via the event queue then you must explicitly request a joystick update by calling SDL_JoystickUpdate.

Note: Force Feedback is not yet supported. Sam (slouken@libsdl.org) is soliciting suggestions from people with force-feedback experience on the best way to design the API.


PrevHomeNext
SDL_JoystickEventStateUpSDL_NumJoysticks
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/reference.html b/distrib/sdl-1.2.15/docs/html/reference.html new file mode 100644 index 0000000..e7707a7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/reference.html @@ -0,0 +1,194 @@ +SDL Reference
SDL Library Documentation
PrevNext

II. SDL Reference


PrevHomeNext
Time Examples General
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlactiveevent.html b/distrib/sdl-1.2.15/docs/html/sdlactiveevent.html new file mode 100644 index 0000000..d3f2821 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlactiveevent.html @@ -0,0 +1,335 @@ +SDL_ActiveEvent
SDL Library Documentation
PrevNext

SDL_ActiveEvent

Name

SDL_ActiveEvent -- Application visibility event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 gain;
+  Uint8 state;
+} SDL_ActiveEvent;

Structure Data

typeSDL_ACTIVEEVENT.
gain0 if the event is a loss or 1 if it is a gain.
stateSDL_APPMOUSEFOCUS if mouse focus was gained or lost, SDL_APPINPUTFOCUS if input focus was gained or lost, or SDL_APPACTIVE if the application was iconified (gain=0) or restored(gain=1).

Description

SDL_ActiveEvent is a member of the SDL_Event union and is used when an event of type SDL_ACTIVEEVENT is reported.

When the mouse leaves or enters the window area a SDL_APPMOUSEFOCUS type activation event occurs, if the mouse entered the window then gain will be 1, otherwise gain will be 0. A SDL_APPINPUTFOCUS type activation event occurs when the application loses or gains keyboard focus. This usually occurs when another application is made active. Finally, a SDL_APPACTIVE type event occurs when the application is either minimised/iconified (gain=0) or restored.

Note: This event does not occur when an application window is first created.


PrevHomeNext
SDL_EventUpSDL_KeyboardEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdladdtimer.html b/distrib/sdl-1.2.15/docs/html/sdladdtimer.html new file mode 100644 index 0000000..81c49e5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdladdtimer.html @@ -0,0 +1,296 @@ +SDL_AddTimer
SDL Library Documentation
PrevNext

SDL_AddTimer

Name

SDL_AddTimer -- Add a timer which will call a callback after the specified number of milliseconds has +elapsed.

Synopsis

#include "SDL.h"

SDL_TimerID SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, void *param);

Callback

/* type definition for the "new" timer callback function */
+typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);

Description

Adds a callback function to be run after the specified number of +milliseconds has elapsed. The callback function is passed the current +timer interval and the user supplied parameter from the +SDL_AddTimer call and returns the next timer +interval. If the returned value from the callback is the same as the one +passed in, the periodic alarm continues, otherwise a new alarm is +scheduled.

To cancel a currently running timer call +SDL_RemoveTimer with the +timer ID returned from +SDL_AddTimer.

The timer callback function may run in a different thread than your +main program, and so shouldn't call any functions from within itself. +You may always call SDL_PushEvent, however.

The granularity of the timer is platform-dependent, but you should count +on it being at least 10 ms as this is the most common number. +This means that if +you request a 16 ms timer, your callback will run approximately 20 ms +later on an unloaded system. If you wanted to set a flag signaling +a frame update at 30 frames per second (every 33 ms), you might set a +timer for 30 ms (see example below). + +If you use this function, you need to pass SDL_INIT_TIMER +to SDL_Init.

Return Value

Returns an ID value for the added timer or +NULL if there was an error.

Examples

my_timer_id = SDL_AddTimer((33/10)*10, my_callbackfunc, my_callback_param);


PrevHomeNext
SDL_DelayUpSDL_RemoveTimer
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlaudiocvt.html b/distrib/sdl-1.2.15/docs/html/sdlaudiocvt.html new file mode 100644 index 0000000..ff39209 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlaudiocvt.html @@ -0,0 +1,556 @@ +SDL_AudioCVT
SDL Library Documentation
PrevNext

SDL_AudioCVT

Name

SDL_AudioCVT -- Audio Conversion Structure

Structure Definition

typedef struct{
+  int needed;
+  Uint16 src_format;
+  Uint16 dest_format;
+  double rate_incr;
+  Uint8 *buf;
+  int len;
+  int len_cvt;
+  int len_mult;
+  double len_ratio;
+  void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
+  int filter_index;
+} SDL_AudioCVT;

Structure Data

neededSet to one if the conversion is possible
src_formatAudio format of the source
dest_formatAudio format of the destination
rate_incrRate conversion increment
bufAudio buffer
lenLength of the original audio buffer in bytes
len_cvtLength of converted audio buffer in bytes (calculated)
len_multbuf must be len*len_mult bytes in size(calculated)
len_ratioFinal audio size is len*len_ratio
filters[10](..)Pointers to functions needed for this conversion
filter_indexCurrent conversion function

Description

The SDL_AudioCVT is used to convert audio data between different formats. A SDL_AudioCVT structure is created with the SDL_BuildAudioCVT function, while the actual conversion is done by the SDL_ConvertAudio function.

Many of the fields in the SDL_AudioCVT structure should be considered private and their function will not be discussed here.

Uint8 *buf

This points to the audio data that will be used in the conversion. It is both the source and the destination, which means the converted audio data overwrites the original data. It also means that the converted data may be larger than the original data (if you were converting from 8-bit to 16-bit, for instance), so you must ensure buf is large enough. See below.

int len

This is the length of the original audio data in bytes.

int len_mult

As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data. The length of buf should be len*len_mult.

double len_ratio

When you have finished converting your audio data, you need to know how much of your audio buffer is valid. len*len_ratio is the size of the converted audio data in bytes. This is very similar to len_mult, however when the convert audio data is shorter than the original len_mult would be 1. len_ratio, on the other hand, would be a fractional number between 0 and 1.


PrevHomeNext
SDL_FreeWAVUpSDL_BuildAudioCVT
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlaudiospec.html b/distrib/sdl-1.2.15/docs/html/sdlaudiospec.html new file mode 100644 index 0000000..fc6fa75 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlaudiospec.html @@ -0,0 +1,589 @@ +SDL_AudioSpec
SDL Library Documentation
PrevNext

SDL_AudioSpec

Name

SDL_AudioSpec -- Audio Specification Structure

Structure Definition

typedef struct{
+  int freq;
+  Uint16 format;
+  Uint8 channels;
+  Uint8 silence;
+  Uint16 samples;
+  Uint32 size;
+  void (*callback)(void *userdata, Uint8 *stream, int len);
+  void *userdata;
+} SDL_AudioSpec;

Structure Data

freqAudio frequency in samples per second
formatAudio data format
channelsNumber of channels: 1 mono, 2 stereo
silenceAudio buffer silence value (calculated)
samplesAudio buffer size in samples
sizeAudio buffer size in bytes (calculated)
callback(..)Callback function for filling the audio buffer
userdataPointer the user data which is passed to the callback function

Description

The SDL_AudioSpec structure is used to describe the format of some audio data. This structure is used by SDL_OpenAudio and SDL_LoadWAV. While all fields are used by SDL_OpenAudio only freq, format, samples and channels are used by SDL_LoadWAV. We will detail these common members here.

freq

The number of samples sent to the sound device every second. Common values are 11025, 22050 and 44100. The higher the better.

format

Specifies the size and type of each sample element +

AUDIO_U8

Unsigned 8-bit samples

AUDIO_S8

Signed 8-bit samples

AUDIO_U16 or AUDIO_U16LSB

Unsigned 16-bit little-endian samples

AUDIO_S16 or AUDIO_S16LSB

Signed 16-bit little-endian samples

AUDIO_U16MSB

Unsigned 16-bit big-endian samples

AUDIO_S16MSB

Signed 16-bit big-endian samples

AUDIO_U16SYS

Either AUDIO_U16LSB or AUDIO_U16MSB depending on you systems endianness

AUDIO_S16SYS

Either AUDIO_S16LSB or AUDIO_S16MSB depending on you systems endianness

channelsThe number of seperate sound channels. 1 is mono (single channel), 2 is stereo (dual channel).
samplesWhen used with SDL_OpenAudio this refers to the size of the audio buffer in samples. A sample a chunk of audio data of the size specified in format mulitplied by the number of channels. When the SDL_AudioSpec is used with SDL_LoadWAV samples is set to 4096.


PrevHomeNext
AudioUpSDL_OpenAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlblitsurface.html b/distrib/sdl-1.2.15/docs/html/sdlblitsurface.html new file mode 100644 index 0000000..3123ff5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlblitsurface.html @@ -0,0 +1,339 @@ +SDL_BlitSurface
SDL Library Documentation
PrevNext

SDL_BlitSurface

Name

SDL_BlitSurface -- This performs a fast blit from the source surface to the destination surface.

Synopsis

#include "SDL.h"

int SDL_BlitSurface(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect);

Description

This performs a fast blit from the source surface to the destination surface.

The width and height in srcrect determine the +size of the copied rectangle. Only the position is used in the +dstrect (the width and height are ignored).

If srcrect is NULL, the +entire surface is copied. If dstrect is +NULL, then the destination position (upper left +corner) is (0, 0).

The final blit rectangle is saved in +dstrect after all clipping is performed +(srcrect is not modified).

The blit function should not be called on a locked surface.

The results of blitting operations vary greatly depending on whether SDL_SRCAPLHA is set or not. See SDL_SetAlpha for an explaination of how this affects your results. Colorkeying and alpha attributes also interact with surface blitting, as the following pseudo-code should hopefully explain. +

if (source surface has SDL_SRCALPHA set) {
+    if (source surface has alpha channel (that is, format->Amask != 0))
+        blit using per-pixel alpha, ignoring any colour key
+    else {
+        if (source surface has SDL_SRCCOLORKEY set)
+            blit using the colour key AND the per-surface alpha value
+        else
+            blit using the per-surface alpha value
+    }
+} else {
+    if (source surface has SDL_SRCCOLORKEY set)
+        blit using the colour key
+    else
+        ordinary opaque rectangular blit
+}

Return Value

If the blit is successful, it returns 0, +otherwise it returns -1.

If either of the surfaces were in video memory, and the blit returns +-2, the video memory was lost, so it should be +reloaded with artwork and re-blitted: +

        while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
+                while ( SDL_LockSurface(image)) < 0 )
+                        SDL_Delay(10);
+                -- Write image pixels to image->pixels --
+                SDL_UnlockSurface(image);
+        }
+This happens under DirectX 5.0 when the system switches away from your +fullscreen application. Locking the surface will also fail until you +have access to the video memory again.


PrevHomeNext
SDL_ConvertSurfaceUpSDL_FillRect
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlbuildaudiocvt.html b/distrib/sdl-1.2.15/docs/html/sdlbuildaudiocvt.html new file mode 100644 index 0000000..2e8420e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlbuildaudiocvt.html @@ -0,0 +1,291 @@ +SDL_BuildAudioCVT
SDL Library Documentation
PrevNext

SDL_BuildAudioCVT

Name

SDL_BuildAudioCVT -- Initializes a SDL_AudioCVT structure for conversion

Synopsis

#include "SDL.h"

int SDL_BuildAudioCVT(SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate);

Description

Before an SDL_AudioCVT structure can be used to convert audio data it must be initialized with source and destination information.

src_format and dst_format are the source and destination format of the conversion. (For information on audio formats see SDL_AudioSpec). src_channels and dst_channels are the number of channels in the source and destination formats. Finally, src_rate and dst_rate are the frequency or samples-per-second of the source and destination formats. Once again, see SDL_AudioSpec.

Return Values

Returns -1 if the filter could not be built or 1 if it could.

Examples

See SDL_ConvertAudio.


PrevHomeNext
SDL_AudioCVTUpSDL_ConvertAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcd.html b/distrib/sdl-1.2.15/docs/html/sdlcd.html new file mode 100644 index 0000000..6f8a7cd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcd.html @@ -0,0 +1,359 @@ +SDL_CD
SDL Library Documentation
PrevNext

SDL_CD

Name

SDL_CD -- CDROM Drive Information

Structure Definition

typedef struct{
+  int id;
+  CDstatus status;
+  int numtracks;
+  int cur_track;
+  int cur_frame;
+  SDL_CDtrack track[SDL_MAX_TRACKS+1];
+} SDL_CD;

Structure Data

idPrivate drive identifier
statusDrive status
numtracksNumber of tracks on the CD
cur_trackCurrent track
cur_frameCurrent frame offset within the track
track[SDL_MAX_TRACKS+1]Array of track descriptions. (see SDL_CDtrack)

Description

An SDL_CD structure is returned by SDL_CDOpen. It represents an opened CDROM device and stores information on the layout of the tracks on the disc.

A frame is the base data unit of a CD. CD_FPS frames is equal to 1 second of music. SDL provides two macros for converting between time and frames: FRAMES_TO_MSF(f, M,S,F) and MSF_TO_FRAMES.

Examples

int min, sec, frame;
+int frame_offset;
+
+FRAMES_TO_MSF(cdrom->cur_frame, &min, &sec, &frame);
+printf("Current Position: %d minutes, %d seconds, %d frames\n", min, sec, frame);
+
+frame_offset=MSF_TO_FRAMES(min, sec, frame);

PrevHomeNext
SDL_CDCloseUpSDL_CDtrack
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdclose.html b/distrib/sdl-1.2.15/docs/html/sdlcdclose.html new file mode 100644 index 0000000..2a984a8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdclose.html @@ -0,0 +1,217 @@ +SDL_CDClose
SDL Library Documentation
PrevNext

SDL_CDClose

Name

SDL_CDClose -- Closes a SDL_CD handle

Synopsis

#include "SDL.h"

void SDL_CDClose(SDL_CD *cdrom);

Description

Closes the given cdrom handle.

See Also

SDL_CDOpen, +SDL_CD


PrevHomeNext
SDL_CDEjectUpSDL_CD
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdeject.html b/distrib/sdl-1.2.15/docs/html/sdlcdeject.html new file mode 100644 index 0000000..03a3b78 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdeject.html @@ -0,0 +1,226 @@ +SDL_CDEject
SDL Library Documentation
PrevNext

SDL_CDEject

Name

SDL_CDEject -- Ejects a CDROM

Synopsis

#include "SDL.h"

int SDL_CDEject(SDL_CD *cdrom);

Description

Ejects the given cdrom.

Return Value

Returns 0 on success, or -1 on an error.

See Also

SDL_CD


PrevHomeNext
SDL_CDStopUpSDL_CDClose
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdname.html b/distrib/sdl-1.2.15/docs/html/sdlcdname.html new file mode 100644 index 0000000..55a18e2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdname.html @@ -0,0 +1,239 @@ +SDL_CDName
SDL Library Documentation
PrevNext

SDL_CDName

Name

SDL_CDName -- Returns a human-readable, system-dependent identifier for the CD-ROM.

Synopsis

#include "SDL.h"

const char *SDL_CDName(int drive);

Description

Returns a human-readable, system-dependent identifier for the CD-ROM. drive is the index of the drive. Drive indices start to 0 and end at SDL_CDNumDrives()-1.

Examples

  • "/dev/cdrom"

  • "E:"

  • "/dev/disk/ide/1/master"


PrevHomeNext
SDL_CDNumDrivesUpSDL_CDOpen
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdnumdrives.html b/distrib/sdl-1.2.15/docs/html/sdlcdnumdrives.html new file mode 100644 index 0000000..9816a73 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdnumdrives.html @@ -0,0 +1,205 @@ +SDL_CDNumDrives
SDL Library Documentation
PrevNext

SDL_CDNumDrives

Name

SDL_CDNumDrives -- Returns the number of CD-ROM drives on the system.

Synopsis

#include "SDL.h"

int SDL_CDNumDrives(void);

Description

Returns the number of CD-ROM drives on the system.

See Also

SDL_CDOpen


PrevHomeNext
CD-ROMUpSDL_CDName
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdopen.html b/distrib/sdl-1.2.15/docs/html/sdlcdopen.html new file mode 100644 index 0000000..09a6bd9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdopen.html @@ -0,0 +1,275 @@ +SDL_CDOpen
SDL Library Documentation
PrevNext

SDL_CDOpen

Name

SDL_CDOpen -- Opens a CD-ROM drive for access.

Synopsis

#include "SDL.h"

SDL_CD *SDL_CDOpen(int drive);

Description

Opens a CD-ROM drive for access. It returns a SDL_CD structure on success, or NULL if the drive was invalid or busy. This newly opened CD-ROM becomes the default CD used when other CD functions are passed a NULL CD-ROM handle.

Drives are numbered starting with 0. +Drive 0 is the system default CD-ROM.

Examples

SDL_CD *cdrom;
+int cur_track;
+int min, sec, frame;
+SDL_Init(SDL_INIT_CDROM);
+atexit(SDL_Quit);
+
+/* Check for CD drives */
+if(!SDL_CDNumDrives()){
+  /* None found */
+  fprintf(stderr, "No CDROM devices available\n");
+  exit(-1);
+}
+
+/* Open the default drive */
+cdrom=SDL_CDOpen(0);
+
+/* Did if open? Check if cdrom is NULL */
+if(!cdrom){
+  fprintf(stderr, "Couldn't open drive: %s\n", SDL_GetError());
+  exit(-1);
+}
+
+/* Print Volume info */
+printf("Name: %s\n", SDL_CDName(0));
+printf("Tracks: %d\n", cdrom->numtracks);
+for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
+  FRAMES_TO_MSF(cdrom->track[cur_track].length, &min, &sec, &frame);
+  printf("\tTrack %d: Length %d:%d\n", cur_track, min, sec);
+}
+
+SDL_CDClose(cdrom);

PrevHomeNext
SDL_CDNameUpSDL_CDStatus
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdpause.html b/distrib/sdl-1.2.15/docs/html/sdlcdpause.html new file mode 100644 index 0000000..4def8e3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdpause.html @@ -0,0 +1,233 @@ +SDL_CDPause
SDL Library Documentation
PrevNext

SDL_CDPause

Name

SDL_CDPause -- Pauses a CDROM

Synopsis

#include "SDL.h"

int SDL_CDPause(SDL_CD *cdrom);

Description

Pauses play on the given cdrom.

Return Value

Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_CDPlayTracksUpSDL_CDResume
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdplay.html b/distrib/sdl-1.2.15/docs/html/sdlcdplay.html new file mode 100644 index 0000000..dc6489c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdplay.html @@ -0,0 +1,243 @@ +SDL_CDPlay
SDL Library Documentation
PrevNext

SDL_CDPlay

Name

SDL_CDPlay -- Play a CD

Synopsis

#include "SDL.h"

int SDL_CDPlay(SDL_CD *cdrom, int start, int length);

Description

Plays the given cdrom, starting a frame start for length frames.

Return Values

Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_CDStatusUpSDL_CDPlayTracks
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdplaytracks.html b/distrib/sdl-1.2.15/docs/html/sdlcdplaytracks.html new file mode 100644 index 0000000..7546181 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdplaytracks.html @@ -0,0 +1,325 @@ +SDL_CDPlayTracks
SDL Library Documentation
PrevNext

SDL_CDPlayTracks

Name

SDL_CDPlayTracks -- Play the given CD track(s)

Synopsis

#include "SDL.h"

int SDL_CDPlayTracks(SDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes));

Description

SDL_CDPlayTracks plays the given CD starting at track +start_track, for ntracks tracks.

start_frame is the frame offset, from the beginning of the start_track, at which to start. nframes is the frame offset, from the beginning of the last track (start_track+ntracks), at which to end playing.

SDL_CDPlayTracks should only be called after calling +SDL_CDStatus +to get track information about the CD.

Note: Data tracks are ignored.

Return Value

Returns 0, or -1 +if there was an error.

Examples

/* assuming cdrom is a previously opened device */
+/* Play the entire CD */
+if(CD_INDRIVE(SDL_CDStatus(cdrom)))
+  SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
+
+/* Play the first track */
+if(CD_INDRIVE(SDL_CDStatus(cdrom)))
+  SDL_CDPlayTracks(cdrom, 0, 0, 1, 0);
+
+/* Play first 15 seconds of the 2nd track */
+if(CD_INDRIVE(SDL_CDStatus(cdrom)))
+  SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15);
+


PrevHomeNext
SDL_CDPlayUpSDL_CDPause
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdresume.html b/distrib/sdl-1.2.15/docs/html/sdlcdresume.html new file mode 100644 index 0000000..4a25ab6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdresume.html @@ -0,0 +1,233 @@ +SDL_CDResume
SDL Library Documentation
PrevNext

SDL_CDResume

Name

SDL_CDResume -- Resumes a CDROM

Synopsis

#include "SDL.h"

int SDL_CDResume(SDL_CD *cdrom);

Description

Resumes play on the given cdrom.

Return Value

Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_CDPauseUpSDL_CDStop
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdstatus.html b/distrib/sdl-1.2.15/docs/html/sdlcdstatus.html new file mode 100644 index 0000000..3ebf965 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdstatus.html @@ -0,0 +1,273 @@ +SDL_CDStatus
SDL Library Documentation
PrevNext

SDL_CDStatus

Name

SDL_CDStatus -- Returns the current status of the given drive.

Synopsis

#include "SDL.h"

CDstatus SDL_CDStatus(SDL_CD *cdrom);

/* Given a status, returns true if there's a disk in the drive */
+#define CD_INDRIVE(status)      ((int)status > 0)

Description

This function returns the current status of the given drive. Status is described like so: +

typedef enum {
+  CD_TRAYEMPTY,
+  CD_STOPPED,
+  CD_PLAYING,
+  CD_PAUSED,
+  CD_ERROR = -1
+} CDstatus;

If the drive has a CD in it, the table of contents of the CD and current +play position of the CD will be stored in the SDL_CD structure.

The macro CD_INDRIVE is provided for convenience, +and given a status returns true if there's a disk in the drive.

Note: SDL_CDStatus also updates the SDL_CD structure passed to it.

Example

int playTrack(int track)
+{
+  int playing = 0;
+
+  if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
+  /* clamp to the actual number of tracks on the CD */
+    if (track >= cdrom->numtracks) {
+      track = cdrom->numtracks-1;
+    }
+
+    if ( SDL_CDPlayTracks(cdrom, track, 0, 1, 0) == 0 ) {
+      playing = 1;
+    }
+  }
+  return playing;
+}

See Also

SDL_CD


PrevHomeNext
SDL_CDOpenUpSDL_CDPlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdstop.html b/distrib/sdl-1.2.15/docs/html/sdlcdstop.html new file mode 100644 index 0000000..68f8d81 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdstop.html @@ -0,0 +1,226 @@ +SDL_CDStop
SDL Library Documentation
PrevNext

SDL_CDStop

Name

SDL_CDStop -- Stops a CDROM

Synopsis

#include "SDL.h"

int SDL_CDStop(SDL_CD *cdrom);

Description

Stops play on the given cdrom.

Return Value

Returns 0 on success, or -1 on an error.

See Also

SDL_CDPlay,


PrevHomeNext
SDL_CDResumeUpSDL_CDEject
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcdtrack.html b/distrib/sdl-1.2.15/docs/html/sdlcdtrack.html new file mode 100644 index 0000000..bbb04bb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcdtrack.html @@ -0,0 +1,313 @@ +SDL_CDtrack
SDL Library Documentation
PrevNext

SDL_CDtrack

Name

SDL_CDtrack -- CD Track Information Structure

Structure Definition

typedef struct{
+  Uint8 id;
+  Uint8 type;
+  Uint32 length;
+  Uint32 offset;
+} SDL_CDtrack;

Structure Data

idTrack number (0-99)
typeSDL_AUDIO_TRACK or SDL_DATA_TRACK
lengthLength, in frames, of this track
offsetFrame offset to the beginning of this track

Description

SDL_CDtrack stores data on each track on a CD, its fields should be pretty self explainatory. It is a member a the SDL_CD structure.

Note: Frames can be converted to standard timings. There are CD_FPS frames per second, so SDL_CDtrack.length/CD_FPS=length_in_seconds.

See Also

SDL_CD


PrevHomeNext
SDL_CDUpMulti-threaded Programming
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcloseaudio.html b/distrib/sdl-1.2.15/docs/html/sdlcloseaudio.html new file mode 100644 index 0000000..599f058 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcloseaudio.html @@ -0,0 +1,205 @@ +SDL_CloseAudio
SDL Library Documentation
PrevNext

SDL_CloseAudio

Name

SDL_CloseAudio -- Shuts down audio processing and closes the audio device.

Synopsis

#include "SDL.h"

void SDL_CloseAudio(void);

Description

This function shuts down audio processing and closes the audio device.

See Also

SDL_OpenAudio


PrevHomeNext
SDL_UnlockAudioUpCD-ROM
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcolor.html b/distrib/sdl-1.2.15/docs/html/sdlcolor.html new file mode 100644 index 0000000..c8b7d44 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcolor.html @@ -0,0 +1,300 @@ +SDL_Color
SDL Library Documentation
PrevNext

SDL_Color

Name

SDL_Color -- Format independent color description

Structure Definition

typedef struct{
+  Uint8 r;
+  Uint8 g;
+  Uint8 b;
+  Uint8 unused;
+} SDL_Color;

Structure Data

rRed intensity
gGreen intensity
bBlue intensity
unusedUnused

Description

SDL_Color describes a color in a format independent way. You can convert a SDL_Color to a pixel value for a certain pixel format using SDL_MapRGB.


PrevHomeNext
SDL_RectUpSDL_Palette
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcondbroadcast.html b/distrib/sdl-1.2.15/docs/html/sdlcondbroadcast.html new file mode 100644 index 0000000..9b0fc83 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcondbroadcast.html @@ -0,0 +1,224 @@ +SDL_CondBroadcast
SDL Library Documentation
PrevNext

SDL_CondBroadcast

Name

SDL_CondBroadcast -- Restart all threads waiting on a condition variable

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_CondBroadcast(SDL_cond *cond);

Description

Restarts all threads that are waiting on the condition variable, cond. Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_CondSignalUpSDL_CondWait
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcondsignal.html b/distrib/sdl-1.2.15/docs/html/sdlcondsignal.html new file mode 100644 index 0000000..24e9175 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcondsignal.html @@ -0,0 +1,224 @@ +SDL_CondSignal
SDL Library Documentation
PrevNext

SDL_CondSignal

Name

SDL_CondSignal -- Restart a thread wait on a condition variable

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_CondSignal(SDL_cond *cond);

Description

Restart one of the threads that are waiting on the condition variable, cond. Returns 0 on success of -1 on an error.


PrevHomeNext
SDL_DestroyCondUpSDL_CondBroadcast
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcondwait.html b/distrib/sdl-1.2.15/docs/html/sdlcondwait.html new file mode 100644 index 0000000..8f15452 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcondwait.html @@ -0,0 +1,231 @@ +SDL_CondWait
SDL Library Documentation
PrevNext

SDL_CondWait

Name

SDL_CondWait -- Wait on a condition variable

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_CondWait(SDL_cond *cond, SDL_mutex *mut);

Description

Wait on the condition variable cond and unlock the provided mutex. The mutex must the locked before entering this function. Returns 0 when it is signalled, or -1 on an error.


PrevHomeNext
SDL_CondBroadcastUpSDL_CondWaitTimeout
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcondwaittimeout.html b/distrib/sdl-1.2.15/docs/html/sdlcondwaittimeout.html new file mode 100644 index 0000000..deed50b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcondwaittimeout.html @@ -0,0 +1,230 @@ +SDL_CondWaitTimeout
SDL Library Documentation
PrevNext

SDL_CondWaitTimeout

Name

SDL_CondWaitTimeout -- Wait on a condition variable, with timeout

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);

Description

Wait on the condition variable cond for, at most, ms milliseconds. mut is unlocked so it must be locked when the function is called. Returns SDL_MUTEX_TIMEDOUT if the condition is not signalled in the allotted time, 0 if it was signalled or -1 on an error.

See Also

SDL_CondWait


PrevHomeNext
SDL_CondWaitUpTime
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlconvertaudio.html b/distrib/sdl-1.2.15/docs/html/sdlconvertaudio.html new file mode 100644 index 0000000..52f1229 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlconvertaudio.html @@ -0,0 +1,407 @@ +SDL_ConvertAudio
SDL Library Documentation
PrevNext

SDL_ConvertAudio

Name

SDL_ConvertAudio -- Convert audio data to a desired audio format.

Synopsis

#include "SDL.h"

int SDL_ConvertAudio(SDL_AudioCVT *cvt);

Description

SDL_ConvertAudio takes one parameter, cvt, which was previously initilized. Initilizing a SDL_AudioCVT is a two step process. First of all, the structure must be passed to SDL_BuildAudioCVT along with source and destination format parameters. Secondly, the cvt->buf and cvt->len fields must be setup. cvt->buf should point to the audio data and cvt->len should be set to the length of the audio data in bytes. Remember, the length of the buffer pointed to by buf show be len*len_mult bytes in length.

Once the SDL_AudioCVTstructure is initilized then we can pass it to SDL_ConvertAudio, which will convert the audio data pointer to by cvt->buf. If SDL_ConvertAudio returned 0 then the conversion was completed successfully, otherwise -1 is returned.

If the conversion completed successfully then the converted audio data can be read from cvt->buf. The amount of valid, converted, audio data in the buffer is equal to cvt->len*cvt->len_ratio.

Examples

/* Converting some WAV data to hardware format */
+void my_audio_callback(void *userdata, Uint8 *stream, int len);
+
+SDL_AudioSpec *desired, *obtained;
+SDL_AudioSpec wav_spec;
+SDL_AudioCVT  wav_cvt;
+Uint32 wav_len;
+Uint8 *wav_buf;
+int ret;
+
+/* Allocated audio specs */
+desired = malloc(sizeof(SDL_AudioSpec));
+obtained = malloc(sizeof(SDL_AudioSpec));
+
+/* Set desired format */
+desired->freq=22050;
+desired->format=AUDIO_S16LSB;
+desired->samples=8192;
+desired->callback=my_audio_callback;
+desired->userdata=NULL;
+
+/* Open the audio device */
+if ( SDL_OpenAudio(desired, obtained) < 0 ){
+  fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
+  exit(-1);
+}
+        
+free(desired);
+
+/* Load the test.wav */
+if( SDL_LoadWAV("test.wav", &wav_spec, &wav_buf, &wav_len) == NULL ){
+  fprintf(stderr, "Could not open test.wav: %s\n", SDL_GetError());
+  SDL_CloseAudio();
+  free(obtained);
+  exit(-1);
+}
+                                            
+/* Build AudioCVT */
+ret = SDL_BuildAudioCVT(&wav_cvt,
+                        wav_spec.format, wav_spec.channels, wav_spec.freq,
+                        obtained->format, obtained->channels, obtained->freq);
+
+/* Check that the convert was built */
+if(ret==-1){
+  fprintf(stderr, "Couldn't build converter!\n");
+  SDL_CloseAudio();
+  free(obtained);
+  SDL_FreeWAV(wav_buf);
+}
+
+/* Setup for conversion */
+wav_cvt.buf = malloc(wav_len * wav_cvt.len_mult);
+wav_cvt.len = wav_len;
+memcpy(wav_cvt.buf, wav_buf, wav_len);
+
+/* We can delete to original WAV data now */
+SDL_FreeWAV(wav_buf);
+
+/* And now we're ready to convert */
+SDL_ConvertAudio(&wav_cvt);
+
+/* do whatever */
+.
+.
+.
+.
+

PrevHomeNext
SDL_BuildAudioCVTUpSDL_MixAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlconvertsurface.html b/distrib/sdl-1.2.15/docs/html/sdlconvertsurface.html new file mode 100644 index 0000000..cc21f78 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlconvertsurface.html @@ -0,0 +1,271 @@ +SDL_ConvertSurface
SDL Library Documentation
PrevNext

SDL_ConvertSurface

Name

SDL_ConvertSurface -- Converts a surface to the same format as another surface.

Synopsis

#include "SDL/SDL.h"

SDL_Surface *SDL_ConvertSurface(SDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags);

Description

Creates a new surface of the specified format, and then copies and maps +the given surface to it. If this function fails, it returns +NULL.

The flags parameter is passed to +SDL_CreateRGBSurface +and has those semantics.

This function is used internally by +SDL_DisplayFormat.

This function can only be called after SDL_Init.

Return Value

Returns either a pointer to the new surface, or +NULL on error.


PrevHomeNext
SDL_GetClipRectUpSDL_BlitSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatecond.html b/distrib/sdl-1.2.15/docs/html/sdlcreatecond.html new file mode 100644 index 0000000..02fcdb2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatecond.html @@ -0,0 +1,240 @@ +SDL_CreateCond
SDL Library Documentation
PrevNext

SDL_CreateCond

Name

SDL_CreateCond -- Create a condition variable

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

SDL_cond *SDL_CreateCond(void);

Description

Creates a condition variable.

Examples

SDL_cond *cond;
+
+cond=SDL_CreateCond();
+.
+.
+/* Do stuff */
+
+.
+.
+SDL_DestroyCond(cond);

PrevHomeNext
SDL_SemValueUpSDL_DestroyCond
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatecursor.html b/distrib/sdl-1.2.15/docs/html/sdlcreatecursor.html new file mode 100644 index 0000000..a444165 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatecursor.html @@ -0,0 +1,398 @@ +SDL_CreateCursor
SDL Library Documentation
PrevNext

SDL_CreateCursor

Name

SDL_CreateCursor -- Creates a new mouse cursor.

Synopsis

#include "SDL.h"

SDL_Cursor *SDL_CreateCursor(Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y);

Description

Create a cursor using the specified data and mask (in MSB format). +The cursor width must be a multiple of 8 bits.

The cursor is created in black and white according to the following: +

Data / MaskResulting pixel on screen
0 / 1White
1 / 1Black
0 / 0Transparent
1 / 0Inverted color if possible, black if not.

Cursors created with this function must be freed with +SDL_FreeCursor.

Example

/* Stolen from the mailing list */
+/* Creates a new mouse cursor from an XPM */
+
+
+/* XPM */
+static const char *arrow[] = {
+  /* width height num_colors chars_per_pixel */
+  "    32    32        3            1",
+  /* colors */
+  "X c #000000",
+  ". c #ffffff",
+  "  c None",
+  /* pixels */
+  "X                               ",
+  "XX                              ",
+  "X.X                             ",
+  "X..X                            ",
+  "X...X                           ",
+  "X....X                          ",
+  "X.....X                         ",
+  "X......X                        ",
+  "X.......X                       ",
+  "X........X                      ",
+  "X.....XXXXX                     ",
+  "X..X..X                         ",
+  "X.X X..X                        ",
+  "XX  X..X                        ",
+  "X    X..X                       ",
+  "     X..X                       ",
+  "      X..X                      ",
+  "      X..X                      ",
+  "       XX                       ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "                                ",
+  "0,0"
+};
+
+static SDL_Cursor *init_system_cursor(const char *image[])
+{
+  int i, row, col;
+  Uint8 data[4*32];
+  Uint8 mask[4*32];
+  int hot_x, hot_y;
+
+  i = -1;
+  for ( row=0; row<32; ++row ) {
+    for ( col=0; col<32; ++col ) {
+      if ( col % 8 ) {
+        data[i] <<= 1;
+        mask[i] <<= 1;
+      } else {
+        ++i;
+        data[i] = mask[i] = 0;
+      }
+      switch (image[4+row][col]) {
+        case 'X':
+          data[i] |= 0x01;
+          mask[i] |= 0x01;
+          break;
+        case '.':
+          mask[i] |= 0x01;
+          break;
+        case ' ':
+          break;
+      }
+    }
+  }
+  sscanf(image[4+row], "%d,%d", &hot_x, &hot_y);
+  return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
+}

PrevHomeNext
SDL_WarpMouseUpSDL_FreeCursor
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatemutex.html b/distrib/sdl-1.2.15/docs/html/sdlcreatemutex.html new file mode 100644 index 0000000..53ed48b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatemutex.html @@ -0,0 +1,249 @@ +SDL_CreateMutex
SDL Library Documentation
PrevNext

SDL_CreateMutex

Name

SDL_CreateMutex -- Create a mutex

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

SDL_mutex *SDL_CreateMutex(void);

Description

Create a new, unlocked mutex.

Examples

SDL_mutex *mut;
+
+mut=SDL_CreateMutex();
+.
+.
+if(SDL_mutexP(mut)==-1){
+  fprintf(stderr, "Couldn't lock mutex\n");
+  exit(-1);
+}
+.
+/* Do stuff while mutex is locked */
+.
+.
+if(SDL_mutexV(mut)==-1){
+  fprintf(stderr, "Couldn't unlock mutex\n");
+  exit(-1);
+}
+
+SDL_DestroyMutex(mut);

PrevHomeNext
SDL_KillThreadUpSDL_DestroyMutex
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurface.html b/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurface.html new file mode 100644 index 0000000..736ec8f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurface.html @@ -0,0 +1,458 @@ +SDL_CreateRGBSurface
SDL Library Documentation
PrevNext

SDL_CreateRGBSurface

Name

SDL_CreateRGBSurface -- Create an empty SDL_Surface

Synopsis

#include "SDL.h"

SDL_Surface *SDL_CreateRGBSurface(Uint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);

Description

Allocate an empty surface (must be called after SDL_SetVideoMode)

If depth is 8 bits an empty palette is allocated for the surface, otherwise a 'packed-pixel' SDL_PixelFormat is created using the [RGBA]mask's provided (see SDL_PixelFormat). The flags specifies the type of surface that should be created, it is an OR'd combination of the following possible values.

SDL_SWSURFACESDL will create the surface in system memory. This improves the performance of pixel level access, however you may not be able to take advantage of some types of hardware blitting.
SDL_HWSURFACESDL will attempt to create the surface in video memory. This will allow SDL to take advantage of Video->Video blits (which are often accelerated).
SDL_SRCCOLORKEYThis flag turns on colourkeying for blits from this surface. If +SDL_HWSURFACE is also specified and colourkeyed blits +are hardware-accelerated, then SDL will attempt to place the surface in +video memory. +Use SDL_SetColorKey +to set or clear this flag after surface creation.
SDL_SRCALPHAThis flag turns on alpha-blending for blits from this surface. If +SDL_HWSURFACE is also specified and alpha-blending blits +are hardware-accelerated, then the surface will be placed in video memory if +possible. +Use SDL_SetAlpha to +set or clear this flag after surface creation.

Note: If an alpha-channel is specified (that is, if Amask is +nonzero), then the SDL_SRCALPHA flag is automatically +set. You may remove this flag by calling +SDL_SetAlpha +after surface creation.

Return Value

Returns the created surface, or NULL upon error.

Example

    /* Create a 32-bit surface with the bytes of each pixel in R,G,B,A order,
+       as expected by OpenGL for textures */
+    SDL_Surface *surface;
+    Uint32 rmask, gmask, bmask, amask;
+
+    /* SDL interprets each pixel as a 32-bit number, so our masks must depend
+       on the endianness (byte order) of the machine */
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
+    rmask = 0xff000000;
+    gmask = 0x00ff0000;
+    bmask = 0x0000ff00;
+    amask = 0x000000ff;
+#else
+    rmask = 0x000000ff;
+    gmask = 0x0000ff00;
+    bmask = 0x00ff0000;
+    amask = 0xff000000;
+#endif
+
+    surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32,
+                                   rmask, gmask, bmask, amask);
+    if(surface == NULL) {
+        fprintf(stderr, "CreateRGBSurface failed: %s\n", SDL_GetError());
+        exit(1);
+    }

PrevHomeNext
SDL_GetRGBAUpSDL_CreateRGBSurfaceFrom
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurfacefrom.html b/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurfacefrom.html new file mode 100644 index 0000000..6acfdcc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatergbsurfacefrom.html @@ -0,0 +1,256 @@ +SDL_CreateRGBSurfaceFrom
SDL Library Documentation
PrevNext

SDL_CreateRGBSurfaceFrom

Name

SDL_CreateRGBSurfaceFrom -- Create an SDL_Surface from pixel data

Synopsis

#include "SDL.h"

SDL_Surface *SDL_CreateRGBSurfaceFrom(void *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);

Description

Creates an SDL_Surface from the provided pixel data.

The data stored in pixels is assumed to be of the depth specified in the parameter list. The pixel data is not copied into the SDL_Surface structure so it should not be freed until the surface has been freed with a called to SDL_FreeSurface. pitch is the length of each scanline in bytes.

See SDL_CreateRGBSurface for a more detailed description of the other parameters.

Return Value

Returns the created surface, or NULL upon error.


PrevHomeNext
SDL_CreateRGBSurfaceUpSDL_FreeSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatesemaphore.html b/distrib/sdl-1.2.15/docs/html/sdlcreatesemaphore.html new file mode 100644 index 0000000..43dcbf5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatesemaphore.html @@ -0,0 +1,303 @@ +SDL_CreateSemaphore
SDL Library Documentation
PrevNext

SDL_CreateSemaphore

Name

SDL_CreateSemaphore -- Creates a new semaphore and assigns an initial value to it.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

SDL_sem *SDL_CreateSemaphore(Uint32 initial_value);

Description

SDL_CreateSemaphore() creates a new semaphore and +initializes it with the value initial_value. +Each locking operation on the semaphore by +SDL_SemWait, +SDL_SemTryWait or +SDL_SemWaitTimeout +will atomically decrement the semaphore value. The locking operation will be blocked +if the semaphore value is not positive (greater than zero). Each unlock operation by +SDL_SemPost +will atomically increment the semaphore value.

Return Value

Returns a pointer to an initialized semaphore or +NULL if there was an error.

Examples

SDL_sem *my_sem;
+
+my_sem = SDL_CreateSemaphore(INITIAL_SEM_VALUE);
+
+if (my_sem == NULL) {
+        return CREATE_SEM_FAILED;
+}


PrevHomeNext
SDL_mutexVUpSDL_DestroySemaphore
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreatethread.html b/distrib/sdl-1.2.15/docs/html/sdlcreatethread.html new file mode 100644 index 0000000..ca3c2d9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreatethread.html @@ -0,0 +1,223 @@ +SDL_CreateThread
SDL Library Documentation
PrevNext

SDL_CreateThread

Name

SDL_CreateThread -- Creates a new thread of execution that shares its parent's properties.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

SDL_Thread *SDL_CreateThread(int (*fn)(void *), void *data);

Description

SDL_CreateThread creates a new thread of execution +that shares all of its parent's global memory, signal handlers, +file descriptors, etc, and runs the function fn +passed the void pointer data +The thread quits when this function returns.


PrevHomeNext
Multi-threaded ProgrammingUpSDL_ThreadID
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlcreateyuvoverlay.html b/distrib/sdl-1.2.15/docs/html/sdlcreateyuvoverlay.html new file mode 100644 index 0000000..c24ef6e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlcreateyuvoverlay.html @@ -0,0 +1,256 @@ +SDL_CreateYUVOverlay
SDL Library Documentation
PrevNext

SDL_CreateYUVOverlay

Name

SDL_CreateYUVOverlay -- Create a YUV video overlay

Synopsis

#include "SDL.h"

SDL_Overlay *SDL_CreateYUVOverlay(int width, int height, Uint32 format, SDL_Surface *display);

Description

SDL_CreateYUVOverlay creates a YUV overlay of the specified width, height and format (see SDL_Overlay for a list of available formats), for the provided display. A SDL_Overlay structure is returned.

The term 'overlay' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed.


PrevHomeNext
SDL_GL_SwapBuffersUpSDL_LockYUVOverlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldelay.html b/distrib/sdl-1.2.15/docs/html/sdldelay.html new file mode 100644 index 0000000..a5417fa --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldelay.html @@ -0,0 +1,231 @@ +SDL_Delay
SDL Library Documentation
PrevNext

SDL_Delay

Name

SDL_Delay -- Wait a specified number of milliseconds before returning.

Synopsis

#include "SDL.h"

void SDL_Delay(Uint32 ms);

Description

Wait a specified number of milliseconds before returning. SDL_Delay will wait at least the specified time, but possible longer due to OS scheduling.

Note: Count on a delay granularity of at least 10 ms. +Some platforms have shorter clock ticks but this is the most common.

See Also

SDL_AddTimer


PrevHomeNext
SDL_GetTicksUpSDL_AddTimer
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldestroycond.html b/distrib/sdl-1.2.15/docs/html/sdldestroycond.html new file mode 100644 index 0000000..ac08042 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldestroycond.html @@ -0,0 +1,206 @@ +SDL_DestroyCond
SDL Library Documentation
PrevNext

SDL_DestroyCond

Name

SDL_DestroyCond -- Destroy a condition variable

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

void SDL_DestroyCond(SDL_cond *cond);

Description

Destroys a condition variable.


PrevHomeNext
SDL_CreateCondUpSDL_CondSignal
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldestroymutex.html b/distrib/sdl-1.2.15/docs/html/sdldestroymutex.html new file mode 100644 index 0000000..949bfc5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldestroymutex.html @@ -0,0 +1,209 @@ +SDL_DestroyMutex
SDL Library Documentation
PrevNext

SDL_DestroyMutex

Name

SDL_DestroyMutex -- Destroy a mutex

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

void SDL_DestroyMutex(SDL_mutex *mutex);

Description

Destroy a previously created mutex.


PrevHomeNext
SDL_CreateMutexUpSDL_mutexP
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldestroysemaphore.html b/distrib/sdl-1.2.15/docs/html/sdldestroysemaphore.html new file mode 100644 index 0000000..d32bdfa --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldestroysemaphore.html @@ -0,0 +1,278 @@ +SDL_DestroySemaphore
SDL Library Documentation
PrevNext

SDL_DestroySemaphore

Name

SDL_DestroySemaphore -- Destroys a semaphore that was created by SDL_CreateSemaphore.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

void SDL_DestroySemaphore(SDL_sem *sem);

Description

SDL_DestroySemaphore destroys the semaphore pointed to +by sem that was created by +SDL_CreateSemaphore. +It is not safe to destroy a semaphore if there are threads currently blocked +waiting on it.

Examples

if (my_sem != NULL) {
+        SDL_DestroySemaphore(my_sem);
+        my_sem = NULL;
+}


PrevHomeNext
SDL_CreateSemaphoreUpSDL_SemWait
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldisplayformat.html b/distrib/sdl-1.2.15/docs/html/sdldisplayformat.html new file mode 100644 index 0000000..c91adfe --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldisplayformat.html @@ -0,0 +1,262 @@ +SDL_DisplayFormat
SDL Library Documentation
PrevNext

SDL_DisplayFormat

Name

SDL_DisplayFormat -- Convert a surface to the display format

Synopsis

#include "SDL.h"

SDL_Surface *SDL_DisplayFormat(SDL_Surface *surface);

Description

This function takes a surface and copies it to a new surface of the +pixel format and colors of the video framebuffer, suitable for fast +blitting onto the display surface. It calls +SDL_ConvertSurface

If you want to take advantage of hardware colorkey or alpha blit +acceleration, you should set the colorkey and alpha value before +calling this function.

If you want an alpha channel, see SDL_DisplayFormatAlpha.

Return Value

If the conversion fails or runs out of memory, it returns +NULL


PrevHomeNext
SDL_FillRectUpSDL_DisplayFormatAlpha
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldisplayformatalpha.html b/distrib/sdl-1.2.15/docs/html/sdldisplayformatalpha.html new file mode 100644 index 0000000..6e88604 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldisplayformatalpha.html @@ -0,0 +1,250 @@ +SDL_DisplayFormatAlpha
SDL Library Documentation
PrevNext

SDL_DisplayFormatAlpha

Name

SDL_DisplayFormatAlpha -- Convert a surface to the display format

Synopsis

#include "SDL.h"

SDL_Surface *SDL_DisplayFormatAlpha(SDL_Surface *surface);

Description

This function takes a surface and copies it to a new surface of the +pixel format and colors of the video framebuffer plus an alpha channel, +suitable for fast blitting onto the display surface. It calls +SDL_ConvertSurface

If you want to take advantage of hardware colorkey or alpha blit +acceleration, you should set the colorkey and alpha value before +calling this function.

This function can be used to convert a colourkey to an alpha channel, +if the SDL_SRCCOLORKEY flag is set on the surface. +The generated surface will then be transparent (alpha=0) where the +pixels match the colourkey, and opaque (alpha=255) elsewhere.

Return Value

If the conversion fails or runs out of memory, it returns +NULL


PrevHomeNext
SDL_DisplayFormatUpSDL_WarpMouse
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdldisplayyuvoverlay.html b/distrib/sdl-1.2.15/docs/html/sdldisplayyuvoverlay.html new file mode 100644 index 0000000..456c998 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdldisplayyuvoverlay.html @@ -0,0 +1,246 @@ +SDL_DisplayYUVOverlay
SDL Library Documentation
PrevNext

SDL_DisplayYUVOverlay

Name

SDL_DisplayYUVOverlay -- Blit the overlay to the display

Synopsis

#include "SDL.h"

int SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect);

Description

Blit the overlay to the surface specified when it was created. The SDL_Rect structure, dstrect, specifies the position and size of the destination. If the dstrect is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.

Return Values

Returns 0 on success


PrevHomeNext
SDL_UnlockYUVOverlayUpSDL_FreeYUVOverlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlenablekeyrepeat.html b/distrib/sdl-1.2.15/docs/html/sdlenablekeyrepeat.html new file mode 100644 index 0000000..878feb1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlenablekeyrepeat.html @@ -0,0 +1,238 @@ +SDL_EnableKeyRepeat
SDL Library Documentation
PrevNext

SDL_EnableKeyRepeat

Name

SDL_EnableKeyRepeat -- Set keyboard repeat rate.

Synopsis

#include "SDL.h"

int SDL_EnableKeyRepeat(int delay, int interval);

Description

Enables or disables the keyboard repeat rate. delay specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by interval. Both delay and interval are expressed in milliseconds.

Setting delay to 0 disables key repeating completely. Good default values are SDL_DEFAULT_REPEAT_DELAY and SDL_DEFAULT_REPEAT_INTERVAL.

Return Value

Returns 0 on success and -1 on failure.


PrevHomeNext
SDL_EnableUNICODEUpSDL_GetMouseState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlenableunicode.html b/distrib/sdl-1.2.15/docs/html/sdlenableunicode.html new file mode 100644 index 0000000..855debb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlenableunicode.html @@ -0,0 +1,252 @@ +SDL_EnableUNICODE
SDL Library Documentation
PrevNext

SDL_EnableUNICODE

Name

SDL_EnableUNICODE -- Enable UNICODE translation

Synopsis

#include "SDL.h"

int SDL_EnableUNICODE(int enable);

Description

Enables/Disables Unicode keyboard translation.

To obtain the character codes corresponding to received keyboard events, +Unicode translation must first be turned on using this function. The +translation incurs a slight overhead for each keyboard event and is therefore +disabled by default. For each subsequently received key down event, the +unicode member of the +SDL_keysym structure +will then contain the corresponding character code, or zero for keysyms that do +not correspond to any character code.

A value of 1 for enable enables Unicode translation; +0 disables it, and -1 leaves it unchanged (useful for querying the current +translation mode).

Note that only key press events will be translated, not release events.

Return Value

Returns the previous translation mode (0 or 1).

See Also

SDL_keysym


PrevHomeNext
SDL_GetKeyNameUpSDL_EnableKeyRepeat
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlenvvars.html b/distrib/sdl-1.2.15/docs/html/sdlenvvars.html new file mode 100644 index 0000000..8999ed1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlenvvars.html @@ -0,0 +1,1227 @@ +SDL_envvars
SDL Library Documentation
PrevNext

SDL_envvars

Name

SDL_envvars -- SDL environment variables

Description

Not a function, set using setenv()

Several environment variables are available to modify the +behaviour of SDL. Using these variables isn't recommened and the names +and presence of these variables aren't guaranteed from one release to +the next. However, they can be very useful for debugging +purposes.

Video

SDL_FBACCEL

If set to 0, disable hardware acceleration in the linux fbcon driver.

SDL_FBDEV

Frame buffer device to use in the linux fbcon driver, instead of /dev/fb0

SDL_FULLSCREEN_UPDATE

In the ps2gs driver, sets the SDL_ASYNCBLIT flag on the +display surface.

SDL_VIDEODRIVER

Selectes the video driver for SDL to use. Possible values, in the +order they are tried if this variable is not set:

x11

dga

(the XFree86 DGA2)

nanox

(Linux)

fbcon

(Linux)

directfb

(Linux)

ps2gs

(Playstation 2)

ggi

vgl

(BSD)

svgalib

(Linux)

aalib

directx

(Win32)

windib

(Win32)

bwindow

(BeOS)

toolbox

(MacOS Classic)

DSp

(MacOS Classic)

Quartz

(Mac OS X)

CGX

(Amiga)

photon

(QNX)

dummy

SDL_VIDEO_CENTERED

If set, tries to center the SDL window when running in X11 windowed +mode, or using the CyberGrafix driver.

SDL_VIDEO_GL_DRIVER

The openGL driver (shared library) to use for X11. Default is libGL.so.1

SDL_VIDEO_X11_DGAMOUSE

With XFree86, enables use of DGA mouse if set.

SDL_VIDEO_X11_MOUSEACCEL

For X11, sets the mouse acceleration. The value should be a string +on the form:

"n/d/t"

where n and d are the +acceleration numerator/denumerators (so mouse movement is accelerated by +n/d), and +t is the threshold above which acceleration applies +(counted as number of pixels the mouse moves at once).

SDL_VIDEO_X11_NODIRECTCOLOR

If set, don't attempt to use DirectColor visuals even if they are +present. (SDL will use them otherwise for gamma correction). +This is needed with older X servers when using the XVideo extension.

SDL_VIDEO_X11_VISUALID

ID of an X11 visual to use, overriding SDL's default visual selection +algorithm. It can be in decimal or in hex (prefixed by 0x).

SDL_VIDEO_YUV_DIRECT

If set, display YUV overlay directly on the video surface if possible, +instead of on the surface passed to +SDL_CreateYUVOverlay.

SDL_VIDEO_YUV_HWACCEL

If not set or set to a nonzero value, SDL will attempt to use +hardware YUV acceleration for video playback.

SDL_WINDOWID

For X11 or Win32, contains the ID number of the window to be used by +SDL instead of creating its own window. Either in decimal or +in hex (prefixed by 0x).

Events/Input

SDL_MOUSE_RELATIVE

If set to 0, do not use mouse relative mode in X11. The default is +to use it if the mouse is hidden and input is grabbed.

SDL_MOUSEDEV

The mouse device to use for the linux fbcon driver. If not set, +SDL first tries to use GPM in repeater mode, then various other +devices (/dev/pcaux, /dev/adbmouse, /dev/mouse etc).

SDL_MOUSEDEV_IMPS2

If set, SDL will not try to auto-detect the IMPS/2 protocol of +a PS/2 mouse but use it right away. For the fbcon and ps2gs drivers.

SDL_MOUSEDRV

For the linux fbcon driver: if set to ELO, use the ELO touchscreen +controller as a pointer device

SDL_NO_RAWKBD

For the libvga driver: If set, do not attempt to put the keyboard in raw mode.

SDL_NOMOUSE

If set, the linux fbcon driver will not use a mouse at all.

SDL_NO_LOCK_KEYS

Disable CAPS-LOCK and NUM-LOCK suppression of down+up key events, +suitable for games where the player needs these keys to do more than just toggle. +A value of 1 will effect both CAPS-LOCK and NUM-LOCK. +A value of 2 will effect only CAPS-LOCK. +A value of 3 will effect only NUM-LOCK. +All other values have no effect. +

Audio

AUDIODEV

The audio device to use, if SDL_PATH_DSP isn't set.

SDL_AUDIODRIVER

Selects the audio driver for SDL to use. Possible values, in the +order they are tried if this variable is not set:

openbsd

(OpenBSD)

dsp

(OSS /dev/dsp: Linux, Solaris, BSD etc)

alsa

(Linux)

pulse

(PulseAudio daemon)

audio

(Unix style /dev/audio: SunOS, Solaris etc)

AL

(Irix)

artsc

(ARTS audio daemon)

esd

(esound audio daemon)

nas

(NAS audio daemon)

dma

(OSS /dev/dsp, using DMA)

dsound

(Win32 DirectX)

waveout

(Win32 WaveOut)

baudio

(BeOS)

sndmgr

(MacOS SoundManager)

paud

(AIX)

AHI

(Amiga)

disk

(all; output to file)

SDL_DISKAUDIOFILE

The name of the output file for the "disk" audio driver. If not +set, the name sdlaudio.raw is used.

SDL_DISKAUDIODELAY

For the "disk" audio driver, how long to wait (in ms) before writing +a full sound buffer. The default is 150 ms.

SDL_DSP_NOSELECT

For some audio drivers (alsa, paud, dma and dsp), don't use select() +but a timed method instead. May cure some audio problems, or cause +others.

SDL_PATH_DSP

The audio device to use. If not set, SDL tries AUDIODEV and then +a platform-dependent default value (/dev/audio on Solaris, +/dev/dsp on Linux etc).

CD-ROM

SDL_CDROM

A colon-separated list of CD-ROM devices to use, in addition to +the standard devices (typically /dev/cdrom, platform-dependent).

Debugging

SDL_DEBUG

If set, causes every call to SDL_SetError (that +is, every time SDL signals an error) to also print an error message on +stderr.

Joystick

SDL_JOYSTICK_DEVICE

Joystick device to use in the linux joystick driver, in addition +to the usual: /dev/js*, /dev/input/event*, /dev/input/js*

SDL_LINUX_JOYSTICK

Special joystick configuration string for linux. The format is

"name numaxes numhats numballs"

where name is the name string of the joystick +(possibly in single quotes), and the rest are the number of axes, hats +and balls respectively.


PrevHomeNext
SDL_GetErrorUpVideo
diff --git a/distrib/sdl-1.2.15/docs/html/sdlevent.html b/distrib/sdl-1.2.15/docs/html/sdlevent.html new file mode 100644 index 0000000..dfd21b7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlevent.html @@ -0,0 +1,994 @@ +SDL_Event
SDL Library Documentation
PrevNext

SDL_Event

Name

SDL_Event -- General event structure

Structure Definition

typedef union{
+  Uint8 type;
+  SDL_ActiveEvent active;
+  SDL_KeyboardEvent key;
+  SDL_MouseMotionEvent motion;
+  SDL_MouseButtonEvent button;
+  SDL_JoyAxisEvent jaxis;
+  SDL_JoyBallEvent jball;
+  SDL_JoyHatEvent jhat;
+  SDL_JoyButtonEvent jbutton;
+  SDL_ResizeEvent resize;
+  SDL_ExposeEvent expose;
+  SDL_QuitEvent quit;
+  SDL_UserEvent user;
+  SDL_SysWMEvent syswm;
+} SDL_Event;

Description

The SDL_Event union is the core to all event handling is SDL, its probably the most important structure after SDL_Surface. SDL_Event is a union of all event structures used in SDL, using it is a simple matter of knowing which union member relates to which event type.

Event typeEvent Structure
SDL_ACTIVEEVENTSDL_ActiveEvent
SDL_KEYDOWN/UPSDL_KeyboardEvent
SDL_MOUSEMOTIONSDL_MouseMotionEvent
SDL_MOUSEBUTTONDOWN/UPSDL_MouseButtonEvent
SDL_JOYAXISMOTIONSDL_JoyAxisEvent
SDL_JOYBALLMOTIONSDL_JoyBallEvent
SDL_JOYHATMOTIONSDL_JoyHatEvent
SDL_JOYBUTTONDOWN/UPSDL_JoyButtonEvent
SDL_QUITSDL_QuitEvent
SDL_SYSWMEVENTSDL_SysWMEvent
SDL_VIDEORESIZESDL_ResizeEvent
SDL_VIDEOEXPOSESDL_ExposeEvent
SDL_USEREVENTSDL_UserEvent

Use

The SDL_Event structure has two uses

  • Reading events on the event queue

  • Placing events on the event queue

Reading events from the event queue is done with either SDL_PollEvent or SDL_PeepEvents. We'll use SDL_PollEvent and step through an example.

First off, we create an empty SDL_Event structure. +

SDL_Event test_event;
+SDL_PollEvent removes the next event from the event queue, if there are no events on the queue it returns 0 otherwise it returns 1. We use a while loop to process each event in turn. +
while(SDL_PollEvent(&test_event)) {
+The SDL_PollEvent function take a pointer to an SDL_Event structure that is to be filled with event information. We know that if SDL_PollEvent removes an event from the queue then the event information will be placed in our test_event structure, but we also know that the type of event will be placed in the type member of test_event. So to handle each event type seperately we use a switch statement. +
  switch(test_event.type) {
+We need to know what kind of events we're looking for and the event type's of those events. So lets assume we want to detect where the user is moving the mouse pointer within our application. We look through our event types and notice that SDL_MOUSEMOTION is, more than likely, the event we're looking for. A little more research tells use that SDL_MOUSEMOTION events are handled within the SDL_MouseMotionEvent structure which is the motion member of SDL_Event. We can check for the SDL_MOUSEMOTION event type within our switch statement like so: +
    case SDL_MOUSEMOTION:
+All we need do now is read the information out of the motion member of test_event. +
      printf("We got a motion event.\n");
+      printf("Current mouse position is: (%d, %d)\n", test_event.motion.x, test_event.motion.y);
+      break;
+    default:
+      printf("Unhandled Event!\n");
+      break;
+  }
+}
+printf("Event queue empty.\n");

It is also possible to push events onto the event queue and so use it as a two-way communication path. Both SDL_PushEvent and SDL_PeepEvents allow you to place events onto the event queue. This is usually used to place a SDL_USEREVENT on the event queue, however you could use it to post fake input events if you wished. Creating your own events is a simple matter of choosing the event type you want, setting the type member and filling the appropriate member structure with information. +

SDL_Event user_event;
+
+user_event.type=SDL_USEREVENT;
+user_event.user.code=2;
+user_event.user.data1=NULL;
+user_event.user.data2=NULL;
+SDL_PushEvent(&user_event);


PrevHomeNext
SDL Event Structures.UpSDL_ActiveEvent
diff --git a/distrib/sdl-1.2.15/docs/html/sdleventstate.html b/distrib/sdl-1.2.15/docs/html/sdleventstate.html new file mode 100644 index 0000000..b9a2448 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdleventstate.html @@ -0,0 +1,276 @@ +SDL_EventState
SDL Library Documentation
PrevNext

SDL_EventState

Name

SDL_EventState -- This function allows you to set the state of processing certain events.

Synopsis

#include "SDL.h"

Uint8 SDL_EventState(Uint8 type, int state);

Description

This function allows you to set the state of processing certain event type's.

If state is set to SDL_IGNORE, +that event type will be automatically dropped from the event queue and will +not be filtered.

If state is set to SDL_ENABLE, +that event type will be processed normally.

If state is set to SDL_QUERY, +SDL_EventState will return the current processing +state of the specified event type.

A list of event type's can be found in the SDL_Event section.

See Also

SDL_Event


PrevHomeNext
SDL_GetEventFilterUpSDL_GetKeyState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlexposeevent.html b/distrib/sdl-1.2.15/docs/html/sdlexposeevent.html new file mode 100644 index 0000000..82c2a3e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlexposeevent.html @@ -0,0 +1,252 @@ +SDL_ExposeEvent
SDL Library Documentation
PrevNext

SDL_ExposeEvent

Name

SDL_ExposeEvent -- Quit requested event

Structure Definition

typedef struct{
+  Uint8 type
+} SDL_ExposeEvent;

Structure Data

typeSDL_VIDEOEXPOSE

Description

SDL_ExposeEvent is a member of the SDL_Event union and is used whan an event of type SDL_VIDEOEXPOSE is reported.

A VIDEOEXPOSE event is triggered when the screen has been modified +outside of the application, usually by the window manager and needs to +be redrawn.


PrevHomeNext
SDL_ResizeEventUpSDL_SysWMEvent
diff --git a/distrib/sdl-1.2.15/docs/html/sdlfillrect.html b/distrib/sdl-1.2.15/docs/html/sdlfillrect.html new file mode 100644 index 0000000..4ace062 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfillrect.html @@ -0,0 +1,291 @@ +SDL_FillRect
SDL Library Documentation
PrevNext

SDL_FillRect

Name

SDL_FillRect -- This function performs a fast fill of the given rectangle with some color

Synopsis

#include "SDL.h"

int SDL_FillRect(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);

Description

This function performs a fast fill of the given rectangle with +color. If dstrect +is NULL, the whole surface will be filled with +color.

The color should be a pixel of the format used by the surface, and +can be generated by the +SDL_MapRGB or SDL_MapRGBA +functions. If the color value contains an alpha value then the +destination is simply "filled" with that alpha information, no blending +takes place.

If there is a clip rectangle set on the destination (set via +SDL_SetClipRect) then this +function will clip based on the intersection of the clip rectangle and +the dstrect rectangle and the dstrect rectangle +will be modified to represent the area actually filled.

Return Value

This function returns 0 on success, or +-1 on error.


PrevHomeNext
SDL_BlitSurfaceUpSDL_DisplayFormat
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlflip.html b/distrib/sdl-1.2.15/docs/html/sdlflip.html new file mode 100644 index 0000000..b480f99 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlflip.html @@ -0,0 +1,259 @@ +SDL_Flip
SDL Library Documentation
PrevNext

SDL_Flip

Name

SDL_Flip -- Swaps screen buffers

Synopsis

#include "SDL.h"

int SDL_Flip(SDL_Surface *screen);

Description

On hardware that supports double-buffering, this function sets up a flip +and returns. The hardware will wait for vertical retrace, and then swap +video buffers before the next video surface blit or lock will return. +On hardware that doesn't support double-buffering, this is equivalent +to calling SDL_UpdateRect(screen, 0, 0, 0, 0)

The SDL_DOUBLEBUF flag must have been passed to +SDL_SetVideoMode, + when +setting the video mode for this function to perform hardware flipping.

Return Value

This function returns 0 if successful, or +-1 if there was an error.


PrevHomeNext
SDL_UpdateRectsUpSDL_SetColors
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlfreecursor.html b/distrib/sdl-1.2.15/docs/html/sdlfreecursor.html new file mode 100644 index 0000000..01a4f7c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfreecursor.html @@ -0,0 +1,209 @@ +SDL_FreeCursor
SDL Library Documentation
PrevNext

SDL_FreeCursor

Name

SDL_FreeCursor -- Frees a cursor created with SDL_CreateCursor.

Synopsis

#include "SDL.h"

void SDL_FreeCursor(SDL_Cursor *cursor);

Description

Frees a SDL_Cursor that was created using +SDL_CreateCursor.


PrevHomeNext
SDL_CreateCursorUpSDL_SetCursor
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlfreesurface.html b/distrib/sdl-1.2.15/docs/html/sdlfreesurface.html new file mode 100644 index 0000000..84b6048 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfreesurface.html @@ -0,0 +1,219 @@ +SDL_FreeSurface
SDL Library Documentation
PrevNext

SDL_FreeSurface

Name

SDL_FreeSurface -- Frees (deletes) a SDL_Surface

Synopsis

#include "SDL.h"

void SDL_FreeSurface(SDL_Surface *surface);

Description

Frees the resources used by a previously created SDL_Surface. If the surface was created using +SDL_CreateRGBSurfaceFrom then the pixel data is not freed.


PrevHomeNext
SDL_CreateRGBSurfaceFromUpSDL_LockSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlfreewav.html b/distrib/sdl-1.2.15/docs/html/sdlfreewav.html new file mode 100644 index 0000000..24242c4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfreewav.html @@ -0,0 +1,222 @@ +SDL_FreeWAV
SDL Library Documentation
PrevNext

SDL_FreeWAV

Name

SDL_FreeWAV -- Frees previously opened WAV data

Synopsis

#include "SDL.h"

void SDL_FreeWAV(Uint8 *audio_buf);

Description

After a WAVE file has been opened with SDL_LoadWAV its data can eventually be freed with SDL_FreeWAV. audio_buf is a pointer to the buffer created by SDL_LoadWAV.

See Also

SDL_LoadWAV


PrevHomeNext
SDL_LoadWAVUpSDL_AudioCVT
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlfreeyuvoverlay.html b/distrib/sdl-1.2.15/docs/html/sdlfreeyuvoverlay.html new file mode 100644 index 0000000..e82340d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfreeyuvoverlay.html @@ -0,0 +1,233 @@ +SDL_FreeYUVOverlay
SDL Library Documentation
PrevNext

SDL_FreeYUVOverlay

Name

SDL_FreeYUVOverlay -- Free a YUV video overlay

Synopsis

#include "SDL.h"

void SDL_FreeYUVOverlay(SDL_Overlay *overlay);

Description

Frees and overlay created by SDL_CreateYUVOverlay.


PrevHomeNext
SDL_DisplayYUVOverlayUpSDL_GLattr
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetappstate.html b/distrib/sdl-1.2.15/docs/html/sdlgetappstate.html new file mode 100644 index 0000000..d09e2e0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetappstate.html @@ -0,0 +1,263 @@ +SDL_GetAppState
SDL Library Documentation
PrevNext

SDL_GetAppState

Name

SDL_GetAppState -- Get the state of the application

Synopsis

#include "SDL.h"

Uint8 SDL_GetAppState(void);

Description

This function returns the current state of the application. The value returned is a bitwise combination of:

SDL_APPMOUSEFOCUSThe application has mouse focus.
SDL_APPINPUTFOCUSThe application has keyboard focus
SDL_APPACTIVEThe application is visible


PrevHomeNext
SDL_GetRelativeMouseStateUpSDL_JoystickEventState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetaudiostatus.html b/distrib/sdl-1.2.15/docs/html/sdlgetaudiostatus.html new file mode 100644 index 0000000..3fc3a09 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetaudiostatus.html @@ -0,0 +1,221 @@ +SDL_GetAudioStatus
SDL Library Documentation
PrevNext

SDL_GetAudioStatus

Name

SDL_GetAudioStatus -- Get the current audio state

Synopsis

#include "SDL.h"

SDL_audiostatusSDL_GetAudioStatus(void);

Description

typedef enum{
+  SDL_AUDIO_STOPPED,
+  SDL_AUDIO_PAUSED,
+  SDL_AUDIO_PLAYING
+} SDL_audiostatus;

Returns either SDL_AUDIO_STOPPED, SDL_AUDIO_PAUSED or SDL_AUDIO_PLAYING depending on the current audio state.


PrevHomeNext
SDL_PauseAudioUpSDL_LoadWAV
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetcliprect.html b/distrib/sdl-1.2.15/docs/html/sdlgetcliprect.html new file mode 100644 index 0000000..f00ac77 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetcliprect.html @@ -0,0 +1,229 @@ +SDL_GetClipRect
SDL Library Documentation
PrevNext

SDL_GetClipRect

Name

SDL_GetClipRect -- Gets the clipping rectangle for a surface.

Synopsis

#include "SDL.h"

void SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect);

Description

Gets the clipping rectangle for a surface. When this surface is the +destination of a blit, only the area within the clip rectangle is +drawn into.

The rectangle pointed to by rect will be +filled with the clipping rectangle of the surface.


PrevHomeNext
SDL_SetClipRectUpSDL_ConvertSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetcursor.html b/distrib/sdl-1.2.15/docs/html/sdlgetcursor.html new file mode 100644 index 0000000..72ecbc7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetcursor.html @@ -0,0 +1,219 @@ +SDL_GetCursor
SDL Library Documentation
PrevNext

SDL_GetCursor

Name

SDL_GetCursor -- Get the currently active mouse cursor.

Synopsis

#include "SDL.h"

SDL_Cursor *SDL_GetCursor(void);

Description

Returns the currently active mouse cursor.


PrevHomeNext
SDL_SetCursorUpSDL_ShowCursor
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgeterror.html b/distrib/sdl-1.2.15/docs/html/sdlgeterror.html new file mode 100644 index 0000000..cdf5792 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgeterror.html @@ -0,0 +1,205 @@ +SDL_GetError
SDL Library Documentation
PrevNext

SDL_GetError

Name

SDL_GetError -- Get SDL error string

Synopsis

#include "SDL/SDL.h"

char *SDL_GetError(void);

Description

SDL_GetError returns a NULL terminated string containing information about the last internal SDL error.

Return Value

SDL_GetError returns a string containing the last error.


PrevHomeNext
SDL_WasInitUpSDL_envvars
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgeteventfilter.html b/distrib/sdl-1.2.15/docs/html/sdlgeteventfilter.html new file mode 100644 index 0000000..d254d34 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgeteventfilter.html @@ -0,0 +1,235 @@ +SDL_GetEventFilter
SDL Library Documentation
PrevNext

SDL_GetEventFilter

Name

SDL_GetEventFilter -- Retrieves a pointer to he event filter

Synopsis

#include "SDL.h"

SDL_EventFilter SDL_GetEventFilter(void);

Description

This function retrieces a pointer to the event filter that was previously set using SDL_SetEventFilter. An SDL_EventFilter function is defined as: +

typedef int (*SDL_EventFilter)(const SDL_Event *event);

Return Value

Returns a pointer to the event filter or NULL if no filter has been set.


PrevHomeNext
SDL_SetEventFilterUpSDL_EventState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetgammaramp.html b/distrib/sdl-1.2.15/docs/html/sdlgetgammaramp.html new file mode 100644 index 0000000..bfcc03c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetgammaramp.html @@ -0,0 +1,219 @@ +SDL_GetGammaRamp
SDL Library Documentation
PrevNext

SDL_GetGammaRamp

Name

SDL_GetGammaRamp -- Gets the color gamma lookup tables for the display

Synopsis

#include "SDL.h"

int SDL_GetGammaRamp(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable);

Description

Gets the gamma translation lookup tables currently used by the display. +Each table is an array of 256 Uint16 values.

Not all display hardware is able to change gamma.

Return Value

Returns -1 on error.


PrevHomeNext
SDL_SetGammaUpSDL_SetGammaRamp
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetkeyname.html b/distrib/sdl-1.2.15/docs/html/sdlgetkeyname.html new file mode 100644 index 0000000..6c51c94 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetkeyname.html @@ -0,0 +1,216 @@ +SDL_GetKeyName
SDL Library Documentation
PrevNext

SDL_GetKeyName

Name

SDL_GetKeyName -- Get the name of an SDL virtual keysym

Synopsis

#include "SDL.h"

char *SDL_GetKeyName(SDLKey key);

Description

Returns the SDL-defined name of the SDLKey key.

See Also

SDLKey


PrevHomeNext
SDL_SetModStateUpSDL_EnableUNICODE
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetkeystate.html b/distrib/sdl-1.2.15/docs/html/sdlgetkeystate.html new file mode 100644 index 0000000..1c16f2e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetkeystate.html @@ -0,0 +1,253 @@ +SDL_GetKeyState
SDL Library Documentation
PrevNext

SDL_GetKeyState

Name

SDL_GetKeyState -- Get a snapshot of the current keyboard state

Synopsis

#include "SDL.h"

Uint8 *SDL_GetKeyState(int *numkeys);

Description

Gets a snapshot of the current keyboard state. The current state is return as a pointer to an array, the size of this array is stored in numkeys. The array is indexed by the SDLK_* symbols. A value of 1 means the key is pressed and a value of 0 means its not. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller.

Note: Use SDL_PumpEvents to update the state array.

Example

Uint8 *keystate = SDL_GetKeyState(NULL);
+if ( keystate[SDLK_RETURN] ) printf("Return Key Pressed.\n");


PrevHomeNext
SDL_EventStateUpSDL_GetModState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetmodstate.html b/distrib/sdl-1.2.15/docs/html/sdlgetmodstate.html new file mode 100644 index 0000000..64d2f35 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetmodstate.html @@ -0,0 +1,257 @@ +SDL_GetModState
SDL Library Documentation
PrevNext

SDL_GetModState

Name

SDL_GetModState -- Get the state of modifier keys.

Synopsis

#include "SDL.h"

SDLMod SDL_GetModState(void);

Description

Returns the current state of the modifier keys (CTRL, ALT, etc.).

Return Value

The return value can be an OR'd combination of the SDLMod enum.

SDLMod

typedef enum {
+  KMOD_NONE  = 0x0000,
+  KMOD_LSHIFT= 0x0001,
+  KMOD_RSHIFT= 0x0002,
+  KMOD_LCTRL = 0x0040,
+  KMOD_RCTRL = 0x0080,
+  KMOD_LALT  = 0x0100,
+  KMOD_RALT  = 0x0200,
+  KMOD_LMETA = 0x0400,
+  KMOD_RMETA = 0x0800,
+  KMOD_NUM   = 0x1000,
+  KMOD_CAPS  = 0x2000,
+  KMOD_MODE  = 0x4000,
+} SDLMod;
+SDL also defines the following symbols for convenience: +
#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
+#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
+#define KMOD_ALT  (KMOD_LALT|KMOD_RALT)
+#define KMOD_META (KMOD_LMETA|KMOD_RMETA)


PrevHomeNext
SDL_GetKeyStateUpSDL_SetModState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetmousestate.html b/distrib/sdl-1.2.15/docs/html/sdlgetmousestate.html new file mode 100644 index 0000000..d96a55b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetmousestate.html @@ -0,0 +1,253 @@ +SDL_GetMouseState
SDL Library Documentation
PrevNext

SDL_GetMouseState

Name

SDL_GetMouseState -- Retrieve the current state of the mouse

Synopsis

#include "SDL.h"

Uint8 SDL_GetMouseState(int *x, int *y);

Description

The current button state is returned as a button bitmask, which can +be tested using the SDL_BUTTON(X) macros, and x and y are set to the +current mouse cursor position. You can pass NULL for either x or y.

Example

SDL_PumpEvents();
+if(SDL_GetMouseState(NULL, NULL)&SDL_BUTTON(1))
+  printf("Mouse Button 1(left) is pressed.\n");

PrevHomeNext
SDL_EnableKeyRepeatUpSDL_GetRelativeMouseState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetrelativemousestate.html b/distrib/sdl-1.2.15/docs/html/sdlgetrelativemousestate.html new file mode 100644 index 0000000..52a5106 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetrelativemousestate.html @@ -0,0 +1,235 @@ +SDL_GetRelativeMouseState
SDL Library Documentation
PrevNext

SDL_GetRelativeMouseState

Name

SDL_GetRelativeMouseState -- Retrieve the current state of the mouse

Synopsis

#include "SDL.h"

Uint8 SDL_GetRelativeMouseState(int *x, int *y);

Description

The current button state is returned as a button bitmask, which can +be tested using the SDL_BUTTON(X) macros, and x and y are set to the change in the mouse position since the last call to SDL_GetRelativeMouseState or since event initialization. You can pass NULL for either x or y.


PrevHomeNext
SDL_GetMouseStateUpSDL_GetAppState
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetrgb.html b/distrib/sdl-1.2.15/docs/html/sdlgetrgb.html new file mode 100644 index 0000000..47774dc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetrgb.html @@ -0,0 +1,231 @@ +SDL_GetRGB
SDL Library Documentation
PrevNext

SDL_GetRGB

Name

SDL_GetRGB -- Get RGB values from a pixel in the specified pixel format.

Synopsis

#include "SDL.h"

void SDL_GetRGB(Uint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b);

Description

Get RGB component values from a pixel stored in the specified pixel format.

This function uses the entire 8-bit [0..255] range when converting color +components from pixel formats with less than 8-bits per RGB component +(e.g., a completely white pixel in 16-bit RGB565 format would return +[0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).


PrevHomeNext
SDL_MapRGBAUpSDL_GetRGBA
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetrgba.html b/distrib/sdl-1.2.15/docs/html/sdlgetrgba.html new file mode 100644 index 0000000..a9e1093 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetrgba.html @@ -0,0 +1,222 @@ +SDL_GetRGBA
SDL Library Documentation
PrevNext

SDL_GetRGBA

Name

SDL_GetRGBA -- Get RGBA values from a pixel in the specified pixel format.

Synopsis

#include "SDL.h"

void SDL_GetRGBA(Uint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a);

Description

Get RGBA component values from a pixel stored in the specified pixel format.

This function uses the entire 8-bit [0..255] range when converting color +components from pixel formats with less than 8-bits per RGB component +(e.g., a completely white pixel in 16-bit RGB565 format would return +[0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).

If the surface has no alpha component, the alpha will be returned as 0xff +(100% opaque).


PrevHomeNext
SDL_GetRGBUpSDL_CreateRGBSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetthreadid.html b/distrib/sdl-1.2.15/docs/html/sdlgetthreadid.html new file mode 100644 index 0000000..4bc59cb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetthreadid.html @@ -0,0 +1,209 @@ +SDL_GetThreadID
SDL Library Documentation
PrevNext

SDL_GetThreadID

Name

SDL_GetThreadID -- Get the SDL thread ID of a SDL_Thread

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

Uint32 SDL_GetThreadID(SDL_Thread *thread);

Description

Returns the ID of a SDL_Thread created by SDL_CreateThread.


PrevHomeNext
SDL_ThreadIDUpSDL_WaitThread
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetticks.html b/distrib/sdl-1.2.15/docs/html/sdlgetticks.html new file mode 100644 index 0000000..0911aae --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetticks.html @@ -0,0 +1,206 @@ +SDL_GetTicks
SDL Library Documentation
PrevNext

SDL_GetTicks

Name

SDL_GetTicks -- Get the number of milliseconds since the SDL library initialization.

Synopsis

#include "SDL.h"

Uint32 SDL_GetTicks(void);

Description

Get the number of milliseconds since the SDL library initialization. +Note that this value wraps if the program runs for more than ~49 days.

See Also

SDL_Delay


PrevHomeNext
TimeUpSDL_Delay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetvideoinfo.html b/distrib/sdl-1.2.15/docs/html/sdlgetvideoinfo.html new file mode 100644 index 0000000..25c4b45 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetvideoinfo.html @@ -0,0 +1,226 @@ +SDL_GetVideoInfo
SDL Library Documentation
PrevNext

SDL_GetVideoInfo

Name

SDL_GetVideoInfo -- returns a pointer to information about the video hardware

Synopsis

#include "SDL.h"

SDL_VideoInfo *SDL_GetVideoInfo(void);

Description

This function returns a read-only pointer to information about the video +hardware. If this is called before SDL_SetVideoMode, the +vfmt member of the returned structure will contain the +pixel format of the "best" video mode.


PrevHomeNext
SDL_GetVideoSurfaceUpSDL_VideoDriverName
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlgetvideosurface.html b/distrib/sdl-1.2.15/docs/html/sdlgetvideosurface.html new file mode 100644 index 0000000..905b1f6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlgetvideosurface.html @@ -0,0 +1,208 @@ +SDL_GetVideoSurface
SDL Library Documentation
PrevNext

SDL_GetVideoSurface

Name

SDL_GetVideoSurface -- returns a pointer to the current display surface

Synopsis

#include "SDL.h"

SDL_Surface *SDL_GetVideoSurface(void);

Description

This function returns a pointer to the current display surface. +If SDL is doing format conversion on the display surface, this +function returns the publicly visible surface, not the real video +surface.

See Also

SDL_Surface


PrevHomeNext
VideoUpSDL_GetVideoInfo
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglattr.html b/distrib/sdl-1.2.15/docs/html/sdlglattr.html new file mode 100644 index 0000000..0ae0127 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglattr.html @@ -0,0 +1,379 @@ +SDL_GLattr
SDL Library Documentation
PrevNext

SDL_GLattr

Name

SDL_GLattr -- SDL GL Attributes

Attributes

SDL_GL_RED_SIZESize of the framebuffer red component, in bits
SDL_GL_GREEN_SIZESize of the framebuffer green component, in bits
SDL_GL_BLUE_SIZESize of the framebuffer blue component, in bits
SDL_GL_ALPHA_SIZESize of the framebuffer alpha component, in bits
SDL_GL_DOUBLEBUFFER0 or 1, enable or disable double buffering
SDL_GL_BUFFER_SIZESize of the framebuffer, in bits
SDL_GL_DEPTH_SIZESize of the depth buffer, in bits
SDL_GL_STENCIL_SIZESize of the stencil buffer, in bits
SDL_GL_ACCUM_RED_SIZESize of the accumulation buffer red component, in bits
SDL_GL_ACCUM_GREEN_SIZESize of the accumulation buffer green component, in bits
SDL_GL_ACCUM_BLUE_SIZESize of the accumulation buffer blue component, in bits
SDL_GL_ACCUM_ALPHA_SIZESize of the accumulation buffer alpha component, in bits

Description

While you can set most OpenGL attributes normally, the attributes list above must be known before SDL sets the video mode. These attributes a set and read with SDL_GL_SetAttribute and SDL_GL_GetAttribute.


PrevHomeNext
SDL_FreeYUVOverlayUpSDL_Rect
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglgetattribute.html b/distrib/sdl-1.2.15/docs/html/sdlglgetattribute.html new file mode 100644 index 0000000..26c8913 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglgetattribute.html @@ -0,0 +1,247 @@ +SDL_GL_GetAttribute
SDL Library Documentation
PrevNext

SDL_GL_GetAttribute

Name

SDL_GL_GetAttribute -- Get the value of a special SDL/OpenGL attribute

Synopsis

#include "SDL.h"

int SDL_GL_GetAttribute(SDLGLattr attr, int *value);

Description

Places the value of the SDL/OpenGL attribute attr into value. This is useful after a call to SDL_SetVideoMode to check whether your attributes have been set as you expected.

Return Value

Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_GL_GetProcAddressUpSDL_GL_SetAttribute
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglgetprocaddress.html b/distrib/sdl-1.2.15/docs/html/sdlglgetprocaddress.html new file mode 100644 index 0000000..a6cf6e4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglgetprocaddress.html @@ -0,0 +1,262 @@ +SDL_GL_GetProcAddress
SDL Library Documentation
PrevNext

SDL_GL_GetProcAddress

Name

SDL_GL_GetProcAddress -- Get the address of a GL function

Synopsis

#include "SDL.h"

void *SDL_GL_GetProcAddress(const char* proc);

Description

Returns the address of the GL function proc, or NULL if the function is not found. If the GL library is loaded at runtime, with SDL_GL_LoadLibrary, then all GL functions must be retrieved this way. Usually this is used to retrieve function pointers to OpenGL extensions.

Example

typedef void (*GL_ActiveTextureARB_Func)(unsigned int);
+GL_ActiveTextureARB_Func glActiveTextureARB_ptr = 0;
+int has_multitexture=1;
+.
+.
+.
+/* Get function pointer */
+glActiveTextureARB_ptr=(GL_ActiveTextureARB_Func) SDL_GL_GetProcAddress("glActiveTextureARB");
+
+/* Check for a valid function ptr */
+if(!glActiveTextureARB_ptr){
+  fprintf(stderr, "Multitexture Extensions not present.\n");
+  has_multitexture=0;
+}
+.
+.
+.
+.
+if(has_multitexture){
+  glActiveTextureARB_ptr(GL_TEXTURE0_ARB);
+  .
+  .
+}
+else{
+  .
+  .
+}

PrevHomeNext
SDL_GL_LoadLibraryUpSDL_GL_GetAttribute
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglloadlibrary.html b/distrib/sdl-1.2.15/docs/html/sdlglloadlibrary.html new file mode 100644 index 0000000..d3c4c6d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglloadlibrary.html @@ -0,0 +1,231 @@ +SDL_GL_LoadLibrary
SDL Library Documentation
PrevNext

SDL_GL_LoadLibrary

Name

SDL_GL_LoadLibrary -- Specify an OpenGL library

Synopsis

#include "SDL.h"

int SDL_GL_LoadLibrary(const char *path);

Description

If you wish, you may load the OpenGL library at runtime, this must be done before SDL_SetVideoMode is called. The path of the GL library is passed to SDL_GL_LoadLibrary and it returns 0 on success, or -1 on an error. You must then use SDL_GL_GetProcAddress to retrieve function pointers to GL functions.


PrevHomeNext
SDL_ShowCursorUpSDL_GL_GetProcAddress
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglsetattribute.html b/distrib/sdl-1.2.15/docs/html/sdlglsetattribute.html new file mode 100644 index 0000000..ffb1204 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglsetattribute.html @@ -0,0 +1,286 @@ +SDL_GL_SetAttribute
SDL Library Documentation
PrevNext

SDL_GL_SetAttribute

Name

SDL_GL_SetAttribute -- Set a special SDL/OpenGL attribute

Synopsis

#include "SDL.h"

int SDL_GL_SetAttribute(SDL_GLattr attr, int value);

Description

Sets the OpenGL attribute attr to value. The attributes you set don't take effect until after a call to SDL_SetVideoMode. You should use SDL_GL_GetAttribute to check the values after a SDL_SetVideoMode call.

Return Value

Returns 0 on success, or -1 on error.

Example

SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
+SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
+SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
+SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
+SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
+if ( (screen=SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL )) == NULL ) {
+  fprintf(stderr, "Couldn't set GL mode: %s\n", SDL_GetError());
+  SDL_Quit();
+  return;
+}

Note: The SDL_DOUBLEBUF flag is not required to enable double buffering when setting an OpenGL video mode. Double buffering is enabled or disabled using the SDL_GL_DOUBLEBUFFER attribute.


PrevHomeNext
SDL_GL_GetAttributeUpSDL_GL_SwapBuffers
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlglswapbuffers.html b/distrib/sdl-1.2.15/docs/html/sdlglswapbuffers.html new file mode 100644 index 0000000..fa38341 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlglswapbuffers.html @@ -0,0 +1,212 @@ +SDL_GL_SwapBuffers
SDL Library Documentation
PrevNext

SDL_GL_SwapBuffers

Name

SDL_GL_SwapBuffers -- Swap OpenGL framebuffers/Update Display

Synopsis

#include "SDL.h"

void SDL_GL_SwapBuffers(void );

Description

Swap the OpenGL buffers, if double-buffering is supported.


PrevHomeNext
SDL_GL_SetAttributeUpSDL_CreateYUVOverlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlinit.html b/distrib/sdl-1.2.15/docs/html/sdlinit.html new file mode 100644 index 0000000..11f27b8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlinit.html @@ -0,0 +1,368 @@ +SDL_Init
SDL Library Documentation
PrevNext

SDL_Init

Name

SDL_Init -- Initializes SDL

Synopsis

#include "SDL.h"

int SDL_Init(Uint32 flags);

Description

Initializes SDL. This should be called before all other SDL functions. The flags parameter specifies what part(s) of SDL to initialize.

SDL_INIT_TIMERInitializes the timer subsystem.
SDL_INIT_AUDIOInitializes the audio subsystem.
SDL_INIT_VIDEOInitializes the video subsystem.
SDL_INIT_CDROMInitializes the cdrom subsystem.
SDL_INIT_JOYSTICKInitializes the joystick subsystem.
SDL_INIT_EVERYTHINGInitialize all of the above.
SDL_INIT_NOPARACHUTEPrevents SDL from catching fatal signals.
SDL_INIT_EVENTTHREAD 

Return Value

Returns -1 on an error or 0 on success.


PrevHomeNext
GeneralUpSDL_InitSubSystem
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlinitsubsystem.html b/distrib/sdl-1.2.15/docs/html/sdlinitsubsystem.html new file mode 100644 index 0000000..917fd10 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlinitsubsystem.html @@ -0,0 +1,283 @@ +SDL_InitSubSystem
SDL Library Documentation
PrevNext

SDL_InitSubSystem

Name

SDL_InitSubSystem -- Initialize subsystems

Synopsis

#include "SDL.h"

int SDL_InitSubSystem(Uint32 flags);

Description

After SDL has been initialized with SDL_Init you may initialize uninitialized subsystems with SDL_InitSubSystem. The flags parameter is the same as that used in SDL_Init.

Examples

/* Seperating Joystick and Video initialization. */
+SDL_Init(SDL_INIT_VIDEO);
+.
+.
+SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN);
+.
+/* Do Some Video stuff */
+.
+.
+/* Initialize the joystick subsystem */
+SDL_InitSubSystem(SDL_INIT_JOYSTICK);
+
+/* Do some stuff with video and joystick */
+.
+.
+.
+/* Shut them both down */
+SDL_Quit();

Return Value

Returns -1 on an error or 0 on success.


PrevHomeNext
SDL_InitUpSDL_QuitSubSystem
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoyaxisevent.html b/distrib/sdl-1.2.15/docs/html/sdljoyaxisevent.html new file mode 100644 index 0000000..9f01669 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoyaxisevent.html @@ -0,0 +1,330 @@ +SDL_JoyAxisEvent
SDL Library Documentation
PrevNext

SDL_JoyAxisEvent

Name

SDL_JoyAxisEvent -- Joystick axis motion event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 which;
+  Uint8 axis;
+  Sint16 value;
+} SDL_JoyAxisEvent;

Structure Data

typeSDL_JOYAXISMOTION
whichJoystick device index
axisJoystick axis index
valueAxis value (range: -32768 to 32767)

Description

SDL_JoyAxisEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYAXISMOTION is reported.

A SDL_JOYAXISMOTION event occurs when ever a user moves an axis on the joystick. The field which is the index of the joystick that reported the event and axis is the index of the axis (for a more detailed explaination see the Joystick section). value is the current position of the axis.


PrevHomeNext
SDL_MouseButtonEventUpSDL_JoyButtonEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoyballevent.html b/distrib/sdl-1.2.15/docs/html/sdljoyballevent.html new file mode 100644 index 0000000..4ab96fe --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoyballevent.html @@ -0,0 +1,340 @@ +SDL_JoyBallEvent
SDL Library Documentation
PrevNext

SDL_JoyBallEvent

Name

SDL_JoyBallEvent -- Joystick trackball motion event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 which;
+  Uint8 ball;
+  Sint16 xrel, yrel;
+} SDL_JoyBallEvent;

Structure Data

typeSDL_JOYBALLMOTION
whichJoystick device index
ballJoystick trackball index
xrel, yrelThe relative motion in the X/Y direction

Description

SDL_JoyBallEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYBALLMOTION is reported.

A SDL_JOYBALLMOTION event occurs when a user moves a trackball on the joystick. The field which is the index of the joystick that reported the event and ball is the index of the trackball (for a more detailed explaination see the Joystick section). Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in xrel and yrel.


PrevHomeNext
SDL_JoyHatEventUpSDL_ResizeEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoybuttonevent.html b/distrib/sdl-1.2.15/docs/html/sdljoybuttonevent.html new file mode 100644 index 0000000..d1d9c1e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoybuttonevent.html @@ -0,0 +1,351 @@ +SDL_JoyButtonEvent
SDL Library Documentation
PrevNext

SDL_JoyButtonEvent

Name

SDL_JoyButtonEvent -- Joystick button event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 which;
+  Uint8 button;
+  Uint8 state;
+} SDL_JoyButtonEvent;

Structure Data

typeSDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP
whichJoystick device index
buttonJoystick button index
stateSDL_PRESSED or SDL_RELEASED

Description

SDL_JoyButtonEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP is reported.

A SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP event occurs when ever a user presses or releases a button on a joystick. The field which is the index of the joystick that reported the event and button is the index of the button (for a more detailed explaination see the Joystick section). state is the current state or the button which is either SDL_PRESSED or SDL_RELEASED.


PrevHomeNext
SDL_JoyAxisEventUpSDL_JoyHatEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoyhatevent.html b/distrib/sdl-1.2.15/docs/html/sdljoyhatevent.html new file mode 100644 index 0000000..5e115be --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoyhatevent.html @@ -0,0 +1,413 @@ +SDL_JoyHatEvent
SDL Library Documentation
PrevNext

SDL_JoyHatEvent

Name

SDL_JoyHatEvent -- Joystick hat position change event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 which;
+  Uint8 hat;
+  Uint8 value;
+} SDL_JoyHatEvent;

Structure Data

typeSDL_JOY
whichJoystick device index
hatJoystick hat index
valueHat position

Description

SDL_JoyHatEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYHATMOTION is reported.

A SDL_JOYHATMOTION event occurs when ever a user moves a hat on the joystick. The field which is the index of the joystick that reported the event and hat is the index of the hat (for a more detailed exlaination see the Joystick section). value is the current position of the hat. It is a logically OR'd combination of the following values (whose meanings should be pretty obvious:) :

SDL_HAT_CENTERED
SDL_HAT_UP
SDL_HAT_RIGHT
SDL_HAT_DOWN
SDL_HAT_LEFT

The following defines are also provided:

SDL_HAT_RIGHTUP
SDL_HAT_RIGHTDOWN
SDL_HAT_LEFTUP
SDL_HAT_LEFTDOWN


PrevHomeNext
SDL_JoyButtonEventUpSDL_JoyBallEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickclose.html b/distrib/sdl-1.2.15/docs/html/sdljoystickclose.html new file mode 100644 index 0000000..efb44e0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickclose.html @@ -0,0 +1,223 @@ +SDL_JoystickClose
SDL Library Documentation
PrevNext

SDL_JoystickClose

Name

SDL_JoystickClose -- Closes a previously opened joystick

Synopsis

#include "SDL.h"

void SDL_JoystickClose(SDL_Joystick *joystick);

Description

Close a joystick that was previously opened with SDL_JoystickOpen.


PrevHomeNext
SDL_JoystickGetBallUpAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickeventstate.html b/distrib/sdl-1.2.15/docs/html/sdljoystickeventstate.html new file mode 100644 index 0000000..11b148a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickeventstate.html @@ -0,0 +1,290 @@ +SDL_JoystickEventState
SDL Library Documentation
PrevNext

SDL_JoystickEventState

Name

SDL_JoystickEventState -- Enable/disable joystick event polling

Synopsis

#include "SDL.h"

int SDL_JoystickEventState(int state);

Description

This function is used to enable or disable joystick event processing. With joystick event processing disabled you will have to update joystick states with SDL_JoystickUpdate and read the joystick information manually. state is either SDL_QUERY, SDL_ENABLE or SDL_IGNORE.

Note: Joystick event handling is prefered

Return Value

If state is SDL_QUERY then the current state is returned, otherwise the new processing state is returned.


PrevHomeNext
SDL_GetAppStateUpJoystick
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickgetaxis.html b/distrib/sdl-1.2.15/docs/html/sdljoystickgetaxis.html new file mode 100644 index 0000000..40a17b4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickgetaxis.html @@ -0,0 +1,271 @@ +SDL_JoystickGetAxis
SDL Library Documentation
PrevNext

SDL_JoystickGetAxis

Name

SDL_JoystickGetAxis -- Get the current state of an axis

Synopsis

#include "SDL.h"

Sint16 SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);

Description

SDL_JoystickGetAxis returns the current state of the given axis on the given joystick.

On most modern joysticks the X axis is usually represented by axis 0 and the Y axis by axis 1. The value returned by SDL_JoystickGetAxis is a signed integer (-32768 to 32768) representing the current position of the axis, it maybe necessary to impose certain tolerances on these values to account for jitter. It is worth noting that some joysticks use axes 2 and 3 for extra buttons.

Return Value

Returns a 16-bit signed integer representing the current position of the axis.

Examples

Sint16 x_move, y_move;
+SDL_Joystick *joy1;
+.
+.
+x_move=SDL_JoystickGetAxis(joy1, 0);
+y_move=SDL_JoystickGetAxis(joy1, 1);


PrevHomeNext
SDL_JoystickUpdateUpSDL_JoystickGetHat
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickgetball.html b/distrib/sdl-1.2.15/docs/html/sdljoystickgetball.html new file mode 100644 index 0000000..0da252a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickgetball.html @@ -0,0 +1,262 @@ +SDL_JoystickGetBall
SDL Library Documentation
PrevNext

SDL_JoystickGetBall

Name

SDL_JoystickGetBall -- Get relative trackball motion

Synopsis

#include "SDL.h"

int SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);

Description

Get the ball axis change.

Trackballs can only return relative motion since the last call to SDL_JoystickGetBall, these motion deltas a placed into dx and dy.

Return Value

Returns 0 on success or -1 on failure

Examples

int delta_x, delta_y;
+SDL_Joystick *joy;
+.
+.
+.
+SDL_JoystickUpdate();
+if(SDL_JoystickGetBall(joy, 0, &delta_x, &delta_y)==-1)
+  printf("TrackBall Read Error!\n");
+printf("Trackball Delta- X:%d, Y:%d\n", delta_x, delta_y);


PrevHomeNext
SDL_JoystickGetButtonUpSDL_JoystickClose
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickgetbutton.html b/distrib/sdl-1.2.15/docs/html/sdljoystickgetbutton.html new file mode 100644 index 0000000..680e356 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickgetbutton.html @@ -0,0 +1,231 @@ +SDL_JoystickGetButton
SDL Library Documentation
PrevNext

SDL_JoystickGetButton

Name

SDL_JoystickGetButton -- Get the current state of a given button on a given joystick

Synopsis

#include "SDL.h"

Uint8 SDL_JoystickGetButton(SDL_Joystick *joystick, int button);

Description

SDL_JoystickGetButton returns the current state of the given button on the given joystick.

Return Value

1 if the button is pressed. Otherwise, 0.


PrevHomeNext
SDL_JoystickGetHatUpSDL_JoystickGetBall
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickgethat.html b/distrib/sdl-1.2.15/docs/html/sdljoystickgethat.html new file mode 100644 index 0000000..c638abb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickgethat.html @@ -0,0 +1,297 @@ +SDL_JoystickGetHat
SDL Library Documentation
PrevNext

SDL_JoystickGetHat

Name

SDL_JoystickGetHat -- Get the current state of a joystick hat

Synopsis

#include "SDL.h"

Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);

Description

SDL_JoystickGetHat returns the current state of the given hat on the given joystick.

Return Value

The current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following

SDL_HAT_CENTERED
SDL_HAT_UP
SDL_HAT_RIGHT
SDL_HAT_DOWN
SDL_HAT_LEFT
SDL_HAT_RIGHTUP
SDL_HAT_RIGHTDOWN
SDL_HAT_LEFTUP
SDL_HAT_LEFTDOWN


PrevHomeNext
SDL_JoystickGetAxisUpSDL_JoystickGetButton
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickindex.html b/distrib/sdl-1.2.15/docs/html/sdljoystickindex.html new file mode 100644 index 0000000..868a75a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickindex.html @@ -0,0 +1,218 @@ +SDL_JoystickIndex
SDL Library Documentation
PrevNext

SDL_JoystickIndex

Name

SDL_JoystickIndex -- Get the index of an SDL_Joystick.

Synopsis

#include "SDL.h"

int SDL_JoystickIndex(SDL_Joystick *joystick);

Description

Returns the index of a given SDL_Joystick structure.

Return Value

Index number of the joystick.


PrevHomeNext
SDL_JoystickOpenedUpSDL_JoystickNumAxes
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickname.html b/distrib/sdl-1.2.15/docs/html/sdljoystickname.html new file mode 100644 index 0000000..0add817 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickname.html @@ -0,0 +1,238 @@ +SDL_JoystickName
SDL Library Documentation
PrevNext

SDL_JoystickName

Name

SDL_JoystickName -- Get joystick name.

Synopsis

#include "SDL.h"

const char *SDL_JoystickName(int index);

Description

Get the implementation dependent name of joystick. The index parameter refers to the N'th joystick on the system.

Return Value

Returns a char pointer to the joystick name.

Examples

/* Print the names of all attached joysticks */
+int num_joy, i;
+num_joy=SDL_NumJoysticks();
+printf("%d joysticks found\n", num_joy);
+for(i=0;i<num_joy;i++)
+  printf("%s\n", SDL_JoystickName(i));


PrevHomeNext
SDL_NumJoysticksUpSDL_JoystickOpen
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoysticknumaxes.html b/distrib/sdl-1.2.15/docs/html/sdljoysticknumaxes.html new file mode 100644 index 0000000..53b67f5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoysticknumaxes.html @@ -0,0 +1,225 @@ +SDL_JoystickNumAxes
SDL Library Documentation
PrevNext

SDL_JoystickNumAxes

Name

SDL_JoystickNumAxes -- Get the number of joystick axes

Synopsis

#include "SDL.h"

int SDL_JoystickNumAxes(SDL_Joystick *joystick);

Description

Return the number of axes available from a previously opened SDL_Joystick.

Return Value

Number of axes.


PrevHomeNext
SDL_JoystickIndexUpSDL_JoystickNumBalls
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoysticknumballs.html b/distrib/sdl-1.2.15/docs/html/sdljoysticknumballs.html new file mode 100644 index 0000000..0a8405d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoysticknumballs.html @@ -0,0 +1,225 @@ +SDL_JoystickNumBalls
SDL Library Documentation
PrevNext

SDL_JoystickNumBalls

Name

SDL_JoystickNumBalls -- Get the number of joystick trackballs

Synopsis

#include "SDL.h"

int SDL_JoystickNumBalls(SDL_Joystick *joystick);

Description

Return the number of trackballs available from a previously opened SDL_Joystick.

Return Value

Number of trackballs.


PrevHomeNext
SDL_JoystickNumAxesUpSDL_JoystickNumHats
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoysticknumbuttons.html b/distrib/sdl-1.2.15/docs/html/sdljoysticknumbuttons.html new file mode 100644 index 0000000..625b893 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoysticknumbuttons.html @@ -0,0 +1,225 @@ +SDL_JoystickNumButtons
SDL Library Documentation
PrevNext

SDL_JoystickNumButtons

Name

SDL_JoystickNumButtons -- Get the number of joysitck buttons

Synopsis

#include "SDL.h"

int SDL_JoystickNumButtons(SDL_Joystick *joystick);

Description

Return the number of buttons available from a previously opened SDL_Joystick.

Return Value

Number of buttons.


PrevHomeNext
SDL_JoystickNumHatsUpSDL_JoystickUpdate
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoysticknumhats.html b/distrib/sdl-1.2.15/docs/html/sdljoysticknumhats.html new file mode 100644 index 0000000..ed53235 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoysticknumhats.html @@ -0,0 +1,225 @@ +SDL_JoystickNumHats
SDL Library Documentation
PrevNext

SDL_JoystickNumHats

Name

SDL_JoystickNumHats -- Get the number of joystick hats

Synopsis

#include "SDL.h"

int SDL_JoystickNumHats(SDL_Joystick *joystick);

Description

Return the number of hats available from a previously opened SDL_Joystick.

Return Value

Number of hats.


PrevHomeNext
SDL_JoystickNumBallsUpSDL_JoystickNumButtons
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickopen.html b/distrib/sdl-1.2.15/docs/html/sdljoystickopen.html new file mode 100644 index 0000000..e608c43 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickopen.html @@ -0,0 +1,259 @@ +SDL_JoystickOpen
SDL Library Documentation
PrevNext

SDL_JoystickOpen

Name

SDL_JoystickOpen -- Opens a joystick for use.

Synopsis

#include "SDL.h"

SDL_Joystick *SDL_JoystickOpen(int index);

Description

Opens a joystick for use within SDL. The index refers to the N'th joystick in the system. A joystick must be opened before it game be used.

Return Value

Returns a SDL_Joystick structure on success. NULL on failure.

Examples

SDL_Joystick *joy;
+// Check for joystick
+if(SDL_NumJoysticks()>0){
+  // Open joystick
+  joy=SDL_JoystickOpen(0);
+  
+  if(joy)
+  {
+    printf("Opened Joystick 0\n");
+    printf("Name: %s\n", SDL_JoystickName(0));
+    printf("Number of Axes: %d\n", SDL_JoystickNumAxes(joy));
+    printf("Number of Buttons: %d\n", SDL_JoystickNumButtons(joy));
+    printf("Number of Balls: %d\n", SDL_JoystickNumBalls(joy));
+  }
+  else
+    printf("Couldn't open Joystick 0\n");
+  
+  // Close if opened
+  if(SDL_JoystickOpened(0))
+    SDL_JoystickClose(joy);
+}


PrevHomeNext
SDL_JoystickNameUpSDL_JoystickOpened
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickopened.html b/distrib/sdl-1.2.15/docs/html/sdljoystickopened.html new file mode 100644 index 0000000..5275a09 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickopened.html @@ -0,0 +1,233 @@ +SDL_JoystickOpened
SDL Library Documentation
PrevNext

SDL_JoystickOpened

Name

SDL_JoystickOpened -- Determine if a joystick has been opened

Synopsis

#include "SDL.h"

int SDL_JoystickOpened(int index);

Description

Determines whether a joystick has already been opened within the application. index refers to the N'th joystick on the system.

Return Value

Returns 1 if the joystick has been opened, or 0 if it has not.


PrevHomeNext
SDL_JoystickOpenUpSDL_JoystickIndex
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdljoystickupdate.html b/distrib/sdl-1.2.15/docs/html/sdljoystickupdate.html new file mode 100644 index 0000000..0cb37dc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdljoystickupdate.html @@ -0,0 +1,211 @@ +SDL_JoystickUpdate
SDL Library Documentation
PrevNext

SDL_JoystickUpdate

Name

SDL_JoystickUpdate -- Updates the state of all joysticks

Synopsis

#include "SDL.h"

void SDL_JoystickUpdate(void);

Description

Updates the state(position, buttons, etc.) of all open joysticks. If joystick events have been enabled with SDL_JoystickEventState then this is called automatically in the event loop.


PrevHomeNext
SDL_JoystickNumButtonsUpSDL_JoystickGetAxis
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlkey.html b/distrib/sdl-1.2.15/docs/html/sdlkey.html new file mode 100644 index 0000000..6591884 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlkey.html @@ -0,0 +1,2630 @@ +SDLKey
SDL Library Documentation
PrevNext

SDLKey

Name

SDLKey -- Keysym definitions.

Description

Table 8-1. SDL Keysym definitions

SDLKeyASCII valueCommon name
SDLK_BACKSPACE'\b'backspace
SDLK_TAB'\t'tab
SDLK_CLEAR clear
SDLK_RETURN'\r'return
SDLK_PAUSE pause
SDLK_ESCAPE'^['escape
SDLK_SPACE' 'space
SDLK_EXCLAIM'!'exclaim
SDLK_QUOTEDBL'"'quotedbl
SDLK_HASH'#'hash
SDLK_DOLLAR'$'dollar
SDLK_AMPERSAND'&'ampersand
SDLK_QUOTE'''quote
SDLK_LEFTPAREN'('left parenthesis
SDLK_RIGHTPAREN')'right parenthesis
SDLK_ASTERISK'*'asterisk
SDLK_PLUS'+'plus sign
SDLK_COMMA','comma
SDLK_MINUS'-'minus sign
SDLK_PERIOD'.'period
SDLK_SLASH'/'forward slash
SDLK_0'0'0
SDLK_1'1'1
SDLK_2'2'2
SDLK_3'3'3
SDLK_4'4'4
SDLK_5'5'5
SDLK_6'6'6
SDLK_7'7'7
SDLK_8'8'8
SDLK_9'9'9
SDLK_COLON':'colon
SDLK_SEMICOLON';'semicolon
SDLK_LESS'<'less-than sign
SDLK_EQUALS'='equals sign
SDLK_GREATER'>'greater-than sign
SDLK_QUESTION'?'question mark
SDLK_AT'@'at
SDLK_LEFTBRACKET'['left bracket
SDLK_BACKSLASH'\'backslash
SDLK_RIGHTBRACKET']'right bracket
SDLK_CARET'^'caret
SDLK_UNDERSCORE'_'underscore
SDLK_BACKQUOTE'`'grave
SDLK_a'a'a
SDLK_b'b'b
SDLK_c'c'c
SDLK_d'd'd
SDLK_e'e'e
SDLK_f'f'f
SDLK_g'g'g
SDLK_h'h'h
SDLK_i'i'i
SDLK_j'j'j
SDLK_k'k'k
SDLK_l'l'l
SDLK_m'm'm
SDLK_n'n'n
SDLK_o'o'o
SDLK_p'p'p
SDLK_q'q'q
SDLK_r'r'r
SDLK_s's's
SDLK_t't't
SDLK_u'u'u
SDLK_v'v'v
SDLK_w'w'w
SDLK_x'x'x
SDLK_y'y'y
SDLK_z'z'z
SDLK_DELETE'^?'delete
SDLK_KP0 keypad 0
SDLK_KP1 keypad 1
SDLK_KP2 keypad 2
SDLK_KP3 keypad 3
SDLK_KP4 keypad 4
SDLK_KP5 keypad 5
SDLK_KP6 keypad 6
SDLK_KP7 keypad 7
SDLK_KP8 keypad 8
SDLK_KP9 keypad 9
SDLK_KP_PERIOD'.'keypad period
SDLK_KP_DIVIDE'/'keypad divide
SDLK_KP_MULTIPLY'*'keypad multiply
SDLK_KP_MINUS'-'keypad minus
SDLK_KP_PLUS'+'keypad plus
SDLK_KP_ENTER'\r'keypad enter
SDLK_KP_EQUALS'='keypad equals
SDLK_UP up arrow
SDLK_DOWN down arrow
SDLK_RIGHT right arrow
SDLK_LEFT left arrow
SDLK_INSERT insert
SDLK_HOME home
SDLK_END end
SDLK_PAGEUP page up
SDLK_PAGEDOWN page down
SDLK_F1 F1
SDLK_F2 F2
SDLK_F3 F3
SDLK_F4 F4
SDLK_F5 F5
SDLK_F6 F6
SDLK_F7 F7
SDLK_F8 F8
SDLK_F9 F9
SDLK_F10 F10
SDLK_F11 F11
SDLK_F12 F12
SDLK_F13 F13
SDLK_F14 F14
SDLK_F15 F15
SDLK_NUMLOCK numlock
SDLK_CAPSLOCK capslock
SDLK_SCROLLOCK scrollock
SDLK_RSHIFT right shift
SDLK_LSHIFT left shift
SDLK_RCTRL right ctrl
SDLK_LCTRL left ctrl
SDLK_RALT right alt
SDLK_LALT left alt
SDLK_RMETA right meta
SDLK_LMETA left meta
SDLK_LSUPER left windows key
SDLK_RSUPER right windows key
SDLK_MODE mode shift
SDLK_HELP help
SDLK_PRINT print-screen
SDLK_SYSREQ SysRq
SDLK_BREAK break
SDLK_MENU menu
SDLK_POWER power
SDLK_EURO euro
+ +

Table 8-2. SDL modifier definitions

SDL ModifierMeaning
KMOD_NONENo modifiers applicable
KMOD_NUMNumlock is down
KMOD_CAPSCapslock is down
KMOD_LCTRLLeft Control is down
KMOD_RCTRLRight Control is down
KMOD_RSHIFTRight Shift is down
KMOD_LSHIFTLeft Shift is down
KMOD_RALTRight Alt is down
KMOD_LALTLeft Alt is down
KMOD_CTRLA Control key is down
KMOD_SHIFTA Shift key is down
KMOD_ALTAn Alt key is down


PrevHomeNext
SDL_keysymUpEvent Functions.
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlkeyboardevent.html b/distrib/sdl-1.2.15/docs/html/sdlkeyboardevent.html new file mode 100644 index 0000000..1a6962c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlkeyboardevent.html @@ -0,0 +1,375 @@ +SDL_KeyboardEvent
SDL Library Documentation
PrevNext

SDL_KeyboardEvent

Name

SDL_KeyboardEvent -- Keyboard event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 state;
+  SDL_keysym keysym;
+} SDL_KeyboardEvent;

Structure Data

typeSDL_KEYDOWN or SDL_KEYUP
stateSDL_PRESSED or SDL_RELEASED
keysymContains key press information

Description

SDL_KeyboardEvent is a member of the SDL_Event union and is used when an event of type SDL_KEYDOWN or SDL_KEYUP is reported.

The type and state actually report the same information, they just use different values to do it! A keyboard event occurs when a key is released (type=SDK_KEYUP or state=SDL_RELEASED) and when a key is pressed (type=SDL_KEYDOWN or state=SDL_PRESSED). The information on what key was pressed or released is in the keysym structure.

Note: Repeating SDL_KEYDOWN events will occur if key repeat is enabled (see SDL_EnableKeyRepeat).


PrevHomeNext
SDL_ActiveEventUpSDL_MouseMotionEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlkeysym.html b/distrib/sdl-1.2.15/docs/html/sdlkeysym.html new file mode 100644 index 0000000..7a22f79 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlkeysym.html @@ -0,0 +1,355 @@ +SDL_keysym
SDL Library Documentation
PrevNext

SDL_keysym

Name

SDL_keysym -- Keysym structure

Structure Definition

typedef struct{
+  Uint8 scancode;
+  SDLKey sym;
+  SDLMod mod;
+  Uint16 unicode;
+} SDL_keysym;

Structure Data

scancodeHardware specific scancode
symSDL virtual keysym
modCurrent key modifiers
unicodeTranslated character

Description

The SDL_keysym structure is used by reporting key presses and releases since it is a part of the SDL_KeyboardEvent.

The scancode field should generally be left alone, it is the hardware dependent scancode returned by the keyboard. The sym field is extremely useful. It is the SDL-defined value of the key (see SDL Key Syms. This field is very useful when you are checking for certain key presses, like so: +

.
+.
+while(SDL_PollEvent(&event)){
+  switch(event.type){
+    case SDL_KEYDOWN:
+      if(event.key.keysym.sym==SDLK_LEFT)
+        move_left();
+      break;
+    .
+    .
+    .
+  }
+}
+.
+.
+mod stores the current state of the keyboard modifiers as explained in SDL_GetModState. The unicode is only used when UNICODE translation is enabled with SDL_EnableUNICODE. If unicode is non-zero then this a the UNICODE character corresponding to the keypress. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character: +
char ch;
+if ( (keysym.unicode & 0xFF80) == 0 ) {
+  ch = keysym.unicode & 0x7F;
+}
+else {
+  printf("An International Character.\n");
+}
+UNICODE translation does have a slight overhead so don't enable it unless its needed.

See Also

SDLKey


PrevHomeNext
SDL_QuitEventUpSDLKey
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlkillthread.html b/distrib/sdl-1.2.15/docs/html/sdlkillthread.html new file mode 100644 index 0000000..2ce7b9b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlkillthread.html @@ -0,0 +1,223 @@ +SDL_KillThread
SDL Library Documentation
PrevNext

SDL_KillThread

Name

SDL_KillThread -- Gracelessly terminates the thread.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

void SDL_KillThread(SDL_Thread *thread);

Description

SDL_KillThread gracelessly terminates the thread +associated with thread. If possible, you should +use some other form of IPC to signal the thread to quit.


PrevHomeNext
SDL_WaitThreadUpSDL_CreateMutex
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdllistmodes.html b/distrib/sdl-1.2.15/docs/html/sdllistmodes.html new file mode 100644 index 0000000..ee7bc0e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdllistmodes.html @@ -0,0 +1,310 @@ +SDL_ListModes
SDL Library Documentation
PrevNext

SDL_ListModes

Name

SDL_ListModes -- Returns a pointer to an array of available screen dimensions for +the given format and video flags

Synopsis

#include "SDL.h"

SDL_Rect **SDL_ListModes(SDL_PixelFormat *format, Uint32 flags);

Description

Return a pointer to an array of available screen dimensions for the given +format and video flags, sorted largest to smallest. Returns +NULL if there are no dimensions available for a particular +format, or -1 if any dimension is okay for +the given format.

If format is NULL, the mode list +will be for the format returned by SDL_GetVideoInfo()->vfmt. The flag parameter is an OR'd combination of surface flags. The flags are the same as those used SDL_SetVideoMode and they play a strong role in deciding what modes are valid. For instance, if you pass SDL_HWSURFACE as a flag only modes that support hardware video surfaces will be returned.

Example

SDL_Rect **modes;
+int i;
+.
+.
+.
+
+/* Get available fullscreen/hardware modes */
+modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
+
+/* Check is there are any modes available */
+if(modes == (SDL_Rect **)0){
+  printf("No modes available!\n");
+  exit(-1);
+}
+
+/* Check if our resolution is restricted */
+if(modes == (SDL_Rect **)-1){
+  printf("All resolutions available.\n");
+}
+else{
+  /* Print valid modes */
+  printf("Available Modes\n");
+  for(i=0;modes[i];++i)
+    printf("  %d x %d\n", modes[i]->w, modes[i]->h);
+}
+.
+.

PrevHomeNext
SDL_VideoDriverNameUpSDL_VideoModeOK
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlloadbmp.html b/distrib/sdl-1.2.15/docs/html/sdlloadbmp.html new file mode 100644 index 0000000..41556e3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlloadbmp.html @@ -0,0 +1,219 @@ +SDL_LoadBMP
SDL Library Documentation
PrevNext

SDL_LoadBMP

Name

SDL_LoadBMP -- Load a Windows BMP file into an SDL_Surface.

Synopsis

#include "SDL.h"

SDL_Surface *SDL_LoadBMP(const char *file);

Description

Loads a surface from a named Windows BMP file.

Return Value

Returns the new surface, or NULL +if there was an error.

See Also

SDL_SaveBMP


PrevHomeNext
SDL_UnlockSurfaceUpSDL_SaveBMP
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlloadwav.html b/distrib/sdl-1.2.15/docs/html/sdlloadwav.html new file mode 100644 index 0000000..8abb73e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlloadwav.html @@ -0,0 +1,296 @@ +SDL_LoadWAV
SDL Library Documentation
PrevNext

SDL_LoadWAV

Name

SDL_LoadWAV -- Load a WAVE file

Synopsis

#include "SDL.h"

SDL_AudioSpec *SDL_LoadWAV(const char *file, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);

Description

SDL_LoadWAV +This function loads a WAVE file into memory.

If this function succeeds, it returns the given +SDL_AudioSpec, +filled with the audio data format of the wave data, and sets +audio_buf to a malloc'd +buffer containing the audio data, and sets audio_len +to the length of that audio buffer, in bytes. You need to free the audio +buffer with SDL_FreeWAV when you are +done with it.

This function returns NULL and sets the SDL +error message if the wave file cannot be opened, uses an unknown data format, +or is corrupt. Currently raw, MS-ADPCM and IMA-ADPCM WAVE files are supported.

Example

SDL_AudioSpec wav_spec;
+Uint32 wav_length;
+Uint8 *wav_buffer;
+
+/* Load the WAV */
+if( SDL_LoadWAV("test.wav", &wav_spec, &wav_buffer, &wav_length) == NULL ){
+  fprintf(stderr, "Could not open test.wav: %s\n", SDL_GetError());
+  exit(-1);
+}
+.
+.
+.
+/* Do stuff with the WAV */
+.
+.
+/* Free It */
+SDL_FreeWAV(wav_buffer);

PrevHomeNext
SDL_GetAudioStatusUpSDL_FreeWAV
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdllockaudio.html b/distrib/sdl-1.2.15/docs/html/sdllockaudio.html new file mode 100644 index 0000000..0e6fc29 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdllockaudio.html @@ -0,0 +1,208 @@ +SDL_LockAudio
SDL Library Documentation
PrevNext

SDL_LockAudio

Name

SDL_LockAudio -- Lock out the callback function

Synopsis

#include "SDL.h"

void SDL_LockAudio(void);

Description

The lock manipulated by these functions protects the callback function. +During a LockAudio period, you can be guaranteed that the +callback function is not running. Do not call these from the callback +function or you will cause deadlock.


PrevHomeNext
SDL_MixAudioUpSDL_UnlockAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdllocksurface.html b/distrib/sdl-1.2.15/docs/html/sdllocksurface.html new file mode 100644 index 0000000..40c8959 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdllocksurface.html @@ -0,0 +1,306 @@ +SDL_LockSurface
SDL Library Documentation
PrevNext

SDL_LockSurface

Name

SDL_LockSurface -- Lock a surface for directly access.

Synopsis

#include "SDL.h"

int SDL_LockSurface(SDL_Surface *surface);

Description

SDL_LockSurface sets up a surface for directly +accessing the pixels. Between calls to SDL_LockSurface +and SDL_UnlockSurface, you can write to and read from +surface->pixels, using the pixel format stored in +surface->format. Once you are done accessing the +surface, you should use SDL_UnlockSurface to release it.

Not all surfaces require locking. +If SDL_MUSTLOCK(surface) +evaluates to 0, then you can read and write to the +surface at any time, and the pixel format of the surface will not change.

No operating system or library calls should be made between lock/unlock +pairs, as critical system locks may be held during this time.

It should be noted, that since SDL 1.1.8 surface locks are recursive. This means that you can lock a surface multiple times, but each lock must have a match unlock. +

    .
+    .
+    SDL_LockSurface( surface );
+    .
+    /* Surface is locked */
+    /* Direct pixel access on surface here */
+    .
+    SDL_LockSurface( surface );
+    .
+    /* More direct pixel access on surface */
+    .
+    SDL_UnlockSurface( surface );
+    /* Surface is still locked */
+    /* Note: Is versions < 1.1.8, the surface would have been */
+    /* no longer locked at this stage                         */
+    .
+    SDL_UnlockSurface( surface );
+    /* Surface is now unlocked */
+    .
+    .

Return Value

SDL_LockSurface returns 0, +or -1 if the surface couldn't be locked.


PrevHomeNext
SDL_FreeSurfaceUpSDL_UnlockSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdllockyuvoverlay.html b/distrib/sdl-1.2.15/docs/html/sdllockyuvoverlay.html new file mode 100644 index 0000000..74e6ce6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdllockyuvoverlay.html @@ -0,0 +1,252 @@ +SDL_LockYUVOverlay
SDL Library Documentation
PrevNext

SDL_LockYUVOverlay

Name

SDL_LockYUVOverlay -- Lock an overlay

Synopsis

#include "SDL.h"

int SDL_LockYUVOverlay(SDL_Overlay *overlay);

Description

Much the same as SDL_LockSurface, SDL_LockYUVOverlay locks the overlay for direct access to pixel data.

Return Value

Returns 0 on success, or -1 on an error.


PrevHomeNext
SDL_CreateYUVOverlayUpSDL_UnlockYUVOverlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmaprgb.html b/distrib/sdl-1.2.15/docs/html/sdlmaprgb.html new file mode 100644 index 0000000..5086d0c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmaprgb.html @@ -0,0 +1,254 @@ +SDL_MapRGB
SDL Library Documentation
PrevNext

SDL_MapRGB

Name

SDL_MapRGB -- Map a RGB color value to a pixel format.

Synopsis

#include "SDL.h"

Uint32 SDL_MapRGB(SDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b);

Description

Maps the RGB color value to the specified pixel format and returns the +pixel value as a 32-bit int.

If the format has a palette (8-bit) the index of the closest matching +color in the palette will be returned.

If the specified pixel format has an alpha component it will be returned +as all 1 bits (fully opaque).

Return Value

A pixel value best approximating the given RGB color value for a given +pixel format. If the pixel format bpp (color depth) is less than 32-bpp +then the unused upper bits of the return value can safely be ignored +(e.g., with a 16-bpp format the return value can be assigned to a +Uint16, and similarly a Uint8 for an 8-bpp +format).


PrevHomeNext
SDL_SetGammaRampUpSDL_MapRGBA
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmaprgba.html b/distrib/sdl-1.2.15/docs/html/sdlmaprgba.html new file mode 100644 index 0000000..e6bff27 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmaprgba.html @@ -0,0 +1,242 @@ +SDL_MapRGBA
SDL Library Documentation
PrevNext

SDL_MapRGBA

Name

SDL_MapRGBA -- Map a RGBA color value to a pixel format.

Synopsis

#include "SDL.h"

Uint32 SDL_MapRGBA(SDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b, Uint8 a);

Description

Maps the RGBA color value to the specified pixel format and returns the +pixel value as a 32-bit int.

If the format has a palette (8-bit) the index of the closest matching +color in the palette will be returned.

If the specified pixel format has no alpha component the alpha value +will be ignored (as it will be in formats with a palette).

Return Value

A pixel value best approximating the given RGBA color value for a given +pixel format. If the pixel format bpp (color depth) is less than 32-bpp +then the unused upper bits of the return value can safely be ignored +(e.g., with a 16-bpp format the return value can be assigned to a +Uint16, and similarly a Uint8 for an 8-bpp +format).


PrevHomeNext
SDL_MapRGBUpSDL_GetRGB
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmixaudio.html b/distrib/sdl-1.2.15/docs/html/sdlmixaudio.html new file mode 100644 index 0000000..6cbf0f0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmixaudio.html @@ -0,0 +1,237 @@ +SDL_MixAudio
SDL Library Documentation
PrevNext

SDL_MixAudio

Name

SDL_MixAudio -- Mix audio data

Synopsis

#include "SDL.h"

void SDL_MixAudio(Uint8 *dst, Uint8 *src, Uint32 len, int volume);

Description

This function takes two audio buffers of len bytes each +of the playing audio format and mixes them, performing addition, volume +adjustment, and overflow clipping. The volume ranges +from 0 to SDL_MIX_MAXVOLUME and should be set to the maximum +value for full audio volume. Note this does not change hardware volume. This is +provided for convenience -- you can mix your own audio data.

Note: Do not use this function for mixing together more than two streams of sample +data. The output from repeated application of this function may be distorted +by clipping, because there is no accumulator with greater range than the +input (not to mention this being an inefficient way of doing it). +Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead.


PrevHomeNext
SDL_ConvertAudioUpSDL_LockAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmousebuttonevent.html b/distrib/sdl-1.2.15/docs/html/sdlmousebuttonevent.html new file mode 100644 index 0000000..b0b40df --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmousebuttonevent.html @@ -0,0 +1,346 @@ +SDL_MouseButtonEvent
SDL Library Documentation
PrevNext

SDL_MouseButtonEvent

Name

SDL_MouseButtonEvent -- Mouse button event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 button;
+  Uint8 state;
+  Uint16 x, y;
+} SDL_MouseButtonEvent;

Structure Data

typeSDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP
buttonThe mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT)
stateSDL_PRESSED or SDL_RELEASED
x, yThe X/Y coordinates of the mouse at press/release time

Description

SDL_MouseButtonEvent is a member of the SDL_Event union and is used when an event of type SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP is reported.

When a mouse button press or release is detected then number of the button pressed (from 1 to 255, with 1 usually being the left button and 2 the right) is placed into button, the position of the mouse when this event occured is stored in the x and the y fields. Like SDL_KeyboardEvent, information on whether the event was a press or a release event is stored in both the type and state fields, but this should be obvious.


PrevHomeNext
SDL_MouseMotionEventUpSDL_JoyAxisEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmousemotionevent.html b/distrib/sdl-1.2.15/docs/html/sdlmousemotionevent.html new file mode 100644 index 0000000..3cc7cb5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmousemotionevent.html @@ -0,0 +1,365 @@ +SDL_MouseMotionEvent
SDL Library Documentation
PrevNext

SDL_MouseMotionEvent

Name

SDL_MouseMotionEvent -- Mouse motion event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  Uint8 state;
+  Uint16 x, y;
+  Sint16 xrel, yrel;
+} SDL_MouseMotionEvent;

Structure Data

typeSDL_MOUSEMOTION
stateThe current button state
x, yThe X/Y coordinates of the mouse
xrel, yrelRelative motion in the X/Y direction

Description

SDL_MouseMotionEvent is a member of the SDL_Event union and is used when an event of type SDL_MOUSEMOTION is reported.

Simply put, a SDL_MOUSEMOTION type event occurs when a user moves the mouse within the application window or when SDL_WarpMouse is called. Both the absolute (x and y) and relative (xrel and yrel) coordinates are reported along with the current button states (state). The button state can be interpreted using the SDL_BUTTON macro (see SDL_GetMouseState).

If the cursor is hidden (SDL_ShowCursor(0)) and the input is grabbed (SDL_WM_GrabInput(SDL_GRAB_ON)), then the mouse will give relative motion events even when the cursor reaches the edge fo the screen. This is currently only implemented on Windows and Linux/Unix-a-likes.


PrevHomeNext
SDL_KeyboardEventUpSDL_MouseButtonEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmutexp.html b/distrib/sdl-1.2.15/docs/html/sdlmutexp.html new file mode 100644 index 0000000..fc32ca5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmutexp.html @@ -0,0 +1,241 @@ +SDL_mutexP
SDL Library Documentation
PrevNext

SDL_mutexP

Name

SDL_mutexP -- Lock a mutex

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_mutexP(SDL_mutex *mutex);

Description

Locks the mutex, which was previously created with SDL_CreateMutex. If the mutex is already locked then SDL_mutexP will not return until it is unlocked. Returns 0 on success, or -1 on an error.

SDL also defines a macro #define SDL_LockMutex(m) SDL_mutexP(m).


PrevHomeNext
SDL_DestroyMutexUpSDL_mutexV
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlmutexv.html b/distrib/sdl-1.2.15/docs/html/sdlmutexv.html new file mode 100644 index 0000000..06a68bd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlmutexv.html @@ -0,0 +1,235 @@ +SDL_mutexV
SDL Library Documentation
PrevNext

SDL_mutexV

Name

SDL_mutexV -- Unlock a mutex

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_mutexV(SDL_mutex *mutex);

Description

Unlocks the mutex, which was previously created with SDL_CreateMutex. Returns 0 on success, or -1 on an error.

SDL also defines a macro #define SDL_UnlockMutex(m) SDL_mutexV(m).


PrevHomeNext
SDL_mutexPUpSDL_CreateSemaphore
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlnumjoysticks.html b/distrib/sdl-1.2.15/docs/html/sdlnumjoysticks.html new file mode 100644 index 0000000..68e3e3a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlnumjoysticks.html @@ -0,0 +1,222 @@ +SDL_NumJoysticks
SDL Library Documentation
PrevNext

SDL_NumJoysticks

Name

SDL_NumJoysticks -- Count available joysticks.

Synopsis

#include "SDL.h"

int SDL_NumJoysticks(void);

Description

Counts the number of joysticks attached to the system.

Return Value

Returns the number of attached joysticks


PrevHomeNext
JoystickUpSDL_JoystickName
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlopenaudio.html b/distrib/sdl-1.2.15/docs/html/sdlopenaudio.html new file mode 100644 index 0000000..bcfed54 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlopenaudio.html @@ -0,0 +1,578 @@ +SDL_OpenAudio
SDL Library Documentation
PrevNext

SDL_OpenAudio

Name

SDL_OpenAudio -- Opens the audio device with the desired parameters.

Synopsis

#include "SDL.h"

int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained);

Description

This function opens the audio device with the desired parameters, and +returns 0 if successful, placing the actual hardware parameters in the +structure pointed to by obtained. If obtained is NULL, the audio +data passed to the callback function will be guaranteed to be in the +requested format, and will be automatically converted to the hardware +audio format if necessary. This function returns -1 if it failed +to open the audio device, or couldn't set up the audio thread.

To open the audio device a desired SDL_AudioSpec must be created. +

SDL_AudioSpec *desired;
+.
+.
+desired = malloc(sizeof(SDL_AudioSpec));
+You must then fill this structure with your desired audio specifications.

desired->freq

The desired audio frequency in samples-per-second.

desired->format

The desired audio format (see SDL_AudioSpec)

desired->samples

The desired size of the audio buffer in samples. This number should be a power of two, and may be adjusted by the audio driver to a value more suitable for the hardware. Good values seem to range between 512 and 8192 inclusive, depending on the application and CPU speed. Smaller values yield faster response time, but can lead to underflow if the application is doing heavy processing and cannot fill the audio buffer in time. A stereo sample consists of both right and left channels in LR ordering. Note that the number of samples is directly related to time by the following formula: ms = (samples*1000)/freq

desired->callback

This should be set to a function that will be called when the audio device is ready for more data. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling SDL_LockAudio and SDL_UnlockAudio in your code. The callback prototype is: +

void callback(void *userdata, Uint8 *stream, int len);
+userdata is the pointer stored in userdata field of the SDL_AudioSpec. stream is a pointer to the audio buffer you want to fill with information and len is the length of the audio buffer in bytes.

desired->userdata

This pointer is passed as the first parameter to the callback function.

SDL_OpenAudio reads these fields from the desired SDL_AudioSpec structure pass to the function and attempts to find an audio configuration matching your desired. As mentioned above, if the obtained parameter is NULL then SDL with convert from your desired audio settings to the hardware settings as it plays.

If obtained is NULL then the desired SDL_AudioSpec is your working specification, otherwise the obtained SDL_AudioSpec becomes the working specification and the desirec specification can be deleted. The data in the working specification is used when building SDL_AudioCVT's for converting loaded data to the hardware format.

SDL_OpenAudio calculates the size and silence fields for both the desired and obtained specifications. The size field stores the total size of the audio buffer in bytes, while the silence stores the value used to represent silence in the audio buffer

The audio device starts out playing silence when it's opened, and should be enabled for playing by calling SDL_PauseAudio(0) when you are ready for your audio callback function to be called. Since the audio driver may modify the requested size of the audio buffer, you should allocate any local mixing buffers after you open the audio device.

Examples

/* Prototype of our callback function */
+void my_audio_callback(void *userdata, Uint8 *stream, int len);
+
+/* Open the audio device */
+SDL_AudioSpec *desired, *obtained;
+SDL_AudioSpec *hardware_spec;
+
+/* Allocate a desired SDL_AudioSpec */
+desired = malloc(sizeof(SDL_AudioSpec));
+
+/* Allocate space for the obtained SDL_AudioSpec */
+obtained = malloc(sizeof(SDL_AudioSpec));
+
+/* 22050Hz - FM Radio quality */
+desired->freq=22050;
+
+/* 16-bit signed audio */
+desired->format=AUDIO_S16LSB;
+
+/* Mono */
+desired->channels=0;
+
+/* Large audio buffer reduces risk of dropouts but increases response time */
+desired->samples=8192;
+
+/* Our callback function */
+desired->callback=my_audio_callback;
+
+desired->userdata=NULL;
+
+/* Open the audio device */
+if ( SDL_OpenAudio(desired, obtained) < 0 ){
+  fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
+  exit(-1);
+}
+/* desired spec is no longer needed */
+free(desired);
+hardware_spec=obtained;
+.
+.
+/* Prepare callback for playing */
+.
+.
+.
+/* Start playing */
+SDL_PauseAudio(0);

PrevHomeNext
SDL_AudioSpecUpSDL_PauseAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdloverlay.html b/distrib/sdl-1.2.15/docs/html/sdloverlay.html new file mode 100644 index 0000000..422919e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdloverlay.html @@ -0,0 +1,362 @@ +SDL_Overlay
SDL Library Documentation
PrevNext

SDL_Overlay

Name

SDL_Overlay -- YUV video overlay

Structure Definition

typedef struct{
+  Uint32 format;
+  int w, h;
+  int planes;
+  Uint16 *pitches;
+  Uint8 **pixels;
+  Uint32 hw_overlay:1;
+} SDL_Overlay;

Structure Data

formatOverlay format (see below)
w, hWidth and height of overlay
planesNumber of planes in the overlay. Usually either 1 or 3
pitchesAn array of pitches, one for each plane. Pitch is the length of a row in bytes.
pixelsAn array of pointers to teh data of each plane. The overlay should be locked before these pointers are used.
hw_overlayThis will be set to 1 if the overlay is hardware accelerated.

Description

A SDL_Overlay is similar to a SDL_Surface except it stores a YUV overlay. All the fields are read only, except for pixels which should be locked before use. The format field stores the format of the overlay which is one of the following: +

#define SDL_YV12_OVERLAY  0x32315659  /* Planar mode: Y + V + U */
+#define SDL_IYUV_OVERLAY  0x56555949  /* Planar mode: Y + U + V */
+#define SDL_YUY2_OVERLAY  0x32595559  /* Packed mode: Y0+U0+Y1+V0 */
+#define SDL_UYVY_OVERLAY  0x59565955  /* Packed mode: U0+Y0+V0+Y1 */
+#define SDL_YVYU_OVERLAY  0x55595659  /* Packed mode: Y0+V0+Y1+U0 */
+More information on YUV formats can be found at http://www.webartz.com/fourcc/indexyuv.htm.


PrevHomeNext
SDL_VideoInfoUpWindow Management
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpalette.html b/distrib/sdl-1.2.15/docs/html/sdlpalette.html new file mode 100644 index 0000000..6498ac4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpalette.html @@ -0,0 +1,301 @@ +SDL_Palette
SDL Library Documentation
PrevNext

SDL_Palette

Name

SDL_Palette -- Color palette for 8-bit pixel formats

Structure Definition

typedef struct{
+  int ncolors;
+  SDL_Color *colors;
+} SDL_Palette;

Structure Data

ncolorsNumber of colors used in this palette
colorsPointer to SDL_Color structures that make up the palette.

Description

Each pixel in an 8-bit surface is an index into the colors field of the SDL_Palette structure store in SDL_PixelFormat. A SDL_Palette should never need to be created manually. It is automatically created when SDL allocates a SDL_PixelFormat for a surface. The colors values of a SDL_Surfaces palette can be set with the SDL_SetColors.


PrevHomeNext
SDL_ColorUpSDL_PixelFormat
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpauseaudio.html b/distrib/sdl-1.2.15/docs/html/sdlpauseaudio.html new file mode 100644 index 0000000..39d5a0f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpauseaudio.html @@ -0,0 +1,221 @@ +SDL_PauseAudio
SDL Library Documentation
PrevNext

SDL_PauseAudio

Name

SDL_PauseAudio -- Pauses and unpauses the audio callback processing

Synopsis

#include "SDL.h"

void SDL_PauseAudio(int pause_on);

Description

This function pauses and unpauses the audio callback processing. +It should be called with pause_on=0 after opening the audio +device to start playing sound. This is so you can safely initialize +data for your callback function after opening the audio device. +Silence will be written to the audio device during the pause.


PrevHomeNext
SDL_OpenAudioUpSDL_GetAudioStatus
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpeepevents.html b/distrib/sdl-1.2.15/docs/html/sdlpeepevents.html new file mode 100644 index 0000000..d5a0ff6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpeepevents.html @@ -0,0 +1,321 @@ +SDL_PeepEvents
SDL Library Documentation
PrevNext

SDL_PeepEvents

Name

SDL_PeepEvents -- Checks the event queue for messages and optionally returns them.

Synopsis

#include "SDL.h"

int SDL_PeepEvents(SDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask);

Description

Checks the event queue for messages and optionally returns them.

If action is SDL_ADDEVENT, up to +numevents events will be added to the back of the event + queue.

If action is SDL_PEEKEVENT, up to +numevents events at the front of the event queue, +matching mask, +will be returned and will not be removed from the queue.

If action is SDL_GETEVENT, up to +numevents events at the front of the event queue, +matching mask, +will be returned and will be removed from the queue.

The mask parameter is an bitwise OR of +SDL_EVENTMASK(event_type), for all +event types you are interested in.

This function is thread-safe.

Return Value

This function returns the number of events actually stored, or +-1 if there was an error.


PrevHomeNext
SDL_PumpEventsUpSDL_PollEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpixelformat.html b/distrib/sdl-1.2.15/docs/html/sdlpixelformat.html new file mode 100644 index 0000000..000ddc0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpixelformat.html @@ -0,0 +1,528 @@ +SDL_PixelFormat
SDL Library Documentation
PrevNext

SDL_PixelFormat

Name

SDL_PixelFormat -- Stores surface format information

Structure Definition

typedef struct SDL_PixelFormat {
+  SDL_Palette *palette;
+  Uint8  BitsPerPixel;
+  Uint8  BytesPerPixel;
+  Uint8  Rloss, Gloss, Bloss, Aloss;
+  Uint8  Rshift, Gshift, Bshift, Ashift;
+  Uint32 Rmask, Gmask, Bmask, Amask;
+  Uint32 colorkey;
+  Uint8  alpha;
+} SDL_PixelFormat;

Structure Data

palettePointer to the palette, or NULL if the BitsPerPixel>8
BitsPerPixelThe number of bits used to represent each pixel in a surface. Usually 8, 16, 24 or 32.
BytesPerPixelThe number of bytes used to represent each pixel in a surface. Usually one to four.
[RGBA]maskBinary mask used to retrieve individual color values
[RGBA]lossPrecision loss of each color component (2[RGBA]loss)
[RGBA]shiftBinary left shift of each color component in the pixel value
colorkeyPixel value of transparent pixels
alphaOverall surface alpha value

Description

A SDL_PixelFormat describes the format of the pixel data stored at the pixels field of a SDL_Surface. Every surface stores a SDL_PixelFormat in the format field.

If you wish to do pixel level modifications on a surface, then understanding how SDL stores its color information is essential.

8-bit pixel formats are the easiest to understand. Since its an 8-bit format, we have 8 BitsPerPixel and 1 BytesPerPixel. Since BytesPerPixel is 1, all pixels are represented by a Uint8 which contains an index into palette->colors. So, to determine the color of a pixel in a 8-bit surface: we read the color index from surface->pixels and we use that index to read the SDL_Color structure from surface->format->palette->colors. Like so: +

SDL_Surface *surface;
+SDL_PixelFormat *fmt;
+SDL_Color *color;
+Uint8 index;
+
+.
+.
+
+/* Create surface */
+.
+.
+fmt=surface->format;
+
+/* Check the bitdepth of the surface */
+if(fmt->BitsPerPixel!=8){
+  fprintf(stderr, "Not an 8-bit surface.\n");
+  return(-1);
+}
+
+/* Lock the surface */
+SDL_LockSurface(surface);
+
+/* Get the topleft pixel */
+index=*(Uint8 *)surface->pixels;
+color=fmt->palette->colors[index];
+
+/* Unlock the surface */
+SDL_UnlockSurface(surface);
+printf("Pixel Color-> Red: %d, Green: %d, Blue: %d. Index: %d\n",
+          color->r, color->g, color->b, index);
+.
+.

Pixel formats above 8-bit are an entirely different experience. They are +considered to be "TrueColor" formats and the color information is stored in the +pixels themselves, not in a palette. The mask, shift and loss fields tell us +how the color information is encoded. The mask fields allow us to isolate each +color component, the shift fields tell us the number of bits to the right of +each component in the pixel value and the loss fields tell us the number of +bits lost from each component when packing 8-bit color component in a pixel. +

/* Extracting color components from a 32-bit color value */
+SDL_PixelFormat *fmt;
+SDL_Surface *surface;
+Uint32 temp, pixel;
+Uint8 red, green, blue, alpha;
+.
+.
+.
+fmt=surface->format;
+SDL_LockSurface(surface);
+pixel=*((Uint32*)surface->pixels);
+SDL_UnlockSurface(surface);
+
+/* Get Red component */
+temp=pixel&fmt->Rmask; /* Isolate red component */
+temp=temp>>fmt->Rshift;/* Shift it down to 8-bit */
+temp=temp<<fmt->Rloss; /* Expand to a full 8-bit number */
+red=(Uint8)temp;
+
+/* Get Green component */
+temp=pixel&fmt->Gmask; /* Isolate green component */
+temp=temp>>fmt->Gshift;/* Shift it down to 8-bit */
+temp=temp<<fmt->Gloss; /* Expand to a full 8-bit number */
+green=(Uint8)temp;
+
+/* Get Blue component */
+temp=pixel&fmt->Bmask; /* Isolate blue component */
+temp=temp>>fmt->Bshift;/* Shift it down to 8-bit */
+temp=temp<<fmt->Bloss; /* Expand to a full 8-bit number */
+blue=(Uint8)temp;
+
+/* Get Alpha component */
+temp=pixel&fmt->Amask; /* Isolate alpha component */
+temp=temp>>fmt->Ashift;/* Shift it down to 8-bit */
+temp=temp<<fmt->Aloss; /* Expand to a full 8-bit number */
+alpha=(Uint8)temp;
+
+printf("Pixel Color -> R: %d,  G: %d,  B: %d,  A: %d\n", red, green, blue, alpha);
+.
+.
+.


PrevHomeNext
SDL_PaletteUpSDL_Surface
diff --git a/distrib/sdl-1.2.15/docs/html/sdlpollevent.html b/distrib/sdl-1.2.15/docs/html/sdlpollevent.html new file mode 100644 index 0000000..f97c22d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpollevent.html @@ -0,0 +1,269 @@ +SDL_PollEvent
SDL Library Documentation
PrevNext

SDL_PollEvent

Name

SDL_PollEvent -- Polls for currently pending events.

Synopsis

#include "SDL.h"

int SDL_PollEvent(SDL_Event *event);

Description

Polls for currently pending events, and returns 1 +if there are any pending events, or 0 if there +are none available.

If event is not NULL, the next +event is removed from the queue and stored in that area.

Examples

SDL_Event event; /* Event structure */
+
+.
+.
+.
+/* Check for events */
+while(SDL_PollEvent(&event)){  /* Loop until there are no events left on the queue */
+  switch(event.type){  /* Process the appropiate event type */
+    case SDL_KEYDOWN:  /* Handle a KEYDOWN event */         
+      printf("Oh! Key press\n");
+      break;
+    case SDL_MOUSEMOTION:
+      .
+      .
+      .
+    default: /* Report an unhandled event */
+      printf("I don't know what this event is!\n");
+  }
+}


PrevHomeNext
SDL_PeepEventsUpSDL_WaitEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpumpevents.html b/distrib/sdl-1.2.15/docs/html/sdlpumpevents.html new file mode 100644 index 0000000..a7e528f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpumpevents.html @@ -0,0 +1,244 @@ +SDL_PumpEvents
SDL Library Documentation
PrevNext

SDL_PumpEvents

Name

SDL_PumpEvents -- Pumps the event loop, gathering events from the input devices.

Synopsis

#include "SDL.h"

void SDL_PumpEvents(void);

Description

Pumps the event loop, gathering events from the input devices.

SDL_PumpEvents gathers all the pending input information from devices and places it on the event queue. Without calls to SDL_PumpEvents no events would ever be placed on the queue. Often calls the need for SDL_PumpEvents is hidden from the user since SDL_PollEvent and SDL_WaitEvent implicitly call SDL_PumpEvents. However, if you are not polling or waiting for events (e.g. you are filtering them), then you must call SDL_PumpEvents to force an event queue update.

Note: You can only call this function in the thread that set the video mode.


PrevHomeNext
Event Functions.UpSDL_PeepEvents
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlpushevent.html b/distrib/sdl-1.2.15/docs/html/sdlpushevent.html new file mode 100644 index 0000000..6905385 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpushevent.html @@ -0,0 +1,266 @@ +SDL_PushEvent
SDL Library Documentation
PrevNext

SDL_PushEvent

Name

SDL_PushEvent -- Pushes an event onto the event queue

Synopsis

#include "SDL.h"

int SDL_PushEvent(SDL_Event *event);

Description

The event queue can actually be used as a two way communication channel. Not only can events be read from the queue, but the user can also push their own events onto it. event is a pointer to the event structure you wish to push onto the queue.

Note: Pushing device input events onto the queue doesn't modify the state of the device within SDL.

Return Value

Returns 0 on success or -1 if the event couldn't be pushed.

Examples

See SDL_Event.


PrevHomeNext
SDL_WaitEventUpSDL_SetEventFilter
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlquit.html b/distrib/sdl-1.2.15/docs/html/sdlquit.html new file mode 100644 index 0000000..1f31c82 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlquit.html @@ -0,0 +1,244 @@ +SDL_Quit
SDL Library Documentation
PrevNext

SDL_Quit

Name

SDL_Quit -- Shut down SDL

Synopsis

#include "SDL.h"

void SDL_Quit(void);

Description

SDL_Quit shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit. For the sake of simplicity you can set SDL_Quit as your atexit call, like: +

SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO);
+atexit(SDL_Quit);
+.
+.

Note: While using atexit maybe be fine for small programs, more advanced users should shut down SDL in their own cleanup code. Plus, using atexit in a library is a sure way to crash dynamically loaded code


PrevHomeNext
SDL_QuitSubSystemUpSDL_WasInit
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlquitevent.html b/distrib/sdl-1.2.15/docs/html/sdlquitevent.html new file mode 100644 index 0000000..d575f38 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlquitevent.html @@ -0,0 +1,263 @@ +SDL_QuitEvent
SDL Library Documentation
PrevNext

SDL_QuitEvent

Name

SDL_QuitEvent -- Quit requested event

Structure Definition

typedef struct{
+  Uint8 type
+} SDL_QuitEvent;

Structure Data

typeSDL_QUIT

Description

SDL_QuitEvent is a member of the SDL_Event union and is used whan an event of type SDL_QUIT is reported.

As can be seen, the SDL_QuitEvent structure serves no useful purpose. The event itself, on the other hand, is very important. If you filter out or ignore a quit event then it is impossible for the user to close the window. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible.

Note: The macro SDL_QuitRequested will return non-zero if a quit event is pending


PrevHomeNext
SDL_UserEventUpSDL_keysym
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlquitsubsystem.html b/distrib/sdl-1.2.15/docs/html/sdlquitsubsystem.html new file mode 100644 index 0000000..877e3ce --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlquitsubsystem.html @@ -0,0 +1,248 @@ +SDL_QuitSubSystem
SDL Library Documentation
PrevNext

SDL_QuitSubSystem

Name

SDL_QuitSubSystem -- Shut down a subsystem

Synopsis

#include "SDL.h"

void SDL_QuitSubSystem(Uint32 flags);

Description

SDL_QuitSubSystem allows you to shut down a subsystem that has been previously initialized by SDL_Init or SDL_InitSubSystem. The flags tells SDL_QuitSubSystem which subsystems to shut down, it uses the same values that are passed to SDL_Init.


PrevHomeNext
SDL_InitSubSystemUpSDL_Quit
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlrect.html b/distrib/sdl-1.2.15/docs/html/sdlrect.html new file mode 100644 index 0000000..ba4a80b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlrect.html @@ -0,0 +1,258 @@ +SDL_Rect
SDL Library Documentation
PrevNext

SDL_Rect

Name

SDL_Rect -- Defines a rectangular area

Structure Definition

typedef struct{
+  Sint16 x, y;
+  Uint16 w, h;
+} SDL_Rect;

Structure Data

x, yPosition of the upper-left corner of the rectangle
w, hThe width and height of the rectangle

Description

A SDL_Rect defines a rectangular area of pixels. It is used by SDL_BlitSurface to define blitting regions and by several other video functions.


PrevHomeNext
SDL_GLattrUpSDL_Color
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlremovetimer.html b/distrib/sdl-1.2.15/docs/html/sdlremovetimer.html new file mode 100644 index 0000000..26a3d11 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlremovetimer.html @@ -0,0 +1,236 @@ +SDL_RemoveTimer
SDL Library Documentation
PrevNext

SDL_RemoveTimer

Name

SDL_RemoveTimer -- Remove a timer which was added with +SDL_AddTimer.

Synopsis

#include "SDL.h"

SDL_bool SDL_RemoveTimer(SDL_TimerID id);

Description

Removes a timer callback previously added with +SDL_AddTimer.

Return Value

Returns a boolean value indicating success.

Examples

SDL_RemoveTimer(my_timer_id);

See Also

SDL_AddTimer


PrevHomeNext
SDL_AddTimerUpSDL_SetTimer
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlresizeevent.html b/distrib/sdl-1.2.15/docs/html/sdlresizeevent.html new file mode 100644 index 0000000..1d446a5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlresizeevent.html @@ -0,0 +1,307 @@ +SDL_ResizeEvent
SDL Library Documentation
PrevNext

SDL_ResizeEvent

Name

SDL_ResizeEvent -- Window resize event structure

Structure Definition

typedef struct{
+  Uint8 type;
+  int w, h;
+} SDL_ResizeEvent;

Structure Data

typeSDL_VIDEORESIZE
w, hNew width and height of the window

Description

SDL_ResizeEvent is a member of the SDL_Event union and is used when an event of type SDL_VIDEORESIZE is reported.

When SDL_RESIZABLE is passed as a flag to SDL_SetVideoMode the user is allowed to resize the applications window. When the window is resized an SDL_VIDEORESIZE is report, with the new window width and height values stored in w and h, respectively. When an SDL_VIDEORESIZE is recieved the window should be resized to the new dimensions using SDL_SetVideoMode.


PrevHomeNext
SDL_JoyBallEventUpSDL_ExposeEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsavebmp.html b/distrib/sdl-1.2.15/docs/html/sdlsavebmp.html new file mode 100644 index 0000000..4c318ed --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsavebmp.html @@ -0,0 +1,236 @@ +SDL_SaveBMP
SDL Library Documentation
PrevNext

SDL_SaveBMP

Name

SDL_SaveBMP -- Save an SDL_Surface as a Windows BMP file.

Synopsis

#include "SDL.h"

int SDL_SaveBMP(SDL_Surface *surface, const char *file);

Description

Saves the SDL_Surface surface as a Windows BMP file named file.

Return Value

Returns 0 if successful or +-1 +if there was an error.

See Also

SDL_LoadBMP


PrevHomeNext
SDL_LoadBMPUpSDL_SetColorKey
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsempost.html b/distrib/sdl-1.2.15/docs/html/sdlsempost.html new file mode 100644 index 0000000..18fb01a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsempost.html @@ -0,0 +1,299 @@ +SDL_SemPost
SDL Library Documentation
PrevNext

SDL_SemPost

Name

SDL_SemPost -- Unlock a semaphore.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_SemPost(SDL_sem *sem);

Description

SDL_SemPost unlocks the semaphore pointed to by +sem and atomically increments the semaphores value. +Threads that were blocking on the semaphore may be scheduled after this call +succeeds.

SDL_SemPost should be called after a semaphore is locked by a successful call to +SDL_SemWait, +SDL_SemTryWait or +SDL_SemWaitTimeout.

Return Value

Returns 0 if successful or +-1 if there was an error (leaving the semaphore unchanged).

Examples

SDL_SemPost(my_sem);


PrevHomeNext
SDL_SemWaitTimeoutUpSDL_SemValue
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsemtrywait.html b/distrib/sdl-1.2.15/docs/html/sdlsemtrywait.html new file mode 100644 index 0000000..86f47a1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsemtrywait.html @@ -0,0 +1,319 @@ +SDL_SemTryWait
SDL Library Documentation
PrevNext

SDL_SemTryWait

Name

SDL_SemTryWait -- Attempt to lock a semaphore but don't suspend the thread.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_SemTryWait(SDL_sem *sem);

Description

SDL_SemTryWait is a non-blocking varient of +SDL_SemWait. If the value of the semaphore +pointed to by sem is positive it will atomically +decrement the semaphore value and return 0, otherwise it will return +SDL_MUTEX_TIMEDOUT instead of suspending the thread.

After SDL_SemTryWait is successful, the semaphore +can be released and its count atomically incremented by a successful call to +SDL_SemPost.

Return Value

Returns 0 if the semaphore was successfully locked or +either SDL_MUTEX_TIMEDOUT or -1 +if the thread would have suspended or there was an error, respectivly.

If the semaphore was not successfully locked, the semaphore will be unchanged.

Examples

res = SDL_SemTryWait(my_sem);
+
+if (res == SDL_MUTEX_TIMEDOUT) {
+        return TRY_AGAIN;
+}
+if (res == -1) {
+        return WAIT_ERROR;
+}
+
+...
+
+SDL_SemPost(my_sem);


PrevHomeNext
SDL_SemWaitUpSDL_SemWaitTimeout
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsemvalue.html b/distrib/sdl-1.2.15/docs/html/sdlsemvalue.html new file mode 100644 index 0000000..7867369 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsemvalue.html @@ -0,0 +1,273 @@ +SDL_SemValue
SDL Library Documentation
PrevNext

SDL_SemValue

Name

SDL_SemValue -- Return the current value of a semaphore.

Synopsis

#include "SDL.h"
+#include "SDL/SDL_thread.h"

Uint32 SDL_SemValue(SDL_sem *sem);

Description

SDL_SemValue() returns the current semaphore value from +the semaphore pointed to by sem.

Return Value

Returns current value of the semaphore.

Examples

  sem_value = SDL_SemValue(my_sem);


PrevHomeNext
SDL_SemPostUpSDL_CreateCond
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsemwait.html b/distrib/sdl-1.2.15/docs/html/sdlsemwait.html new file mode 100644 index 0000000..5e98d55 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsemwait.html @@ -0,0 +1,298 @@ +SDL_SemWait
SDL Library Documentation
PrevNext

SDL_SemWait

Name

SDL_SemWait -- Lock a semaphore and suspend the thread if the semaphore value is zero.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_SemWait(SDL_sem *sem);

Description

SDL_SemWait() suspends the calling thread until either +the semaphore pointed to by sem has a positive value, +the call is interrupted by a signal or error. If the call is successful it +will atomically decrement the semaphore value.

After SDL_SemWait() is successful, the semaphore +can be released and its count atomically incremented by a successful call to +SDL_SemPost.

Return Value

Returns 0 if successful or +-1 if there was an error (leaving the semaphore unchanged).

Examples

if (SDL_SemWait(my_sem) == -1) {
+        return WAIT_FAILED;
+}
+
+...
+
+SDL_SemPost(my_sem);


PrevHomeNext
SDL_DestroySemaphoreUpSDL_SemTryWait
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsemwaittimeout.html b/distrib/sdl-1.2.15/docs/html/sdlsemwaittimeout.html new file mode 100644 index 0000000..788f5b7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsemwaittimeout.html @@ -0,0 +1,322 @@ +SDL_SemWaitTimeout
SDL Library Documentation
PrevNext

SDL_SemWaitTimeout

Name

SDL_SemWaitTimeout -- Lock a semaphore, but only wait up to a specified maximum time.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout);

Description

SDL_SemWaitTimeout() is a varient of +SDL_SemWait +with a maximum timeout value. +If the value of the semaphore pointed to by sem is +positive (greater than zero) it will atomically decrement the semaphore value +and return 0, otherwise it will wait up to timeout +milliseconds trying to lock the semaphore. This function is to be avoided if +possible since on some platforms it is implemented by polling the semaphore +every millisecond in a busy loop.

After SDL_SemWaitTimeout() is successful, the semaphore +can be released and its count atomically incremented by a successful call to +SDL_SemPost.

Return Value

Returns 0 if the semaphore was successfully locked or +either SDL_MUTEX_TIMEDOUT or -1 +if the timeout period was exceeded or there was an error, respectivly.

If the semaphore was not successfully locked, the semaphore will be unchanged.

Examples

res = SDL_SemWaitTimeout(my_sem, WAIT_TIMEOUT_MILLISEC);
+
+if (res == SDL_MUTEX_TIMEDOUT) {
+        return TRY_AGAIN;
+}
+if (res == -1) {
+        return WAIT_ERROR;
+}
+
+...
+
+SDL_SemPost(my_sem);


PrevHomeNext
SDL_SemTryWaitUpSDL_SemPost
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetalpha.html b/distrib/sdl-1.2.15/docs/html/sdlsetalpha.html new file mode 100644 index 0000000..fc84498 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetalpha.html @@ -0,0 +1,500 @@ +SDL_SetAlpha
SDL Library Documentation
PrevNext

SDL_SetAlpha

Name

SDL_SetAlpha -- Adjust the alpha properties of a surface

Synopsis

#include "SDL.h"

int SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha);

Description

Note: This function and the semantics of SDL alpha blending have changed since version 1.1.4. Up until version 1.1.5, an alpha value of 0 was considered opaque and a value of 255 was considered transparent. This has now been inverted: 0 (SDL_ALPHA_TRANSPARENT) is now considered transparent and 255 (SDL_ALPHA_OPAQUE) is now considered opaque.

SDL_SetAlpha is used for setting the per-surface alpha +value and/or enabling and disabling alpha blending.

Thesurface parameter specifies which surface whose alpha +attributes you wish to adjust. flags is used to specify +whether alpha blending should be used (SDL_SRCALPHA) and +whether the surface should use RLE acceleration for blitting +(SDL_RLEACCEL). flags can be an OR'd +combination of these two options, one of these options or 0. If +SDL_SRCALPHA is not passed as a flag then all alpha +information is ignored when blitting the surface. The +alpha parameter is the per-surface alpha value; a +surface need not have an alpha channel to use per-surface alpha and blitting +can still be accelerated with SDL_RLEACCEL.

Note: The per-surface alpha value of 128 is considered a special case and +is optimised, so it's much faster than other per-surface values.

Alpha effects surface blitting in the following ways:

RGBA->RGB with SDL_SRCALPHA

The source is alpha-blended with the destination, using the alpha channel. SDL_SRCCOLORKEY and the per-surface alpha are ignored.

RGBA->RGB without SDL_SRCALPHA

The RGB data is copied from the source. The source alpha channel and the per-surface alpha value are ignored.

RGB->RGBA with SDL_SRCALPHA

The source is alpha-blended with the destination using the per-surface alpha +value. If SDL_SRCCOLORKEY is set, only the pixels not +matching the colorkey value are copied. The alpha channel of the copied pixels +is set to opaque.

RGB->RGBA without SDL_SRCALPHA

The RGB data is copied from the source and the alpha value of the copied pixels +is set to opaque. If SDL_SRCCOLORKEY is set, only the pixels +not matching the colorkey value are copied.

RGBA->RGBA with SDL_SRCALPHA

The source is alpha-blended with the destination using the source alpha +channel. The alpha channel in the destination surface is left untouched. +SDL_SRCCOLORKEY is ignored.

RGBA->RGBA without SDL_SRCALPHA

The RGBA data is copied to the destination surface. If SDL_SRCCOLORKEY is set, only the pixels not matching the colorkey value are copied.

RGB->RGB with SDL_SRCALPHA

The source is alpha-blended with the destination using the per-surface alpha value. If SDL_SRCCOLORKEY is set, only the pixels not matching the colorkey value are copied.

RGB->RGB without SDL_SRCALPHA

The RGB data is copied from the source. If SDL_SRCCOLORKEY is set, only the pixels not matching the colorkey value are copied.

Note: Note that RGBA->RGBA blits (with SDL_SRCALPHA set) keep the alpha +of the destination surface. This means that you cannot compose two arbitrary +RGBA surfaces this way and get the result you would expect from "overlaying" +them; the destination alpha will work as a mask.

Also note that per-pixel and per-surface alpha cannot be combined; +the per-pixel alpha is always used if available

Return Value

This function returns 0, or +-1 if there was an error.


PrevHomeNext
SDL_SetColorKeyUpSDL_SetClipRect
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetcliprect.html b/distrib/sdl-1.2.15/docs/html/sdlsetcliprect.html new file mode 100644 index 0000000..03898d5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetcliprect.html @@ -0,0 +1,241 @@ +SDL_SetClipRect
SDL Library Documentation
PrevNext

SDL_SetClipRect

Name

SDL_SetClipRect -- Sets the clipping rectangle for a surface.

Synopsis

#include "SDL.h"

void SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect);

Description

Sets the clipping rectangle for a surface. When this surface is the +destination of a blit, only the area within the clip rectangle will be +drawn into.

The rectangle pointed to by rect will be +clipped to the edges of the surface so that the clip rectangle for a +surface can never fall outside the edges of the surface.

If rect is NULL the clipping +rectangle will be set to the full size of the surface.


PrevHomeNext
SDL_SetAlphaUpSDL_GetClipRect
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetcolorkey.html b/distrib/sdl-1.2.15/docs/html/sdlsetcolorkey.html new file mode 100644 index 0000000..0cb6695 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetcolorkey.html @@ -0,0 +1,321 @@ +SDL_SetColorKey
SDL Library Documentation
PrevNext

SDL_SetColorKey

Name

SDL_SetColorKey -- Sets the color key (transparent pixel) in a blittable surface and +RLE acceleration.

Synopsis

#include "SDL.h"

int SDL_SetColorKey(SDL_Surface *surface, Uint32 flag, Uint32 key);

Description

Sets the color key (transparent pixel) in a blittable surface and enables or + disables RLE blit acceleration.

RLE acceleration can substantially speed up blitting of images with large +horizontal runs of transparent pixels (i.e., pixels that match the +key value). The key must be of the same pixel format as the surface, SDL_MapRGB is often useful for obtaining an acceptable value.

If flag is SDL_SRCCOLORKEY then +key is the transparent pixel value in the source image of a +blit.

If flag is OR'd with +SDL_RLEACCEL then the surface will be draw using RLE +acceleration when drawn with +SDL_BlitSurface. The surface will +actually be encoded for RLE acceleration the first time +SDL_BlitSurface or +SDL_DisplayFormat is called on the +surface.

If flag is 0, this function clears +any current color key.

Return Value

This function returns 0, or +-1 if there was an error.


PrevHomeNext
SDL_SaveBMPUpSDL_SetAlpha
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetcolors.html b/distrib/sdl-1.2.15/docs/html/sdlsetcolors.html new file mode 100644 index 0000000..5695645 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetcolors.html @@ -0,0 +1,358 @@ +SDL_SetColors
SDL Library Documentation
PrevNext

SDL_SetColors

Name

SDL_SetColors -- Sets a portion of the colormap for the given 8-bit surface.

Synopsis

#include "SDL.h"

int SDL_SetColors(SDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors);

Description

Sets a portion of the colormap for the given 8-bit surface.

When surface is the surface associated with the current +display, the display colormap will be updated with the requested colors. If +SDL_HWPALETTE was set in SDL_SetVideoMode flags, +SDL_SetColors will always return 1, +and the palette is guaranteed to be set the way you desire, even if the window +colormap has to be warped or run under emulation.

The color components of a +SDL_Color +structure are 8-bits in size, giving you a total of 2563 +=16777216 colors.

Palettized (8-bit) screen surfaces with the SDL_HWPALETTE +flag have two palettes, a logical palette that is used for mapping blits +to/from the surface and a physical palette (that determines how the +hardware will map the colors to the display). SDL_SetColors +modifies both palettes (if present), and is equivalent to calling +SDL_SetPalette with the +flags set to +(SDL_LOGPAL | SDL_PHYSPAL).

Return Value

If surface is not a palettized surface, this function +does nothing, returning 0. If all of the colors were set +as passed to SDL_SetColors, it will return +1. If not all the color entries were set exactly as +given, it will return 0, and you should look at the +surface palette to determine the actual color palette.

Example

/* Create a display surface with a grayscale palette */
+SDL_Surface *screen;
+SDL_Color colors[256];
+int i;
+.
+.
+.
+/* Fill colors with color information */
+for(i=0;i<256;i++){
+  colors[i].r=i;
+  colors[i].g=i;
+  colors[i].b=i;
+}
+
+/* Create display */
+screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
+if(!screen){
+  printf("Couldn't set video mode: %s\n", SDL_GetError());
+  exit(-1);
+}
+
+/* Set palette */
+SDL_SetColors(screen, colors, 0, 256);
+.
+.
+.
+.

PrevHomeNext
SDL_FlipUpSDL_SetPalette
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetcursor.html b/distrib/sdl-1.2.15/docs/html/sdlsetcursor.html new file mode 100644 index 0000000..9c5443e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetcursor.html @@ -0,0 +1,222 @@ +SDL_SetCursor
SDL Library Documentation
PrevNext

SDL_SetCursor

Name

SDL_SetCursor -- Set the currently active mouse cursor.

Synopsis

#include "SDL.h"

void SDL_SetCursor(SDL_Cursor *cursor);

Description

Sets the currently active cursor to +the specified one. +If the cursor is currently visible, the change will be immediately +represented on the display.


PrevHomeNext
SDL_FreeCursorUpSDL_GetCursor
diff --git a/distrib/sdl-1.2.15/docs/html/sdlseteventfilter.html b/distrib/sdl-1.2.15/docs/html/sdlseteventfilter.html new file mode 100644 index 0000000..0808bab --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlseteventfilter.html @@ -0,0 +1,284 @@ +SDL_SetEventFilter
SDL Library Documentation
PrevNext

SDL_SetEventFilter

Name

SDL_SetEventFilter -- Sets up a filter to process all events before they are posted +to the event queue.

Synopsis

#include "SDL.h"

void SDL_SetEventFilter(SDL_EventFilter filter);

Description

This function sets up a filter to process all events before they are posted +to the event queue. This is a very powerful and flexible feature. The filter +is prototyped as: +

typedef int (*SDL_EventFilter)(const SDL_Event *event);
+If the filter returns 1, then the event will be +added to the internal queue. If it returns 0, +then the event will be dropped from the queue. This allows selective +filtering of dynamically.

There is one caveat when dealing with the SDL_QUITEVENT event type. The +event filter is only called when the window manager desires to close the +application window. If the event filter returns 1, then the window will +be closed, otherwise the window will remain open if possible. +If the quit event is generated by an interrupt signal, it will bypass the +internal queue and be delivered to the application at the next event poll.

Note: Events pushed onto the queue with SDL_PushEvent or SDL_PeepEvents do not get passed through the event filter.

Note: Be Careful! The event filter function may run in a different thread so be careful what you do within it.


PrevHomeNext
SDL_PushEventUpSDL_GetEventFilter
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetgamma.html b/distrib/sdl-1.2.15/docs/html/sdlsetgamma.html new file mode 100644 index 0000000..6443a96 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetgamma.html @@ -0,0 +1,231 @@ +SDL_SetGamma
SDL Library Documentation
PrevNext

SDL_SetGamma

Name

SDL_SetGamma -- Sets the color gamma function for the display

Synopsis

#include "SDL.h"

int SDL_SetGamma(float redgamma, float greengamma, float bluegamma);

Description

Sets the "gamma function" for the display of each color component. Gamma +controls the brightness/contrast of colors displayed on the screen. +A gamma value of 1.0 is identity (i.e., no adjustment +is made).

This function adjusts the gamma based on the "gamma function" parameter, +you can directly specify lookup tables for gamma adjustment with +SDL_SetGammaRamp.

Not all display hardware is able to change gamma.

Return Value

Returns -1 on error (or if gamma adjustment is not supported).


PrevHomeNext
SDL_SetPaletteUpSDL_GetGammaRamp
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetgammaramp.html b/distrib/sdl-1.2.15/docs/html/sdlsetgammaramp.html new file mode 100644 index 0000000..79599c8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetgammaramp.html @@ -0,0 +1,230 @@ +SDL_SetGammaRamp
SDL Library Documentation
PrevNext

SDL_SetGammaRamp

Name

SDL_SetGammaRamp -- Sets the color gamma lookup tables for the display

Synopsis

#include "SDL.h"

int SDL_SetGammaRamp(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable);

Description

Sets the gamma lookup tables for the display for each color component. +Each table is an array of 256 Uint16 values, representing a mapping +between the input and output for that channel. The input is the index +into the array, and the output is the 16-bit gamma value at that index, +scaled to the output color precision. You may pass NULL to any of the +channels to leave them unchanged.

This function adjusts the gamma based on lookup tables, you can also +have the gamma calculated based on a "gamma function" parameter with +SDL_SetGamma.

Not all display hardware is able to change gamma.

Return Value

Returns -1 on error (or if gamma adjustment is not supported).


PrevHomeNext
SDL_GetGammaRampUpSDL_MapRGB
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetmodstate.html b/distrib/sdl-1.2.15/docs/html/sdlsetmodstate.html new file mode 100644 index 0000000..ee69a3f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetmodstate.html @@ -0,0 +1,237 @@ +SDL_SetModState
SDL Library Documentation
PrevNext

SDL_SetModState

Name

SDL_SetModState -- Set the current key modifier state

Synopsis

#include "SDL.h"

void SDL_SetModState(SDLMod modstate);

Description

The inverse of SDL_GetModState, SDL_SetModState allows you to impose modifier key states on your application.

Simply pass your desired modifier states into modstate. This value my be a logical OR'd combination of the following:

typedef enum {
+  KMOD_NONE  = 0x0000,
+  KMOD_LSHIFT= 0x0001,
+  KMOD_RSHIFT= 0x0002,
+  KMOD_LCTRL = 0x0040,
+  KMOD_RCTRL = 0x0080,
+  KMOD_LALT  = 0x0100,
+  KMOD_RALT  = 0x0200,
+  KMOD_LMETA = 0x0400,
+  KMOD_RMETA = 0x0800,
+  KMOD_NUM   = 0x1000,
+  KMOD_CAPS  = 0x2000,
+  KMOD_MODE  = 0x4000,
+} SDLMod;

PrevHomeNext
SDL_GetModStateUpSDL_GetKeyName
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetpalette.html b/distrib/sdl-1.2.15/docs/html/sdlsetpalette.html new file mode 100644 index 0000000..1622f15 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetpalette.html @@ -0,0 +1,352 @@ +SDL_SetPalette
SDL Library Documentation
PrevNext

SDL_SetPalette

Name

SDL_SetPalette -- Sets the colors in the palette of an 8-bit surface.

Synopsis

#include "SDL.h"

int SDL_SetPalette(SDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors);

Description

Sets a portion of the palette for the given 8-bit surface.

Palettized (8-bit) screen surfaces with the +SDL_HWPALETTE flag have two palettes, a logical +palette that is used for mapping blits to/from the surface and a +physical palette (that determines how the hardware will map the colors +to the display). SDL_BlitSurface +always uses the logical palette when blitting surfaces (if it has to +convert between surface pixel formats). Because of this, it is often +useful to modify only one or the other palette to achieve various +special color effects (e.g., screen fading, color flashes, screen dimming).

This function can modify either the logical or physical palette by +specifing SDL_LOGPAL or +SDL_PHYSPALthe in the flags +parameter.

When surface is the surface associated with the current +display, the display colormap will be updated with the requested colors. If +SDL_HWPALETTE was set in SDL_SetVideoMode flags, +SDL_SetPalette will always return 1, +and the palette is guaranteed to be set the way you desire, even if the window +colormap has to be warped or run under emulation.

The color components of a +SDL_Color structure +are 8-bits in size, giving you a total of +2563=16777216 colors.

Return Value

If surface is not a palettized surface, this function +does nothing, returning 0. If all of the colors were set +as passed to SDL_SetPalette, it will return +1. If not all the color entries were set exactly as +given, it will return 0, and you should look at the +surface palette to determine the actual color palette.

Example

        /* Create a display surface with a grayscale palette */
+        SDL_Surface *screen;
+        SDL_Color colors[256];
+        int i;
+        .
+        .
+        .
+        /* Fill colors with color information */
+        for(i=0;i<256;i++){
+          colors[i].r=i;
+          colors[i].g=i;
+          colors[i].b=i;
+        }
+
+        /* Create display */
+        screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
+        if(!screen){
+          printf("Couldn't set video mode: %s\n", SDL_GetError());
+          exit(-1);
+        }
+
+        /* Set palette */
+        SDL_SetPalette(screen, SDL_LOGPAL|SDL_PHYSPAL, colors, 0, 256);
+        .
+        .
+        .
+        .

PrevHomeNext
SDL_SetColorsUpSDL_SetGamma
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsettimer.html b/distrib/sdl-1.2.15/docs/html/sdlsettimer.html new file mode 100644 index 0000000..40b737c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsettimer.html @@ -0,0 +1,267 @@ +SDL_SetTimer
SDL Library Documentation
Prev 

SDL_SetTimer

Name

SDL_SetTimer -- Set a callback to run after the specified number of milliseconds has +elapsed.

Synopsis

#include "SDL.h"

int SDL_SetTimer(Uint32 interval, SDL_TimerCallback callback);

Callback

/* Function prototype for the timer callback function */ +typedef Uint32 (*SDL_TimerCallback)(Uint32 interval);

Description

Set a callback to run after the specified number of milliseconds has +elapsed. The callback function is passed the current timer interval +and returns the next timer interval. If the returned value is the +same as the one passed in, the periodic alarm continues, otherwise a +new alarm is scheduled.

To cancel a currently running timer, call +SDL_SetTimer(0, NULL);

The timer callback function may run in a different thread than your +main constant, and so shouldn't call any functions from within itself.

The maximum resolution of this timer is 10 ms, which means that if +you request a 16 ms timer, your callback will run approximately 20 ms +later on an unloaded system. If you wanted to set a flag signaling +a frame update at 30 frames per second (every 33 ms), you might set a +timer for 30 ms (see example below).

If you use this function, you need to pass SDL_INIT_TIMER +to SDL_Init().

Note: This function is kept for compatibility but has been superseded +by the new timer functions +SDL_AddTimer and +SDL_RemoveTimer which support +multiple timers.

Examples

SDL_SetTimer((33/10)*10, my_callback);

See Also

SDL_AddTimer


PrevHome 
SDL_RemoveTimerUp 
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsetvideomode.html b/distrib/sdl-1.2.15/docs/html/sdlsetvideomode.html new file mode 100644 index 0000000..8b309b0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsetvideomode.html @@ -0,0 +1,558 @@ +SDL_SetVideoMode
SDL Library Documentation
PrevNext

SDL_SetVideoMode

Name

SDL_SetVideoMode -- Set up a video mode with the specified width, height and bits-per-pixel.

Synopsis

#include "SDL.h"

SDL_Surface *SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags);

Description

Set up a video mode with the specified width, height and bits-per-pixel.

If bpp is 0, it is treated as the +current display bits per pixel.

The flags parameter is the same as the flags field of the SDL_Surface structure. OR'd combinations of the following values are valid.

SDL_SWSURFACECreate the video surface in system memory
SDL_HWSURFACECreate the video surface in video memory
SDL_ASYNCBLITEnables the use of asynchronous updates of the display surface. This will +usually slow down blitting on single CPU machines, but may provide a speed +increase on SMP systems.
SDL_ANYFORMATNormally, if a video surface of the requested bits-per-pixel (bpp) is not available, SDL will emulate one with a shadow surface. Passing SDL_ANYFORMAT prevents this and causes SDL to use the video surface, regardless of its pixel depth.
SDL_HWPALETTEGive SDL exclusive palette access. Without this flag you may not always get the the colors you request with SDL_SetColors or SDL_SetPalette.
SDL_DOUBLEBUFEnable hardware double buffering; only valid with SDL_HWSURFACE. Calling +SDL_Flip will flip the +buffers and update the screen. All drawing will take place on the surface +that is not displayed at the moment. If double buffering could not be enabled +then SDL_Flip will just perform a +SDL_UpdateRect +on the entire screen.
SDL_FULLSCREENSDL will attempt to use a fullscreen mode. If a hardware resolution change is +not possible (for whatever reason), the next higher resolution will be used and +the display window centered on a black background.
SDL_OPENGLCreate an OpenGL rendering context. You should have previously set OpenGL video attributes with SDL_GL_SetAttribute.
SDL_OPENGLBLITCreate an OpenGL rendering context, like above, but allow normal blitting +operations. The screen (2D) surface may have an alpha channel, and +SDL_UpdateRects +must be used for updating changes to the screen surface. NOTE: This option +is kept for compatibility only, and is not recommended for +new code.
SDL_RESIZABLECreate a resizable window. When the window is resized by the user a SDL_VIDEORESIZE event is generated and SDL_SetVideoMode can be called again with the new size.
SDL_NOFRAMEIf possible, SDL_NOFRAME causes SDL to create a window with no title bar or frame decoration. Fullscreen modes automatically have this flag set.

Note: Whatever flags SDL_SetVideoMode could satisfy are set in the flags member of the returned surface.

Note: The bpp parameter is the number of bits per pixel, +so a bpp of 24 uses the packed representation of +3 bytes/pixel. For the more common 4 bytes/pixel mode, use a +bpp of 32. Somewhat oddly, both 15 and 16 will +request a 2 bytes/pixel mode, but different pixel formats.

Return Value

The framebuffer surface, or NULL if it fails. +The surface returned is freed by SDL_Quit() and should nt be freed by +the caller.


PrevHomeNext
SDL_VideoModeOKUpSDL_UpdateRect
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlshowcursor.html b/distrib/sdl-1.2.15/docs/html/sdlshowcursor.html new file mode 100644 index 0000000..5a8f19d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlshowcursor.html @@ -0,0 +1,239 @@ +SDL_ShowCursor
SDL Library Documentation
PrevNext

SDL_ShowCursor

Name

SDL_ShowCursor -- Toggle whether or not the cursor is shown on the screen.

Synopsis

#include "SDL.h"

int SDL_ShowCursor(int toggle);

Description

Toggle whether or not the cursor is shown on the screen. Passing SDL_ENABLE displays the cursor and passing SDL_DISABLE hides it. The current state of the mouse cursor can be queried by passing SDL_QUERY, either SDL_DISABLE or SDL_ENABLE will be returned.

The cursor starts off displayed, but can be turned off.

Return Value

Returns the current state of the cursor.


PrevHomeNext
SDL_GetCursorUpSDL_GL_LoadLibrary
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsurface.html b/distrib/sdl-1.2.15/docs/html/sdlsurface.html new file mode 100644 index 0000000..fda55f1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsurface.html @@ -0,0 +1,597 @@ +SDL_Surface
SDL Library Documentation
PrevNext

SDL_Surface

Name

SDL_Surface -- Graphical Surface Structure

Structure Definition

typedef struct SDL_Surface {
+        Uint32 flags;                           /* Read-only */
+        SDL_PixelFormat *format;                /* Read-only */
+        int w, h;                               /* Read-only */
+        Uint16 pitch;                           /* Read-only */
+        void *pixels;                           /* Read-write */
+
+        /* clipping information */
+        SDL_Rect clip_rect;                     /* Read-only */
+
+        /* Reference count -- used when freeing surface */
+        int refcount;                           /* Read-mostly */
+
+	/* This structure also contains private fields not shown here */
+} SDL_Surface;

Structure Data

flagsSurface flags
formatPixel format
w, hWidth and height of the surface
pitchLength of a surface scanline in bytes
pixelsPointer to the actual pixel data
clip_rectsurface clip rectangle

Description

SDL_Surface's represent areas of "graphical" +memory, memory that can be drawn to. The video framebuffer is returned +as a SDL_Surface by +SDL_SetVideoMode +and SDL_GetVideoSurface. +Most of the fields should be pretty obvious. +w and h are the +width and height of the surface in pixels. +pixels is a pointer to the actual pixel data, +the surface should be locked +before accessing this field. The clip_rect field +is the clipping rectangle as set by +SDL_SetClipRect.

The following are supported in the +flags field.

SDL_SWSURFACESurface is stored in system memory
SDL_HWSURFACESurface is stored in video memory
SDL_ASYNCBLITSurface uses asynchronous blits if possible
SDL_ANYFORMATAllows any pixel-format (Display surface)
SDL_HWPALETTESurface has exclusive palette
SDL_DOUBLEBUFSurface is double buffered (Display surface)
SDL_FULLSCREENSurface is full screen (Display Surface)
SDL_OPENGLSurface has an OpenGL context (Display Surface)
SDL_OPENGLBLITSurface supports OpenGL blitting (Display Surface)
SDL_RESIZABLESurface is resizable (Display Surface)
SDL_HWACCELSurface blit uses hardware acceleration
SDL_SRCCOLORKEYSurface use colorkey blitting
SDL_RLEACCELColorkey blitting is accelerated with RLE
SDL_SRCALPHASurface blit uses alpha blending
SDL_PREALLOCSurface uses preallocated memory


PrevHomeNext
SDL_PixelFormatUpSDL_VideoInfo
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlsyswmevent.html b/distrib/sdl-1.2.15/docs/html/sdlsyswmevent.html new file mode 100644 index 0000000..fd7180e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlsyswmevent.html @@ -0,0 +1,233 @@ +SDL_SysWMEvent
SDL Library Documentation
PrevNext

SDL_SysWMEvent

Name

SDL_SysWMEvent -- Platform-dependent window manager event.

Description

The system window manager event contains a pointer to system-specific +information about unknown window manager events. If you enable this event +using +SDL_EventState(), +it will be generated whenever unhandled events are received from the window +manager. This can be used, for example, to implement cut-and-paste in your +application. + +

typedef struct {
+         Uint8 type;   /* Always SDL_SYSWMEVENT */
+         SDL_SysWMmsg *msg;
+ } SDL_SysWMEvent;
+ +If you want to obtain system-specific information about the window manager, +you can fill the version member of a SDL_SysWMinfo +structure (details can be found in SDL_syswm.h, which must be included) using the SDL_VERSION() macro found in +SDL_version.h, and pass it to the +function: +

int SDL_GetWMInfo(SDL_SysWMinfo *info);


PrevHomeNext
SDL_ExposeEventUpSDL_UserEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlthreadid.html b/distrib/sdl-1.2.15/docs/html/sdlthreadid.html new file mode 100644 index 0000000..e0bde2e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlthreadid.html @@ -0,0 +1,190 @@ +SDL_ThreadID
SDL Library Documentation
PrevNext

SDL_ThreadID

Name

SDL_ThreadID -- Get the 32-bit thread identifier for the current thread.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

Uint32 SDL_ThreadID(void);

Description

Get the 32-bit thread identifier for the current thread.


PrevHomeNext
SDL_CreateThreadUpSDL_GetThreadID
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlunlockaudio.html b/distrib/sdl-1.2.15/docs/html/sdlunlockaudio.html new file mode 100644 index 0000000..0019bd6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlunlockaudio.html @@ -0,0 +1,211 @@ +SDL_UnlockAudio
SDL Library Documentation
PrevNext

SDL_UnlockAudio

Name

SDL_UnlockAudio -- Unlock the callback function

Synopsis

#include "SDL.h"

void SDL_UnlockAudio(void);

Description

Unlocks a previous SDL_LockAudio call.


PrevHomeNext
SDL_LockAudioUpSDL_CloseAudio
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlunlocksurface.html b/distrib/sdl-1.2.15/docs/html/sdlunlocksurface.html new file mode 100644 index 0000000..13ba5fc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlunlocksurface.html @@ -0,0 +1,219 @@ +SDL_UnlockSurface
SDL Library Documentation
PrevNext

SDL_UnlockSurface

Name

SDL_UnlockSurface -- Unlocks a previously locked surface.

Synopsis

#include "SDL.h"

void SDL_UnlockSurface(SDL_Surface *surface);

Description

Surfaces that were previously locked using SDL_LockSurface must be unlocked with SDL_UnlockSurface. Surfaces should be unlocked as soon as possible.

It should be noted that since 1.1.8, surface locks are recursive. See SDL_LockSurface.


PrevHomeNext
SDL_LockSurfaceUpSDL_LoadBMP
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlunlockyuvoverlay.html b/distrib/sdl-1.2.15/docs/html/sdlunlockyuvoverlay.html new file mode 100644 index 0000000..936ed9e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlunlockyuvoverlay.html @@ -0,0 +1,225 @@ +SDL_UnlockYUVOverlay
SDL Library Documentation
PrevNext

SDL_UnlockYUVOverlay

Name

SDL_UnlockYUVOverlay -- Unlock an overlay

Synopsis

#include "SDL.h"

void SDL_UnlockYUVOverlay(SDL_Overlay *overlay);

Description

The opposite to SDL_LockYUVOverlay. Unlocks a previously locked overlay. An overlay must be unlocked before it can be displayed.


PrevHomeNext
SDL_LockYUVOverlayUpSDL_DisplayYUVOverlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlupdaterect.html b/distrib/sdl-1.2.15/docs/html/sdlupdaterect.html new file mode 100644 index 0000000..f54d9f5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlupdaterect.html @@ -0,0 +1,266 @@ +SDL_UpdateRect
SDL Library Documentation
PrevNext

SDL_UpdateRect

Name

SDL_UpdateRect -- Makes sure the given area is updated on the given screen.

Synopsis

#include "SDL.h"

void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);

Description

Makes sure the given area is updated on the given screen. The rectangle must +be confined within the screen boundaries (no clipping is done).

If 'x', 'y', 'w' +and 'h' are all 0, +SDL_UpdateRect will update the +entire screen.

This function should not be called while 'screen' is +locked.


PrevHomeNext
SDL_SetVideoModeUpSDL_UpdateRects
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlupdaterects.html b/distrib/sdl-1.2.15/docs/html/sdlupdaterects.html new file mode 100644 index 0000000..0553a7a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlupdaterects.html @@ -0,0 +1,255 @@ +SDL_UpdateRects
SDL Library Documentation
PrevNext

SDL_UpdateRects

Name

SDL_UpdateRects -- Makes sure the given list of rectangles is updated on the given screen.

Synopsis

#include "SDL.h"

void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);

Description

Makes sure the given list of rectangles is updated on the given screen. +The rectangles must all be confined within the screen boundaries (no +clipping is done).

This function should not be called while screen is +locked.

Note: It is adviced to call this function only once per frame, since each +call has some processing overhead. This is no restriction since you +can pass any number of rectangles each time.

The rectangles are not automatically merged or checked for overlap. In +general, the programmer can use his knowledge about his particular +rectangles to merge them in an efficient way, to avoid overdraw.


PrevHomeNext
SDL_UpdateRectUpSDL_Flip
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdluserevent.html b/distrib/sdl-1.2.15/docs/html/sdluserevent.html new file mode 100644 index 0000000..178769c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdluserevent.html @@ -0,0 +1,337 @@ +SDL_UserEvent
SDL Library Documentation
PrevNext

SDL_UserEvent

Name

SDL_UserEvent -- A user-defined event type

Structure Definition

typedef struct{
+  Uint8 type;
+  int code;
+  void *data1;
+  void *data2;
+} SDL_UserEvent;

Structure Data

typeSDL_USEREVENT through to SDL_NUMEVENTS-1
codeUser defined event code
data1User defined data pointer
data2User defined data pointer

Description

SDL_UserEvent is in the user member of the structure SDL_Event. This event is unique, it is never created by SDL but only by the user. The event can be pushed onto the event queue using SDL_PushEvent. The contents of the structure members or completely up to the programmer, the only requirement is that type is a value from SDL_USEREVENT to SDL_NUMEVENTS-1 (inclusive).

Examples

SDL_Event event;
+
+event.type = SDL_USEREVENT;
+event.user.code = my_event_code;
+event.user.data1 = significant_data;
+event.user.data2 = 0;
+SDL_PushEvent(&event);


PrevHomeNext
SDL_SysWMEventUpSDL_QuitEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlvideodrivername.html b/distrib/sdl-1.2.15/docs/html/sdlvideodrivername.html new file mode 100644 index 0000000..1419656 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlvideodrivername.html @@ -0,0 +1,243 @@ +SDL_VideoDriverName
SDL Library Documentation
PrevNext

SDL_VideoDriverName

Name

SDL_VideoDriverName -- Obtain the name of the video driver

Synopsis

#include "SDL.h"

char *SDL_VideoDriverName(char *namebuf, int maxlen);

Description

The buffer pointed to by namebuf is filled up to a maximum of maxlen characters (include the NULL terminator) with the name of the initialised video driver. The driver name is a simple one word identifier like "x11" or "windib".

Return Value

Returns NULL if video has not been initialised with SDL_Init or a pointer to namebuf otherwise.


PrevHomeNext
SDL_GetVideoInfoUpSDL_ListModes
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlvideoinfo.html b/distrib/sdl-1.2.15/docs/html/sdlvideoinfo.html new file mode 100644 index 0000000..3a0da31 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlvideoinfo.html @@ -0,0 +1,408 @@ +SDL_VideoInfo
SDL Library Documentation
PrevNext

SDL_VideoInfo

Name

SDL_VideoInfo -- Video Target information

Structure Definition

typedef struct{
+  Uint32 hw_available:1;
+  Uint32 wm_available:1;
+  Uint32 blit_hw:1;
+  Uint32 blit_hw_CC:1;
+  Uint32 blit_hw_A:1;
+  Uint32 blit_sw:1;
+  Uint32 blit_sw_CC:1;
+  Uint32 blit_sw_A:1;
+  Uint32 blit_fill;
+  Uint32 video_mem;
+  SDL_PixelFormat *vfmt;
+} SDL_VideoInfo;

Structure Data

hw_availableIs it possible to create hardware surfaces?
wm_availableIs there a window manager available
blit_hwAre hardware to hardware blits accelerated?
blit_hw_CCAre hardware to hardware colorkey blits accelerated?
blit_hw_AAre hardware to hardware alpha blits accelerated?
blit_swAre software to hardware blits accelerated?
blit_sw_CCAre software to hardware colorkey blits accelerated?
blit_sw_AAre software to hardware alpha blits accelerated?
blit_fillAre color fills accelerated?
video_memTotal amount of video memory in Kilobytes
vfmtPixel format of the video device

Description

This (read-only) structure is returned by SDL_GetVideoInfo. It contains information on either the 'best' available mode (if called before SDL_SetVideoMode) or the current video mode.


PrevHomeNext
SDL_SurfaceUpSDL_Overlay
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlvideomodeok.html b/distrib/sdl-1.2.15/docs/html/sdlvideomodeok.html new file mode 100644 index 0000000..5d2d6c4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlvideomodeok.html @@ -0,0 +1,270 @@ +SDL_VideoModeOK
SDL Library Documentation
PrevNext

SDL_VideoModeOK

Name

SDL_VideoModeOK -- Check to see if a particular video mode is supported.

Synopsis

#include "SDL.h"

int SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags);

Description

SDL_VideoModeOK returns 0 +if the requested mode is not supported under any bit depth, or returns the +bits-per-pixel of the closest available mode with the given width, height and requested surface flags (see SDL_SetVideoMode).

The bits-per-pixel value returned is only a suggested mode. You can usually request and bpp you want when setting the video mode and SDL will emulate that color depth with a shadow video surface.

The arguments to SDL_VideoModeOK are the same ones you +would pass to SDL_SetVideoMode

Example

SDL_Surface *screen;
+Uint32 bpp;
+.
+.
+.
+printf("Checking mode 640x480@16bpp.\n");
+bpp=SDL_VideoModeOK(640, 480, 16, SDL_HWSURFACE);
+
+if(!bpp){
+  printf("Mode not available.\n");
+  exit(-1);
+}
+
+printf("SDL Recommends 640x480@%dbpp.\n", bpp);
+screen=SDL_SetVideoMode(640, 480, bpp, SDL_HWSURFACE);
+.
+.

PrevHomeNext
SDL_ListModesUpSDL_SetVideoMode
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwaitevent.html b/distrib/sdl-1.2.15/docs/html/sdlwaitevent.html new file mode 100644 index 0000000..b473d3b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwaitevent.html @@ -0,0 +1,231 @@ +SDL_WaitEvent
SDL Library Documentation
PrevNext

SDL_WaitEvent

Name

SDL_WaitEvent -- Waits indefinitely for the next available event.

Synopsis

#include "SDL.h"

int SDL_WaitEvent(SDL_Event *event);

Description

Waits indefinitely for the next available event, returning +1, or 0 if there was +an error while waiting for events.

If event is not NULL, the next +event is removed from the queue and stored in that area.


PrevHomeNext
SDL_PollEventUpSDL_PushEvent
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwaitthread.html b/distrib/sdl-1.2.15/docs/html/sdlwaitthread.html new file mode 100644 index 0000000..2becfbc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwaitthread.html @@ -0,0 +1,231 @@ +SDL_WaitThread
SDL Library Documentation
PrevNext

SDL_WaitThread

Name

SDL_WaitThread -- Wait for a thread to finish.

Synopsis

#include "SDL.h"
+#include "SDL_thread.h"

void SDL_WaitThread(SDL_Thread *thread, int *status);

Description

Wait for a thread to finish (timeouts are not supported).

Return Value

The return code for the thread function is placed in the area pointed to by +status, if status is not +NULL.


PrevHomeNext
SDL_GetThreadIDUpSDL_KillThread
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwarpmouse.html b/distrib/sdl-1.2.15/docs/html/sdlwarpmouse.html new file mode 100644 index 0000000..e7b2d8d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwarpmouse.html @@ -0,0 +1,205 @@ +SDL_WarpMouse
SDL Library Documentation
PrevNext

SDL_WarpMouse

Name

SDL_WarpMouse -- Set the position of the mouse cursor.

Synopsis

#include "SDL.h"

void SDL_WarpMouse(Uint16 x, Uint16 y);

Description

Set the position of the mouse cursor (generates a mouse motion event).


PrevHomeNext
SDL_DisplayFormatAlphaUpSDL_CreateCursor
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwasinit.html b/distrib/sdl-1.2.15/docs/html/sdlwasinit.html new file mode 100644 index 0000000..b4effeb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwasinit.html @@ -0,0 +1,284 @@ +SDL_WasInit
SDL Library Documentation
PrevNext

SDL_WasInit

Name

SDL_WasInit -- Check which subsystems are initialized

Synopsis

#include "SDL.h"

Uint32 SDL_WasInit(Uint32 flags);

Description

SDL_WasInit allows you to see which SDL subsytems have been initialized. flags is a bitwise OR'd combination of the subsystems you wish to check (see SDL_Init for a list of subsystem flags).

Return Value

SDL_WasInit returns a bitwised OR'd combination of the initialized subsystems.

Examples


/* Here are several ways you can use SDL_WasInit() */
+
+/* Get init data on all the subsystems */
+Uint32 subsystem_init;
+
+subsystem_init=SDL_WasInit(SDL_INIT_EVERYTHING);
+
+if(subsystem_init&SDL_INIT_VIDEO)
+  printf("Video is initialized.\n");
+else
+  printf("Video is not initialized.\n");
+
+
+
+/* Just check for one specfic subsystem */
+
+if(SDL_WasInit(SDL_INIT_VIDEO)!=0)
+  printf("Video is initialized.\n");
+else
+  printf("Video is not initialized.\n");
+
+
+
+
+/* Check for two subsystems */
+
+Uint32 subsystem_mask=SDL_INIT_VIDEO|SDL_INIT_AUDIO;
+
+if(SDL_WasInit(subsystem_mask)==subsystem_mask)
+  printf("Video and Audio initialized.\n");
+else
+  printf("Video and Audio not initialized.\n");

PrevHomeNext
SDL_QuitUpSDL_GetError
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmgetcaption.html b/distrib/sdl-1.2.15/docs/html/sdlwmgetcaption.html new file mode 100644 index 0000000..829c68a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmgetcaption.html @@ -0,0 +1,222 @@ +SDL_WM_GetCaption
SDL Library Documentation
PrevNext

SDL_WM_GetCaption

Name

SDL_WM_GetCaption -- Gets the window title and icon name.

Synopsis

#include "SDL.h"

void SDL_WM_GetCaption(char **title, char **icon);

Description

Set pointers to the window title and icon name.


PrevHomeNext
SDL_WM_SetCaptionUpSDL_WM_SetIcon
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmgrabinput.html b/distrib/sdl-1.2.15/docs/html/sdlwmgrabinput.html new file mode 100644 index 0000000..740dcd6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmgrabinput.html @@ -0,0 +1,224 @@ +SDL_WM_GrabInput
SDL Library Documentation
PrevNext

SDL_WM_GrabInput

Name

SDL_WM_GrabInput -- Grabs mouse and keyboard input.

Synopsis

#include "SDL.h"

SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode);

Description

Grabbing means that the mouse is confined to the application window, +and nearly all keyboard input is passed directly to the application, +and not interpreted by a window manager, if any.

When mode is SDL_GRAB_QUERY the grab mode is not changed, but the current grab mode is returned.

typedef enum {
+  SDL_GRAB_QUERY,
+  SDL_GRAB_OFF,
+  SDL_GRAB_ON
+} SDL_GrabMode;
+

Return Value

The current/new SDL_GrabMode.


PrevHomeNext
SDL_WM_ToggleFullScreenUpEvents
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmiconifywindow.html b/distrib/sdl-1.2.15/docs/html/sdlwmiconifywindow.html new file mode 100644 index 0000000..1113656 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmiconifywindow.html @@ -0,0 +1,211 @@ +SDL_WM_IconifyWindow
SDL Library Documentation
PrevNext

SDL_WM_IconifyWindow

Name

SDL_WM_IconifyWindow -- Iconify/Minimise the window

Synopsis

#include "SDL.h"

int SDL_WM_IconifyWindow(void);

Description

If the application is running in a window managed environment SDL attempts to iconify/minimise it. If SDL_WM_IconifyWindow is successful, the application will receive a SDL_APPACTIVE loss event.

Return Value

Returns non-zero on success or 0 if iconification is not support or was refused by the window manager.


PrevHomeNext
SDL_WM_SetIconUpSDL_WM_ToggleFullScreen
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmsetcaption.html b/distrib/sdl-1.2.15/docs/html/sdlwmsetcaption.html new file mode 100644 index 0000000..bc47c27 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmsetcaption.html @@ -0,0 +1,212 @@ +SDL_WM_SetCaption
SDL Library Documentation
PrevNext

SDL_WM_SetCaption

Name

SDL_WM_SetCaption -- Sets the window tile and icon name.

Synopsis

#include "SDL.h"

void SDL_WM_SetCaption(const char *title, const char *icon);

Description

Sets the title-bar and icon name of the display window.


PrevHomeNext
Window ManagementUpSDL_WM_GetCaption
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmseticon.html b/distrib/sdl-1.2.15/docs/html/sdlwmseticon.html new file mode 100644 index 0000000..12eb207 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmseticon.html @@ -0,0 +1,260 @@ +SDL_WM_SetIcon
SDL Library Documentation
PrevNext

SDL_WM_SetIcon

Name

SDL_WM_SetIcon -- Sets the icon for the display window.

Synopsis

#include "SDL.h"

void SDL_WM_SetIcon(SDL_Surface *icon, Uint8 *mask);

Description

Sets the icon for the display window. Win32 icons must be 32x32.

This function must be called before the first call to +SDL_SetVideoMode.

The mask is a bitmask that describes the shape of the +icon. If mask is NULL, then the shape is determined by +the colorkey of icon, if any, or makes the icon +rectangular (no transparency) otherwise.

If mask is non-NULL, it points to a bitmap with bits set +where the corresponding pixel should be visible. The format of the bitmap is as +follows: Scanlines come in the usual top-down order. Each scanline consists of +(width / 8) bytes, rounded up. The most significant bit of each byte represents +the leftmost pixel.

Example

SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL);

PrevHomeNext
SDL_WM_GetCaptionUpSDL_WM_IconifyWindow
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/sdlwmtogglefullscreen.html b/distrib/sdl-1.2.15/docs/html/sdlwmtogglefullscreen.html new file mode 100644 index 0000000..b7973de --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlwmtogglefullscreen.html @@ -0,0 +1,205 @@ +SDL_WM_ToggleFullScreen
SDL Library Documentation
PrevNext

SDL_WM_ToggleFullScreen

Name

SDL_WM_ToggleFullScreen -- Toggles fullscreen mode

Synopsis

#include "SDL.h"

int SDL_WM_ToggleFullScreen(SDL_Surface *surface);

Description

Toggles the application between windowed and fullscreen mode, if supported. (X11 is the only target currently supported, BeOS support is experimental).

Return Value

Returns 0 on failure or 1 on success.


PrevHomeNext
SDL_WM_IconifyWindowUpSDL_WM_GrabInput
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/thread.html b/distrib/sdl-1.2.15/docs/html/thread.html new file mode 100644 index 0000000..8ef2c92 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/thread.html @@ -0,0 +1,313 @@ +Multi-threaded Programming
SDL Library Documentation
PrevNext

Chapter 12. Multi-threaded Programming

Table of Contents
SDL_CreateThread -- Creates a new thread of execution that shares its parent's properties.
SDL_ThreadID -- Get the 32-bit thread identifier for the current thread.
SDL_GetThreadID -- Get the SDL thread ID of a SDL_Thread
SDL_WaitThread -- Wait for a thread to finish.
SDL_KillThread -- Gracelessly terminates the thread.
SDL_CreateMutex -- Create a mutex
SDL_DestroyMutex -- Destroy a mutex
SDL_mutexP -- Lock a mutex
SDL_mutexV -- Unlock a mutex
SDL_CreateSemaphore -- Creates a new semaphore and assigns an initial value to it.
SDL_DestroySemaphore -- Destroys a semaphore that was created by SDL_CreateSemaphore.
SDL_SemWait -- Lock a semaphore and suspend the thread if the semaphore value is zero.
SDL_SemTryWait -- Attempt to lock a semaphore but don't suspend the thread.
SDL_SemWaitTimeout -- Lock a semaphore, but only wait up to a specified maximum time.
SDL_SemPost -- Unlock a semaphore.
SDL_SemValue -- Return the current value of a semaphore.
SDL_CreateCond -- Create a condition variable
SDL_DestroyCond -- Destroy a condition variable
SDL_CondSignal -- Restart a thread wait on a condition variable
SDL_CondBroadcast -- Restart all threads waiting on a condition variable
SDL_CondWait -- Wait on a condition variable
SDL_CondWaitTimeout -- Wait on a condition variable, with timeout

SDL provides functions for creating threads, mutexes, semphores and condition variables.

In general, you must be very aware of concurrency and data integrity issues +when writing multi-threaded programs. Some good guidelines include: +

  • Don't call SDL video/event functions from separate threads

  • Don't use any library functions in separate threads

  • Don't perform any memory management in separate threads

  • Lock global variables which may be accessed by multiple threads

  • Never terminate threads, always set a flag and wait for them to quit

  • Think very carefully about all possible ways your code may interact

Note: SDL's threading is not implemented on MacOS, due to the lack of preemptive thread support on that OS (Mac OS X doesn't suffer from this problem)


PrevHomeNext
SDL_CDtrackUpSDL_CreateThread
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/time.html b/distrib/sdl-1.2.15/docs/html/time.html new file mode 100644 index 0000000..854b7cb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/time.html @@ -0,0 +1,206 @@ +Time
SDL Library Documentation
PrevNext

Chapter 13. Time

Table of Contents
SDL_GetTicks -- Get the number of milliseconds since the SDL library initialization.
SDL_Delay -- Wait a specified number of milliseconds before returning.
SDL_AddTimer -- Add a timer which will call a callback after the specified number of milliseconds has +elapsed.
SDL_RemoveTimer -- Remove a timer which was added with +SDL_AddTimer.
SDL_SetTimer -- Set a callback to run after the specified number of milliseconds has +elapsed.

SDL provides several cross-platform functions for dealing with time. +It provides a way to get the current time, a way to wait a little while, +and a simple timer mechanism. These functions give you two ways of moving an +object every x milliseconds: + +

  • Use a timer callback function. This may have the bad effect that it runs in a seperate thread or uses alarm signals, but it's easier to implement.

  • Or you can get the number of milliseconds passed, and move the object if, for example, 30 ms passed.


PrevHomeNext
SDL_CondWaitTimeoutUpSDL_GetTicks
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/video.html b/distrib/sdl-1.2.15/docs/html/video.html new file mode 100644 index 0000000..9b1434e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/video.html @@ -0,0 +1,507 @@ +Video
SDL Library Documentation
PrevNext

Chapter 6. Video

Table of Contents
SDL_GetVideoSurface -- returns a pointer to the current display surface
SDL_GetVideoInfo -- returns a pointer to information about the video hardware
SDL_VideoDriverName -- Obtain the name of the video driver
SDL_ListModes -- Returns a pointer to an array of available screen dimensions for +the given format and video flags
SDL_VideoModeOK -- Check to see if a particular video mode is supported.
SDL_SetVideoMode -- Set up a video mode with the specified width, height and bits-per-pixel.
SDL_UpdateRect -- Makes sure the given area is updated on the given screen.
SDL_UpdateRects -- Makes sure the given list of rectangles is updated on the given screen.
SDL_Flip -- Swaps screen buffers
SDL_SetColors -- Sets a portion of the colormap for the given 8-bit surface.
SDL_SetPalette -- Sets the colors in the palette of an 8-bit surface.
SDL_SetGamma -- Sets the color gamma function for the display
SDL_GetGammaRamp -- Gets the color gamma lookup tables for the display
SDL_SetGammaRamp -- Sets the color gamma lookup tables for the display
SDL_MapRGB -- Map a RGB color value to a pixel format.
SDL_MapRGBA -- Map a RGBA color value to a pixel format.
SDL_GetRGB -- Get RGB values from a pixel in the specified pixel format.
SDL_GetRGBA -- Get RGBA values from a pixel in the specified pixel format.
SDL_CreateRGBSurface -- Create an empty SDL_Surface
SDL_CreateRGBSurfaceFrom -- Create an SDL_Surface from pixel data
SDL_FreeSurface -- Frees (deletes) a SDL_Surface
SDL_LockSurface -- Lock a surface for directly access.
SDL_UnlockSurface -- Unlocks a previously locked surface.
SDL_LoadBMP -- Load a Windows BMP file into an SDL_Surface.
SDL_SaveBMP -- Save an SDL_Surface as a Windows BMP file.
SDL_SetColorKey -- Sets the color key (transparent pixel) in a blittable surface and +RLE acceleration.
SDL_SetAlpha -- Adjust the alpha properties of a surface
SDL_SetClipRect -- Sets the clipping rectangle for a surface.
SDL_GetClipRect -- Gets the clipping rectangle for a surface.
SDL_ConvertSurface -- Converts a surface to the same format as another surface.
SDL_BlitSurface -- This performs a fast blit from the source surface to the destination surface.
SDL_FillRect -- This function performs a fast fill of the given rectangle with some color
SDL_DisplayFormat -- Convert a surface to the display format
SDL_DisplayFormatAlpha -- Convert a surface to the display format
SDL_WarpMouse -- Set the position of the mouse cursor.
SDL_CreateCursor -- Creates a new mouse cursor.
SDL_FreeCursor -- Frees a cursor created with SDL_CreateCursor.
SDL_SetCursor -- Set the currently active mouse cursor.
SDL_GetCursor -- Get the currently active mouse cursor.
SDL_ShowCursor -- Toggle whether or not the cursor is shown on the screen.
SDL_GL_LoadLibrary -- Specify an OpenGL library
SDL_GL_GetProcAddress -- Get the address of a GL function
SDL_GL_GetAttribute -- Get the value of a special SDL/OpenGL attribute
SDL_GL_SetAttribute -- Set a special SDL/OpenGL attribute
SDL_GL_SwapBuffers -- Swap OpenGL framebuffers/Update Display
SDL_CreateYUVOverlay -- Create a YUV video overlay
SDL_LockYUVOverlay -- Lock an overlay
SDL_UnlockYUVOverlay -- Unlock an overlay
SDL_DisplayYUVOverlay -- Blit the overlay to the display
SDL_FreeYUVOverlay -- Free a YUV video overlay
SDL_GLattr -- SDL GL Attributes
SDL_Rect -- Defines a rectangular area
SDL_Color -- Format independent color description
SDL_Palette -- Color palette for 8-bit pixel formats
SDL_PixelFormat -- Stores surface format information
SDL_Surface -- Graphical Surface Structure
SDL_VideoInfo -- Video Target information
SDL_Overlay -- YUV video overlay

SDL presents a very simple interface to the display framebuffer. The +framebuffer is represented as an offscreen surface to which you can write +directly. If you want the screen to show what you have written, call the update function which will +guarantee that the desired portion of the screen is updated.

Before you call any of the SDL video functions, you must first call +SDL_Init(SDL_INIT_VIDEO), which initializes the video +and events in the SDL library. Check the return code, which should be +0, to see if there were any errors in starting up.

If you use both sound and video in your application, you need to call +SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) before opening the +sound device, otherwise under Win32 DirectX, you won't be able to set +full-screen display modes.

After you have initialized the library, you can start up the video display in a +number of ways. The easiest way is to pick a common screen resolution and +depth and just initialize the video, checking for errors. You will probably +get what you want, but SDL may be emulating your requested mode and converting +the display on update. The best way is to +query, for the best +video mode closest to the desired one, and then +convert +your images to that pixel format.

SDL currently supports any bit depth >= 8 bits per pixel. 8 bpp formats are +considered 8-bit palettized modes, while 12, 15, 16, 24, and 32 bits per pixel +are considered "packed pixel" modes, meaning each pixel contains the RGB color +components packed in the bits of the pixel.

After you have initialized your video mode, you can take the surface that was +returned, and write to it like any other framebuffer, calling the update +routine as you go.

When you have finished your video access and are ready to quit your +application, you should call "SDL_Quit()" to shutdown the +video and events.


PrevHomeNext
SDL_envvarsUpSDL_GetVideoSurface
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/html/wm.html b/distrib/sdl-1.2.15/docs/html/wm.html new file mode 100644 index 0000000..f53a349 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/wm.html @@ -0,0 +1,188 @@ +Window Management
SDL Library Documentation
PrevNext

Chapter 7. Window Management

Table of Contents
SDL_WM_SetCaption -- Sets the window tile and icon name.
SDL_WM_GetCaption -- Gets the window title and icon name.
SDL_WM_SetIcon -- Sets the icon for the display window.
SDL_WM_IconifyWindow -- Iconify/Minimise the window
SDL_WM_ToggleFullScreen -- Toggles fullscreen mode
SDL_WM_GrabInput -- Grabs mouse and keyboard input.

SDL provides a small set of window management functions which allow applications to change their title and toggle from windowed mode to fullscreen (if available)


PrevHomeNext
SDL_OverlayUpSDL_WM_SetCaption
\ No newline at end of file diff --git a/distrib/sdl-1.2.15/docs/images/rainbow.gif b/distrib/sdl-1.2.15/docs/images/rainbow.gif new file mode 100644 index 0000000..07eb184 Binary files /dev/null and b/distrib/sdl-1.2.15/docs/images/rainbow.gif differ diff --git a/distrib/sdl-1.2.15/docs/index.html b/distrib/sdl-1.2.15/docs/index.html new file mode 100644 index 0000000..7d57253 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/index.html @@ -0,0 +1,55 @@ + + +Simple DirectMedia Layer Introduction + + +
+

Simple DirectMedia Layer Introduction

+

+This library is designed to make it easy to write games that run on many +different platforms using the various native high-performance media interfaces, +(for video, audio, etc) and presenting a single source-code level API to +your application. This is a fairly low level API, but using this, completely +portable applications can be written with a great deal of flexibility. +

+An introduction to SDL can be found online at: + + http://www.libsdl.org/intro.php +

+Tutorials on a variety of topics can be found online at: + + http://www.libsdl.org/tutorials.php +

+Documentation in Wiki form can be found online at: + + http://www.libsdl.org/cgi/docwiki.cgi/ +

+Enjoy! +

+    Sam Lantinga + +

+


+

Table of Contents

+ +
diff --git a/distrib/sdl-1.2.15/docs/man3/SDLKey.3 b/distrib/sdl-1.2.15/docs/man3/SDLKey.3 new file mode 100644 index 0000000..dc74dfa --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDLKey.3 @@ -0,0 +1,161 @@ +.TH "SDLKey" "3" "Wed 11 Oct 2000, 22:28" "SDL" "SDL API Reference" +.SH "NAME" +SDLKey \- SDL Keysym Definitions +.SH "SDL Keysym definitions" +.PP +\fBSDLKey ASCII value Common Name\fR +.nf +\f(CWSDLK_BACKSPACE '\\b' backspace +SDLK_TAB '\\t' tab +SDLK_CLEAR clear +SDLK_RETURN '\\r' return +SDLK_PAUSE pause +SDLK_ESCAPE '^[' escape +SDLK_SPACE ' ' space +SDLK_EXCLAIM '!' exclaim +SDLK_QUOTEDBL '"' quotedbl +SDLK_HASH '#' hash +SDLK_DOLLAR '$' dollar +SDLK_AMPERSAND '&' ampersand +SDLK_QUOTE ''' quote +SDLK_LEFTPAREN '(' left parenthesis +SDLK_RIGHTPAREN ')' right parenthesis +SDLK_ASTERISK '*' asterisk +SDLK_PLUS '+' plus sign +SDLK_COMMA ',' comma +SDLK_MINUS '-' minus sign +SDLK_PERIOD '.' period +SDLK_SLASH '/' forward slash +SDLK_0 '0' 0 +SDLK_1 '1' 1 +SDLK_2 '2' 2 +SDLK_3 '3' 3 +SDLK_4 '4' 4 +SDLK_5 '5' 5 +SDLK_6 '6' 6 +SDLK_7 '7' 7 +SDLK_8 '8' 8 +SDLK_9 '9' 9 +SDLK_COLON ':' colon +SDLK_SEMICOLON ';' semicolon +SDLK_LESS '<' less-than sign +SDLK_EQUALS '=' equals sign +SDLK_GREATER '>' greater-than sign +SDLK_QUESTION '?' question mark +SDLK_AT '@' at +SDLK_LEFTBRACKET '[' left bracket +SDLK_BACKSLASH '\\' backslash +SDLK_RIGHTBRACKET ']' right bracket +SDLK_CARET '^' caret +SDLK_UNDERSCORE '_' underscore +SDLK_BACKQUOTE '`' grave +SDLK_a 'a' a +SDLK_b 'b' b +SDLK_c 'c' c +SDLK_d 'd' d +SDLK_e 'e' e +SDLK_f 'f' f +SDLK_g 'g' g +SDLK_h 'h' h +SDLK_i 'i' i +SDLK_j 'j' j +SDLK_k 'k' k +SDLK_l 'l' l +SDLK_m 'm' m +SDLK_n 'n' n +SDLK_o 'o' o +SDLK_p 'p' p +SDLK_q 'q' q +SDLK_r 'r' r +SDLK_s 's' s +SDLK_t 't' t +SDLK_u 'u' u +SDLK_v 'v' v +SDLK_w 'w' w +SDLK_x 'x' x +SDLK_y 'y' y +SDLK_z 'z' z +SDLK_DELETE '^?' delete +SDLK_KP0 keypad 0 +SDLK_KP1 keypad 1 +SDLK_KP2 keypad 2 +SDLK_KP3 keypad 3 +SDLK_KP4 keypad 4 +SDLK_KP5 keypad 5 +SDLK_KP6 keypad 6 +SDLK_KP7 keypad 7 +SDLK_KP8 keypad 8 +SDLK_KP9 keypad 9 +SDLK_KP_PERIOD '.' keypad period +SDLK_KP_DIVIDE '/' keypad divide +SDLK_KP_MULTIPLY '*' keypad multiply +SDLK_KP_MINUS '-' keypad minus +SDLK_KP_PLUS '+' keypad plus +SDLK_KP_ENTER '\\r' keypad enter +SDLK_KP_EQUALS '=' keypad equals +SDLK_UP up arrow +SDLK_DOWN down arrow +SDLK_RIGHT right arrow +SDLK_LEFT left arrow +SDLK_INSERT insert +SDLK_HOME home +SDLK_END end +SDLK_PAGEUP page up +SDLK_PAGEDOWN page down +SDLK_F1 F1 +SDLK_F2 F2 +SDLK_F3 F3 +SDLK_F4 F4 +SDLK_F5 F5 +SDLK_F6 F6 +SDLK_F7 F7 +SDLK_F8 F8 +SDLK_F9 F9 +SDLK_F10 F10 +SDLK_F11 F11 +SDLK_F12 F12 +SDLK_F13 F13 +SDLK_F14 F14 +SDLK_F15 F15 +SDLK_NUMLOCK numlock +SDLK_CAPSLOCK capslock +SDLK_SCROLLOCK scrollock +SDLK_RSHIFT right shift +SDLK_LSHIFT left shift +SDLK_RCTRL right ctrl +SDLK_LCTRL left ctrl +SDLK_RALT right alt +SDLK_LALT left alt +SDLK_RMETA right meta +SDLK_LMETA left meta +SDLK_LSUPER left windows key +SDLK_RSUPER right windows key +SDLK_MODE mode shift +SDLK_HELP help +SDLK_PRINT print-screen +SDLK_SYSREQ SysRq +SDLK_BREAK break +SDLK_MENU menu +SDLK_POWER power +SDLK_EURO euro\fR +.fi + + +.SH "SDL modifier definitions" +.PP +\fBSDL Modifier Meaning\fR +.nf +\f(CWKMOD_NONE No modifiers applicable +KMOD_NUM Numlock is down +KMOD_CAPS Capslock is down +KMOD_LCTRL Left Control is down +KMOD_RCTRL Right Control is down +KMOD_RSHIFT Right Shift is down +KMOD_LSHIFT Left Shift is down +KMOD_RALT Right Alt is down +KMOD_LALT Left Alt is down +KMOD_CTRL A Control key is down +KMOD_SHIFT A Shift key is down +KMOD_ALT An Alt key is down\fR +.fi + diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ActiveEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ActiveEvent.3 new file mode 100644 index 0000000..068e7c0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ActiveEvent.3 @@ -0,0 +1,38 @@ +.TH "SDL_ActiveEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ActiveEvent \- Application visibility event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 gain; + Uint8 state; +} SDL_ActiveEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_ACTIVEEVENT\&.\fP +.TP 20 +\fBgain\fR +0 if the event is a loss or 1 if it is a gain\&. +.TP 20 +\fBstate\fR +\fBSDL_APPMOUSEFOCUS\fP if mouse focus was gained or lost, \fBSDL_APPINPUTFOCUS\fP if input focus was gained or lost, or \fBSDL_APPACTIVE\fP if the application was iconified (\fBgain\fR=0) or restored(\fBgain\fR=1)\&. +.SH "DESCRIPTION" +.PP +\fBSDL_ActiveEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_ACTIVEEVENT\fP is reported\&. +.PP +When the mouse leaves or enters the window area a \fBSDL_APPMOUSEFOCUS\fP type activation event occurs, if the mouse entered the window then \fBgain\fR will be 1, otherwise \fBgain\fR will be 0\&. A \fBSDL_APPINPUTFOCUS\fP type activation event occurs when the application loses or gains keyboard focus\&. This usually occurs when another application is made active\&. Finally, a \fBSDL_APPACTIVE\fP type event occurs when the application is either minimised/iconified (\fBgain\fR=0) or restored\&. +.PP +.RS +\fBNote: +.PP +This event does not occur when an application window is first created\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_GetAppState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_AddTimer.3 b/distrib/sdl-1.2.15/docs/man3/SDL_AddTimer.3 new file mode 100644 index 0000000..bc494ed --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_AddTimer.3 @@ -0,0 +1,38 @@ +.TH "SDL_AddTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_AddTimer \- Add a timer which will call a callback after the specified number of milliseconds has elapsed\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_TimerID \fBSDL_AddTimer\fP\fR(\fBUint32 interval, SDL_NewTimerCallback callback, void *param\fR); +.SH "CALLBACK" +.PP +.nf +\f(CW/* type definition for the "new" timer callback function */ +typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);\fR +.fi +.PP +.SH "DESCRIPTION" +.PP +Adds a callback function to be run after the specified number of milliseconds has elapsed\&. The callback function is passed the current timer interval and the user supplied parameter from the \fBSDL_AddTimer\fP call and returns the next timer interval\&. If the returned value from the callback is the same as the one passed in, the periodic alarm continues, otherwise a new alarm is scheduled\&. +.PP +To cancel a currently running timer call \fISDL_RemoveTimer\fR with the timer ID returned from \fBSDL_AddTimer\fP\&. +.PP +The timer callback function may run in a different thread than your main program, and so shouldn\&'t call any functions from within itself\&. You may always call \fISDL_PushEvent\fR, however\&. +.PP +The granularity of the timer is platform-dependent, but you should count on it being at least 10 ms as this is the most common number\&. This means that if you request a 16 ms timer, your callback will run approximately 20 ms later on an unloaded system\&. If you wanted to set a flag signaling a frame update at 30 frames per second (every 33 ms), you might set a timer for 30 ms (see example below)\&. If you use this function, you need to pass \fBSDL_INIT_TIMER\fP to \fISDL_Init\fR\&. +.SH "RETURN VALUE" +.PP +Returns an ID value for the added timer or \fBNULL\fR if there was an error\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWmy_timer_id = SDL_AddTimer((33/10)*10, my_callbackfunc, my_callback_param);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_RemoveTimer\fP\fR, \fI\fBSDL_PushEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_AudioCVT.3 b/distrib/sdl-1.2.15/docs/man3/SDL_AudioCVT.3 new file mode 100644 index 0000000..f5e3489 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_AudioCVT.3 @@ -0,0 +1,68 @@ +.TH "SDL_AudioCVT" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_AudioCVT \- Audio Conversion Structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + int needed; + Uint16 src_format; + Uint16 dest_format; + double rate_incr; + Uint8 *buf; + int len; + int len_cvt; + int len_mult; + double len_ratio; + void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format); + int filter_index; +} SDL_AudioCVT;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBneeded\fR +Set to one if the conversion is possible +.TP 20 +\fBsrc_format\fR +Audio format of the source +.TP 20 +\fBdest_format\fR +Audio format of the destination +.TP 20 +\fBrate_incr\fR +Rate conversion increment +.TP 20 +\fBbuf\fR +Audio buffer +.TP 20 +\fBlen\fR +Length of the original audio buffer in bytes +.TP 20 +\fBlen_cvt\fR +Length of converted audio buffer in bytes (calculated) +.TP 20 +\fBlen_mult\fR +\fBbuf\fR must be \fBlen\fR*\fBlen_mult\fR bytes in size(calculated) +.TP 20 +\fBlen_ratio\fR +Final audio size is \fBlen\fR*\fBlen_ratio\fR +.TP 20 +\fBfilters[10](\&.\&.)\fR +Pointers to functions needed for this conversion +.TP 20 +\fBfilter_index\fR +Current conversion function +.SH "DESCRIPTION" +.PP +The \fBSDL_AudioCVT\fR is used to convert audio data between different formats\&. A \fBSDL_AudioCVT\fR structure is created with the \fI\fBSDL_BuildAudioCVT\fP\fR function, while the actual conversion is done by the \fI\fBSDL_ConvertAudio\fP\fR function\&. +.PP +Many of the fields in the \fBSDL_AudioCVT\fR structure should be considered private and their function will not be discussed here\&. +.IP "\fBUint8 *\fP\fBbuf\fR" 10This points to the audio data that will be used in the conversion\&. It is both the source and the destination, which means the converted audio data overwrites the original data\&. It also means that the converted data may be larger than the original data (if you were converting from 8-bit to 16-bit, for instance), so you must ensure \fBbuf\fR is large enough\&. See below\&. +.IP "\fBint\fP \fBlen\fR" 10This is the length of the original audio data in bytes\&. +.IP "\fBint\fP \fBlen_mult\fR" 10As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data\&. The length of \fBbuf\fR should be \fBlen\fR*\fBlen_mult\fR\&. +.IP "\fBdouble\fP \fBlen_ratio\fR" 10When you have finished converting your audio data, you need to know how much of your audio buffer is valid\&. \fBlen\fR*\fBlen_ratio\fR is the size of the converted audio data in bytes\&. This is very similar to \fBlen_mult\fR, however when the convert audio data is shorter than the original \fBlen_mult\fR would be 1\&. \fBlen_ratio\fR, on the other hand, would be a fractional number between 0 and 1\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_BuildAudioCVT\fP\fR, \fI\fBSDL_ConvertAudio\fP\fR, \fI\fBSDL_AudioSpec\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_AudioSpec.3 b/distrib/sdl-1.2.15/docs/man3/SDL_AudioSpec.3 new file mode 100644 index 0000000..c70ffd1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_AudioSpec.3 @@ -0,0 +1,70 @@ +.TH "SDL_AudioSpec" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_AudioSpec \- Audio Specification Structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + int freq; + Uint16 format; + Uint8 channels; + Uint8 silence; + Uint16 samples; + Uint32 size; + void (*callback)(void *userdata, Uint8 *stream, int len); + void *userdata; +} SDL_AudioSpec;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBfreq\fR +Audio frequency in samples per second +.TP 20 +\fBformat\fR +Audio data format +.TP 20 +\fBchannels\fR +Number of channels: 1 mono, 2 stereo +.TP 20 +\fBsilence\fR +Audio buffer silence value (calculated) +.TP 20 +\fBsamples\fR +Audio buffer size in samples +.TP 20 +\fBsize\fR +Audio buffer size in bytes (calculated) +.TP 20 +\fBcallback(\&.\&.)\fR +Callback function for filling the audio buffer +.TP 20 +\fBuserdata\fR +Pointer the user data which is passed to the callback function +.SH "DESCRIPTION" +.PP +The \fBSDL_AudioSpec\fR structure is used to describe the format of some audio data\&. This structure is used by \fI\fBSDL_OpenAudio\fP\fR and \fI\fBSDL_LoadWAV\fP\fR\&. While all fields are used by \fBSDL_OpenAudio\fP only \fBfreq\fR, \fBformat\fR, \fBsamples\fR and \fBchannels\fR are used by \fBSDL_LoadWAV\fP\&. We will detail these common members here\&. +.TP 20 +\fBfreq\fR +The number of samples sent to the sound device every second\&. Common values are 11025, 22050 and 44100\&. The higher the better\&. +.TP 20 +\fBformat\fR +Specifies the size and type of each sample element +.IP "\fBAUDIO_U8\fP" 10Unsigned 8-bit samples +.IP "\fBAUDIO_S8\fP" 10Signed 8-bit samples +.IP "\fBAUDIO_U16\fP or \fBAUDIO_U16LSB\fP" 10Unsigned 16-bit little-endian samples +.IP "\fBAUDIO_S16\fP or \fBAUDIO_S16LSB\fP" 10Signed 16-bit little-endian samples +.IP "\fBAUDIO_U16MSB\fP" 10Unsigned 16-bit big-endian samples +.IP "\fBAUDIO_S16MSB\fP" 10Signed 16-bit big-endian samples +.IP "\fBAUDIO_U16SYS\fP" 10Either \fBAUDIO_U16LSB\fP or \fBAUDIO_U16MSB\fP depending on you systems endianness +.IP "\fBAUDIO_S16SYS\fP" 10Either \fBAUDIO_S16LSB\fP or \fBAUDIO_S16MSB\fP depending on you systems endianness +.TP 20 +\fBchannels\fR +The number of seperate sound channels\&. 1 is mono (single channel), 2 is stereo (dual channel)\&. +.TP 20 +\fBsamples\fR +When used with \fI\fBSDL_OpenAudio\fP\fR this refers to the size of the audio buffer in samples\&. A sample a chunk of audio data of the size specified in \fBformat\fR mulitplied by the number of channels\&. When the \fBSDL_AudioSpec\fR is used with \fI\fBSDL_LoadWAV\fP\fR \fBsamples\fR is set to 4096\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_OpenAudio\fP\fR, \fI\fBSDL_LoadWAV\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_BlitSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_BlitSurface.3 new file mode 100644 index 0000000..5f62ffb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_BlitSurface.3 @@ -0,0 +1,60 @@ +.TH "SDL_BlitSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_BlitSurface \- This performs a fast blit from the source surface to the destination surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_BlitSurface\fP\fR(\fBSDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect\fR); +.SH "DESCRIPTION" +.PP +This performs a fast blit from the source surface to the destination surface\&. +.PP +Only the position is used in the \fBdstrect\fR (the width and height are ignored)\&. +.PP +If either \fBsrcrect\fR or \fBdstrect\fR are \fBNULL\fP, the entire surface (\fBsrc\fR or \fBdst\fR) is copied\&. +.PP +The final blit rectangle is saved in \fBdstrect\fR after all clipping is performed (\fBsrcrect\fR is not modified)\&. +.PP +The blit function should not be called on a locked surface\&. +.PP +The results of blitting operations vary greatly depending on whether \fBSDL_SRCAPLHA\fP is set or not\&. See \fISDL_SetAlpha\fR for an explaination of how this affects your results\&. Colorkeying and alpha attributes also interact with surface blitting, as the following pseudo-code should hopefully explain\&. +.PP +.nf +\f(CWif (source surface has SDL_SRCALPHA set) { + if (source surface has alpha channel (that is, format->Amask != 0)) + blit using per-pixel alpha, ignoring any colour key + else { + if (source surface has SDL_SRCCOLORKEY set) + blit using the colour key AND the per-surface alpha value + else + blit using the per-surface alpha value + } +} else { + if (source surface has SDL_SRCCOLORKEY set) + blit using the colour key + else + ordinary opaque rectangular blit +}\fR +.fi +.PP +.SH "RETURN VALUE" +.PP +If the blit is successful, it returns \fB0\fR, otherwise it returns \fB-1\fR\&. +.PP +If either of the surfaces were in video memory, and the blit returns \fB-2\fR, the video memory was lost, so it should be reloaded with artwork and re-blitted: +.PP +.nf +\f(CW while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) { + while ( SDL_LockSurface(image)) < 0 ) + Sleep(10); + -- Write image pixels to image->pixels -- + SDL_UnlockSurface(image); + }\fR +.fi +.PP + This happens under DirectX 5\&.0 when the system switches away from your fullscreen application\&. Locking the surface will also fail until you have access to the video memory again\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_FillRect\fP\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_Rect\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_BuildAudioCVT.3 b/distrib/sdl-1.2.15/docs/man3/SDL_BuildAudioCVT.3 new file mode 100644 index 0000000..dfca664 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_BuildAudioCVT.3 @@ -0,0 +1,23 @@ +.TH "SDL_BuildAudioCVT" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_BuildAudioCVT \- Initializes a SDL_AudioCVT structure for conversion +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_BuildAudioCVT\fP\fR(\fBSDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate\fR); +.SH "DESCRIPTION" +.PP +Before an \fI\fBSDL_AudioCVT\fR\fR structure can be used to convert audio data it must be initialized with source and destination information\&. +.PP +\fBsrc_format\fR and \fBdst_format\fR are the source and destination format of the conversion\&. (For information on audio formats see \fI\fB SDL_AudioSpec\fR\fR)\&. \fBsrc_channels\fR and \fBdst_channels\fR are the number of channels in the source and destination formats\&. Finally, \fBsrc_rate\fR and \fBdst_rate\fR are the frequency or samples-per-second of the source and destination formats\&. Once again, see \fI\fBSDL_AudioSpec\fR\fR\&. +.SH "RETURN VALUES" +.PP +Returns \fB-1\fR if the filter could not be built or 1 if it could\&. +.SH "EXAMPLES" +.PP +See \fI\fBSDL_ConvertAudio\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_ConvertAudio\fP\fR, \fI\fBSDL_AudioCVT\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CD.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CD.3 new file mode 100644 index 0000000..ea21818 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CD.3 @@ -0,0 +1,57 @@ +.TH "SDL_CD" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CD \- CDROM Drive Information +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + int id; + CDstatus status; + int numtracks; + int cur_track; + int cur_frame; + SDL_CDtrack track[SDL_MAX_TRACKS+1]; +} SDL_CD;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBid\fR +Private drive identifier +.TP 20 +\fBstatus\fR +Drive \fIstatus\fR +.TP 20 +\fBnumtracks\fR +Number of tracks on the CD +.TP 20 +\fBcur_track\fR +Current track +.TP 20 +\fBcur_frame\fR +Current frame offset within the track +.TP 20 +\fBtrack\fR[SDL_MAX_TRACKS+1] +Array of track descriptions\&. (see \fI\fBSDL_CDtrack\fR\fR) +.SH "DESCRIPTION" +.PP +An \fBSDL_CD\fR structure is returned by \fI\fBSDL_CDOpen\fP\fR\&. It represents an opened CDROM device and stores information on the layout of the tracks on the disc\&. +.PP +A frame is the base data unit of a CD\&. \fBCD_FPS\fP frames is equal to 1 second of music\&. SDL provides two macros for converting between time and frames: \fBFRAMES_TO_MSF(f, M,S,F)\fP and \fBMSF_TO_FRAMES\fP\&. +.SH "EXAMPLES" +.PP +.nf +\f(CWint min, sec, frame; +int frame_offset; + +FRAMES_TO_MSF(cdrom->cur_frame, &min, &sec, &frame); +printf("Current Position: %d minutes, %d seconds, %d frames +", min, sec, frame); + +frame_offset=MSF_TO_FRAMES(min, sec, frame);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDOpen\fP\fR, \fI\fBSDL_CDtrack\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDClose.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDClose.3 new file mode 100644 index 0000000..9dd29fb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDClose.3 @@ -0,0 +1,15 @@ +.TH "SDL_CDClose" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDClose \- Closes a SDL_CD handle +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_CDClose\fP\fR(\fBSDL_CD *cdrom\fR); +.SH "DESCRIPTION" +.PP +Closes the given \fBcdrom\fR handle\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDOpen\fP\fR, \fI\fBSDL_CD\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDEject.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDEject.3 new file mode 100644 index 0000000..2f2983d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDEject.3 @@ -0,0 +1,18 @@ +.TH "SDL_CDEject" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDEject \- Ejects a CDROM +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDEject\fP\fR(\fBSDL_CD *cdrom\fR); +.SH "DESCRIPTION" +.PP +Ejects the given \fBcdrom\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CD\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDName.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDName.3 new file mode 100644 index 0000000..c6f6298 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDName.3 @@ -0,0 +1,23 @@ +.TH "SDL_CDName" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDName \- Returns a human-readable, system-dependent identifier for the CD-ROM\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBconst char *\fBSDL_CDName\fP\fR(\fBint drive\fR); +.SH "DESCRIPTION" +.PP +Returns a human-readable, system-dependent identifier for the CD-ROM\&. \fBdrive\fR is the index of the drive\&. Drive indices start to 0 and end at \fBSDL_CDNumDrives()\fP-1\&. +.SH "EXAMPLES" +.PP +.IP " \(bu" 6 +"/dev/cdrom" +.IP " \(bu" 6 +"E:" +.IP " \(bu" 6 +"/dev/disk/ide/1/master" +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDNumDrives\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDNumDrives.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDNumDrives.3 new file mode 100644 index 0000000..ad62b68 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDNumDrives.3 @@ -0,0 +1,15 @@ +.TH "SDL_CDNumDrives" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDNumDrives \- Returns the number of CD-ROM drives on the system\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDNumDrives\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +Returns the number of CD-ROM drives on the system\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDOpen\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDOpen.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDOpen.3 new file mode 100644 index 0000000..dbf23fc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDOpen.3 @@ -0,0 +1,58 @@ +.TH "SDL_CDOpen" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDOpen \- Opens a CD-ROM drive for access\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_CD *\fBSDL_CDOpen\fP\fR(\fBint drive\fR); +.SH "DESCRIPTION" +.PP +Opens a CD-ROM drive for access\&. It returns a \fI\fBSDL_CD\fR\fR structure on success, or \fBNULL\fP if the drive was invalid or busy\&. This newly opened CD-ROM becomes the default CD used when other CD functions are passed a \fBNULL\fP CD-ROM handle\&. +.PP +Drives are numbered starting with 0\&. Drive 0 is the system default CD-ROM\&. +.SH "EXAMPLES" +.PP +.nf +\f(CWSDL_CD *cdrom; +int cur_track; +int min, sec, frame; +SDL_Init(SDL_INIT_CDROM); +atexit(SDL_Quit); + +/* Check for CD drives */ +if(!SDL_CDNumDrives()){ + /* None found */ + fprintf(stderr, "No CDROM devices available +"); + exit(-1); +} + +/* Open the default drive */ +cdrom=SDL_CDOpen(0); + +/* Did if open? Check if cdrom is NULL */ +if(!cdrom){ + fprintf(stderr, "Couldn\&'t open drive: %s +", SDL_GetError()); + exit(-1); +} + +/* Print Volume info */ +printf("Name: %s +", SDL_CDName(0)); +printf("Tracks: %d +", cdrom->numtracks); +for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){ + FRAMES_TO_MSF(cdrom->track[cur_track]\&.length, &min, &sec, &frame); + printf(" Track %d: Length %d:%d +", cur_track, min, sec); +} + +SDL_CDClose(cdrom);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CD\fR\fR, \fI\fBSDL_CDtrack\fR\fR, \fI\fBSDL_CDClose\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDPause.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDPause.3 new file mode 100644 index 0000000..bca06c0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDPause.3 @@ -0,0 +1,18 @@ +.TH "SDL_CDPause" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDPause \- Pauses a CDROM +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDPause\fP\fR(\fBSDL_CD *cdrom\fR); +.SH "DESCRIPTION" +.PP +Pauses play on the given \fBcdrom\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDResume\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDPlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDPlay.3 new file mode 100644 index 0000000..39c25ec --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDPlay.3 @@ -0,0 +1,18 @@ +.TH "SDL_CDPlay" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDPlay \- Play a CD +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDPlay\fP\fR(\fBSDL_CD *cdrom, int start, int length\fR); +.SH "DESCRIPTION" +.PP +Plays the given \fBcdrom\fR, starting a frame \fBstart\fR for \fBlength\fR frames\&. +.SH "RETURN VALUES" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDPlayTracks\fP\fR, \fI\fBSDL_CDStop\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDPlayTracks.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDPlayTracks.3 new file mode 100644 index 0000000..5a403b3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDPlayTracks.3 @@ -0,0 +1,47 @@ +.TH "SDL_CDPlayTracks" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDPlayTracks \- Play the given CD track(s) +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDPlayTracks\fP\fR(\fBSDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes)\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_CDPlayTracks\fP plays the given CD starting at track \fBstart_track\fR, for \fBntracks\fR tracks\&. +.PP +\fBstart_frame\fR is the frame offset, from the beginning of the \fBstart_track\fR, at which to start\&. \fBnframes\fR is the frame offset, from the beginning of the last track (\fBstart_track\fR+\fBntracks\fR), at which to end playing\&. +.PP +\fBSDL_CDPlayTracks\fP should only be called after calling \fI\fBSDL_CDStatus\fP\fR to get track information about the CD\&. +.PP +.RS +\fBNote: +.PP +Data tracks are ignored\&. +.RE +.SH "RETURN VALUE" +.PP +Returns \fB0\fR, or \fB-1\fR if there was an error\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CW/* assuming cdrom is a previously opened device */ +/* Play the entire CD */ +if(CD_INDRIVE(SDL_CDStatus(cdrom))) + SDL_CDPlayTracks(cdrom, 0, 0, 0, 0); + +/* Play the first track */ +if(CD_INDRIVE(SDL_CDStatus(cdrom))) + SDL_CDPlayTracks(cdrom, 0, 0, 1, 0); + +/* Play first 15 seconds of the 2nd track */ +if(CD_INDRIVE(SDL_CDStatus(cdrom))) + SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15);\fR +.fi +.PP + +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDStatus\fP\fR, \fI\fBSDL_CD\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDResume.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDResume.3 new file mode 100644 index 0000000..86f6c2d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDResume.3 @@ -0,0 +1,18 @@ +.TH "SDL_CDResume" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDResume \- Resumes a CDROM +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDResume\fP\fR(\fBSDL_CD *cdrom\fR); +.SH "DESCRIPTION" +.PP +Resumes play on the given \fBcdrom\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDPause\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDStatus.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDStatus.3 new file mode 100644 index 0000000..77eed72 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDStatus.3 @@ -0,0 +1,59 @@ +.TH "SDL_CDStatus" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDStatus \- Returns the current status of the given drive\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBCDstatus \fBSDL_CDStatus\fP\fR(\fBSDL_CD *cdrom\fR); +\fB/* Given a status, returns true if there\&'s a disk in the drive */ +#define CD_INDRIVE(status) ((int)status > 0) +.SH "DESCRIPTION" +.PP +This function returns the current status of the given drive\&. Status is described like so: +.PP +.nf +\f(CWtypedef enum { + CD_TRAYEMPTY, + CD_STOPPED, + CD_PLAYING, + CD_PAUSED, + CD_ERROR = -1 +} CDstatus;\fR +.fi +.PP +.PP +If the drive has a CD in it, the table of contents of the CD and current play position of the CD will be stored in the SDL_CD structure\&. +.PP +The macro \fBCD_INDRIVE\fP is provided for convenience, and given a status returns true if there\&'s a disk in the drive\&. +.PP +.RS +\fBNote: +.PP +\fBSDL_CDStatus\fP also updates the \fI\fBSDL_CD\fR\fR structure passed to it\&. +.RE +.SH "EXAMPLE" +.PP +.nf +\f(CWint playTrack(int track) +{ + int playing = 0; + + if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) { + /* clamp to the actual number of tracks on the CD */ + if (track >= cdrom->numtracks) { + track = cdrom->numtracks-1; + } + + if ( SDL_CDPlayTracks(cdrom, track, 0, 1, 0) == 0 ) { + playing = 1; + } + } + return playing; +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CD\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDStop.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDStop.3 new file mode 100644 index 0000000..61e2b23 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDStop.3 @@ -0,0 +1,18 @@ +.TH "SDL_CDStop" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDStop \- Stops a CDROM +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_CDStop\fP\fR(\fBSDL_CD *cdrom\fR); +.SH "DESCRIPTION" +.PP +Stops play on the given \fBcdrom\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CDPlay\fP\fR, +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CDtrack.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CDtrack.3 new file mode 100644 index 0000000..fdac6ee --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CDtrack.3 @@ -0,0 +1,40 @@ +.TH "SDL_CDtrack" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CDtrack \- CD Track Information Structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 id; + Uint8 type; + Uint32 length; + Uint32 offset; +} SDL_CDtrack;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBid\fR +Track number (0-99) +.TP 20 +\fBtype\fR +\fBSDL_AUDIO_TRACK\fP or \fBSDL_DATA_TRACK\fP +.TP 20 +\fBlength\fR +Length, in frames, of this track +.TP 20 +\fBoffset\fR +Frame offset to the beginning of this track +.SH "DESCRIPTION" +.PP +\fBSDL_CDtrack\fR stores data on each track on a CD, its fields should be pretty self explainatory\&. It is a member a the \fI\fBSDL_CD\fR\fR structure\&. +.PP +.RS +\fBNote: +.PP +Frames can be converted to standard timings\&. There are \fBCD_FPS\fP frames per second, so \fBSDL_CDtrack\fR\&.\fBlength\fR/\fBCD_FPS\fP=length_in_seconds\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_CD\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CloseAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CloseAudio.3 new file mode 100644 index 0000000..85ff1a4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CloseAudio.3 @@ -0,0 +1,15 @@ +.TH "SDL_CloseAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CloseAudio \- Shuts down audio processing and closes the audio device\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_CloseAudio\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +This function shuts down audio processing and closes the audio device\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_OpenAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Color.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Color.3 new file mode 100644 index 0000000..e96ee8a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Color.3 @@ -0,0 +1,34 @@ +.TH "SDL_Color" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Color \- Format independent color description +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 r; + Uint8 g; + Uint8 b; + Uint8 unused; +} SDL_Color;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBr\fR +Red intensity +.TP 20 +\fBg\fR +Green intensity +.TP 20 +\fBb\fR +Blue intensity +.TP 20 +\fBunused\fR +Unused +.SH "DESCRIPTION" +.PP +\fBSDL_Color\fR describes a color in a format independent way\&. You can convert a \fBSDL_Color\fR to a pixel value for a certain pixel format using \fI\fBSDL_MapRGB\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Palette\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CondBroadcast.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CondBroadcast.3 new file mode 100644 index 0000000..efc50b9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CondBroadcast.3 @@ -0,0 +1,16 @@ +.TH "SDL_CondBroadcast" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CondBroadcast \- Restart all threads waiting on a condition variable +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_CondBroadcast\fP\fR(\fBSDL_cond *cond\fR); +.SH "DESCRIPTION" +.PP +Restarts all threads that are waiting on the condition variable, \fBcond\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CondSignal\fP\fR, \fI\fBSDL_CondWait\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CondSignal.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CondSignal.3 new file mode 100644 index 0000000..b09c875 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CondSignal.3 @@ -0,0 +1,16 @@ +.TH "SDL_CondSignal" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CondSignal \- Restart a thread wait on a condition variable +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_CondSignal\fP\fR(\fBSDL_cond *cond\fR); +.SH "DESCRIPTION" +.PP +Restart one of the threads that are waiting on the condition variable, \fBcond\fR\&. Returns \fB0\fR on success of \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CondWait\fP\fR, \fI\fBSDL_CondBroadcast\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CondWait.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CondWait.3 new file mode 100644 index 0000000..642f512 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CondWait.3 @@ -0,0 +1,16 @@ +.TH "SDL_CondWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CondWait \- Wait on a condition variable +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_CondWait\fP\fR(\fBSDL_cond *cond, SDL_mutex *mut\fR); +.SH "DESCRIPTION" +.PP +Wait on the condition variable \fBcond\fR and unlock the provided mutex\&. The mutex must the locked before entering this function\&. Returns \fB0\fR when it is signalled, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CondWaitTimeout\fP\fR, \fI\fBSDL_CondSignal\fP\fR, \fI\fBSDL_mutexP\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CondWaitTimeout.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CondWaitTimeout.3 new file mode 100644 index 0000000..7b3424d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CondWaitTimeout.3 @@ -0,0 +1,16 @@ +.TH "SDL_CondWaitTimeout" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CondWaitTimeout \- Wait on a condition variable, with timeout +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_CondWaitTimeout\fP\fR(\fBSDL_cond *cond, SDL_mutex *mutex, Uint32 ms\fR); +.SH "DESCRIPTION" +.PP +Wait on the condition variable \fBcond\fR for, at most, \fBms\fR milliseconds\&. \fBmut\fR is unlocked so it must be locked when the function is called\&. Returns \fBSDL_MUTEX_TIMEDOUT\fP if the condition is not signalled in the allotted time, \fB0\fR if it was signalled or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CondWait\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ConvertAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ConvertAudio.3 new file mode 100644 index 0000000..73ef974 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ConvertAudio.3 @@ -0,0 +1,95 @@ +.TH "SDL_ConvertAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ConvertAudio \- Convert audio data to a desired audio format\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_ConvertAudio\fP\fR(\fBSDL_AudioCVT *cvt\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_ConvertAudio\fP takes one parameter, \fBcvt\fR, which was previously initilized\&. Initilizing a \fI\fBSDL_AudioCVT\fR\fR is a two step process\&. First of all, the structure must be passed to \fI\fBSDL_BuildAudioCVT\fP\fR along with source and destination format parameters\&. Secondly, the \fBcvt\fR->\fBbuf\fR and \fBcvt\fR->\fBlen\fR fields must be setup\&. \fBcvt\fR->\fBbuf\fR should point to the audio data and \fBcvt\fR->\fBlen\fR should be set to the length of the audio data in bytes\&. Remember, the length of the buffer pointed to by \fBbuf\fR show be \fBlen\fR*\fBlen_mult\fR bytes in length\&. +.PP +Once the \fBSDL_AudioCVT\fRstructure is initilized then we can pass it to \fBSDL_ConvertAudio\fP, which will convert the audio data pointer to by \fBcvt\fR->\fBbuf\fR\&. If \fBSDL_ConvertAudio\fP returned \fB0\fR then the conversion was completed successfully, otherwise \fB-1\fR is returned\&. +.PP +If the conversion completed successfully then the converted audio data can be read from \fBcvt\fR->\fBbuf\fR\&. The amount of valid, converted, audio data in the buffer is equal to \fBcvt\fR->\fBlen\fR*\fBcvt\fR->\fBlen_ratio\fR\&. +.SH "EXAMPLES" +.PP +.nf +\f(CW/* Converting some WAV data to hardware format */ +void my_audio_callback(void *userdata, Uint8 *stream, int len); + +SDL_AudioSpec *desired, *obtained; +SDL_AudioSpec wav_spec; +SDL_AudioCVT wav_cvt; +Uint32 wav_len; +Uint8 *wav_buf; +int ret; + +/* Allocated audio specs */ +desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); +obtained=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); + +/* Set desired format */ +desired->freq=22050; +desired->format=AUDIO_S16LSB; +desired->samples=8192; +desired->callback=my_audio_callback; +desired->userdata=NULL; + +/* Open the audio device */ +if ( SDL_OpenAudio(desired, obtained) < 0 ){ + fprintf(stderr, "Couldn\&'t open audio: %s +", SDL_GetError()); + exit(-1); +} + +free(desired); + +/* Load the test\&.wav */ +if( SDL_LoadWAV("test\&.wav", &wav_spec, &wav_buf, &wav_len) == NULL ){ + fprintf(stderr, "Could not open test\&.wav: %s +", SDL_GetError()); + SDL_CloseAudio(); + free(obtained); + exit(-1); +} + +/* Build AudioCVT */ +ret = SDL_BuildAudioCVT(&wav_cvt, + wav_spec\&.format, wav_spec\&.channels, wav_spec\&.freq, + obtained->format, obtained->channels, obtained->freq); + +/* Check that the convert was built */ +if(ret==-1){ + fprintf(stderr, "Couldn\&'t build converter! +"); + SDL_CloseAudio(); + free(obtained); + SDL_FreeWAV(wav_buf); +} + +/* Setup for conversion */ +wav_cvt\&.buf=(Uint8 *)malloc(wav_len*wav_cvt\&.len_mult); +wav_cvt\&.len=wav_len; +memcpy(wav_cvt\&.buf, wav_buf, wav_len); + +/* We can delete to original WAV data now */ +SDL_FreeWAV(wav_buf); + +/* And now we\&'re ready to convert */ +SDL_ConvertAudio(&wav_cvt); + +/* do whatever */ +\&. +\&. +\&. +\&. + +\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_BuildAudioCVT\fP\fR, \fI\fBSDL_AudioCVT\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ConvertSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ConvertSurface.3 new file mode 100644 index 0000000..cb24e34 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ConvertSurface.3 @@ -0,0 +1,24 @@ +.TH "SDL_ConvertSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ConvertSurface \- Converts a surface to the same format as another surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL/SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_ConvertSurface\fP\fR(\fBSDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags\fR); +.SH "DESCRIPTION" +.PP +Creates a new surface of the specified format, and then copies and maps the given surface to it\&. If this function fails, it returns \fBNULL\fP\&. +.PP +The \fBflags\fR parameter is passed to \fI\fBSDL_CreateRGBSurface\fP\fR and has those semantics\&. +.PP +This function is used internally by \fI\fBSDL_DisplayFormat\fP\fR\&. +.PP +This function can only be called after SDL_Init\&. +.SH "RETURN VALUE" +.PP +Returns either a pointer to the new surface, or \fBNULL\fP on error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateRGBSurface\fP\fR, \fI\fBSDL_DisplayFormat\fP\fR, \fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateCond.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateCond.3 new file mode 100644 index 0000000..e8c2896 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateCond.3 @@ -0,0 +1,31 @@ +.TH "SDL_CreateCond" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateCond \- Create a condition variable +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBSDL_cond *\fBSDL_CreateCond\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Creates a condition variable\&. +.SH "EXAMPLES" +.PP +.nf +\f(CWSDL_cond *cond; + +cond=SDL_CreateCond(); +\&. +\&. +/* Do stuff */ + +\&. +\&. +SDL_DestroyCond(cond);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_DestroyCond\fP\fR, \fI\fBSDL_CondWait\fP\fR, \fI\fBSDL_CondSignal\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateCursor.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateCursor.3 new file mode 100644 index 0000000..ef205c3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateCursor.3 @@ -0,0 +1,120 @@ +.TH "SDL_CreateCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateCursor \- Creates a new mouse cursor\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Cursor *\fBSDL_CreateCursor\fP\fR(\fBUint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y\fR); +.SH "DESCRIPTION" +.PP +Create a cursor using the specified \fBdata\fR and \fBmask\fR (in MSB format)\&. The cursor width must be a multiple of 8 bits\&. +.PP +The cursor is created in black and white according to the following: +.TP 20 +\fBData / Mask\fR +\fBResulting pixel on screen\fR +.TP 20 +0 / 1 +White +.TP 20 +1 / 1 +Black +.TP 20 +0 / 0 +Transparent +.TP 20 +1 / 0 +Inverted color if possible, black if not\&. +.PP +Cursors created with this function must be freed with \fISDL_FreeCursor\fR\&. +.SH "EXAMPLE" +.PP +.nf +\f(CW/* Stolen from the mailing list */ +/* Creates a new mouse cursor from an XPM */ + + +/* XPM */ +static const char *arrow[] = { + /* width height num_colors chars_per_pixel */ + " 32 32 3 1", + /* colors */ + "X c #000000", + "\&. c #ffffff", + " c None", + /* pixels */ + "X ", + "XX ", + "X\&.X ", + "X\&.\&.X ", + "X\&.\&.\&.X ", + "X\&.\&.\&.\&.X ", + "X\&.\&.\&.\&.\&.X ", + "X\&.\&.\&.\&.\&.\&.X ", + "X\&.\&.\&.\&.\&.\&.\&.X ", + "X\&.\&.\&.\&.\&.\&.\&.\&.X ", + "X\&.\&.\&.\&.\&.XXXXX ", + "X\&.\&.X\&.\&.X ", + "X\&.X X\&.\&.X ", + "XX X\&.\&.X ", + "X X\&.\&.X ", + " X\&.\&.X ", + " X\&.\&.X ", + " X\&.\&.X ", + " XX ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + "0,0" +}; + +static SDL_Cursor *init_system_cursor(const char *image[]) +{ + int i, row, col; + Uint8 data[4*32]; + Uint8 mask[4*32]; + int hot_x, hot_y; + + i = -1; + for ( row=0; row<32; ++row ) { + for ( col=0; col<32; ++col ) { + if ( col % 8 ) { + data[i] <<= 1; + mask[i] <<= 1; + } else { + ++i; + data[i] = mask[i] = 0; + } + switch (image[4+row][col]) { + case \&'X\&': + data[i] |= 0x01; + k[i] |= 0x01; + break; + case \&'\&.\&': + mask[i] |= 0x01; + break; + case \&' \&': + break; + } + } + } + sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); + return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y); +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_FreeCursor\fP\fR, \fI\fBSDL_SetCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateMutex.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateMutex.3 new file mode 100644 index 0000000..c665e1c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateMutex.3 @@ -0,0 +1,43 @@ +.TH "SDL_CreateMutex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateMutex \- Create a mutex +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBSDL_mutex *\fBSDL_CreateMutex\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Create a new, unlocked mutex\&. +.SH "EXAMPLES" +.PP +.nf +\f(CWSDL_mutex *mut; + +mut=SDL_CreateMutex(); +\&. +\&. +if(SDL_mutexP(mut)==-1){ + fprintf(stderr, "Couldn\&'t lock mutex +"); + exit(-1); +} +\&. +/* Do stuff while mutex is locked */ +\&. +\&. +if(SDL_mutexV(mut)==-1){ + fprintf(stderr, "Couldn\&'t unlock mutex +"); + exit(-1); +} + +SDL_DestroyMutex(mut); +\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_mutexP\fP\fR, \fI\fBSDL_mutexV\fP\fR, \fI\fBSDL_DestroyMutex\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurface.3 new file mode 100644 index 0000000..142b7b7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurface.3 @@ -0,0 +1,69 @@ +.TH "SDL_CreateRGBSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateRGBSurface \- Create an empty SDL_Surface +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_CreateRGBSurface\fP\fR(\fBUint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask\fR); +.SH "DESCRIPTION" +.PP +Allocate an empty surface (must be called after \fISDL_SetVideoMode\fR) +.PP +If \fBdepth\fR is 8 bits an empty palette is allocated for the surface, otherwise a \&'packed-pixel\&' \fI\fBSDL_PixelFormat\fR\fR is created using the \fB[RGBA]mask\fR\&'s provided (see \fI\fBSDL_PixelFormat\fR\fR)\&. The \fBflags\fR specifies the type of surface that should be created, it is an OR\&'d combination of the following possible values\&. +.TP 20 +\fBSDL_SWSURFACE\fP +SDL will create the surface in system memory\&. This improves the performance of pixel level access, however you may not be able to take advantage of some types of hardware blitting\&. +.TP 20 +\fBSDL_HWSURFACE\fP +SDL will attempt to create the surface in video memory\&. This will allow SDL to take advantage of Video->Video blits (which are often accelerated)\&. +.TP 20 +\fBSDL_SRCCOLORKEY\fP +This flag turns on colourkeying for blits from this surface\&. If \fBSDL_HWSURFACE\fP is also specified and colourkeyed blits are hardware-accelerated, then SDL will attempt to place the surface in video memory\&. Use \fI\fBSDL_SetColorKey\fP\fR to set or clear this flag after surface creation\&. +.TP 20 +\fBSDL_SRCALPHA\fP +This flag turns on alpha-blending for blits from this surface\&. If \fBSDL_HWSURFACE\fP is also specified and alpha-blending blits are hardware-accelerated, then the surface will be placed in video memory if possible\&. Use \fI\fBSDL_SetAlpha\fP\fR to set or clear this flag after surface creation\&. +.PP +.RS +\fBNote: +.PP +If an alpha-channel is specified (that is, if \fBAmask\fR is nonzero), then the \fBSDL_SRCALPHA\fP flag is automatically set\&. You may remove this flag by calling \fI\fBSDL_SetAlpha\fP\fR after surface creation\&. +.RE +.SH "RETURN VALUE" +.PP +Returns the created surface, or \fBNULL\fR upon error\&. +.SH "EXAMPLE" +.PP +.nf +\f(CW /* Create a 32-bit surface with the bytes of each pixel in R,G,B,A order, + as expected by OpenGL for textures */ + SDL_Surface *surface; + Uint32 rmask, gmask, bmask, amask; + + /* SDL interprets each pixel as a 32-bit number, so our masks must depend + on the endianness (byte order) of the machine */ +#if SDL_BYTEORDER == SDL_BIG_ENDIAN + rmask = 0xff000000; + gmask = 0x00ff0000; + bmask = 0x0000ff00; + amask = 0x000000ff; +#else + rmask = 0x000000ff; + gmask = 0x0000ff00; + bmask = 0x00ff0000; + amask = 0xff000000; +#endif + + surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32, + rmask, gmask, bmask, amask); + if(surface == NULL) { + fprintf(stderr, "CreateRGBSurface failed: %s +", SDL_GetError()); + exit(1); + }\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateRGBSurfaceFrom\fP\fR, \fI\fBSDL_FreeSurface\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_Surface\fR\fR \fI\fBSDL_SetAlpha\fP\fR \fI\fBSDL_SetColorKey\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurfaceFrom.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurfaceFrom.3 new file mode 100644 index 0000000..5330c1b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateRGBSurfaceFrom.3 @@ -0,0 +1,22 @@ +.TH "SDL_CreateRGBSurfaceFrom" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateRGBSurfaceFrom \- Create an SDL_Surface from pixel data +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_CreateRGBSurfaceFrom\fP\fR(\fBvoid *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask\fR); +.SH "DESCRIPTION" +.PP +Creates an SDL_Surface from the provided pixel data\&. +.PP +The data stored in \fBpixels\fR is assumed to be of the \fBdepth\fR specified in the parameter list\&. The pixel data is not copied into the \fBSDL_Surface\fR structure so it should not be freed until the surface has been freed with a called to \fISDL_FreeSurface\fR\&. \fBpitch\fR is the length of each scanline in bytes\&. +.PP +See \fI\fBSDL_CreateRGBSurface\fP\fR for a more detailed description of the other parameters\&. +.SH "RETURN VALUE" +.PP +Returns the created surface, or \fBNULL\fR upon error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateRGBSurface\fP\fR, \fI\fBSDL_FreeSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateSemaphore.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateSemaphore.3 new file mode 100644 index 0000000..b803ead --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateSemaphore.3 @@ -0,0 +1,32 @@ +.TH "SDL_CreateSemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateSemaphore \- Creates a new semaphore and assigns an initial value to it\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBSDL_sem *\fBSDL_CreateSemaphore\fP\fR(\fBUint32 initial_value\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_CreateSemaphore()\fP creates a new semaphore and initializes it with the value \fBinitial_value\fR\&. Each locking operation on the semaphore by \fISDL_SemWait\fR, \fISDL_SemTryWait\fR or \fISDL_SemWaitTimeout\fR will atomically decrement the semaphore value\&. The locking operation will be blocked if the semaphore value is not positive (greater than zero)\&. Each unlock operation by \fISDL_SemPost\fR will atomically increment the semaphore value\&. +.SH "RETURN VALUE" +.PP +Returns a pointer to an initialized semaphore or \fBNULL\fR if there was an error\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_sem *my_sem; + +my_sem = SDL_CreateSemaphore(INITIAL_SEM_VALUE); + +if (my_sem == NULL) { + return CREATE_SEM_FAILED; +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateThread.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateThread.3 new file mode 100644 index 0000000..ab9e79f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateThread.3 @@ -0,0 +1,16 @@ +.TH "SDL_CreateThread" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateThread \- Creates a new thread of execution that shares its parent\&'s properties\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBSDL_Thread *\fBSDL_CreateThread\fP\fR(\fBint (*fn)(void *), void *data\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_CreateThread\fP creates a new thread of execution that shares all of its parent\&'s global memory, signal handlers, file descriptors, etc, and runs the function \fBfn\fR passed the void pointer \fBdata\fR The thread quits when this function returns\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_KillThread\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_CreateYUVOverlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_CreateYUVOverlay.3 new file mode 100644 index 0000000..fda6bc8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_CreateYUVOverlay.3 @@ -0,0 +1,17 @@ +.TH "SDL_CreateYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_CreateYUVOverlay \- Create a YUV video overlay +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Overlay *\fBSDL_CreateYUVOverlay\fP\fR(\fBint width, int height, Uint32 format, SDL_Surface *display\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_CreateYUVOverlay\fP creates a YUV overlay of the specified \fBwidth\fR, \fBheight\fR and \fBformat\fR (see \fI\fBSDL_Overlay\fR\fR for a list of available formats), for the provided \fBdisplay\fR\&. A \fI\fBSDL_Overlay\fR\fR structure is returned\&. +.PP +The term \&'overlay\&' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_DisplayYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Delay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Delay.3 new file mode 100644 index 0000000..bfa80b1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Delay.3 @@ -0,0 +1,21 @@ +.TH "SDL_Delay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Delay \- Wait a specified number of milliseconds before returning\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_Delay\fP\fR(\fBUint32 ms\fR); +.SH "DESCRIPTION" +.PP +Wait a specified number of milliseconds before returning\&. \fBSDL_Delay\fP will wait at \fIleast\fP the specified time, but possible longer due to OS scheduling\&. +.PP +.RS +\fBNote: +.PP +Count on a delay granularity of \fIat least\fP 10 ms\&. Some platforms have shorter clock ticks but this is the most common\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_AddTimer\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DestroyCond.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DestroyCond.3 new file mode 100644 index 0000000..308b9d0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DestroyCond.3 @@ -0,0 +1,16 @@ +.TH "SDL_DestroyCond" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DestroyCond \- Destroy a condition variable +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBvoid \fBSDL_DestroyCond\fP\fR(\fBSDL_cond *cond\fR); +.SH "DESCRIPTION" +.PP +Destroys a condition variable\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateCond\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DestroyMutex.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DestroyMutex.3 new file mode 100644 index 0000000..1582e49 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DestroyMutex.3 @@ -0,0 +1,16 @@ +.TH "SDL_DestroyMutex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DestroyMutex \- Destroy a mutex +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBvoid \fBSDL_DestroyMutex\fP\fR(\fBSDL_mutex *mutex\fR); +.SH "DESCRIPTION" +.PP +Destroy a previously \fIcreated\fR mutex\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateMutex\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DestroySemaphore.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DestroySemaphore.3 new file mode 100644 index 0000000..892334f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DestroySemaphore.3 @@ -0,0 +1,26 @@ +.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DestroySemaphore \- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBvoid \fBSDL_DestroySemaphore\fP\fR(\fBSDL_sem *sem\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_DestroySemaphore\fP destroys the semaphore pointed to by \fBsem\fR that was created by \fI\fBSDL_CreateSemaphore\fP\fR\&. It is not safe to destroy a semaphore if there are threads currently blocked waiting on it\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWif (my_sem != NULL) { + SDL_DestroySemaphore(my_sem); + my_sem = NULL; +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormat.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormat.3 new file mode 100644 index 0000000..ca16e2a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormat.3 @@ -0,0 +1,22 @@ +.TH "SDL_DisplayFormat" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DisplayFormat \- Convert a surface to the display format +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_DisplayFormat\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer, suitable for fast blitting onto the display surface\&. It calls \fISDL_ConvertSurface\fR +.PP +If you want to take advantage of hardware colorkey or alpha blit acceleration, you should set the colorkey and alpha value before calling this function\&. +.PP +If you want an alpha channel, see \fISDL_DisplayFormatAlpha\fR\&. +.SH "RETURN VALUE" +.PP +If the conversion fails or runs out of memory, it returns \fBNULL\fR +.SH "SEE ALSO" +.PP +\fI\fBSDL_ConvertSurface\fP\fR, \fI\fBSDL_DisplayFormatAlpha\fP\fR \fI\fBSDL_SetAlpha\fP\fR, \fI\fBSDL_SetColorKey\fP\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormatAlpha.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormatAlpha.3 new file mode 100644 index 0000000..a87ddd5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayFormatAlpha.3 @@ -0,0 +1,22 @@ +.TH "SDL_DisplayFormatAlpha" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DisplayFormatAlpha \- Convert a surface to the display format +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_DisplayFormatAlpha\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer plus an alpha channel, suitable for fast blitting onto the display surface\&. It calls \fISDL_ConvertSurface\fR +.PP +If you want to take advantage of hardware colorkey or alpha blit acceleration, you should set the colorkey and alpha value before calling this function\&. +.PP +This function can be used to convert a colourkey to an alpha channel, if the \fBSDL_SRCCOLORKEY\fP flag is set on the surface\&. The generated surface will then be transparent (alpha=0) where the pixels match the colourkey, and opaque (alpha=255) elsewhere\&. +.SH "RETURN VALUE" +.PP +If the conversion fails or runs out of memory, it returns \fBNULL\fR +.SH "SEE ALSO" +.PP +\fISDL_ConvertSurface\fR, \fISDL_SetAlpha\fR, \fISDL_SetColorKey\fR, \fISDL_DisplayFormat\fR, \fISDL_Surface\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_DisplayYUVOverlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayYUVOverlay.3 new file mode 100644 index 0000000..d89d94c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_DisplayYUVOverlay.3 @@ -0,0 +1,18 @@ +.TH "SDL_DisplayYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_DisplayYUVOverlay \- Blit the overlay to the display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_DisplayYUVOverlay\fP\fR(\fBSDL_Overlay *overlay, SDL_Rect *dstrect\fR); +.SH "DESCRIPTION" +.PP +Blit the \fBoverlay\fR to the surface specified when it was \fIcreated\fR\&. The \fI\fBSDL_Rect\fR\fR structure, \fBdstrect\fR, specifies the position and size of the destination\&. If the \fBdstrect\fR is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling\&. +.SH "RETURN VALUES" +.PP +Returns 0 on success +.SH "SEE ALSO" +.PP +\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_EnableKeyRepeat.3 b/distrib/sdl-1.2.15/docs/man3/SDL_EnableKeyRepeat.3 new file mode 100644 index 0000000..ea4b231 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_EnableKeyRepeat.3 @@ -0,0 +1,17 @@ +.TH "SDL_EnableKeyRepeat" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_EnableKeyRepeat \- Set keyboard repeat rate\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_EnableKeyRepeat\fP\fR(\fBint delay, int interval\fR); +.SH "DESCRIPTION" +.PP +Enables or disables the keyboard repeat rate\&. \fBdelay\fR specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by \fBinterval\fR\&. Both \fBdelay\fR and \fBinterval\fR are expressed in milliseconds\&. +.PP +Setting \fBdelay\fR to 0 disables key repeating completely\&. Good default values are \fBSDL_DEFAULT_REPEAT_DELAY\fP and \fISDL_DEFAULT_REPEAT_INTERVAL\fP\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success and \fB-1\fR on failure\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_EnableUNICODE.3 b/distrib/sdl-1.2.15/docs/man3/SDL_EnableUNICODE.3 new file mode 100644 index 0000000..d9d2027 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_EnableUNICODE.3 @@ -0,0 +1,24 @@ +.TH "SDL_EnableUNICODE" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_EnableUNICODE \- Enable UNICODE translation +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_EnableUNICODE\fP\fR(\fBint enable\fR); +.SH "DESCRIPTION" +.PP +Enables/Disables Unicode keyboard translation\&. +.PP +To obtain the character codes corresponding to received keyboard events, Unicode translation must first be turned on using this function\&. The translation incurs a slight overhead for each keyboard event and is therefore disabled by default\&. For each subsequently received key down event, the \fBunicode\fR member of the \fI\fBSDL_keysym\fR\fR structure will then contain the corresponding character code, or zero for keysyms that do not correspond to any character code\&. +.PP +A value of 1 for \fBenable\fR enables Unicode translation; 0 disables it, and -1 leaves it unchanged (useful for querying the current translation mode)\&. +.PP +Note that only key press events will be translated, not release events\&. +.SH "RETURN VALUE" +.PP +Returns the previous translation mode (\fB0\fR or \fB1\fR)\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_keysym\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Event.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Event.3 new file mode 100644 index 0000000..b508f19 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Event.3 @@ -0,0 +1,182 @@ +.TH "SDL_Event" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Event \- General event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef union{ + Uint8 type; + SDL_ActiveEvent active; + SDL_KeyboardEvent key; + SDL_MouseMotionEvent motion; + SDL_MouseButtonEvent button; + SDL_JoyAxisEvent jaxis; + SDL_JoyBallEvent jball; + SDL_JoyHatEvent jhat; + SDL_JoyButtonEvent jbutton; + SDL_ResizeEvent resize; + SDL_ExposeEvent expose; + SDL_QuitEvent quit; + SDL_UserEvent user; + SDL_SysWMEvent syswm; +} SDL_Event;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +The type of event +.TP 20 +\fBactive\fR +\fIActivation event\fR +.TP 20 +\fBkey\fR +\fIKeyboard event\fR +.TP 20 +\fBmotion\fR +\fIMouse motion event\fR +.TP 20 +\fBbutton\fR +\fIMouse button event\fR +.TP 20 +\fBjaxis\fR +\fIJoystick axis motion event\fR +.TP 20 +\fBjball\fR +\fIJoystick trackball motion event\fR +.TP 20 +\fBjhat\fR +\fIJoystick hat motion event\fR +.TP 20 +\fBjbutton\fR +\fIJoystick button event\fR +.TP 20 +\fBresize\fR +\fIApplication window resize event\fR +.TP 20 +\fBexpose\fR +\fIApplication window expose event\fR +.TP 20 +\fBquit\fR +\fIApplication quit request event\fR +.TP 20 +\fBuser\fR +\fIUser defined event\fR +.TP 20 +\fBsyswm\fR +\fIUndefined window manager event\fR +.SH "DESCRIPTION" +.PP +The \fBSDL_Event\fR union is the core to all event handling is SDL, its probably the most important structure after \fBSDL_Surface\fR\&. \fBSDL_Event\fR is a union of all event structures used in SDL, using it is a simple matter of knowing which union member relates to which event \fBtype\fR\&. +.PP +.TP 20 +\fBEvent \fBtype\fR\fR +\fBEvent Structure\fR +.TP 20 +\fBSDL_ACTIVEEVENT\fP +\fI\fBSDL_ActiveEvent\fR\fR +.TP 20 +\fBSDL_KEYDOWN/UP\fP +\fI\fBSDL_KeyboardEvent\fR\fR +.TP 20 +\fBSDL_MOUSEMOTION\fP +\fI\fBSDL_MouseMotionEvent\fR\fR +.TP 20 +\fBSDL_MOUSEBUTTONDOWN/UP\fP +\fI\fBSDL_MouseButtonEvent\fR\fR +.TP 20 +\fBSDL_JOYAXISMOTION\fP +\fI\fBSDL_JoyAxisEvent\fR\fR +.TP 20 +\fBSDL_JOYBALLMOTION\fP +\fI\fBSDL_JoyBallEvent\fR\fR +.TP 20 +\fBSDL_JOYHATMOTION\fP +\fI\fBSDL_JoyHatEvent\fR\fR +.TP 20 +\fBSDL_JOYBUTTONDOWN/UP\fP +\fI\fBSDL_JoyButtonEvent\fR\fR +.TP 20 +\fBSDL_QUIT\fP +\fI\fBSDL_QuitEvent\fR\fR +.TP 20 +\fBSDL_SYSWMEVENT\fP +\fI\fBSDL_SysWMEvent\fR\fR +.TP 20 +\fBSDL_VIDEORESIZE\fP +\fI\fBSDL_ResizeEvent\fR\fR +.TP 20 +\fBSDL_VIDEOEXPOSE\fP +\fI\fBSDL_ExposeEvent\fR\fR +.TP 20 +\fBSDL_USEREVENT\fP +\fI\fBSDL_UserEvent\fR\fR +.SH "USE" +.PP +The \fBSDL_Event\fR structure has two uses +.IP " \(bu" 6 +Reading events on the event queue +.IP " \(bu" 6 +Placing events on the event queue +.PP +Reading events from the event queue is done with either \fI\fBSDL_PollEvent\fP\fR or \fI\fBSDL_PeepEvents\fP\fR\&. We\&'ll use \fBSDL_PollEvent\fP and step through an example\&. +.PP +First off, we create an empty \fBSDL_Event\fR structure\&. +.PP +.nf +\f(CWSDL_Event test_event;\fR +.fi +.PP + \fBSDL_PollEvent\fP removes the next event from the event queue, if there are no events on the queue it returns \fB0\fR otherwise it returns \fB1\fR\&. We use a \fBwhile\fP loop to process each event in turn\&. +.PP +.nf +\f(CWwhile(SDL_PollEvent(&test_event)) {\fR +.fi +.PP + The \fBSDL_PollEvent\fP function take a pointer to an \fBSDL_Event\fR structure that is to be filled with event information\&. We know that if \fBSDL_PollEvent\fP removes an event from the queue then the event information will be placed in our \fBtest_event\fR structure, but we also know that the \fItype\fP of event will be placed in the \fBtype\fR member of \fBtest_event\fR\&. So to handle each event \fBtype\fR seperately we use a \fBswitch\fP statement\&. +.PP +.nf +\f(CW switch(test_event\&.type) {\fR +.fi +.PP + We need to know what kind of events we\&'re looking for \fIand\fP the event \fBtype\fR\&'s of those events\&. So lets assume we want to detect where the user is moving the mouse pointer within our application\&. We look through our event types and notice that \fBSDL_MOUSEMOTION\fP is, more than likely, the event we\&'re looking for\&. A little \fImore\fR research tells use that \fBSDL_MOUSEMOTION\fP events are handled within the \fI\fBSDL_MouseMotionEvent\fR\fR structure which is the \fBmotion\fR member of \fBSDL_Event\fR\&. We can check for the \fBSDL_MOUSEMOTION\fP event \fBtype\fR within our \fBswitch\fP statement like so: +.PP +.nf +\f(CW case SDL_MOUSEMOTION:\fR +.fi +.PP + All we need do now is read the information out of the \fBmotion\fR member of \fBtest_event\fR\&. +.PP +.nf +\f(CW printf("We got a motion event\&. +"); + printf("Current mouse position is: (%d, %d) +", test_event\&.motion\&.x, test_event\&.motion\&.y); + break; + default: + printf("Unhandled Event! +"); + break; + } +} +printf("Event queue empty\&. +");\fR +.fi +.PP +.PP +It is also possible to push events onto the event queue and so use it as a two-way communication path\&. Both \fI\fBSDL_PushEvent\fP\fR and \fI\fBSDL_PeepEvents\fP\fR allow you to place events onto the event queue\&. This is usually used to place a \fBSDL_USEREVENT\fP on the event queue, however you could use it to post fake input events if you wished\&. Creating your own events is a simple matter of choosing the event type you want, setting the \fBtype\fR member and filling the appropriate member structure with information\&. +.PP +.nf +\f(CWSDL_Event user_event; + +user_event\&.type=SDL_USEREVENT; +user_event\&.user\&.code=2; +user_event\&.user\&.data1=NULL; +user_event\&.user\&.data2=NULL; +SDL_PushEvent(&user_event);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PushEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_EventState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_EventState.3 new file mode 100644 index 0000000..5ee6ab5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_EventState.3 @@ -0,0 +1,23 @@ +.TH "SDL_EventState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_EventState \- This function allows you to set the state of processing certain events\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_EventState\fP\fR(\fBUint8 type, int state\fR); +.SH "DESCRIPTION" +.PP +This function allows you to set the state of processing certain event \fBtype\fR\&'s\&. +.PP +If \fBstate\fR is set to \fBSDL_IGNORE\fP, that event \fBtype\fR will be automatically dropped from the event queue and will not be filtered\&. +.PP +If \fBstate\fR is set to \fBSDL_ENABLE\fP, that event \fBtype\fR will be processed normally\&. +.PP +If \fBstate\fR is set to \fBSDL_QUERY\fP, \fBSDL_EventState\fP will return the current processing state of the specified event \fBtype\fR\&. +.PP +A list of event \fBtype\fR\&'s can be found in the \fI\fBSDL_Event\fR\fR section\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ExposeEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ExposeEvent.3 new file mode 100644 index 0000000..e1aa5c3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ExposeEvent.3 @@ -0,0 +1,24 @@ +.TH "SDL_ExposeEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ExposeEvent \- Quit requested event +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type +} SDL_ExposeEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_VIDEOEXPOSE\fP +.SH "DESCRIPTION" +.PP +\fBSDL_ExposeEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used whan an event of type \fBSDL_VIDEOEXPOSE\fP is reported\&. +.PP +A VIDEOEXPOSE event is triggered when the screen has been modified outside of the application, usually by the window manager and needs to be redrawn\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_FillRect.3 b/distrib/sdl-1.2.15/docs/man3/SDL_FillRect.3 new file mode 100644 index 0000000..c2b83ab --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_FillRect.3 @@ -0,0 +1,22 @@ +.TH "SDL_FillRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FillRect \- This function performs a fast fill of the given rectangle with some color +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_FillRect\fP\fR(\fBSDL_Surface *dst, SDL_Rect *dstrect, Uint32 color\fR); +.SH "DESCRIPTION" +.PP +This function performs a fast fill of the given rectangle with \fBcolor\fR\&. If \fBdstrect\fR is \fBNULL\fP, the whole surface will be filled with \fBcolor\fR\&. +.PP +The color should be a pixel of the format used by the surface, and can be generated by the \fISDL_MapRGB\fR or \fISDL_MapRGBA\fR functions\&. If the color value contains an alpha value then the destination is simply "filled" with that alpha information, no blending takes place\&. +.PP +If there is a clip rectangle set on the destination (set via \fISDL_SetClipRect\fR) then this function will clip based on the intersection of the clip rectangle and the \fBdstrect\fR rectangle and the dstrect rectangle will be modified to represent the area actually filled\&. +.SH "RETURN VALUE" +.PP +This function returns \fB0\fR on success, or \fB-1\fR on error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Rect\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Flip.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Flip.3 new file mode 100644 index 0000000..b3b2d65 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Flip.3 @@ -0,0 +1,20 @@ +.TH "SDL_Flip" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Flip \- Swaps screen buffers +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_Flip\fP\fR(\fBSDL_Surface *screen\fR); +.SH "DESCRIPTION" +.PP +On hardware that supports double-buffering, this function sets up a flip and returns\&. The hardware will wait for vertical retrace, and then swap video buffers before the next video surface blit or lock will return\&. On hardware that doesn\&'t support double-buffering, this is equivalent to calling \fISDL_UpdateRect\fR\fB(screen, 0, 0, 0, 0)\fR +.PP +The \fBSDL_DOUBLEBUF\fP flag must have been passed to \fISDL_SetVideoMode\fR, when setting the video mode for this function to perform hardware flipping\&. +.SH "RETURN VALUE" +.PP +This function returns \fB0\fR if successful, or \fB-1\fR if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_UpdateRect\fP\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_FreeCursor.3 b/distrib/sdl-1.2.15/docs/man3/SDL_FreeCursor.3 new file mode 100644 index 0000000..22277ea --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_FreeCursor.3 @@ -0,0 +1,15 @@ +.TH "SDL_FreeCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FreeCursor \- Frees a cursor created with SDL_CreateCursor\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_FreeCursor\fP\fR(\fBSDL_Cursor *cursor\fR); +.SH "DESCRIPTION" +.PP +Frees a \fBSDL_Cursor\fR that was created using \fISDL_CreateCursor\fR\&. +.SH "SEE ALSO" +.PP +\fISDL_CreateCursor\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_FreeSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_FreeSurface.3 new file mode 100644 index 0000000..d849139 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_FreeSurface.3 @@ -0,0 +1,15 @@ +.TH "SDL_FreeSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FreeSurface \- Frees (deletes) a SDL_Surface +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_FreeSurface\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +Frees the resources used by a previously created \fBSDL_Surface\fR\&. If the surface was created using \fISDL_CreateRGBSurfaceFrom\fR then the pixel data is not freed\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateRGBSurface\fP\fR \fI\fBSDL_CreateRGBSurfaceFrom\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_FreeWAV.3 b/distrib/sdl-1.2.15/docs/man3/SDL_FreeWAV.3 new file mode 100644 index 0000000..a7cd148 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_FreeWAV.3 @@ -0,0 +1,15 @@ +.TH "SDL_FreeWAV" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FreeWAV \- Frees previously opened WAV data +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_FreeWAV\fP\fR(\fBUint8 *audio_buf\fR); +.SH "DESCRIPTION" +.PP +After a WAVE file has been opened with \fI\fBSDL_LoadWAV\fP\fR its data can eventually be freed with \fBSDL_FreeWAV\fP\&. \fBaudio_buf\fR is a pointer to the buffer created by \fBSDL_LoadWAV\fP\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_LoadWAV\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_FreeYUVOverlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_FreeYUVOverlay.3 new file mode 100644 index 0000000..3971a93 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_FreeYUVOverlay.3 @@ -0,0 +1,15 @@ +.TH "SDL_FreeYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FreeYUVOverlay \- Free a YUV video overlay +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_FreeYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR); +.SH "DESCRIPTION" +.PP +Frees and \fI\fBoverlay\fR\fR created by \fI\fBSDL_CreateYUVOverlay\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_DisplayYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetAttribute.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetAttribute.3 new file mode 100644 index 0000000..9135da2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetAttribute.3 @@ -0,0 +1,18 @@ +.TH "SDL_GL_GetAttribute" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GL_GetAttribute \- Get the value of a special SDL/OpenGL attribute +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_GL_GetAttribute\fP\fR(\fBSDLGLattr attr, int *value\fR); +.SH "DESCRIPTION" +.PP +Places the value of the SDL/OpenGL \fIattribute\fR \fBattr\fR into \fBvalue\fR\&. This is useful after a call to \fI\fBSDL_SetVideoMode\fP\fR to check whether your attributes have been \fIset\fR as you expected\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GL_SetAttribute\fP\fR, \fIGL Attributes\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetProcAddress.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetProcAddress.3 new file mode 100644 index 0000000..4fcc7a4 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GL_GetProcAddress.3 @@ -0,0 +1,48 @@ +.TH "SDL_GL_GetProcAddress" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GL_GetProcAddress \- Get the address of a GL function +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid *\fBSDL_GL_GetProcAddress\fP\fR(\fBconst char* proc\fR); +.SH "DESCRIPTION" +.PP +Returns the address of the GL function \fBproc\fR, or \fBNULL\fR if the function is not found\&. If the GL library is loaded at runtime, with \fI\fBSDL_GL_LoadLibrary\fP\fR, then \fIall\fP GL functions must be retrieved this way\&. Usually this is used to retrieve function pointers to OpenGL extensions\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWtypedef void (*GL_ActiveTextureARB_Func)(unsigned int); +GL_ActiveTextureARB_Func glActiveTextureARB_ptr = 0; +int has_multitexture=1; +\&. +\&. +\&. +/* Get function pointer */ +glActiveTextureARB_ptr=(GL_ActiveTextureARB_Func) SDL_GL_GetProcAddress("glActiveTextureARB"); + +/* Check for a valid function ptr */ +if(!glActiveTextureARB_ptr){ + fprintf(stderr, "Multitexture Extensions not present\&. +"); + has_multitexture=0; +} +\&. +\&. +\&. +\&. +if(has_multitexture){ + glActiveTextureARB_ptr(GL_TEXTURE0_ARB); + \&. + \&. +} +else{ + \&. + \&. +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_GL_LoadLibrary\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GL_LoadLibrary.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GL_LoadLibrary.3 new file mode 100644 index 0000000..e6544c9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GL_LoadLibrary.3 @@ -0,0 +1,15 @@ +.TH "SDL_GL_LoadLibrary" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GL_LoadLibrary \- Specify an OpenGL library +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_GL_LoadLibrary\fP\fR(\fBconst char *path\fR); +.SH "DESCRIPTION" +.PP +If you wish, you may load the OpenGL library at runtime, this must be done before \fI\fBSDL_SetVideoMode\fP\fR is called\&. The \fBpath\fR of the GL library is passed to \fBSDL_GL_LoadLibrary\fP and it returns \fB0\fR on success, or \fB-1\fR on an error\&. You must then use \fI\fBSDL_GL_GetProcAddress\fP\fR to retrieve function pointers to GL functions\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GL_GetProcAddress\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GL_SetAttribute.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GL_SetAttribute.3 new file mode 100644 index 0000000..deb38e7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GL_SetAttribute.3 @@ -0,0 +1,40 @@ +.TH "SDL_GL_SetAttribute" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GL_SetAttribute \- Set a special SDL/OpenGL attribute +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_GL_SetAttribute\fP\fR(\fBSDL_GLattr attr, int value\fR); +.SH "DESCRIPTION" +.PP +Sets the OpenGL \fIattribute\fR \fBattr\fR to \fBvalue\fR\&. The attributes you set don\&'t take effect until after a call to \fI\fBSDL_SetVideoMode\fP\fR\&. You should use \fI\fBSDL_GL_GetAttribute\fP\fR to check the values after a \fBSDL_SetVideoMode\fP call\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on error\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 ); +SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 ); +SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 ); +SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); +SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); +if ( (screen=SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL )) == NULL ) { + fprintf(stderr, "Couldn\&'t set GL mode: %s +", SDL_GetError()); + SDL_Quit(); + return; +}\fR +.fi +.PP +.PP +.RS +\fBNote: +.PP +The \fBSDL_DOUBLEBUF\fP flag is not required to enable double buffering when setting an OpenGL video mode\&. Double buffering is enabled or disabled using the SDL_GL_DOUBLEBUFFER attribute\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_GL_GetAttribute\fP\fR, \fIGL Attributes\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GL_SwapBuffers.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GL_SwapBuffers.3 new file mode 100644 index 0000000..31d31cf --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GL_SwapBuffers.3 @@ -0,0 +1,15 @@ +.TH "SDL_GL_SwapBuffers" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GL_SwapBuffers \- Swap OpenGL framebuffers/Update Display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_GL_SwapBuffers\fP\fR(\fBvoid \fR); +.SH "DESCRIPTION" +.PP +Swap the OpenGL buffers, if double-buffering is supported\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GL_SetAttribute\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GLattr.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GLattr.3 new file mode 100644 index 0000000..23d3726 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GLattr.3 @@ -0,0 +1,47 @@ +.TH "SDL_GLattr" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GLattr \- SDL GL Attributes +.SH "ATTRIBUTES" +.TP 20 +\fBSDL_GL_RED_SIZE\fP +Size of the framebuffer red component, in bits +.TP 20 +\fBSDL_GL_GREEN_SIZE\fP +Size of the framebuffer green component, in bits +.TP 20 +\fBSDL_GL_BLUE_SIZE\fP +Size of the framebuffer blue component, in bits +.TP 20 +\fBSDL_GL_ALPHA_SIZE\fP +Size of the framebuffer alpha component, in bits +.TP 20 +\fBSDL_GL_DOUBLEBUFFER\fP +0 or 1, enable or disable double buffering +.TP 20 +\fBSDL_GL_BUFFER_SIZE\fP +Size of the framebuffer, in bits +.TP 20 +\fBSDL_GL_DEPTH_SIZE\fP +Size of the depth buffer, in bits +.TP 20 +\fBSDL_GL_STENCIL_SIZE\fP +Size of the stencil buffer, in bits +.TP 20 +\fBSDL_GL_ACCUM_RED_SIZE\fP +Size of the accumulation buffer red component, in bits +.TP 20 +\fBSDL_GL_ACCUM_GREEN_SIZE\fP +Size of the accumulation buffer green component, in bits +.TP 20 +\fBSDL_GL_ACCUM_BLUE_SIZE\fP +Size of the accumulation buffer blue component, in bits +.TP 20 +\fBSDL_GL_ACCUM_ALPHA_SIZE\fP +Size of the accumulation buffer alpha component, in bits +.SH "DESCRIPTION" +.PP +While you can set most OpenGL attributes normally, the attributes list above must be known \fIbefore\fP SDL sets the video mode\&. These attributes a set and read with \fI\fBSDL_GL_SetAttribute\fP\fR and \fI\fBSDL_GL_GetAttribute\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GL_SetAttribute\fP\fR, \fI\fBSDL_GL_GetAttribute\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetAppState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetAppState.3 new file mode 100644 index 0000000..9d644a1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetAppState.3 @@ -0,0 +1,24 @@ +.TH "SDL_GetAppState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +\fBSDL_GetAppState\fP \- Get the state of the application +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_GetAppState\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +This function returns the current state of the application\&. The value returned is a bitwise combination of: +.TP 20 +\fBSDL_APPMOUSEFOCUS\fP +The application has mouse focus\&. +.TP 20 +\fBSDL_APPINPUTFOCUS\fP +The application has keyboard focus +.TP 20 +\fBSDL_APPACTIVE\fP +The application is visible +.SH "SEE ALSO" +.PP +\fI\fBSDL_ActiveEvent\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetAudioStatus.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetAudioStatus.3 new file mode 100644 index 0000000..9895c95 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetAudioStatus.3 @@ -0,0 +1,24 @@ +.TH "SDL_GetAudioStatus" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetAudioStatus \- Get the current audio state +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_audiostatus\fBSDL_GetAudioStatus\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +.nf +\f(CWtypedef enum{ + SDL_AUDIO_STOPPED, + SDL_AUDIO_PAUSED, + SDL_AUDIO_PLAYING +} SDL_audiostatus;\fR +.fi +.PP +.PP +Returns either \fBSDL_AUDIO_STOPPED\fP, \fBSDL_AUDIO_PAUSED\fP or \fBSDL_AUDIO_PLAYING\fP depending on the current audio state\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_PauseAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetClipRect.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetClipRect.3 new file mode 100644 index 0000000..b911ff6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetClipRect.3 @@ -0,0 +1,17 @@ +.TH "SDL_GetClipRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetClipRect \- Gets the clipping rectangle for a surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_GetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR); +.SH "DESCRIPTION" +.PP +Gets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle is drawn into\&. +.PP +The rectangle pointed to by \fBrect\fR will be filled with the clipping rectangle of the surface\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetClipRect\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetCursor.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetCursor.3 new file mode 100644 index 0000000..ce5ba72 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetCursor.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetCursor \- Get the currently active mouse cursor\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Cursor *\fBSDL_GetCursor\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Returns the currently active mouse cursor\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetCursor\fP\fR, \fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetError.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetError.3 new file mode 100644 index 0000000..ecdb98c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetError.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetError" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetError \- Get SDL error string +.SH "SYNOPSIS" +.PP +\fB#include "SDL/SDL\&.h" +.sp +\fBchar *\fBSDL_GetError\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_GetError\fP returns a NULL terminated string containing information about the last internal SDL error\&. +.SH "RETURN VALUE" +.PP +\fBSDL_GetError\fP returns a string containing the last error\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetEventFilter.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetEventFilter.3 new file mode 100644 index 0000000..41bf337 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetEventFilter.3 @@ -0,0 +1,23 @@ +.TH "SDL_GetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetEventFilter \- Retrieves a pointer to he event filter +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_EventFilter \fBSDL_GetEventFilter\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +This function retrieces a pointer to the event filter that was previously set using \fI\fBSDL_SetEventFilter\fP\fR\&. An SDL_EventFilter function is defined as: +.PP +.nf +\f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR +.fi +.PP +.SH "RETURN VALUE" +.PP +Returns a pointer to the event filter or \fBNULL\fP if no filter has been set\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetGamma.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetGamma.3 new file mode 100644 index 0000000..f3493aa --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetGamma.3 @@ -0,0 +1,21 @@ +.TH "SDL_GetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetGamma \- Gets the gamma of the display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_GetGamma\fP\fR(\fBfloat *red, float *green, float *blue\fR); +.SH "DESCRIPTION" +.PP +Gets the color gamma of the display\&. The gamma value for each color component will be place in the parameters \fBred\fR, \fBgreen\fR and \fBblue\fR\&. The values can range from 0\&.1 to 10\&. +.PP +.RS +\fBNote: +.PP +This function currently only works on XFreee 4\&.0 and up\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetGamma\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetGammaRamp.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetGammaRamp.3 new file mode 100644 index 0000000..c1116d5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetGammaRamp.3 @@ -0,0 +1,20 @@ +.TH "SDL_GetGammaRamp" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetGammaRamp \- Gets the color gamma lookup tables for the display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_GetGammaRamp\fP\fR(\fBUint16 *redtable, Uint16 *greentable, Uint16 *bluetable\fR); +.SH "DESCRIPTION" +.PP +Gets the gamma translation lookup tables currently used by the display\&. Each table is an array of 256 Uint16 values\&. +.PP +Not all display hardware is able to change gamma\&. +.SH "RETURN VALUE" +.PP +Returns -1 on error\&. +.SH "SEE ALSO" +.PP +\fISDL_SetGamma\fR \fISDL_SetGammaRamp\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyName.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyName.3 new file mode 100644 index 0000000..fc76ca8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyName.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetKeyName" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetKeyName \- Get the name of an SDL virtual keysym +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBchar *\fBSDL_GetKeyName\fP\fR(\fBSDLKey key\fR); +.SH "DESCRIPTION" +.PP +Returns the SDL-defined name of the \fI\fBSDLKey\fR\fR \fBkey\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDLKey\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyState.3 new file mode 100644 index 0000000..f679c81 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetKeyState.3 @@ -0,0 +1,30 @@ +.TH "SDL_GetKeyState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetKeyState \- Get a snapshot of the current keyboard state +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 *\fBSDL_GetKeyState\fP\fR(\fBint *numkeys\fR); +.SH "DESCRIPTION" +.PP +Gets a snapshot of the current keyboard state\&. The current state is return as a pointer to an array, the size of this array is stored in \fBnumkeys\fR\&. The array is indexed by the \fI\fBSDLK_*\fP\fR symbols\&. A value of 1 means the key is pressed and a value of 0 means its not\&. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller\&. +.PP +.RS +\fBNote: +.PP +Use \fI\fBSDL_PumpEvents\fP\fR to update the state array\&. +.RE +.SH "EXAMPLE" +.PP +.PP +.nf +\f(CWUint8 *keystate = SDL_GetKeyState(NULL); +if ( keystate[SDLK_RETURN] ) printf("Return Key Pressed\&. +");\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL Key Symbols\fP\fR, \fI\fBSDL_PumpEvents\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetModState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetModState.3 new file mode 100644 index 0000000..5cff3d5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetModState.3 @@ -0,0 +1,54 @@ +.TH "SDL_GetModState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetModState \- Get the state of modifier keys\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDLMod \fBSDL_GetModState\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Returns the current state of the modifier keys (CTRL, ALT, etc\&.)\&. +.SH "RETURN VALUE" +.PP +The return value can be an OR\&'d combination of the SDLMod enum\&. +.PP +.PP +.RS +\fBSDLMod\fR +.PP +.PP +.nf +\f(CWtypedef enum { + KMOD_NONE = 0x0000, + KMOD_LSHIFT= 0x0001, + KMOD_RSHIFT= 0x0002, + KMOD_LCTRL = 0x0040, + KMOD_RCTRL = 0x0080, + KMOD_LALT = 0x0100, + KMOD_RALT = 0x0200, + KMOD_LMETA = 0x0400, + KMOD_RMETA = 0x0800, + KMOD_NUM = 0x1000, + KMOD_CAPS = 0x2000, + KMOD_MODE = 0x4000, +} SDLMod;\fR +.fi +.PP +.RE + SDL also defines the following symbols for convenience: +.PP +.RS +.PP +.nf +\f(CW#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL) +#define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT) +#define KMOD_ALT (KMOD_LALT|KMOD_RALT) +#define KMOD_META (KMOD_LMETA|KMOD_RMETA)\fR +.fi +.PP +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetKeyState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetMouseState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetMouseState.3 new file mode 100644 index 0000000..e92aa43 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetMouseState.3 @@ -0,0 +1,24 @@ +.TH "SDL_GetMouseState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetMouseState \- Retrieve the current state of the mouse +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_GetMouseState\fP\fR(\fBint *x, int *y\fR); +.SH "DESCRIPTION" +.PP +The current button state is returned as a button bitmask, which can be tested using the \fBSDL_BUTTON(X)\fP macros, and \fBx\fR and \fBy\fR are set to the current mouse cursor position\&. You can pass \fBNULL\fP for either \fBx\fR or \fBy\fR\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_PumpEvents(); +if(SDL_GetMouseState(NULL, NULL)&SDL_BUTTON(1)) + printf("Mouse Button 1(left) is pressed\&. +");\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetRelativeMouseState\fP\fR, \fI\fBSDL_PumpEvents\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetRGB.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetRGB.3 new file mode 100644 index 0000000..f21a162 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetRGB.3 @@ -0,0 +1,17 @@ +.TH "SDL_GetRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetRGB \- Get RGB values from a pixel in the specified pixel format\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_GetRGB\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b\fR); +.SH "DESCRIPTION" +.PP +Get RGB component values from a pixel stored in the specified pixel format\&. +.PP +This function uses the entire 8-bit [0\&.\&.255] range when converting color components from pixel formats with less than 8-bits per RGB component (e\&.g\&., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8])\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_PixelFormat\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetRGBA.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetRGBA.3 new file mode 100644 index 0000000..eba9dfb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetRGBA.3 @@ -0,0 +1,19 @@ +.TH "SDL_GetRGBA" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetRGBA \- Get RGBA values from a pixel in the specified pixel format\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_GetRGBA\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a\fR); +.SH "DESCRIPTION" +.PP +Get RGBA component values from a pixel stored in the specified pixel format\&. +.PP +This function uses the entire 8-bit [0\&.\&.255] range when converting color components from pixel formats with less than 8-bits per RGB component (e\&.g\&., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8])\&. +.PP +If the surface has no alpha component, the alpha will be returned as 0xff (100% opaque)\&. +.SH "SEE ALSO" +.PP +\fISDL_GetRGB\fR, \fISDL_MapRGB\fR, \fISDL_MapRGBA\fR, \fISDL_PixelFormat\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetRelativeMouseState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetRelativeMouseState.3 new file mode 100644 index 0000000..349f47d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetRelativeMouseState.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetRelativeMouseState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetRelativeMouseState \- Retrieve the current state of the mouse +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_GetRelativeMouseState\fP\fR(\fBint *x, int *y\fR); +.SH "DESCRIPTION" +.PP +The current button state is returned as a button bitmask, which can be tested using the \fBSDL_BUTTON(X)\fP macros, and \fBx\fR and \fBy\fR are set to the change in the mouse position since the last call to \fBSDL_GetRelativeMouseState\fP or since event initialization\&. You can pass \fBNULL\fP for either \fBx\fR or \fBy\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetMouseState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetThreadID.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetThreadID.3 new file mode 100644 index 0000000..6385aeb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetThreadID.3 @@ -0,0 +1,16 @@ +.TH "SDL_GetThreadID" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetThreadID \- Get the SDL thread ID of a SDL_Thread +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBUint32 \fBSDL_GetThreadID\fP\fR(\fBSDL_Thread *thread\fR); +.SH "DESCRIPTION" +.PP +Returns the ID of a \fBSDL_Thread\fR created by \fISDL_CreateThread\fR\&. +.SH "SEE ALSO" +.PP +\fISDL_CreateThread\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetTicks.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetTicks.3 new file mode 100644 index 0000000..4615737 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetTicks.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetTicks" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetTicks \- Get the number of milliseconds since the SDL library initialization\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint32 \fBSDL_GetTicks\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +Get the number of milliseconds since the SDL library initialization\&. Note that this value wraps if the program runs for more than ~49 days\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Delay\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoInfo.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoInfo.3 new file mode 100644 index 0000000..b82b28e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoInfo.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetVideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetVideoInfo \- returns a pointer to information about the video hardware +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_VideoInfo *\fBSDL_GetVideoInfo\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +This function returns a read-only pointer to \fIinformation\fR about the video hardware\&. If this is called before \fISDL_SetVideoMode\fR, the \fBvfmt\fR member of the returned structure will contain the pixel format of the "best" video mode\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_VideoInfo\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoSurface.3 new file mode 100644 index 0000000..4a5d7eb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_GetVideoSurface.3 @@ -0,0 +1,15 @@ +.TH "SDL_GetVideoSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_GetVideoSurface \- returns a pointer to the current display surface +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_GetVideoSurface\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +This function returns a pointer to the current display surface\&. If SDL is doing format conversion on the display surface, this function returns the publicly visible surface, not the real video surface\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Init.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Init.3 new file mode 100644 index 0000000..5f50054 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Init.3 @@ -0,0 +1,41 @@ +.TH "SDL_Init" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Init \- Initializes SDL +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_Init\fP\fR(\fBUint32 flags\fR); +.SH "DESCRIPTION" +.PP +Initializes SDL\&. This should be called before all other SDL functions\&. The \fBflags\fR parameter specifies what part(s) of SDL to initialize\&. +.TP 20 +\fBSDL_INIT_TIMER\fP +Initializes the \fItimer\fR subsystem\&. +.TP 20 +\fBSDL_INIT_AUDIO\fP +Initializes the \fIaudio\fR subsystem\&. +.TP 20 +\fBSDL_INIT_VIDEO\fP +Initializes the \fIvideo\fR subsystem\&. +.TP 20 +\fBSDL_INIT_CDROM\fP +Initializes the \fIcdrom\fR subsystem\&. +.TP 20 +\fBSDL_INIT_JOYSTICK\fP +Initializes the \fIjoystick\fR subsystem\&. +.TP 20 +\fBSDL_INIT_EVERYTHING\fP +Initialize all of the above\&. +.TP 20 +\fBSDL_INIT_NOPARACHUTE\fP +Prevents SDL from catching fatal signals\&. +.TP 20 +\fBSDL_INIT_EVENTTHREAD\fP +.SH "RETURN VALUE" +.PP +Returns \fB-1\fR on an error or \fB0\fR on success\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Quit\fP\fR, \fI\fBSDL_InitSubSystem\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_InitSubSystem.3 b/distrib/sdl-1.2.15/docs/man3/SDL_InitSubSystem.3 new file mode 100644 index 0000000..f0a82a5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_InitSubSystem.3 @@ -0,0 +1,41 @@ +.TH "SDL_InitSubSystem" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_InitSubSystem \- Initialize subsystems +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_InitSubSystem\fP\fR(\fBUint32 flags\fR); +.SH "DESCRIPTION" +.PP +After SDL has been initialized with \fI\fBSDL_Init\fP\fR you may initialize uninitialized subsystems with \fBSDL_InitSubSystem\fP\&. The \fBflags\fR parameter is the same as that used in \fI\fBSDL_Init\fP\fR\&. +.SH "EXAMPLES" +.PP +.nf +\f(CW/* Seperating Joystick and Video initialization\&. */ +SDL_Init(SDL_INIT_VIDEO); +\&. +\&. +SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN); +\&. +/* Do Some Video stuff */ +\&. +\&. +/* Initialize the joystick subsystem */ +SDL_InitSubSystem(SDL_INIT_JOYSTICK); + +/* Do some stuff with video and joystick */ +\&. +\&. +\&. +/* Shut them both down */ +SDL_Quit();\fR +.fi +.PP +.SH "RETURN VALUE" +.PP +Returns \fB-1\fR on an error or \fB0\fR on success\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Init\fP\fR, \fI\fBSDL_Quit\fP\fR, \fI\fBSDL_QuitSubSystem\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoyAxisEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoyAxisEvent.3 new file mode 100644 index 0000000..f8301fd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoyAxisEvent.3 @@ -0,0 +1,36 @@ +.TH "SDL_JoyAxisEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoyAxisEvent \- Joystick axis motion event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 which; + Uint8 axis; + Sint16 value; +} SDL_JoyAxisEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_JOYAXISMOTION\fP +.TP 20 +\fBwhich\fR +Joystick device index +.TP 20 +\fBaxis\fR +Joystick axis index +.TP 20 +\fBvalue\fR +Axis value (range: -32768 to 32767) +.SH "DESCRIPTION" +.PP +\fBSDL_JoyAxisEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYAXISMOTION\fP is reported\&. +.PP +A \fBSDL_JOYAXISMOTION\fP event occurs when ever a user moves an axis on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBaxis\fR is the index of the axis (for a more detailed explaination see the \fIJoystick section\fR)\&. \fBvalue\fR is the current position of the axis\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetAxis\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoyBallEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoyBallEvent.3 new file mode 100644 index 0000000..7f42f7b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoyBallEvent.3 @@ -0,0 +1,36 @@ +.TH "SDL_JoyBallEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoyBallEvent \- Joystick trackball motion event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 which; + Uint8 ball; + Sint16 xrel, yrel; +} SDL_JoyBallEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_JOYBALLMOTION\fP +.TP 20 +\fBwhich\fR +Joystick device index +.TP 20 +\fBball\fR +Joystick trackball index +.TP 20 +\fBxrel\fR, \fByrel\fR +The relative motion in the X/Y direction +.SH "DESCRIPTION" +.PP +\fBSDL_JoyBallEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYBALLMOTION\fP is reported\&. +.PP +A \fBSDL_JOYBALLMOTION\fP event occurs when a user moves a trackball on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBball\fR is the index of the trackball (for a more detailed explaination see the \fIJoystick section\fR)\&. Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in \fBxrel\fR and \fByrel\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetBall\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoyButtonEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoyButtonEvent.3 new file mode 100644 index 0000000..dfd0793 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoyButtonEvent.3 @@ -0,0 +1,36 @@ +.TH "SDL_JoyButtonEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoyButtonEvent \- Joystick button event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 which; + Uint8 button; + Uint8 state; +} SDL_JoyButtonEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP +.TP 20 +\fBwhich\fR +Joystick device index +.TP 20 +\fBbutton\fR +Joystick button index +.TP 20 +\fBstate\fR +\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP +.SH "DESCRIPTION" +.PP +\fBSDL_JoyButtonEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP is reported\&. +.PP +A \fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP event occurs when ever a user presses or releases a button on a joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBbutton\fR is the index of the button (for a more detailed explaination see the \fIJoystick section\fR)\&. \fBstate\fR is the current state or the button which is either \fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetButton\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoyHatEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoyHatEvent.3 new file mode 100644 index 0000000..5817ad6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoyHatEvent.3 @@ -0,0 +1,56 @@ +.TH "SDL_JoyHatEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoyHatEvent \- Joystick hat position change event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 which; + Uint8 hat; + Uint8 value; +} SDL_JoyHatEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_JOY\fP +.TP 20 +\fBwhich\fR +Joystick device index +.TP 20 +\fBhat\fR +Joystick hat index +.TP 20 +\fBvalue\fR +Hat position +.SH "DESCRIPTION" +.PP +\fBSDL_JoyHatEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYHATMOTION\fP is reported\&. +.PP +A \fBSDL_JOYHATMOTION\fP event occurs when ever a user moves a hat on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBhat\fR is the index of the hat (for a more detailed exlaination see the \fIJoystick section\fR)\&. \fBvalue\fR is the current position of the hat\&. It is a logically OR\&'d combination of the following values (whose meanings should be pretty obvious:) : +.IP "" 10 +\fBSDL_HAT_CENTERED\fP +.IP "" 10 +\fBSDL_HAT_UP\fP +.IP "" 10 +\fBSDL_HAT_RIGHT\fP +.IP "" 10 +\fBSDL_HAT_DOWN\fP +.IP "" 10 +\fBSDL_HAT_LEFT\fP +.PP +The following defines are also provided: +.IP "" 10 +\fBSDL_HAT_RIGHTUP\fP +.IP "" 10 +\fBSDL_HAT_RIGHTDOWN\fP +.IP "" 10 +\fBSDL_HAT_LEFTUP\fP +.IP "" 10 +\fBSDL_HAT_LEFTDOWN\fP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetHat\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickClose.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickClose.3 new file mode 100644 index 0000000..281702f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickClose.3 @@ -0,0 +1,15 @@ +.TH "SDL_JoystickClose" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickClose \- Closes a previously opened joystick +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_JoystickClose\fP\fR(\fBSDL_Joystick *joystick\fR); +.SH "DESCRIPTION" +.PP +Close a \fBjoystick\fR that was previously opened with \fI\fBSDL_JoystickOpen\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickOpened\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickEventState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickEventState.3 new file mode 100644 index 0000000..7e410f3 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickEventState.3 @@ -0,0 +1,24 @@ +.TH "SDL_JoystickEventState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickEventState \- Enable/disable joystick event polling +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_JoystickEventState\fP\fR(\fBint state\fR); +.SH "DESCRIPTION" +.PP +This function is used to enable or disable joystick event processing\&. With joystick event processing disabled you will have to update joystick states with \fI\fBSDL_JoystickUpdate\fP\fR and read the joystick information manually\&. \fBstate\fR is either \fBSDL_QUERY\fP, \fBSDL_ENABLE\fP or \fBSDL_IGNORE\fP\&. +.PP +.RS +\fBNote: +.PP +Joystick event handling is prefered +.RE +.SH "RETURN VALUE" +.PP +If \fBstate\fR is \fBSDL_QUERY\fP then the current state is returned, otherwise the new processing \fBstate\fR is returned\&. +.SH "SEE ALSO" +.PP +\fISDL Joystick Functions\fR, \fI\fBSDL_JoystickUpdate\fP\fR, \fI\fBSDL_JoyAxisEvent\fR\fR, \fI\fBSDL_JoyBallEvent\fR\fR, \fI\fBSDL_JoyButtonEvent\fR\fR, \fI\fBSDL_JoyHatEvent\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetAxis.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetAxis.3 new file mode 100644 index 0000000..0a80b34 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetAxis.3 @@ -0,0 +1,32 @@ +.TH "SDL_JoystickGetAxis" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickGetAxis \- Get the current state of an axis +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSint16 \fBSDL_JoystickGetAxis\fP\fR(\fBSDL_Joystick *joystick, int axis\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_JoystickGetAxis\fP returns the current state of the given \fBaxis\fR on the given \fBjoystick\fR\&. +.PP +On most modern joysticks the X axis is usually represented by \fBaxis\fR 0 and the Y axis by \fBaxis\fR 1\&. The value returned by \fBSDL_JoystickGetAxis\fP is a signed integer (-32768 to 32768) representing the current position of the \fBaxis\fR, it maybe necessary to impose certain tolerances on these values to account for jitter\&. It is worth noting that some joysticks use axes 2 and 3 for extra buttons\&. +.SH "RETURN VALUE" +.PP +Returns a 16-bit signed integer representing the current position of the \fBaxis\fR\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSint16 x_move, y_move; +SDL_Joystick *joy1; +\&. +\&. +x_move=SDL_JoystickGetAxis(joy1, 0); +y_move=SDL_JoystickGetAxis(joy1, 1);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickNumAxes\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetBall.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetBall.3 new file mode 100644 index 0000000..124c910 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetBall.3 @@ -0,0 +1,37 @@ +.TH "SDL_JoystickGetBall" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickGetBall \- Get relative trackball motion +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_JoystickGetBall\fP\fR(\fBSDL_Joystick *joystick, int ball, int *dx, int *dy\fR); +.SH "DESCRIPTION" +.PP +Get the \fBball\fR axis change\&. +.PP +Trackballs can only return relative motion since the last call to \fBSDL_JoystickGetBall\fP, these motion deltas a placed into \fBdx\fR and \fBdy\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success or \fB-1\fR on failure +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWint delta_x, delta_y; +SDL_Joystick *joy; +\&. +\&. +\&. +SDL_JoystickUpdate(); +if(SDL_JoystickGetBall(joy, 0, &delta_x, &delta_y)==-1) + printf("TrackBall Read Error! +"); +printf("Trackball Delta- X:%d, Y:%d +", delta_x, delta_y);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickNumBalls\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetButton.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetButton.3 new file mode 100644 index 0000000..e7b336b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetButton.3 @@ -0,0 +1,18 @@ +.TH "SDL_JoystickGetButton" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickGetButton \- Get the current state of a given button on a given joystick +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_JoystickGetButton\fP\fR(\fBSDL_Joystick *joystick, int button\fR); +.SH "DESCRIPTION" +.PP +SDL_JoystickGetButton returns the current state of the given \fBbutton\fR on the given \fBjoystick\fR\&. +.SH "RETURN VALUE" +.PP +\fB1\fR if the button is pressed\&. Otherwise, \fB0\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickNumButtons\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetHat.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetHat.3 new file mode 100644 index 0000000..cdbd910 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickGetHat.3 @@ -0,0 +1,36 @@ +.TH "SDL_JoystickGetHat" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickGetHat \- Get the current state of a joystick hat +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint8 \fBSDL_JoystickGetHat\fP\fR(\fBSDL_Joystick *joystick, int hat\fR); +.SH "DESCRIPTION" +.PP +SDL_JoystickGetHat returns the current state of the given \fBhat\fR on the given \fBjoystick\fR\&. +.SH "RETURN VALUE" +.PP +The current state is returned as a Uint8 which is defined as an OR\&'d combination of one or more of the following +.IP "" 10 +\fBSDL_HAT_CENTERED\fP +.IP "" 10 +\fBSDL_HAT_UP\fP +.IP "" 10 +\fBSDL_HAT_RIGHT\fP +.IP "" 10 +\fBSDL_HAT_DOWN\fP +.IP "" 10 +\fBSDL_HAT_LEFT\fP +.IP "" 10 +\fBSDL_HAT_RIGHTUP\fP +.IP "" 10 +\fBSDL_HAT_RIGHTDOWN\fP +.IP "" 10 +\fBSDL_HAT_LEFTUP\fP +.IP "" 10 +\fBSDL_HAT_LEFTDOWN\fP +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickNumHats\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickIndex.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickIndex.3 new file mode 100644 index 0000000..611e4b6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickIndex.3 @@ -0,0 +1,18 @@ +.TH "SDL_JoystickIndex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickIndex \- Get the index of an SDL_Joystick\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_JoystickIndex\fP\fR(\fBSDL_Joystick *joystick\fR); +.SH "DESCRIPTION" +.PP +Returns the index of a given \fBSDL_Joystick\fR structure\&. +.SH "RETURN VALUE" +.PP +Index number of the joystick\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickOpen\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickName.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickName.3 new file mode 100644 index 0000000..364297e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickName.3 @@ -0,0 +1,32 @@ +.TH "SDL_JoystickName" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickName \- Get joystick name\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBconst char *\fBSDL_JoystickName\fP\fR(\fBint index\fR); +.SH "DESCRIPTION" +.PP +Get the implementation dependent name of joystick\&. The \fBindex\fR parameter refers to the N\&'th joystick on the system\&. +.SH "RETURN VALUE" +.PP +Returns a char pointer to the joystick name\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CW/* Print the names of all attached joysticks */ +int num_joy, i; +num_joy=SDL_NumJoysticks(); +printf("%d joysticks found +", num_joy); +for(i=0;i0){ + // Open joystick + joy=SDL_JoystickOpen(0); + + if(joy) + { + printf("Opened Joystick 0 +"); + printf("Name: %s +", SDL_JoystickName(0)); + printf("Number of Axes: %d +", SDL_JoystickNumAxes(joy)); + printf("Number of Buttons: %d +", SDL_JoystickNumButtons(joy)); + printf("Number of Balls: %d +", SDL_JoystickNumBalls(joy)); + } + else + printf("Couldn\&'t open Joystick 0 +"); + + // Close if opened + if(SDL_JoystickOpened(0)) + SDL_JoystickClose(joy); +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickClose\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpened.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpened.3 new file mode 100644 index 0000000..9d82e09 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickOpened.3 @@ -0,0 +1,18 @@ +.TH "SDL_JoystickOpened" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickOpened \- Determine if a joystick has been opened +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_JoystickOpened\fP\fR(\fBint index\fR); +.SH "DESCRIPTION" +.PP +Determines whether a joystick has already been opened within the application\&. \fBindex\fR refers to the N\&'th joystick on the system\&. +.SH "RETURN VALUE" +.PP +Returns \fB1\fR if the joystick has been opened, or \fB0\fR if it has not\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickClose\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_JoystickUpdate.3 b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickUpdate.3 new file mode 100644 index 0000000..7d1035b --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_JoystickUpdate.3 @@ -0,0 +1,15 @@ +.TH "SDL_JoystickUpdate" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_JoystickUpdate \- Updates the state of all joysticks +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_JoystickUpdate\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Updates the state(position, buttons, etc\&.) of all open joysticks\&. If joystick events have been enabled with \fI\fBSDL_JoystickEventState\fP\fR then this is called automatically in the event loop\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickEventState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_KeyboardEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_KeyboardEvent.3 new file mode 100644 index 0000000..4aeea79 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_KeyboardEvent.3 @@ -0,0 +1,38 @@ +.TH "SDL_KeyboardEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_KeyboardEvent \- Keyboard event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 state; + SDL_keysym keysym; +} SDL_KeyboardEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_KEYDOWN\fP or \fBSDL_KEYUP\fP +.TP 20 +\fBstate\fR +\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP +.TP 20 +\fBkeysym\fR +Contains key press information +.SH "DESCRIPTION" +.PP +\fBSDL_KeyboardEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_KEYDOWN\fP or \fBSDL_KEYUP\fP is reported\&. +.PP +The \fBtype\fR and \fBstate\fR actually report the same information, they just use different values to do it! A keyboard event occurs when a key is released (\fBtype\fR=\fBSDK_KEYUP\fP or \fBstate\fR=\fBSDL_RELEASED\fP) and when a key is pressed (\fBtype\fR=\fBSDL_KEYDOWN\fP or \fBstate\fR=\fBSDL_PRESSED\fP)\&. The information on what key was pressed or released is in the \fI\fBkeysym\fR\fR structure\&. +.PP +.RS +\fBNote: +.PP +Repeating \fBSDL_KEYDOWN\fP events will occur if key repeat is enabled (see \fI\fBSDL_EnableKeyRepeat\fP\fR)\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_keysym\fR\fR, \fI\fBSDL_EnableKeyRepeat\fP\fR, \fI\fBSDL_EnableUNICODE\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_KillThread.3 b/distrib/sdl-1.2.15/docs/man3/SDL_KillThread.3 new file mode 100644 index 0000000..2a34f11 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_KillThread.3 @@ -0,0 +1,16 @@ +.TH "SDL_KillThread" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_KillThread \- Gracelessly terminates the thread\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBvoid \fBSDL_KillThread\fP\fR(\fBSDL_Thread *thread\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_KillThread\fP gracelessly terminates the thread associated with \fBthread\fR\&. If possible, you should use some other form of IPC to signal the thread to quit\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateThread\fP\fR, \fI\fBSDL_WaitThread\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ListModes.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ListModes.3 new file mode 100644 index 0000000..3cc9376 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ListModes.3 @@ -0,0 +1,53 @@ +.TH "SDL_ListModes" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ListModes \- Returns a pointer to an array of available screen dimensions for the given format and video flags +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Rect **\fBSDL_ListModes\fP\fR(\fBSDL_PixelFormat *format, Uint32 flags\fR); +.SH "DESCRIPTION" +.PP +Return a pointer to an array of available screen dimensions for the given format and video flags, sorted largest to smallest\&. Returns \fBNULL\fP if there are no dimensions available for a particular format, or \fB-1\fR if any dimension is okay for the given format\&. +.PP +If \fBformat\fR is \fBNULL\fP, the mode list will be for the format returned by \fISDL_GetVideoInfo()\fR->\fBvfmt\fR\&. The \fBflag\fR parameter is an OR\&'d combination of \fIsurface\fR flags\&. The flags are the same as those used \fI\fBSDL_SetVideoMode\fP\fR and they play a strong role in deciding what modes are valid\&. For instance, if you pass \fBSDL_HWSURFACE\fP as a flag only modes that support hardware video surfaces will be returned\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_Rect **modes; +int i; +\&. +\&. +\&. + +/* Get available fullscreen/hardware modes */ +modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE); + +/* Check is there are any modes available */ +if(modes == (SDL_Rect **)0){ + printf("No modes available! +"); + exit(-1); +} + +/* Check if or resolution is restricted */ +if(modes == (SDL_Rect **)-1){ + printf("All resolutions available\&. +"); +} +else{ + /* Print valid modes */ + printf("Available Modes +"); + for(i=0;modes[i];++i) + printf(" %d x %d +", modes[i]->w, modes[i]->h); +} +\&. +\&.\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GetVideoInfo\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_PixelFormat\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_LoadBMP.3 b/distrib/sdl-1.2.15/docs/man3/SDL_LoadBMP.3 new file mode 100644 index 0000000..7e3b4af --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_LoadBMP.3 @@ -0,0 +1,18 @@ +.TH "SDL_LoadBMP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_LoadBMP \- Load a Windows BMP file into an SDL_Surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_LoadBMP\fP\fR(\fBconst char *file\fR); +.SH "DESCRIPTION" +.PP +Loads a surface from a named Windows BMP file\&. +.SH "RETURN VALUE" +.PP +Returns the new surface, or \fBNULL\fP if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_SaveBMP\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_LoadWAV.3 b/distrib/sdl-1.2.15/docs/man3/SDL_LoadWAV.3 new file mode 100644 index 0000000..490ff67 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_LoadWAV.3 @@ -0,0 +1,42 @@ +.TH "SDL_LoadWAV" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_LoadWAV \- Load a WAVE file +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_AudioSpec *\fBSDL_LoadWAV\fP\fR(\fBconst char *file, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_LoadWAV\fP This function loads a WAVE \fBfile\fR into memory\&. +.PP +If this function succeeds, it returns the given \fI\fBSDL_AudioSpec\fP\fR, filled with the audio data format of the wave data, and sets \fBaudio_buf\fR to a \fBmalloc\fP\&'d buffer containing the audio data, and sets \fBaudio_len\fR to the length of that audio buffer, in bytes\&. You need to free the audio buffer with \fI\fBSDL_FreeWAV\fP\fR when you are done with it\&. +.PP +This function returns \fBNULL\fP and sets the SDL error message if the wave file cannot be opened, uses an unknown data format, or is corrupt\&. Currently raw, MS-ADPCM and IMA-ADPCM WAVE files are supported\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_AudioSpec wav_spec; +Uint32 wav_length; +Uint8 *wav_buffer; + +/* Load the WAV */ +if( SDL_LoadWAV("test\&.wav", &wav_spec, &wav_buffer, &wav_length) == NULL ){ + fprintf(stderr, "Could not open test\&.wav: %s +", SDL_GetError()); + exit(-1); +} +\&. +\&. +\&. +/* Do stuff with the WAV */ +\&. +\&. +/* Free It */ +SDL_FreeWAV(wav_buffer);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_AudioSpec\fR\fR, \fI\fBSDL_OpenAudio\fP\fR, \fI\fBSDL_FreeWAV\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_LockAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_LockAudio.3 new file mode 100644 index 0000000..8c141fd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_LockAudio.3 @@ -0,0 +1,15 @@ +.TH "SDL_LockAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_LockAudio \- Lock out the callback function +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_LockAudio\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +The lock manipulated by these functions protects the callback function\&. During a LockAudio period, you can be guaranteed that the callback function is not running\&. Do not call these from the callback function or you will cause deadlock\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_OpenAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_LockSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_LockSurface.3 new file mode 100644 index 0000000..6db3ad7 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_LockSurface.3 @@ -0,0 +1,48 @@ +.TH "SDL_LockSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_LockSurface \- Lock a surface for directly access\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_LockSurface\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_LockSurface\fP sets up a surface for directly accessing the pixels\&. Between calls to \fBSDL_LockSurface\fP and \fBSDL_UnlockSurface\fP, you can write to and read from \fBsurface->\fBpixels\fR\fR, using the pixel format stored in \fBsurface->\fBformat\fR\fR\&. Once you are done accessing the surface, you should use \fBSDL_UnlockSurface\fP to release it\&. +.PP +Not all surfaces require locking\&. If \fBSDL_MUSTLOCK\fP(\fBsurface\fR) evaluates to \fB0\fR, then you can read and write to the surface at any time, and the pixel format of the surface will not change\&. +.PP +No operating system or library calls should be made between lock/unlock pairs, as critical system locks may be held during this time\&. +.PP +It should be noted, that since SDL 1\&.1\&.8 surface locks are recursive\&. This means that you can lock a surface multiple times, but each lock must have a match unlock\&. +.PP +.nf +\f(CW \&. + \&. + SDL_LockSurface( surface ); + \&. + /* Surface is locked */ + /* Direct pixel access on surface here */ + \&. + SDL_LockSurface( surface ); + \&. + /* More direct pixel access on surface */ + \&. + SDL_UnlockSurface( surface ); + /* Surface is still locked */ + /* Note: Is versions < 1\&.1\&.8, the surface would have been */ + /* no longer locked at this stage */ + \&. + SDL_UnlockSurface( surface ); + /* Surface is now unlocked */ + \&. + \&.\fR +.fi +.PP +.SH "RETURN VALUE" +.PP +\fBSDL_LockSurface\fP returns \fB0\fR, or \fB-1\fR if the surface couldn\&'t be locked\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_UnlockSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_LockYUVOverlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_LockYUVOverlay.3 new file mode 100644 index 0000000..286d96f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_LockYUVOverlay.3 @@ -0,0 +1,18 @@ +.TH "SDL_LockYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_LockYUVOverlay \- Lock an overlay +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_LockYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR); +.SH "DESCRIPTION" +.PP +Much the same as \fI\fBSDL_LockSurface\fP\fR, \fBSDL_LockYUVOverlay\fP locks the \fI\fBoverlay\fR\fR for direct access to pixel data\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_Overlay\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_MapRGB.3 b/distrib/sdl-1.2.15/docs/man3/SDL_MapRGB.3 new file mode 100644 index 0000000..1e4c963 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_MapRGB.3 @@ -0,0 +1,22 @@ +.TH "SDL_MapRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_MapRGB \- Map a RGB color value to a pixel format\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint32 \fBSDL_MapRGB\fP\fR(\fBSDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b\fR); +.SH "DESCRIPTION" +.PP +Maps the RGB color value to the specified pixel format and returns the pixel value as a 32-bit int\&. +.PP +If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&. +.PP +If the specified pixel format has an alpha component it will be returned as all 1 bits (fully opaque)\&. +.SH "RETURN VALUE" +.PP +A pixel value best approximating the given RGB color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetRGB\fP\fR, \fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_PixelFormat\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_MapRGBA.3 b/distrib/sdl-1.2.15/docs/man3/SDL_MapRGBA.3 new file mode 100644 index 0000000..03d78d8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_MapRGBA.3 @@ -0,0 +1,22 @@ +.TH "SDL_MapRGBA" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_MapRGBA \- Map a RGBA color value to a pixel format\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint32 \fBSDL_MapRGBA\fP\fR(\fBSDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b, Uint8 a\fR); +.SH "DESCRIPTION" +.PP +Maps the RGBA color value to the specified pixel format and returns the pixel value as a 32-bit int\&. +.PP +If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&. +.PP +If the specified pixel format has no alpha component the alpha value will be ignored (as it will be in formats with a palette)\&. +.SH "RETURN VALUE" +.PP +A pixel value best approximating the given RGBA color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&. +.SH "SEE ALSO" +.PP +\fISDL_GetRGB\fR, \fISDL_GetRGBA\fR, \fISDL_MapRGB\fR, \fISDL_PixelFormat\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_MixAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_MixAudio.3 new file mode 100644 index 0000000..b98660d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_MixAudio.3 @@ -0,0 +1,21 @@ +.TH "SDL_MixAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_MixAudio \- Mix audio data +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_MixAudio\fP\fR(\fBUint8 *dst, Uint8 *src, Uint32 len, int volume\fR); +.SH "DESCRIPTION" +.PP +This function takes two audio buffers of \fBlen\fR bytes each of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping\&. The \fBvolume\fR ranges from 0 to \fBSDL_MIX_MAXVOLUME\fP and should be set to the maximum value for full audio volume\&. Note this does not change hardware volume\&. This is provided for convenience -- you can mix your own audio data\&. +.PP +.RS +\fBNote: +.PP +Do not use this function for mixing together more than two streams of sample data\&. The output from repeated application of this function may be distorted by clipping, because there is no accumulator with greater range than the input (not to mention this being an inefficient way of doing it)\&. Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_OpenAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_MouseButtonEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_MouseButtonEvent.3 new file mode 100644 index 0000000..d2d34a0 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_MouseButtonEvent.3 @@ -0,0 +1,36 @@ +.TH "SDL_MouseButtonEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_MouseButtonEvent \- Mouse button event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 button; + Uint8 state; + Uint16 x, y; +} SDL_MouseButtonEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_MOUSEBUTTONDOWN\fP or \fBSDL_MOUSEBUTTONUP\fP +.TP 20 +\fBbutton\fR +The mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT) +.TP 20 +\fBstate\fR +\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP +.TP 20 +\fBx\fR, \fBy\fR +The X/Y coordinates of the mouse at press/release time +.SH "DESCRIPTION" +.PP +\fBSDL_MouseButtonEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_MOUSEBUTTONDOWN\fP or \fBSDL_MOUSEBUTTONUP\fP is reported\&. +.PP +When a mouse button press or release is detected then number of the button pressed (from 1 to 255, with 1 usually being the left button and 2 the right) is placed into \fBbutton\fR, the position of the mouse when this event occured is stored in the \fBx\fR and the \fBy\fR fields\&. Like \fI\fBSDL_KeyboardEvent\fR\fR, information on whether the event was a press or a release event is stored in both the \fBtype\fR and \fBstate\fR fields, but this should be obvious\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_MouseMotionEvent\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_MouseMotionEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_MouseMotionEvent.3 new file mode 100644 index 0000000..c1b036d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_MouseMotionEvent.3 @@ -0,0 +1,38 @@ +.TH "SDL_MouseMotionEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_MouseMotionEvent \- Mouse motion event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + Uint8 state; + Uint16 x, y; + Sint16 xrel, yrel; +} SDL_MouseMotionEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_MOUSEMOTION\fP +.TP 20 +\fBstate\fR +The current button state +.TP 20 +\fBx\fR, \fBy\fR +The X/Y coordinates of the mouse +.TP 20 +\fBxrel\fR, \fByrel\fR +Relative motion in the X/Y direction +.SH "DESCRIPTION" +.PP +\fBSDL_MouseMotionEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_MOUSEMOTION\fP is reported\&. +.PP +Simply put, a \fBSDL_MOUSEMOTION\fP type event occurs when a user moves the mouse within the application window or when \fI\fBSDL_WarpMouse\fP\fR is called\&. Both the absolute (\fBx\fR and \fBy\fR) and relative (\fBxrel\fR and \fByrel\fR) coordinates are reported along with the current button states (\fBstate\fR)\&. The button state can be interpreted using the \fBSDL_BUTTON\fP macro (see \fI\fBSDL_GetMouseState\fP\fR)\&. +.PP +If the cursor is hidden (\fI\fBSDL_ShowCursor\fP(0)\fR) and the input is grabbed (\fI\fBSDL_WM_GrabInput\fP(SDL_GRAB_ON)\fR), then the mouse will give relative motion events even when the cursor reaches the edge fo the screen\&. This is currently only implemented on Windows and Linux/Unix-a-likes\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_MouseButtonEvent\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_NumJoysticks.3 b/distrib/sdl-1.2.15/docs/man3/SDL_NumJoysticks.3 new file mode 100644 index 0000000..c737a1c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_NumJoysticks.3 @@ -0,0 +1,18 @@ +.TH "SDL_NumJoysticks" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_NumJoysticks \- Count available joysticks\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_NumJoysticks\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Counts the number of joysticks attached to the system\&. +.SH "RETURN VALUE" +.PP +Returns the number of attached joysticks +.SH "SEE ALSO" +.PP +\fI\fBSDL_JoystickName\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_OpenAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_OpenAudio.3 new file mode 100644 index 0000000..38a232c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_OpenAudio.3 @@ -0,0 +1,97 @@ +.TH "SDL_OpenAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_OpenAudio \- Opens the audio device with the desired parameters\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_OpenAudio\fP\fR(\fBSDL_AudioSpec *desired, SDL_AudioSpec *obtained\fR); +.SH "DESCRIPTION" +.PP +This function opens the audio device with the \fBdesired\fR parameters, and returns 0 if successful, placing the actual hardware parameters in the structure pointed to by \fBobtained\fR\&. If \fBobtained\fR is NULL, the audio data passed to the callback function will be guaranteed to be in the requested format, and will be automatically converted to the hardware audio format if necessary\&. This function returns -1 if it failed to open the audio device, or couldn\&'t set up the audio thread\&. +.PP +To open the audio device a \fBdesired\fR \fI\fBSDL_AudioSpec\fR\fR must be created\&. +.PP +.nf +\f(CWSDL_AudioSpec *desired; +\&. +\&. +desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));\fR +.fi +.PP + You must then fill this structure with your desired audio specifications\&. +.IP "\fBdesired\fR->\fBfreq\fR" 10The desired audio frequency in samples-per-second\&. +.IP "\fBdesired\fR->\fBformat\fR" 10The desired audio format (see \fI\fBSDL_AudioSpec\fR\fR) +.IP "\fBdesired\fR->\fBsamples\fR" 10The desired size of the audio buffer in samples\&. This number should be a power of two, and may be adjusted by the audio driver to a value more suitable for the hardware\&. Good values seem to range between 512 and 8192 inclusive, depending on the application and CPU speed\&. Smaller values yield faster response time, but can lead to underflow if the application is doing heavy processing and cannot fill the audio buffer in time\&. A stereo sample consists of both right and left channels in LR ordering\&. Note that the number of samples is directly related to time by the following formula: ms = (samples*1000)/freq +.IP "\fBdesired\fR->\fBcallback\fR" 10This should be set to a function that will be called when the audio device is ready for more data\&. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer\&. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling \fI\fBSDL_LockAudio\fP\fR and \fI\fBSDL_UnlockAudio\fP\fR in your code\&. The callback prototype is: +.PP +.nf +\f(CWvoid callback(void *userdata, Uint8 *stream, int len);\fR +.fi +.PP + \fBuserdata\fR is the pointer stored in \fBuserdata\fR field of the \fBSDL_AudioSpec\fR\&. \fBstream\fR is a pointer to the audio buffer you want to fill with information and \fBlen\fR is the length of the audio buffer in bytes\&. +.IP "\fBdesired\fR->\fBuserdata\fR" 10This pointer is passed as the first parameter to the \fBcallback\fP function\&. +.PP +\fBSDL_OpenAudio\fP reads these fields from the \fBdesired\fR \fBSDL_AudioSpec\fR structure pass to the function and attempts to find an audio configuration matching your \fBdesired\fR\&. As mentioned above, if the \fBobtained\fR parameter is \fBNULL\fP then SDL with convert from your \fBdesired\fR audio settings to the hardware settings as it plays\&. +.PP +If \fBobtained\fR is \fBNULL\fP then the \fBdesired\fR \fBSDL_AudioSpec\fR is your working specification, otherwise the \fBobtained\fR \fBSDL_AudioSpec\fR becomes the working specification and the \fBdesirec\fR specification can be deleted\&. The data in the working specification is used when building \fBSDL_AudioCVT\fR\&'s for converting loaded data to the hardware format\&. +.PP +\fBSDL_OpenAudio\fP calculates the \fBsize\fR and \fBsilence\fR fields for both the \fBdesired\fR and \fBobtained\fR specifications\&. The \fBsize\fR field stores the total size of the audio buffer in bytes, while the \fBsilence\fR stores the value used to represent silence in the audio buffer +.PP +The audio device starts out playing \fBsilence\fR when it\&'s opened, and should be enabled for playing by calling \fI\fBSDL_PauseAudio\fP(\fB0\fR)\fR when you are ready for your audio \fBcallback\fR function to be called\&. Since the audio driver may modify the requested \fBsize\fR of the audio buffer, you should allocate any local mixing buffers after you open the audio device\&. +.SH "EXAMPLES" +.PP +.nf +\f(CW/* Prototype of our callback function */ +void my_audio_callback(void *userdata, Uint8 *stream, int len); + +/* Open the audio device */ +SDL_AudioSpec *desired, *obtained; +SDL_AudioSpec *hardware_spec; + +/* Allocate a desired SDL_AudioSpec */ +desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); + +/* Allocate space for the obtained SDL_AudioSpec */ +obtained=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); + +/* 22050Hz - FM Radio quality */ +desired->freq=22050; + +/* 16-bit signed audio */ +desired->format=AUDIO_S16LSB; + +/* Mono */ +desired->channels=0; + +/* Large audio buffer reduces risk of dropouts but increases response time */ +desired->samples=8192; + +/* Our callback function */ +desired->callback=my_audio_callback; + +desired->userdata=NULL; + +/* Open the audio device */ +if ( SDL_OpenAudio(desired, obtained) < 0 ){ + fprintf(stderr, "Couldn\&'t open audio: %s +", SDL_GetError()); + exit(-1); +} +/* desired spec is no longer needed */ +free(desired); +hardware_spec=obtained; +\&. +\&. +/* Prepare callback for playing */ +\&. +\&. +\&. +/* Start playing */ +SDL_PauseAudio(0);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_AudioSpec\fP\fR, \fI\fBSDL_LockAudio\fP\fR, \fI\fBSDL_UnlockAudio\fP\fR, \fI\fBSDL_PauseAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Overlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Overlay.3 new file mode 100644 index 0000000..a852e91 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Overlay.3 @@ -0,0 +1,52 @@ +.TH "SDL_Overlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Overlay \- YUV video overlay +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint32 format; + int w, h; + int planes; + Uint16 *pitches; + Uint8 **pixels; + Uint32 hw_overlay:1; +} SDL_Overlay;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBformat\fR +Overlay format (see below) +.TP 20 +\fBw, h\fR +Width and height of overlay +.TP 20 +\fBplanes\fR +Number of planes in the overlay\&. Usually either 1 or 3 +.TP 20 +\fBpitches\fR +An array of pitches, one for each plane\&. Pitch is the length of a row in bytes\&. +.TP 20 +\fBpixels\fR +An array of pointers to teh data of each plane\&. The overlay should be locked before these pointers are used\&. +.TP 20 +\fBhw_overlay\fR +This will be set to 1 if the overlay is hardware accelerated\&. +.SH "DESCRIPTION" +.PP +A \fBSDL_Overlay\fR is similar to a \fI\fBSDL_Surface\fR\fR except it stores a YUV overlay\&. All the fields are read only, except for \fBpixels\fR which should be \fIlocked\fR before use\&. The \fBformat\fR field stores the format of the overlay which is one of the following: +.PP +.nf +\f(CW#define SDL_YV12_OVERLAY 0x32315659 /* Planar mode: Y + V + U */ +#define SDL_IYUV_OVERLAY 0x56555949 /* Planar mode: Y + U + V */ +#define SDL_YUY2_OVERLAY 0x32595559 /* Packed mode: Y0+U0+Y1+V0 */ +#define SDL_UYVY_OVERLAY 0x59565955 /* Packed mode: U0+Y0+V0+Y1 */ +#define SDL_YVYU_OVERLAY 0x55595659 /* Packed mode: Y0+V0+Y1+U0 */\fR +.fi +.PP + More information on YUV formats can be found at \fIhttp://www\&.webartz\&.com/fourcc/indexyuv\&.htm (link to URL http://www.webartz.com/fourcc/indexyuv.htm) \fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_LockYUVOverlay\fP\fR, \fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Palette.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Palette.3 new file mode 100644 index 0000000..ea5e406 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Palette.3 @@ -0,0 +1,26 @@ +.TH "SDL_Palette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Palette \- Color palette for 8-bit pixel formats +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + int ncolors; + SDL_Color *colors; +} SDL_Palette;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBncolors\fR +Number of colors used in this palette +.TP 20 +\fBcolors\fR +Pointer to \fI\fBSDL_Color\fR\fR structures that make up the palette\&. +.SH "DESCRIPTION" +.PP +Each pixel in an 8-bit surface is an index into the \fBcolors\fR field of the \fBSDL_Palette\fR structure store in \fI\fBSDL_PixelFormat\fR\fR\&. A \fBSDL_Palette\fR should never need to be created manually\&. It is automatically created when SDL allocates a \fBSDL_PixelFormat\fR for a surface\&. The colors values of a \fI\fBSDL_Surface\fR\fRs palette can be set with the \fI\fBSDL_SetColors\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Color\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_SetColors\fP\fR \fI\fBSDL_SetPalette\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PauseAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PauseAudio.3 new file mode 100644 index 0000000..1ca979a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PauseAudio.3 @@ -0,0 +1,15 @@ +.TH "SDL_PauseAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PauseAudio \- Pauses and unpauses the audio callback processing +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_PauseAudio\fP\fR(\fBint pause_on\fR); +.SH "DESCRIPTION" +.PP +This function pauses and unpauses the audio callback processing\&. It should be called with \fBpause_on\fR=0 after opening the audio device to start playing sound\&. This is so you can safely initialize data for your callback function after opening the audio device\&. Silence will be written to the audio device during the pause\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetAudioStatus\fP\fR, \fI\fBSDL_OpenAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PeepEvents.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PeepEvents.3 new file mode 100644 index 0000000..016542d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PeepEvents.3 @@ -0,0 +1,26 @@ +.TH "SDL_PeepEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PeepEvents \- Checks the event queue for messages and optionally returns them\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_PeepEvents\fP\fR(\fBSDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask\fR); +.SH "DESCRIPTION" +.PP +Checks the event queue for messages and optionally returns them\&. +.PP +If \fBaction\fR is \fBSDL_ADDEVENT\fP, up to \fBnumevents\fR events will be added to the back of the event queue\&. +.PP +If \fBaction\fR is \fBSDL_PEEKEVENT\fP, up to \fBnumevents\fR events at the front of the event queue, matching \fI\fBmask\fR\fR, will be returned and will not be removed from the queue\&. +.PP +If \fBaction\fR is \fBSDL_GETEVENT\fP, up to \fBnumevents\fR events at the front of the event queue, matching \fI\fBmask\fR\fR, will be returned and will be removed from the queue\&. +.PP +This function is thread-safe\&. +.SH "RETURN VALUE" +.PP +This function returns the number of events actually stored, or \fB-1\fR if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PushEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PixelFormat.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PixelFormat.3 new file mode 100644 index 0000000..f91593e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PixelFormat.3 @@ -0,0 +1,140 @@ +.TH "SDL_PixelFormat" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PixelFormat \- Stores surface format information +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct SDL_PixelFormat { + SDL_Palette *palette; + Uint8 BitsPerPixel; + Uint8 BytesPerPixel; + Uint8 Rloss, Gloss, Bloss, Aloss; + Uint8 Rshift, Gshift, Bshift, Ashift; + Uint32 Rmask, Gmask, Bmask, Amask; + Uint32 colorkey; + Uint8 alpha; +} SDL_PixelFormat;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBpalette\fR +Pointer to the \fIpalette\fR, or \fBNULL\fP if the \fBBitsPerPixel\fR>8 +.TP 20 +\fBBitsPerPixel\fR +The number of bits used to represent each pixel in a surface\&. Usually 8, 16, 24 or 32\&. +.TP 20 +\fBBytesPerPixel\fR +The number of bytes used to represent each pixel in a surface\&. Usually one to four\&. +.TP 20 +\fB[RGBA]mask\fR +Binary mask used to retrieve individual color values +.TP 20 +\fB[RGBA]loss\fR +Precision loss of each color component (2^[RGBA]loss) +.TP 20 +\fB[RGBA]shift\fR +Binary left shift of each color component in the pixel value +.TP 20 +\fBcolorkey\fR +Pixel value of transparent pixels +.TP 20 +\fBalpha\fR +Overall surface alpha value +.SH "DESCRIPTION" +.PP +A \fBSDL_PixelFormat\fR describes the format of the pixel data stored at the \fBpixels\fR field of a \fI\fBSDL_Surface\fR\fR\&. Every surface stores a \fBSDL_PixelFormat\fR in the \fBformat\fR field\&. +.PP +If you wish to do pixel level modifications on a surface, then understanding how SDL stores its color information is essential\&. +.PP +8-bit pixel formats are the easiest to understand\&. Since its an 8-bit format, we have 8 \fBBitsPerPixel\fR and 1 \fBBytesPerPixel\fR\&. Since \fBBytesPerPixel\fR is 1, all pixels are represented by a Uint8 which contains an index into \fBpalette\fR->\fBcolors\fR\&. So, to determine the color of a pixel in a 8-bit surface: we read the color index from \fBsurface\fR->\fBpixels\fR and we use that index to read the \fI\fBSDL_Color\fR\fR structure from \fBsurface\fR->\fBformat\fR->\fBpalette\fR->\fBcolors\fR\&. Like so: +.PP +.nf +\f(CWSDL_Surface *surface; +SDL_PixelFormat *fmt; +SDL_Color *color; +Uint8 index; + +\&. +\&. + +/* Create surface */ +\&. +\&. +fmt=surface->format; + +/* Check the bitdepth of the surface */ +if(fmt->BitsPerPixel!=8){ + fprintf(stderr, "Not an 8-bit surface\&. +"); + return(-1); +} + +/* Lock the surface */ +SDL_LockSurface(surface); + +/* Get the topleft pixel */ +index=*(Uint8 *)surface->pixels; +color=fmt->palette->colors[index]; + +/* Unlock the surface */ +SDL_UnlockSurface(surface); +printf("Pixel Color-> Red: %d, Green: %d, Blue: %d\&. Index: %d +", + color->r, color->g, color->b, index); +\&. +\&.\fR +.fi +.PP +.PP +Pixel formats above 8-bit are an entirely different experience\&. They are considered to be "TrueColor" formats and the color information is stored in the pixels themselves, not in a palette\&. The mask, shift and loss fields tell us how the color information is encoded\&. The mask fields allow us to isolate each color component, the shift fields tell us the number of bits to the right of each component in the pixel value and the loss fields tell us the number of bits lost from each component when packing 8-bit color component in a pixel\&. +.PP +.nf +\f(CW/* Extracting color components from a 32-bit color value */ +SDL_PixelFormat *fmt; +SDL_Surface *surface; +Uint32 temp, pixel; +Uint8 red, green, blue, alpha; +\&. +\&. +\&. +fmt=surface->format; +SDL_LockSurface(surface); +pixel=*((Uint32*)surface->pixels); +SDL_UnlockSurface(surface); + +/* Get Red component */ +temp=pixel&fmt->Rmask; /* Isolate red component */ +temp=temp>>fmt->Rshift;/* Shift it down to 8-bit */ +temp=temp<Rloss; /* Expand to a full 8-bit number */ +red=(Uint8)temp; + +/* Get Green component */ +temp=pixel&fmt->Gmask; /* Isolate green component */ +temp=temp>>fmt->Gshift;/* Shift it down to 8-bit */ +temp=temp<Gloss; /* Expand to a full 8-bit number */ +green=(Uint8)temp; + +/* Get Blue component */ +temp=pixel&fmt->Bmask; /* Isolate blue component */ +temp=temp>>fmt->Bshift;/* Shift it down to 8-bit */ +temp=temp<Bloss; /* Expand to a full 8-bit number */ +blue=(Uint8)temp; + +/* Get Alpha component */ +temp=pixel&fmt->Amask; /* Isolate alpha component */ +temp=temp>>fmt->Ashift;/* Shift it down to 8-bit */ +temp=temp<Aloss; /* Expand to a full 8-bit number */ +alpha=(Uint8)temp; + +printf("Pixel Color -> R: %d, G: %d, B: %d, A: %d +", red, green, blue, alpha); +\&. +\&. +\&.\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Surface\fR\fR, \fI\fBSDL_MapRGB\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PollEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PollEvent.3 new file mode 100644 index 0000000..6197f7e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PollEvent.3 @@ -0,0 +1,44 @@ +.TH "SDL_PollEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PollEvent \- Polls for currently pending events\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_PollEvent\fP\fR(\fBSDL_Event *event\fR); +.SH "DESCRIPTION" +.PP +Polls for currently pending events, and returns \fB1\fR if there are any pending events, or \fB0\fR if there are none available\&. +.PP +If \fBevent\fR is not \fBNULL\fP, the next event is removed from the queue and stored in that area\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_Event event; /* Event structure */ + +\&. +\&. +\&. +/* Check for events */ +while(SDL_PollEvent(&event)){ /* Loop until there are no events left on the queue */ + switch(event\&.type){ /* Process the appropiate event type */ + case SDL_KEYDOWN: /* Handle a KEYDOWN event */ + printf("Oh! Key press +"); + break; + case SDL_MOUSEMOTION: + \&. + \&. + \&. + default: /* Report an unhandled event */ + printf("I don\&'t know what this event is! +"); + } +}\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_WaitEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PumpEvents.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PumpEvents.3 new file mode 100644 index 0000000..62cc13d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PumpEvents.3 @@ -0,0 +1,23 @@ +.TH "SDL_PumpEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PumpEvents \- Pumps the event loop, gathering events from the input devices\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_PumpEvents\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +Pumps the event loop, gathering events from the input devices\&. +.PP +\fBSDL_PumpEvents\fP gathers all the pending input information from devices and places it on the event queue\&. Without calls to \fBSDL_PumpEvents\fP no events would ever be placed on the queue\&. Often calls the need for \fBSDL_PumpEvents\fP is hidden from the user since \fI\fBSDL_PollEvent\fP\fR and \fI\fBSDL_WaitEvent\fP\fR implicitly call \fBSDL_PumpEvents\fP\&. However, if you are not polling or waiting for events (e\&.g\&. your filtering them), then you must call \fBSDL_PumpEvents\fP to force an event queue update\&. +.PP +.RS +\fBNote: +.PP +You can only call this function in the thread that set the video mode\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_PollEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_PushEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_PushEvent.3 new file mode 100644 index 0000000..4be188f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_PushEvent.3 @@ -0,0 +1,27 @@ +.TH "SDL_PushEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_PushEvent \- Pushes an event onto the event queue +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_PushEvent\fP\fR(\fBSDL_Event *event\fR); +.SH "DESCRIPTION" +.PP +The event queue can actually be used as a two way communication channel\&. Not only can events be read from the queue, but the user can also push their own events onto it\&. \fBevent\fR is a pointer to the event structure you wish to push onto the queue\&. +.PP +.RS +\fBNote: +.PP +Pushing device input events onto the queue doesn\&'t modify the state of the device within SDL\&. +.RE +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on success or \fB-1\fR if the event couldn\&'t be pushed\&. +.SH "EXAMPLES" +.PP +See \fI\fBSDL_Event\fR\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR, \fI\fBSDL_Event\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Quit.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Quit.3 new file mode 100644 index 0000000..42fe8c1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Quit.3 @@ -0,0 +1,29 @@ +.TH "SDL_Quit" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Quit \- Shut down SDL +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_Quit\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_Quit\fP shuts down all SDL subsystems and frees the resources allocated to them\&. This should always be called before you exit\&. For the sake of simplicity you can set \fBSDL_Quit\fP as your \fBatexit\fP call, like: +.PP +.nf +\f(CWSDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO); +atexit(SDL_Quit); +\&. +\&.\fR +.fi +.PP +.PP +.RS +\fBNote: +.PP +While using \fBatexit\fP maybe be fine for small programs, more advanced users should shut down SDL in their own cleanup code\&. Plus, using \fBatexit\fP in a library is a sure way to crash dynamically loaded code +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_QuitSubsystem\fP\fR, \fI\fBSDL_Init\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_QuitEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_QuitEvent.3 new file mode 100644 index 0000000..c357e2a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_QuitEvent.3 @@ -0,0 +1,30 @@ +.TH "SDL_QuitEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_QuitEvent \- Quit requested event +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type +} SDL_QuitEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_QUIT\fP +.SH "DESCRIPTION" +.PP +\fBSDL_QuitEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used whan an event of type \fBSDL_QUIT\fP is reported\&. +.PP +As can be seen, the SDL_QuitEvent structure serves no useful purpose\&. The event itself, on the other hand, is very important\&. If you filter out or ignore a quit event then it is impossible for the user to close the window\&. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible\&. +.PP +.RS +\fBNote: +.PP +The macro \fBSDL_QuitRequested\fP will return non-zero if a quit event is pending +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_QuitSubSystem.3 b/distrib/sdl-1.2.15/docs/man3/SDL_QuitSubSystem.3 new file mode 100644 index 0000000..79e3ca5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_QuitSubSystem.3 @@ -0,0 +1,15 @@ +.TH "SDL_QuitSubSystem" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_QuitSubSystem \- Shut down a subsystem +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_QuitSubSystem\fP\fR(\fBUint32 flags\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_QuitSubSystem\fP allows you to shut down a subsystem that has been previously initialized by \fI\fBSDL_Init\fP\fR or \fI\fBSDL_InitSubSystem\fP\fR\&. The \fBflags\fR tells \fBSDL_QuitSubSystem\fP which subsystems to shut down, it uses the same values that are passed to \fI\fBSDL_Init\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Quit\fP\fR, \fI\fBSDL_Init\fP\fR, \fI\fBSDL_InitSubSystem\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_RWFromFile.3 b/distrib/sdl-1.2.15/docs/man3/SDL_RWFromFile.3 new file mode 100644 index 0000000..9ea68b9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_RWFromFile.3 @@ -0,0 +1,18 @@ +.TH "SDL_FunctionName" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_FunctionName \- Short description of function +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBreturn type\fBSDL_FunctionName\fP\fR(\fBparameter\fR); +.SH "DESCRIPTION" +.PP +Full description +.SH "EXAMPLES" +.PP +examples here +.SH "SEE ALSO" +.PP +\fISDL_AnotherFunction\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Rect.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Rect.3 new file mode 100644 index 0000000..8db224d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Rect.3 @@ -0,0 +1,26 @@ +.TH "SDL_Rect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Rect \- Defines a rectangular area +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Sint16 x, y; + Uint16 w, h; +} SDL_Rect;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBx, y\fR +Position of the upper-left corner of the rectangle +.TP 20 +\fBw, h\fR +The width and height of the rectangle +.SH "DESCRIPTION" +.PP +A \fBSDL_Rect\fR defines a rectangular area of pixels\&. It is used by \fI\fBSDL_BlitSurface\fP\fR to define blitting regions and by several other video functions\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_UpdateRect\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_RemoveTimer.3 b/distrib/sdl-1.2.15/docs/man3/SDL_RemoveTimer.3 new file mode 100644 index 0000000..1203c6f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_RemoveTimer.3 @@ -0,0 +1,25 @@ +.TH "SDL_RemoveTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_RemoveTimer \- Remove a timer which was added with \fISDL_AddTimer\fR\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_bool \fBSDL_RemoveTimer\fP\fR(\fBSDL_TimerID id\fR); +.SH "DESCRIPTION" +.PP +Removes a timer callback previously added with \fISDL_AddTimer\fR\&. +.SH "RETURN VALUE" +.PP +Returns a boolean value indicating success\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_RemoveTimer(my_timer_id);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_AddTimer\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ResizeEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ResizeEvent.3 new file mode 100644 index 0000000..7b0a5e2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ResizeEvent.3 @@ -0,0 +1,28 @@ +.TH "SDL_ResizeEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ResizeEvent \- Window resize event structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + int w, h; +} SDL_ResizeEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_VIDEORESIZE\fP +.TP 20 +\fBw\fR, \fBh\fR +New width and height of the window +.SH "DESCRIPTION" +.PP +\fBSDL_ResizeEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_VIDEORESIZE\fP is reported\&. +.PP +When \fBSDL_RESIZABLE\fP is passed as a \fBflag\fR to \fI\fBSDL_SetVideoMode\fP\fR the user is allowed to resize the applications window\&. When the window is resized an \fBSDL_VIDEORESIZE\fP is report, with the new window width and height values stored in \fBw\fR and \fBh\fR, respectively\&. When an \fBSDL_VIDEORESIZE\fP is received the window should be resized to the new dimensions using \fI\fBSDL_SetVideoMode\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetVideoMode\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SaveBMP.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SaveBMP.3 new file mode 100644 index 0000000..61e00dd --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SaveBMP.3 @@ -0,0 +1,18 @@ +.TH "SDL_SaveBMP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SaveBMP \- Save an SDL_Surface as a Windows BMP file\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SaveBMP\fP\fR(\fBSDL_Surface *surface, const char *file\fR); +.SH "DESCRIPTION" +.PP +Saves the \fBSDL_Surface\fR \fBsurface\fR as a Windows BMP file named \fBfile\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR if successful or \fB-1\fR if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_LoadBMP\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SemPost.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SemPost.3 new file mode 100644 index 0000000..5487d2d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SemPost.3 @@ -0,0 +1,28 @@ +.TH "SDL_SemPost" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SemPost \- Unlock a semaphore\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_SemPost\fP\fR(\fBSDL_sem *sem\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_SemPost\fP unlocks the semaphore pointed to by \fBsem\fR and atomically increments the semaphores value\&. Threads that were blocking on the semaphore may be scheduled after this call succeeds\&. +.PP +\fBSDL_SemPost\fP should be called after a semaphore is locked by a successful call to \fISDL_SemWait\fR, \fISDL_SemTryWait\fR or \fISDL_SemWaitTimeout\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR if successful or \fB-1\fR if there was an error (leaving the semaphore unchanged)\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_SemPost(my_sem);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SemTryWait.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SemTryWait.3 new file mode 100644 index 0000000..aee9aff --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SemTryWait.3 @@ -0,0 +1,41 @@ +.TH "SDL_SemTryWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SemTryWait \- Attempt to lock a semaphore but don\&'t suspend the thread\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_SemTryWait\fP\fR(\fBSDL_sem *sem\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_SemTryWait\fP is a non-blocking varient of \fI\fBSDL_SemWait\fP\fR\&. If the value of the semaphore pointed to by \fBsem\fR is positive it will atomically decrement the semaphore value and return 0, otherwise it will return \fBSDL_MUTEX_TIMEOUT\fR instead of suspending the thread\&. +.PP +After \fBSDL_SemTryWait\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR if the semaphore was successfully locked or either \fBSDL_MUTEX_TIMEOUT\fR or \fB-1\fR if the thread would have suspended or there was an error, respectivly\&. +.PP +If the semaphore was not successfully locked, the semaphore will be unchanged\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWres = SDL_SemTryWait(my_sem); + +if (res == SDL_MUTEX_TIMEOUT) { + return TRY_AGAIN; +} +if (res == -1) { + return WAIT_ERROR; +} + +\&.\&.\&. + +SDL_SemPost(my_sem);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SemValue.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SemValue.3 new file mode 100644 index 0000000..0703143 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SemValue.3 @@ -0,0 +1,26 @@ +.TH "SDL_SemValue" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SemValue \- Return the current value of a semaphore\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL/SDL_thread\&.h" +.sp +\fBUint32 \fBSDL_SemValue\fP\fR(\fBSDL_sem *sem\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_SemValue()\fP returns the current semaphore value from the semaphore pointed to by \fBsem\fR\&. +.SH "RETURN VALUE" +.PP +Returns current value of the semaphore\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CW sem_value = SDL_SemValue(my_sem);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SemWait.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SemWait.3 new file mode 100644 index 0000000..b7bba3f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SemWait.3 @@ -0,0 +1,34 @@ +.TH "SDL_SemWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SemWait \- Lock a semaphore and suspend the thread if the semaphore value is zero\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_SemWait\fP\fR(\fBSDL_sem *sem\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_SemWait()\fP suspends the calling thread until either the semaphore pointed to by \fBsem\fR has a positive value, the call is interrupted by a signal or error\&. If the call is successful it will atomically decrement the semaphore value\&. +.PP +After \fBSDL_SemWait()\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR if successful or \fB-1\fR if there was an error (leaving the semaphore unchanged)\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWif (SDL_SemWait(my_sem) == -1) { + return WAIT_FAILED; +} + +\&.\&.\&. + +SDL_SemPost(my_sem);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SemWaitTimeout.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SemWaitTimeout.3 new file mode 100644 index 0000000..8afd1cb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SemWaitTimeout.3 @@ -0,0 +1,41 @@ +.TH "SDL_SemWaitTimeout" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SemWaitTimeout \- Lock a semaphore, but only wait up to a specified maximum time\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_SemWaitTimeout\fP\fR(\fBSDL_sem *sem, Uint32 timeout\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_SemWaitTimeout()\fP is a varient of \fISDL_SemWait\fR with a maximum timeout value\&. If the value of the semaphore pointed to by \fBsem\fR is positive (greater than zero) it will atomically decrement the semaphore value and return 0, otherwise it will wait up to \fBtimeout\fR milliseconds trying to lock the semaphore\&. This function is to be avoided if possible since on some platforms it is implemented by polling the semaphore every millisecond in a busy loop\&. +.PP +After \fBSDL_SemWaitTimeout()\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR if the semaphore was successfully locked or either \fBSDL_MUTEX_TIMEOUT\fR or \fB-1\fR if the timeout period was exceeded or there was an error, respectivly\&. +.PP +If the semaphore was not successfully locked, the semaphore will be unchanged\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWres = SDL_SemWaitTimeout(my_sem, WAIT_TIMEOUT_MILLISEC); + +if (res == SDL_MUTEX_TIMEOUT) { + return TRY_AGAIN; +} +if (res == -1) { + return WAIT_ERROR; +} + +\&.\&.\&. + +SDL_SemPost(my_sem);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetAlpha.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetAlpha.3 new file mode 100644 index 0000000..282ecde --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetAlpha.3 @@ -0,0 +1,66 @@ +.TH "SDL_SetAlpha" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetAlpha \- Adjust the alpha properties of a surface +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetAlpha\fP\fR(\fBSDL_Surface *surface, Uint32 flag, Uint8 alpha\fR); +.SH "DESCRIPTION" +.PP +.RS +\fBNote: +.PP +This function and the semantics of SDL alpha blending have changed since version 1\&.1\&.4\&. Up until version 1\&.1\&.5, an alpha value of 0 was considered opaque and a value of 255 was considered transparent\&. This has now been inverted: 0 (\fBSDL_ALPHA_TRANSPARENT\fP) is now considered transparent and 255 (\fBSDL_ALPHA_OPAQUE\fP) is now considered opaque\&. +.RE +.PP +\fBSDL_SetAlpha\fP is used for setting the per-surface alpha value and/or enabling and disabling alpha blending\&. +.PP +The\fBsurface\fR parameter specifies which surface whose alpha attributes you wish to adjust\&. \fBflags\fR is used to specify whether alpha blending should be used (\fBSDL_SRCALPHA\fP) and whether the surface should use RLE acceleration for blitting (\fBSDL_RLEACCEL\fP)\&. \fBflags\fR can be an OR\&'d combination of these two options, one of these options or 0\&. If \fBSDL_SRCALPHA\fP is not passed as a flag then all alpha information is ignored when blitting the surface\&. The \fBalpha\fR parameter is the per-surface alpha value; a surface need not have an alpha channel to use per-surface alpha and blitting can still be accelerated with \fBSDL_RLEACCEL\fP\&. +.PP +.RS +\fBNote: +.PP +The per-surface alpha value of 128 is considered a special case and is optimised, so it\&'s much faster than other per-surface values\&. +.RE +.PP +Alpha effects surface blitting in the following ways: +.TP 20 +RGBA->RGB with \fBSDL_SRCALPHA\fP +The source is alpha-blended with the destination, using the alpha channel\&. \fBSDL_SRCCOLORKEY\fP and the per-surface alpha are ignored\&. +.TP 20 +RGBA->RGB without \fBSDL_SRCALPHA\fP +The RGB data is copied from the source\&. The source alpha channel and the per-surface alpha value are ignored\&. +.TP 20 +RGB->RGBA with \fBSDL_SRCALPHA\fP +The source is alpha-blended with the destination using the per-surface alpha value\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. The alpha channel of the copied pixels is set to opaque\&. +.TP 20 +RGB->RGBA without \fBSDL_SRCALPHA\fP +The RGB data is copied from the source and the alpha value of the copied pixels is set to opaque\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. +.TP 20 +RGBA->RGBA with \fBSDL_SRCALPHA\fP +The source is alpha-blended with the destination using the source alpha channel\&. The alpha channel in the destination surface is left untouched\&. \fBSDL_SRCCOLORKEY\fP is ignored\&. +.TP 20 +RGBA->RGBA without \fBSDL_SRCALPHA\fP +The RGBA data is copied to the destination surface\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. +.TP 20 +RGB->RGB with \fBSDL_SRCALPHA\fP +The source is alpha-blended with the destination using the per-surface alpha value\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. +.TP 20 +RGB->RGB without \fBSDL_SRCALPHA\fP +The RGB data is copied from the source\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. +.PP +.RS +\fBNote: +.PP + Note that RGBA->RGBA blits (with SDL_SRCALPHA set) keep the alpha of the destination surface\&. This means that you cannot compose two arbitrary RGBA surfaces this way and get the result you would expect from "overlaying" them; the destination alpha will work as a mask\&. +.PP +Also note that per-pixel and per-surface alpha cannot be combined; the per-pixel alpha is always used if available +.RE +.SH "RETURN VALUE" +.PP +This function returns \fB0\fR, or \fB-1\fR if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_DisplayFormatAlpha\fP\fR, \fI\fBSDL_BlitSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetClipRect.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetClipRect.3 new file mode 100644 index 0000000..a1bde08 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetClipRect.3 @@ -0,0 +1,19 @@ +.TH "SDL_SetClipRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetClipRect \- Sets the clipping rectangle for a surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_SetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR); +.SH "DESCRIPTION" +.PP +Sets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle will be drawn into\&. +.PP +The rectangle pointed to by \fBrect\fR will be clipped to the edges of the surface so that the clip rectangle for a surface can never fall outside the edges of the surface\&. +.PP +If \fBrect\fR is \fBNULL\fP the clipping rectangle will be set to the full size of the surface\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetClipRect\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetColorKey.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetColorKey.3 new file mode 100644 index 0000000..36f8893 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetColorKey.3 @@ -0,0 +1,26 @@ +.TH "SDL_SetColorKey" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetColorKey \- Sets the color key (transparent pixel) in a blittable surface and RLE acceleration\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetColorKey\fP\fR(\fBSDL_Surface *surface, Uint32 flag, Uint32 key\fR); +.SH "DESCRIPTION" +.PP + Sets the color key (transparent pixel) in a blittable surface and enables or disables RLE blit acceleration\&. +.PP +RLE acceleration can substantially speed up blitting of images with large horizontal runs of transparent pixels (i\&.e\&., pixels that match the \fBkey\fR value)\&. The \fBkey\fR must be of the same pixel format as the \fBsurface\fR, \fI\fBSDL_MapRGB\fP\fR is often useful for obtaining an acceptable value\&. +.PP +If \fBflag\fR is \fBSDL_SRCCOLORKEY\fP then \fBkey\fR is the transparent pixel value in the source image of a blit\&. +.PP +If \fBflag\fR is OR\&'d with \fBSDL_RLEACCEL\fP then the surface will be draw using RLE acceleration when drawn with \fISDL_BlitSurface\fR\&. The surface will actually be encoded for RLE acceleration the first time \fISDL_BlitSurface\fR or \fISDL_DisplayFormat\fR is called on the surface\&. +.PP +If \fBflag\fR is 0, this function clears any current color key\&. +.SH "RETURN VALUE" +.PP +This function returns \fB0\fR, or \fB-1\fR if there was an error\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_DisplayFormat\fP\fR, \fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_SetAlpha\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetColors.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetColors.3 new file mode 100644 index 0000000..7137a6c --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetColors.3 @@ -0,0 +1,57 @@ +.TH "SDL_SetColors" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetColors \- Sets a portion of the colormap for the given 8-bit surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetColors\fP\fR(\fBSDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors\fR); +.SH "DESCRIPTION" +.PP +Sets a portion of the colormap for the given 8-bit surface\&. +.PP +When \fBsurface\fR is the surface associated with the current display, the display colormap will be updated with the requested colors\&. If \fBSDL_HWPALETTE\fP was set in \fISDL_SetVideoMode\fR flags, \fBSDL_SetColors\fP will always return \fB1\fR, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation\&. +.PP +The color components of a \fI\fBSDL_Color\fR\fR structure are 8-bits in size, giving you a total of 256^3 =16777216 colors\&. +.PP +Palettized (8-bit) screen surfaces with the \fBSDL_HWPALETTE\fP flag have two palettes, a logical palette that is used for mapping blits to/from the surface and a physical palette (that determines how the hardware will map the colors to the display)\&. \fBSDL_SetColors\fP modifies both palettes (if present), and is equivalent to calling \fISDL_SetPalette\fR with the \fBflags\fR set to \fB(SDL_LOGPAL | SDL_PHYSPAL)\fP\&. +.SH "RETURN VALUE" +.PP +If \fBsurface\fR is not a palettized surface, this function does nothing, returning \fB0\fR\&. If all of the colors were set as passed to \fBSDL_SetColors\fP, it will return \fB1\fR\&. If not all the color entries were set exactly as given, it will return \fB0\fR, and you should look at the surface palette to determine the actual color palette\&. +.SH "EXAMPLE" +.PP +.nf +\f(CW/* Create a display surface with a grayscale palette */ +SDL_Surface *screen; +SDL_Color colors[256]; +int i; +\&. +\&. +\&. +/* Fill colors with color information */ +for(i=0;i<256;i++){ + colors[i]\&.r=i; + colors[i]\&.g=i; + colors[i]\&.b=i; +} + +/* Create display */ +screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE); +if(!screen){ + printf("Couldn\&'t set video mode: %s +", SDL_GetError()); + exit(-1); +} + +/* Set palette */ +SDL_SetColors(screen, colors, 0, 256); +\&. +\&. +\&. +\&.\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Color\fR\fR \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_SetPalette\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetCursor.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetCursor.3 new file mode 100644 index 0000000..78c4cf9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetCursor.3 @@ -0,0 +1,15 @@ +.TH "SDL_SetCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetCursor \- Set the currently active mouse cursor\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_SetCursor\fP\fR(\fBSDL_Cursor *cursor\fR); +.SH "DESCRIPTION" +.PP +Sets the currently active cursor to the specified one\&. If the cursor is currently visible, the change will be immediately represented on the display\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetCursor\fP\fR, \fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetEventFilter.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetEventFilter.3 new file mode 100644 index 0000000..8d3ed03 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetEventFilter.3 @@ -0,0 +1,35 @@ +.TH "SDL_SetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetEventFilter \- Sets up a filter to process all events before they are posted to the event queue\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_SetEventFilter\fP\fR(\fBSDL_EventFilter filter\fR); +.SH "DESCRIPTION" +.PP +This function sets up a filter to process all events before they are posted to the event queue\&. This is a very powerful and flexible feature\&. The filter is prototyped as: +.PP +.nf +\f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR +.fi +.PP + If the filter returns \fB1\fR, then the event will be added to the internal queue\&. If it returns \fB0\fR, then the event will be dropped from the queue\&. This allows selective filtering of dynamically\&. +.PP +There is one caveat when dealing with the \fBSDL_QUITEVENT\fP event type\&. The event filter is only called when the window manager desires to close the application window\&. If the event filter returns 1, then the window will be closed, otherwise the window will remain open if possible\&. If the quit event is generated by an interrupt signal, it will bypass the internal queue and be delivered to the application at the next event poll\&. +.PP +.RS +\fBNote: +.PP +Events pushed onto the queue with \fI\fBSDL_PushEvent\fP\fR or \fI\fBSDL_PeepEvents\fP\fR do not get passed through the event filter\&. +.RE +.PP +.RS +\fBNote: +.PP +\fIBe Careful!\fP The event filter function may run in a different thread so be careful what you do within it\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_GetEventFilter\fP\fR, \fI\fBSDL_PushEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetGamma.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetGamma.3 new file mode 100644 index 0000000..4897272 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetGamma.3 @@ -0,0 +1,22 @@ +.TH "SDL_SetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetGamma \- Sets the color gamma function for the display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetGamma\fP\fR(\fBfloat redgamma, float greengamma, float bluegamma\fR); +.SH "DESCRIPTION" +.PP +Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&. +.PP +This function adjusts the gamma based on the "gamma function" parameter, you can directly specify lookup tables for gamma adjustment with \fISDL_SetGammaRamp\fR\&. +.PP +Not all display hardware is able to change gamma\&. +.SH "RETURN VALUE" +.PP +Returns -1 on error (or if gamma adjustment is not supported)\&. +.SH "SEE ALSO" +.PP +\fISDL_GetGammaRamp\fR \fISDL_SetGammaRamp\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetGammaRamp.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetGammaRamp.3 new file mode 100644 index 0000000..52bf9f5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetGammaRamp.3 @@ -0,0 +1,22 @@ +.TH "SDL_SetGammaRamp" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetGammaRamp \- Sets the color gamma lookup tables for the display +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetGammaRamp\fP\fR(\fBUint16 *redtable, Uint16 *greentable, Uint16 *bluetable\fR); +.SH "DESCRIPTION" +.PP +Sets the gamma lookup tables for the display for each color component\&. Each table is an array of 256 Uint16 values, representing a mapping between the input and output for that channel\&. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision\&. You may pass NULL to any of the channels to leave them unchanged\&. +.PP +This function adjusts the gamma based on lookup tables, you can also have the gamma calculated based on a "gamma function" parameter with \fISDL_SetGamma\fR\&. +.PP +Not all display hardware is able to change gamma\&. +.SH "RETURN VALUE" +.PP +Returns -1 on error (or if gamma adjustment is not supported)\&. +.SH "SEE ALSO" +.PP +\fISDL_SetGamma\fR \fISDL_GetGammaRamp\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetModState.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetModState.3 new file mode 100644 index 0000000..f356ca1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetModState.3 @@ -0,0 +1,35 @@ +.TH "SDL_SetModState" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetModState \- Set the current key modifier state +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_SetModState\fP\fR(\fBSDLMod modstate\fR); +.SH "DESCRIPTION" +.PP +The inverse of \fI\fBSDL_GetModState\fP\fR, \fBSDL_SetModState\fP allows you to impose modifier key states on your application\&. +.PP +Simply pass your desired modifier states into \fBmodstate\fR\&. This value my be a logical OR\&'d combination of the following: +.PP +.nf +\f(CWtypedef enum { + KMOD_NONE = 0x0000, + KMOD_LSHIFT= 0x0001, + KMOD_RSHIFT= 0x0002, + KMOD_LCTRL = 0x0040, + KMOD_RCTRL = 0x0080, + KMOD_LALT = 0x0100, + KMOD_RALT = 0x0200, + KMOD_LMETA = 0x0400, + KMOD_RMETA = 0x0800, + KMOD_NUM = 0x1000, + KMOD_CAPS = 0x2000, + KMOD_MODE = 0x4000, +} SDLMod;\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_GetModState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetPalette.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetPalette.3 new file mode 100644 index 0000000..a2ca3f6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetPalette.3 @@ -0,0 +1,59 @@ +.TH "SDL_SetPalette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetPalette \- Sets the colors in the palette of an 8-bit surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetPalette\fP\fR(\fBSDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors\fR); +.SH "DESCRIPTION" +.PP +Sets a portion of the palette for the given 8-bit surface\&. +.PP +Palettized (8-bit) screen surfaces with the \fBSDL_HWPALETTE\fP flag have two palettes, a logical palette that is used for mapping blits to/from the surface and a physical palette (that determines how the hardware will map the colors to the display)\&. \fISDL_BlitSurface\fR always uses the logical palette when blitting surfaces (if it has to convert between surface pixel formats)\&. Because of this, it is often useful to modify only one or the other palette to achieve various special color effects (e\&.g\&., screen fading, color flashes, screen dimming)\&. +.PP +This function can modify either the logical or physical palette by specifing \fBSDL_LOGPAL\fP or \fBSDL_PHYSPAL\fPthe in the \fBflags\fR parameter\&. +.PP +When \fBsurface\fR is the surface associated with the current display, the display colormap will be updated with the requested colors\&. If \fBSDL_HWPALETTE\fP was set in \fISDL_SetVideoMode\fR flags, \fBSDL_SetPalette\fP will always return \fB1\fR, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation\&. +.PP +The color components of a \fI\fBSDL_Color\fR\fR structure are 8-bits in size, giving you a total of 256^3=16777216 colors\&. +.SH "RETURN VALUE" +.PP +If \fBsurface\fR is not a palettized surface, this function does nothing, returning \fB0\fR\&. If all of the colors were set as passed to \fBSDL_SetPalette\fP, it will return \fB1\fR\&. If not all the color entries were set exactly as given, it will return \fB0\fR, and you should look at the surface palette to determine the actual color palette\&. +.SH "EXAMPLE" +.PP +.nf +\f(CW /* Create a display surface with a grayscale palette */ + SDL_Surface *screen; + SDL_Color colors[256]; + int i; + \&. + \&. + \&. + /* Fill colors with color information */ + for(i=0;i<256;i++){ + colors[i]\&.r=i; + colors[i]\&.g=i; + colors[i]\&.b=i; + } + + /* Create display */ + screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE); + if(!screen){ + printf("Couldn\&'t set video mode: %s +", SDL_GetError()); + exit(-1); + } + + /* Set palette */ + SDL_SetPalette(screen, SDL_LOGPAL|SDL_PHYSPAL, colors, 0, 256); + \&. + \&. + \&. + \&.\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fISDL_SetColors\fR, \fISDL_SetVideoMode\fR, \fISDL_Surface\fR, \fISDL_Color\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetTimer.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetTimer.3 new file mode 100644 index 0000000..418ac86 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetTimer.3 @@ -0,0 +1,39 @@ +.TH "SDL_SetTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetTimer \- Set a callback to run after the specified number of milliseconds has elapsed\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_SetTimer\fP\fR(\fBUint32 interval, SDL_TimerCallback callback\fR); +.SH "CALLBACK" +.PP +/* Function prototype for the timer callback function */ typedef Uint32 (*SDL_TimerCallback)(Uint32 interval); +.SH "DESCRIPTION" +.PP +Set a callback to run after the specified number of milliseconds has elapsed\&. The callback function is passed the current timer interval and returns the next timer interval\&. If the returned value is the same as the one passed in, the periodic alarm continues, otherwise a new alarm is scheduled\&. +.PP +To cancel a currently running timer, call \fBSDL_SetTimer(0, NULL);\fP +.PP +The timer callback function may run in a different thread than your main constant, and so shouldn\&'t call any functions from within itself\&. +.PP +The maximum resolution of this timer is 10 ms, which means that if you request a 16 ms timer, your callback will run approximately 20 ms later on an unloaded system\&. If you wanted to set a flag signaling a frame update at 30 frames per second (every 33 ms), you might set a timer for 30 ms (see example below)\&. +.PP +If you use this function, you need to pass \fBSDL_INIT_TIMER\fP to \fBSDL_Init()\fP\&. +.PP +.RS +\fBNote: +.PP +This function is kept for compatibility but has been superseded by the new timer functions \fISDL_AddTimer\fR and \fISDL_RemoveTimer\fR which support multiple timers\&. +.RE +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_SetTimer((33/10)*10, my_callback);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_AddTimer\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SetVideoMode.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SetVideoMode.3 new file mode 100644 index 0000000..95defb1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SetVideoMode.3 @@ -0,0 +1,67 @@ +.TH "SDL_SetVideoMode" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SetVideoMode \- Set up a video mode with the specified width, height and bits-per-pixel\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_Surface *\fBSDL_SetVideoMode\fP\fR(\fBint width, int height, int bpp, Uint32 flags\fR); +.SH "DESCRIPTION" +.PP +Set up a video mode with the specified width, height and bits-per-pixel\&. +.PP +If \fBbpp\fR is 0, it is treated as the current display bits per pixel\&. +.PP +The \fBflags\fR parameter is the same as the \fBflags\fR field of the \fI\fBSDL_Surface\fR\fR structure\&. OR\&'d combinations of the following values are valid\&. +.TP 20 +\fBSDL_SWSURFACE\fP +Create the video surface in system memory +.TP 20 +\fBSDL_HWSURFACE\fP +Create the video surface in video memory +.TP 20 +\fBSDL_ASYNCBLIT\fP +Enables the use of asynchronous updates of the display surface\&. This will usually slow down blitting on single CPU machines, but may provide a speed increase on SMP systems\&. +.TP 20 +\fBSDL_ANYFORMAT\fP +Normally, if a video surface of the requested bits-per-pixel (\fBbpp\fR) is not available, SDL will emulate one with a shadow surface\&. Passing \fBSDL_ANYFORMAT\fP prevents this and causes SDL to use the video surface, regardless of its pixel depth\&. +.TP 20 +\fBSDL_HWPALETTE\fP +Give SDL exclusive palette access\&. Without this flag you may not always get the the colors you request with \fI\fBSDL_SetColors\fP\fR or \fI\fBSDL_SetPalette\fP\fR\&. +.TP 20 +\fBSDL_DOUBLEBUF\fP +Enable hardware double buffering; only valid with SDL_HWSURFACE\&. Calling \fI\fBSDL_Flip\fP\fR will flip the buffers and update the screen\&. All drawing will take place on the surface that is not displayed at the moment\&. If double buffering could not be enabled then \fBSDL_Flip\fP will just perform a \fI\fBSDL_UpdateRect\fP\fR on the entire screen\&. +.TP 20 +\fBSDL_FULLSCREEN\fP +SDL will attempt to use a fullscreen mode\&. If a hardware resolution change is not possible (for whatever reason), the next higher resolution will be used and the display window centered on a black background\&. +.TP 20 +\fBSDL_OPENGL\fP +Create an OpenGL rendering context\&. You should have previously set OpenGL video attributes with \fI\fBSDL_GL_SetAttribute\fP\fR\&. +.TP 20 +\fBSDL_OPENGLBLIT\fP +Create an OpenGL rendering context, like above, but allow normal blitting operations\&. The screen (2D) surface may have an alpha channel, and \fI\fBSDL_UpdateRects\fP\fR must be used for updating changes to the screen surface\&. +.TP 20 +\fBSDL_RESIZABLE\fP +Create a resizable window\&. When the window is resized by the user a \fI\fBSDL_VIDEORESIZE\fP\fR event is generated and \fBSDL_SetVideoMode\fP can be called again with the new size\&. +.TP 20 +\fBSDL_NOFRAME\fP +If possible, \fBSDL_NOFRAME\fP causes SDL to create a window with no title bar or frame decoration\&. Fullscreen modes automatically have this flag set\&. +.PP +.RS +\fBNote: +.PP +Whatever \fBflags\fR \fBSDL_SetVideoMode\fP could satisfy are set in the \fBflags\fR member of the returned surface\&. +.RE +.PP +.RS +\fBNote: +.PP +The \fBbpp\fR parameter is the number of bits per pixel, so a \fBbpp\fR of 24 uses the packed representation of 3 bytes/pixel\&. For the more common 4 bytes/pixel mode, use a \fBbpp\fR of 32\&. Somewhat oddly, both 15 and 16 will request a 2 bytes/pixel mode, but different pixel formats\&. +.RE +.SH "RETURN VALUE" +.PP +The framebuffer surface, or \fBNULL\fR if it fails\&. The surface returned is freed by SDL_Quit() and should nt be freed by the caller\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Flip\fP\fR, \fI\fBSDL_Surface\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ShowCursor.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ShowCursor.3 new file mode 100644 index 0000000..0376415 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ShowCursor.3 @@ -0,0 +1,20 @@ +.TH "SDL_ShowCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ShowCursor \- Toggle whether or not the cursor is shown on the screen\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_ShowCursor\fP\fR(\fBint toggle\fR); +.SH "DESCRIPTION" +.PP +Toggle whether or not the cursor is shown on the screen\&. Passing \fBSDL_ENABLE\fP displays the cursor and passing \fBSDL_DISABLE\fP hides it\&. The current state of the mouse cursor can be queried by passing \fBSDL_QUERY\fP, either \fBSDL_DISABLE\fP or \fBSDL_ENABLE\fP will be returned\&. +.PP +The cursor starts off displayed, but can be turned off\&. +.SH "RETURN VALUE" +.PP +Returns the current state of the cursor\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_SetCursor\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_Surface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_Surface.3 new file mode 100644 index 0000000..03d6ff9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_Surface.3 @@ -0,0 +1,96 @@ +.TH "SDL_Surface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_Surface \- Graphical Surface Structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct SDL_Surface { + Uint32 flags; /* Read-only */ + SDL_PixelFormat *format; /* Read-only */ + int w, h; /* Read-only */ + Uint16 pitch; /* Read-only */ + void *pixels; /* Read-write */ + + /* clipping information */ + SDL_Rect clip_rect; /* Read-only */ + + /* Reference count -- used when freeing surface */ + int refcount; /* Read-mostly */ + + /* This structure also contains private fields not shown here */ +} SDL_Surface;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBflags\fR +Surface flags +.TP 20 +\fBformat\fR +Pixel \fIformat\fR +.TP 20 +\fBw, h\fR +Width and height of the surface +.TP 20 +\fBpitch\fR +Length of a surface scanline in bytes +.TP 20 +\fBpixels\fR +Pointer to the actual pixel data +.TP 20 +\fBclip_rect\fR +surface clip \fIrectangle\fR +.SH "DESCRIPTION" +.PP +\fBSDL_Surface\fR\&'s represent areas of "graphical" memory, memory that can be drawn to\&. The video framebuffer is returned as a \fBSDL_Surface\fR by \fI\fBSDL_SetVideoMode\fP\fR and \fI\fBSDL_GetVideoSurface\fP\fR\&. Most of the fields should be pretty obvious\&. \fBw\fR and \fBh\fR are the width and height of the surface in pixels\&. \fBpixels\fR is a pointer to the actual pixel data, the surface should be \fIlocked\fR before accessing this field\&. The \fBclip_rect\fR field is the clipping rectangle as set by \fI\fBSDL_SetClipRect\fP\fR\&. +.PP +The following are supported in the \fBflags\fR field\&. +.TP 20 +\fBSDL_SWSURFACE\fP +Surface is stored in system memory +.TP 20 +\fBSDL_HWSURFACE\fP +Surface is stored in video memory +.TP 20 +\fBSDL_ASYNCBLIT\fP +Surface uses asynchronous blits if possible +.TP 20 +\fBSDL_ANYFORMAT\fP +Allows any pixel-format (Display surface) +.TP 20 +\fBSDL_HWPALETTE\fP +Surface has exclusive palette +.TP 20 +\fBSDL_DOUBLEBUF\fP +Surface is double buffered (Display surface) +.TP 20 +\fBSDL_FULLSCREEN\fP +Surface is full screen (Display Surface) +.TP 20 +\fBSDL_OPENGL\fP +Surface has an OpenGL context (Display Surface) +.TP 20 +\fBSDL_OPENGLBLIT\fP +Surface supports OpenGL blitting (Display Surface) +.TP 20 +\fBSDL_RESIZABLE\fP +Surface is resizable (Display Surface) +.TP 20 +\fBSDL_HWACCEL\fP +Surface blit uses hardware acceleration +.TP 20 +\fBSDL_SRCCOLORKEY\fP +Surface use colorkey blitting +.TP 20 +\fBSDL_RLEACCEL\fP +Colorkey blitting is accelerated with RLE +.TP 20 +\fBSDL_SRCALPHA\fP +Surface blit uses alpha blending +.TP 20 +\fBSDL_PREALLOC\fP +Surface uses preallocated memory +.SH "SEE ALSO" +.PP +\fI\fBSDL_PixelFormat\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_SysWMEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_SysWMEvent.3 new file mode 100644 index 0000000..ca1b7ab --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_SysWMEvent.3 @@ -0,0 +1,21 @@ +.TH "SDL_SysWMEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_SysWMEvent \- Platform-dependent window manager event\&. +.SH "DESCRIPTION" +.PP +The system window manager event contains a pointer to system-specific information about unknown window manager events\&. If you enable this event using \fI\fBSDL_EventState()\fP\fR, it will be generated whenever unhandled events are received from the window manager\&. This can be used, for example, to implement cut-and-paste in your application\&. +.PP +.nf +\f(CWtypedef struct { + Uint8 type; /* Always SDL_SysWM */ + } SDL_SysWMEvent;\fR +.fi +.PP + If you want to obtain system-specific information about the window manager, you can fill the version member of a \fBSDL_SysWMinfo\fR structure (details can be found in \fBSDL_syswm\&.h\fP, which must be included) using the \fBSDL_VERSION()\fP macro found in \fBSDL_version\&.h\fP, and pass it to the function: +.PP +.sp +\fBint \fBSDL_GetWMInfo\fP\fR(\fBSDL_SysWMinfo *info\fR); +.SH "SEE ALSO" +.PP +\fI\fBSDL_EventState\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_ThreadID.3 b/distrib/sdl-1.2.15/docs/man3/SDL_ThreadID.3 new file mode 100644 index 0000000..10e2cf8 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_ThreadID.3 @@ -0,0 +1,13 @@ +.TH "SDL_ThreadID" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_ThreadID \- Get the 32-bit thread identifier for the current thread\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBUint32 \fBSDL_ThreadID\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +Get the 32-bit thread identifier for the current thread\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UnlockAudio.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockAudio.3 new file mode 100644 index 0000000..8506319 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockAudio.3 @@ -0,0 +1,15 @@ +.TH "SDL_UnlockAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UnlockAudio \- Unlock the callback function +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_UnlockAudio\fP\fR(\fBvoid\fR) +.SH "DESCRIPTION" +.PP +Unlocks a previous \fI\fBSDL_LockAudio\fP\fR call\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_OpenAudio\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UnlockSurface.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockSurface.3 new file mode 100644 index 0000000..a3fe5c9 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockSurface.3 @@ -0,0 +1,17 @@ +.TH "SDL_UnlockSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UnlockSurface \- Unlocks a previously locked surface\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_UnlockSurface\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +Surfaces that were previously locked using \fBSDL_LockSurface\fP must be unlocked with \fBSDL_UnlockSurface\fP\&. Surfaces should be unlocked as soon as possible\&. +.PP +It should be noted that since 1\&.1\&.8, surface locks are recursive\&. See \fI\fBSDL_LockSurface\fP\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_LockSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UnlockYUVOverlay.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockYUVOverlay.3 new file mode 100644 index 0000000..1e6b721 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UnlockYUVOverlay.3 @@ -0,0 +1,15 @@ +.TH "SDL_UnlockYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UnlockYUVOverlay \- Unlock an overlay +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_UnlockYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR); +.SH "DESCRIPTION" +.PP +The opposite to \fI\fBSDL_LockYUVOverlay\fP\fR\&. Unlocks a previously locked overlay\&. An overlay must be unlocked before it can be displayed\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_Overlay\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRect.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRect.3 new file mode 100644 index 0000000..a101a83 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRect.3 @@ -0,0 +1,19 @@ +.TH "SDL_UpdateRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UpdateRect \- Makes sure the given area is updated on the given screen\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_UpdateRect\fP\fR(\fBSDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h\fR); +.SH "DESCRIPTION" +.PP +Makes sure the given area is updated on the given screen\&. The rectangle must be confined within the screen boundaries (no clipping is done)\&. +.PP +If \&'\fBx\fR\&', \&'\fBy\fR\&', \&'\fBw\fR\&' and \&'\fBh\fR\&' are all 0, \fBSDL_UpdateRect\fP will update the entire screen\&. +.PP +This function should not be called while \&'\fBscreen\fR\&' is \fIlocked\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_UpdateRects\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_LockSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRects.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRects.3 new file mode 100644 index 0000000..9ffdb08 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UpdateRects.3 @@ -0,0 +1,25 @@ +.TH "SDL_UpdateRects" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UpdateRects \- Makes sure the given list of rectangles is updated on the given screen\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_UpdateRects\fP\fR(\fBSDL_Surface *screen, int numrects, SDL_Rect *rects\fR); +.SH "DESCRIPTION" +.PP +Makes sure the given list of rectangles is updated on the given screen\&. The rectangles must all be confined within the screen boundaries (no clipping is done)\&. +.PP +This function should not be called while \fBscreen\fR is \fIlocked\fR\&. +.PP +.RS +\fBNote: +.PP +It is adviced to call this function only once per frame, since each call has some processing overhead\&. This is no restriction since you can pass any number of rectangles each time\&. +.PP +The rectangles are not automatically merged or checked for overlap\&. In general, the programmer can use his knowledge about his particular rectangles to merge them in an efficient way, to avoid overdraw\&. +.RE +.SH "SEE ALSO" +.PP +\fI\fBSDL_UpdateRect\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_LockSurface\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_UserEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_UserEvent.3 new file mode 100644 index 0000000..d92ec53 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_UserEvent.3 @@ -0,0 +1,47 @@ +.TH "SDL_UserEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_UserEvent \- A user-defined event type +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 type; + int code; + void *data1; + void *data2; +} SDL_UserEvent;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBtype\fR +\fBSDL_USEREVENT\fP through to \fBSDL_NUMEVENTS-1\fP +.TP 20 +\fBcode\fR +User defined event code +.TP 20 +\fBdata1\fR +User defined data pointer +.TP 20 +\fBdata2\fR +User defined data pointer +.SH "DESCRIPTION" +.PP +\fBSDL_UserEvent\fR is in the \fBuser\fR member of the structure \fI\fBSDL_Event\fR\fR\&. This event is unique, it is never created by SDL but only by the user\&. The event can be pushed onto the event queue using \fI\fBSDL_PushEvent\fP\fR\&. The contents of the structure members or completely up to the programmer, the only requirement is that \fBtype\fR is a value from \fBSDL_USEREVENT\fP to \fBSDL_NUMEVENTS-1\fP (inclusive)\&. +.SH "EXAMPLES" +.PP +.PP +.nf +\f(CWSDL_Event event; + +event\&.type = SDL_USEREVENT; +event\&.user\&.code = my_event_code; +event\&.user\&.data1 = significant_data; +event\&.user\&.data2 = 0; +SDL_PushEvent(&event);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PushEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_VideoDriverName.3 b/distrib/sdl-1.2.15/docs/man3/SDL_VideoDriverName.3 new file mode 100644 index 0000000..e8563b6 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_VideoDriverName.3 @@ -0,0 +1,18 @@ +.TH "SDL_VideoDriverName" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_VideoDriverName \- Obtain the name of the video driver +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBchar *\fBSDL_VideoDriverName\fP\fR(\fBchar *namebuf, int maxlen\fR); +.SH "DESCRIPTION" +.PP +The buffer pointed to by \fBnamebuf\fR is filled up to a maximum of \fBmaxlen\fR characters (include the NULL terminator) with the name of the initialised video driver\&. The driver name is a simple one word identifier like "x11" or "windib"\&. +.SH "RETURN VALUE" +.PP +Returns \fBNULL\fP if video has not been initialised with \fBSDL_Init\fP or a pointer to \fBnamebuf\fR otherwise\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Init\fP\fR \fI\fBSDL_InitSubSystem\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_VideoInfo.3 b/distrib/sdl-1.2.15/docs/man3/SDL_VideoInfo.3 new file mode 100644 index 0000000..c62e1ff --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_VideoInfo.3 @@ -0,0 +1,62 @@ +.TH "SDL_VideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_VideoInfo \- Video Target information +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint32 hw_available:1; + Uint32 wm_available:1; + Uint32 blit_hw:1; + Uint32 blit_hw_CC:1; + Uint32 blit_hw_A:1; + Uint32 blit_sw:1; + Uint32 blit_sw_CC:1; + Uint32 blit_sw_A:1; + Uint32 blit_fill; + Uint32 video_mem; + SDL_PixelFormat *vfmt; +} SDL_VideoInfo;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBhw_available\fR +Is it possible to create hardware surfaces? +.TP 20 +\fBwm_available\fR +Is there a window manager available +.TP 20 +\fBblit_hw\fR +Are hardware to hardware blits accelerated? +.TP 20 +\fBblit_hw_CC\fR +Are hardware to hardware colorkey blits accelerated? +.TP 20 +\fBblit_hw_A\fR +Are hardware to hardware alpha blits accelerated? +.TP 20 +\fBblit_sw\fR +Are software to hardware blits accelerated? +.TP 20 +\fBblit_sw_CC\fR +Are software to hardware colorkey blits accelerated? +.TP 20 +\fBblit_sw_A\fR +Are software to hardware alpha blits accelerated? +.TP 20 +\fBblit_fill\fR +Are color fills accelerated? +.TP 20 +\fBvideo_mem\fR +Total amount of video memory in Kilobytes +.TP 20 +\fBvfmt\fR +\fIPixel format\fR of the video device +.SH "DESCRIPTION" +.PP +This (read-only) structure is returned by \fI\fBSDL_GetVideoInfo\fP\fR\&. It contains information on either the \&'best\&' available mode (if called before \fI\fBSDL_SetVideoMode\fP\fR) or the current video mode\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_GetVideoInfo\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_VideoModeOK.3 b/distrib/sdl-1.2.15/docs/man3/SDL_VideoModeOK.3 new file mode 100644 index 0000000..72c9a90 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_VideoModeOK.3 @@ -0,0 +1,44 @@ +.TH "SDL_VideoModeOK" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_VideoModeOK \- Check to see if a particular video mode is supported\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_VideoModeOK\fP\fR(\fBint width, int height, int bpp, Uint32 flags\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_VideoModeOK\fP returns \fB0\fR if the requested mode is not supported under any bit depth, or returns the bits-per-pixel of the closest available mode with the given width, height and requested \fIsurface\fR flags (see \fI\fBSDL_SetVideoMode\fP\fR)\&. +.PP +The bits-per-pixel value returned is only a suggested mode\&. You can usually request and bpp you want when \fIsetting\fR the video mode and SDL will emulate that color depth with a shadow video surface\&. +.PP +The arguments to \fBSDL_VideoModeOK\fP are the same ones you would pass to \fISDL_SetVideoMode\fR +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_Surface *screen; +Uint32 bpp; +\&. +\&. +\&. +printf("Checking mode 640x480@16bpp\&. +"); +bpp=SDL_VideoModeOK(640, 480, 16, SDL_HWSURFACE); + +if(!bpp){ + printf("Mode not available\&. +"); + exit(-1); +} + +printf("SDL Recommends 640x480@%dbpp\&. +", bpp); +screen=SDL_SetVideoMode(640, 480, bpp, SDL_HWSURFACE); +\&. +\&.\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GetVideoInfo\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_GetCaption.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_GetCaption.3 new file mode 100644 index 0000000..68ed8b2 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_GetCaption.3 @@ -0,0 +1,15 @@ +.TH "SDL_WM_GetCaption" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_GetCaption \- Gets the window title and icon name\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_WM_GetCaption\fP\fR(\fBchar **title, char **icon\fR); +.SH "DESCRIPTION" +.PP +Set pointers to the window \fBtitle\fR and \fBicon\fR name\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_WM_SetCaption\fP\fR, \fI\fBSDL_WM_SetIcon\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_GrabInput.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_GrabInput.3 new file mode 100644 index 0000000..556681e --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_GrabInput.3 @@ -0,0 +1,28 @@ +.TH "SDL_WM_GrabInput" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_GrabInput \- Grabs mouse and keyboard input\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBSDL_GrabMode \fBSDL_WM_GrabInput\fP\fR(\fBSDL_GrabMode mode\fR); +.SH "DESCRIPTION" +.PP +Grabbing means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a window manager, if any\&. +.PP +When \fBmode\fR is \fBSDL_GRAB_QUERY\fP the grab mode is not changed, but the current grab mode is returned\&. +.PP +.PP +.nf +\f(CWtypedef enum { + SDL_GRAB_QUERY, + SDL_GRAB_OFF, + SDL_GRAB_ON +} SDL_GrabMode;\fR +.fi +.PP + +.SH "RETURN VALUE" +.PP +The current/new \fBSDL_GrabMode\fR\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_IconifyWindow.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_IconifyWindow.3 new file mode 100644 index 0000000..922df8f --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_IconifyWindow.3 @@ -0,0 +1,15 @@ +.TH "SDL_WM_IconifyWindow" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_IconifyWindow \- Iconify/Minimise the window +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_WM_IconifyWindow\fP\fR(\fBvoid\fR); +.SH "DESCRIPTION" +.PP +If the application is running in a window managed environment SDL attempts to iconify/minimise it\&. If \fBSDL_WM_IconifyWindow\fP is successful, the application will receive a \fI\fBSDL_APPACTIVE\fP\fR loss event\&. +.SH "RETURN VALUE" +.PP +Returns non-zero on success or \fB0\fR if iconification is not support or was refused by the window manager\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetCaption.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetCaption.3 new file mode 100644 index 0000000..847ff5d --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetCaption.3 @@ -0,0 +1,15 @@ +.TH "SDL_WM_SetCaption" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_SetCaption \- Sets the window tile and icon name\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_WM_SetCaption\fP\fR(\fBconst char *title, const char *icon\fR); +.SH "DESCRIPTION" +.PP +Sets the title-bar and icon name of the display window\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_WM_GetCaption\fP\fR, \fI\fBSDL_WM_SetIcon\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetIcon.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetIcon.3 new file mode 100644 index 0000000..3f3a519 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_SetIcon.3 @@ -0,0 +1,27 @@ +.TH "SDL_WM_SetIcon" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_SetIcon \- Sets the icon for the display window\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_WM_SetIcon\fP\fR(\fBSDL_Surface *icon, Uint8 *mask\fR); +.SH "DESCRIPTION" +.PP +Sets the icon for the display window\&. Win32 icons must be 32x32\&. +.PP +This function must be called before the first call to \fISDL_SetVideoMode\fR\&. +.PP +It takes an \fBicon\fR surface, and a \fBmask\fR in MSB format\&. +.PP +If \fBmask\fR is \fBNULL\fP, the entire icon surface will be used as the icon\&. +.SH "EXAMPLE" +.PP +.nf +\f(CWSDL_WM_SetIcon(SDL_LoadBMP("icon\&.bmp"), NULL);\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_WM_SetCaption\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WM_ToggleFullScreen.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WM_ToggleFullScreen.3 new file mode 100644 index 0000000..d4cf8de --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WM_ToggleFullScreen.3 @@ -0,0 +1,15 @@ +.TH "SDL_WM_ToggleFullScreen" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WM_ToggleFullScreen \- Toggles fullscreen mode +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_WM_ToggleFullScreen\fP\fR(\fBSDL_Surface *surface\fR); +.SH "DESCRIPTION" +.PP +Toggles the application between windowed and fullscreen mode, if supported\&. (X11 is the only target currently supported, BeOS support is experimental)\&. +.SH "RETURN VALUE" +.PP +Returns \fB0\fR on failure or \fB1\fR on success\&. +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WaitEvent.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WaitEvent.3 new file mode 100644 index 0000000..adadb4a --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WaitEvent.3 @@ -0,0 +1,17 @@ +.TH "SDL_WaitEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WaitEvent \- Waits indefinitely for the next available event\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBint \fBSDL_WaitEvent\fP\fR(\fBSDL_Event *event\fR); +.SH "DESCRIPTION" +.PP +Waits indefinitely for the next available event, returning \fB1\fR, or \fB0\fR if there was an error while waiting for events\&. +.PP +If \fBevent\fR is not \fBNULL\fP, the next event is removed from the queue and stored in that area\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PollEvent\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WaitThread.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WaitThread.3 new file mode 100644 index 0000000..11679fc --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WaitThread.3 @@ -0,0 +1,19 @@ +.TH "SDL_WaitThread" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WaitThread \- Wait for a thread to finish\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBvoid \fBSDL_WaitThread\fP\fR(\fBSDL_Thread *thread, int *status\fR); +.SH "DESCRIPTION" +.PP +Wait for a thread to finish (timeouts are not supported)\&. +.SH "RETURN VALUE" +.PP +The return code for the thread function is placed in the area pointed to by \fBstatus\fR, if \fBstatus\fR is not \fBNULL\fR\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateThread\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WarpMouse.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WarpMouse.3 new file mode 100644 index 0000000..5cab3ce --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WarpMouse.3 @@ -0,0 +1,15 @@ +.TH "SDL_WarpMouse" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WarpMouse \- Set the position of the mouse cursor\&. +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBvoid \fBSDL_WarpMouse\fP\fR(\fBUint16 x, Uint16 y\fR); +.SH "DESCRIPTION" +.PP +Set the position of the mouse cursor (generates a mouse motion event)\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_MouseMotionEvent\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_WasInit.3 b/distrib/sdl-1.2.15/docs/man3/SDL_WasInit.3 new file mode 100644 index 0000000..5bc75c5 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_WasInit.3 @@ -0,0 +1,63 @@ +.TH "SDL_WasInit" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_WasInit \- Check which subsystems are initialized +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +.sp +\fBUint32 \fBSDL_WasInit\fP\fR(\fBUint32 flags\fR); +.SH "DESCRIPTION" +.PP +\fBSDL_WasInit\fP allows you to see which SDL subsytems have been \fIinitialized\fR\&. \fBflags\fR is a bitwise OR\&'d combination of the subsystems you wish to check (see \fI\fBSDL_Init\fP\fR for a list of subsystem flags)\&. +.SH "RETURN VALUE" +.PP +\fBSDL_WasInit\fP returns a bitwised OR\&'d combination of the initialized subsystems\&. +.SH "EXAMPLES" +.PP +.nf +\f(CW +/* Here are several ways you can use SDL_WasInit() */ + +/* Get init data on all the subsystems */ +Uint32 subsystem_init; + +subsystem_init=SDL_WasInit(SDL_INIT_EVERYTHING); + +if(subsystem_init&SDL_INIT_VIDEO) + printf("Video is initialized\&. +"); +else + printf("Video is not initialized\&. +"); + + + +/* Just check for one specfic subsystem */ + +if(SDL_WasInit(SDL_INIT_VIDEO)!=0) + printf("Video is initialized\&. +"); +else + printf("Video is not initialized\&. +"); + + + + +/* Check for two subsystems */ + +Uint32 subsystem_mask=SDL_INIT_VIDEO|SDL_INIT_AUDIO; + +if(SDL_WasInit(subsystem_mask)==subsystem_mask) + printf("Video and Audio initialized\&. +"); +else + printf("Video and Audio not initialized\&. +"); +\fR +.fi +.PP +.SH "SEE ALSO" +.PP +\fI\fBSDL_Init\fP\fR, \fI\fBSDL_Subsystem\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_keysym.3 b/distrib/sdl-1.2.15/docs/man3/SDL_keysym.3 new file mode 100644 index 0000000..52065c1 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_keysym.3 @@ -0,0 +1,69 @@ +.TH "SDL_keysym" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" +.SH "NAME" +SDL_keysym \- Keysym structure +.SH "STRUCTURE DEFINITION" +.PP +.nf +\f(CWtypedef struct{ + Uint8 scancode; + SDLKey sym; + SDLMod mod; + Uint16 unicode; +} SDL_keysym;\fR +.fi +.PP +.SH "STRUCTURE DATA" +.TP 20 +\fBscancode\fR +Hardware specific scancode +.TP 20 +\fBsym\fR +SDL virtual keysym +.TP 20 +\fBmod\fR +Current key modifiers +.TP 20 +\fBunicode\fR +Translated character +.SH "DESCRIPTION" +.PP +The \fBSDL_keysym\fR structure is used by reporting key presses and releases since it is a part of the \fI\fBSDL_KeyboardEvent\fR\fR\&. +.PP +The \fBscancode\fR field should generally be left alone, it is the hardware dependent scancode returned by the keyboard\&. The \fBsym\fR field is extremely useful\&. It is the SDL-defined value of the key (see \fISDL Key Syms\fR\&. This field is very useful when you are checking for certain key presses, like so: +.PP +.nf +\f(CW\&. +\&. +while(SDL_PollEvent(&event)){ + switch(event\&.type){ + case SDL_KEYDOWN: + if(event\&.key\&.keysym\&.sym==SDLK_LEFT) + move_left(); + break; + \&. + \&. + \&. + } +} +\&. +\&.\fR +.fi +.PP + \fBmod\fR stores the current state of the keyboard modifiers as explained in \fI\fBSDL_GetModState\fP\fR\&. The \fBunicode\fR is only used when UNICODE translation is enabled with \fI\fBSDL_EnableUNICODE\fP\fR\&. If \fBunicode\fR is non-zero then this a the UNICODE character corresponding to the keypress\&. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character: +.PP +.nf +\f(CWchar ch; +if ( (keysym\&.unicode & 0xFF80) == 0 ) { + ch = keysym\&.unicode & 0x7F; +} +else { + printf("An International Character\&. +"); +}\fR +.fi +.PP + UNICODE translation does have a slight overhead so don\&'t enable it unless its needed\&. +.SH "SEE ALSO" +.PP +\fI\fBSDLKey\fR\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_mutexP.3 b/distrib/sdl-1.2.15/docs/man3/SDL_mutexP.3 new file mode 100644 index 0000000..3f21716 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_mutexP.3 @@ -0,0 +1,18 @@ +.TH "SDL_mutexP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_mutexP \- Lock a mutex +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_mutexP\fP\fR(\fBSDL_mutex *mutex\fR); +.SH "DESCRIPTION" +.PP +Locks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. If the mutex is already locked then \fBSDL_mutexP\fP will not return until it is \fIunlocked\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.PP +SDL also defines a macro \fB#define SDL_LockMutex(m) SDL_mutexP(m)\fP\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexV\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/docs/man3/SDL_mutexV.3 b/distrib/sdl-1.2.15/docs/man3/SDL_mutexV.3 new file mode 100644 index 0000000..e914abb --- /dev/null +++ b/distrib/sdl-1.2.15/docs/man3/SDL_mutexV.3 @@ -0,0 +1,18 @@ +.TH "SDL_mutexV" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" +.SH "NAME" +SDL_mutexV \- Unlock a mutex +.SH "SYNOPSIS" +.PP +\fB#include "SDL\&.h" +#include "SDL_thread\&.h" +.sp +\fBint \fBSDL_mutexV\fP\fR(\fBSDL_mutex *mutex\fR); +.SH "DESCRIPTION" +.PP +Unlocks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&. +.PP +SDL also defines a macro \fB#define SDL_UnlockMutex(m) SDL_mutexV(m)\fP\&. +.SH "SEE ALSO" +.PP +\fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexP\fP\fR +.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 diff --git a/distrib/sdl-1.2.15/include/SDL.h b/distrib/sdl-1.2.15/include/SDL.h new file mode 100644 index 0000000..6087b7c --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL.h @@ -0,0 +1,101 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL.h + * Main include header for the SDL library + */ + +#ifndef _SDL_H +#define _SDL_H + +#include "SDL_main.h" +#include "SDL_stdinc.h" +#include "SDL_audio.h" +#include "SDL_cdrom.h" +#include "SDL_cpuinfo.h" +#include "SDL_endian.h" +#include "SDL_error.h" +#include "SDL_events.h" +#include "SDL_loadso.h" +#include "SDL_mutex.h" +#include "SDL_rwops.h" +#include "SDL_thread.h" +#include "SDL_timer.h" +#include "SDL_video.h" +#include "SDL_version.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @file SDL.h + * @note As of version 0.5, SDL is loaded dynamically into the application + */ + +/** @name SDL_INIT Flags + * These are the flags which may be passed to SDL_Init() -- you should + * specify the subsystems which you will be using in your application. + */ +/*@{*/ +#define SDL_INIT_TIMER 0x00000001 +#define SDL_INIT_AUDIO 0x00000010 +#define SDL_INIT_VIDEO 0x00000020 +#define SDL_INIT_CDROM 0x00000100 +#define SDL_INIT_JOYSTICK 0x00000200 +#define SDL_INIT_NOPARACHUTE 0x00100000 /**< Don't catch fatal signals */ +#define SDL_INIT_EVENTTHREAD 0x01000000 /**< Not supported on all OS's */ +#define SDL_INIT_EVERYTHING 0x0000FFFF +/*@}*/ + +/** This function loads the SDL dynamically linked library and initializes + * the subsystems specified by 'flags' (and those satisfying dependencies) + * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup + * signal handlers for some commonly ignored fatal signals (like SIGSEGV) + */ +extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags); + +/** This function initializes specific SDL subsystems */ +extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags); + +/** This function cleans up specific SDL subsystems */ +extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags); + +/** This function returns mask of the specified subsystems which have + * been initialized. + * If 'flags' is 0, it returns a mask of all initialized subsystems. + */ +extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags); + +/** This function cleans up all initialized subsystems and unloads the + * dynamically linked library. You should call it upon all exit conditions. + */ +extern DECLSPEC void SDLCALL SDL_Quit(void); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_H */ diff --git a/distrib/sdl-1.2.15/include/SDL_active.h b/distrib/sdl-1.2.15/include/SDL_active.h new file mode 100644 index 0000000..cd854e8 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_active.h @@ -0,0 +1,63 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_active.h + * Include file for SDL application focus event handling + */ + +#ifndef _SDL_active_h +#define _SDL_active_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @name The available application states */ +/*@{*/ +#define SDL_APPMOUSEFOCUS 0x01 /**< The app has mouse coverage */ +#define SDL_APPINPUTFOCUS 0x02 /**< The app has input focus */ +#define SDL_APPACTIVE 0x04 /**< The application is active */ +/*@}*/ + +/* Function prototypes */ +/** + * This function returns the current state of the application, which is a + * bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and + * SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to + * see your application, otherwise it has been iconified or disabled. + */ +extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_active_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_audio.h b/distrib/sdl-1.2.15/include/SDL_audio.h new file mode 100644 index 0000000..e879c98 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_audio.h @@ -0,0 +1,284 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_audio.h + * Access to the raw audio mixing buffer for the SDL library + */ + +#ifndef _SDL_audio_h +#define _SDL_audio_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_endian.h" +#include "SDL_mutex.h" +#include "SDL_thread.h" +#include "SDL_rwops.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * When filling in the desired audio spec structure, + * - 'desired->freq' should be the desired audio frequency in samples-per-second. + * - 'desired->format' should be the desired audio format. + * - 'desired->samples' is the desired size of the audio buffer, in samples. + * This number should be a power of two, and may be adjusted by the audio + * driver to a value more suitable for the hardware. Good values seem to + * range between 512 and 8096 inclusive, depending on the application and + * CPU speed. Smaller values yield faster response time, but can lead + * to underflow if the application is doing heavy processing and cannot + * fill the audio buffer in time. A stereo sample consists of both right + * and left channels in LR ordering. + * Note that the number of samples is directly related to time by the + * following formula: ms = (samples*1000)/freq + * - 'desired->size' is the size in bytes of the audio buffer, and is + * calculated by SDL_OpenAudio(). + * - 'desired->silence' is the value used to set the buffer to silence, + * and is calculated by SDL_OpenAudio(). + * - 'desired->callback' should be set to a function that will be called + * when the audio device is ready for more data. It is passed a pointer + * to the audio buffer, and the length in bytes of the audio buffer. + * This function usually runs in a separate thread, and so you should + * protect data structures that it accesses by calling SDL_LockAudio() + * and SDL_UnlockAudio() in your code. + * - 'desired->userdata' is passed as the first parameter to your callback + * function. + * + * @note The calculated values in this structure are calculated by SDL_OpenAudio() + * + */ +typedef struct SDL_AudioSpec { + int freq; /**< DSP frequency -- samples per second */ + Uint16 format; /**< Audio data format */ + Uint8 channels; /**< Number of channels: 1 mono, 2 stereo */ + Uint8 silence; /**< Audio buffer silence value (calculated) */ + Uint16 samples; /**< Audio buffer size in samples (power of 2) */ + Uint16 padding; /**< Necessary for some compile environments */ + Uint32 size; /**< Audio buffer size in bytes (calculated) */ + /** + * This function is called when the audio device needs more data. + * + * @param[out] stream A pointer to the audio data buffer + * @param[in] len The length of the audio buffer in bytes. + * + * Once the callback returns, the buffer will no longer be valid. + * Stereo samples are stored in a LRLRLR ordering. + */ + void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len); + void *userdata; +} SDL_AudioSpec; + +/** + * @name Audio format flags + * defaults to LSB byte order + */ +/*@{*/ +#define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ +#define AUDIO_S8 0x8008 /**< Signed 8-bit samples */ +#define AUDIO_U16LSB 0x0010 /**< Unsigned 16-bit samples */ +#define AUDIO_S16LSB 0x8010 /**< Signed 16-bit samples */ +#define AUDIO_U16MSB 0x1010 /**< As above, but big-endian byte order */ +#define AUDIO_S16MSB 0x9010 /**< As above, but big-endian byte order */ +#define AUDIO_U16 AUDIO_U16LSB +#define AUDIO_S16 AUDIO_S16LSB + +/** + * @name Native audio byte ordering + */ +/*@{*/ +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define AUDIO_U16SYS AUDIO_U16LSB +#define AUDIO_S16SYS AUDIO_S16LSB +#else +#define AUDIO_U16SYS AUDIO_U16MSB +#define AUDIO_S16SYS AUDIO_S16MSB +#endif +/*@}*/ + +/*@}*/ + + +/** A structure to hold a set of audio conversion filters and buffers */ +typedef struct SDL_AudioCVT { + int needed; /**< Set to 1 if conversion possible */ + Uint16 src_format; /**< Source audio format */ + Uint16 dst_format; /**< Target audio format */ + double rate_incr; /**< Rate conversion increment */ + Uint8 *buf; /**< Buffer to hold entire audio data */ + int len; /**< Length of original audio buffer */ + int len_cvt; /**< Length of converted audio buffer */ + int len_mult; /**< buffer must be len*len_mult big */ + double len_ratio; /**< Given len, final size is len*len_ratio */ + void (SDLCALL *filters[10])(struct SDL_AudioCVT *cvt, Uint16 format); + int filter_index; /**< Current audio conversion function */ +} SDL_AudioCVT; + + +/* Function prototypes */ + +/** + * @name Audio Init and Quit + * These functions are used internally, and should not be used unless you + * have a specific need to specify the audio driver you want to use. + * You should normally use SDL_Init() or SDL_InitSubSystem(). + */ +/*@{*/ +extern DECLSPEC int SDLCALL SDL_AudioInit(const char *driver_name); +extern DECLSPEC void SDLCALL SDL_AudioQuit(void); +/*@}*/ + +/** + * This function fills the given character buffer with the name of the + * current audio driver, and returns a pointer to it if the audio driver has + * been initialized. It returns NULL if no driver has been initialized. + */ +extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen); + +/** + * This function opens the audio device with the desired parameters, and + * returns 0 if successful, placing the actual hardware parameters in the + * structure pointed to by 'obtained'. If 'obtained' is NULL, the audio + * data passed to the callback function will be guaranteed to be in the + * requested format, and will be automatically converted to the hardware + * audio format if necessary. This function returns -1 if it failed + * to open the audio device, or couldn't set up the audio thread. + * + * The audio device starts out playing silence when it's opened, and should + * be enabled for playing by calling SDL_PauseAudio(0) when you are ready + * for your audio callback function to be called. Since the audio driver + * may modify the requested size of the audio buffer, you should allocate + * any local mixing buffers after you open the audio device. + * + * @sa SDL_AudioSpec + */ +extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained); + +typedef enum { + SDL_AUDIO_STOPPED = 0, + SDL_AUDIO_PLAYING, + SDL_AUDIO_PAUSED +} SDL_audiostatus; + +/** Get the current audio state */ +extern DECLSPEC SDL_audiostatus SDLCALL SDL_GetAudioStatus(void); + +/** + * This function pauses and unpauses the audio callback processing. + * It should be called with a parameter of 0 after opening the audio + * device to start playing sound. This is so you can safely initialize + * data for your callback function after opening the audio device. + * Silence will be written to the audio device during the pause. + */ +extern DECLSPEC void SDLCALL SDL_PauseAudio(int pause_on); + +/** + * This function loads a WAVE from the data source, automatically freeing + * that source if 'freesrc' is non-zero. For example, to load a WAVE file, + * you could do: + * @code SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); @endcode + * + * If this function succeeds, it returns the given SDL_AudioSpec, + * filled with the audio data format of the wave data, and sets + * 'audio_buf' to a malloc()'d buffer containing the audio data, + * and sets 'audio_len' to the length of that audio buffer, in bytes. + * You need to free the audio buffer with SDL_FreeWAV() when you are + * done with it. + * + * This function returns NULL and sets the SDL error message if the + * wave file cannot be opened, uses an unknown data format, or is + * corrupt. Currently raw and MS-ADPCM WAVE files are supported. + */ +extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); + +/** Compatibility convenience function -- loads a WAV from a file */ +#define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ + SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) + +/** + * This function frees data previously allocated with SDL_LoadWAV_RW() + */ +extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 *audio_buf); + +/** + * This function takes a source format and rate and a destination format + * and rate, and initializes the 'cvt' structure with information needed + * by SDL_ConvertAudio() to convert a buffer of audio data from one format + * to the other. + * + * @return This function returns 0, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_BuildAudioCVT(SDL_AudioCVT *cvt, + Uint16 src_format, Uint8 src_channels, int src_rate, + Uint16 dst_format, Uint8 dst_channels, int dst_rate); + +/** + * Once you have initialized the 'cvt' structure using SDL_BuildAudioCVT(), + * created an audio buffer cvt->buf, and filled it with cvt->len bytes of + * audio data in the source format, this function will convert it in-place + * to the desired format. + * The data conversion may expand the size of the audio data, so the buffer + * cvt->buf should be allocated after the cvt structure is initialized by + * SDL_BuildAudioCVT(), and should be cvt->len*cvt->len_mult bytes long. + */ +extern DECLSPEC int SDLCALL SDL_ConvertAudio(SDL_AudioCVT *cvt); + + +#define SDL_MIX_MAXVOLUME 128 +/** + * This takes two audio buffers of the playing audio format and mixes + * them, performing addition, volume adjustment, and overflow clipping. + * The volume ranges from 0 - 128, and should be set to SDL_MIX_MAXVOLUME + * for full audio volume. Note this does not change hardware volume. + * This is provided for convenience -- you can mix your own audio data. + */ +extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 *dst, const Uint8 *src, Uint32 len, int volume); + +/** + * @name Audio Locks + * The lock manipulated by these functions protects the callback function. + * During a LockAudio/UnlockAudio pair, you can be guaranteed that the + * callback function is not running. Do not call these from the callback + * function or you will cause deadlock. + */ +/*@{*/ +extern DECLSPEC void SDLCALL SDL_LockAudio(void); +extern DECLSPEC void SDLCALL SDL_UnlockAudio(void); +/*@}*/ + +/** + * This function shuts down audio processing and closes the audio device. + */ +extern DECLSPEC void SDLCALL SDL_CloseAudio(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_audio_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_byteorder.h b/distrib/sdl-1.2.15/include/SDL_byteorder.h new file mode 100644 index 0000000..47332c3 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_byteorder.h @@ -0,0 +1,29 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_byteorder.h + * @deprecated Use SDL_endian.h instead + */ + +/* DEPRECATED */ +#include "SDL_endian.h" diff --git a/distrib/sdl-1.2.15/include/SDL_cdrom.h b/distrib/sdl-1.2.15/include/SDL_cdrom.h new file mode 100644 index 0000000..febb19d --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_cdrom.h @@ -0,0 +1,202 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_cdrom.h + * This is the CD-audio control API for Simple DirectMedia Layer + */ + +#ifndef _SDL_cdrom_h +#define _SDL_cdrom_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @file SDL_cdrom.h + * In order to use these functions, SDL_Init() must have been called + * with the SDL_INIT_CDROM flag. This causes SDL to scan the system + * for CD-ROM drives, and load appropriate drivers. + */ + +/** The maximum number of CD-ROM tracks on a disk */ +#define SDL_MAX_TRACKS 99 + +/** @name Track Types + * The types of CD-ROM track possible + */ +/*@{*/ +#define SDL_AUDIO_TRACK 0x00 +#define SDL_DATA_TRACK 0x04 +/*@}*/ + +/** The possible states which a CD-ROM drive can be in. */ +typedef enum { + CD_TRAYEMPTY, + CD_STOPPED, + CD_PLAYING, + CD_PAUSED, + CD_ERROR = -1 +} CDstatus; + +/** Given a status, returns true if there's a disk in the drive */ +#define CD_INDRIVE(status) ((int)(status) > 0) + +typedef struct SDL_CDtrack { + Uint8 id; /**< Track number */ + Uint8 type; /**< Data or audio track */ + Uint16 unused; + Uint32 length; /**< Length, in frames, of this track */ + Uint32 offset; /**< Offset, in frames, from start of disk */ +} SDL_CDtrack; + +/** This structure is only current as of the last call to SDL_CDStatus() */ +typedef struct SDL_CD { + int id; /**< Private drive identifier */ + CDstatus status; /**< Current drive status */ + + /** The rest of this structure is only valid if there's a CD in drive */ + /*@{*/ + int numtracks; /**< Number of tracks on disk */ + int cur_track; /**< Current track position */ + int cur_frame; /**< Current frame offset within current track */ + SDL_CDtrack track[SDL_MAX_TRACKS+1]; + /*@}*/ +} SDL_CD; + +/** @name Frames / MSF Conversion Functions + * Conversion functions from frames to Minute/Second/Frames and vice versa + */ +/*@{*/ +#define CD_FPS 75 +#define FRAMES_TO_MSF(f, M,S,F) { \ + int value = f; \ + *(F) = value%CD_FPS; \ + value /= CD_FPS; \ + *(S) = value%60; \ + value /= 60; \ + *(M) = value; \ +} +#define MSF_TO_FRAMES(M, S, F) ((M)*60*CD_FPS+(S)*CD_FPS+(F)) +/*@}*/ + +/* CD-audio API functions: */ + +/** + * Returns the number of CD-ROM drives on the system, or -1 if + * SDL_Init() has not been called with the SDL_INIT_CDROM flag. + */ +extern DECLSPEC int SDLCALL SDL_CDNumDrives(void); + +/** + * Returns a human-readable, system-dependent identifier for the CD-ROM. + * Example: + * - "/dev/cdrom" + * - "E:" + * - "/dev/disk/ide/1/master" + */ +extern DECLSPEC const char * SDLCALL SDL_CDName(int drive); + +/** + * Opens a CD-ROM drive for access. It returns a drive handle on success, + * or NULL if the drive was invalid or busy. This newly opened CD-ROM + * becomes the default CD used when other CD functions are passed a NULL + * CD-ROM handle. + * Drives are numbered starting with 0. Drive 0 is the system default CD-ROM. + */ +extern DECLSPEC SDL_CD * SDLCALL SDL_CDOpen(int drive); + +/** + * This function returns the current status of the given drive. + * If the drive has a CD in it, the table of contents of the CD and current + * play position of the CD will be stored in the SDL_CD structure. + */ +extern DECLSPEC CDstatus SDLCALL SDL_CDStatus(SDL_CD *cdrom); + +/** + * Play the given CD starting at 'start_track' and 'start_frame' for 'ntracks' + * tracks and 'nframes' frames. If both 'ntrack' and 'nframe' are 0, play + * until the end of the CD. This function will skip data tracks. + * This function should only be called after calling SDL_CDStatus() to + * get track information about the CD. + * For example: + * @code + * // Play entire CD: + * if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) + * SDL_CDPlayTracks(cdrom, 0, 0, 0, 0); + * // Play last track: + * if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) { + * SDL_CDPlayTracks(cdrom, cdrom->numtracks-1, 0, 0, 0); + * } + * // Play first and second track and 10 seconds of third track: + * if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) + * SDL_CDPlayTracks(cdrom, 0, 0, 2, 10); + * @endcode + * + * @return This function returns 0, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_CDPlayTracks(SDL_CD *cdrom, + int start_track, int start_frame, int ntracks, int nframes); + +/** + * Play the given CD starting at 'start' frame for 'length' frames. + * @return It returns 0, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_CDPlay(SDL_CD *cdrom, int start, int length); + +/** Pause play + * @return returns 0, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD *cdrom); + +/** Resume play + * @return returns 0, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD *cdrom); + +/** Stop play + * @return returns 0, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD *cdrom); + +/** Eject CD-ROM + * @return returns 0, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD *cdrom); + +/** Closes the handle for the CD-ROM drive */ +extern DECLSPEC void SDLCALL SDL_CDClose(SDL_CD *cdrom); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_video_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config.h.default b/distrib/sdl-1.2.15/include/SDL_config.h.default new file mode 100644 index 0000000..09ba38a --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config.h.default @@ -0,0 +1,45 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_h +#define _SDL_config_h + +#include "SDL_platform.h" + +/* Add any platform that doesn't build using the configure system */ +#if defined(__DREAMCAST__) +#include "SDL_config_dreamcast.h" +#elif defined(__MACOS__) +#include "SDL_config_macos.h" +#elif defined(__MACOSX__) +#include "SDL_config_macosx.h" +#elif defined(__SYMBIAN32__) +#include "SDL_config_symbian.h" /* must be before win32! */ +#elif defined(__WIN32__) +#include "SDL_config_win32.h" +#elif defined(__OS2__) +#include "SDL_config_os2.h" +#else +#include "SDL_config_minimal.h" +#endif /* platform config */ + +#endif /* _SDL_config_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config.h.in b/distrib/sdl-1.2.15/include/SDL_config.h.in new file mode 100644 index 0000000..8bb1773 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config.h.in @@ -0,0 +1,312 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_h +#define _SDL_config_h + +/* This is a set of defines to configure the SDL features */ + +/* General platform specific identifiers */ +#include "SDL_platform.h" + +/* Make sure that this isn't included by Visual C++ */ +#ifdef _MSC_VER +#error You should copy include/SDL_config.h.default to include/SDL_config.h +#endif + +/* C language features */ +#undef const +#undef inline +#undef volatile + +/* C datatypes */ +#undef size_t +#undef int8_t +#undef uint8_t +#undef int16_t +#undef uint16_t +#undef int32_t +#undef uint32_t +#undef int64_t +#undef uint64_t +#undef uintptr_t +#undef SDL_HAS_64BIT_TYPE + +/* Endianness */ +#undef SDL_BYTEORDER + +/* Comment this if you want to build without any C library requirements */ +#undef HAVE_LIBC +#if HAVE_LIBC + +/* Useful headers */ +#undef HAVE_ALLOCA_H +#undef HAVE_SYS_TYPES_H +#undef HAVE_STDIO_H +#undef STDC_HEADERS +#undef HAVE_STDLIB_H +#undef HAVE_STDARG_H +#undef HAVE_MALLOC_H +#undef HAVE_MEMORY_H +#undef HAVE_STRING_H +#undef HAVE_STRINGS_H +#undef HAVE_INTTYPES_H +#undef HAVE_STDINT_H +#undef HAVE_CTYPE_H +#undef HAVE_MATH_H +#undef HAVE_ICONV_H +#undef HAVE_SIGNAL_H +#undef HAVE_ALTIVEC_H + +/* C library functions */ +#undef HAVE_MALLOC +#undef HAVE_CALLOC +#undef HAVE_REALLOC +#undef HAVE_FREE +#undef HAVE_ALLOCA +#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */ +#undef HAVE_GETENV +#undef HAVE_PUTENV +#undef HAVE_UNSETENV +#endif +#undef HAVE_QSORT +#undef HAVE_ABS +#undef HAVE_BCOPY +#undef HAVE_MEMSET +#undef HAVE_MEMCPY +#undef HAVE_MEMMOVE +#undef HAVE_MEMCMP +#undef HAVE_STRLEN +#undef HAVE_STRLCPY +#undef HAVE_STRLCAT +#undef HAVE_STRDUP +#undef HAVE__STRREV +#undef HAVE__STRUPR +#undef HAVE__STRLWR +#undef HAVE_INDEX +#undef HAVE_RINDEX +#undef HAVE_STRCHR +#undef HAVE_STRRCHR +#undef HAVE_STRSTR +#undef HAVE_ITOA +#undef HAVE__LTOA +#undef HAVE__UITOA +#undef HAVE__ULTOA +#undef HAVE_STRTOL +#undef HAVE_STRTOUL +#undef HAVE__I64TOA +#undef HAVE__UI64TOA +#undef HAVE_STRTOLL +#undef HAVE_STRTOULL +#undef HAVE_STRTOD +#undef HAVE_ATOI +#undef HAVE_ATOF +#undef HAVE_STRCMP +#undef HAVE_STRNCMP +#undef HAVE__STRICMP +#undef HAVE_STRCASECMP +#undef HAVE__STRNICMP +#undef HAVE_STRNCASECMP +#undef HAVE_SSCANF +#undef HAVE_SNPRINTF +#undef HAVE_VSNPRINTF +#undef HAVE_ICONV +#undef HAVE_SIGACTION +#undef HAVE_SA_SIGACTION +#undef HAVE_SETJMP +#undef HAVE_NANOSLEEP +#undef HAVE_CLOCK_GETTIME +#undef HAVE_GETPAGESIZE +#undef HAVE_MPROTECT +#undef HAVE_SEM_TIMEDWAIT + +#else +/* We may need some replacement for stdarg.h here */ +#include +#endif /* HAVE_LIBC */ + +/* Allow disabling of core subsystems */ +#undef SDL_AUDIO_DISABLED +#undef SDL_CDROM_DISABLED +#undef SDL_CPUINFO_DISABLED +#undef SDL_EVENTS_DISABLED +#undef SDL_FILE_DISABLED +#undef SDL_JOYSTICK_DISABLED +#undef SDL_LOADSO_DISABLED +#undef SDL_THREADS_DISABLED +#undef SDL_TIMERS_DISABLED +#undef SDL_VIDEO_DISABLED + +/* Enable various audio drivers */ +#undef SDL_AUDIO_DRIVER_ALSA +#undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC +#undef SDL_AUDIO_DRIVER_ARTS +#undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC +#undef SDL_AUDIO_DRIVER_BAUDIO +#undef SDL_AUDIO_DRIVER_BSD +#undef SDL_AUDIO_DRIVER_COREAUDIO +#undef SDL_AUDIO_DRIVER_DART +#undef SDL_AUDIO_DRIVER_DC +#undef SDL_AUDIO_DRIVER_DISK +#undef SDL_AUDIO_DRIVER_DUMMY +#undef SDL_AUDIO_DRIVER_DMEDIA +#undef SDL_AUDIO_DRIVER_DSOUND +#undef SDL_AUDIO_DRIVER_PULSE +#undef SDL_AUDIO_DRIVER_PULSE_DYNAMIC +#undef SDL_AUDIO_DRIVER_ESD +#undef SDL_AUDIO_DRIVER_ESD_DYNAMIC +#undef SDL_AUDIO_DRIVER_MINT +#undef SDL_AUDIO_DRIVER_MMEAUDIO +#undef SDL_AUDIO_DRIVER_NAS +#undef SDL_AUDIO_DRIVER_NAS_DYNAMIC +#undef SDL_AUDIO_DRIVER_OSS +#undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H +#undef SDL_AUDIO_DRIVER_PAUD +#undef SDL_AUDIO_DRIVER_QNXNTO +#undef SDL_AUDIO_DRIVER_SNDMGR +#undef SDL_AUDIO_DRIVER_SUNAUDIO +#undef SDL_AUDIO_DRIVER_WAVEOUT + +/* Enable various cdrom drivers */ +#undef SDL_CDROM_AIX +#undef SDL_CDROM_BEOS +#undef SDL_CDROM_BSDI +#undef SDL_CDROM_DC +#undef SDL_CDROM_DUMMY +#undef SDL_CDROM_FREEBSD +#undef SDL_CDROM_LINUX +#undef SDL_CDROM_MACOS +#undef SDL_CDROM_MACOSX +#undef SDL_CDROM_MINT +#undef SDL_CDROM_OPENBSD +#undef SDL_CDROM_OS2 +#undef SDL_CDROM_OSF +#undef SDL_CDROM_QNX +#undef SDL_CDROM_WIN32 + +/* Enable various input drivers */ +#undef SDL_INPUT_LINUXEV +#undef SDL_INPUT_TSLIB +#undef SDL_JOYSTICK_BEOS +#undef SDL_JOYSTICK_DC +#undef SDL_JOYSTICK_DUMMY +#undef SDL_JOYSTICK_IOKIT +#undef SDL_JOYSTICK_LINUX +#undef SDL_JOYSTICK_MACOS +#undef SDL_JOYSTICK_MINT +#undef SDL_JOYSTICK_OS2 +#undef SDL_JOYSTICK_RISCOS +#undef SDL_JOYSTICK_WINMM +#undef SDL_JOYSTICK_USBHID +#undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H + +/* Enable various shared object loading systems */ +#undef SDL_LOADSO_BEOS +#undef SDL_LOADSO_DLCOMPAT +#undef SDL_LOADSO_DLOPEN +#undef SDL_LOADSO_DUMMY +#undef SDL_LOADSO_LDG +#undef SDL_LOADSO_MACOS +#undef SDL_LOADSO_OS2 +#undef SDL_LOADSO_WIN32 + +/* Enable various threading systems */ +#undef SDL_THREAD_BEOS +#undef SDL_THREAD_DC +#undef SDL_THREAD_OS2 +#undef SDL_THREAD_PTH +#undef SDL_THREAD_PTHREAD +#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX +#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP +#undef SDL_THREAD_SPROC +#undef SDL_THREAD_WIN32 + +/* Enable various timer systems */ +#undef SDL_TIMER_BEOS +#undef SDL_TIMER_DC +#undef SDL_TIMER_DUMMY +#undef SDL_TIMER_MACOS +#undef SDL_TIMER_MINT +#undef SDL_TIMER_OS2 +#undef SDL_TIMER_RISCOS +#undef SDL_TIMER_UNIX +#undef SDL_TIMER_WIN32 +#undef SDL_TIMER_WINCE + +/* Enable various video drivers */ +#undef SDL_VIDEO_DRIVER_AALIB +#undef SDL_VIDEO_DRIVER_BWINDOW +#undef SDL_VIDEO_DRIVER_CACA +#undef SDL_VIDEO_DRIVER_DC +#undef SDL_VIDEO_DRIVER_DDRAW +#undef SDL_VIDEO_DRIVER_DGA +#undef SDL_VIDEO_DRIVER_DIRECTFB +#undef SDL_VIDEO_DRIVER_DRAWSPROCKET +#undef SDL_VIDEO_DRIVER_DUMMY +#undef SDL_VIDEO_DRIVER_FBCON +#undef SDL_VIDEO_DRIVER_GAPI +#undef SDL_VIDEO_DRIVER_GEM +#undef SDL_VIDEO_DRIVER_GGI +#undef SDL_VIDEO_DRIVER_IPOD +#undef SDL_VIDEO_DRIVER_NANOX +#undef SDL_VIDEO_DRIVER_OS2FS +#undef SDL_VIDEO_DRIVER_PHOTON +#undef SDL_VIDEO_DRIVER_PICOGUI +#undef SDL_VIDEO_DRIVER_PS2GS +#undef SDL_VIDEO_DRIVER_PS3 +#undef SDL_VIDEO_DRIVER_QTOPIA +#undef SDL_VIDEO_DRIVER_QUARTZ +#undef SDL_VIDEO_DRIVER_RISCOS +#undef SDL_VIDEO_DRIVER_SVGALIB +#undef SDL_VIDEO_DRIVER_TOOLBOX +#undef SDL_VIDEO_DRIVER_VGL +#undef SDL_VIDEO_DRIVER_WINDIB +#undef SDL_VIDEO_DRIVER_WSCONS +#undef SDL_VIDEO_DRIVER_X11 +#undef SDL_VIDEO_DRIVER_X11_DGAMOUSE +#undef SDL_VIDEO_DRIVER_X11_DYNAMIC +#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT +#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR +#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER +#undef SDL_VIDEO_DRIVER_X11_VIDMODE +#undef SDL_VIDEO_DRIVER_X11_XINERAMA +#undef SDL_VIDEO_DRIVER_X11_XME +#undef SDL_VIDEO_DRIVER_X11_XRANDR +#undef SDL_VIDEO_DRIVER_X11_XV +#undef SDL_VIDEO_DRIVER_XBIOS + +/* Enable OpenGL support */ +#undef SDL_VIDEO_OPENGL +#undef SDL_VIDEO_OPENGL_GLX +#undef SDL_VIDEO_OPENGL_WGL +#undef SDL_VIDEO_OPENGL_OSMESA +#undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC + +/* Disable screensaver */ +#undef SDL_VIDEO_DISABLE_SCREENSAVER + +/* Enable assembly routines */ +#undef SDL_ASSEMBLY_ROUTINES +#undef SDL_HERMES_BLITTERS +#undef SDL_ALTIVEC_BLITTERS + +#endif /* _SDL_config_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_dreamcast.h b/distrib/sdl-1.2.15/include/SDL_config_dreamcast.h new file mode 100644 index 0000000..fb03098 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_dreamcast.h @@ -0,0 +1,106 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_dreamcast_h +#define _SDL_config_dreamcast_h + +#include "SDL_platform.h" + +/* This is a set of defines to configure the SDL features */ + +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef signed short int16_t; +typedef unsigned short uint16_t; +typedef signed int int32_t; +typedef unsigned int uint32_t; +typedef signed long long int64_t; +typedef unsigned long long uint64_t; +typedef unsigned long uintptr_t; +#define SDL_HAS_64BIT_TYPE 1 + +/* Useful headers */ +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STRING_H 1 +#define HAVE_CTYPE_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_GETENV 1 +#define HAVE_PUTENV 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRDUP 1 +#define HAVE_INDEX 1 +#define HAVE_RINDEX 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRICMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_SSCANF 1 +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_DC 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various cdrom drivers */ +#define SDL_CDROM_DC 1 + +/* Enable various input drivers */ +#define SDL_JOYSTICK_DC 1 + +/* Enable various shared object loading systems */ +#define SDL_LOADSO_DUMMY 1 + +/* Enable various threading systems */ +#define SDL_THREAD_DC 1 + +/* Enable various timer systems */ +#define SDL_TIMER_DC 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_DC 1 +#define SDL_VIDEO_DRIVER_DUMMY 1 + +#endif /* _SDL_config_dreamcast_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_macos.h b/distrib/sdl-1.2.15/include/SDL_config_macos.h new file mode 100644 index 0000000..4fe1715 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_macos.h @@ -0,0 +1,112 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_macos_h +#define _SDL_config_macos_h + +#include "SDL_platform.h" + +/* This is a set of defines to configure the SDL features */ + +#include + +typedef SInt8 int8_t; +typedef UInt8 uint8_t; +typedef SInt16 int16_t; +typedef UInt16 uint16_t; +typedef SInt32 int32_t; +typedef UInt32 uint32_t; +typedef SInt64 int64_t; +typedef UInt64 uint64_t; +typedef unsigned long uintptr_t; + +#define SDL_HAS_64BIT_TYPE 1 + +/* Useful headers */ +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STRING_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 +#define HAVE_SIGNAL_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_ABS 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_ITOA 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_SSCANF 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_SNDMGR 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various cdrom drivers */ +#if TARGET_API_MAC_CARBON +#define SDL_CDROM_DUMMY 1 +#else +#define SDL_CDROM_MACOS 1 +#endif + +/* Enable various input drivers */ +#if TARGET_API_MAC_CARBON +#define SDL_JOYSTICK_DUMMY 1 +#else +#define SDL_JOYSTICK_MACOS 1 +#endif + +/* Enable various shared object loading systems */ +#define SDL_LOADSO_MACOS 1 + +/* Enable various threading systems */ +#define SDL_THREADS_DISABLED 1 + +/* Enable various timer systems */ +#define SDL_TIMER_MACOS 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_DUMMY 1 +#define SDL_VIDEO_DRIVER_DRAWSPROCKET 1 +#define SDL_VIDEO_DRIVER_TOOLBOX 1 + +/* Enable OpenGL support */ +#define SDL_VIDEO_OPENGL 1 + +#endif /* _SDL_config_macos_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_macosx.h b/distrib/sdl-1.2.15/include/SDL_config_macosx.h new file mode 100644 index 0000000..84be617 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_macosx.h @@ -0,0 +1,150 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_macosx_h +#define _SDL_config_macosx_h + +#include "SDL_platform.h" + +/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */ +#include + +/* This is a set of defines to configure the SDL features */ + +#define SDL_HAS_64BIT_TYPE 1 + +/* Useful headers */ +/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */ +#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) ) +#define HAVE_ALLOCA_H 1 +#endif +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STRING_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 +#define HAVE_SIGNAL_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_GETENV 1 +#define HAVE_PUTENV 1 +#define HAVE_UNSETENV 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRDUP 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOULL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRNCASECMP 1 +#define HAVE_SSCANF 1 +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_SIGACTION 1 +#define HAVE_SETJMP 1 +#define HAVE_NANOSLEEP 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_COREAUDIO 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various cdrom drivers */ +#define SDL_CDROM_MACOSX 1 + +/* Enable various input drivers */ +#define SDL_JOYSTICK_IOKIT 1 + +/* Enable various shared object loading systems */ +#ifdef __ppc__ +/* For Mac OS X 10.2 compatibility */ +#define SDL_LOADSO_DLCOMPAT 1 +#else +#define SDL_LOADSO_DLOPEN 1 +#endif + +/* Enable various threading systems */ +#define SDL_THREAD_PTHREAD 1 +#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 + +/* Enable various timer systems */ +#define SDL_TIMER_UNIX 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_DUMMY 1 +#if ((defined TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON)) +#define SDL_VIDEO_DRIVER_TOOLBOX 1 +#else +#define SDL_VIDEO_DRIVER_QUARTZ 1 +#endif +#define SDL_VIDEO_DRIVER_DGA 1 +#define SDL_VIDEO_DRIVER_X11 1 +#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER "/usr/X11R6/lib/libXrender.1.dylib" +#define SDL_VIDEO_DRIVER_X11_VIDMODE 1 +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1 +#define SDL_VIDEO_DRIVER_X11_XME 1 +#define SDL_VIDEO_DRIVER_X11_XRANDR 1 +#define SDL_VIDEO_DRIVER_X11_XV 1 + +/* Enable OpenGL support */ +#define SDL_VIDEO_OPENGL 1 +#define SDL_VIDEO_OPENGL_GLX 1 + +/* Disable screensaver */ +#define SDL_VIDEO_DISABLE_SCREENSAVER 1 + +/* Enable assembly routines */ +#define SDL_ASSEMBLY_ROUTINES 1 +#ifdef __ppc__ +#define SDL_ALTIVEC_BLITTERS 1 +#endif + +#endif /* _SDL_config_macosx_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_minimal.h b/distrib/sdl-1.2.15/include/SDL_config_minimal.h new file mode 100644 index 0000000..d10db7c --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_minimal.h @@ -0,0 +1,62 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_minimal_h +#define _SDL_config_minimal_h + +#include "SDL_platform.h" + +/* This is the minimal configuration that can be used to build SDL */ + +#include + +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef signed short int16_t; +typedef unsigned short uint16_t; +typedef signed int int32_t; +typedef unsigned int uint32_t; +typedef unsigned int size_t; +typedef unsigned long uintptr_t; + +/* Enable the dummy audio driver (src/audio/dummy/\*.c) */ +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ +#define SDL_CDROM_DISABLED 1 + +/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ +#define SDL_JOYSTICK_DISABLED 1 + +/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ +#define SDL_LOADSO_DISABLED 1 + +/* Enable the stub thread support (src/thread/generic/\*.c) */ +#define SDL_THREADS_DISABLED 1 + +/* Enable the stub timer support (src/timer/dummy/\*.c) */ +#define SDL_TIMERS_DISABLED 1 + +/* Enable the dummy video driver (src/video/dummy/\*.c) */ +#define SDL_VIDEO_DRIVER_DUMMY 1 + +#endif /* _SDL_config_minimal_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_nds.h b/distrib/sdl-1.2.15/include/SDL_config_nds.h new file mode 100644 index 0000000..cb4d61f --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_nds.h @@ -0,0 +1,115 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_nds_h +#define _SDL_config_nds_h + +#include "SDL_platform.h" + +/* This is a set of defines to configure the SDL features */ + +/* General platform specific identifiers */ +#include "SDL_platform.h" + +/* C datatypes */ +#define SDL_HAS_64BIT_TYPE 1 + +/* Endianness */ +#define SDL_BYTEORDER 1234 + +/* Useful headers */ +#define HAVE_ALLOCA_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDARG_H 1 +#define HAVE_MALLOC_H 1 +#define HAVE_STRING_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 +#define HAVE_ICONV_H 1 +#define HAVE_SIGNAL_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_GETENV 1 +#define HAVE_PUTENV 1 +#define HAVE_UNSETENV 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_STRLEN 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRDUP 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOULL 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRNCASECMP 1 +#define HAVE_SSCANF 1 +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_SETJMP 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_NDS 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ +#define SDL_CDROM_DISABLED 1 + +/* Enable various input drivers */ +#define SDL_JOYSTICK_NDS 1 + +/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ +#define SDL_LOADSO_DISABLED 1 + +/* Enable the stub thread support (src/thread/generic/\*.c) */ +#define SDL_THREADS_DISABLED 1 + +/* Enable various timer systems */ +#define SDL_TIMER_NDS 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_NDS 1 +#define SDL_VIDEO_DRIVER_DUMMY 1 + +#endif /* _SDL_config_nds_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_os2.h b/distrib/sdl-1.2.15/include/SDL_config_os2.h new file mode 100644 index 0000000..42edd20 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_os2.h @@ -0,0 +1,141 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_os2_h +#define _SDL_config_os2_h + +#include "SDL_platform.h" + +/* This is a set of defines to configure the SDL features */ + +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef signed short int16_t; +typedef unsigned short uint16_t; +typedef signed int int32_t; +typedef unsigned int uint32_t; +typedef unsigned int size_t; +typedef unsigned long uintptr_t; +typedef signed long long int64_t; +typedef unsigned long long uint64_t; + +#define SDL_HAS_64BIT_TYPE 1 + +/* Use Watcom's LIBC */ +#define HAVE_LIBC 1 + +/* Useful headers */ +#define HAVE_SYS_TYPES_H 1 +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDARG_H 1 +#define HAVE_MALLOC_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 +#define HAVE_SIGNAL_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_GETENV 1 +#define HAVE_PUTENV 1 +#define HAVE_UNSETENV 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRDUP 1 +#define HAVE__STRREV 1 +#define HAVE__STRUPR 1 +#define HAVE__STRLWR 1 +#define HAVE_INDEX 1 +#define HAVE_RINDEX 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_ITOA 1 +#define HAVE__LTOA 1 +#define HAVE__UITOA 1 +#define HAVE__ULTOA 1 +#define HAVE_STRTOL 1 +#define HAVE__I64TOA 1 +#define HAVE__UI64TOA 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRICMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_SSCANF 1 +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_SETJMP 1 +#define HAVE_CLOCK_GETTIME 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_DART 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various cdrom drivers */ +#define SDL_CDROM_OS2 1 + +/* Enable various input drivers */ +#define SDL_JOYSTICK_OS2 1 + +/* Enable various shared object loading systems */ +#define SDL_LOADSO_OS2 1 + +/* Enable various threading systems */ +#define SDL_THREAD_OS2 1 + +/* Enable various timer systems */ +#define SDL_TIMER_OS2 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_DUMMY 1 +#define SDL_VIDEO_DRIVER_OS2FS 1 + +/* Enable OpenGL support */ +/* Nothing here yet for OS/2... :( */ + +/* Enable assembly routines where available */ +#define SDL_ASSEMBLY_ROUTINES 1 + +#endif /* _SDL_config_os2_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_symbian.h b/distrib/sdl-1.2.15/include/SDL_config_symbian.h new file mode 100644 index 0000000..e917ac6 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_symbian.h @@ -0,0 +1,146 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/* + +Symbian version Markus Mertama + +*/ + + +#ifndef _SDL_CONFIG_SYMBIAN_H +#define _SDL_CONFIG_SYMBIAN_H + +#include "SDL_platform.h" + +/* This is the minimal configuration that can be used to build SDL */ + + +#include +#include + + +#ifdef __GCCE__ +#define SYMBIAN32_GCCE +#endif + +#ifndef _SIZE_T_DEFINED +typedef unsigned int size_t; +#endif + +#ifndef _INTPTR_T_DECLARED +typedef unsigned int uintptr_t; +#endif + +#ifndef _INT8_T_DECLARED +typedef signed char int8_t; +#endif + +#ifndef _UINT8_T_DECLARED +typedef unsigned char uint8_t; +#endif + +#ifndef _INT16_T_DECLARED +typedef signed short int16_t; +#endif + +#ifndef _UINT16_T_DECLARED +typedef unsigned short uint16_t; +#endif + +#ifndef _INT32_T_DECLARED +typedef signed int int32_t; +#endif + +#ifndef _UINT32_T_DECLARED +typedef unsigned int uint32_t; +#endif + +#ifndef _INT64_T_DECLARED +typedef signed long long int64_t; +#endif + +#ifndef _UINT64_T_DECLARED +typedef unsigned long long uint64_t; +#endif + +#define SDL_AUDIO_DRIVER_EPOCAUDIO 1 + + +/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ +#define SDL_CDROM_DISABLED 1 + +/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ +#define SDL_JOYSTICK_DISABLED 1 + +/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ +#define SDL_LOADSO_DISABLED 1 + +#define SDL_THREAD_SYMBIAN 1 + +#define SDL_VIDEO_DRIVER_EPOC 1 + +#define SDL_VIDEO_OPENGL 0 + +#define SDL_HAS_64BIT_TYPE 1 + +#define HAVE_LIBC 1 +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STRING_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 + +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +/*#define HAVE_ALLOCA 1*/ +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE__STRUPR 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_ITOA 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +/*#define HAVE__STRICMP 1*/ +#define HAVE__STRNICMP 1 +#define HAVE_SSCANF 1 +#define HAVE_STDARG_H 1 +#define HAVE_STDDEF_H 1 + + + +#endif /* _SDL_CONFIG_SYMBIAN_H */ diff --git a/distrib/sdl-1.2.15/include/SDL_config_win32.h b/distrib/sdl-1.2.15/include/SDL_config_win32.h new file mode 100644 index 0000000..da2c15d --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_config_win32.h @@ -0,0 +1,183 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_config_win32_h +#define _SDL_config_win32_h + +#include "SDL_platform.h" + +/* This is a set of defines to configure the SDL features */ + +#if defined(__GNUC__) || defined(__DMC__) +#define HAVE_STDINT_H 1 +#elif defined(_MSC_VER) +typedef signed __int8 int8_t; +typedef unsigned __int8 uint8_t; +typedef signed __int16 int16_t; +typedef unsigned __int16 uint16_t; +typedef signed __int32 int32_t; +typedef unsigned __int32 uint32_t; +typedef signed __int64 int64_t; +typedef unsigned __int64 uint64_t; +#ifndef _UINTPTR_T_DEFINED +#ifdef _WIN64 +typedef unsigned __int64 uintptr_t; +#else +typedef unsigned int uintptr_t; +#endif +#define _UINTPTR_T_DEFINED +#endif +/* Older Visual C++ headers don't have the Win64-compatible typedefs... */ +#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR))) +#define DWORD_PTR DWORD +#endif +#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR))) +#define LONG_PTR LONG +#endif +#else /* !__GNUC__ && !_MSC_VER */ +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef signed short int16_t; +typedef unsigned short uint16_t; +typedef signed int int32_t; +typedef unsigned int uint32_t; +typedef signed long long int64_t; +typedef unsigned long long uint64_t; +#ifndef _SIZE_T_DEFINED_ +#define _SIZE_T_DEFINED_ +typedef unsigned int size_t; +#endif +typedef unsigned int uintptr_t; +#endif /* __GNUC__ || _MSC_VER */ +#define SDL_HAS_64BIT_TYPE 1 + +/* Enabled for SDL 1.2 (binary compatibility) */ +#define HAVE_LIBC 1 +#ifdef HAVE_LIBC +/* Useful headers */ +#define HAVE_STDIO_H 1 +#define STDC_HEADERS 1 +#define HAVE_STRING_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 +#ifndef _WIN32_WCE +#define HAVE_SIGNAL_H 1 +#endif + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE__STRREV 1 +#define HAVE__STRUPR 1 +#define HAVE__STRLWR 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_ITOA 1 +#define HAVE__LTOA 1 +#define HAVE__ULTOA 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE__STRICMP 1 +#define HAVE__STRNICMP 1 +#define HAVE_SSCANF 1 +#else +#define HAVE_STDARG_H 1 +#define HAVE_STDDEF_H 1 +#endif + +/* Enable various audio drivers */ +#ifndef _WIN32_WCE +#define SDL_AUDIO_DRIVER_DSOUND 1 +#endif +#define SDL_AUDIO_DRIVER_WAVEOUT 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various cdrom drivers */ +#ifdef _WIN32_WCE +#define SDL_CDROM_DISABLED 1 +#else +#define SDL_CDROM_WIN32 1 +#endif + +/* Enable various input drivers */ +#ifdef _WIN32_WCE +#define SDL_JOYSTICK_DISABLED 1 +#else +#define SDL_JOYSTICK_WINMM 1 +#endif + +/* Enable various shared object loading systems */ +#define SDL_LOADSO_WIN32 1 + +/* Enable various threading systems */ +#define SDL_THREAD_WIN32 1 + +/* Enable various timer systems */ +#ifdef _WIN32_WCE +#define SDL_TIMER_WINCE 1 +#else +#define SDL_TIMER_WIN32 1 +#endif + +/* Enable various video drivers */ +#ifdef _WIN32_WCE +#define SDL_VIDEO_DRIVER_GAPI 1 +#endif +#ifndef _WIN32_WCE +#define SDL_VIDEO_DRIVER_DDRAW 1 +#endif +#define SDL_VIDEO_DRIVER_DUMMY 1 +#define SDL_VIDEO_DRIVER_WINDIB 1 + +/* Enable OpenGL support */ +#ifndef _WIN32_WCE +#define SDL_VIDEO_OPENGL 1 +#define SDL_VIDEO_OPENGL_WGL 1 +#endif + +/* Disable screensaver */ +#define SDL_VIDEO_DISABLE_SCREENSAVER 1 + +/* Enable assembly routines (Win64 doesn't have inline asm) */ +#ifndef _WIN64 +#define SDL_ASSEMBLY_ROUTINES 1 +#endif + +#endif /* _SDL_config_win32_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_copying.h b/distrib/sdl-1.2.15/include/SDL_copying.h new file mode 100644 index 0000000..b5b64f2 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_copying.h @@ -0,0 +1,22 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + diff --git a/distrib/sdl-1.2.15/include/SDL_cpuinfo.h b/distrib/sdl-1.2.15/include/SDL_cpuinfo.h new file mode 100644 index 0000000..4200d6d --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_cpuinfo.h @@ -0,0 +1,69 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_cpuinfo.h + * CPU feature detection for SDL + */ + +#ifndef _SDL_cpuinfo_h +#define _SDL_cpuinfo_h + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** This function returns true if the CPU has the RDTSC instruction */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void); + +/** This function returns true if the CPU has MMX features */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void); + +/** This function returns true if the CPU has MMX Ext. features */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt(void); + +/** This function returns true if the CPU has 3DNow features */ +extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void); + +/** This function returns true if the CPU has 3DNow! Ext. features */ +extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt(void); + +/** This function returns true if the CPU has SSE features */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void); + +/** This function returns true if the CPU has SSE2 features */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void); + +/** This function returns true if the CPU has AltiVec features */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_cpuinfo_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_endian.h b/distrib/sdl-1.2.15/include/SDL_endian.h new file mode 100644 index 0000000..068da91 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_endian.h @@ -0,0 +1,214 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_endian.h + * Functions for reading and writing endian-specific values + */ + +#ifndef _SDL_endian_h +#define _SDL_endian_h + +#include "SDL_stdinc.h" + +/** @name SDL_ENDIANs + * The two types of endianness + */ +/*@{*/ +#define SDL_LIL_ENDIAN 1234 +#define SDL_BIG_ENDIAN 4321 +/*@}*/ + +#ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */ +#ifdef __linux__ +#include +#define SDL_BYTEORDER __BYTE_ORDER +#else /* __linux __ */ +#if defined(__hppa__) || \ + defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \ + (defined(__MIPS__) && defined(__MISPEB__)) || \ + defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \ + defined(__sparc__) +#define SDL_BYTEORDER SDL_BIG_ENDIAN +#else +#define SDL_BYTEORDER SDL_LIL_ENDIAN +#endif +#endif /* __linux __ */ +#endif /* !SDL_BYTEORDER */ + + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @name SDL_Swap Functions + * Use inline functions for compilers that support them, and static + * functions for those that do not. Because these functions become + * static for compilers that do not support inline functions, this + * header should only be included in files that actually use them. + */ +/*@{*/ +#if defined(__GNUC__) && defined(__i386__) && \ + !(__GNUC__ == 2 && __GNUC_MINOR__ <= 95 /* broken gcc version */) +static __inline__ Uint16 SDL_Swap16(Uint16 x) +{ + __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x)); + return x; +} +#elif defined(__GNUC__) && defined(__x86_64__) +static __inline__ Uint16 SDL_Swap16(Uint16 x) +{ + __asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x)); + return x; +} +#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) +static __inline__ Uint16 SDL_Swap16(Uint16 x) +{ + int result; + + __asm__("rlwimi %0,%2,8,16,23" : "=&r" (result) : "0" (x >> 8), "r" (x)); + return (Uint16)result; +} +#elif defined(__GNUC__) && (defined(__m68k__) && !defined(__mcoldfire__)) +static __inline__ Uint16 SDL_Swap16(Uint16 x) +{ + __asm__("rorw #8,%0" : "=d" (x) : "0" (x) : "cc"); + return x; +} +#else +static __inline__ Uint16 SDL_Swap16(Uint16 x) { + return SDL_static_cast(Uint16, ((x<<8)|(x>>8))); +} +#endif + +#if defined(__GNUC__) && defined(__i386__) && \ + !(__GNUC__ == 2 && __GNUC_MINOR__ <= 95 /* broken gcc version */) +static __inline__ Uint32 SDL_Swap32(Uint32 x) +{ + __asm__("bswap %0" : "=r" (x) : "0" (x)); + return x; +} +#elif defined(__GNUC__) && defined(__x86_64__) +static __inline__ Uint32 SDL_Swap32(Uint32 x) +{ + __asm__("bswapl %0" : "=r" (x) : "0" (x)); + return x; +} +#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) +static __inline__ Uint32 SDL_Swap32(Uint32 x) +{ + Uint32 result; + + __asm__("rlwimi %0,%2,24,16,23" : "=&r" (result) : "0" (x>>24), "r" (x)); + __asm__("rlwimi %0,%2,8,8,15" : "=&r" (result) : "0" (result), "r" (x)); + __asm__("rlwimi %0,%2,24,0,7" : "=&r" (result) : "0" (result), "r" (x)); + return result; +} +#elif defined(__GNUC__) && (defined(__m68k__) && !defined(__mcoldfire__)) +static __inline__ Uint32 SDL_Swap32(Uint32 x) +{ + __asm__("rorw #8,%0\n\tswap %0\n\trorw #8,%0" : "=d" (x) : "0" (x) : "cc"); + return x; +} +#else +static __inline__ Uint32 SDL_Swap32(Uint32 x) { + return SDL_static_cast(Uint32, ((x<<24)|((x<<8)&0x00FF0000)|((x>>8)&0x0000FF00)|(x>>24))); +} +#endif + +#ifdef SDL_HAS_64BIT_TYPE +#if defined(__GNUC__) && defined(__i386__) && \ + !(__GNUC__ == 2 && __GNUC_MINOR__ <= 95 /* broken gcc version */) +static __inline__ Uint64 SDL_Swap64(Uint64 x) +{ + union { + struct { Uint32 a,b; } s; + Uint64 u; + } v; + v.u = x; + __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1" + : "=r" (v.s.a), "=r" (v.s.b) + : "0" (v.s.a), "1" (v.s.b)); + return v.u; +} +#elif defined(__GNUC__) && defined(__x86_64__) +static __inline__ Uint64 SDL_Swap64(Uint64 x) +{ + __asm__("bswapq %0" : "=r" (x) : "0" (x)); + return x; +} +#else +static __inline__ Uint64 SDL_Swap64(Uint64 x) +{ + Uint32 hi, lo; + + /* Separate into high and low 32-bit values and swap them */ + lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF); + x >>= 32; + hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF); + x = SDL_Swap32(lo); + x <<= 32; + x |= SDL_Swap32(hi); + return (x); +} +#endif +#else +/* This is mainly to keep compilers from complaining in SDL code. + * If there is no real 64-bit datatype, then compilers will complain about + * the fake 64-bit datatype that SDL provides when it compiles user code. + */ +#define SDL_Swap64(X) (X) +#endif /* SDL_HAS_64BIT_TYPE */ +/*@}*/ + +/** + * @name SDL_SwapLE and SDL_SwapBE Functions + * Byteswap item from the specified endianness to the native endianness + */ +/*@{*/ +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define SDL_SwapLE16(X) (X) +#define SDL_SwapLE32(X) (X) +#define SDL_SwapLE64(X) (X) +#define SDL_SwapBE16(X) SDL_Swap16(X) +#define SDL_SwapBE32(X) SDL_Swap32(X) +#define SDL_SwapBE64(X) SDL_Swap64(X) +#else +#define SDL_SwapLE16(X) SDL_Swap16(X) +#define SDL_SwapLE32(X) SDL_Swap32(X) +#define SDL_SwapLE64(X) SDL_Swap64(X) +#define SDL_SwapBE16(X) (X) +#define SDL_SwapBE32(X) (X) +#define SDL_SwapBE64(X) (X) +#endif +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_endian_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_error.h b/distrib/sdl-1.2.15/include/SDL_error.h new file mode 100644 index 0000000..4e1cce3 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_error.h @@ -0,0 +1,72 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_error.h + * Simple error message routines for SDL + */ + +#ifndef _SDL_error_h +#define _SDL_error_h + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @name Public functions + */ +/*@{*/ +extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); +extern DECLSPEC char * SDLCALL SDL_GetError(void); +extern DECLSPEC void SDLCALL SDL_ClearError(void); +/*@}*/ + +/** + * @name Private functions + * @internal Private error message function - used internally + */ +/*@{*/ +#define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) +#define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) +typedef enum { + SDL_ENOMEM, + SDL_EFREAD, + SDL_EFWRITE, + SDL_EFSEEK, + SDL_UNSUPPORTED, + SDL_LASTERROR +} SDL_errorcode; +extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code); +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_error_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_events.h b/distrib/sdl-1.2.15/include/SDL_events.h new file mode 100644 index 0000000..94b4202 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_events.h @@ -0,0 +1,356 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file SDL_events.h + * Include file for SDL event handling + */ + +#ifndef _SDL_events_h +#define _SDL_events_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_active.h" +#include "SDL_keyboard.h" +#include "SDL_mouse.h" +#include "SDL_joystick.h" +#include "SDL_quit.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @name General keyboard/mouse state definitions */ +/*@{*/ +#define SDL_RELEASED 0 +#define SDL_PRESSED 1 +/*@}*/ + +/** Event enumerations */ +typedef enum { + SDL_NOEVENT = 0, /**< Unused (do not remove) */ + SDL_ACTIVEEVENT, /**< Application loses/gains visibility */ + SDL_KEYDOWN, /**< Keys pressed */ + SDL_KEYUP, /**< Keys released */ + SDL_MOUSEMOTION, /**< Mouse moved */ + SDL_MOUSEBUTTONDOWN, /**< Mouse button pressed */ + SDL_MOUSEBUTTONUP, /**< Mouse button released */ + SDL_JOYAXISMOTION, /**< Joystick axis motion */ + SDL_JOYBALLMOTION, /**< Joystick trackball motion */ + SDL_JOYHATMOTION, /**< Joystick hat position change */ + SDL_JOYBUTTONDOWN, /**< Joystick button pressed */ + SDL_JOYBUTTONUP, /**< Joystick button released */ + SDL_QUIT, /**< User-requested quit */ + SDL_SYSWMEVENT, /**< System specific event */ + SDL_EVENT_RESERVEDA, /**< Reserved for future use.. */ + SDL_EVENT_RESERVEDB, /**< Reserved for future use.. */ + SDL_VIDEORESIZE, /**< User resized video mode */ + SDL_VIDEOEXPOSE, /**< Screen needs to be redrawn */ + SDL_EVENT_RESERVED2, /**< Reserved for future use.. */ + SDL_EVENT_RESERVED3, /**< Reserved for future use.. */ + SDL_EVENT_RESERVED4, /**< Reserved for future use.. */ + SDL_EVENT_RESERVED5, /**< Reserved for future use.. */ + SDL_EVENT_RESERVED6, /**< Reserved for future use.. */ + SDL_EVENT_RESERVED7, /**< Reserved for future use.. */ + /** Events SDL_USEREVENT through SDL_MAXEVENTS-1 are for your use */ + SDL_USEREVENT = 24, + /** This last event is only for bounding internal arrays + * It is the number of bits in the event mask datatype -- Uint32 + */ + SDL_NUMEVENTS = 32 +} SDL_EventType; + +/** @name Predefined event masks */ +/*@{*/ +#define SDL_EVENTMASK(X) (1<<(X)) +typedef enum { + SDL_ACTIVEEVENTMASK = SDL_EVENTMASK(SDL_ACTIVEEVENT), + SDL_KEYDOWNMASK = SDL_EVENTMASK(SDL_KEYDOWN), + SDL_KEYUPMASK = SDL_EVENTMASK(SDL_KEYUP), + SDL_KEYEVENTMASK = SDL_EVENTMASK(SDL_KEYDOWN)| + SDL_EVENTMASK(SDL_KEYUP), + SDL_MOUSEMOTIONMASK = SDL_EVENTMASK(SDL_MOUSEMOTION), + SDL_MOUSEBUTTONDOWNMASK = SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN), + SDL_MOUSEBUTTONUPMASK = SDL_EVENTMASK(SDL_MOUSEBUTTONUP), + SDL_MOUSEEVENTMASK = SDL_EVENTMASK(SDL_MOUSEMOTION)| + SDL_EVENTMASK(SDL_MOUSEBUTTONDOWN)| + SDL_EVENTMASK(SDL_MOUSEBUTTONUP), + SDL_JOYAXISMOTIONMASK = SDL_EVENTMASK(SDL_JOYAXISMOTION), + SDL_JOYBALLMOTIONMASK = SDL_EVENTMASK(SDL_JOYBALLMOTION), + SDL_JOYHATMOTIONMASK = SDL_EVENTMASK(SDL_JOYHATMOTION), + SDL_JOYBUTTONDOWNMASK = SDL_EVENTMASK(SDL_JOYBUTTONDOWN), + SDL_JOYBUTTONUPMASK = SDL_EVENTMASK(SDL_JOYBUTTONUP), + SDL_JOYEVENTMASK = SDL_EVENTMASK(SDL_JOYAXISMOTION)| + SDL_EVENTMASK(SDL_JOYBALLMOTION)| + SDL_EVENTMASK(SDL_JOYHATMOTION)| + SDL_EVENTMASK(SDL_JOYBUTTONDOWN)| + SDL_EVENTMASK(SDL_JOYBUTTONUP), + SDL_VIDEORESIZEMASK = SDL_EVENTMASK(SDL_VIDEORESIZE), + SDL_VIDEOEXPOSEMASK = SDL_EVENTMASK(SDL_VIDEOEXPOSE), + SDL_QUITMASK = SDL_EVENTMASK(SDL_QUIT), + SDL_SYSWMEVENTMASK = SDL_EVENTMASK(SDL_SYSWMEVENT) +} SDL_EventMask ; +#define SDL_ALLEVENTS 0xFFFFFFFF +/*@}*/ + +/** Application visibility event structure */ +typedef struct SDL_ActiveEvent { + Uint8 type; /**< SDL_ACTIVEEVENT */ + Uint8 gain; /**< Whether given states were gained or lost (1/0) */ + Uint8 state; /**< A mask of the focus states */ +} SDL_ActiveEvent; + +/** Keyboard event structure */ +typedef struct SDL_KeyboardEvent { + Uint8 type; /**< SDL_KEYDOWN or SDL_KEYUP */ + Uint8 which; /**< The keyboard device index */ + Uint8 state; /**< SDL_PRESSED or SDL_RELEASED */ + SDL_keysym keysym; +} SDL_KeyboardEvent; + +/** Mouse motion event structure */ +typedef struct SDL_MouseMotionEvent { + Uint8 type; /**< SDL_MOUSEMOTION */ + Uint8 which; /**< The mouse device index */ + Uint8 state; /**< The current button state */ + Uint16 x, y; /**< The X/Y coordinates of the mouse */ + Sint16 xrel; /**< The relative motion in the X direction */ + Sint16 yrel; /**< The relative motion in the Y direction */ +} SDL_MouseMotionEvent; + +/** Mouse button event structure */ +typedef struct SDL_MouseButtonEvent { + Uint8 type; /**< SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP */ + Uint8 which; /**< The mouse device index */ + Uint8 button; /**< The mouse button index */ + Uint8 state; /**< SDL_PRESSED or SDL_RELEASED */ + Uint16 x, y; /**< The X/Y coordinates of the mouse at press time */ +} SDL_MouseButtonEvent; + +/** Joystick axis motion event structure */ +typedef struct SDL_JoyAxisEvent { + Uint8 type; /**< SDL_JOYAXISMOTION */ + Uint8 which; /**< The joystick device index */ + Uint8 axis; /**< The joystick axis index */ + Sint16 value; /**< The axis value (range: -32768 to 32767) */ +} SDL_JoyAxisEvent; + +/** Joystick trackball motion event structure */ +typedef struct SDL_JoyBallEvent { + Uint8 type; /**< SDL_JOYBALLMOTION */ + Uint8 which; /**< The joystick device index */ + Uint8 ball; /**< The joystick trackball index */ + Sint16 xrel; /**< The relative motion in the X direction */ + Sint16 yrel; /**< The relative motion in the Y direction */ +} SDL_JoyBallEvent; + +/** Joystick hat position change event structure */ +typedef struct SDL_JoyHatEvent { + Uint8 type; /**< SDL_JOYHATMOTION */ + Uint8 which; /**< The joystick device index */ + Uint8 hat; /**< The joystick hat index */ + Uint8 value; /**< The hat position value: + * SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP + * SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT + * SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN + * Note that zero means the POV is centered. + */ +} SDL_JoyHatEvent; + +/** Joystick button event structure */ +typedef struct SDL_JoyButtonEvent { + Uint8 type; /**< SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP */ + Uint8 which; /**< The joystick device index */ + Uint8 button; /**< The joystick button index */ + Uint8 state; /**< SDL_PRESSED or SDL_RELEASED */ +} SDL_JoyButtonEvent; + +/** The "window resized" event + * When you get this event, you are responsible for setting a new video + * mode with the new width and height. + */ +typedef struct SDL_ResizeEvent { + Uint8 type; /**< SDL_VIDEORESIZE */ + int w; /**< New width */ + int h; /**< New height */ +} SDL_ResizeEvent; + +/** The "screen redraw" event */ +typedef struct SDL_ExposeEvent { + Uint8 type; /**< SDL_VIDEOEXPOSE */ +} SDL_ExposeEvent; + +/** The "quit requested" event */ +typedef struct SDL_QuitEvent { + Uint8 type; /**< SDL_QUIT */ +} SDL_QuitEvent; + +/** A user-defined event type */ +typedef struct SDL_UserEvent { + Uint8 type; /**< SDL_USEREVENT through SDL_NUMEVENTS-1 */ + int code; /**< User defined event code */ + void *data1; /**< User defined data pointer */ + void *data2; /**< User defined data pointer */ +} SDL_UserEvent; + +/** If you want to use this event, you should include SDL_syswm.h */ +struct SDL_SysWMmsg; +typedef struct SDL_SysWMmsg SDL_SysWMmsg; +typedef struct SDL_SysWMEvent { + Uint8 type; + SDL_SysWMmsg *msg; +} SDL_SysWMEvent; + +/** General event structure */ +typedef union SDL_Event { + Uint8 type; + SDL_ActiveEvent active; + SDL_KeyboardEvent key; + SDL_MouseMotionEvent motion; + SDL_MouseButtonEvent button; + SDL_JoyAxisEvent jaxis; + SDL_JoyBallEvent jball; + SDL_JoyHatEvent jhat; + SDL_JoyButtonEvent jbutton; + SDL_ResizeEvent resize; + SDL_ExposeEvent expose; + SDL_QuitEvent quit; + SDL_UserEvent user; + SDL_SysWMEvent syswm; +} SDL_Event; + + +/* Function prototypes */ + +/** Pumps the event loop, gathering events from the input devices. + * This function updates the event queue and internal input device state. + * This should only be run in the thread that sets the video mode. + */ +extern DECLSPEC void SDLCALL SDL_PumpEvents(void); + +typedef enum { + SDL_ADDEVENT, + SDL_PEEKEVENT, + SDL_GETEVENT +} SDL_eventaction; + +/** + * Checks the event queue for messages and optionally returns them. + * + * If 'action' is SDL_ADDEVENT, up to 'numevents' events will be added to + * the back of the event queue. + * If 'action' is SDL_PEEKEVENT, up to 'numevents' events at the front + * of the event queue, matching 'mask', will be returned and will not + * be removed from the queue. + * If 'action' is SDL_GETEVENT, up to 'numevents' events at the front + * of the event queue, matching 'mask', will be returned and will be + * removed from the queue. + * + * @return + * This function returns the number of events actually stored, or -1 + * if there was an error. + * + * This function is thread-safe. + */ +extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event *events, int numevents, + SDL_eventaction action, Uint32 mask); + +/** Polls for currently pending events, and returns 1 if there are any pending + * events, or 0 if there are none available. If 'event' is not NULL, the next + * event is removed from the queue and stored in that area. + */ +extern DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event *event); + +/** Waits indefinitely for the next available event, returning 1, or 0 if there + * was an error while waiting for events. If 'event' is not NULL, the next + * event is removed from the queue and stored in that area. + */ +extern DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event *event); + +/** Add an event to the event queue. + * This function returns 0 on success, or -1 if the event queue was full + * or there was some other error. + */ +extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event *event); + +/** @name Event Filtering */ +/*@{*/ +typedef int (SDLCALL *SDL_EventFilter)(const SDL_Event *event); +/** + * This function sets up a filter to process all events before they + * change internal state and are posted to the internal event queue. + * + * The filter is protypted as: + * @code typedef int (SDLCALL *SDL_EventFilter)(const SDL_Event *event); @endcode + * + * If the filter returns 1, then the event will be added to the internal queue. + * If it returns 0, then the event will be dropped from the queue, but the + * internal state will still be updated. This allows selective filtering of + * dynamically arriving events. + * + * @warning Be very careful of what you do in the event filter function, as + * it may run in a different thread! + * + * There is one caveat when dealing with the SDL_QUITEVENT event type. The + * event filter is only called when the window manager desires to close the + * application window. If the event filter returns 1, then the window will + * be closed, otherwise the window will remain open if possible. + * If the quit event is generated by an interrupt signal, it will bypass the + * internal queue and be delivered to the application at the next event poll. + */ +extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter); + +/** + * Return the current event filter - can be used to "chain" filters. + * If there is no event filter set, this function returns NULL. + */ +extern DECLSPEC SDL_EventFilter SDLCALL SDL_GetEventFilter(void); +/*@}*/ + +/** @name Event State */ +/*@{*/ +#define SDL_QUERY -1 +#define SDL_IGNORE 0 +#define SDL_DISABLE 0 +#define SDL_ENABLE 1 +/*@}*/ + +/** +* This function allows you to set the state of processing certain events. +* If 'state' is set to SDL_IGNORE, that event will be automatically dropped +* from the event queue and will not event be filtered. +* If 'state' is set to SDL_ENABLE, that event will be processed normally. +* If 'state' is set to SDL_QUERY, SDL_EventState() will return the +* current processing state of the specified event. +*/ +extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint8 type, int state); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_events_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_getenv.h b/distrib/sdl-1.2.15/include/SDL_getenv.h new file mode 100644 index 0000000..bea6300 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_getenv.h @@ -0,0 +1,28 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_getenv.h + * @deprecated Use SDL_stdinc.h instead + */ + +/* DEPRECATED */ +#include "SDL_stdinc.h" diff --git a/distrib/sdl-1.2.15/include/SDL_joystick.h b/distrib/sdl-1.2.15/include/SDL_joystick.h new file mode 100644 index 0000000..708d1a9 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_joystick.h @@ -0,0 +1,187 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_joystick.h + * Include file for SDL joystick event handling + */ + +#ifndef _SDL_joystick_h +#define _SDL_joystick_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @file SDL_joystick.h + * @note In order to use these functions, SDL_Init() must have been called + * with the SDL_INIT_JOYSTICK flag. This causes SDL to scan the system + * for joysticks, and load appropriate drivers. + */ + +/** The joystick structure used to identify an SDL joystick */ +struct _SDL_Joystick; +typedef struct _SDL_Joystick SDL_Joystick; + +/* Function prototypes */ +/** + * Count the number of joysticks attached to the system + */ +extern DECLSPEC int SDLCALL SDL_NumJoysticks(void); + +/** + * Get the implementation dependent name of a joystick. + * + * This can be called before any joysticks are opened. + * If no name can be found, this function returns NULL. + */ +extern DECLSPEC const char * SDLCALL SDL_JoystickName(int device_index); + +/** + * Open a joystick for use. + * + * @param[in] device_index + * The index passed as an argument refers to + * the N'th joystick on the system. This index is the value which will + * identify this joystick in future joystick events. + * + * @return This function returns a joystick identifier, or NULL if an error occurred. + */ +extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index); + +/** + * Returns 1 if the joystick has been opened, or 0 if it has not. + */ +extern DECLSPEC int SDLCALL SDL_JoystickOpened(int device_index); + +/** + * Get the device index of an opened joystick. + */ +extern DECLSPEC int SDLCALL SDL_JoystickIndex(SDL_Joystick *joystick); + +/** + * Get the number of general axis controls on a joystick + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick); + +/** + * Get the number of trackballs on a joystick + * + * Joystick trackballs have only relative motion events associated + * with them and their state cannot be polled. + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick); + +/** + * Get the number of POV hats on a joystick + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick); + +/** + * Get the number of buttons on a joystick + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick); + +/** + * Update the current state of the open joysticks. + * + * This is called automatically by the event loop if any joystick + * events are enabled. + */ +extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void); + +/** + * Enable/disable joystick event polling. + * + * If joystick events are disabled, you must call SDL_JoystickUpdate() + * yourself and check the state of the joystick when you want joystick + * information. + * + * @param[in] state The state can be one of SDL_QUERY, SDL_ENABLE or SDL_IGNORE. + */ +extern DECLSPEC int SDLCALL SDL_JoystickEventState(int state); + +/** + * Get the current state of an axis control on a joystick + * + * @param[in] axis The axis indices start at index 0. + * + * @return The state is a value ranging from -32768 to 32767. + */ +extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis); + +/** + * @name Hat Positions + * The return value of SDL_JoystickGetHat() is one of the following positions: + */ +/*@{*/ +#define SDL_HAT_CENTERED 0x00 +#define SDL_HAT_UP 0x01 +#define SDL_HAT_RIGHT 0x02 +#define SDL_HAT_DOWN 0x04 +#define SDL_HAT_LEFT 0x08 +#define SDL_HAT_RIGHTUP (SDL_HAT_RIGHT|SDL_HAT_UP) +#define SDL_HAT_RIGHTDOWN (SDL_HAT_RIGHT|SDL_HAT_DOWN) +#define SDL_HAT_LEFTUP (SDL_HAT_LEFT|SDL_HAT_UP) +#define SDL_HAT_LEFTDOWN (SDL_HAT_LEFT|SDL_HAT_DOWN) +/*@}*/ + +/** + * Get the current state of a POV hat on a joystick + * + * @param[in] hat The hat indices start at index 0. + */ +extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat); + +/** + * Get the ball axis change since the last poll + * + * @param[in] ball The ball indices start at index 0. + * + * @return This returns 0, or -1 if you passed it invalid parameters. + */ +extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy); + +/** + * Get the current state of a button on a joystick + * + * @param[in] button The button indices start at index 0. + */ +extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick *joystick, int button); + +/** + * Close a joystick previously opened with SDL_JoystickOpen() + */ +extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick *joystick); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_joystick_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_keyboard.h b/distrib/sdl-1.2.15/include/SDL_keyboard.h new file mode 100644 index 0000000..9d7129c --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_keyboard.h @@ -0,0 +1,135 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_keyboard.h + * Include file for SDL keyboard event handling + */ + +#ifndef _SDL_keyboard_h +#define _SDL_keyboard_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_keysym.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** Keysym structure + * + * - The scancode is hardware dependent, and should not be used by general + * applications. If no hardware scancode is available, it will be 0. + * + * - The 'unicode' translated character is only available when character + * translation is enabled by the SDL_EnableUNICODE() API. If non-zero, + * this is a UNICODE character corresponding to the keypress. If the + * high 9 bits of the character are 0, then this maps to the equivalent + * ASCII character: + * @code + * char ch; + * if ( (keysym.unicode & 0xFF80) == 0 ) { + * ch = keysym.unicode & 0x7F; + * } else { + * An international character.. + * } + * @endcode + */ +typedef struct SDL_keysym { + Uint8 scancode; /**< hardware specific scancode */ + SDLKey sym; /**< SDL virtual keysym */ + SDLMod mod; /**< current key modifiers */ + Uint16 unicode; /**< translated character */ +} SDL_keysym; + +/** This is the mask which refers to all hotkey bindings */ +#define SDL_ALL_HOTKEYS 0xFFFFFFFF + +/* Function prototypes */ +/** + * Enable/Disable UNICODE translation of keyboard input. + * + * This translation has some overhead, so translation defaults off. + * + * @param[in] enable + * If 'enable' is 1, translation is enabled. + * If 'enable' is 0, translation is disabled. + * If 'enable' is -1, the translation state is not changed. + * + * @return It returns the previous state of keyboard translation. + */ +extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); + +#define SDL_DEFAULT_REPEAT_DELAY 500 +#define SDL_DEFAULT_REPEAT_INTERVAL 30 +/** + * Enable/Disable keyboard repeat. Keyboard repeat defaults to off. + * + * @param[in] delay + * 'delay' is the initial delay in ms between the time when a key is + * pressed, and keyboard repeat begins. + * + * @param[in] interval + * 'interval' is the time in ms between keyboard repeat events. + * + * If 'delay' is set to 0, keyboard repeat is disabled. + */ +extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); +extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); + +/** + * Get a snapshot of the current state of the keyboard. + * Returns an array of keystates, indexed by the SDLK_* syms. + * Usage: + * @code + * Uint8 *keystate = SDL_GetKeyState(NULL); + * if ( keystate[SDLK_RETURN] ) //... \ is pressed. + * @endcode + */ +extern DECLSPEC Uint8 * SDLCALL SDL_GetKeyState(int *numkeys); + +/** + * Get the current key modifier state + */ +extern DECLSPEC SDLMod SDLCALL SDL_GetModState(void); + +/** + * Set the current key modifier state. + * This does not change the keyboard state, only the key modifier flags. + */ +extern DECLSPEC void SDLCALL SDL_SetModState(SDLMod modstate); + +/** + * Get the name of an SDL virtual keysym + */ +extern DECLSPEC char * SDLCALL SDL_GetKeyName(SDLKey key); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_keyboard_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_keysym.h b/distrib/sdl-1.2.15/include/SDL_keysym.h new file mode 100644 index 0000000..f2ad12b --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_keysym.h @@ -0,0 +1,326 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_keysym_h +#define _SDL_keysym_h + +/** What we really want is a mapping of every raw key on the keyboard. + * To support international keyboards, we use the range 0xA1 - 0xFF + * as international virtual keycodes. We'll follow in the footsteps of X11... + * @brief The names of the keys + */ +typedef enum { + /** @name ASCII mapped keysyms + * The keyboard syms have been cleverly chosen to map to ASCII + */ + /*@{*/ + SDLK_UNKNOWN = 0, + SDLK_FIRST = 0, + SDLK_BACKSPACE = 8, + SDLK_TAB = 9, + SDLK_CLEAR = 12, + SDLK_RETURN = 13, + SDLK_PAUSE = 19, + SDLK_ESCAPE = 27, + SDLK_SPACE = 32, + SDLK_EXCLAIM = 33, + SDLK_QUOTEDBL = 34, + SDLK_HASH = 35, + SDLK_DOLLAR = 36, + SDLK_AMPERSAND = 38, + SDLK_QUOTE = 39, + SDLK_LEFTPAREN = 40, + SDLK_RIGHTPAREN = 41, + SDLK_ASTERISK = 42, + SDLK_PLUS = 43, + SDLK_COMMA = 44, + SDLK_MINUS = 45, + SDLK_PERIOD = 46, + SDLK_SLASH = 47, + SDLK_0 = 48, + SDLK_1 = 49, + SDLK_2 = 50, + SDLK_3 = 51, + SDLK_4 = 52, + SDLK_5 = 53, + SDLK_6 = 54, + SDLK_7 = 55, + SDLK_8 = 56, + SDLK_9 = 57, + SDLK_COLON = 58, + SDLK_SEMICOLON = 59, + SDLK_LESS = 60, + SDLK_EQUALS = 61, + SDLK_GREATER = 62, + SDLK_QUESTION = 63, + SDLK_AT = 64, + /* + Skip uppercase letters + */ + SDLK_LEFTBRACKET = 91, + SDLK_BACKSLASH = 92, + SDLK_RIGHTBRACKET = 93, + SDLK_CARET = 94, + SDLK_UNDERSCORE = 95, + SDLK_BACKQUOTE = 96, + SDLK_a = 97, + SDLK_b = 98, + SDLK_c = 99, + SDLK_d = 100, + SDLK_e = 101, + SDLK_f = 102, + SDLK_g = 103, + SDLK_h = 104, + SDLK_i = 105, + SDLK_j = 106, + SDLK_k = 107, + SDLK_l = 108, + SDLK_m = 109, + SDLK_n = 110, + SDLK_o = 111, + SDLK_p = 112, + SDLK_q = 113, + SDLK_r = 114, + SDLK_s = 115, + SDLK_t = 116, + SDLK_u = 117, + SDLK_v = 118, + SDLK_w = 119, + SDLK_x = 120, + SDLK_y = 121, + SDLK_z = 122, + SDLK_DELETE = 127, + /* End of ASCII mapped keysyms */ + /*@}*/ + + /** @name International keyboard syms */ + /*@{*/ + SDLK_WORLD_0 = 160, /* 0xA0 */ + SDLK_WORLD_1 = 161, + SDLK_WORLD_2 = 162, + SDLK_WORLD_3 = 163, + SDLK_WORLD_4 = 164, + SDLK_WORLD_5 = 165, + SDLK_WORLD_6 = 166, + SDLK_WORLD_7 = 167, + SDLK_WORLD_8 = 168, + SDLK_WORLD_9 = 169, + SDLK_WORLD_10 = 170, + SDLK_WORLD_11 = 171, + SDLK_WORLD_12 = 172, + SDLK_WORLD_13 = 173, + SDLK_WORLD_14 = 174, + SDLK_WORLD_15 = 175, + SDLK_WORLD_16 = 176, + SDLK_WORLD_17 = 177, + SDLK_WORLD_18 = 178, + SDLK_WORLD_19 = 179, + SDLK_WORLD_20 = 180, + SDLK_WORLD_21 = 181, + SDLK_WORLD_22 = 182, + SDLK_WORLD_23 = 183, + SDLK_WORLD_24 = 184, + SDLK_WORLD_25 = 185, + SDLK_WORLD_26 = 186, + SDLK_WORLD_27 = 187, + SDLK_WORLD_28 = 188, + SDLK_WORLD_29 = 189, + SDLK_WORLD_30 = 190, + SDLK_WORLD_31 = 191, + SDLK_WORLD_32 = 192, + SDLK_WORLD_33 = 193, + SDLK_WORLD_34 = 194, + SDLK_WORLD_35 = 195, + SDLK_WORLD_36 = 196, + SDLK_WORLD_37 = 197, + SDLK_WORLD_38 = 198, + SDLK_WORLD_39 = 199, + SDLK_WORLD_40 = 200, + SDLK_WORLD_41 = 201, + SDLK_WORLD_42 = 202, + SDLK_WORLD_43 = 203, + SDLK_WORLD_44 = 204, + SDLK_WORLD_45 = 205, + SDLK_WORLD_46 = 206, + SDLK_WORLD_47 = 207, + SDLK_WORLD_48 = 208, + SDLK_WORLD_49 = 209, + SDLK_WORLD_50 = 210, + SDLK_WORLD_51 = 211, + SDLK_WORLD_52 = 212, + SDLK_WORLD_53 = 213, + SDLK_WORLD_54 = 214, + SDLK_WORLD_55 = 215, + SDLK_WORLD_56 = 216, + SDLK_WORLD_57 = 217, + SDLK_WORLD_58 = 218, + SDLK_WORLD_59 = 219, + SDLK_WORLD_60 = 220, + SDLK_WORLD_61 = 221, + SDLK_WORLD_62 = 222, + SDLK_WORLD_63 = 223, + SDLK_WORLD_64 = 224, + SDLK_WORLD_65 = 225, + SDLK_WORLD_66 = 226, + SDLK_WORLD_67 = 227, + SDLK_WORLD_68 = 228, + SDLK_WORLD_69 = 229, + SDLK_WORLD_70 = 230, + SDLK_WORLD_71 = 231, + SDLK_WORLD_72 = 232, + SDLK_WORLD_73 = 233, + SDLK_WORLD_74 = 234, + SDLK_WORLD_75 = 235, + SDLK_WORLD_76 = 236, + SDLK_WORLD_77 = 237, + SDLK_WORLD_78 = 238, + SDLK_WORLD_79 = 239, + SDLK_WORLD_80 = 240, + SDLK_WORLD_81 = 241, + SDLK_WORLD_82 = 242, + SDLK_WORLD_83 = 243, + SDLK_WORLD_84 = 244, + SDLK_WORLD_85 = 245, + SDLK_WORLD_86 = 246, + SDLK_WORLD_87 = 247, + SDLK_WORLD_88 = 248, + SDLK_WORLD_89 = 249, + SDLK_WORLD_90 = 250, + SDLK_WORLD_91 = 251, + SDLK_WORLD_92 = 252, + SDLK_WORLD_93 = 253, + SDLK_WORLD_94 = 254, + SDLK_WORLD_95 = 255, /* 0xFF */ + /*@}*/ + + /** @name Numeric keypad */ + /*@{*/ + SDLK_KP0 = 256, + SDLK_KP1 = 257, + SDLK_KP2 = 258, + SDLK_KP3 = 259, + SDLK_KP4 = 260, + SDLK_KP5 = 261, + SDLK_KP6 = 262, + SDLK_KP7 = 263, + SDLK_KP8 = 264, + SDLK_KP9 = 265, + SDLK_KP_PERIOD = 266, + SDLK_KP_DIVIDE = 267, + SDLK_KP_MULTIPLY = 268, + SDLK_KP_MINUS = 269, + SDLK_KP_PLUS = 270, + SDLK_KP_ENTER = 271, + SDLK_KP_EQUALS = 272, + /*@}*/ + + /** @name Arrows + Home/End pad */ + /*@{*/ + SDLK_UP = 273, + SDLK_DOWN = 274, + SDLK_RIGHT = 275, + SDLK_LEFT = 276, + SDLK_INSERT = 277, + SDLK_HOME = 278, + SDLK_END = 279, + SDLK_PAGEUP = 280, + SDLK_PAGEDOWN = 281, + /*@}*/ + + /** @name Function keys */ + /*@{*/ + SDLK_F1 = 282, + SDLK_F2 = 283, + SDLK_F3 = 284, + SDLK_F4 = 285, + SDLK_F5 = 286, + SDLK_F6 = 287, + SDLK_F7 = 288, + SDLK_F8 = 289, + SDLK_F9 = 290, + SDLK_F10 = 291, + SDLK_F11 = 292, + SDLK_F12 = 293, + SDLK_F13 = 294, + SDLK_F14 = 295, + SDLK_F15 = 296, + /*@}*/ + + /** @name Key state modifier keys */ + /*@{*/ + SDLK_NUMLOCK = 300, + SDLK_CAPSLOCK = 301, + SDLK_SCROLLOCK = 302, + SDLK_RSHIFT = 303, + SDLK_LSHIFT = 304, + SDLK_RCTRL = 305, + SDLK_LCTRL = 306, + SDLK_RALT = 307, + SDLK_LALT = 308, + SDLK_RMETA = 309, + SDLK_LMETA = 310, + SDLK_LSUPER = 311, /**< Left "Windows" key */ + SDLK_RSUPER = 312, /**< Right "Windows" key */ + SDLK_MODE = 313, /**< "Alt Gr" key */ + SDLK_COMPOSE = 314, /**< Multi-key compose key */ + /*@}*/ + + /** @name Miscellaneous function keys */ + /*@{*/ + SDLK_HELP = 315, + SDLK_PRINT = 316, + SDLK_SYSREQ = 317, + SDLK_BREAK = 318, + SDLK_MENU = 319, + SDLK_POWER = 320, /**< Power Macintosh power key */ + SDLK_EURO = 321, /**< Some european keyboards */ + SDLK_UNDO = 322, /**< Atari keyboard has Undo */ + /*@}*/ + + /* Add any other keys here */ + + SDLK_LAST +} SDLKey; + +/** Enumeration of valid key mods (possibly OR'd together) */ +typedef enum { + KMOD_NONE = 0x0000, + KMOD_LSHIFT= 0x0001, + KMOD_RSHIFT= 0x0002, + KMOD_LCTRL = 0x0040, + KMOD_RCTRL = 0x0080, + KMOD_LALT = 0x0100, + KMOD_RALT = 0x0200, + KMOD_LMETA = 0x0400, + KMOD_RMETA = 0x0800, + KMOD_NUM = 0x1000, + KMOD_CAPS = 0x2000, + KMOD_MODE = 0x4000, + KMOD_RESERVED = 0x8000 +} SDLMod; + +#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL) +#define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT) +#define KMOD_ALT (KMOD_LALT|KMOD_RALT) +#define KMOD_META (KMOD_LMETA|KMOD_RMETA) + +#endif /* _SDL_keysym_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_loadso.h b/distrib/sdl-1.2.15/include/SDL_loadso.h new file mode 100644 index 0000000..0c5e536 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_loadso.h @@ -0,0 +1,78 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_loadso.h + * System dependent library loading routines + */ + +/** @file SDL_loadso.h + * Some things to keep in mind: + * - These functions only work on C function names. Other languages may + * have name mangling and intrinsic language support that varies from + * compiler to compiler. + * - Make sure you declare your function pointers with the same calling + * convention as the actual library function. Your code will crash + * mysteriously if you do not do this. + * - Avoid namespace collisions. If you load a symbol from the library, + * it is not defined whether or not it goes into the global symbol + * namespace for the application. If it does and it conflicts with + * symbols in your code or other shared libraries, you will not get + * the results you expect. :) + */ + + +#ifndef _SDL_loadso_h +#define _SDL_loadso_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * This function dynamically loads a shared object and returns a pointer + * to the object handle (or NULL if there was an error). + * The 'sofile' parameter is a system dependent name of the object file. + */ +extern DECLSPEC void * SDLCALL SDL_LoadObject(const char *sofile); + +/** + * Given an object handle, this function looks up the address of the + * named function in the shared object and returns it. This address + * is no longer valid after calling SDL_UnloadObject(). + */ +extern DECLSPEC void * SDLCALL SDL_LoadFunction(void *handle, const char *name); + +/** Unload a shared object from memory */ +extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_loadso_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_main.h b/distrib/sdl-1.2.15/include/SDL_main.h new file mode 100644 index 0000000..ab50ef1 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_main.h @@ -0,0 +1,106 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_main_h +#define _SDL_main_h + +#include "SDL_stdinc.h" + +/** @file SDL_main.h + * Redefine main() on Win32 and MacOS so that it is called by winmain.c + */ + +#if defined(__WIN32__) || \ + (defined(__MWERKS__) && !defined(__BEOS__)) || \ + defined(__MACOS__) || defined(__MACOSX__) || \ + defined(__SYMBIAN32__) || defined(QWS) + +#ifdef __cplusplus +#define C_LINKAGE "C" +#else +#define C_LINKAGE +#endif /* __cplusplus */ + +/** The application's main() function must be called with C linkage, + * and should be declared like this: + * @code + * #ifdef __cplusplus + * extern "C" + * #endif + * int main(int argc, char *argv[]) + * { + * } + * @endcode + */ +#define main SDL_main + +/** The prototype for the application's main() function */ +extern C_LINKAGE int SDL_main(int argc, char *argv[]); + + +/** @name From the SDL library code -- needed for registering the app on Win32 */ +/*@{*/ +#ifdef __WIN32__ + +#include "begin_code.h" +#ifdef __cplusplus +extern "C" { +#endif + +/** This should be called from your WinMain() function, if any */ +extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst); +/** This can also be called, but is no longer necessary */ +extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst); +/** This can also be called, but is no longer necessary (SDL_Quit calls it) */ +extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); +#ifdef __cplusplus +} +#endif +#include "close_code.h" +#endif +/*@}*/ + +/** @name From the SDL library code -- needed for registering QuickDraw on MacOS */ +/*@{*/ +#if defined(__MACOS__) + +#include "begin_code.h" +#ifdef __cplusplus +extern "C" { +#endif + +/** Forward declaration so we don't need to include QuickDraw.h */ +struct QDGlobals; + +/** This should be called from your main() function, if any */ +extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd); + +#ifdef __cplusplus +} +#endif +#include "close_code.h" +#endif +/*@}*/ + +#endif /* Need to redefine main()? */ + +#endif /* _SDL_main_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_mouse.h b/distrib/sdl-1.2.15/include/SDL_mouse.h new file mode 100644 index 0000000..7c563b9 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_mouse.h @@ -0,0 +1,143 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_mouse.h + * Include file for SDL mouse event handling + */ + +#ifndef _SDL_mouse_h +#define _SDL_mouse_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct WMcursor WMcursor; /**< Implementation dependent */ +typedef struct SDL_Cursor { + SDL_Rect area; /**< The area of the mouse cursor */ + Sint16 hot_x, hot_y; /**< The "tip" of the cursor */ + Uint8 *data; /**< B/W cursor data */ + Uint8 *mask; /**< B/W cursor mask */ + Uint8 *save[2]; /**< Place to save cursor area */ + WMcursor *wm_cursor; /**< Window-manager cursor */ +} SDL_Cursor; + +/* Function prototypes */ +/** + * Retrieve the current state of the mouse. + * The current button state is returned as a button bitmask, which can + * be tested using the SDL_BUTTON(X) macros, and x and y are set to the + * current mouse cursor position. You can pass NULL for either x or y. + */ +extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int *x, int *y); + +/** + * Retrieve the current state of the mouse. + * The current button state is returned as a button bitmask, which can + * be tested using the SDL_BUTTON(X) macros, and x and y are set to the + * mouse deltas since the last call to SDL_GetRelativeMouseState(). + */ +extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState(int *x, int *y); + +/** + * Set the position of the mouse cursor (generates a mouse motion event) + */ +extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y); + +/** + * Create a cursor using the specified data and mask (in MSB format). + * The cursor width must be a multiple of 8 bits. + * + * The cursor is created in black and white according to the following: + * data mask resulting pixel on screen + * 0 1 White + * 1 1 Black + * 0 0 Transparent + * 1 0 Inverted color if possible, black if not. + * + * Cursors created with this function must be freed with SDL_FreeCursor(). + */ +extern DECLSPEC SDL_Cursor * SDLCALL SDL_CreateCursor + (Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y); + +/** + * Set the currently active cursor to the specified one. + * If the cursor is currently visible, the change will be immediately + * represented on the display. + */ +extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor *cursor); + +/** + * Returns the currently active cursor. + */ +extern DECLSPEC SDL_Cursor * SDLCALL SDL_GetCursor(void); + +/** + * Deallocates a cursor created with SDL_CreateCursor(). + */ +extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor *cursor); + +/** + * Toggle whether or not the cursor is shown on the screen. + * The cursor start off displayed, but can be turned off. + * SDL_ShowCursor() returns 1 if the cursor was being displayed + * before the call, or 0 if it was not. You can query the current + * state by passing a 'toggle' value of -1. + */ +extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle); + +/*@{*/ +/** Used as a mask when testing buttons in buttonstate + * Button 1: Left mouse button + * Button 2: Middle mouse button + * Button 3: Right mouse button + * Button 4: Mouse wheel up (may also be a real button) + * Button 5: Mouse wheel down (may also be a real button) + */ +#define SDL_BUTTON(X) (1 << ((X)-1)) +#define SDL_BUTTON_LEFT 1 +#define SDL_BUTTON_MIDDLE 2 +#define SDL_BUTTON_RIGHT 3 +#define SDL_BUTTON_WHEELUP 4 +#define SDL_BUTTON_WHEELDOWN 5 +#define SDL_BUTTON_X1 6 +#define SDL_BUTTON_X2 7 +#define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) +#define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) +#define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) +#define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1) +#define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2) +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_mouse_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_mutex.h b/distrib/sdl-1.2.15/include/SDL_mutex.h new file mode 100644 index 0000000..c8da9b1 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_mutex.h @@ -0,0 +1,177 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_mutex_h +#define _SDL_mutex_h + +/** @file SDL_mutex.h + * Functions to provide thread synchronization primitives + * + * @note These are independent of the other SDL routines. + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** Synchronization functions which can time out return this value + * if they time out. + */ +#define SDL_MUTEX_TIMEDOUT 1 + +/** This is the timeout value which corresponds to never time out */ +#define SDL_MUTEX_MAXWAIT (~(Uint32)0) + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name Mutex functions */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/** The SDL mutex structure, defined in SDL_mutex.c */ +struct SDL_mutex; +typedef struct SDL_mutex SDL_mutex; + +/** Create a mutex, initialized unlocked */ +extern DECLSPEC SDL_mutex * SDLCALL SDL_CreateMutex(void); + +#define SDL_LockMutex(m) SDL_mutexP(m) +/** Lock the mutex + * @return 0, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex); + +#define SDL_UnlockMutex(m) SDL_mutexV(m) +/** Unlock the mutex + * @return 0, or -1 on error + * + * It is an error to unlock a mutex that has not been locked by + * the current thread, and doing so results in undefined behavior. + */ +extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex); + +/** Destroy a mutex */ +extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex); + +/*@}*/ + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name Semaphore functions */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/** The SDL semaphore structure, defined in SDL_sem.c */ +struct SDL_semaphore; +typedef struct SDL_semaphore SDL_sem; + +/** Create a semaphore, initialized with value, returns NULL on failure. */ +extern DECLSPEC SDL_sem * SDLCALL SDL_CreateSemaphore(Uint32 initial_value); + +/** Destroy a semaphore */ +extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem); + +/** + * This function suspends the calling thread until the semaphore pointed + * to by sem has a positive count. It then atomically decreases the semaphore + * count. + */ +extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem); + +/** Non-blocking variant of SDL_SemWait(). + * @return 0 if the wait succeeds, + * SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem); + +/** Variant of SDL_SemWait() with a timeout in milliseconds, returns 0 if + * the wait succeeds, SDL_MUTEX_TIMEDOUT if the wait does not succeed in + * the allotted time, and -1 on error. + * + * On some platforms this function is implemented by looping with a delay + * of 1 ms, and so should be avoided if possible. + */ +extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 ms); + +/** Atomically increases the semaphore's count (not blocking). + * @return 0, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem); + +/** Returns the current count of the semaphore */ +extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem); + +/*@}*/ + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name Condition_variable_functions */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/*@{*/ +/** The SDL condition variable structure, defined in SDL_cond.c */ +struct SDL_cond; +typedef struct SDL_cond SDL_cond; +/*@}*/ + +/** Create a condition variable */ +extern DECLSPEC SDL_cond * SDLCALL SDL_CreateCond(void); + +/** Destroy a condition variable */ +extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond); + +/** Restart one of the threads that are waiting on the condition variable, + * @return 0 or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond); + +/** Restart all threads that are waiting on the condition variable, + * @return 0 or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond); + +/** Wait on the condition variable, unlocking the provided mutex. + * The mutex must be locked before entering this function! + * The mutex is re-locked once the condition variable is signaled. + * @return 0 when it is signaled, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut); + +/** Waits for at most 'ms' milliseconds, and returns 0 if the condition + * variable is signaled, SDL_MUTEX_TIMEDOUT if the condition is not + * signaled in the allotted time, and -1 on error. + * On some platforms this function is implemented by looping with a delay + * of 1 ms, and so should be avoided if possible. + */ +extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms); + +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_mutex_h */ + diff --git a/distrib/sdl-1.2.15/include/SDL_name.h b/distrib/sdl-1.2.15/include/SDL_name.h new file mode 100644 index 0000000..511619a --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_name.h @@ -0,0 +1,11 @@ + +#ifndef _SDLname_h_ +#define _SDLname_h_ + +#if defined(__STDC__) || defined(__cplusplus) +#define NeedFunctionPrototypes 1 +#endif + +#define SDL_NAME(X) SDL_##X + +#endif /* _SDLname_h_ */ diff --git a/distrib/sdl-1.2.15/include/SDL_opengl.h b/distrib/sdl-1.2.15/include/SDL_opengl.h new file mode 100644 index 0000000..3d791d6 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_opengl.h @@ -0,0 +1,6570 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_opengl.h + * This is a simple file to encapsulate the OpenGL API headers + */ + +#include "SDL_config.h" + +#ifdef __WIN32__ +#define WIN32_LEAN_AND_MEAN +#ifndef NOMINMAX +#define NOMINMAX /* Don't defined min() and max() */ +#endif +#include +#endif +#ifndef NO_SDL_GLEXT +#define __glext_h_ /* Don't let gl.h include glext.h */ +#endif +#if defined(__MACOSX__) +#include /* Header File For The OpenGL Library */ +#include /* Header File For The GLU Library */ +#elif defined(__MACOS__) +#include /* Header File For The OpenGL Library */ +#include /* Header File For The GLU Library */ +#else +#include /* Header File For The OpenGL Library */ +#include /* Header File For The GLU Library */ +#endif +#ifndef NO_SDL_GLEXT +#undef __glext_h_ +#endif + +/** @name GLext.h + * This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials. + * It is included here because glext.h is not available on some systems. + * If you don't want this version included, simply define "NO_SDL_GLEXT" + */ +/*@{*/ +#ifndef NO_SDL_GLEXT +#if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY) +#define __glext_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* +** License Applicability. Except to the extent portions of this file are +** made subject to an alternative license as permitted in the SGI Free +** Software License B, Version 1.1 (the "License"), the contents of this +** file are subject only to the provisions of the License. You may not use +** this file except in compliance with the License. You may obtain a copy +** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 +** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: +** +** http://oss.sgi.com/projects/FreeB +** +** Note that, as provided in the License, the Software is distributed on an +** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS +** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND +** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A +** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +** +** Original Code. The Original Code is: OpenGL Sample Implementation, +** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, +** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc. +** Copyright in any portions created by third parties is as indicated +** elsewhere herein. All Rights Reserved. +** +** Additional Notice Provisions: This software was created using the +** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has +** not been independently verified as being compliant with the OpenGL(R) +** version 1.2.1 Specification. +*/ + +#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) +#define WIN32_LEAN_AND_MEAN 1 +#include +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif +#ifndef GLAPI +#define GLAPI extern +#endif + +/*************************************************************/ + +/* Header file version number, required by OpenGL ABI for Linux */ +/* glext.h last updated 2005/06/20 */ +/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */ +#define GL_GLEXT_VERSION 29 + +#ifndef GL_VERSION_1_2 +#define GL_UNSIGNED_BYTE_3_3_2 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2 0x8036 +#define GL_RESCALE_NORMAL 0x803A +#define GL_TEXTURE_BINDING_3D 0x806A +#define GL_PACK_SKIP_IMAGES 0x806B +#define GL_PACK_IMAGE_HEIGHT 0x806C +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_PROXY_TEXTURE_3D 0x8070 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 +#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_BGR 0x80E0 +#define GL_BGRA 0x80E1 +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#endif + +#ifndef GL_ARB_imaging +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_BLEND_COLOR 0x8005 +#define GL_FUNC_ADD 0x8006 +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_BLEND_EQUATION 0x8009 +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_CONVOLUTION_1D 0x8010 +#define GL_CONVOLUTION_2D 0x8011 +#define GL_SEPARABLE_2D 0x8012 +#define GL_CONVOLUTION_BORDER_MODE 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS 0x8015 +#define GL_REDUCE 0x8016 +#define GL_CONVOLUTION_FORMAT 0x8017 +#define GL_CONVOLUTION_WIDTH 0x8018 +#define GL_CONVOLUTION_HEIGHT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 +#define GL_HISTOGRAM 0x8024 +#define GL_PROXY_HISTOGRAM 0x8025 +#define GL_HISTOGRAM_WIDTH 0x8026 +#define GL_HISTOGRAM_FORMAT 0x8027 +#define GL_HISTOGRAM_RED_SIZE 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C +#define GL_HISTOGRAM_SINK 0x802D +#define GL_MINMAX 0x802E +#define GL_MINMAX_FORMAT 0x802F +#define GL_MINMAX_SINK 0x8030 +#define GL_TABLE_TOO_LARGE 0x8031 +#define GL_COLOR_MATRIX 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB +#define GL_COLOR_TABLE 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 +#define GL_PROXY_COLOR_TABLE 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 +#define GL_COLOR_TABLE_SCALE 0x80D6 +#define GL_COLOR_TABLE_BIAS 0x80D7 +#define GL_COLOR_TABLE_FORMAT 0x80D8 +#define GL_COLOR_TABLE_WIDTH 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF +#define GL_CONSTANT_BORDER 0x8151 +#define GL_REPLICATE_BORDER 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR 0x8154 +#endif + +#ifndef GL_VERSION_1_3 +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 +#define GL_MAX_TEXTURE_UNITS 0x84E2 +#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_MULTISAMPLE_BIT 0x20000000 +#define GL_NORMAL_MAP 0x8511 +#define GL_REFLECTION_MAP 0x8512 +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +#define GL_COMPRESSED_ALPHA 0x84E9 +#define GL_COMPRESSED_LUMINANCE 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB +#define GL_COMPRESSED_INTENSITY 0x84EC +#define GL_COMPRESSED_RGB 0x84ED +#define GL_COMPRESSED_RGBA 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 +#define GL_TEXTURE_COMPRESSED 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_CLAMP_TO_BORDER 0x812D +#define GL_COMBINE 0x8570 +#define GL_COMBINE_RGB 0x8571 +#define GL_COMBINE_ALPHA 0x8572 +#define GL_SOURCE0_RGB 0x8580 +#define GL_SOURCE1_RGB 0x8581 +#define GL_SOURCE2_RGB 0x8582 +#define GL_SOURCE0_ALPHA 0x8588 +#define GL_SOURCE1_ALPHA 0x8589 +#define GL_SOURCE2_ALPHA 0x858A +#define GL_OPERAND0_RGB 0x8590 +#define GL_OPERAND1_RGB 0x8591 +#define GL_OPERAND2_RGB 0x8592 +#define GL_OPERAND0_ALPHA 0x8598 +#define GL_OPERAND1_ALPHA 0x8599 +#define GL_OPERAND2_ALPHA 0x859A +#define GL_RGB_SCALE 0x8573 +#define GL_ADD_SIGNED 0x8574 +#define GL_INTERPOLATE 0x8575 +#define GL_SUBTRACT 0x84E7 +#define GL_CONSTANT 0x8576 +#define GL_PRIMARY_COLOR 0x8577 +#define GL_PREVIOUS 0x8578 +#define GL_DOT3_RGB 0x86AE +#define GL_DOT3_RGBA 0x86AF +#endif + +#ifndef GL_VERSION_1_4 +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_POINT_SIZE_MIN 0x8126 +#define GL_POINT_SIZE_MAX 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 +#define GL_POINT_DISTANCE_ATTENUATION 0x8129 +#define GL_GENERATE_MIPMAP 0x8191 +#define GL_GENERATE_MIPMAP_HINT 0x8192 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_DEPTH_COMPONENT24 0x81A6 +#define GL_DEPTH_COMPONENT32 0x81A7 +#define GL_MIRRORED_REPEAT 0x8370 +#define GL_FOG_COORDINATE_SOURCE 0x8450 +#define GL_FOG_COORDINATE 0x8451 +#define GL_FRAGMENT_DEPTH 0x8452 +#define GL_CURRENT_FOG_COORDINATE 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 +#define GL_FOG_COORDINATE_ARRAY 0x8457 +#define GL_COLOR_SUM 0x8458 +#define GL_CURRENT_SECONDARY_COLOR 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D +#define GL_SECONDARY_COLOR_ARRAY 0x845E +#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_TEXTURE_FILTER_CONTROL 0x8500 +#define GL_TEXTURE_LOD_BIAS 0x8501 +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 +#define GL_TEXTURE_DEPTH_SIZE 0x884A +#define GL_DEPTH_TEXTURE_MODE 0x884B +#define GL_TEXTURE_COMPARE_MODE 0x884C +#define GL_TEXTURE_COMPARE_FUNC 0x884D +#define GL_COMPARE_R_TO_TEXTURE 0x884E +#endif + +#ifndef GL_VERSION_1_5 +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 +#define GL_QUERY_COUNTER_BITS 0x8864 +#define GL_CURRENT_QUERY 0x8865 +#define GL_QUERY_RESULT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE 0x8867 +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 +#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D +#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F +#define GL_READ_ONLY 0x88B8 +#define GL_WRITE_ONLY 0x88B9 +#define GL_READ_WRITE 0x88BA +#define GL_BUFFER_ACCESS 0x88BB +#define GL_BUFFER_MAPPED 0x88BC +#define GL_BUFFER_MAP_POINTER 0x88BD +#define GL_STREAM_DRAW 0x88E0 +#define GL_STREAM_READ 0x88E1 +#define GL_STREAM_COPY 0x88E2 +#define GL_STATIC_DRAW 0x88E4 +#define GL_STATIC_READ 0x88E5 +#define GL_STATIC_COPY 0x88E6 +#define GL_DYNAMIC_DRAW 0x88E8 +#define GL_DYNAMIC_READ 0x88E9 +#define GL_DYNAMIC_COPY 0x88EA +#define GL_SAMPLES_PASSED 0x8914 +#define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE +#define GL_FOG_COORD GL_FOG_COORDINATE +#define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE +#define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE +#define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE +#define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER +#define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY +#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING +#define GL_SRC0_RGB GL_SOURCE0_RGB +#define GL_SRC1_RGB GL_SOURCE1_RGB +#define GL_SRC2_RGB GL_SOURCE2_RGB +#define GL_SRC0_ALPHA GL_SOURCE0_ALPHA +#define GL_SRC1_ALPHA GL_SOURCE1_ALPHA +#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA +#endif + +#ifndef GL_VERSION_2_0 +#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 +#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 +#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_MAX_DRAW_BUFFERS 0x8824 +#define GL_DRAW_BUFFER0 0x8825 +#define GL_DRAW_BUFFER1 0x8826 +#define GL_DRAW_BUFFER2 0x8827 +#define GL_DRAW_BUFFER3 0x8828 +#define GL_DRAW_BUFFER4 0x8829 +#define GL_DRAW_BUFFER5 0x882A +#define GL_DRAW_BUFFER6 0x882B +#define GL_DRAW_BUFFER7 0x882C +#define GL_DRAW_BUFFER8 0x882D +#define GL_DRAW_BUFFER9 0x882E +#define GL_DRAW_BUFFER10 0x882F +#define GL_DRAW_BUFFER11 0x8830 +#define GL_DRAW_BUFFER12 0x8831 +#define GL_DRAW_BUFFER13 0x8832 +#define GL_DRAW_BUFFER14 0x8833 +#define GL_DRAW_BUFFER15 0x8834 +#define GL_BLEND_EQUATION_ALPHA 0x883D +#define GL_POINT_SPRITE 0x8861 +#define GL_COORD_REPLACE 0x8862 +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_MAX_TEXTURE_COORDS 0x8871 +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A +#define GL_MAX_VARYING_FLOATS 0x8B4B +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_SHADER_TYPE 0x8B4F +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_1D 0x8B5D +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_3D 0x8B5F +#define GL_SAMPLER_CUBE 0x8B60 +#define GL_SAMPLER_1D_SHADOW 0x8B61 +#define GL_SAMPLER_2D_SHADOW 0x8B62 +#define GL_DELETE_STATUS 0x8B80 +#define GL_COMPILE_STATUS 0x8B81 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D +#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 +#define GL_LOWER_LEFT 0x8CA1 +#define GL_UPPER_LEFT 0x8CA2 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#endif + +#ifndef GL_ARB_multitexture +#define GL_TEXTURE0_ARB 0x84C0 +#define GL_TEXTURE1_ARB 0x84C1 +#define GL_TEXTURE2_ARB 0x84C2 +#define GL_TEXTURE3_ARB 0x84C3 +#define GL_TEXTURE4_ARB 0x84C4 +#define GL_TEXTURE5_ARB 0x84C5 +#define GL_TEXTURE6_ARB 0x84C6 +#define GL_TEXTURE7_ARB 0x84C7 +#define GL_TEXTURE8_ARB 0x84C8 +#define GL_TEXTURE9_ARB 0x84C9 +#define GL_TEXTURE10_ARB 0x84CA +#define GL_TEXTURE11_ARB 0x84CB +#define GL_TEXTURE12_ARB 0x84CC +#define GL_TEXTURE13_ARB 0x84CD +#define GL_TEXTURE14_ARB 0x84CE +#define GL_TEXTURE15_ARB 0x84CF +#define GL_TEXTURE16_ARB 0x84D0 +#define GL_TEXTURE17_ARB 0x84D1 +#define GL_TEXTURE18_ARB 0x84D2 +#define GL_TEXTURE19_ARB 0x84D3 +#define GL_TEXTURE20_ARB 0x84D4 +#define GL_TEXTURE21_ARB 0x84D5 +#define GL_TEXTURE22_ARB 0x84D6 +#define GL_TEXTURE23_ARB 0x84D7 +#define GL_TEXTURE24_ARB 0x84D8 +#define GL_TEXTURE25_ARB 0x84D9 +#define GL_TEXTURE26_ARB 0x84DA +#define GL_TEXTURE27_ARB 0x84DB +#define GL_TEXTURE28_ARB 0x84DC +#define GL_TEXTURE29_ARB 0x84DD +#define GL_TEXTURE30_ARB 0x84DE +#define GL_TEXTURE31_ARB 0x84DF +#define GL_ACTIVE_TEXTURE_ARB 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 +#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 +#endif + +#ifndef GL_ARB_transpose_matrix +#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 +#endif + +#ifndef GL_ARB_multisample +#define GL_MULTISAMPLE_ARB 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F +#define GL_SAMPLE_COVERAGE_ARB 0x80A0 +#define GL_SAMPLE_BUFFERS_ARB 0x80A8 +#define GL_SAMPLES_ARB 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB +#define GL_MULTISAMPLE_BIT_ARB 0x20000000 +#endif + +#ifndef GL_ARB_texture_env_add +#endif + +#ifndef GL_ARB_texture_cube_map +#define GL_NORMAL_MAP_ARB 0x8511 +#define GL_REFLECTION_MAP_ARB 0x8512 +#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C +#endif + +#ifndef GL_ARB_texture_compression +#define GL_COMPRESSED_ALPHA_ARB 0x84E9 +#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB +#define GL_COMPRESSED_INTENSITY_ARB 0x84EC +#define GL_COMPRESSED_RGB_ARB 0x84ED +#define GL_COMPRESSED_RGBA_ARB 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 +#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 +#endif + +#ifndef GL_ARB_texture_border_clamp +#define GL_CLAMP_TO_BORDER_ARB 0x812D +#endif + +#ifndef GL_ARB_point_parameters +#define GL_POINT_SIZE_MIN_ARB 0x8126 +#define GL_POINT_SIZE_MAX_ARB 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 +#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 +#endif + +#ifndef GL_ARB_vertex_blend +#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 +#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 +#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 +#define GL_VERTEX_BLEND_ARB 0x86A7 +#define GL_CURRENT_WEIGHT_ARB 0x86A8 +#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 +#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA +#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB +#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC +#define GL_WEIGHT_ARRAY_ARB 0x86AD +#define GL_MODELVIEW0_ARB 0x1700 +#define GL_MODELVIEW1_ARB 0x850A +#define GL_MODELVIEW2_ARB 0x8722 +#define GL_MODELVIEW3_ARB 0x8723 +#define GL_MODELVIEW4_ARB 0x8724 +#define GL_MODELVIEW5_ARB 0x8725 +#define GL_MODELVIEW6_ARB 0x8726 +#define GL_MODELVIEW7_ARB 0x8727 +#define GL_MODELVIEW8_ARB 0x8728 +#define GL_MODELVIEW9_ARB 0x8729 +#define GL_MODELVIEW10_ARB 0x872A +#define GL_MODELVIEW11_ARB 0x872B +#define GL_MODELVIEW12_ARB 0x872C +#define GL_MODELVIEW13_ARB 0x872D +#define GL_MODELVIEW14_ARB 0x872E +#define GL_MODELVIEW15_ARB 0x872F +#define GL_MODELVIEW16_ARB 0x8730 +#define GL_MODELVIEW17_ARB 0x8731 +#define GL_MODELVIEW18_ARB 0x8732 +#define GL_MODELVIEW19_ARB 0x8733 +#define GL_MODELVIEW20_ARB 0x8734 +#define GL_MODELVIEW21_ARB 0x8735 +#define GL_MODELVIEW22_ARB 0x8736 +#define GL_MODELVIEW23_ARB 0x8737 +#define GL_MODELVIEW24_ARB 0x8738 +#define GL_MODELVIEW25_ARB 0x8739 +#define GL_MODELVIEW26_ARB 0x873A +#define GL_MODELVIEW27_ARB 0x873B +#define GL_MODELVIEW28_ARB 0x873C +#define GL_MODELVIEW29_ARB 0x873D +#define GL_MODELVIEW30_ARB 0x873E +#define GL_MODELVIEW31_ARB 0x873F +#endif + +#ifndef GL_ARB_matrix_palette +#define GL_MATRIX_PALETTE_ARB 0x8840 +#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 +#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 +#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 +#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 +#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 +#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 +#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 +#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 +#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 +#endif + +#ifndef GL_ARB_texture_env_combine +#define GL_COMBINE_ARB 0x8570 +#define GL_COMBINE_RGB_ARB 0x8571 +#define GL_COMBINE_ALPHA_ARB 0x8572 +#define GL_SOURCE0_RGB_ARB 0x8580 +#define GL_SOURCE1_RGB_ARB 0x8581 +#define GL_SOURCE2_RGB_ARB 0x8582 +#define GL_SOURCE0_ALPHA_ARB 0x8588 +#define GL_SOURCE1_ALPHA_ARB 0x8589 +#define GL_SOURCE2_ALPHA_ARB 0x858A +#define GL_OPERAND0_RGB_ARB 0x8590 +#define GL_OPERAND1_RGB_ARB 0x8591 +#define GL_OPERAND2_RGB_ARB 0x8592 +#define GL_OPERAND0_ALPHA_ARB 0x8598 +#define GL_OPERAND1_ALPHA_ARB 0x8599 +#define GL_OPERAND2_ALPHA_ARB 0x859A +#define GL_RGB_SCALE_ARB 0x8573 +#define GL_ADD_SIGNED_ARB 0x8574 +#define GL_INTERPOLATE_ARB 0x8575 +#define GL_SUBTRACT_ARB 0x84E7 +#define GL_CONSTANT_ARB 0x8576 +#define GL_PRIMARY_COLOR_ARB 0x8577 +#define GL_PREVIOUS_ARB 0x8578 +#endif + +#ifndef GL_ARB_texture_env_crossbar +#endif + +#ifndef GL_ARB_texture_env_dot3 +#define GL_DOT3_RGB_ARB 0x86AE +#define GL_DOT3_RGBA_ARB 0x86AF +#endif + +#ifndef GL_ARB_texture_mirrored_repeat +#define GL_MIRRORED_REPEAT_ARB 0x8370 +#endif + +#ifndef GL_ARB_depth_texture +#define GL_DEPTH_COMPONENT16_ARB 0x81A5 +#define GL_DEPTH_COMPONENT24_ARB 0x81A6 +#define GL_DEPTH_COMPONENT32_ARB 0x81A7 +#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A +#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B +#endif + +#ifndef GL_ARB_shadow +#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C +#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D +#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E +#endif + +#ifndef GL_ARB_shadow_ambient +#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF +#endif + +#ifndef GL_ARB_window_pos +#endif + +#ifndef GL_ARB_vertex_program +#define GL_COLOR_SUM_ARB 0x8458 +#define GL_VERTEX_PROGRAM_ARB 0x8620 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 +#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 +#define GL_PROGRAM_LENGTH_ARB 0x8627 +#define GL_PROGRAM_STRING_ARB 0x8628 +#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E +#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F +#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 +#define GL_CURRENT_MATRIX_ARB 0x8641 +#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 +#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 +#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B +#define GL_PROGRAM_BINDING_ARB 0x8677 +#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A +#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 +#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 +#define GL_PROGRAM_FORMAT_ARB 0x8876 +#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 +#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 +#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 +#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 +#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 +#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 +#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 +#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 +#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 +#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 +#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA +#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB +#define GL_PROGRAM_ATTRIBS_ARB 0x88AC +#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD +#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE +#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF +#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 +#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 +#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 +#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 +#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 +#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 +#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 +#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 +#define GL_MATRIX0_ARB 0x88C0 +#define GL_MATRIX1_ARB 0x88C1 +#define GL_MATRIX2_ARB 0x88C2 +#define GL_MATRIX3_ARB 0x88C3 +#define GL_MATRIX4_ARB 0x88C4 +#define GL_MATRIX5_ARB 0x88C5 +#define GL_MATRIX6_ARB 0x88C6 +#define GL_MATRIX7_ARB 0x88C7 +#define GL_MATRIX8_ARB 0x88C8 +#define GL_MATRIX9_ARB 0x88C9 +#define GL_MATRIX10_ARB 0x88CA +#define GL_MATRIX11_ARB 0x88CB +#define GL_MATRIX12_ARB 0x88CC +#define GL_MATRIX13_ARB 0x88CD +#define GL_MATRIX14_ARB 0x88CE +#define GL_MATRIX15_ARB 0x88CF +#define GL_MATRIX16_ARB 0x88D0 +#define GL_MATRIX17_ARB 0x88D1 +#define GL_MATRIX18_ARB 0x88D2 +#define GL_MATRIX19_ARB 0x88D3 +#define GL_MATRIX20_ARB 0x88D4 +#define GL_MATRIX21_ARB 0x88D5 +#define GL_MATRIX22_ARB 0x88D6 +#define GL_MATRIX23_ARB 0x88D7 +#define GL_MATRIX24_ARB 0x88D8 +#define GL_MATRIX25_ARB 0x88D9 +#define GL_MATRIX26_ARB 0x88DA +#define GL_MATRIX27_ARB 0x88DB +#define GL_MATRIX28_ARB 0x88DC +#define GL_MATRIX29_ARB 0x88DD +#define GL_MATRIX30_ARB 0x88DE +#define GL_MATRIX31_ARB 0x88DF +#endif + +#ifndef GL_ARB_fragment_program +#define GL_FRAGMENT_PROGRAM_ARB 0x8804 +#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 +#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 +#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 +#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 +#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 +#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A +#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B +#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C +#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D +#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E +#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F +#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 +#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 +#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 +#endif + +#ifndef GL_ARB_vertex_buffer_object +#define GL_BUFFER_SIZE_ARB 0x8764 +#define GL_BUFFER_USAGE_ARB 0x8765 +#define GL_ARRAY_BUFFER_ARB 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 +#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 +#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 +#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D +#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F +#define GL_READ_ONLY_ARB 0x88B8 +#define GL_WRITE_ONLY_ARB 0x88B9 +#define GL_READ_WRITE_ARB 0x88BA +#define GL_BUFFER_ACCESS_ARB 0x88BB +#define GL_BUFFER_MAPPED_ARB 0x88BC +#define GL_BUFFER_MAP_POINTER_ARB 0x88BD +#define GL_STREAM_DRAW_ARB 0x88E0 +#define GL_STREAM_READ_ARB 0x88E1 +#define GL_STREAM_COPY_ARB 0x88E2 +#define GL_STATIC_DRAW_ARB 0x88E4 +#define GL_STATIC_READ_ARB 0x88E5 +#define GL_STATIC_COPY_ARB 0x88E6 +#define GL_DYNAMIC_DRAW_ARB 0x88E8 +#define GL_DYNAMIC_READ_ARB 0x88E9 +#define GL_DYNAMIC_COPY_ARB 0x88EA +#endif + +#ifndef GL_ARB_occlusion_query +#define GL_QUERY_COUNTER_BITS_ARB 0x8864 +#define GL_CURRENT_QUERY_ARB 0x8865 +#define GL_QUERY_RESULT_ARB 0x8866 +#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 +#define GL_SAMPLES_PASSED_ARB 0x8914 +#endif + +#ifndef GL_ARB_shader_objects +#define GL_PROGRAM_OBJECT_ARB 0x8B40 +#define GL_SHADER_OBJECT_ARB 0x8B48 +#define GL_OBJECT_TYPE_ARB 0x8B4E +#define GL_OBJECT_SUBTYPE_ARB 0x8B4F +#define GL_FLOAT_VEC2_ARB 0x8B50 +#define GL_FLOAT_VEC3_ARB 0x8B51 +#define GL_FLOAT_VEC4_ARB 0x8B52 +#define GL_INT_VEC2_ARB 0x8B53 +#define GL_INT_VEC3_ARB 0x8B54 +#define GL_INT_VEC4_ARB 0x8B55 +#define GL_BOOL_ARB 0x8B56 +#define GL_BOOL_VEC2_ARB 0x8B57 +#define GL_BOOL_VEC3_ARB 0x8B58 +#define GL_BOOL_VEC4_ARB 0x8B59 +#define GL_FLOAT_MAT2_ARB 0x8B5A +#define GL_FLOAT_MAT3_ARB 0x8B5B +#define GL_FLOAT_MAT4_ARB 0x8B5C +#define GL_SAMPLER_1D_ARB 0x8B5D +#define GL_SAMPLER_2D_ARB 0x8B5E +#define GL_SAMPLER_3D_ARB 0x8B5F +#define GL_SAMPLER_CUBE_ARB 0x8B60 +#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 +#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 +#define GL_SAMPLER_2D_RECT_ARB 0x8B63 +#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 +#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 +#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 +#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 +#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 +#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 +#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 +#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 +#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 +#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 +#endif + +#ifndef GL_ARB_vertex_shader +#define GL_VERTEX_SHADER_ARB 0x8B31 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A +#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D +#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 +#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A +#endif + +#ifndef GL_ARB_fragment_shader +#define GL_FRAGMENT_SHADER_ARB 0x8B30 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B +#endif + +#ifndef GL_ARB_shading_language_100 +#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C +#endif + +#ifndef GL_ARB_texture_non_power_of_two +#endif + +#ifndef GL_ARB_point_sprite +#define GL_POINT_SPRITE_ARB 0x8861 +#define GL_COORD_REPLACE_ARB 0x8862 +#endif + +#ifndef GL_ARB_fragment_program_shadow +#endif + +#ifndef GL_ARB_draw_buffers +#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 +#define GL_DRAW_BUFFER0_ARB 0x8825 +#define GL_DRAW_BUFFER1_ARB 0x8826 +#define GL_DRAW_BUFFER2_ARB 0x8827 +#define GL_DRAW_BUFFER3_ARB 0x8828 +#define GL_DRAW_BUFFER4_ARB 0x8829 +#define GL_DRAW_BUFFER5_ARB 0x882A +#define GL_DRAW_BUFFER6_ARB 0x882B +#define GL_DRAW_BUFFER7_ARB 0x882C +#define GL_DRAW_BUFFER8_ARB 0x882D +#define GL_DRAW_BUFFER9_ARB 0x882E +#define GL_DRAW_BUFFER10_ARB 0x882F +#define GL_DRAW_BUFFER11_ARB 0x8830 +#define GL_DRAW_BUFFER12_ARB 0x8831 +#define GL_DRAW_BUFFER13_ARB 0x8832 +#define GL_DRAW_BUFFER14_ARB 0x8833 +#define GL_DRAW_BUFFER15_ARB 0x8834 +#endif + +#ifndef GL_ARB_texture_rectangle +#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 +#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 +#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 +#endif + +#ifndef GL_ARB_color_buffer_float +#define GL_RGBA_FLOAT_MODE_ARB 0x8820 +#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A +#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B +#define GL_CLAMP_READ_COLOR_ARB 0x891C +#define GL_FIXED_ONLY_ARB 0x891D +#endif + +#ifndef GL_ARB_half_float_pixel +#define GL_HALF_FLOAT_ARB 0x140B +#endif + +#ifndef GL_ARB_texture_float +#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 +#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 +#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 +#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 +#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 +#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 +#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 +#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 +#define GL_RGBA32F_ARB 0x8814 +#define GL_RGB32F_ARB 0x8815 +#define GL_ALPHA32F_ARB 0x8816 +#define GL_INTENSITY32F_ARB 0x8817 +#define GL_LUMINANCE32F_ARB 0x8818 +#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 +#define GL_RGBA16F_ARB 0x881A +#define GL_RGB16F_ARB 0x881B +#define GL_ALPHA16F_ARB 0x881C +#define GL_INTENSITY16F_ARB 0x881D +#define GL_LUMINANCE16F_ARB 0x881E +#define GL_LUMINANCE_ALPHA16F_ARB 0x881F +#endif + +#ifndef GL_ARB_pixel_buffer_object +#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF +#endif + +#ifndef GL_EXT_abgr +#define GL_ABGR_EXT 0x8000 +#endif + +#ifndef GL_EXT_blend_color +#define GL_CONSTANT_COLOR_EXT 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 +#define GL_CONSTANT_ALPHA_EXT 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 +#define GL_BLEND_COLOR_EXT 0x8005 +#endif + +#ifndef GL_EXT_polygon_offset +#define GL_POLYGON_OFFSET_EXT 0x8037 +#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 +#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 +#endif + +#ifndef GL_EXT_texture +#define GL_ALPHA4_EXT 0x803B +#define GL_ALPHA8_EXT 0x803C +#define GL_ALPHA12_EXT 0x803D +#define GL_ALPHA16_EXT 0x803E +#define GL_LUMINANCE4_EXT 0x803F +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE12_EXT 0x8041 +#define GL_LUMINANCE16_EXT 0x8042 +#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 +#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 +#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 +#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 +#define GL_INTENSITY_EXT 0x8049 +#define GL_INTENSITY4_EXT 0x804A +#define GL_INTENSITY8_EXT 0x804B +#define GL_INTENSITY12_EXT 0x804C +#define GL_INTENSITY16_EXT 0x804D +#define GL_RGB2_EXT 0x804E +#define GL_RGB4_EXT 0x804F +#define GL_RGB5_EXT 0x8050 +#define GL_RGB8_EXT 0x8051 +#define GL_RGB10_EXT 0x8052 +#define GL_RGB12_EXT 0x8053 +#define GL_RGB16_EXT 0x8054 +#define GL_RGBA2_EXT 0x8055 +#define GL_RGBA4_EXT 0x8056 +#define GL_RGB5_A1_EXT 0x8057 +#define GL_RGBA8_EXT 0x8058 +#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGBA12_EXT 0x805A +#define GL_RGBA16_EXT 0x805B +#define GL_TEXTURE_RED_SIZE_EXT 0x805C +#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D +#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E +#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F +#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 +#define GL_REPLACE_EXT 0x8062 +#define GL_PROXY_TEXTURE_1D_EXT 0x8063 +#define GL_PROXY_TEXTURE_2D_EXT 0x8064 +#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 +#endif + +#ifndef GL_EXT_texture3D +#define GL_PACK_SKIP_IMAGES_EXT 0x806B +#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C +#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D +#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E +#define GL_TEXTURE_3D_EXT 0x806F +#define GL_PROXY_TEXTURE_3D_EXT 0x8070 +#define GL_TEXTURE_DEPTH_EXT 0x8071 +#define GL_TEXTURE_WRAP_R_EXT 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 +#endif + +#ifndef GL_SGIS_texture_filter4 +#define GL_FILTER4_SGIS 0x8146 +#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 +#endif + +#ifndef GL_EXT_subtexture +#endif + +#ifndef GL_EXT_copy_texture +#endif + +#ifndef GL_EXT_histogram +#define GL_HISTOGRAM_EXT 0x8024 +#define GL_PROXY_HISTOGRAM_EXT 0x8025 +#define GL_HISTOGRAM_WIDTH_EXT 0x8026 +#define GL_HISTOGRAM_FORMAT_EXT 0x8027 +#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C +#define GL_HISTOGRAM_SINK_EXT 0x802D +#define GL_MINMAX_EXT 0x802E +#define GL_MINMAX_FORMAT_EXT 0x802F +#define GL_MINMAX_SINK_EXT 0x8030 +#define GL_TABLE_TOO_LARGE_EXT 0x8031 +#endif + +#ifndef GL_EXT_convolution +#define GL_CONVOLUTION_1D_EXT 0x8010 +#define GL_CONVOLUTION_2D_EXT 0x8011 +#define GL_SEPARABLE_2D_EXT 0x8012 +#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 +#define GL_REDUCE_EXT 0x8016 +#define GL_CONVOLUTION_FORMAT_EXT 0x8017 +#define GL_CONVOLUTION_WIDTH_EXT 0x8018 +#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 +#endif + +#ifndef GL_SGI_color_matrix +#define GL_COLOR_MATRIX_SGI 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB +#endif + +#ifndef GL_SGI_color_table +#define GL_COLOR_TABLE_SGI 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 +#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 +#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 +#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 +#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 +#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF +#endif + +#ifndef GL_SGIS_pixel_texture +#define GL_PIXEL_TEXTURE_SGIS 0x8353 +#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 +#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 +#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 +#endif + +#ifndef GL_SGIX_pixel_texture +#define GL_PIXEL_TEX_GEN_SGIX 0x8139 +#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B +#endif + +#ifndef GL_SGIS_texture4D +#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 +#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 +#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 +#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 +#define GL_TEXTURE_4D_SGIS 0x8134 +#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 +#define GL_TEXTURE_4DSIZE_SGIS 0x8136 +#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 +#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 +#define GL_TEXTURE_4D_BINDING_SGIS 0x814F +#endif + +#ifndef GL_SGI_texture_color_table +#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC +#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD +#endif + +#ifndef GL_EXT_cmyka +#define GL_CMYK_EXT 0x800C +#define GL_CMYKA_EXT 0x800D +#define GL_PACK_CMYK_HINT_EXT 0x800E +#define GL_UNPACK_CMYK_HINT_EXT 0x800F +#endif + +#ifndef GL_EXT_texture_object +#define GL_TEXTURE_PRIORITY_EXT 0x8066 +#define GL_TEXTURE_RESIDENT_EXT 0x8067 +#define GL_TEXTURE_1D_BINDING_EXT 0x8068 +#define GL_TEXTURE_2D_BINDING_EXT 0x8069 +#define GL_TEXTURE_3D_BINDING_EXT 0x806A +#endif + +#ifndef GL_SGIS_detail_texture +#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 +#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 +#define GL_LINEAR_DETAIL_SGIS 0x8097 +#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 +#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 +#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A +#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B +#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C +#endif + +#ifndef GL_SGIS_sharpen_texture +#define GL_LINEAR_SHARPEN_SGIS 0x80AD +#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE +#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF +#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 +#endif + +#ifndef GL_EXT_packed_pixels +#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 +#endif + +#ifndef GL_SGIS_texture_lod +#define GL_TEXTURE_MIN_LOD_SGIS 0x813A +#define GL_TEXTURE_MAX_LOD_SGIS 0x813B +#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C +#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D +#endif + +#ifndef GL_SGIS_multisample +#define GL_MULTISAMPLE_SGIS 0x809D +#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F +#define GL_SAMPLE_MASK_SGIS 0x80A0 +#define GL_1PASS_SGIS 0x80A1 +#define GL_2PASS_0_SGIS 0x80A2 +#define GL_2PASS_1_SGIS 0x80A3 +#define GL_4PASS_0_SGIS 0x80A4 +#define GL_4PASS_1_SGIS 0x80A5 +#define GL_4PASS_2_SGIS 0x80A6 +#define GL_4PASS_3_SGIS 0x80A7 +#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 +#define GL_SAMPLES_SGIS 0x80A9 +#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA +#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB +#define GL_SAMPLE_PATTERN_SGIS 0x80AC +#endif + +#ifndef GL_EXT_rescale_normal +#define GL_RESCALE_NORMAL_EXT 0x803A +#endif + +#ifndef GL_EXT_vertex_array +#define GL_VERTEX_ARRAY_EXT 0x8074 +#define GL_NORMAL_ARRAY_EXT 0x8075 +#define GL_COLOR_ARRAY_EXT 0x8076 +#define GL_INDEX_ARRAY_EXT 0x8077 +#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 +#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 +#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A +#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B +#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C +#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D +#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E +#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F +#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 +#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 +#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 +#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 +#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 +#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 +#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 +#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 +#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A +#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B +#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C +#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D +#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E +#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F +#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 +#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 +#endif + +#ifndef GL_EXT_misc_attribute +#endif + +#ifndef GL_SGIS_generate_mipmap +#define GL_GENERATE_MIPMAP_SGIS 0x8191 +#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 +#endif + +#ifndef GL_SGIX_clipmap +#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 +#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 +#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 +#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 +#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 +#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 +#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 +#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 +#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 +#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D +#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E +#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F +#endif + +#ifndef GL_SGIX_shadow +#define GL_TEXTURE_COMPARE_SGIX 0x819A +#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B +#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C +#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D +#endif + +#ifndef GL_SGIS_texture_edge_clamp +#define GL_CLAMP_TO_EDGE_SGIS 0x812F +#endif + +#ifndef GL_SGIS_texture_border_clamp +#define GL_CLAMP_TO_BORDER_SGIS 0x812D +#endif + +#ifndef GL_EXT_blend_minmax +#define GL_FUNC_ADD_EXT 0x8006 +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#define GL_BLEND_EQUATION_EXT 0x8009 +#endif + +#ifndef GL_EXT_blend_subtract +#define GL_FUNC_SUBTRACT_EXT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B +#endif + +#ifndef GL_EXT_blend_logic_op +#endif + +#ifndef GL_SGIX_interlace +#define GL_INTERLACE_SGIX 0x8094 +#endif + +#ifndef GL_SGIX_pixel_tiles +#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E +#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F +#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 +#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 +#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 +#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 +#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 +#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 +#endif + +#ifndef GL_SGIS_texture_select +#define GL_DUAL_ALPHA4_SGIS 0x8110 +#define GL_DUAL_ALPHA8_SGIS 0x8111 +#define GL_DUAL_ALPHA12_SGIS 0x8112 +#define GL_DUAL_ALPHA16_SGIS 0x8113 +#define GL_DUAL_LUMINANCE4_SGIS 0x8114 +#define GL_DUAL_LUMINANCE8_SGIS 0x8115 +#define GL_DUAL_LUMINANCE12_SGIS 0x8116 +#define GL_DUAL_LUMINANCE16_SGIS 0x8117 +#define GL_DUAL_INTENSITY4_SGIS 0x8118 +#define GL_DUAL_INTENSITY8_SGIS 0x8119 +#define GL_DUAL_INTENSITY12_SGIS 0x811A +#define GL_DUAL_INTENSITY16_SGIS 0x811B +#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C +#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D +#define GL_QUAD_ALPHA4_SGIS 0x811E +#define GL_QUAD_ALPHA8_SGIS 0x811F +#define GL_QUAD_LUMINANCE4_SGIS 0x8120 +#define GL_QUAD_LUMINANCE8_SGIS 0x8121 +#define GL_QUAD_INTENSITY4_SGIS 0x8122 +#define GL_QUAD_INTENSITY8_SGIS 0x8123 +#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 +#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 +#endif + +#ifndef GL_SGIX_sprite +#define GL_SPRITE_SGIX 0x8148 +#define GL_SPRITE_MODE_SGIX 0x8149 +#define GL_SPRITE_AXIS_SGIX 0x814A +#define GL_SPRITE_TRANSLATION_SGIX 0x814B +#define GL_SPRITE_AXIAL_SGIX 0x814C +#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D +#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E +#endif + +#ifndef GL_SGIX_texture_multi_buffer +#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E +#endif + +#ifndef GL_EXT_point_parameters +#define GL_POINT_SIZE_MIN_EXT 0x8126 +#define GL_POINT_SIZE_MAX_EXT 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 +#define GL_DISTANCE_ATTENUATION_EXT 0x8129 +#endif + +#ifndef GL_SGIS_point_parameters +#define GL_POINT_SIZE_MIN_SGIS 0x8126 +#define GL_POINT_SIZE_MAX_SGIS 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 +#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 +#endif + +#ifndef GL_SGIX_instruments +#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 +#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 +#endif + +#ifndef GL_SGIX_texture_scale_bias +#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 +#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A +#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B +#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C +#endif + +#ifndef GL_SGIX_framezoom +#define GL_FRAMEZOOM_SGIX 0x818B +#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C +#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D +#endif + +#ifndef GL_SGIX_tag_sample_buffer +#endif + +#ifndef GL_FfdMaskSGIX +#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 +#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 +#endif + +#ifndef GL_SGIX_polynomial_ffd +#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 +#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 +#define GL_DEFORMATIONS_MASK_SGIX 0x8196 +#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 +#endif + +#ifndef GL_SGIX_reference_plane +#define GL_REFERENCE_PLANE_SGIX 0x817D +#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E +#endif + +#ifndef GL_SGIX_flush_raster +#endif + +#ifndef GL_SGIX_depth_texture +#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 +#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 +#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 +#endif + +#ifndef GL_SGIS_fog_function +#define GL_FOG_FUNC_SGIS 0x812A +#define GL_FOG_FUNC_POINTS_SGIS 0x812B +#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C +#endif + +#ifndef GL_SGIX_fog_offset +#define GL_FOG_OFFSET_SGIX 0x8198 +#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 +#endif + +#ifndef GL_HP_image_transform +#define GL_IMAGE_SCALE_X_HP 0x8155 +#define GL_IMAGE_SCALE_Y_HP 0x8156 +#define GL_IMAGE_TRANSLATE_X_HP 0x8157 +#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 +#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 +#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A +#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B +#define GL_IMAGE_MAG_FILTER_HP 0x815C +#define GL_IMAGE_MIN_FILTER_HP 0x815D +#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E +#define GL_CUBIC_HP 0x815F +#define GL_AVERAGE_HP 0x8160 +#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 +#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 +#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 +#endif + +#ifndef GL_HP_convolution_border_modes +#define GL_IGNORE_BORDER_HP 0x8150 +#define GL_CONSTANT_BORDER_HP 0x8151 +#define GL_REPLICATE_BORDER_HP 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 +#endif + +#ifndef GL_INGR_palette_buffer +#endif + +#ifndef GL_SGIX_texture_add_env +#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE +#endif + +#ifndef GL_EXT_color_subtable +#endif + +#ifndef GL_PGI_vertex_hints +#define GL_VERTEX_DATA_HINT_PGI 0x1A22A +#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B +#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C +#define GL_MAX_VERTEX_HINT_PGI 0x1A22D +#define GL_COLOR3_BIT_PGI 0x00010000 +#define GL_COLOR4_BIT_PGI 0x00020000 +#define GL_EDGEFLAG_BIT_PGI 0x00040000 +#define GL_INDEX_BIT_PGI 0x00080000 +#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 +#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 +#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 +#define GL_MAT_EMISSION_BIT_PGI 0x00800000 +#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 +#define GL_MAT_SHININESS_BIT_PGI 0x02000000 +#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 +#define GL_NORMAL_BIT_PGI 0x08000000 +#define GL_TEXCOORD1_BIT_PGI 0x10000000 +#define GL_TEXCOORD2_BIT_PGI 0x20000000 +#define GL_TEXCOORD3_BIT_PGI 0x40000000 +#define GL_TEXCOORD4_BIT_PGI 0x80000000 +#define GL_VERTEX23_BIT_PGI 0x00000004 +#define GL_VERTEX4_BIT_PGI 0x00000008 +#endif + +#ifndef GL_PGI_misc_hints +#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 +#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD +#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE +#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 +#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 +#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 +#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C +#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D +#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E +#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F +#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 +#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 +#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 +#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 +#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 +#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 +#define GL_CLIP_NEAR_HINT_PGI 0x1A220 +#define GL_CLIP_FAR_HINT_PGI 0x1A221 +#define GL_WIDE_LINE_HINT_PGI 0x1A222 +#define GL_BACK_NORMALS_HINT_PGI 0x1A223 +#endif + +#ifndef GL_EXT_paletted_texture +#define GL_COLOR_INDEX1_EXT 0x80E2 +#define GL_COLOR_INDEX2_EXT 0x80E3 +#define GL_COLOR_INDEX4_EXT 0x80E4 +#define GL_COLOR_INDEX8_EXT 0x80E5 +#define GL_COLOR_INDEX12_EXT 0x80E6 +#define GL_COLOR_INDEX16_EXT 0x80E7 +#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED +#endif + +#ifndef GL_EXT_clip_volume_hint +#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 +#endif + +#ifndef GL_SGIX_list_priority +#define GL_LIST_PRIORITY_SGIX 0x8182 +#endif + +#ifndef GL_SGIX_ir_instrument1 +#define GL_IR_INSTRUMENT1_SGIX 0x817F +#endif + +#ifndef GL_SGIX_calligraphic_fragment +#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 +#endif + +#ifndef GL_SGIX_texture_lod_bias +#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E +#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F +#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 +#endif + +#ifndef GL_SGIX_shadow_ambient +#define GL_SHADOW_AMBIENT_SGIX 0x80BF +#endif + +#ifndef GL_EXT_index_texture +#endif + +#ifndef GL_EXT_index_material +#define GL_INDEX_MATERIAL_EXT 0x81B8 +#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 +#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA +#endif + +#ifndef GL_EXT_index_func +#define GL_INDEX_TEST_EXT 0x81B5 +#define GL_INDEX_TEST_FUNC_EXT 0x81B6 +#define GL_INDEX_TEST_REF_EXT 0x81B7 +#endif + +#ifndef GL_EXT_index_array_formats +#define GL_IUI_V2F_EXT 0x81AD +#define GL_IUI_V3F_EXT 0x81AE +#define GL_IUI_N3F_V2F_EXT 0x81AF +#define GL_IUI_N3F_V3F_EXT 0x81B0 +#define GL_T2F_IUI_V2F_EXT 0x81B1 +#define GL_T2F_IUI_V3F_EXT 0x81B2 +#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 +#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 +#endif + +#ifndef GL_EXT_compiled_vertex_array +#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 +#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 +#endif + +#ifndef GL_EXT_cull_vertex +#define GL_CULL_VERTEX_EXT 0x81AA +#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB +#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC +#endif + +#ifndef GL_SGIX_ycrcb +#define GL_YCRCB_422_SGIX 0x81BB +#define GL_YCRCB_444_SGIX 0x81BC +#endif + +#ifndef GL_SGIX_fragment_lighting +#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 +#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 +#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 +#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 +#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 +#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 +#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 +#define GL_LIGHT_ENV_MODE_SGIX 0x8407 +#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 +#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 +#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A +#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B +#define GL_FRAGMENT_LIGHT0_SGIX 0x840C +#define GL_FRAGMENT_LIGHT1_SGIX 0x840D +#define GL_FRAGMENT_LIGHT2_SGIX 0x840E +#define GL_FRAGMENT_LIGHT3_SGIX 0x840F +#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 +#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 +#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 +#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 +#endif + +#ifndef GL_IBM_rasterpos_clip +#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 +#endif + +#ifndef GL_HP_texture_lighting +#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 +#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 +#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 +#endif + +#ifndef GL_EXT_draw_range_elements +#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 +#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 +#endif + +#ifndef GL_WIN_phong_shading +#define GL_PHONG_WIN 0x80EA +#define GL_PHONG_HINT_WIN 0x80EB +#endif + +#ifndef GL_WIN_specular_fog +#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC +#endif + +#ifndef GL_EXT_light_texture +#define GL_FRAGMENT_MATERIAL_EXT 0x8349 +#define GL_FRAGMENT_NORMAL_EXT 0x834A +#define GL_FRAGMENT_COLOR_EXT 0x834C +#define GL_ATTENUATION_EXT 0x834D +#define GL_SHADOW_ATTENUATION_EXT 0x834E +#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F +#define GL_TEXTURE_LIGHT_EXT 0x8350 +#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 +#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 +/* reuse GL_FRAGMENT_DEPTH_EXT */ +#endif + +#ifndef GL_SGIX_blend_alpha_minmax +#define GL_ALPHA_MIN_SGIX 0x8320 +#define GL_ALPHA_MAX_SGIX 0x8321 +#endif + +#ifndef GL_SGIX_impact_pixel_texture +#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184 +#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185 +#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186 +#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187 +#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188 +#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189 +#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A +#endif + +#ifndef GL_EXT_bgra +#define GL_BGR_EXT 0x80E0 +#define GL_BGRA_EXT 0x80E1 +#endif + +#ifndef GL_SGIX_async +#define GL_ASYNC_MARKER_SGIX 0x8329 +#endif + +#ifndef GL_SGIX_async_pixel +#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C +#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D +#define GL_ASYNC_READ_PIXELS_SGIX 0x835E +#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F +#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 +#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 +#endif + +#ifndef GL_SGIX_async_histogram +#define GL_ASYNC_HISTOGRAM_SGIX 0x832C +#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D +#endif + +#ifndef GL_INTEL_texture_scissor +#endif + +#ifndef GL_INTEL_parallel_arrays +#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 +#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 +#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 +#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 +#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 +#endif + +#ifndef GL_HP_occlusion_test +#define GL_OCCLUSION_TEST_HP 0x8165 +#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 +#endif + +#ifndef GL_EXT_pixel_transform +#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 +#define GL_PIXEL_MAG_FILTER_EXT 0x8331 +#define GL_PIXEL_MIN_FILTER_EXT 0x8332 +#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 +#define GL_CUBIC_EXT 0x8334 +#define GL_AVERAGE_EXT 0x8335 +#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 +#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 +#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 +#endif + +#ifndef GL_EXT_pixel_transform_color_table +#endif + +#ifndef GL_EXT_shared_texture_palette +#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB +#endif + +#ifndef GL_EXT_separate_specular_color +#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 +#define GL_SINGLE_COLOR_EXT 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA +#endif + +#ifndef GL_EXT_secondary_color +#define GL_COLOR_SUM_EXT 0x8458 +#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D +#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E +#endif + +#ifndef GL_EXT_texture_perturb_normal +#define GL_PERTURB_EXT 0x85AE +#define GL_TEXTURE_NORMAL_EXT 0x85AF +#endif + +#ifndef GL_EXT_multi_draw_arrays +#endif + +#ifndef GL_EXT_fog_coord +#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 +#define GL_FOG_COORDINATE_EXT 0x8451 +#define GL_FRAGMENT_DEPTH_EXT 0x8452 +#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 +#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 +#endif + +#ifndef GL_REND_screen_coordinates +#define GL_SCREEN_COORDINATES_REND 0x8490 +#define GL_INVERTED_SCREEN_W_REND 0x8491 +#endif + +#ifndef GL_EXT_coordinate_frame +#define GL_TANGENT_ARRAY_EXT 0x8439 +#define GL_BINORMAL_ARRAY_EXT 0x843A +#define GL_CURRENT_TANGENT_EXT 0x843B +#define GL_CURRENT_BINORMAL_EXT 0x843C +#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E +#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F +#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 +#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 +#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 +#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 +#define GL_MAP1_TANGENT_EXT 0x8444 +#define GL_MAP2_TANGENT_EXT 0x8445 +#define GL_MAP1_BINORMAL_EXT 0x8446 +#define GL_MAP2_BINORMAL_EXT 0x8447 +#endif + +#ifndef GL_EXT_texture_env_combine +#define GL_COMBINE_EXT 0x8570 +#define GL_COMBINE_RGB_EXT 0x8571 +#define GL_COMBINE_ALPHA_EXT 0x8572 +#define GL_RGB_SCALE_EXT 0x8573 +#define GL_ADD_SIGNED_EXT 0x8574 +#define GL_INTERPOLATE_EXT 0x8575 +#define GL_CONSTANT_EXT 0x8576 +#define GL_PRIMARY_COLOR_EXT 0x8577 +#define GL_PREVIOUS_EXT 0x8578 +#define GL_SOURCE0_RGB_EXT 0x8580 +#define GL_SOURCE1_RGB_EXT 0x8581 +#define GL_SOURCE2_RGB_EXT 0x8582 +#define GL_SOURCE0_ALPHA_EXT 0x8588 +#define GL_SOURCE1_ALPHA_EXT 0x8589 +#define GL_SOURCE2_ALPHA_EXT 0x858A +#define GL_OPERAND0_RGB_EXT 0x8590 +#define GL_OPERAND1_RGB_EXT 0x8591 +#define GL_OPERAND2_RGB_EXT 0x8592 +#define GL_OPERAND0_ALPHA_EXT 0x8598 +#define GL_OPERAND1_ALPHA_EXT 0x8599 +#define GL_OPERAND2_ALPHA_EXT 0x859A +#endif + +#ifndef GL_APPLE_specular_vector +#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 +#endif + +#ifndef GL_APPLE_transform_hint +#define GL_TRANSFORM_HINT_APPLE 0x85B1 +#endif + +#ifndef GL_SGIX_fog_scale +#define GL_FOG_SCALE_SGIX 0x81FC +#define GL_FOG_SCALE_VALUE_SGIX 0x81FD +#endif + +#ifndef GL_SUNX_constant_data +#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 +#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 +#endif + +#ifndef GL_SUN_global_alpha +#define GL_GLOBAL_ALPHA_SUN 0x81D9 +#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA +#endif + +#ifndef GL_SUN_triangle_list +#define GL_RESTART_SUN 0x0001 +#define GL_REPLACE_MIDDLE_SUN 0x0002 +#define GL_REPLACE_OLDEST_SUN 0x0003 +#define GL_TRIANGLE_LIST_SUN 0x81D7 +#define GL_REPLACEMENT_CODE_SUN 0x81D8 +#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 +#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 +#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 +#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 +#define GL_R1UI_V3F_SUN 0x85C4 +#define GL_R1UI_C4UB_V3F_SUN 0x85C5 +#define GL_R1UI_C3F_V3F_SUN 0x85C6 +#define GL_R1UI_N3F_V3F_SUN 0x85C7 +#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 +#define GL_R1UI_T2F_V3F_SUN 0x85C9 +#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA +#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB +#endif + +#ifndef GL_SUN_vertex +#endif + +#ifndef GL_EXT_blend_func_separate +#define GL_BLEND_DST_RGB_EXT 0x80C8 +#define GL_BLEND_SRC_RGB_EXT 0x80C9 +#define GL_BLEND_DST_ALPHA_EXT 0x80CA +#define GL_BLEND_SRC_ALPHA_EXT 0x80CB +#endif + +#ifndef GL_INGR_color_clamp +#define GL_RED_MIN_CLAMP_INGR 0x8560 +#define GL_GREEN_MIN_CLAMP_INGR 0x8561 +#define GL_BLUE_MIN_CLAMP_INGR 0x8562 +#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 +#define GL_RED_MAX_CLAMP_INGR 0x8564 +#define GL_GREEN_MAX_CLAMP_INGR 0x8565 +#define GL_BLUE_MAX_CLAMP_INGR 0x8566 +#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 +#endif + +#ifndef GL_INGR_interlace_read +#define GL_INTERLACE_READ_INGR 0x8568 +#endif + +#ifndef GL_EXT_stencil_wrap +#define GL_INCR_WRAP_EXT 0x8507 +#define GL_DECR_WRAP_EXT 0x8508 +#endif + +#ifndef GL_EXT_422_pixels +#define GL_422_EXT 0x80CC +#define GL_422_REV_EXT 0x80CD +#define GL_422_AVERAGE_EXT 0x80CE +#define GL_422_REV_AVERAGE_EXT 0x80CF +#endif + +#ifndef GL_NV_texgen_reflection +#define GL_NORMAL_MAP_NV 0x8511 +#define GL_REFLECTION_MAP_NV 0x8512 +#endif + +#ifndef GL_EXT_texture_cube_map +#define GL_NORMAL_MAP_EXT 0x8511 +#define GL_REFLECTION_MAP_EXT 0x8512 +#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C +#endif + +#ifndef GL_SUN_convolution_border_modes +#define GL_WRAP_BORDER_SUN 0x81D4 +#endif + +#ifndef GL_EXT_texture_env_add +#endif + +#ifndef GL_EXT_texture_lod_bias +#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD +#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 +#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 +#endif + +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif + +#ifndef GL_EXT_vertex_weighting +#define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH +#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 +#define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX +#define GL_MODELVIEW1_MATRIX_EXT 0x8506 +#define GL_VERTEX_WEIGHTING_EXT 0x8509 +#define GL_MODELVIEW0_EXT GL_MODELVIEW +#define GL_MODELVIEW1_EXT 0x850A +#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B +#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C +#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D +#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E +#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F +#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 +#endif + +#ifndef GL_NV_light_max_exponent +#define GL_MAX_SHININESS_NV 0x8504 +#define GL_MAX_SPOT_EXPONENT_NV 0x8505 +#endif + +#ifndef GL_NV_vertex_array_range +#define GL_VERTEX_ARRAY_RANGE_NV 0x851D +#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E +#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F +#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 +#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 +#endif + +#ifndef GL_NV_register_combiners +#define GL_REGISTER_COMBINERS_NV 0x8522 +#define GL_VARIABLE_A_NV 0x8523 +#define GL_VARIABLE_B_NV 0x8524 +#define GL_VARIABLE_C_NV 0x8525 +#define GL_VARIABLE_D_NV 0x8526 +#define GL_VARIABLE_E_NV 0x8527 +#define GL_VARIABLE_F_NV 0x8528 +#define GL_VARIABLE_G_NV 0x8529 +#define GL_CONSTANT_COLOR0_NV 0x852A +#define GL_CONSTANT_COLOR1_NV 0x852B +#define GL_PRIMARY_COLOR_NV 0x852C +#define GL_SECONDARY_COLOR_NV 0x852D +#define GL_SPARE0_NV 0x852E +#define GL_SPARE1_NV 0x852F +#define GL_DISCARD_NV 0x8530 +#define GL_E_TIMES_F_NV 0x8531 +#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 +#define GL_UNSIGNED_IDENTITY_NV 0x8536 +#define GL_UNSIGNED_INVERT_NV 0x8537 +#define GL_EXPAND_NORMAL_NV 0x8538 +#define GL_EXPAND_NEGATE_NV 0x8539 +#define GL_HALF_BIAS_NORMAL_NV 0x853A +#define GL_HALF_BIAS_NEGATE_NV 0x853B +#define GL_SIGNED_IDENTITY_NV 0x853C +#define GL_SIGNED_NEGATE_NV 0x853D +#define GL_SCALE_BY_TWO_NV 0x853E +#define GL_SCALE_BY_FOUR_NV 0x853F +#define GL_SCALE_BY_ONE_HALF_NV 0x8540 +#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 +#define GL_COMBINER_INPUT_NV 0x8542 +#define GL_COMBINER_MAPPING_NV 0x8543 +#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 +#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 +#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 +#define GL_COMBINER_MUX_SUM_NV 0x8547 +#define GL_COMBINER_SCALE_NV 0x8548 +#define GL_COMBINER_BIAS_NV 0x8549 +#define GL_COMBINER_AB_OUTPUT_NV 0x854A +#define GL_COMBINER_CD_OUTPUT_NV 0x854B +#define GL_COMBINER_SUM_OUTPUT_NV 0x854C +#define GL_MAX_GENERAL_COMBINERS_NV 0x854D +#define GL_NUM_GENERAL_COMBINERS_NV 0x854E +#define GL_COLOR_SUM_CLAMP_NV 0x854F +#define GL_COMBINER0_NV 0x8550 +#define GL_COMBINER1_NV 0x8551 +#define GL_COMBINER2_NV 0x8552 +#define GL_COMBINER3_NV 0x8553 +#define GL_COMBINER4_NV 0x8554 +#define GL_COMBINER5_NV 0x8555 +#define GL_COMBINER6_NV 0x8556 +#define GL_COMBINER7_NV 0x8557 +/* reuse GL_TEXTURE0_ARB */ +/* reuse GL_TEXTURE1_ARB */ +/* reuse GL_ZERO */ +/* reuse GL_NONE */ +/* reuse GL_FOG */ +#endif + +#ifndef GL_NV_fog_distance +#define GL_FOG_DISTANCE_MODE_NV 0x855A +#define GL_EYE_RADIAL_NV 0x855B +#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C +/* reuse GL_EYE_PLANE */ +#endif + +#ifndef GL_NV_texgen_emboss +#define GL_EMBOSS_LIGHT_NV 0x855D +#define GL_EMBOSS_CONSTANT_NV 0x855E +#define GL_EMBOSS_MAP_NV 0x855F +#endif + +#ifndef GL_NV_blend_square +#endif + +#ifndef GL_NV_texture_env_combine4 +#define GL_COMBINE4_NV 0x8503 +#define GL_SOURCE3_RGB_NV 0x8583 +#define GL_SOURCE3_ALPHA_NV 0x858B +#define GL_OPERAND3_RGB_NV 0x8593 +#define GL_OPERAND3_ALPHA_NV 0x859B +#endif + +#ifndef GL_MESA_resize_buffers +#endif + +#ifndef GL_MESA_window_pos +#endif + +#ifndef GL_EXT_texture_compression_s3tc +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 +#endif + +#ifndef GL_IBM_cull_vertex +#define GL_CULL_VERTEX_IBM 103050 +#endif + +#ifndef GL_IBM_multimode_draw_arrays +#endif + +#ifndef GL_IBM_vertex_array_lists +#define GL_VERTEX_ARRAY_LIST_IBM 103070 +#define GL_NORMAL_ARRAY_LIST_IBM 103071 +#define GL_COLOR_ARRAY_LIST_IBM 103072 +#define GL_INDEX_ARRAY_LIST_IBM 103073 +#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 +#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 +#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 +#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 +#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 +#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 +#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 +#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 +#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 +#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 +#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 +#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 +#endif + +#ifndef GL_SGIX_subsample +#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 +#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 +#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 +#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 +#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 +#endif + +#ifndef GL_SGIX_ycrcb_subsample +#endif + +#ifndef GL_SGIX_ycrcba +#define GL_YCRCB_SGIX 0x8318 +#define GL_YCRCBA_SGIX 0x8319 +#endif + +#ifndef GL_SGI_depth_pass_instrument +#define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310 +#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311 +#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312 +#endif + +#ifndef GL_3DFX_texture_compression_FXT1 +#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 +#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 +#endif + +#ifndef GL_3DFX_multisample +#define GL_MULTISAMPLE_3DFX 0x86B2 +#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 +#define GL_SAMPLES_3DFX 0x86B4 +#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 +#endif + +#ifndef GL_3DFX_tbuffer +#endif + +#ifndef GL_EXT_multisample +#define GL_MULTISAMPLE_EXT 0x809D +#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F +#define GL_SAMPLE_MASK_EXT 0x80A0 +#define GL_1PASS_EXT 0x80A1 +#define GL_2PASS_0_EXT 0x80A2 +#define GL_2PASS_1_EXT 0x80A3 +#define GL_4PASS_0_EXT 0x80A4 +#define GL_4PASS_1_EXT 0x80A5 +#define GL_4PASS_2_EXT 0x80A6 +#define GL_4PASS_3_EXT 0x80A7 +#define GL_SAMPLE_BUFFERS_EXT 0x80A8 +#define GL_SAMPLES_EXT 0x80A9 +#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA +#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB +#define GL_SAMPLE_PATTERN_EXT 0x80AC +#define GL_MULTISAMPLE_BIT_EXT 0x20000000 +#endif + +#ifndef GL_SGIX_vertex_preclip +#define GL_VERTEX_PRECLIP_SGIX 0x83EE +#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF +#endif + +#ifndef GL_SGIX_convolution_accuracy +#define GL_CONVOLUTION_HINT_SGIX 0x8316 +#endif + +#ifndef GL_SGIX_resample +#define GL_PACK_RESAMPLE_SGIX 0x842C +#define GL_UNPACK_RESAMPLE_SGIX 0x842D +#define GL_RESAMPLE_REPLICATE_SGIX 0x842E +#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F +#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 +#endif + +#ifndef GL_SGIS_point_line_texgen +#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 +#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 +#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 +#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 +#define GL_EYE_POINT_SGIS 0x81F4 +#define GL_OBJECT_POINT_SGIS 0x81F5 +#define GL_EYE_LINE_SGIS 0x81F6 +#define GL_OBJECT_LINE_SGIS 0x81F7 +#endif + +#ifndef GL_SGIS_texture_color_mask +#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF +#endif + +#ifndef GL_EXT_texture_env_dot3 +#define GL_DOT3_RGB_EXT 0x8740 +#define GL_DOT3_RGBA_EXT 0x8741 +#endif + +#ifndef GL_ATI_texture_mirror_once +#define GL_MIRROR_CLAMP_ATI 0x8742 +#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 +#endif + +#ifndef GL_NV_fence +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 +#endif + +#ifndef GL_IBM_texture_mirrored_repeat +#define GL_MIRRORED_REPEAT_IBM 0x8370 +#endif + +#ifndef GL_NV_evaluators +#define GL_EVAL_2D_NV 0x86C0 +#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 +#define GL_MAP_TESSELLATION_NV 0x86C2 +#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 +#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 +#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 +#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 +#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 +#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 +#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 +#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA +#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB +#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC +#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD +#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE +#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF +#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 +#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 +#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 +#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 +#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 +#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 +#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 +#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 +#endif + +#ifndef GL_NV_packed_depth_stencil +#define GL_DEPTH_STENCIL_NV 0x84F9 +#define GL_UNSIGNED_INT_24_8_NV 0x84FA +#endif + +#ifndef GL_NV_register_combiners2 +#define GL_PER_STAGE_CONSTANTS_NV 0x8535 +#endif + +#ifndef GL_NV_texture_compression_vtc +#endif + +#ifndef GL_NV_texture_rectangle +#define GL_TEXTURE_RECTANGLE_NV 0x84F5 +#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 +#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 +#endif + +#ifndef GL_NV_texture_shader +#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C +#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D +#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E +#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 +#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA +#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB +#define GL_DSDT_MAG_INTENSITY_NV 0x86DC +#define GL_SHADER_CONSISTENT_NV 0x86DD +#define GL_TEXTURE_SHADER_NV 0x86DE +#define GL_SHADER_OPERATION_NV 0x86DF +#define GL_CULL_MODES_NV 0x86E0 +#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 +#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 +#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 +#define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV +#define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV +#define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV +#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 +#define GL_CONST_EYE_NV 0x86E5 +#define GL_PASS_THROUGH_NV 0x86E6 +#define GL_CULL_FRAGMENT_NV 0x86E7 +#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 +#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 +#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA +#define GL_DOT_PRODUCT_NV 0x86EC +#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED +#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE +#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 +#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 +#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 +#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 +#define GL_HILO_NV 0x86F4 +#define GL_DSDT_NV 0x86F5 +#define GL_DSDT_MAG_NV 0x86F6 +#define GL_DSDT_MAG_VIB_NV 0x86F7 +#define GL_HILO16_NV 0x86F8 +#define GL_SIGNED_HILO_NV 0x86F9 +#define GL_SIGNED_HILO16_NV 0x86FA +#define GL_SIGNED_RGBA_NV 0x86FB +#define GL_SIGNED_RGBA8_NV 0x86FC +#define GL_SIGNED_RGB_NV 0x86FE +#define GL_SIGNED_RGB8_NV 0x86FF +#define GL_SIGNED_LUMINANCE_NV 0x8701 +#define GL_SIGNED_LUMINANCE8_NV 0x8702 +#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 +#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 +#define GL_SIGNED_ALPHA_NV 0x8705 +#define GL_SIGNED_ALPHA8_NV 0x8706 +#define GL_SIGNED_INTENSITY_NV 0x8707 +#define GL_SIGNED_INTENSITY8_NV 0x8708 +#define GL_DSDT8_NV 0x8709 +#define GL_DSDT8_MAG8_NV 0x870A +#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B +#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C +#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D +#define GL_HI_SCALE_NV 0x870E +#define GL_LO_SCALE_NV 0x870F +#define GL_DS_SCALE_NV 0x8710 +#define GL_DT_SCALE_NV 0x8711 +#define GL_MAGNITUDE_SCALE_NV 0x8712 +#define GL_VIBRANCE_SCALE_NV 0x8713 +#define GL_HI_BIAS_NV 0x8714 +#define GL_LO_BIAS_NV 0x8715 +#define GL_DS_BIAS_NV 0x8716 +#define GL_DT_BIAS_NV 0x8717 +#define GL_MAGNITUDE_BIAS_NV 0x8718 +#define GL_VIBRANCE_BIAS_NV 0x8719 +#define GL_TEXTURE_BORDER_VALUES_NV 0x871A +#define GL_TEXTURE_HI_SIZE_NV 0x871B +#define GL_TEXTURE_LO_SIZE_NV 0x871C +#define GL_TEXTURE_DS_SIZE_NV 0x871D +#define GL_TEXTURE_DT_SIZE_NV 0x871E +#define GL_TEXTURE_MAG_SIZE_NV 0x871F +#endif + +#ifndef GL_NV_texture_shader2 +#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF +#endif + +#ifndef GL_NV_vertex_array_range2 +#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 +#endif + +#ifndef GL_NV_vertex_program +#define GL_VERTEX_PROGRAM_NV 0x8620 +#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 +#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 +#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 +#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 +#define GL_CURRENT_ATTRIB_NV 0x8626 +#define GL_PROGRAM_LENGTH_NV 0x8627 +#define GL_PROGRAM_STRING_NV 0x8628 +#define GL_MODELVIEW_PROJECTION_NV 0x8629 +#define GL_IDENTITY_NV 0x862A +#define GL_INVERSE_NV 0x862B +#define GL_TRANSPOSE_NV 0x862C +#define GL_INVERSE_TRANSPOSE_NV 0x862D +#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E +#define GL_MAX_TRACK_MATRICES_NV 0x862F +#define GL_MATRIX0_NV 0x8630 +#define GL_MATRIX1_NV 0x8631 +#define GL_MATRIX2_NV 0x8632 +#define GL_MATRIX3_NV 0x8633 +#define GL_MATRIX4_NV 0x8634 +#define GL_MATRIX5_NV 0x8635 +#define GL_MATRIX6_NV 0x8636 +#define GL_MATRIX7_NV 0x8637 +#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 +#define GL_CURRENT_MATRIX_NV 0x8641 +#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 +#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 +#define GL_PROGRAM_PARAMETER_NV 0x8644 +#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 +#define GL_PROGRAM_TARGET_NV 0x8646 +#define GL_PROGRAM_RESIDENT_NV 0x8647 +#define GL_TRACK_MATRIX_NV 0x8648 +#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 +#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A +#define GL_PROGRAM_ERROR_POSITION_NV 0x864B +#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 +#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 +#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 +#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 +#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 +#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 +#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 +#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 +#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 +#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 +#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A +#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B +#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C +#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D +#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E +#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F +#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 +#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 +#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 +#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 +#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 +#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 +#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 +#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 +#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 +#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 +#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A +#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B +#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C +#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D +#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E +#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F +#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 +#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 +#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 +#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 +#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 +#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 +#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 +#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 +#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 +#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 +#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A +#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B +#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C +#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D +#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E +#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F +#endif + +#ifndef GL_SGIX_texture_coordinate_clamp +#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 +#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A +#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B +#endif + +#ifndef GL_SGIX_scalebias_hint +#define GL_SCALEBIAS_HINT_SGIX 0x8322 +#endif + +#ifndef GL_OML_interlace +#define GL_INTERLACE_OML 0x8980 +#define GL_INTERLACE_READ_OML 0x8981 +#endif + +#ifndef GL_OML_subsample +#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 +#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 +#endif + +#ifndef GL_OML_resample +#define GL_PACK_RESAMPLE_OML 0x8984 +#define GL_UNPACK_RESAMPLE_OML 0x8985 +#define GL_RESAMPLE_REPLICATE_OML 0x8986 +#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 +#define GL_RESAMPLE_AVERAGE_OML 0x8988 +#define GL_RESAMPLE_DECIMATE_OML 0x8989 +#endif + +#ifndef GL_NV_copy_depth_to_color +#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E +#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F +#endif + +#ifndef GL_ATI_envmap_bumpmap +#define GL_BUMP_ROT_MATRIX_ATI 0x8775 +#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 +#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 +#define GL_BUMP_TEX_UNITS_ATI 0x8778 +#define GL_DUDV_ATI 0x8779 +#define GL_DU8DV8_ATI 0x877A +#define GL_BUMP_ENVMAP_ATI 0x877B +#define GL_BUMP_TARGET_ATI 0x877C +#endif + +#ifndef GL_ATI_fragment_shader +#define GL_FRAGMENT_SHADER_ATI 0x8920 +#define GL_REG_0_ATI 0x8921 +#define GL_REG_1_ATI 0x8922 +#define GL_REG_2_ATI 0x8923 +#define GL_REG_3_ATI 0x8924 +#define GL_REG_4_ATI 0x8925 +#define GL_REG_5_ATI 0x8926 +#define GL_REG_6_ATI 0x8927 +#define GL_REG_7_ATI 0x8928 +#define GL_REG_8_ATI 0x8929 +#define GL_REG_9_ATI 0x892A +#define GL_REG_10_ATI 0x892B +#define GL_REG_11_ATI 0x892C +#define GL_REG_12_ATI 0x892D +#define GL_REG_13_ATI 0x892E +#define GL_REG_14_ATI 0x892F +#define GL_REG_15_ATI 0x8930 +#define GL_REG_16_ATI 0x8931 +#define GL_REG_17_ATI 0x8932 +#define GL_REG_18_ATI 0x8933 +#define GL_REG_19_ATI 0x8934 +#define GL_REG_20_ATI 0x8935 +#define GL_REG_21_ATI 0x8936 +#define GL_REG_22_ATI 0x8937 +#define GL_REG_23_ATI 0x8938 +#define GL_REG_24_ATI 0x8939 +#define GL_REG_25_ATI 0x893A +#define GL_REG_26_ATI 0x893B +#define GL_REG_27_ATI 0x893C +#define GL_REG_28_ATI 0x893D +#define GL_REG_29_ATI 0x893E +#define GL_REG_30_ATI 0x893F +#define GL_REG_31_ATI 0x8940 +#define GL_CON_0_ATI 0x8941 +#define GL_CON_1_ATI 0x8942 +#define GL_CON_2_ATI 0x8943 +#define GL_CON_3_ATI 0x8944 +#define GL_CON_4_ATI 0x8945 +#define GL_CON_5_ATI 0x8946 +#define GL_CON_6_ATI 0x8947 +#define GL_CON_7_ATI 0x8948 +#define GL_CON_8_ATI 0x8949 +#define GL_CON_9_ATI 0x894A +#define GL_CON_10_ATI 0x894B +#define GL_CON_11_ATI 0x894C +#define GL_CON_12_ATI 0x894D +#define GL_CON_13_ATI 0x894E +#define GL_CON_14_ATI 0x894F +#define GL_CON_15_ATI 0x8950 +#define GL_CON_16_ATI 0x8951 +#define GL_CON_17_ATI 0x8952 +#define GL_CON_18_ATI 0x8953 +#define GL_CON_19_ATI 0x8954 +#define GL_CON_20_ATI 0x8955 +#define GL_CON_21_ATI 0x8956 +#define GL_CON_22_ATI 0x8957 +#define GL_CON_23_ATI 0x8958 +#define GL_CON_24_ATI 0x8959 +#define GL_CON_25_ATI 0x895A +#define GL_CON_26_ATI 0x895B +#define GL_CON_27_ATI 0x895C +#define GL_CON_28_ATI 0x895D +#define GL_CON_29_ATI 0x895E +#define GL_CON_30_ATI 0x895F +#define GL_CON_31_ATI 0x8960 +#define GL_MOV_ATI 0x8961 +#define GL_ADD_ATI 0x8963 +#define GL_MUL_ATI 0x8964 +#define GL_SUB_ATI 0x8965 +#define GL_DOT3_ATI 0x8966 +#define GL_DOT4_ATI 0x8967 +#define GL_MAD_ATI 0x8968 +#define GL_LERP_ATI 0x8969 +#define GL_CND_ATI 0x896A +#define GL_CND0_ATI 0x896B +#define GL_DOT2_ADD_ATI 0x896C +#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D +#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E +#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F +#define GL_NUM_PASSES_ATI 0x8970 +#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 +#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 +#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 +#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 +#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 +#define GL_SWIZZLE_STR_ATI 0x8976 +#define GL_SWIZZLE_STQ_ATI 0x8977 +#define GL_SWIZZLE_STR_DR_ATI 0x8978 +#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 +#define GL_SWIZZLE_STRQ_ATI 0x897A +#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B +#define GL_RED_BIT_ATI 0x00000001 +#define GL_GREEN_BIT_ATI 0x00000002 +#define GL_BLUE_BIT_ATI 0x00000004 +#define GL_2X_BIT_ATI 0x00000001 +#define GL_4X_BIT_ATI 0x00000002 +#define GL_8X_BIT_ATI 0x00000004 +#define GL_HALF_BIT_ATI 0x00000008 +#define GL_QUARTER_BIT_ATI 0x00000010 +#define GL_EIGHTH_BIT_ATI 0x00000020 +#define GL_SATURATE_BIT_ATI 0x00000040 +#define GL_COMP_BIT_ATI 0x00000002 +#define GL_NEGATE_BIT_ATI 0x00000004 +#define GL_BIAS_BIT_ATI 0x00000008 +#endif + +#ifndef GL_ATI_pn_triangles +#define GL_PN_TRIANGLES_ATI 0x87F0 +#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 +#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 +#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 +#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 +#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 +#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 +#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 +#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 +#endif + +#ifndef GL_ATI_vertex_array_object +#define GL_STATIC_ATI 0x8760 +#define GL_DYNAMIC_ATI 0x8761 +#define GL_PRESERVE_ATI 0x8762 +#define GL_DISCARD_ATI 0x8763 +#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 +#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 +#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 +#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 +#endif + +#ifndef GL_EXT_vertex_shader +#define GL_VERTEX_SHADER_EXT 0x8780 +#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 +#define GL_OP_INDEX_EXT 0x8782 +#define GL_OP_NEGATE_EXT 0x8783 +#define GL_OP_DOT3_EXT 0x8784 +#define GL_OP_DOT4_EXT 0x8785 +#define GL_OP_MUL_EXT 0x8786 +#define GL_OP_ADD_EXT 0x8787 +#define GL_OP_MADD_EXT 0x8788 +#define GL_OP_FRAC_EXT 0x8789 +#define GL_OP_MAX_EXT 0x878A +#define GL_OP_MIN_EXT 0x878B +#define GL_OP_SET_GE_EXT 0x878C +#define GL_OP_SET_LT_EXT 0x878D +#define GL_OP_CLAMP_EXT 0x878E +#define GL_OP_FLOOR_EXT 0x878F +#define GL_OP_ROUND_EXT 0x8790 +#define GL_OP_EXP_BASE_2_EXT 0x8791 +#define GL_OP_LOG_BASE_2_EXT 0x8792 +#define GL_OP_POWER_EXT 0x8793 +#define GL_OP_RECIP_EXT 0x8794 +#define GL_OP_RECIP_SQRT_EXT 0x8795 +#define GL_OP_SUB_EXT 0x8796 +#define GL_OP_CROSS_PRODUCT_EXT 0x8797 +#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 +#define GL_OP_MOV_EXT 0x8799 +#define GL_OUTPUT_VERTEX_EXT 0x879A +#define GL_OUTPUT_COLOR0_EXT 0x879B +#define GL_OUTPUT_COLOR1_EXT 0x879C +#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D +#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E +#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F +#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 +#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 +#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 +#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 +#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 +#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 +#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 +#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 +#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 +#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 +#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA +#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB +#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC +#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD +#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE +#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF +#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 +#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 +#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 +#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 +#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 +#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 +#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 +#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 +#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 +#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 +#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA +#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB +#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC +#define GL_OUTPUT_FOG_EXT 0x87BD +#define GL_SCALAR_EXT 0x87BE +#define GL_VECTOR_EXT 0x87BF +#define GL_MATRIX_EXT 0x87C0 +#define GL_VARIANT_EXT 0x87C1 +#define GL_INVARIANT_EXT 0x87C2 +#define GL_LOCAL_CONSTANT_EXT 0x87C3 +#define GL_LOCAL_EXT 0x87C4 +#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 +#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 +#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 +#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 +#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE +#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF +#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 +#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 +#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 +#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 +#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 +#define GL_X_EXT 0x87D5 +#define GL_Y_EXT 0x87D6 +#define GL_Z_EXT 0x87D7 +#define GL_W_EXT 0x87D8 +#define GL_NEGATIVE_X_EXT 0x87D9 +#define GL_NEGATIVE_Y_EXT 0x87DA +#define GL_NEGATIVE_Z_EXT 0x87DB +#define GL_NEGATIVE_W_EXT 0x87DC +#define GL_ZERO_EXT 0x87DD +#define GL_ONE_EXT 0x87DE +#define GL_NEGATIVE_ONE_EXT 0x87DF +#define GL_NORMALIZED_RANGE_EXT 0x87E0 +#define GL_FULL_RANGE_EXT 0x87E1 +#define GL_CURRENT_VERTEX_EXT 0x87E2 +#define GL_MVP_MATRIX_EXT 0x87E3 +#define GL_VARIANT_VALUE_EXT 0x87E4 +#define GL_VARIANT_DATATYPE_EXT 0x87E5 +#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 +#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 +#define GL_VARIANT_ARRAY_EXT 0x87E8 +#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 +#define GL_INVARIANT_VALUE_EXT 0x87EA +#define GL_INVARIANT_DATATYPE_EXT 0x87EB +#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC +#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED +#endif + +#ifndef GL_ATI_vertex_streams +#define GL_MAX_VERTEX_STREAMS_ATI 0x876B +#define GL_VERTEX_STREAM0_ATI 0x876C +#define GL_VERTEX_STREAM1_ATI 0x876D +#define GL_VERTEX_STREAM2_ATI 0x876E +#define GL_VERTEX_STREAM3_ATI 0x876F +#define GL_VERTEX_STREAM4_ATI 0x8770 +#define GL_VERTEX_STREAM5_ATI 0x8771 +#define GL_VERTEX_STREAM6_ATI 0x8772 +#define GL_VERTEX_STREAM7_ATI 0x8773 +#define GL_VERTEX_SOURCE_ATI 0x8774 +#endif + +#ifndef GL_ATI_element_array +#define GL_ELEMENT_ARRAY_ATI 0x8768 +#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 +#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A +#endif + +#ifndef GL_SUN_mesh_array +#define GL_QUAD_MESH_SUN 0x8614 +#define GL_TRIANGLE_MESH_SUN 0x8615 +#endif + +#ifndef GL_SUN_slice_accum +#define GL_SLICE_ACCUM_SUN 0x85CC +#endif + +#ifndef GL_NV_multisample_filter_hint +#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 +#endif + +#ifndef GL_NV_depth_clamp +#define GL_DEPTH_CLAMP_NV 0x864F +#endif + +#ifndef GL_NV_occlusion_query +#define GL_PIXEL_COUNTER_BITS_NV 0x8864 +#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 +#define GL_PIXEL_COUNT_NV 0x8866 +#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 +#endif + +#ifndef GL_NV_point_sprite +#define GL_POINT_SPRITE_NV 0x8861 +#define GL_COORD_REPLACE_NV 0x8862 +#define GL_POINT_SPRITE_R_MODE_NV 0x8863 +#endif + +#ifndef GL_NV_texture_shader3 +#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 +#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 +#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 +#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 +#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 +#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 +#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 +#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 +#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 +#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 +#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A +#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B +#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C +#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D +#define GL_HILO8_NV 0x885E +#define GL_SIGNED_HILO8_NV 0x885F +#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 +#endif + +#ifndef GL_NV_vertex_program1_1 +#endif + +#ifndef GL_EXT_shadow_funcs +#endif + +#ifndef GL_EXT_stencil_two_side +#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 +#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 +#endif + +#ifndef GL_ATI_text_fragment_shader +#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 +#endif + +#ifndef GL_APPLE_client_storage +#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 +#endif + +#ifndef GL_APPLE_element_array +#define GL_ELEMENT_ARRAY_APPLE 0x8768 +#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769 +#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A +#endif + +#ifndef GL_APPLE_fence +#define GL_DRAW_PIXELS_APPLE 0x8A0A +#define GL_FENCE_APPLE 0x8A0B +#endif + +#ifndef GL_APPLE_vertex_array_object +#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 +#endif + +#ifndef GL_APPLE_vertex_array_range +#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D +#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E +#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F +#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 +#define GL_STORAGE_CACHED_APPLE 0x85BE +#define GL_STORAGE_SHARED_APPLE 0x85BF +#endif + +#ifndef GL_APPLE_ycbcr_422 +#define GL_YCBCR_422_APPLE 0x85B9 +#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB +#endif + +#ifndef GL_S3_s3tc +#define GL_RGB_S3TC 0x83A0 +#define GL_RGB4_S3TC 0x83A1 +#define GL_RGBA_S3TC 0x83A2 +#define GL_RGBA4_S3TC 0x83A3 +#endif + +#ifndef GL_ATI_draw_buffers +#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 +#define GL_DRAW_BUFFER0_ATI 0x8825 +#define GL_DRAW_BUFFER1_ATI 0x8826 +#define GL_DRAW_BUFFER2_ATI 0x8827 +#define GL_DRAW_BUFFER3_ATI 0x8828 +#define GL_DRAW_BUFFER4_ATI 0x8829 +#define GL_DRAW_BUFFER5_ATI 0x882A +#define GL_DRAW_BUFFER6_ATI 0x882B +#define GL_DRAW_BUFFER7_ATI 0x882C +#define GL_DRAW_BUFFER8_ATI 0x882D +#define GL_DRAW_BUFFER9_ATI 0x882E +#define GL_DRAW_BUFFER10_ATI 0x882F +#define GL_DRAW_BUFFER11_ATI 0x8830 +#define GL_DRAW_BUFFER12_ATI 0x8831 +#define GL_DRAW_BUFFER13_ATI 0x8832 +#define GL_DRAW_BUFFER14_ATI 0x8833 +#define GL_DRAW_BUFFER15_ATI 0x8834 +#endif + +#ifndef GL_ATI_pixel_format_float +#define GL_TYPE_RGBA_FLOAT_ATI 0x8820 +#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 +#endif + +#ifndef GL_ATI_texture_env_combine3 +#define GL_MODULATE_ADD_ATI 0x8744 +#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 +#define GL_MODULATE_SUBTRACT_ATI 0x8746 +#endif + +#ifndef GL_ATI_texture_float +#define GL_RGBA_FLOAT32_ATI 0x8814 +#define GL_RGB_FLOAT32_ATI 0x8815 +#define GL_ALPHA_FLOAT32_ATI 0x8816 +#define GL_INTENSITY_FLOAT32_ATI 0x8817 +#define GL_LUMINANCE_FLOAT32_ATI 0x8818 +#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 +#define GL_RGBA_FLOAT16_ATI 0x881A +#define GL_RGB_FLOAT16_ATI 0x881B +#define GL_ALPHA_FLOAT16_ATI 0x881C +#define GL_INTENSITY_FLOAT16_ATI 0x881D +#define GL_LUMINANCE_FLOAT16_ATI 0x881E +#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F +#endif + +#ifndef GL_NV_float_buffer +#define GL_FLOAT_R_NV 0x8880 +#define GL_FLOAT_RG_NV 0x8881 +#define GL_FLOAT_RGB_NV 0x8882 +#define GL_FLOAT_RGBA_NV 0x8883 +#define GL_FLOAT_R16_NV 0x8884 +#define GL_FLOAT_R32_NV 0x8885 +#define GL_FLOAT_RG16_NV 0x8886 +#define GL_FLOAT_RG32_NV 0x8887 +#define GL_FLOAT_RGB16_NV 0x8888 +#define GL_FLOAT_RGB32_NV 0x8889 +#define GL_FLOAT_RGBA16_NV 0x888A +#define GL_FLOAT_RGBA32_NV 0x888B +#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C +#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D +#define GL_FLOAT_RGBA_MODE_NV 0x888E +#endif + +#ifndef GL_NV_fragment_program +#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 +#define GL_FRAGMENT_PROGRAM_NV 0x8870 +#define GL_MAX_TEXTURE_COORDS_NV 0x8871 +#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 +#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 +#define GL_PROGRAM_ERROR_STRING_NV 0x8874 +#endif + +#ifndef GL_NV_half_float +#define GL_HALF_FLOAT_NV 0x140B +#endif + +#ifndef GL_NV_pixel_data_range +#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 +#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 +#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A +#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B +#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C +#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D +#endif + +#ifndef GL_NV_primitive_restart +#define GL_PRIMITIVE_RESTART_NV 0x8558 +#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 +#endif + +#ifndef GL_NV_texture_expand_normal +#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F +#endif + +#ifndef GL_NV_vertex_program2 +#endif + +#ifndef GL_ATI_map_object_buffer +#endif + +#ifndef GL_ATI_separate_stencil +#define GL_STENCIL_BACK_FUNC_ATI 0x8800 +#define GL_STENCIL_BACK_FAIL_ATI 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 +#endif + +#ifndef GL_ATI_vertex_attrib_array_object +#endif + +#ifndef GL_OES_read_format +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B +#endif + +#ifndef GL_EXT_depth_bounds_test +#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 +#define GL_DEPTH_BOUNDS_EXT 0x8891 +#endif + +#ifndef GL_EXT_texture_mirror_clamp +#define GL_MIRROR_CLAMP_EXT 0x8742 +#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 +#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 +#endif + +#ifndef GL_EXT_blend_equation_separate +#define GL_BLEND_EQUATION_RGB_EXT GL_BLEND_EQUATION +#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D +#endif + +#ifndef GL_MESA_pack_invert +#define GL_PACK_INVERT_MESA 0x8758 +#endif + +#ifndef GL_MESA_ycbcr_texture +#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB +#define GL_YCBCR_MESA 0x8757 +#endif + +#ifndef GL_EXT_pixel_buffer_object +#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF +#endif + +#ifndef GL_NV_fragment_program_option +#endif + +#ifndef GL_NV_fragment_program2 +#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 +#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 +#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 +#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 +#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 +#endif + +#ifndef GL_NV_vertex_program2_option +/* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */ +/* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */ +#endif + +#ifndef GL_NV_vertex_program3 +/* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */ +#endif + +#ifndef GL_EXT_framebuffer_object +#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 +#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 +#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 +#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 +#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC +#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD +#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF +#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 +#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 +#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 +#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 +#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 +#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 +#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 +#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 +#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 +#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 +#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA +#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB +#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC +#define GL_COLOR_ATTACHMENT13_EXT 0x8CED +#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE +#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF +#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 +#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 +#define GL_FRAMEBUFFER_EXT 0x8D40 +#define GL_RENDERBUFFER_EXT 0x8D41 +#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 +#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 +#define GL_STENCIL_INDEX1_EXT 0x8D46 +#define GL_STENCIL_INDEX4_EXT 0x8D47 +#define GL_STENCIL_INDEX8_EXT 0x8D48 +#define GL_STENCIL_INDEX16_EXT 0x8D49 +#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 +#endif + +#ifndef GL_GREMEDY_string_marker +#endif + + +/*************************************************************/ + +#include +#ifndef GL_VERSION_2_0 +/* GL type for program/shader text */ +typedef char GLchar; /* native character */ +#endif + +#ifndef GL_VERSION_1_5 +/* GL types for handling large vertex buffer objects */ +#ifdef __APPLE__ +typedef long GLintptr; +typedef long GLsizeiptr; +#else +typedef ptrdiff_t GLintptr; +typedef ptrdiff_t GLsizeiptr; +#endif +#endif + +#ifndef GL_ARB_vertex_buffer_object +/* GL types for handling large vertex buffer objects */ +#ifdef __APPLE__ +typedef long GLintptrARB; +typedef long GLsizeiptrARB; +#else +typedef ptrdiff_t GLintptrARB; +typedef ptrdiff_t GLsizeiptrARB; +#endif +#endif + +#ifndef GL_ARB_shader_objects +/* GL types for handling shader object handles and program/shader text */ +typedef char GLcharARB; /* native character */ +#if defined(__APPLE__) +typedef void *GLhandleARB; /* shader object handle */ +#else +typedef unsigned int GLhandleARB; /* shader object handle */ +#endif +#endif + +/* GL types for "half" precision (s10e5) float data in host memory */ +#ifndef GL_ARB_half_float_pixel +typedef unsigned short GLhalfARB; +#endif + +#ifndef GL_NV_half_float +typedef unsigned short GLhalfNV; +#endif + +#ifndef GL_VERSION_1_2 +#define GL_VERSION_1_2 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); +GLAPI void APIENTRY glBlendEquation (GLenum); +GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); +GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei); +GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei); +GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint); +GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei); +GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); +GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); +GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); +GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); +GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); +GLAPI void APIENTRY glResetHistogram (GLenum); +GLAPI void APIENTRY glResetMinmax (GLenum); +GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); +typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); +typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); +typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); +typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#endif + +#ifndef GL_VERSION_1_3 +#define GL_VERSION_1_3 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveTexture (GLenum); +GLAPI void APIENTRY glClientActiveTexture (GLenum); +GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); +GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); +GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint); +GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort); +GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); +GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); +GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); +GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); +GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); +GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); +GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); +#endif + +#ifndef GL_VERSION_1_4 +#define GL_VERSION_1_4 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glFogCoordf (GLfloat); +GLAPI void APIENTRY glFogCoordfv (const GLfloat *); +GLAPI void APIENTRY glFogCoordd (GLdouble); +GLAPI void APIENTRY glFogCoorddv (const GLdouble *); +GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); +GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); +GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); +GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); +GLAPI void APIENTRY glPointParameteri (GLenum, GLint); +GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); +GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); +GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); +GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); +GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *); +GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint); +GLAPI void APIENTRY glSecondaryColor3iv (const GLint *); +GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *); +GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); +GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *); +GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint); +GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *); +GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort); +GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *); +GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos2dv (const GLdouble *); +GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos2fv (const GLfloat *); +GLAPI void APIENTRY glWindowPos2i (GLint, GLint); +GLAPI void APIENTRY glWindowPos2iv (const GLint *); +GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort); +GLAPI void APIENTRY glWindowPos2sv (const GLshort *); +GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos3dv (const GLdouble *); +GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos3fv (const GLfloat *); +GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); +GLAPI void APIENTRY glWindowPos3iv (const GLint *); +GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glWindowPos3sv (const GLshort *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); +typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); +typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); +typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); +#endif + +#ifndef GL_VERSION_1_5 +#define GL_VERSION_1_5 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *); +GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *); +GLAPI GLboolean APIENTRY glIsQuery (GLuint); +GLAPI void APIENTRY glBeginQuery (GLenum, GLuint); +GLAPI void APIENTRY glEndQuery (GLenum); +GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *); +GLAPI void APIENTRY glBindBuffer (GLenum, GLuint); +GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *); +GLAPI GLboolean APIENTRY glIsBuffer (GLuint); +GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum); +GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *); +GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *); +GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum); +GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum); +GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); +typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); +typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); +#endif + +#ifndef GL_VERSION_2_0 +#define GL_VERSION_2_0 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum); +GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *); +GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); +GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint); +GLAPI void APIENTRY glAttachShader (GLuint, GLuint); +GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *); +GLAPI void APIENTRY glCompileShader (GLuint); +GLAPI GLuint APIENTRY glCreateProgram (void); +GLAPI GLuint APIENTRY glCreateShader (GLenum); +GLAPI void APIENTRY glDeleteProgram (GLuint); +GLAPI void APIENTRY glDeleteShader (GLuint); +GLAPI void APIENTRY glDetachShader (GLuint, GLuint); +GLAPI void APIENTRY glDisableVertexAttribArray (GLuint); +GLAPI void APIENTRY glEnableVertexAttribArray (GLuint); +GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); +GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); +GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *); +GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *); +GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); +GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); +GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *); +GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *); +GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *); +GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *); +GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *); +GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); +GLAPI GLboolean APIENTRY glIsProgram (GLuint); +GLAPI GLboolean APIENTRY glIsShader (GLuint); +GLAPI void APIENTRY glLinkProgram (GLuint); +GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *); +GLAPI void APIENTRY glUseProgram (GLuint); +GLAPI void APIENTRY glUniform1f (GLint, GLfloat); +GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform1i (GLint, GLint); +GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint); +GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glValidateProgram (GLuint); +GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble); +GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat); +GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort); +GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *); +GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *); +GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); +GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *); +GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *); +GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *); +GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *); +GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *); +GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *); +GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *); +GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *); +GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); +typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_ARB_multitexture +#define GL_ARB_multitexture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveTextureARB (GLenum); +GLAPI void APIENTRY glClientActiveTextureARB (GLenum); +GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble); +GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat); +GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint); +GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort); +GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *); +GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *); +GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *); +GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *); +GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); +#endif + +#ifndef GL_ARB_transpose_matrix +#define GL_ARB_transpose_matrix 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *); +GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *); +GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *); +GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); +#endif + +#ifndef GL_ARB_multisample +#define GL_ARB_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); +#endif + +#ifndef GL_ARB_texture_env_add +#define GL_ARB_texture_env_add 1 +#endif + +#ifndef GL_ARB_texture_cube_map +#define GL_ARB_texture_cube_map 1 +#endif + +#ifndef GL_ARB_texture_compression +#define GL_ARB_texture_compression 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); +#endif + +#ifndef GL_ARB_texture_border_clamp +#define GL_ARB_texture_border_clamp 1 +#endif + +#ifndef GL_ARB_point_parameters +#define GL_ARB_point_parameters 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat); +GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); +#endif + +#ifndef GL_ARB_vertex_blend +#define GL_ARB_vertex_blend 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *); +GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *); +GLAPI void APIENTRY glWeightivARB (GLint, const GLint *); +GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *); +GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *); +GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *); +GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *); +GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *); +GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glVertexBlendARB (GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); +typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); +typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); +typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); +typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); +typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); +typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); +typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); +typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); +#endif + +#ifndef GL_ARB_matrix_palette +#define GL_ARB_matrix_palette 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint); +GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *); +GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *); +GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *); +GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); +typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_ARB_texture_env_combine +#define GL_ARB_texture_env_combine 1 +#endif + +#ifndef GL_ARB_texture_env_crossbar +#define GL_ARB_texture_env_crossbar 1 +#endif + +#ifndef GL_ARB_texture_env_dot3 +#define GL_ARB_texture_env_dot3 1 +#endif + +#ifndef GL_ARB_texture_mirrored_repeat +#define GL_ARB_texture_mirrored_repeat 1 +#endif + +#ifndef GL_ARB_depth_texture +#define GL_ARB_depth_texture 1 +#endif + +#ifndef GL_ARB_shadow +#define GL_ARB_shadow 1 +#endif + +#ifndef GL_ARB_shadow_ambient +#define GL_ARB_shadow_ambient 1 +#endif + +#ifndef GL_ARB_window_pos +#define GL_ARB_window_pos 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *); +GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *); +GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint); +GLAPI void APIENTRY glWindowPos2ivARB (const GLint *); +GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort); +GLAPI void APIENTRY glWindowPos2svARB (const GLshort *); +GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *); +GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *); +GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint); +GLAPI void APIENTRY glWindowPos3ivARB (const GLint *); +GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glWindowPos3svARB (const GLshort *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); +#endif + +#ifndef GL_ARB_vertex_program +#define GL_ARB_vertex_program 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble); +GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat); +GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort); +GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *); +GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *); +GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); +GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *); +GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *); +GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *); +GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *); +GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *); +GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *); +GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *); +GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *); +GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); +GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint); +GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint); +GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint); +GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *); +GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *); +GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *); +GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *); +GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *); +GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *); +GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *); +GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *); +GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *); +GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); +GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *); +GLAPI GLboolean APIENTRY glIsProgramARB (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); +typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); +typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); +#endif + +#ifndef GL_ARB_fragment_program +#define GL_ARB_fragment_program 1 +/* All ARB_fragment_program entry points are shared with ARB_vertex_program. */ +#endif + +#ifndef GL_ARB_vertex_buffer_object +#define GL_ARB_vertex_buffer_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint); +GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *); +GLAPI GLboolean APIENTRY glIsBufferARB (GLuint); +GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum); +GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); +GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); +GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum); +GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum); +GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); +typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); +typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); +typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); +typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); +typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); +#endif + +#ifndef GL_ARB_occlusion_query +#define GL_ARB_occlusion_query 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *); +GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *); +GLAPI GLboolean APIENTRY glIsQueryARB (GLuint); +GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint); +GLAPI void APIENTRY glEndQueryARB (GLenum); +GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); +#endif + +#ifndef GL_ARB_shader_objects +#define GL_ARB_shader_objects 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB); +GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum); +GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB); +GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum); +GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *); +GLAPI void APIENTRY glCompileShaderARB (GLhandleARB); +GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); +GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB); +GLAPI void APIENTRY glLinkProgramARB (GLhandleARB); +GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB); +GLAPI void APIENTRY glValidateProgramARB (GLhandleARB); +GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat); +GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glUniform1iARB (GLint, GLint); +GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint); +GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *); +GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *); +GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *); +GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *); +GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); +GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); +GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *); +GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); +GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); +GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *); +GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); +typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); +typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); +typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); +typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); +typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); +typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); +typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); +typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); +typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); +typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); +typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); +typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); +#endif + +#ifndef GL_ARB_vertex_shader +#define GL_ARB_vertex_shader 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); +GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); +GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); +#endif + +#ifndef GL_ARB_fragment_shader +#define GL_ARB_fragment_shader 1 +#endif + +#ifndef GL_ARB_shading_language_100 +#define GL_ARB_shading_language_100 1 +#endif + +#ifndef GL_ARB_texture_non_power_of_two +#define GL_ARB_texture_non_power_of_two 1 +#endif + +#ifndef GL_ARB_point_sprite +#define GL_ARB_point_sprite 1 +#endif + +#ifndef GL_ARB_fragment_program_shadow +#define GL_ARB_fragment_program_shadow 1 +#endif + +#ifndef GL_ARB_draw_buffers +#define GL_ARB_draw_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); +#endif + +#ifndef GL_ARB_texture_rectangle +#define GL_ARB_texture_rectangle 1 +#endif + +#ifndef GL_ARB_color_buffer_float +#define GL_ARB_color_buffer_float 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glClampColorARB (GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); +#endif + +#ifndef GL_ARB_half_float_pixel +#define GL_ARB_half_float_pixel 1 +#endif + +#ifndef GL_ARB_texture_float +#define GL_ARB_texture_float 1 +#endif + +#ifndef GL_ARB_pixel_buffer_object +#define GL_ARB_pixel_buffer_object 1 +#endif + +#ifndef GL_EXT_abgr +#define GL_EXT_abgr 1 +#endif + +#ifndef GL_EXT_blend_color +#define GL_EXT_blend_color 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +#endif + +#ifndef GL_EXT_polygon_offset +#define GL_EXT_polygon_offset 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); +#endif + +#ifndef GL_EXT_texture +#define GL_EXT_texture 1 +#endif + +#ifndef GL_EXT_texture3D +#define GL_EXT_texture3D 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +#endif + +#ifndef GL_SGIS_texture_filter4 +#define GL_SGIS_texture_filter4 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); +typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); +#endif + +#ifndef GL_EXT_subtexture +#define GL_EXT_subtexture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); +#endif + +#ifndef GL_EXT_copy_texture +#define GL_EXT_copy_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); +GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); +GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei); +GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); +GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#endif + +#ifndef GL_EXT_histogram +#define GL_EXT_histogram 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); +GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean); +GLAPI void APIENTRY glResetHistogramEXT (GLenum); +GLAPI void APIENTRY glResetMinmaxEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); +typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); +#endif + +#ifndef GL_EXT_convolution +#define GL_EXT_convolution 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint); +GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei); +GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); +GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); +GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); +typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); +#endif + +#ifndef GL_EXT_color_matrix +#define GL_EXT_color_matrix 1 +#endif + +#ifndef GL_SGI_color_table +#define GL_SGI_color_table 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); +GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); +#endif + +#ifndef GL_SGIX_pixel_texture +#define GL_SGIX_pixel_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTexGenSGIX (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); +#endif + +#ifndef GL_SGIS_pixel_texture +#define GL_SGIS_pixel_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint); +GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *); +GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat); +GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); +GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *); +GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); +#endif + +#ifndef GL_SGIS_texture4D +#define GL_SGIS_texture4D 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); +#endif + +#ifndef GL_SGI_texture_color_table +#define GL_SGI_texture_color_table 1 +#endif + +#ifndef GL_EXT_cmyka +#define GL_EXT_cmyka 1 +#endif + +#ifndef GL_EXT_texture_object +#define GL_EXT_texture_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *); +GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint); +GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *); +GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint); +GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); +typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); +typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); +typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); +typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); +typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); +#endif + +#ifndef GL_SGIS_detail_texture +#define GL_SGIS_detail_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); +GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); +#endif + +#ifndef GL_SGIS_sharpen_texture +#define GL_SGIS_sharpen_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *); +GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); +#endif + +#ifndef GL_EXT_packed_pixels +#define GL_EXT_packed_pixels 1 +#endif + +#ifndef GL_SGIS_texture_lod +#define GL_SGIS_texture_lod 1 +#endif + +#ifndef GL_SGIS_multisample +#define GL_SGIS_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean); +GLAPI void APIENTRY glSamplePatternSGIS (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); +#endif + +#ifndef GL_EXT_rescale_normal +#define GL_EXT_rescale_normal 1 +#endif + +#ifndef GL_EXT_vertex_array +#define GL_EXT_vertex_array 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glArrayElementEXT (GLint); +GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); +GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei); +GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *); +GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *); +GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); +GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); +GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); +GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); +typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); +typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); +typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +#endif + +#ifndef GL_EXT_misc_attribute +#define GL_EXT_misc_attribute 1 +#endif + +#ifndef GL_SGIS_generate_mipmap +#define GL_SGIS_generate_mipmap 1 +#endif + +#ifndef GL_SGIX_clipmap +#define GL_SGIX_clipmap 1 +#endif + +#ifndef GL_SGIX_shadow +#define GL_SGIX_shadow 1 +#endif + +#ifndef GL_SGIS_texture_edge_clamp +#define GL_SGIS_texture_edge_clamp 1 +#endif + +#ifndef GL_SGIS_texture_border_clamp +#define GL_SGIS_texture_border_clamp 1 +#endif + +#ifndef GL_EXT_blend_minmax +#define GL_EXT_blend_minmax 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); +#endif + +#ifndef GL_EXT_blend_subtract +#define GL_EXT_blend_subtract 1 +#endif + +#ifndef GL_EXT_blend_logic_op +#define GL_EXT_blend_logic_op 1 +#endif + +#ifndef GL_SGIX_interlace +#define GL_SGIX_interlace 1 +#endif + +#ifndef GL_SGIX_pixel_tiles +#define GL_SGIX_pixel_tiles 1 +#endif + +#ifndef GL_SGIX_texture_select +#define GL_SGIX_texture_select 1 +#endif + +#ifndef GL_SGIX_sprite +#define GL_SGIX_sprite 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat); +GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *); +GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint); +GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); +#endif + +#ifndef GL_SGIX_texture_multi_buffer +#define GL_SGIX_texture_multi_buffer 1 +#endif + +#ifndef GL_EXT_point_parameters +#define GL_EXT_point_parameters 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat); +GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); +#endif + +#ifndef GL_SGIS_point_parameters +#define GL_SGIS_point_parameters 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat); +GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); +#endif + +#ifndef GL_SGIX_instruments +#define GL_SGIX_instruments 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); +GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *); +GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *); +GLAPI void APIENTRY glReadInstrumentsSGIX (GLint); +GLAPI void APIENTRY glStartInstrumentsSGIX (void); +GLAPI void APIENTRY glStopInstrumentsSGIX (GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); +typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); +typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); +typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); +#endif + +#ifndef GL_SGIX_texture_scale_bias +#define GL_SGIX_texture_scale_bias 1 +#endif + +#ifndef GL_SGIX_framezoom +#define GL_SGIX_framezoom 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFrameZoomSGIX (GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); +#endif + +#ifndef GL_SGIX_tag_sample_buffer +#define GL_SGIX_tag_sample_buffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTagSampleBufferSGIX (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); +#endif + +#ifndef GL_SGIX_polynomial_ffd +#define GL_SGIX_polynomial_ffd 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); +GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); +GLAPI void APIENTRY glDeformSGIX (GLbitfield); +GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); +typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); +typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); +#endif + +#ifndef GL_SGIX_reference_plane +#define GL_SGIX_reference_plane 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); +#endif + +#ifndef GL_SGIX_flush_raster +#define GL_SGIX_flush_raster 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFlushRasterSGIX (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); +#endif + +#ifndef GL_SGIX_depth_texture +#define GL_SGIX_depth_texture 1 +#endif + +#ifndef GL_SGIS_fog_function +#define GL_SGIS_fog_function 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *); +GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); +#endif + +#ifndef GL_SGIX_fog_offset +#define GL_SGIX_fog_offset 1 +#endif + +#ifndef GL_HP_image_transform +#define GL_HP_image_transform 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint); +GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); +#endif + +#ifndef GL_HP_convolution_border_modes +#define GL_HP_convolution_border_modes 1 +#endif + +#ifndef GL_SGIX_texture_add_env +#define GL_SGIX_texture_add_env 1 +#endif + +#ifndef GL_EXT_color_subtable +#define GL_EXT_color_subtable 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +#endif + +#ifndef GL_PGI_vertex_hints +#define GL_PGI_vertex_hints 1 +#endif + +#ifndef GL_PGI_misc_hints +#define GL_PGI_misc_hints 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glHintPGI (GLenum, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); +#endif + +#ifndef GL_EXT_paletted_texture +#define GL_EXT_paletted_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); +GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); +GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +#endif + +#ifndef GL_EXT_clip_volume_hint +#define GL_EXT_clip_volume_hint 1 +#endif + +#ifndef GL_SGIX_list_priority +#define GL_SGIX_list_priority 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat); +GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *); +GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint); +GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); +#endif + +#ifndef GL_SGIX_ir_instrument1 +#define GL_SGIX_ir_instrument1 1 +#endif + +#ifndef GL_SGIX_calligraphic_fragment +#define GL_SGIX_calligraphic_fragment 1 +#endif + +#ifndef GL_SGIX_texture_lod_bias +#define GL_SGIX_texture_lod_bias 1 +#endif + +#ifndef GL_SGIX_shadow_ambient +#define GL_SGIX_shadow_ambient 1 +#endif + +#ifndef GL_EXT_index_texture +#define GL_EXT_index_texture 1 +#endif + +#ifndef GL_EXT_index_material +#define GL_EXT_index_material 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); +#endif + +#ifndef GL_EXT_index_func +#define GL_EXT_index_func 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); +#endif + +#ifndef GL_EXT_index_array_formats +#define GL_EXT_index_array_formats 1 +#endif + +#ifndef GL_EXT_compiled_vertex_array +#define GL_EXT_compiled_vertex_array 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei); +GLAPI void APIENTRY glUnlockArraysEXT (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); +#endif + +#ifndef GL_EXT_cull_vertex +#define GL_EXT_cull_vertex 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *); +GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); +#endif + +#ifndef GL_SGIX_ycrcb +#define GL_SGIX_ycrcb 1 +#endif + +#ifndef GL_SGIX_fragment_lighting +#define GL_SGIX_fragment_lighting 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum); +GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint); +GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat); +GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *); +GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint); +GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *); +GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint); +GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); +#endif + +#ifndef GL_IBM_rasterpos_clip +#define GL_IBM_rasterpos_clip 1 +#endif + +#ifndef GL_HP_texture_lighting +#define GL_HP_texture_lighting 1 +#endif + +#ifndef GL_EXT_draw_range_elements +#define GL_EXT_draw_range_elements 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); +#endif + +#ifndef GL_WIN_phong_shading +#define GL_WIN_phong_shading 1 +#endif + +#ifndef GL_WIN_specular_fog +#define GL_WIN_specular_fog 1 +#endif + +#ifndef GL_EXT_light_texture +#define GL_EXT_light_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glApplyTextureEXT (GLenum); +GLAPI void APIENTRY glTextureLightEXT (GLenum); +GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); +typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); +#endif + +#ifndef GL_SGIX_blend_alpha_minmax +#define GL_SGIX_blend_alpha_minmax 1 +#endif + +#ifndef GL_EXT_bgra +#define GL_EXT_bgra 1 +#endif + +#ifndef GL_SGIX_async +#define GL_SGIX_async 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint); +GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *); +GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *); +GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei); +GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei); +GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); +typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); +typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); +typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); +typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); +typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); +#endif + +#ifndef GL_SGIX_async_pixel +#define GL_SGIX_async_pixel 1 +#endif + +#ifndef GL_SGIX_async_histogram +#define GL_SGIX_async_histogram 1 +#endif + +#ifndef GL_INTEL_parallel_arrays +#define GL_INTEL_parallel_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); +GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *); +GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *); +GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); +typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); +typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); +#endif + +#ifndef GL_HP_occlusion_test +#define GL_HP_occlusion_test 1 +#endif + +#ifndef GL_EXT_pixel_transform +#define GL_EXT_pixel_transform 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint); +GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat); +GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); +#endif + +#ifndef GL_EXT_pixel_transform_color_table +#define GL_EXT_pixel_transform_color_table 1 +#endif + +#ifndef GL_EXT_shared_texture_palette +#define GL_EXT_shared_texture_palette 1 +#endif + +#ifndef GL_EXT_separate_specular_color +#define GL_EXT_separate_specular_color 1 +#endif + +#ifndef GL_EXT_secondary_color +#define GL_EXT_secondary_color 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); +GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *); +GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *); +GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *); +GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint); +GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *); +GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *); +GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); +GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *); +GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); +GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *); +GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort); +GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *); +GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_EXT_texture_perturb_normal +#define GL_EXT_texture_perturb_normal 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureNormalEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); +#endif + +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei); +GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); +#endif + +#ifndef GL_EXT_fog_coord +#define GL_EXT_fog_coord 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFogCoordfEXT (GLfloat); +GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *); +GLAPI void APIENTRY glFogCoorddEXT (GLdouble); +GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *); +GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); +typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); +typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); +typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_REND_screen_coordinates +#define GL_REND_screen_coordinates 1 +#endif + +#ifndef GL_EXT_coordinate_frame +#define GL_EXT_coordinate_frame 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte); +GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *); +GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *); +GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *); +GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint); +GLAPI void APIENTRY glTangent3ivEXT (const GLint *); +GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glTangent3svEXT (const GLshort *); +GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte); +GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *); +GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *); +GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *); +GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint); +GLAPI void APIENTRY glBinormal3ivEXT (const GLint *); +GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glBinormal3svEXT (const GLshort *); +GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); +typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); +typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); +typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); +typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); +typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); +typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); +typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); +typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); +typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); +typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_EXT_texture_env_combine +#define GL_EXT_texture_env_combine 1 +#endif + +#ifndef GL_APPLE_specular_vector +#define GL_APPLE_specular_vector 1 +#endif + +#ifndef GL_APPLE_transform_hint +#define GL_APPLE_transform_hint 1 +#endif + +#ifndef GL_SGIX_fog_scale +#define GL_SGIX_fog_scale 1 +#endif + +#ifndef GL_SUNX_constant_data +#define GL_SUNX_constant_data 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFinishTextureSUNX (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); +#endif + +#ifndef GL_SUN_global_alpha +#define GL_SUN_global_alpha 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte); +GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort); +GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint); +GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat); +GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble); +GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte); +GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort); +GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); +#endif + +#ifndef GL_SUN_triangle_list +#define GL_SUN_triangle_list 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint); +GLAPI void APIENTRY glReplacementCodeusSUN (GLushort); +GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte); +GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *); +GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *); +GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *); +GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); +#endif + +#ifndef GL_SUN_vertex +#define GL_SUN_vertex 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat); +GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *); +GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *); +GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +#endif + +#ifndef GL_EXT_blend_func_separate +#define GL_EXT_blend_func_separate 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#endif + +#ifndef GL_INGR_blend_func_separate +#define GL_INGR_blend_func_separate 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#endif + +#ifndef GL_INGR_color_clamp +#define GL_INGR_color_clamp 1 +#endif + +#ifndef GL_INGR_interlace_read +#define GL_INGR_interlace_read 1 +#endif + +#ifndef GL_EXT_stencil_wrap +#define GL_EXT_stencil_wrap 1 +#endif + +#ifndef GL_EXT_422_pixels +#define GL_EXT_422_pixels 1 +#endif + +#ifndef GL_NV_texgen_reflection +#define GL_NV_texgen_reflection 1 +#endif + +#ifndef GL_SUN_convolution_border_modes +#define GL_SUN_convolution_border_modes 1 +#endif + +#ifndef GL_EXT_texture_env_add +#define GL_EXT_texture_env_add 1 +#endif + +#ifndef GL_EXT_texture_lod_bias +#define GL_EXT_texture_lod_bias 1 +#endif + +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_EXT_texture_filter_anisotropic 1 +#endif + +#ifndef GL_EXT_vertex_weighting +#define GL_EXT_vertex_weighting 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexWeightfEXT (GLfloat); +GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *); +GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); +#endif + +#ifndef GL_NV_light_max_exponent +#define GL_NV_light_max_exponent 1 +#endif + +#ifndef GL_NV_vertex_array_range +#define GL_NV_vertex_array_range 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); +GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); +typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); +#endif + +#ifndef GL_NV_register_combiners +#define GL_NV_register_combiners 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *); +GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat); +GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *); +GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint); +GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); +GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); +#endif + +#ifndef GL_NV_fog_distance +#define GL_NV_fog_distance 1 +#endif + +#ifndef GL_NV_texgen_emboss +#define GL_NV_texgen_emboss 1 +#endif + +#ifndef GL_NV_blend_square +#define GL_NV_blend_square 1 +#endif + +#ifndef GL_NV_texture_env_combine4 +#define GL_NV_texture_env_combine4 1 +#endif + +#ifndef GL_MESA_resize_buffers +#define GL_MESA_resize_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glResizeBuffersMESA (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); +#endif + +#ifndef GL_MESA_window_pos +#define GL_MESA_window_pos 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *); +GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *); +GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint); +GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *); +GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort); +GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *); +GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *); +GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *); +GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint); +GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *); +GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort); +GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *); +GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *); +GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *); +GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *); +GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); +#endif + +#ifndef GL_IBM_cull_vertex +#define GL_IBM_cull_vertex 1 +#endif + +#ifndef GL_IBM_multimode_draw_arrays +#define GL_IBM_multimode_draw_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); +GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); +typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); +#endif + +#ifndef GL_IBM_vertex_array_lists +#define GL_IBM_vertex_array_lists 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint); +GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); +GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); +#endif + +#ifndef GL_SGIX_subsample +#define GL_SGIX_subsample 1 +#endif + +#ifndef GL_SGIX_ycrcba +#define GL_SGIX_ycrcba 1 +#endif + +#ifndef GL_SGIX_ycrcb_subsample +#define GL_SGIX_ycrcb_subsample 1 +#endif + +#ifndef GL_SGIX_depth_pass_instrument +#define GL_SGIX_depth_pass_instrument 1 +#endif + +#ifndef GL_3DFX_texture_compression_FXT1 +#define GL_3DFX_texture_compression_FXT1 1 +#endif + +#ifndef GL_3DFX_multisample +#define GL_3DFX_multisample 1 +#endif + +#ifndef GL_3DFX_tbuffer +#define GL_3DFX_tbuffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTbufferMask3DFX (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); +#endif + +#ifndef GL_EXT_multisample +#define GL_EXT_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean); +GLAPI void APIENTRY glSamplePatternEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); +#endif + +#ifndef GL_SGIX_vertex_preclip +#define GL_SGIX_vertex_preclip 1 +#endif + +#ifndef GL_SGIX_convolution_accuracy +#define GL_SGIX_convolution_accuracy 1 +#endif + +#ifndef GL_SGIX_resample +#define GL_SGIX_resample 1 +#endif + +#ifndef GL_SGIS_point_line_texgen +#define GL_SGIS_point_line_texgen 1 +#endif + +#ifndef GL_SGIS_texture_color_mask +#define GL_SGIS_texture_color_mask 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +#endif + +#ifndef GL_SGIX_igloo_interface +#define GL_SGIX_igloo_interface 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); +#endif + +#ifndef GL_EXT_texture_env_dot3 +#define GL_EXT_texture_env_dot3 1 +#endif + +#ifndef GL_ATI_texture_mirror_once +#define GL_ATI_texture_mirror_once 1 +#endif + +#ifndef GL_NV_fence +#define GL_NV_fence 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *); +GLAPI GLboolean APIENTRY glIsFenceNV (GLuint); +GLAPI GLboolean APIENTRY glTestFenceNV (GLuint); +GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glFinishFenceNV (GLuint); +GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); +typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); +typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); +#endif + +#ifndef GL_NV_evaluators +#define GL_NV_evaluators 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *); +GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *); +GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *); +GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); +typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); +typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); +#endif + +#ifndef GL_NV_packed_depth_stencil +#define GL_NV_packed_depth_stencil 1 +#endif + +#ifndef GL_NV_register_combiners2 +#define GL_NV_register_combiners2 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); +GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); +#endif + +#ifndef GL_NV_texture_compression_vtc +#define GL_NV_texture_compression_vtc 1 +#endif + +#ifndef GL_NV_texture_rectangle +#define GL_NV_texture_rectangle 1 +#endif + +#ifndef GL_NV_texture_shader +#define GL_NV_texture_shader 1 +#endif + +#ifndef GL_NV_texture_shader2 +#define GL_NV_texture_shader2 1 +#endif + +#ifndef GL_NV_vertex_array_range2 +#define GL_NV_vertex_array_range2 1 +#endif + +#ifndef GL_NV_vertex_program +#define GL_NV_vertex_program 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *); +GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint); +GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *); +GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *); +GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *); +GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *); +GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *); +GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); +GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *); +GLAPI GLboolean APIENTRY glIsProgramNV (GLuint); +GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *); +GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *); +GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *); +GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *); +GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *); +GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *); +GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); +GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *); +GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble); +GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat); +GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort); +GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *); +GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *); +GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *); +GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); +GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *); +GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *); +GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *); +GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *); +GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *); +GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *); +GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *); +GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *); +GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *); +GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *); +GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); +typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); +typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); +typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); +typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v); +typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); +#endif + +#ifndef GL_SGIX_texture_coordinate_clamp +#define GL_SGIX_texture_coordinate_clamp 1 +#endif + +#ifndef GL_SGIX_scalebias_hint +#define GL_SGIX_scalebias_hint 1 +#endif + +#ifndef GL_OML_interlace +#define GL_OML_interlace 1 +#endif + +#ifndef GL_OML_subsample +#define GL_OML_subsample 1 +#endif + +#ifndef GL_OML_resample +#define GL_OML_resample 1 +#endif + +#ifndef GL_NV_copy_depth_to_color +#define GL_NV_copy_depth_to_color 1 +#endif + +#ifndef GL_ATI_envmap_bumpmap +#define GL_ATI_envmap_bumpmap 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *); +GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *); +GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); +typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); +typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); +#endif + +#ifndef GL_ATI_fragment_shader +#define GL_ATI_fragment_shader 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint); +GLAPI void APIENTRY glBindFragmentShaderATI (GLuint); +GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint); +GLAPI void APIENTRY glBeginFragmentShaderATI (void); +GLAPI void APIENTRY glEndFragmentShaderATI (void); +GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum); +GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum); +GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); +typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); +typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); +typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); +typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); +#endif + +#ifndef GL_ATI_pn_triangles +#define GL_ATI_pn_triangles 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint); +GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); +#endif + +#ifndef GL_ATI_vertex_array_object +#define GL_ATI_vertex_array_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum); +GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint); +GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum); +GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glFreeObjectBufferATI (GLuint); +GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint); +GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); +GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *); +GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint); +GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); +typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); +typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); +#endif + +#ifndef GL_EXT_vertex_shader +#define GL_EXT_vertex_shader 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginVertexShaderEXT (void); +GLAPI void APIENTRY glEndVertexShaderEXT (void); +GLAPI void APIENTRY glBindVertexShaderEXT (GLuint); +GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint); +GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint); +GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint); +GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint); +GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint); +GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint); +GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); +GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *); +GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); +GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *); +GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *); +GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *); +GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *); +GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *); +GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *); +GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *); +GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *); +GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *); +GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint); +GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint); +GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum); +GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum); +GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum); +GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum); +GLAPI GLuint APIENTRY glBindParameterEXT (GLenum); +GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum); +GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); +GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); +GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *); +GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *); +GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); +typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); +typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); +typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); +typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); +typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); +typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); +typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); +typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); +typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); +typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); +typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); +typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); +typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); +typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); +typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); +typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); +typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); +typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); +typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); +typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); +typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); +typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); +typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +#endif + +#ifndef GL_ATI_vertex_streams +#define GL_ATI_vertex_streams 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort); +GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *); +GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint); +GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *); +GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat); +GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble); +GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *); +GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort); +GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *); +GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint); +GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *); +GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *); +GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *); +GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint); +GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *); +GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *); +GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *); +GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint); +GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *); +GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *); +GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); +GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *); +GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort); +GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *); +GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint); +GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *); +GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *); +GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *); +GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum); +GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint); +GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); +typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); +#endif + +#ifndef GL_ATI_element_array +#define GL_ATI_element_array 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *); +GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei); +GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); +#endif + +#ifndef GL_SUN_mesh_array +#define GL_SUN_mesh_array 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); +#endif + +#ifndef GL_SUN_slice_accum +#define GL_SUN_slice_accum 1 +#endif + +#ifndef GL_NV_multisample_filter_hint +#define GL_NV_multisample_filter_hint 1 +#endif + +#ifndef GL_NV_depth_clamp +#define GL_NV_depth_clamp 1 +#endif + +#ifndef GL_NV_occlusion_query +#define GL_NV_occlusion_query 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *); +GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); +GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint); +GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint); +GLAPI void APIENTRY glEndOcclusionQueryNV (void); +GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); +GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); +typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); +#endif + +#ifndef GL_NV_point_sprite +#define GL_NV_point_sprite 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint); +GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); +#endif + +#ifndef GL_NV_texture_shader3 +#define GL_NV_texture_shader3 1 +#endif + +#ifndef GL_NV_vertex_program1_1 +#define GL_NV_vertex_program1_1 1 +#endif + +#ifndef GL_EXT_shadow_funcs +#define GL_EXT_shadow_funcs 1 +#endif + +#ifndef GL_EXT_stencil_two_side +#define GL_EXT_stencil_two_side 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); +#endif + +#ifndef GL_ATI_text_fragment_shader +#define GL_ATI_text_fragment_shader 1 +#endif + +#ifndef GL_APPLE_client_storage +#define GL_APPLE_client_storage 1 +#endif + +#ifndef GL_APPLE_element_array +#define GL_APPLE_element_array 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *); +GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); +GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei); +GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei); +GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); +typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); +#endif + +#ifndef GL_APPLE_fence +#define GL_APPLE_fence 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *); +GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *); +GLAPI void APIENTRY glSetFenceAPPLE (GLuint); +GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint); +GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint); +GLAPI void APIENTRY glFinishFenceAPPLE (GLuint); +GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint); +GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); +typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); +typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); +typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); +#endif + +#ifndef GL_APPLE_vertex_array_object +#define GL_APPLE_vertex_array_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint); +GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, const GLuint *); +GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); +typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); +typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); +#endif + +#ifndef GL_APPLE_vertex_array_range +#define GL_APPLE_vertex_array_range 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *); +GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); +GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); +typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); +typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); +#endif + +#ifndef GL_APPLE_ycbcr_422 +#define GL_APPLE_ycbcr_422 1 +#endif + +#ifndef GL_S3_s3tc +#define GL_S3_s3tc 1 +#endif + +#ifndef GL_ATI_draw_buffers +#define GL_ATI_draw_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); +#endif + +#ifndef GL_ATI_pixel_format_float +#define GL_ATI_pixel_format_float 1 +/* This is really a WGL extension, but defines some associated GL enums. + * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string. + */ +#endif + +#ifndef GL_ATI_texture_env_combine3 +#define GL_ATI_texture_env_combine3 1 +#endif + +#ifndef GL_ATI_texture_float +#define GL_ATI_texture_float 1 +#endif + +#ifndef GL_NV_float_buffer +#define GL_NV_float_buffer 1 +#endif + +#ifndef GL_NV_fragment_program +#define GL_NV_fragment_program 1 +/* Some NV_fragment_program entry points are shared with ARB_vertex_program. */ +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); +GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); +GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *); +GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *); +GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *); +GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); +typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); +#endif + +#ifndef GL_NV_half_float +#define GL_NV_half_float 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *); +GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *); +GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *); +GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *); +GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *); +GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *); +GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV); +GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *); +GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *); +GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *); +GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *); +GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV); +GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); +GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); +GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); +GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); +GLAPI void APIENTRY glFogCoordhNV (GLhalfNV); +GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *); +GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *); +GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV); +GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *); +GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV); +GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); +GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *); +GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); +typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); +typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); +typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); +typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); +typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); +typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); +typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); +typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +#endif + +#ifndef GL_NV_pixel_data_range +#define GL_NV_pixel_data_range 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); +GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); +typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); +#endif + +#ifndef GL_NV_primitive_restart +#define GL_NV_primitive_restart 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPrimitiveRestartNV (void); +GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); +#endif + +#ifndef GL_NV_texture_expand_normal +#define GL_NV_texture_expand_normal 1 +#endif + +#ifndef GL_NV_vertex_program2 +#define GL_NV_vertex_program2 1 +#endif + +#ifndef GL_ATI_map_object_buffer +#define GL_ATI_map_object_buffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint); +GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); +#endif + +#ifndef GL_ATI_separate_stencil +#define GL_ATI_separate_stencil 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum); +GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); +#endif + +#ifndef GL_ATI_vertex_attrib_array_object +#define GL_ATI_vertex_attrib_array_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint); +GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *); +GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); +#endif + +#ifndef GL_OES_read_format +#define GL_OES_read_format 1 +#endif + +#ifndef GL_EXT_depth_bounds_test +#define GL_EXT_depth_bounds_test 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); +#endif + +#ifndef GL_EXT_texture_mirror_clamp +#define GL_EXT_texture_mirror_clamp 1 +#endif + +#ifndef GL_EXT_blend_equation_separate +#define GL_EXT_blend_equation_separate 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum, GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); +#endif + +#ifndef GL_MESA_pack_invert +#define GL_MESA_pack_invert 1 +#endif + +#ifndef GL_MESA_ycbcr_texture +#define GL_MESA_ycbcr_texture 1 +#endif + +#ifndef GL_EXT_pixel_buffer_object +#define GL_EXT_pixel_buffer_object 1 +#endif + +#ifndef GL_NV_fragment_program_option +#define GL_NV_fragment_program_option 1 +#endif + +#ifndef GL_NV_fragment_program2 +#define GL_NV_fragment_program2 1 +#endif + +#ifndef GL_NV_vertex_program2_option +#define GL_NV_vertex_program2_option 1 +#endif + +#ifndef GL_NV_vertex_program3 +#define GL_NV_vertex_program3 1 +#endif + +#ifndef GL_EXT_framebuffer_object +#define GL_EXT_framebuffer_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint); +GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint); +GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *); +GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei); +GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *); +GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint); +GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint); +GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *); +GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *); +GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum); +GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint); +GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint); +GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint); +GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint); +GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *); +GLAPI void APIENTRY glGenerateMipmapEXT (GLenum); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); +typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); +#endif + +#ifndef GL_GREMEDY_string_marker +#define GL_GREMEDY_string_marker 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); +#endif + + +#ifdef __cplusplus +} +#endif + +#endif +#endif /* NO_SDL_GLEXT */ +/*@}*/ diff --git a/distrib/sdl-1.2.15/include/SDL_platform.h b/distrib/sdl-1.2.15/include/SDL_platform.h new file mode 100644 index 0000000..48540a8 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_platform.h @@ -0,0 +1,110 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_platform.h + * Try to get a standard set of platform defines + */ + +#ifndef _SDL_platform_h +#define _SDL_platform_h + +#if defined(_AIX) +#undef __AIX__ +#define __AIX__ 1 +#endif +#if defined(__BEOS__) +#undef __BEOS__ +#define __BEOS__ 1 +#endif +#if defined(__HAIKU__) +#undef __HAIKU__ +#define __HAIKU__ 1 +#endif +#if defined(bsdi) || defined(__bsdi) || defined(__bsdi__) +#undef __BSDI__ +#define __BSDI__ 1 +#endif +#if defined(_arch_dreamcast) +#undef __DREAMCAST__ +#define __DREAMCAST__ 1 +#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#undef __FREEBSD__ +#define __FREEBSD__ 1 +#endif +#if defined(__HAIKU__) +#undef __HAIKU__ +#define __HAIKU__ 1 +#endif +#if defined(hpux) || defined(__hpux) || defined(__hpux__) +#undef __HPUX__ +#define __HPUX__ 1 +#endif +#if defined(sgi) || defined(__sgi) || defined(__sgi__) || defined(_SGI_SOURCE) +#undef __IRIX__ +#define __IRIX__ 1 +#endif +#if defined(linux) || defined(__linux) || defined(__linux__) +#undef __LINUX__ +#define __LINUX__ 1 +#endif +#if defined(__APPLE__) +#undef __MACOSX__ +#define __MACOSX__ 1 +#elif defined(macintosh) +#undef __MACOS__ +#define __MACOS__ 1 +#endif +#if defined(__NetBSD__) +#undef __NETBSD__ +#define __NETBSD__ 1 +#endif +#if defined(__OpenBSD__) +#undef __OPENBSD__ +#define __OPENBSD__ 1 +#endif +#if defined(__OS2__) +#undef __OS2__ +#define __OS2__ 1 +#endif +#if defined(osf) || defined(__osf) || defined(__osf__) || defined(_OSF_SOURCE) +#undef __OSF__ +#define __OSF__ 1 +#endif +#if defined(__QNXNTO__) +#undef __QNXNTO__ +#define __QNXNTO__ 1 +#endif +#if defined(riscos) || defined(__riscos) || defined(__riscos__) +#undef __RISCOS__ +#define __RISCOS__ 1 +#endif +#if defined(__SVR4) +#undef __SOLARIS__ +#define __SOLARIS__ 1 +#endif +#if defined(WIN32) || defined(_WIN32) +#undef __WIN32__ +#define __WIN32__ 1 +#endif + +#endif /* _SDL_platform_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_quit.h b/distrib/sdl-1.2.15/include/SDL_quit.h new file mode 100644 index 0000000..abd2ec6 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_quit.h @@ -0,0 +1,55 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_quit.h + * Include file for SDL quit event handling + */ + +#ifndef _SDL_quit_h +#define _SDL_quit_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +/** @file SDL_quit.h + * An SDL_QUITEVENT is generated when the user tries to close the application + * window. If it is ignored or filtered out, the window will remain open. + * If it is not ignored or filtered, it is queued normally and the window + * is allowed to close. When the window is closed, screen updates will + * complete, but have no effect. + * + * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) + * and SIGTERM (system termination request), if handlers do not already + * exist, that generate SDL_QUITEVENT events as well. There is no way + * to determine the cause of an SDL_QUITEVENT, but setting a signal + * handler in your application will override the default generation of + * quit events for that signal. + */ + +/** @file SDL_quit.h + * There are no functions directly affecting the quit event + */ + +#define SDL_QuitRequested() \ + (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUITMASK)) + +#endif /* _SDL_quit_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_rwops.h b/distrib/sdl-1.2.15/include/SDL_rwops.h new file mode 100644 index 0000000..98361d7 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_rwops.h @@ -0,0 +1,155 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_rwops.h + * This file provides a general interface for SDL to read and write + * data sources. It can easily be extended to files, memory, etc. + */ + +#ifndef _SDL_rwops_h +#define _SDL_rwops_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** This is the read/write operation structure -- very basic */ + +typedef struct SDL_RWops { + /** Seek to 'offset' relative to whence, one of stdio's whence values: + * SEEK_SET, SEEK_CUR, SEEK_END + * Returns the final offset in the data source. + */ + int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); + + /** Read up to 'maxnum' objects each of size 'size' from the data + * source to the area pointed at by 'ptr'. + * Returns the number of objects read, or -1 if the read failed. + */ + int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); + + /** Write exactly 'num' objects each of size 'objsize' from the area + * pointed at by 'ptr' to data source. + * Returns 'num', or -1 if the write failed. + */ + int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); + + /** Close and free an allocated SDL_FSops structure */ + int (SDLCALL *close)(struct SDL_RWops *context); + + Uint32 type; + union { +#if defined(__WIN32__) && !defined(__SYMBIAN32__) + struct { + int append; + void *h; + struct { + void *data; + int size; + int left; + } buffer; + } win32io; +#endif +#ifdef HAVE_STDIO_H + struct { + int autoclose; + FILE *fp; + } stdio; +#endif + struct { + Uint8 *base; + Uint8 *here; + Uint8 *stop; + } mem; + struct { + void *data1; + } unknown; + } hidden; + +} SDL_RWops; + + +/** @name Functions to create SDL_RWops structures from various data sources */ +/*@{*/ + +extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFile(const char *file, const char *mode); + +#ifdef HAVE_STDIO_H +extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose); +#endif + +extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); +extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size); + +extern DECLSPEC SDL_RWops * SDLCALL SDL_AllocRW(void); +extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops *area); + +/*@}*/ + +/** @name Seek Reference Points */ +/*@{*/ +#define RW_SEEK_SET 0 /**< Seek from the beginning of data */ +#define RW_SEEK_CUR 1 /**< Seek relative to current read point */ +#define RW_SEEK_END 2 /**< Seek relative to the end of data */ +/*@}*/ + +/** @name Macros to easily read and write from an SDL_RWops structure */ +/*@{*/ +#define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence) +#define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR) +#define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) +#define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n) +#define SDL_RWclose(ctx) (ctx)->close(ctx) +/*@}*/ + +/** @name Read an item of the specified endianness and return in native format */ +/*@{*/ +extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops *src); +extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops *src); +extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops *src); +extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops *src); +extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops *src); +extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops *src); +/*@}*/ + +/** @name Write an item of native format to the specified endianness */ +/*@{*/ +extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops *dst, Uint16 value); +extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops *dst, Uint16 value); +extern DECLSPEC int SDLCALL SDL_WriteLE32(SDL_RWops *dst, Uint32 value); +extern DECLSPEC int SDLCALL SDL_WriteBE32(SDL_RWops *dst, Uint32 value); +extern DECLSPEC int SDLCALL SDL_WriteLE64(SDL_RWops *dst, Uint64 value); +extern DECLSPEC int SDLCALL SDL_WriteBE64(SDL_RWops *dst, Uint64 value); +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_rwops_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_stdinc.h b/distrib/sdl-1.2.15/include/SDL_stdinc.h new file mode 100644 index 0000000..35a4fdd --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_stdinc.h @@ -0,0 +1,620 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_stdinc.h + * This is a general header that includes C language support + */ + +#ifndef _SDL_stdinc_h +#define _SDL_stdinc_h + +#include "SDL_config.h" + + +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif +#if defined(STDC_HEADERS) +# include +# include +# include +#else +# if defined(HAVE_STDLIB_H) +# include +# elif defined(HAVE_MALLOC_H) +# include +# endif +# if defined(HAVE_STDDEF_H) +# include +# endif +# if defined(HAVE_STDARG_H) +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#if defined(HAVE_INTTYPES_H) +# include +#elif defined(HAVE_STDINT_H) +# include +#endif +#ifdef HAVE_CTYPE_H +# include +#endif +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) +# include +#endif + +/** The number of elements in an array */ +#define SDL_arraysize(array) (sizeof(array)/sizeof(array[0])) +#define SDL_TABLESIZE(table) SDL_arraysize(table) + +/* Use proper C++ casts when compiled as C++ to be compatible with the option + -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above. */ +#ifdef __cplusplus +#define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) +#define SDL_static_cast(type, expression) static_cast(expression) +#else +#define SDL_reinterpret_cast(type, expression) ((type)(expression)) +#define SDL_static_cast(type, expression) ((type)(expression)) +#endif + +/** @name Basic data types */ +/*@{*/ +typedef enum { + SDL_FALSE = 0, + SDL_TRUE = 1 +} SDL_bool; + +typedef int8_t Sint8; +typedef uint8_t Uint8; +typedef int16_t Sint16; +typedef uint16_t Uint16; +typedef int32_t Sint32; +typedef uint32_t Uint32; + +#ifdef SDL_HAS_64BIT_TYPE +typedef int64_t Sint64; +#ifndef SYMBIAN32_GCCE +typedef uint64_t Uint64; +#endif +#else +/* This is really just a hack to prevent the compiler from complaining */ +typedef struct { + Uint32 hi; + Uint32 lo; +} Uint64, Sint64; +#endif + +/*@}*/ + +/** @name Make sure the types really have the right sizes */ +/*@{*/ +#define SDL_COMPILE_TIME_ASSERT(name, x) \ + typedef int SDL_dummy_ ## name[(x) * 2 - 1] + +SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1); +SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1); +SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); +SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); +SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); +SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); +SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); +SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); +/*@}*/ + +/** @name Enum Size Check + * Check to make sure enums are the size of ints, for structure packing. + * For both Watcom C/C++ and Borland C/C++ the compiler option that makes + * enums having the size of an int must be enabled. + * This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11). + */ +/* Enable enums always int in CodeWarrior (for MPW use "-enum int") */ +#ifdef __MWERKS__ +#pragma enumsalwaysint on +#endif + +typedef enum { + DUMMY_ENUM_VALUE +} SDL_DUMMY_ENUM; + +#ifndef __NDS__ +SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int)); +#endif +/*@}*/ + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef HAVE_MALLOC +#define SDL_malloc malloc +#else +extern DECLSPEC void * SDLCALL SDL_malloc(size_t size); +#endif + +#ifdef HAVE_CALLOC +#define SDL_calloc calloc +#else +extern DECLSPEC void * SDLCALL SDL_calloc(size_t nmemb, size_t size); +#endif + +#ifdef HAVE_REALLOC +#define SDL_realloc realloc +#else +extern DECLSPEC void * SDLCALL SDL_realloc(void *mem, size_t size); +#endif + +#ifdef HAVE_FREE +#define SDL_free free +#else +extern DECLSPEC void SDLCALL SDL_free(void *mem); +#endif + +#if defined(HAVE_ALLOCA) && !defined(alloca) +# if defined(HAVE_ALLOCA_H) +# include +# elif defined(__GNUC__) +# define alloca __builtin_alloca +# elif defined(_MSC_VER) +# include +# define alloca _alloca +# elif defined(__WATCOMC__) +# include +# elif defined(__BORLANDC__) +# include +# elif defined(__DMC__) +# include +# elif defined(__AIX__) + #pragma alloca +# elif defined(__MRC__) + void *alloca (unsigned); +# else + char *alloca (); +# endif +#endif +#ifdef HAVE_ALLOCA +#define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) +#define SDL_stack_free(data) +#else +#define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*(count)) +#define SDL_stack_free(data) SDL_free(data) +#endif + +#ifdef HAVE_GETENV +#define SDL_getenv getenv +#else +extern DECLSPEC char * SDLCALL SDL_getenv(const char *name); +#endif + +#ifdef HAVE_PUTENV +#define SDL_putenv putenv +#else +extern DECLSPEC int SDLCALL SDL_putenv(const char *variable); +#endif + +#ifdef HAVE_QSORT +#define SDL_qsort qsort +#else +extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, + int (*compare)(const void *, const void *)); +#endif + +#ifdef HAVE_ABS +#define SDL_abs abs +#else +#define SDL_abs(X) ((X) < 0 ? -(X) : (X)) +#endif + +#define SDL_min(x, y) (((x) < (y)) ? (x) : (y)) +#define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) + +#ifdef HAVE_CTYPE_H +#define SDL_isdigit(X) isdigit(X) +#define SDL_isspace(X) isspace(X) +#define SDL_toupper(X) toupper(X) +#define SDL_tolower(X) tolower(X) +#else +#define SDL_isdigit(X) (((X) >= '0') && ((X) <= '9')) +#define SDL_isspace(X) (((X) == ' ') || ((X) == '\t') || ((X) == '\r') || ((X) == '\n')) +#define SDL_toupper(X) (((X) >= 'a') && ((X) <= 'z') ? ('A'+((X)-'a')) : (X)) +#define SDL_tolower(X) (((X) >= 'A') && ((X) <= 'Z') ? ('a'+((X)-'A')) : (X)) +#endif + +#ifdef HAVE_MEMSET +#define SDL_memset memset +#else +extern DECLSPEC void * SDLCALL SDL_memset(void *dst, int c, size_t len); +#endif + +#if defined(__GNUC__) && defined(i386) +#define SDL_memset4(dst, val, len) \ +do { \ + int u0, u1, u2; \ + __asm__ __volatile__ ( \ + "cld\n\t" \ + "rep ; stosl\n\t" \ + : "=&D" (u0), "=&a" (u1), "=&c" (u2) \ + : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, len)) \ + : "memory" ); \ +} while(0) +#endif +#ifndef SDL_memset4 +#define SDL_memset4(dst, val, len) \ +do { \ + unsigned _count = (len); \ + unsigned _n = (_count + 3) / 4; \ + Uint32 *_p = SDL_static_cast(Uint32 *, dst); \ + Uint32 _val = (val); \ + if (len == 0) break; \ + switch (_count % 4) { \ + case 0: do { *_p++ = _val; \ + case 3: *_p++ = _val; \ + case 2: *_p++ = _val; \ + case 1: *_p++ = _val; \ + } while ( --_n ); \ + } \ +} while(0) +#endif + +/* We can count on memcpy existing on Mac OS X and being well-tuned. */ +#if defined(__MACH__) && defined(__APPLE__) +#define SDL_memcpy(dst, src, len) memcpy(dst, src, len) +#elif defined(__GNUC__) && defined(i386) +#define SDL_memcpy(dst, src, len) \ +do { \ + int u0, u1, u2; \ + __asm__ __volatile__ ( \ + "cld\n\t" \ + "rep ; movsl\n\t" \ + "testb $2,%b4\n\t" \ + "je 1f\n\t" \ + "movsw\n" \ + "1:\ttestb $1,%b4\n\t" \ + "je 2f\n\t" \ + "movsb\n" \ + "2:" \ + : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ + : "0" (SDL_static_cast(unsigned, len)/4), "q" (len), "1" (dst),"2" (src) \ + : "memory" ); \ +} while(0) +#endif +#ifndef SDL_memcpy +#ifdef HAVE_MEMCPY +#define SDL_memcpy memcpy +#elif defined(HAVE_BCOPY) +#define SDL_memcpy(d, s, n) bcopy((s), (d), (n)) +#else +extern DECLSPEC void * SDLCALL SDL_memcpy(void *dst, const void *src, size_t len); +#endif +#endif + +/* We can count on memcpy existing on Mac OS X and being well-tuned. */ +#if defined(__MACH__) && defined(__APPLE__) +#define SDL_memcpy4(dst, src, len) memcpy(dst, src, (len)*4) +#elif defined(__GNUC__) && defined(i386) +#define SDL_memcpy4(dst, src, len) \ +do { \ + int ecx, edi, esi; \ + __asm__ __volatile__ ( \ + "cld\n\t" \ + "rep ; movsl" \ + : "=&c" (ecx), "=&D" (edi), "=&S" (esi) \ + : "0" (SDL_static_cast(unsigned, len)), "1" (dst), "2" (src) \ + : "memory" ); \ +} while(0) +#endif +#ifndef SDL_memcpy4 +#define SDL_memcpy4(dst, src, len) SDL_memcpy(dst, src, (len) << 2) +#endif + +#if defined(__GNUC__) && defined(i386) +#define SDL_revcpy(dst, src, len) \ +do { \ + int u0, u1, u2; \ + char *dstp = SDL_static_cast(char *, dst); \ + char *srcp = SDL_static_cast(char *, src); \ + int n = (len); \ + if ( n >= 4 ) { \ + __asm__ __volatile__ ( \ + "std\n\t" \ + "rep ; movsl\n\t" \ + "cld\n\t" \ + : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ + : "0" (n >> 2), \ + "1" (dstp+(n-4)), "2" (srcp+(n-4)) \ + : "memory" ); \ + } \ + switch (n & 3) { \ + case 3: dstp[2] = srcp[2]; \ + case 2: dstp[1] = srcp[1]; \ + case 1: dstp[0] = srcp[0]; \ + break; \ + default: \ + break; \ + } \ +} while(0) +#endif +#ifndef SDL_revcpy +extern DECLSPEC void * SDLCALL SDL_revcpy(void *dst, const void *src, size_t len); +#endif + +#ifdef HAVE_MEMMOVE +#define SDL_memmove memmove +#elif defined(HAVE_BCOPY) +#define SDL_memmove(d, s, n) bcopy((s), (d), (n)) +#else +#define SDL_memmove(dst, src, len) \ +do { \ + if ( dst < src ) { \ + SDL_memcpy(dst, src, len); \ + } else { \ + SDL_revcpy(dst, src, len); \ + } \ +} while(0) +#endif + +#ifdef HAVE_MEMCMP +#define SDL_memcmp memcmp +#else +extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len); +#endif + +#ifdef HAVE_STRLEN +#define SDL_strlen strlen +#else +extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string); +#endif + +#ifdef HAVE_STRLCPY +#define SDL_strlcpy strlcpy +#else +extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src, size_t maxlen); +#endif + +#ifdef HAVE_STRLCAT +#define SDL_strlcat strlcat +#else +extern DECLSPEC size_t SDLCALL SDL_strlcat(char *dst, const char *src, size_t maxlen); +#endif + +#ifdef HAVE_STRDUP +#define SDL_strdup strdup +#else +extern DECLSPEC char * SDLCALL SDL_strdup(const char *string); +#endif + +#ifdef HAVE__STRREV +#define SDL_strrev _strrev +#else +extern DECLSPEC char * SDLCALL SDL_strrev(char *string); +#endif + +#ifdef HAVE__STRUPR +#define SDL_strupr _strupr +#else +extern DECLSPEC char * SDLCALL SDL_strupr(char *string); +#endif + +#ifdef HAVE__STRLWR +#define SDL_strlwr _strlwr +#else +extern DECLSPEC char * SDLCALL SDL_strlwr(char *string); +#endif + +#ifdef HAVE_STRCHR +#define SDL_strchr strchr +#elif defined(HAVE_INDEX) +#define SDL_strchr index +#else +extern DECLSPEC char * SDLCALL SDL_strchr(const char *string, int c); +#endif + +#ifdef HAVE_STRRCHR +#define SDL_strrchr strrchr +#elif defined(HAVE_RINDEX) +#define SDL_strrchr rindex +#else +extern DECLSPEC char * SDLCALL SDL_strrchr(const char *string, int c); +#endif + +#ifdef HAVE_STRSTR +#define SDL_strstr strstr +#else +extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle); +#endif + +#ifdef HAVE_ITOA +#define SDL_itoa itoa +#else +#define SDL_itoa(value, string, radix) SDL_ltoa((long)value, string, radix) +#endif + +#ifdef HAVE__LTOA +#define SDL_ltoa _ltoa +#else +extern DECLSPEC char * SDLCALL SDL_ltoa(long value, char *string, int radix); +#endif + +#ifdef HAVE__UITOA +#define SDL_uitoa _uitoa +#else +#define SDL_uitoa(value, string, radix) SDL_ultoa((long)value, string, radix) +#endif + +#ifdef HAVE__ULTOA +#define SDL_ultoa _ultoa +#else +extern DECLSPEC char * SDLCALL SDL_ultoa(unsigned long value, char *string, int radix); +#endif + +#ifdef HAVE_STRTOL +#define SDL_strtol strtol +#else +extern DECLSPEC long SDLCALL SDL_strtol(const char *string, char **endp, int base); +#endif + +#ifdef HAVE_STRTOUL +#define SDL_strtoul strtoul +#else +extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *string, char **endp, int base); +#endif + +#ifdef SDL_HAS_64BIT_TYPE + +#ifdef HAVE__I64TOA +#define SDL_lltoa _i64toa +#else +extern DECLSPEC char* SDLCALL SDL_lltoa(Sint64 value, char *string, int radix); +#endif + +#ifdef HAVE__UI64TOA +#define SDL_ulltoa _ui64toa +#else +extern DECLSPEC char* SDLCALL SDL_ulltoa(Uint64 value, char *string, int radix); +#endif + +#ifdef HAVE_STRTOLL +#define SDL_strtoll strtoll +#else +extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *string, char **endp, int base); +#endif + +#ifdef HAVE_STRTOULL +#define SDL_strtoull strtoull +#else +extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *string, char **endp, int base); +#endif + +#endif /* SDL_HAS_64BIT_TYPE */ + +#ifdef HAVE_STRTOD +#define SDL_strtod strtod +#else +extern DECLSPEC double SDLCALL SDL_strtod(const char *string, char **endp); +#endif + +#ifdef HAVE_ATOI +#define SDL_atoi atoi +#else +#define SDL_atoi(X) SDL_strtol(X, NULL, 0) +#endif + +#ifdef HAVE_ATOF +#define SDL_atof atof +#else +#define SDL_atof(X) SDL_strtod(X, NULL) +#endif + +#ifdef HAVE_STRCMP +#define SDL_strcmp strcmp +#else +extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2); +#endif + +#ifdef HAVE_STRNCMP +#define SDL_strncmp strncmp +#else +extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen); +#endif + +#ifdef HAVE_STRCASECMP +#define SDL_strcasecmp strcasecmp +#elif defined(HAVE__STRICMP) +#define SDL_strcasecmp _stricmp +#else +extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2); +#endif + +#ifdef HAVE_STRNCASECMP +#define SDL_strncasecmp strncasecmp +#elif defined(HAVE__STRNICMP) +#define SDL_strncasecmp _strnicmp +#else +extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen); +#endif + +#ifdef HAVE_SSCANF +#define SDL_sscanf sscanf +#else +extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, const char *fmt, ...); +#endif + +#ifdef HAVE_SNPRINTF +#define SDL_snprintf snprintf +#else +extern DECLSPEC int SDLCALL SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...); +#endif + +#ifdef HAVE_VSNPRINTF +#define SDL_vsnprintf vsnprintf +#else +extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap); +#endif + +/** @name SDL_ICONV Error Codes + * The SDL implementation of iconv() returns these error codes + */ +/*@{*/ +#define SDL_ICONV_ERROR (size_t)-1 +#define SDL_ICONV_E2BIG (size_t)-2 +#define SDL_ICONV_EILSEQ (size_t)-3 +#define SDL_ICONV_EINVAL (size_t)-4 +/*@}*/ + +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) +#define SDL_iconv_t iconv_t +#define SDL_iconv_open iconv_open +#define SDL_iconv_close iconv_close +#else +typedef struct _SDL_iconv_t *SDL_iconv_t; +extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode, const char *fromcode); +extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd); +#endif +extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft); +/** This function converts a string between encodings in one pass, returning a + * string that must be freed with SDL_free() or NULL on error. + */ +extern DECLSPEC char * SDLCALL SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft); +#define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) +#define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2", "UTF-8", S, SDL_strlen(S)+1) +#define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4", "UTF-8", S, SDL_strlen(S)+1) + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_stdinc_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_syswm.h b/distrib/sdl-1.2.15/include/SDL_syswm.h new file mode 100644 index 0000000..78433c6 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_syswm.h @@ -0,0 +1,226 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_syswm.h + * Include file for SDL custom system window manager hooks + */ + +#ifndef _SDL_syswm_h +#define _SDL_syswm_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_version.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @file SDL_syswm.h + * Your application has access to a special type of event 'SDL_SYSWMEVENT', + * which contains window-manager specific information and arrives whenever + * an unhandled window event occurs. This event is ignored by default, but + * you can enable it with SDL_EventState() + */ +#ifdef SDL_PROTOTYPES_ONLY +struct SDL_SysWMinfo; +typedef struct SDL_SysWMinfo SDL_SysWMinfo; +#else + +/* This is the structure for custom window manager events */ +#if defined(SDL_VIDEO_DRIVER_X11) +#if defined(__APPLE__) && defined(__MACH__) +/* conflicts with Quickdraw.h */ +#define Cursor X11Cursor +#endif + +#include +#include + +#if defined(__APPLE__) && defined(__MACH__) +/* matches the re-define above */ +#undef Cursor +#endif + +/** These are the various supported subsystems under UNIX */ +typedef enum { + SDL_SYSWM_X11 +} SDL_SYSWM_TYPE; + +/** The UNIX custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + SDL_SYSWM_TYPE subsystem; + union { + XEvent xevent; + } event; +}; + +/** The UNIX custom window manager information structure. + * When this structure is returned, it holds information about which + * low level system it is using, and will be one of SDL_SYSWM_TYPE. + */ +typedef struct SDL_SysWMinfo { + SDL_version version; + SDL_SYSWM_TYPE subsystem; + union { + struct { + Display *display; /**< The X11 display */ + Window window; /**< The X11 display window */ + /** These locking functions should be called around + * any X11 functions using the display variable, + * but not the gfxdisplay variable. + * They lock the event thread, so should not be + * called around event functions or from event filters. + */ + /*@{*/ + void (*lock_func)(void); + void (*unlock_func)(void); + /*@}*/ + + /** @name Introduced in SDL 1.0.2 */ + /*@{*/ + Window fswindow; /**< The X11 fullscreen window */ + Window wmwindow; /**< The X11 managed input window */ + /*@}*/ + + /** @name Introduced in SDL 1.2.12 */ + /*@{*/ + Display *gfxdisplay; /**< The X11 display to which rendering is done */ + /*@}*/ + } x11; + } info; +} SDL_SysWMinfo; + +#elif defined(SDL_VIDEO_DRIVER_NANOX) +#include + +/** The generic custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + int data; +}; + +/** The windows custom window manager information structure */ +typedef struct SDL_SysWMinfo { + SDL_version version ; + GR_WINDOW_ID window ; /* The display window */ +} SDL_SysWMinfo; + +#elif defined(SDL_VIDEO_DRIVER_WINDIB) || defined(SDL_VIDEO_DRIVER_DDRAW) || defined(SDL_VIDEO_DRIVER_GAPI) +#define WIN32_LEAN_AND_MEAN +#include + +/** The windows custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + HWND hwnd; /**< The window for the message */ + UINT msg; /**< The type of message */ + WPARAM wParam; /**< WORD message parameter */ + LPARAM lParam; /**< LONG message parameter */ +}; + +/** The windows custom window manager information structure */ +typedef struct SDL_SysWMinfo { + SDL_version version; + HWND window; /**< The Win32 display window */ + HGLRC hglrc; /**< The OpenGL context, if any */ +} SDL_SysWMinfo; + +#elif defined(SDL_VIDEO_DRIVER_RISCOS) + +/** RISC OS custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + int eventCode; /**< The window for the message */ + int pollBlock[64]; +}; + +/** The RISC OS custom window manager information structure */ +typedef struct SDL_SysWMinfo { + SDL_version version; + int wimpVersion; /**< Wimp version running under */ + int taskHandle; /**< The RISC OS task handle */ + int window; /**< The RISC OS display window */ +} SDL_SysWMinfo; + +#elif defined(SDL_VIDEO_DRIVER_PHOTON) +#include +#include + +/** The QNX custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + int data; +}; + +/** The QNX custom window manager information structure */ +typedef struct SDL_SysWMinfo { + SDL_version version; + int data; +} SDL_SysWMinfo; + +#else + +/** The generic custom event structure */ +struct SDL_SysWMmsg { + SDL_version version; + int data; +}; + +/** The generic custom window manager information structure */ +typedef struct SDL_SysWMinfo { + SDL_version version; + int data; +} SDL_SysWMinfo; + +#endif /* video driver type */ + +#endif /* SDL_PROTOTYPES_ONLY */ + +/* Function prototypes */ +/** + * This function gives you custom hooks into the window manager information. + * It fills the structure pointed to by 'info' with custom information and + * returns 0 if the function is not implemented, 1 if the function is + * implemented and no error occurred, and -1 if the version member of + * the 'info' structure is not filled in or not supported. + * + * You typically use this function like this: + * @code + * SDL_SysWMinfo info; + * SDL_VERSION(&info.version); + * if ( SDL_GetWMInfo(&info) ) { ... } + * @endcode + */ +extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_syswm_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_thread.h b/distrib/sdl-1.2.15/include/SDL_thread.h new file mode 100644 index 0000000..9ebe00e --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_thread.h @@ -0,0 +1,115 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_thread_h +#define _SDL_thread_h + +/** @file SDL_thread.h + * Header for the SDL thread management routines + * + * @note These are independent of the other SDL routines. + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +/* Thread synchronization primitives */ +#include "SDL_mutex.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** The SDL thread structure, defined in SDL_thread.c */ +struct SDL_Thread; +typedef struct SDL_Thread SDL_Thread; + +/** Create a thread */ +#if ((defined(__WIN32__) && !defined(HAVE_LIBC)) || defined(__OS2__)) && !defined(__SYMBIAN32__) +/** + * We compile SDL into a DLL on OS/2. This means, that it's the DLL which + * creates a new thread for the calling process with the SDL_CreateThread() + * API. There is a problem with this, that only the RTL of the SDL.DLL will + * be initialized for those threads, and not the RTL of the calling application! + * To solve this, we make a little hack here. + * We'll always use the caller's _beginthread() and _endthread() APIs to + * start a new thread. This way, if it's the SDL.DLL which uses this API, + * then the RTL of SDL.DLL will be used to create the new thread, and if it's + * the application, then the RTL of the application will be used. + * So, in short: + * Always use the _beginthread() and _endthread() of the calling runtime library! + */ +#define SDL_PASSED_BEGINTHREAD_ENDTHREAD +#ifndef _WIN32_WCE +#include /* This has _beginthread() and _endthread() defined! */ +#endif + +#ifdef __OS2__ +typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); +typedef void (*pfnSDL_CurrentEndThread)(void); +#else +typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned, + unsigned (__stdcall *func)(void *), void *arg, + unsigned, unsigned *threadID); +typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code); +#endif + +extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (SDLCALL *fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread); + +#ifdef __OS2__ +#define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthread, _endthread) +#elif defined(_WIN32_WCE) +#define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, NULL, NULL) +#else +#define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthreadex, _endthreadex) +#endif +#else +extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (SDLCALL *fn)(void *), void *data); +#endif + +/** Get the 32-bit thread identifier for the current thread */ +extern DECLSPEC Uint32 SDLCALL SDL_ThreadID(void); + +/** Get the 32-bit thread identifier for the specified thread, + * equivalent to SDL_ThreadID() if the specified thread is NULL. + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetThreadID(SDL_Thread *thread); + +/** Wait for a thread to finish. + * The return code for the thread function is placed in the area + * pointed to by 'status', if 'status' is not NULL. + */ +extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread *thread, int *status); + +/** Forcefully kill a thread without worrying about its state */ +extern DECLSPEC void SDLCALL SDL_KillThread(SDL_Thread *thread); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_thread_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_timer.h b/distrib/sdl-1.2.15/include/SDL_timer.h new file mode 100644 index 0000000..d764d5f --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_timer.h @@ -0,0 +1,125 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +#ifndef _SDL_timer_h +#define _SDL_timer_h + +/** @file SDL_timer.h + * Header for the SDL time management routines + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** This is the OS scheduler timeslice, in milliseconds */ +#define SDL_TIMESLICE 10 + +/** This is the maximum resolution of the SDL timer on all platforms */ +#define TIMER_RESOLUTION 10 /**< Experimentally determined */ + +/** + * Get the number of milliseconds since the SDL library initialization. + * Note that this value wraps if the program runs for more than ~49 days. + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void); + +/** Wait a specified number of milliseconds before returning */ +extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms); + +/** Function prototype for the timer callback function */ +typedef Uint32 (SDLCALL *SDL_TimerCallback)(Uint32 interval); + +/** + * Set a callback to run after the specified number of milliseconds has + * elapsed. The callback function is passed the current timer interval + * and returns the next timer interval. If the returned value is the + * same as the one passed in, the periodic alarm continues, otherwise a + * new alarm is scheduled. If the callback returns 0, the periodic alarm + * is cancelled. + * + * To cancel a currently running timer, call SDL_SetTimer(0, NULL); + * + * The timer callback function may run in a different thread than your + * main code, and so shouldn't call any functions from within itself. + * + * The maximum resolution of this timer is 10 ms, which means that if + * you request a 16 ms timer, your callback will run approximately 20 ms + * later on an unloaded system. If you wanted to set a flag signaling + * a frame update at 30 frames per second (every 33 ms), you might set a + * timer for 30 ms: + * @code SDL_SetTimer((33/10)*10, flag_update); @endcode + * + * If you use this function, you need to pass SDL_INIT_TIMER to SDL_Init(). + * + * Under UNIX, you should not use raise or use SIGALRM and this function + * in the same program, as it is implemented using setitimer(). You also + * should not use this function in multi-threaded applications as signals + * to multi-threaded apps have undefined behavior in some implementations. + * + * This function returns 0 if successful, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_SetTimer(Uint32 interval, SDL_TimerCallback callback); + +/** @name New timer API + * New timer API, supports multiple timers + * Written by Stephane Peter + */ +/*@{*/ + +/** + * Function prototype for the new timer callback function. + * The callback function is passed the current timer interval and returns + * the next timer interval. If the returned value is the same as the one + * passed in, the periodic alarm continues, otherwise a new alarm is + * scheduled. If the callback returns 0, the periodic alarm is cancelled. + */ +typedef Uint32 (SDLCALL *SDL_NewTimerCallback)(Uint32 interval, void *param); + +/** Definition of the timer ID type */ +typedef struct _SDL_TimerID *SDL_TimerID; + +/** Add a new timer to the pool of timers already running. + * Returns a timer ID, or NULL when an error occurs. + */ +extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, void *param); + +/** + * Remove one of the multiple timers knowing its ID. + * Returns a boolean value indicating success. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID t); + +/*@}*/ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_timer_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_types.h b/distrib/sdl-1.2.15/include/SDL_types.h new file mode 100644 index 0000000..79d8b28 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_types.h @@ -0,0 +1,28 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_types.h + * @deprecated Use SDL_stdinc.h instead. + */ + +/* DEPRECATED */ +#include "SDL_stdinc.h" diff --git a/distrib/sdl-1.2.15/include/SDL_version.h b/distrib/sdl-1.2.15/include/SDL_version.h new file mode 100644 index 0000000..fdc17c6 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_version.h @@ -0,0 +1,91 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_version.h + * This header defines the current SDL version + */ + +#ifndef _SDL_version_h +#define _SDL_version_h + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @name Version Number + * Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL + */ +/*@{*/ +#define SDL_MAJOR_VERSION 1 +#define SDL_MINOR_VERSION 2 +#define SDL_PATCHLEVEL 15 +/*@}*/ + +typedef struct SDL_version { + Uint8 major; + Uint8 minor; + Uint8 patch; +} SDL_version; + +/** + * This macro can be used to fill a version structure with the compile-time + * version of the SDL library. + */ +#define SDL_VERSION(X) \ +{ \ + (X)->major = SDL_MAJOR_VERSION; \ + (X)->minor = SDL_MINOR_VERSION; \ + (X)->patch = SDL_PATCHLEVEL; \ +} + +/** This macro turns the version numbers into a numeric value: + * (1,2,3) -> (1203) + * This assumes that there will never be more than 100 patchlevels + */ +#define SDL_VERSIONNUM(X, Y, Z) \ + ((X)*1000 + (Y)*100 + (Z)) + +/** This is the version number macro for the current SDL version */ +#define SDL_COMPILEDVERSION \ + SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL) + +/** This macro will evaluate to true if compiled with SDL at least X.Y.Z */ +#define SDL_VERSION_ATLEAST(X, Y, Z) \ + (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) + +/** This function gets the version of the dynamically linked SDL library. + * it should NOT be used to fill a version structure, instead you should + * use the SDL_Version() macro. + */ +extern DECLSPEC const SDL_version * SDLCALL SDL_Linked_Version(void); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_version_h */ diff --git a/distrib/sdl-1.2.15/include/SDL_video.h b/distrib/sdl-1.2.15/include/SDL_video.h new file mode 100644 index 0000000..f9c4e07 --- /dev/null +++ b/distrib/sdl-1.2.15/include/SDL_video.h @@ -0,0 +1,951 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** @file SDL_video.h + * Header file for access to the SDL raw framebuffer window + */ + +#ifndef _SDL_video_h +#define _SDL_video_h + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_rwops.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** @name Transparency definitions + * These define alpha as the opacity of a surface + */ +/*@{*/ +#define SDL_ALPHA_OPAQUE 255 +#define SDL_ALPHA_TRANSPARENT 0 +/*@}*/ + +/** @name Useful data types */ +/*@{*/ +typedef struct SDL_Rect { + Sint16 x, y; + Uint16 w, h; +} SDL_Rect; + +typedef struct SDL_Color { + Uint8 r; + Uint8 g; + Uint8 b; + Uint8 unused; +} SDL_Color; +#define SDL_Colour SDL_Color + +typedef struct SDL_Palette { + int ncolors; + SDL_Color *colors; +} SDL_Palette; +/*@}*/ + +/** Everything in the pixel format structure is read-only */ +typedef struct SDL_PixelFormat { + SDL_Palette *palette; + Uint8 BitsPerPixel; + Uint8 BytesPerPixel; + Uint8 Rloss; + Uint8 Gloss; + Uint8 Bloss; + Uint8 Aloss; + Uint8 Rshift; + Uint8 Gshift; + Uint8 Bshift; + Uint8 Ashift; + Uint32 Rmask; + Uint32 Gmask; + Uint32 Bmask; + Uint32 Amask; + + /** RGB color key information */ + Uint32 colorkey; + /** Alpha value information (per-surface alpha) */ + Uint8 alpha; +} SDL_PixelFormat; + +/** This structure should be treated as read-only, except for 'pixels', + * which, if not NULL, contains the raw pixel data for the surface. + */ +typedef struct SDL_Surface { + Uint32 flags; /**< Read-only */ + SDL_PixelFormat *format; /**< Read-only */ + int w, h; /**< Read-only */ + Uint16 pitch; /**< Read-only */ + void *pixels; /**< Read-write */ + int offset; /**< Private */ + + /** Hardware-specific surface info */ + struct private_hwdata *hwdata; + + /** clipping information */ + SDL_Rect clip_rect; /**< Read-only */ + Uint32 unused1; /**< for binary compatibility */ + + /** Allow recursive locks */ + Uint32 locked; /**< Private */ + + /** info for fast blit mapping to other surfaces */ + struct SDL_BlitMap *map; /**< Private */ + + /** format version, bumped at every change to invalidate blit maps */ + unsigned int format_version; /**< Private */ + + /** Reference count -- used when freeing surface */ + int refcount; /**< Read-mostly */ +} SDL_Surface; + +/** @name SDL_Surface Flags + * These are the currently supported flags for the SDL_surface + */ +/*@{*/ + +/** Available for SDL_CreateRGBSurface() or SDL_SetVideoMode() */ +/*@{*/ +#define SDL_SWSURFACE 0x00000000 /**< Surface is in system memory */ +#define SDL_HWSURFACE 0x00000001 /**< Surface is in video memory */ +#define SDL_ASYNCBLIT 0x00000004 /**< Use asynchronous blits if possible */ +/*@}*/ + +/** Available for SDL_SetVideoMode() */ +/*@{*/ +#define SDL_ANYFORMAT 0x10000000 /**< Allow any video depth/pixel-format */ +#define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ +#define SDL_DOUBLEBUF 0x40000000 /**< Set up double-buffered video mode */ +#define SDL_FULLSCREEN 0x80000000 /**< Surface is a full screen display */ +#define SDL_OPENGL 0x00000002 /**< Create an OpenGL rendering context */ +#define SDL_OPENGLBLIT 0x0000000A /**< Create an OpenGL rendering context and use it for blitting */ +#define SDL_RESIZABLE 0x00000010 /**< This video mode may be resized */ +#define SDL_NOFRAME 0x00000020 /**< No window caption or edge frame */ +/*@}*/ + +/** Used internally (read-only) */ +/*@{*/ +#define SDL_HWACCEL 0x00000100 /**< Blit uses hardware acceleration */ +#define SDL_SRCCOLORKEY 0x00001000 /**< Blit uses a source color key */ +#define SDL_RLEACCELOK 0x00002000 /**< Private flag */ +#define SDL_RLEACCEL 0x00004000 /**< Surface is RLE encoded */ +#define SDL_SRCALPHA 0x00010000 /**< Blit uses source alpha blending */ +#define SDL_PREALLOC 0x01000000 /**< Surface uses preallocated memory */ +/*@}*/ + +/*@}*/ + +/** Evaluates to true if the surface needs to be locked before access */ +#define SDL_MUSTLOCK(surface) \ + (surface->offset || \ + ((surface->flags & (SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_RLEACCEL)) != 0)) + +/** typedef for private surface blitting functions */ +typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect, + struct SDL_Surface *dst, SDL_Rect *dstrect); + + +/** Useful for determining the video hardware capabilities */ +typedef struct SDL_VideoInfo { + Uint32 hw_available :1; /**< Flag: Can you create hardware surfaces? */ + Uint32 wm_available :1; /**< Flag: Can you talk to a window manager? */ + Uint32 UnusedBits1 :6; + Uint32 UnusedBits2 :1; + Uint32 blit_hw :1; /**< Flag: Accelerated blits HW --> HW */ + Uint32 blit_hw_CC :1; /**< Flag: Accelerated blits with Colorkey */ + Uint32 blit_hw_A :1; /**< Flag: Accelerated blits with Alpha */ + Uint32 blit_sw :1; /**< Flag: Accelerated blits SW --> HW */ + Uint32 blit_sw_CC :1; /**< Flag: Accelerated blits with Colorkey */ + Uint32 blit_sw_A :1; /**< Flag: Accelerated blits with Alpha */ + Uint32 blit_fill :1; /**< Flag: Accelerated color fill */ + Uint32 UnusedBits3 :16; + Uint32 video_mem; /**< The total amount of video memory (in K) */ + SDL_PixelFormat *vfmt; /**< Value: The format of the video surface */ + int current_w; /**< Value: The current video mode width */ + int current_h; /**< Value: The current video mode height */ +} SDL_VideoInfo; + + +/** @name Overlay Formats + * The most common video overlay formats. + * For an explanation of these pixel formats, see: + * http://www.webartz.com/fourcc/indexyuv.htm + * + * For information on the relationship between color spaces, see: + * http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html + */ +/*@{*/ +#define SDL_YV12_OVERLAY 0x32315659 /**< Planar mode: Y + V + U (3 planes) */ +#define SDL_IYUV_OVERLAY 0x56555949 /**< Planar mode: Y + U + V (3 planes) */ +#define SDL_YUY2_OVERLAY 0x32595559 /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */ +#define SDL_UYVY_OVERLAY 0x59565955 /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */ +#define SDL_YVYU_OVERLAY 0x55595659 /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */ +/*@}*/ + +/** The YUV hardware video overlay */ +typedef struct SDL_Overlay { + Uint32 format; /**< Read-only */ + int w, h; /**< Read-only */ + int planes; /**< Read-only */ + Uint16 *pitches; /**< Read-only */ + Uint8 **pixels; /**< Read-write */ + + /** @name Hardware-specific surface info */ + /*@{*/ + struct private_yuvhwfuncs *hwfuncs; + struct private_yuvhwdata *hwdata; + /*@{*/ + + /** @name Special flags */ + /*@{*/ + Uint32 hw_overlay :1; /**< Flag: This overlay hardware accelerated? */ + Uint32 UnusedBits :31; + /*@}*/ +} SDL_Overlay; + + +/** Public enumeration for setting the OpenGL window attributes. */ +typedef enum { + SDL_GL_RED_SIZE, + SDL_GL_GREEN_SIZE, + SDL_GL_BLUE_SIZE, + SDL_GL_ALPHA_SIZE, + SDL_GL_BUFFER_SIZE, + SDL_GL_DOUBLEBUFFER, + SDL_GL_DEPTH_SIZE, + SDL_GL_STENCIL_SIZE, + SDL_GL_ACCUM_RED_SIZE, + SDL_GL_ACCUM_GREEN_SIZE, + SDL_GL_ACCUM_BLUE_SIZE, + SDL_GL_ACCUM_ALPHA_SIZE, + SDL_GL_STEREO, + SDL_GL_MULTISAMPLEBUFFERS, + SDL_GL_MULTISAMPLESAMPLES, + SDL_GL_ACCELERATED_VISUAL, + SDL_GL_SWAP_CONTROL +} SDL_GLattr; + +/** @name flags for SDL_SetPalette() */ +/*@{*/ +#define SDL_LOGPAL 0x01 +#define SDL_PHYSPAL 0x02 +/*@}*/ + +/* Function prototypes */ + +/** + * @name Video Init and Quit + * These functions are used internally, and should not be used unless you + * have a specific need to specify the video driver you want to use. + * You should normally use SDL_Init() or SDL_InitSubSystem(). + */ +/*@{*/ +/** + * Initializes the video subsystem. Sets up a connection + * to the window manager, etc, and determines the current video mode and + * pixel format, but does not initialize a window or graphics mode. + * Note that event handling is activated by this routine. + * + * If you use both sound and video in your application, you need to call + * SDL_Init() before opening the sound device, otherwise under Win32 DirectX, + * you won't be able to set full-screen display modes. + */ +extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name, Uint32 flags); +extern DECLSPEC void SDLCALL SDL_VideoQuit(void); +/*@}*/ + +/** + * This function fills the given character buffer with the name of the + * video driver, and returns a pointer to it if the video driver has + * been initialized. It returns NULL if no driver has been initialized. + */ +extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); + +/** + * This function returns a pointer to the current display surface. + * If SDL is doing format conversion on the display surface, this + * function returns the publicly visible surface, not the real video + * surface. + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_GetVideoSurface(void); + +/** + * This function returns a read-only pointer to information about the + * video hardware. If this is called before SDL_SetVideoMode(), the 'vfmt' + * member of the returned structure will contain the pixel format of the + * "best" video mode. + */ +extern DECLSPEC const SDL_VideoInfo * SDLCALL SDL_GetVideoInfo(void); + +/** + * Check to see if a particular video mode is supported. + * It returns 0 if the requested mode is not supported under any bit depth, + * or returns the bits-per-pixel of the closest available mode with the + * given width and height. If this bits-per-pixel is different from the + * one used when setting the video mode, SDL_SetVideoMode() will succeed, + * but will emulate the requested bits-per-pixel with a shadow surface. + * + * The arguments to SDL_VideoModeOK() are the same ones you would pass to + * SDL_SetVideoMode() + */ +extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); + +/** + * Return a pointer to an array of available screen dimensions for the + * given format and video flags, sorted largest to smallest. Returns + * NULL if there are no dimensions available for a particular format, + * or (SDL_Rect **)-1 if any dimension is okay for the given format. + * + * If 'format' is NULL, the mode list will be for the format given + * by SDL_GetVideoInfo()->vfmt + */ +extern DECLSPEC SDL_Rect ** SDLCALL SDL_ListModes(SDL_PixelFormat *format, Uint32 flags); + +/** + * Set up a video mode with the specified width, height and bits-per-pixel. + * + * If 'bpp' is 0, it is treated as the current display bits per pixel. + * + * If SDL_ANYFORMAT is set in 'flags', the SDL library will try to set the + * requested bits-per-pixel, but will return whatever video pixel format is + * available. The default is to emulate the requested pixel format if it + * is not natively available. + * + * If SDL_HWSURFACE is set in 'flags', the video surface will be placed in + * video memory, if possible, and you may have to call SDL_LockSurface() + * in order to access the raw framebuffer. Otherwise, the video surface + * will be created in system memory. + * + * If SDL_ASYNCBLIT is set in 'flags', SDL will try to perform rectangle + * updates asynchronously, but you must always lock before accessing pixels. + * SDL will wait for updates to complete before returning from the lock. + * + * If SDL_HWPALETTE is set in 'flags', the SDL library will guarantee + * that the colors set by SDL_SetColors() will be the colors you get. + * Otherwise, in 8-bit mode, SDL_SetColors() may not be able to set all + * of the colors exactly the way they are requested, and you should look + * at the video surface structure to determine the actual palette. + * If SDL cannot guarantee that the colors you request can be set, + * i.e. if the colormap is shared, then the video surface may be created + * under emulation in system memory, overriding the SDL_HWSURFACE flag. + * + * If SDL_FULLSCREEN is set in 'flags', the SDL library will try to set + * a fullscreen video mode. The default is to create a windowed mode + * if the current graphics system has a window manager. + * If the SDL library is able to set a fullscreen video mode, this flag + * will be set in the surface that is returned. + * + * If SDL_DOUBLEBUF is set in 'flags', the SDL library will try to set up + * two surfaces in video memory and swap between them when you call + * SDL_Flip(). This is usually slower than the normal single-buffering + * scheme, but prevents "tearing" artifacts caused by modifying video + * memory while the monitor is refreshing. It should only be used by + * applications that redraw the entire screen on every update. + * + * If SDL_RESIZABLE is set in 'flags', the SDL library will allow the + * window manager, if any, to resize the window at runtime. When this + * occurs, SDL will send a SDL_VIDEORESIZE event to you application, + * and you must respond to the event by re-calling SDL_SetVideoMode() + * with the requested size (or another size that suits the application). + * + * If SDL_NOFRAME is set in 'flags', the SDL library will create a window + * without any title bar or frame decoration. Fullscreen video modes have + * this flag set automatically. + * + * This function returns the video framebuffer surface, or NULL if it fails. + * + * If you rely on functionality provided by certain video flags, check the + * flags of the returned surface to make sure that functionality is available. + * SDL will fall back to reduced functionality if the exact flags you wanted + * are not available. + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_SetVideoMode + (int width, int height, int bpp, Uint32 flags); + +/** @name SDL_Update Functions + * These functions should not be called while 'screen' is locked. + */ +/*@{*/ +/** + * Makes sure the given list of rectangles is updated on the given screen. + */ +extern DECLSPEC void SDLCALL SDL_UpdateRects + (SDL_Surface *screen, int numrects, SDL_Rect *rects); +/** + * If 'x', 'y', 'w' and 'h' are all 0, SDL_UpdateRect will update the entire + * screen. + */ +extern DECLSPEC void SDLCALL SDL_UpdateRect + (SDL_Surface *screen, Sint32 x, Sint32 y, Uint32 w, Uint32 h); +/*@}*/ + +/** + * On hardware that supports double-buffering, this function sets up a flip + * and returns. The hardware will wait for vertical retrace, and then swap + * video buffers before the next video surface blit or lock will return. + * On hardware that doesn not support double-buffering, this is equivalent + * to calling SDL_UpdateRect(screen, 0, 0, 0, 0); + * The SDL_DOUBLEBUF flag must have been passed to SDL_SetVideoMode() when + * setting the video mode for this function to perform hardware flipping. + * This function returns 0 if successful, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface *screen); + +/** + * Set the gamma correction for each of the color channels. + * The gamma values range (approximately) between 0.1 and 10.0 + * + * If this function isn't supported directly by the hardware, it will + * be emulated using gamma ramps, if available. If successful, this + * function returns 0, otherwise it returns -1. + */ +extern DECLSPEC int SDLCALL SDL_SetGamma(float red, float green, float blue); + +/** + * Set the gamma translation table for the red, green, and blue channels + * of the video hardware. Each table is an array of 256 16-bit quantities, + * representing a mapping between the input and output for that channel. + * The input is the index into the array, and the output is the 16-bit + * gamma value at that index, scaled to the output color precision. + * + * You may pass NULL for any of the channels to leave it unchanged. + * If the call succeeds, it will return 0. If the display driver or + * hardware does not support gamma translation, or otherwise fails, + * this function will return -1. + */ +extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue); + +/** + * Retrieve the current values of the gamma translation tables. + * + * You must pass in valid pointers to arrays of 256 16-bit quantities. + * Any of the pointers may be NULL to ignore that channel. + * If the call succeeds, it will return 0. If the display driver or + * hardware does not support gamma translation, or otherwise fails, + * this function will return -1. + */ +extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue); + +/** + * Sets a portion of the colormap for the given 8-bit surface. If 'surface' + * is not a palettized surface, this function does nothing, returning 0. + * If all of the colors were set as passed to SDL_SetColors(), it will + * return 1. If not all the color entries were set exactly as given, + * it will return 0, and you should look at the surface palette to + * determine the actual color palette. + * + * When 'surface' is the surface associated with the current display, the + * display colormap will be updated with the requested colors. If + * SDL_HWPALETTE was set in SDL_SetVideoMode() flags, SDL_SetColors() + * will always return 1, and the palette is guaranteed to be set the way + * you desire, even if the window colormap has to be warped or run under + * emulation. + */ +extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface *surface, + SDL_Color *colors, int firstcolor, int ncolors); + +/** + * Sets a portion of the colormap for a given 8-bit surface. + * 'flags' is one or both of: + * SDL_LOGPAL -- set logical palette, which controls how blits are mapped + * to/from the surface, + * SDL_PHYSPAL -- set physical palette, which controls how pixels look on + * the screen + * Only screens have physical palettes. Separate change of physical/logical + * palettes is only possible if the screen has SDL_HWPALETTE set. + * + * The return value is 1 if all colours could be set as requested, and 0 + * otherwise. + * + * SDL_SetColors() is equivalent to calling this function with + * flags = (SDL_LOGPAL|SDL_PHYSPAL). + */ +extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface *surface, int flags, + SDL_Color *colors, int firstcolor, + int ncolors); + +/** + * Maps an RGB triple to an opaque pixel value for a given pixel format + */ +extern DECLSPEC Uint32 SDLCALL SDL_MapRGB +(const SDL_PixelFormat * const format, + const Uint8 r, const Uint8 g, const Uint8 b); + +/** + * Maps an RGBA quadruple to a pixel value for a given pixel format + */ +extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA +(const SDL_PixelFormat * const format, + const Uint8 r, const Uint8 g, const Uint8 b, const Uint8 a); + +/** + * Maps a pixel value into the RGB components for a given pixel format + */ +extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel, + const SDL_PixelFormat * const fmt, + Uint8 *r, Uint8 *g, Uint8 *b); + +/** + * Maps a pixel value into the RGBA components for a given pixel format + */ +extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel, + const SDL_PixelFormat * const fmt, + Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a); + +/** @sa SDL_CreateRGBSurface */ +#define SDL_AllocSurface SDL_CreateRGBSurface +/** + * Allocate and free an RGB surface (must be called after SDL_SetVideoMode) + * If the depth is 4 or 8 bits, an empty palette is allocated for the surface. + * If the depth is greater than 8 bits, the pixel format is set using the + * flags '[RGB]mask'. + * If the function runs out of memory, it will return NULL. + * + * The 'flags' tell what kind of surface to create. + * SDL_SWSURFACE means that the surface should be created in system memory. + * SDL_HWSURFACE means that the surface should be created in video memory, + * with the same format as the display surface. This is useful for surfaces + * that will not change much, to take advantage of hardware acceleration + * when being blitted to the display surface. + * SDL_ASYNCBLIT means that SDL will try to perform asynchronous blits with + * this surface, but you must always lock it before accessing the pixels. + * SDL will wait for current blits to finish before returning from the lock. + * SDL_SRCCOLORKEY indicates that the surface will be used for colorkey blits. + * If the hardware supports acceleration of colorkey blits between + * two surfaces in video memory, SDL will try to place the surface in + * video memory. If this isn't possible or if there is no hardware + * acceleration available, the surface will be placed in system memory. + * SDL_SRCALPHA means that the surface will be used for alpha blits and + * if the hardware supports hardware acceleration of alpha blits between + * two surfaces in video memory, to place the surface in video memory + * if possible, otherwise it will be placed in system memory. + * If the surface is created in video memory, blits will be _much_ faster, + * but the surface format must be identical to the video surface format, + * and the only way to access the pixels member of the surface is to use + * the SDL_LockSurface() and SDL_UnlockSurface() calls. + * If the requested surface actually resides in video memory, SDL_HWSURFACE + * will be set in the flags member of the returned surface. If for some + * reason the surface could not be placed in video memory, it will not have + * the SDL_HWSURFACE flag set, and will be created in system memory instead. + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_CreateRGBSurface + (Uint32 flags, int width, int height, int depth, + Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); +/** @sa SDL_CreateRGBSurface */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels, + int width, int height, int depth, int pitch, + Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); +extern DECLSPEC void SDLCALL SDL_FreeSurface(SDL_Surface *surface); + +/** + * SDL_LockSurface() sets up a surface for directly accessing the pixels. + * Between calls to SDL_LockSurface()/SDL_UnlockSurface(), you can write + * to and read from 'surface->pixels', using the pixel format stored in + * 'surface->format'. Once you are done accessing the surface, you should + * use SDL_UnlockSurface() to release it. + * + * Not all surfaces require locking. If SDL_MUSTLOCK(surface) evaluates + * to 0, then you can read and write to the surface at any time, and the + * pixel format of the surface will not change. In particular, if the + * SDL_HWSURFACE flag is not given when calling SDL_SetVideoMode(), you + * will not need to lock the display surface before accessing it. + * + * No operating system or library calls should be made between lock/unlock + * pairs, as critical system locks may be held during this time. + * + * SDL_LockSurface() returns 0, or -1 if the surface couldn't be locked. + */ +extern DECLSPEC int SDLCALL SDL_LockSurface(SDL_Surface *surface); +extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface *surface); + +/** + * Load a surface from a seekable SDL data source (memory or file.) + * If 'freesrc' is non-zero, the source will be closed after being read. + * Returns the new surface, or NULL if there was an error. + * The new surface should be freed with SDL_FreeSurface(). + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_LoadBMP_RW(SDL_RWops *src, int freesrc); + +/** Convenience macro -- load a surface from a file */ +#define SDL_LoadBMP(file) SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1) + +/** + * Save a surface to a seekable SDL data source (memory or file.) + * If 'freedst' is non-zero, the source will be closed after being written. + * Returns 0 if successful or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_SaveBMP_RW + (SDL_Surface *surface, SDL_RWops *dst, int freedst); + +/** Convenience macro -- save a surface to a file */ +#define SDL_SaveBMP(surface, file) \ + SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1) + +/** + * Sets the color key (transparent pixel) in a blittable surface. + * If 'flag' is SDL_SRCCOLORKEY (optionally OR'd with SDL_RLEACCEL), + * 'key' will be the transparent pixel in the source image of a blit. + * SDL_RLEACCEL requests RLE acceleration for the surface if present, + * and removes RLE acceleration if absent. + * If 'flag' is 0, this function clears any current color key. + * This function returns 0, or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_SetColorKey + (SDL_Surface *surface, Uint32 flag, Uint32 key); + +/** + * This function sets the alpha value for the entire surface, as opposed to + * using the alpha component of each pixel. This value measures the range + * of transparency of the surface, 0 being completely transparent to 255 + * being completely opaque. An 'alpha' value of 255 causes blits to be + * opaque, the source pixels copied to the destination (the default). Note + * that per-surface alpha can be combined with colorkey transparency. + * + * If 'flag' is 0, alpha blending is disabled for the surface. + * If 'flag' is SDL_SRCALPHA, alpha blending is enabled for the surface. + * OR:ing the flag with SDL_RLEACCEL requests RLE acceleration for the + * surface; if SDL_RLEACCEL is not specified, the RLE accel will be removed. + * + * The 'alpha' parameter is ignored for surfaces that have an alpha channel. + */ +extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface *surface, Uint32 flag, Uint8 alpha); + +/** + * Sets the clipping rectangle for the destination surface in a blit. + * + * If the clip rectangle is NULL, clipping will be disabled. + * If the clip rectangle doesn't intersect the surface, the function will + * return SDL_FALSE and blits will be completely clipped. Otherwise the + * function returns SDL_TRUE and blits to the surface will be clipped to + * the intersection of the surface area and the clipping rectangle. + * + * Note that blits are automatically clipped to the edges of the source + * and destination surfaces. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_SetClipRect(SDL_Surface *surface, const SDL_Rect *rect); + +/** + * Gets the clipping rectangle for the destination surface in a blit. + * 'rect' must be a pointer to a valid rectangle which will be filled + * with the correct values. + */ +extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect); + +/** + * Creates a new surface of the specified format, and then copies and maps + * the given surface to it so the blit of the converted surface will be as + * fast as possible. If this function fails, it returns NULL. + * + * The 'flags' parameter is passed to SDL_CreateRGBSurface() and has those + * semantics. You can also pass SDL_RLEACCEL in the flags parameter and + * SDL will try to RLE accelerate colorkey and alpha blits in the resulting + * surface. + * + * This function is used internally by SDL_DisplayFormat(). + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_ConvertSurface + (SDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags); + +/** + * This performs a fast blit from the source surface to the destination + * surface. It assumes that the source and destination rectangles are + * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire + * surface (src or dst) is copied. The final blit rectangles are saved + * in 'srcrect' and 'dstrect' after all clipping is performed. + * If the blit is successful, it returns 0, otherwise it returns -1. + * + * The blit function should not be called on a locked surface. + * + * The blit semantics for surfaces with and without alpha and colorkey + * are defined as follows: + * + * RGBA->RGB: + * SDL_SRCALPHA set: + * alpha-blend (using alpha-channel). + * SDL_SRCCOLORKEY ignored. + * SDL_SRCALPHA not set: + * copy RGB. + * if SDL_SRCCOLORKEY set, only copy the pixels matching the + * RGB values of the source colour key, ignoring alpha in the + * comparison. + * + * RGB->RGBA: + * SDL_SRCALPHA set: + * alpha-blend (using the source per-surface alpha value); + * set destination alpha to opaque. + * SDL_SRCALPHA not set: + * copy RGB, set destination alpha to source per-surface alpha value. + * both: + * if SDL_SRCCOLORKEY set, only copy the pixels matching the + * source colour key. + * + * RGBA->RGBA: + * SDL_SRCALPHA set: + * alpha-blend (using the source alpha channel) the RGB values; + * leave destination alpha untouched. [Note: is this correct?] + * SDL_SRCCOLORKEY ignored. + * SDL_SRCALPHA not set: + * copy all of RGBA to the destination. + * if SDL_SRCCOLORKEY set, only copy the pixels matching the + * RGB values of the source colour key, ignoring alpha in the + * comparison. + * + * RGB->RGB: + * SDL_SRCALPHA set: + * alpha-blend (using the source per-surface alpha value). + * SDL_SRCALPHA not set: + * copy RGB. + * both: + * if SDL_SRCCOLORKEY set, only copy the pixels matching the + * source colour key. + * + * If either of the surfaces were in video memory, and the blit returns -2, + * the video memory was lost, so it should be reloaded with artwork and + * re-blitted: + * @code + * while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) { + * while ( SDL_LockSurface(image) < 0 ) + * Sleep(10); + * -- Write image pixels to image->pixels -- + * SDL_UnlockSurface(image); + * } + * @endcode + * + * This happens under DirectX 5.0 when the system switches away from your + * fullscreen application. The lock will also fail until you have access + * to the video memory again. + * + * You should call SDL_BlitSurface() unless you know exactly how SDL + * blitting works internally and how to use the other blit functions. + */ +#define SDL_BlitSurface SDL_UpperBlit + +/** This is the public blit function, SDL_BlitSurface(), and it performs + * rectangle validation and clipping before passing it to SDL_LowerBlit() + */ +extern DECLSPEC int SDLCALL SDL_UpperBlit + (SDL_Surface *src, SDL_Rect *srcrect, + SDL_Surface *dst, SDL_Rect *dstrect); +/** This is a semi-private blit function and it performs low-level surface + * blitting only. + */ +extern DECLSPEC int SDLCALL SDL_LowerBlit + (SDL_Surface *src, SDL_Rect *srcrect, + SDL_Surface *dst, SDL_Rect *dstrect); + +/** + * This function performs a fast fill of the given rectangle with 'color' + * The given rectangle is clipped to the destination surface clip area + * and the final fill rectangle is saved in the passed in pointer. + * If 'dstrect' is NULL, the whole surface will be filled with 'color' + * The color should be a pixel of the format used by the surface, and + * can be generated by the SDL_MapRGB() function. + * This function returns 0 on success, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_FillRect + (SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color); + +/** + * This function takes a surface and copies it to a new surface of the + * pixel format and colors of the video framebuffer, suitable for fast + * blitting onto the display surface. It calls SDL_ConvertSurface() + * + * If you want to take advantage of hardware colorkey or alpha blit + * acceleration, you should set the colorkey and alpha value before + * calling this function. + * + * If the conversion fails or runs out of memory, it returns NULL + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_DisplayFormat(SDL_Surface *surface); + +/** + * This function takes a surface and copies it to a new surface of the + * pixel format and colors of the video framebuffer (if possible), + * suitable for fast alpha blitting onto the display surface. + * The new surface will always have an alpha channel. + * + * If you want to take advantage of hardware colorkey or alpha blit + * acceleration, you should set the colorkey and alpha value before + * calling this function. + * + * If the conversion fails or runs out of memory, it returns NULL + */ +extern DECLSPEC SDL_Surface * SDLCALL SDL_DisplayFormatAlpha(SDL_Surface *surface); + + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name YUV video surface overlay functions */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/** This function creates a video output overlay + * Calling the returned surface an overlay is something of a misnomer because + * the contents of the display surface underneath the area where the overlay + * is shown is undefined - it may be overwritten with the converted YUV data. + */ +extern DECLSPEC SDL_Overlay * SDLCALL SDL_CreateYUVOverlay(int width, int height, + Uint32 format, SDL_Surface *display); + +/** Lock an overlay for direct access, and unlock it when you are done */ +extern DECLSPEC int SDLCALL SDL_LockYUVOverlay(SDL_Overlay *overlay); +extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay *overlay); + +/** Blit a video overlay to the display surface. + * The contents of the video surface underneath the blit destination are + * not defined. + * The width and height of the destination rectangle may be different from + * that of the overlay, but currently only 2x scaling is supported. + */ +extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect); + +/** Free a video overlay */ +extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay *overlay); + +/*@}*/ + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name OpenGL support functions. */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/** + * Dynamically load an OpenGL library, or the default one if path is NULL + * + * If you do this, you need to retrieve all of the GL functions used in + * your program from the dynamic library using SDL_GL_GetProcAddress(). + */ +extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path); + +/** + * Get the address of a GL function + */ +extern DECLSPEC void * SDLCALL SDL_GL_GetProcAddress(const char* proc); + +/** + * Set an attribute of the OpenGL subsystem before intialization. + */ +extern DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value); + +/** + * Get an attribute of the OpenGL subsystem from the windowing + * interface, such as glX. This is of course different from getting + * the values from SDL's internal OpenGL subsystem, which only + * stores the values you request before initialization. + * + * Developers should track the values they pass into SDL_GL_SetAttribute + * themselves if they want to retrieve these values. + */ +extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int* value); + +/** + * Swap the OpenGL buffers, if double-buffering is supported. + */ +extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); + +/** @name OpenGL Internal Functions + * Internal functions that should not be called unless you have read + * and understood the source code for these functions. + */ +/*@{*/ +extern DECLSPEC void SDLCALL SDL_GL_UpdateRects(int numrects, SDL_Rect* rects); +extern DECLSPEC void SDLCALL SDL_GL_Lock(void); +extern DECLSPEC void SDLCALL SDL_GL_Unlock(void); +/*@}*/ + +/*@}*/ + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/** @name Window Manager Functions */ +/** These functions allow interaction with the window manager, if any. */ /*@{*/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/** + * Sets the title and icon text of the display window (UTF-8 encoded) + */ +extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); +/** + * Gets the title and icon text of the display window (UTF-8 encoded) + */ +extern DECLSPEC void SDLCALL SDL_WM_GetCaption(char **title, char **icon); + +/** + * Sets the icon for the display window. + * This function must be called before the first call to SDL_SetVideoMode(). + * It takes an icon surface, and a mask in MSB format. + * If 'mask' is NULL, the entire icon surface will be used as the icon. + */ +extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface *icon, Uint8 *mask); + +/** + * This function iconifies the window, and returns 1 if it succeeded. + * If the function succeeds, it generates an SDL_APPACTIVE loss event. + * This function is a noop and returns 0 in non-windowed environments. + */ +extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void); + +/** + * Toggle fullscreen mode without changing the contents of the screen. + * If the display surface does not require locking before accessing + * the pixel information, then the memory pointers will not change. + * + * If this function was able to toggle fullscreen mode (change from + * running in a window to fullscreen, or vice-versa), it will return 1. + * If it is not implemented, or fails, it returns 0. + * + * The next call to SDL_SetVideoMode() will set the mode fullscreen + * attribute based on the flags parameter - if SDL_FULLSCREEN is not + * set, then the display will be windowed by default where supported. + * + * This is currently only implemented in the X11 video driver. + */ +extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface *surface); + +typedef enum { + SDL_GRAB_QUERY = -1, + SDL_GRAB_OFF = 0, + SDL_GRAB_ON = 1, + SDL_GRAB_FULLSCREEN /**< Used internally */ +} SDL_GrabMode; +/** + * This function allows you to set and query the input grab state of + * the application. It returns the new input grab state. + * + * Grabbing means that the mouse is confined to the application window, + * and nearly all keyboard input is passed directly to the application, + * and not interpreted by a window manager, if any. + */ +extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode); + +/*@}*/ + +/** @internal Not in public API at the moment - do not use! */ +extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect, + SDL_Surface *dst, SDL_Rect *dstrect); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* _SDL_video_h */ diff --git a/distrib/sdl-1.2.15/include/begin_code.h b/distrib/sdl-1.2.15/include/begin_code.h new file mode 100644 index 0000000..27e2f7b --- /dev/null +++ b/distrib/sdl-1.2.15/include/begin_code.h @@ -0,0 +1,196 @@ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2012 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Sam Lantinga + slouken@libsdl.org +*/ + +/** + * @file begin_code.h + * This file sets things up for C dynamic library function definitions, + * static inlined functions, and structures aligned at 4-byte alignment. + * If you don't like ugly C preprocessor code, don't look at this file. :) + */ + +/** + * @file begin_code.h + * This shouldn't be nested -- included it around code only. + */ +#ifdef _begin_code_h +#error Nested inclusion of begin_code.h +#endif +#define _begin_code_h + +/** + * @def DECLSPEC + * Some compilers use a special export keyword + */ +#ifndef DECLSPEC +# if defined(__BEOS__) || defined(__HAIKU__) +# if defined(__GNUC__) +# define DECLSPEC +# else +# define DECLSPEC __declspec(export) +# endif +# elif defined(__WIN32__) +# ifdef __BORLANDC__ +# ifdef BUILD_SDL +# define DECLSPEC +# else +# define DECLSPEC __declspec(dllimport) +# endif +# else +# define DECLSPEC __declspec(dllexport) +# endif +# elif defined(__OS2__) +# ifdef __WATCOMC__ +# ifdef BUILD_SDL +# define DECLSPEC __declspec(dllexport) +# else +# define DECLSPEC +# endif +# elif defined (__GNUC__) && __GNUC__ < 4 +# /* Added support for GCC-EMX = 4 +# define DECLSPEC __attribute__ ((visibility("default"))) +# else +# define DECLSPEC +# endif +# endif +#endif + +/** + * @def SDLCALL + * By default SDL uses the C calling convention + */ +#ifndef SDLCALL +# if defined(__WIN32__) && !defined(__GNUC__) +# define SDLCALL __cdecl +# elif defined(__OS2__) +# if defined (__GNUC__) && __GNUC__ < 4 +# /* Added support for GCC-EMX