From 5342b933e296acafef3500649fbd599e26c0f529 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 13 Mar 2006 04:35:59 +0000 Subject: [PATCH] The exports file isn't necessary on BeOS anymore --- src/main/beos/exports/Makefile | 34 ------ src/main/beos/exports/SDL.exp | 188 -------------------------------- src/main/beos/exports/genexp.pl | 26 ----- 3 files changed, 248 deletions(-) delete mode 100644 src/main/beos/exports/Makefile delete mode 100644 src/main/beos/exports/SDL.exp delete mode 100755 src/main/beos/exports/genexp.pl diff --git a/src/main/beos/exports/Makefile b/src/main/beos/exports/Makefile deleted file mode 100644 index 9c0a13cad..000000000 --- a/src/main/beos/exports/Makefile +++ /dev/null @@ -1,34 +0,0 @@ - -EXPORTS = SDL.exp -HEADERS = \ - ../../../../include/SDL.h \ - ../../../../include/SDL_active.h \ - ../../../../include/SDL_audio.h \ - ../../../../include/SDL_cdrom.h \ - ../../../../include/SDL_copying.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_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_version.h \ - ../../../../include/SDL_video.h - - -all: $(EXPORTS) - -$(EXPORTS): Makefile genexp.pl $(HEADERS) - perl genexp.pl $(HEADERS) >$@ || rm $@ - -clean: - rm -f $(EXPORTS) diff --git a/src/main/beos/exports/SDL.exp b/src/main/beos/exports/SDL.exp deleted file mode 100644 index 609f3851f..000000000 --- a/src/main/beos/exports/SDL.exp +++ /dev/null @@ -1,188 +0,0 @@ -_SDL_Init -_SDL_InitSubSystem -_SDL_QuitSubSystem -_SDL_WasInit -_SDL_Quit -_SDL_GetAppState -_SDL_AudioInit -_SDL_AudioQuit -_SDL_AudioDriverName -_SDL_OpenAudio -_SDL_GetAudioStatus -_SDL_PauseAudio -_SDL_LoadWAV_RW -_SDL_FreeWAV -_SDL_BuildAudioCVT -_SDL_ConvertAudio -_SDL_MixAudio -_SDL_LockAudio -_SDL_UnlockAudio -_SDL_CloseAudio -_SDL_CDNumDrives -_SDL_CDName -_SDL_CDOpen -_SDL_CDStatus -_SDL_CDPlayTracks -_SDL_CDPlay -_SDL_CDPause -_SDL_CDResume -_SDL_CDStop -_SDL_CDEject -_SDL_CDClose -_SDL_HasRDTSC -_SDL_HasMMX -_SDL_HasMMXExt -_SDL_Has3DNow -_SDL_Has3DNowExt -_SDL_HasSSE -_SDL_HasSSE2 -_SDL_HasAltiVec -_SDL_ReadLE16 -_SDL_ReadBE16 -_SDL_ReadLE32 -_SDL_ReadBE32 -_SDL_ReadLE64 -_SDL_ReadBE64 -_SDL_WriteLE16 -_SDL_WriteBE16 -_SDL_WriteLE32 -_SDL_WriteBE32 -_SDL_WriteLE64 -_SDL_WriteBE64 -_SDL_SetError -_SDL_GetError -_SDL_ClearError -_SDL_Error -_SDL_PumpEvents -_SDL_PeepEvents -_SDL_PollEvent -_SDL_WaitEvent -_SDL_PushEvent -_SDL_SetEventFilter -_SDL_GetEventFilter -_SDL_EventState -_SDL_NumJoysticks -_SDL_JoystickName -_SDL_JoystickOpen -_SDL_JoystickOpened -_SDL_JoystickIndex -_SDL_JoystickNumAxes -_SDL_JoystickNumBalls -_SDL_JoystickNumHats -_SDL_JoystickNumButtons -_SDL_JoystickUpdate -_SDL_JoystickEventState -_SDL_JoystickGetAxis -_SDL_JoystickGetHat -_SDL_JoystickGetBall -_SDL_JoystickGetButton -_SDL_JoystickClose -_SDL_EnableUNICODE -_SDL_EnableKeyRepeat -_SDL_GetKeyState -_SDL_GetModState -_SDL_SetModState -_SDL_GetKeyName -_SDL_LoadObject -_SDL_LoadFunction -_SDL_UnloadObject -_SDL_GetMouseState -_SDL_GetRelativeMouseState -_SDL_WarpMouse -_SDL_CreateCursor -_SDL_SetCursor -_SDL_GetCursor -_SDL_FreeCursor -_SDL_ShowCursor -_SDL_CreateMutex -_SDL_mutexP -_SDL_mutexV -_SDL_DestroyMutex -_SDL_CreateSemaphore -_SDL_DestroySemaphore -_SDL_SemWait -_SDL_SemTryWait -_SDL_SemWaitTimeout -_SDL_SemPost -_SDL_SemValue -_SDL_CreateCond -_SDL_DestroyCond -_SDL_CondSignal -_SDL_CondBroadcast -_SDL_CondWait -_SDL_CondWaitTimeout -_SDL_RWFromFile -_SDL_RWFromFP -_SDL_RWFromMem -_SDL_RWFromConstMem -_SDL_AllocRW -_SDL_FreeRW -_SDL_GetWMInfo -_SDL_CreateThread -_SDL_ThreadID -_SDL_GetThreadID -_SDL_WaitThread -_SDL_KillThread -_SDL_GetTicks -_SDL_Delay -_SDL_SetTimer -_SDL_AddTimer -_SDL_RemoveTimer -_SDL_Linked_Version -_SDL_VideoInit -_SDL_VideoQuit -_SDL_VideoDriverName -_SDL_GetVideoSurface -_SDL_GetVideoInfo -_SDL_VideoModeOK -_SDL_ListModes -_SDL_SetVideoMode -_SDL_UpdateRects -_SDL_UpdateRect -_SDL_Flip -_SDL_SetGamma -_SDL_SetGammaRamp -_SDL_GetGammaRamp -_SDL_SetColors -_SDL_SetPalette -_SDL_MapRGB -_SDL_MapRGBA -_SDL_GetRGB -_SDL_GetRGBA -_SDL_CreateRGBSurface -_SDL_CreateRGBSurfaceFrom -_SDL_FreeSurface -_SDL_LockSurface -_SDL_UnlockSurface -_SDL_LoadBMP_RW -_SDL_SaveBMP_RW -_SDL_SetColorKey -_SDL_SetAlpha -_SDL_SetClipRect -_SDL_GetClipRect -_SDL_ConvertSurface -_SDL_UpperBlit -_SDL_LowerBlit -_SDL_FillRect -_SDL_DisplayFormat -_SDL_DisplayFormatAlpha -_SDL_CreateYUVOverlay -_SDL_LockYUVOverlay -_SDL_UnlockYUVOverlay -_SDL_DisplayYUVOverlay -_SDL_FreeYUVOverlay -_SDL_GL_LoadLibrary -_SDL_GL_GetProcAddress -_SDL_GL_SetAttribute -_SDL_GL_GetAttribute -_SDL_GL_SwapBuffers -_SDL_GL_UpdateRects -_SDL_GL_Lock -_SDL_GL_Unlock -_SDL_WM_SetCaption -_SDL_WM_GetCaption -_SDL_WM_SetIcon -_SDL_WM_IconifyWindow -_SDL_WM_ToggleFullScreen -_SDL_WM_GrabInput -_SDL_SoftStretch diff --git a/src/main/beos/exports/genexp.pl b/src/main/beos/exports/genexp.pl deleted file mode 100755 index 1212acf9c..000000000 --- a/src/main/beos/exports/genexp.pl +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/perl -# -# Program to take a set of header files and generate MWCC export definitions - -# Special exports to ignore for this platform -$exclude{"SDL_putenv"} = 1; -$exclude{"SDL_getenv"} = 1; -$exclude{"SDL_CreateThread_Core"} = 1; - -while ( ($file = shift(@ARGV)) ) { - if ( ! defined(open(FILE, $file)) ) { - warn "Couldn't open $file: $!\n"; - next; - } - $file =~ s,.*/,,; - while () { - if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) { - if ( not $exclude{$1} ) { - print "_$1\n"; - } - } - } - close(FILE); -} - -# Special exports to include for this platform