The Win32 exports file isn't used by mingw anymore
authorSam Lantinga <slouken@libsdl.org>
Mon, 13 Mar 2006 01:43:18 +0000
changeset 15085100f63122bd
parent 1507 1ff64ad478b2
child 1509 678d105d4492
The Win32 exports file isn't used by mingw anymore
src/main/win32/exports/Makefile
src/main/win32/exports/SDL.def
src/main/win32/exports/gendef.pl
     1.1 --- a/src/main/win32/exports/Makefile	Mon Mar 13 01:41:32 2006 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,34 +0,0 @@
     1.4 -
     1.5 -EXPORTS = SDL.def
     1.6 -HEADERS = \
     1.7 -	../../../../include/SDL.h \
     1.8 -	../../../../include/SDL_active.h \
     1.9 -	../../../../include/SDL_audio.h \
    1.10 -	../../../../include/SDL_cdrom.h \
    1.11 -	../../../../include/SDL_copying.h \
    1.12 -	../../../../include/SDL_cpuinfo.h \
    1.13 -	../../../../include/SDL_endian.h \
    1.14 -	../../../../include/SDL_error.h \
    1.15 -	../../../../include/SDL_events.h \
    1.16 -	../../../../include/SDL_joystick.h \
    1.17 -	../../../../include/SDL_keyboard.h \
    1.18 -	../../../../include/SDL_keysym.h \
    1.19 -	../../../../include/SDL_loadso.h \
    1.20 -	../../../../include/SDL_mouse.h \
    1.21 -	../../../../include/SDL_mutex.h \
    1.22 -	../../../../include/SDL_quit.h \
    1.23 -	../../../../include/SDL_rwops.h \
    1.24 -	../../../../include/SDL_syswm.h \
    1.25 -	../../../../include/SDL_thread.h \
    1.26 -	../../../../include/SDL_timer.h \
    1.27 -	../../../../include/SDL_version.h \
    1.28 -	../../../../include/SDL_video.h
    1.29 -
    1.30 -
    1.31 -all: $(EXPORTS)
    1.32 -
    1.33 -$(EXPORTS): Makefile gendef.pl $(HEADERS)
    1.34 -	perl gendef.pl $(HEADERS) >$@ || rm $@
    1.35 -
    1.36 -clean:
    1.37 -	rm -f $(EXPORTS)
     2.1 --- a/src/main/win32/exports/SDL.def	Mon Mar 13 01:41:32 2006 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,193 +0,0 @@
     2.4 -	SDL_Init
     2.5 -	SDL_InitSubSystem
     2.6 -	SDL_QuitSubSystem
     2.7 -	SDL_WasInit
     2.8 -	SDL_Quit
     2.9 -	SDL_GetAppState
    2.10 -	SDL_AudioInit
    2.11 -	SDL_AudioQuit
    2.12 -	SDL_AudioDriverName
    2.13 -	SDL_OpenAudio
    2.14 -	SDL_GetAudioStatus
    2.15 -	SDL_PauseAudio
    2.16 -	SDL_LoadWAV_RW
    2.17 -	SDL_FreeWAV
    2.18 -	SDL_BuildAudioCVT
    2.19 -	SDL_ConvertAudio
    2.20 -	SDL_MixAudio
    2.21 -	SDL_LockAudio
    2.22 -	SDL_UnlockAudio
    2.23 -	SDL_CloseAudio
    2.24 -	SDL_CDNumDrives
    2.25 -	SDL_CDName
    2.26 -	SDL_CDOpen
    2.27 -	SDL_CDStatus
    2.28 -	SDL_CDPlayTracks
    2.29 -	SDL_CDPlay
    2.30 -	SDL_CDPause
    2.31 -	SDL_CDResume
    2.32 -	SDL_CDStop
    2.33 -	SDL_CDEject
    2.34 -	SDL_CDClose
    2.35 -	SDL_HasRDTSC
    2.36 -	SDL_HasMMX
    2.37 -	SDL_HasMMXExt
    2.38 -	SDL_Has3DNow
    2.39 -	SDL_Has3DNowExt
    2.40 -	SDL_HasSSE
    2.41 -	SDL_HasSSE2
    2.42 -	SDL_HasAltiVec
    2.43 -	SDL_ReadLE16
    2.44 -	SDL_ReadBE16
    2.45 -	SDL_ReadLE32
    2.46 -	SDL_ReadBE32
    2.47 -	SDL_ReadLE64
    2.48 -	SDL_ReadBE64
    2.49 -	SDL_WriteLE16
    2.50 -	SDL_WriteBE16
    2.51 -	SDL_WriteLE32
    2.52 -	SDL_WriteBE32
    2.53 -	SDL_WriteLE64
    2.54 -	SDL_WriteBE64
    2.55 -	SDL_SetError
    2.56 -	SDL_GetError
    2.57 -	SDL_ClearError
    2.58 -	SDL_Error
    2.59 -	SDL_PumpEvents
    2.60 -	SDL_PeepEvents
    2.61 -	SDL_PollEvent
    2.62 -	SDL_WaitEvent
    2.63 -	SDL_PushEvent
    2.64 -	SDL_SetEventFilter
    2.65 -	SDL_GetEventFilter
    2.66 -	SDL_EventState
    2.67 -	SDL_putenv
    2.68 -	SDL_getenv
    2.69 -	SDL_NumJoysticks
    2.70 -	SDL_JoystickName
    2.71 -	SDL_JoystickOpen
    2.72 -	SDL_JoystickOpened
    2.73 -	SDL_JoystickIndex
    2.74 -	SDL_JoystickNumAxes
    2.75 -	SDL_JoystickNumBalls
    2.76 -	SDL_JoystickNumHats
    2.77 -	SDL_JoystickNumButtons
    2.78 -	SDL_JoystickUpdate
    2.79 -	SDL_JoystickEventState
    2.80 -	SDL_JoystickGetAxis
    2.81 -	SDL_JoystickGetHat
    2.82 -	SDL_JoystickGetBall
    2.83 -	SDL_JoystickGetButton
    2.84 -	SDL_JoystickClose
    2.85 -	SDL_EnableUNICODE
    2.86 -	SDL_EnableKeyRepeat
    2.87 -	SDL_GetKeyState
    2.88 -	SDL_GetModState
    2.89 -	SDL_SetModState
    2.90 -	SDL_GetKeyName
    2.91 -	SDL_LoadObject
    2.92 -	SDL_LoadFunction
    2.93 -	SDL_UnloadObject
    2.94 -	SDL_GetMouseState
    2.95 -	SDL_GetRelativeMouseState
    2.96 -	SDL_WarpMouse
    2.97 -	SDL_CreateCursor
    2.98 -	SDL_SetCursor
    2.99 -	SDL_GetCursor
   2.100 -	SDL_FreeCursor
   2.101 -	SDL_ShowCursor
   2.102 -	SDL_CreateMutex
   2.103 -	SDL_mutexP
   2.104 -	SDL_mutexV
   2.105 -	SDL_DestroyMutex
   2.106 -	SDL_CreateSemaphore
   2.107 -	SDL_DestroySemaphore
   2.108 -	SDL_SemWait
   2.109 -	SDL_SemTryWait
   2.110 -	SDL_SemWaitTimeout
   2.111 -	SDL_SemPost
   2.112 -	SDL_SemValue
   2.113 -	SDL_CreateCond
   2.114 -	SDL_DestroyCond
   2.115 -	SDL_CondSignal
   2.116 -	SDL_CondBroadcast
   2.117 -	SDL_CondWait
   2.118 -	SDL_CondWaitTimeout
   2.119 -	SDL_RWFromFile
   2.120 -	SDL_RWFromFP
   2.121 -	SDL_RWFromMem
   2.122 -	SDL_RWFromConstMem
   2.123 -	SDL_AllocRW
   2.124 -	SDL_FreeRW
   2.125 -	SDL_GetWMInfo
   2.126 -	SDL_CreateThread
   2.127 -	SDL_ThreadID
   2.128 -	SDL_GetThreadID
   2.129 -	SDL_WaitThread
   2.130 -	SDL_KillThread
   2.131 -	SDL_GetTicks
   2.132 -	SDL_Delay
   2.133 -	SDL_SetTimer
   2.134 -	SDL_AddTimer
   2.135 -	SDL_RemoveTimer
   2.136 -	SDL_Linked_Version
   2.137 -	SDL_VideoInit
   2.138 -	SDL_VideoQuit
   2.139 -	SDL_VideoDriverName
   2.140 -	SDL_GetVideoSurface
   2.141 -	SDL_GetVideoInfo
   2.142 -	SDL_VideoModeOK
   2.143 -	SDL_ListModes
   2.144 -	SDL_SetVideoMode
   2.145 -	SDL_UpdateRects
   2.146 -	SDL_UpdateRect
   2.147 -	SDL_Flip
   2.148 -	SDL_SetGamma
   2.149 -	SDL_SetGammaRamp
   2.150 -	SDL_GetGammaRamp
   2.151 -	SDL_SetColors
   2.152 -	SDL_SetPalette
   2.153 -	SDL_MapRGB
   2.154 -	SDL_MapRGBA
   2.155 -	SDL_GetRGB
   2.156 -	SDL_GetRGBA
   2.157 -	SDL_CreateRGBSurface
   2.158 -	SDL_CreateRGBSurfaceFrom
   2.159 -	SDL_FreeSurface
   2.160 -	SDL_LockSurface
   2.161 -	SDL_UnlockSurface
   2.162 -	SDL_LoadBMP_RW
   2.163 -	SDL_SaveBMP_RW
   2.164 -	SDL_SetColorKey
   2.165 -	SDL_SetAlpha
   2.166 -	SDL_SetClipRect
   2.167 -	SDL_GetClipRect
   2.168 -	SDL_ConvertSurface
   2.169 -	SDL_UpperBlit
   2.170 -	SDL_LowerBlit
   2.171 -	SDL_FillRect
   2.172 -	SDL_DisplayFormat
   2.173 -	SDL_DisplayFormatAlpha
   2.174 -	SDL_CreateYUVOverlay
   2.175 -	SDL_LockYUVOverlay
   2.176 -	SDL_UnlockYUVOverlay
   2.177 -	SDL_DisplayYUVOverlay
   2.178 -	SDL_FreeYUVOverlay
   2.179 -	SDL_GL_LoadLibrary
   2.180 -	SDL_GL_GetProcAddress
   2.181 -	SDL_GL_SetAttribute
   2.182 -	SDL_GL_GetAttribute
   2.183 -	SDL_GL_SwapBuffers
   2.184 -	SDL_GL_UpdateRects
   2.185 -	SDL_GL_Lock
   2.186 -	SDL_GL_Unlock
   2.187 -	SDL_WM_SetCaption
   2.188 -	SDL_WM_GetCaption
   2.189 -	SDL_WM_SetIcon
   2.190 -	SDL_WM_IconifyWindow
   2.191 -	SDL_WM_ToggleFullScreen
   2.192 -	SDL_WM_GrabInput
   2.193 -	SDL_SoftStretch
   2.194 -	SDL_RegisterApp
   2.195 -	SDL_SetModuleHandle
   2.196 -	SDL_UnregisterApp
     3.1 --- a/src/main/win32/exports/gendef.pl	Mon Mar 13 01:41:32 2006 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,27 +0,0 @@
     3.4 -#!/usr/bin/perl
     3.5 -#
     3.6 -# Program to take a set of header files and generate DLL export definitions
     3.7 -
     3.8 -# Special exports to ignore for this platform
     3.9 -$exclude{"SDL_CreateThread_Core"} = 1;
    3.10 -
    3.11 -while ( ($file = shift(@ARGV)) ) {
    3.12 -	if ( ! defined(open(FILE, $file)) ) {
    3.13 -		warn "Couldn't open $file: $!\n";
    3.14 -		next;
    3.15 -	}
    3.16 -	$file =~ s,.*/,,;
    3.17 -	while (<FILE>) {
    3.18 -		if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
    3.19 -			if ( not $exclude{$1} ) {
    3.20 -				print "\t$1\n";
    3.21 -			}
    3.22 -		}
    3.23 -	}
    3.24 -	close(FILE);
    3.25 -}
    3.26 -
    3.27 -# Special exports to include for this platform
    3.28 -print "\tSDL_RegisterApp\n";
    3.29 -print "\tSDL_SetModuleHandle\n";
    3.30 -print "\tSDL_UnregisterApp\n";