The Win32 exports file isn't used by mingw anymore
authorSam Lantinga <slouken@libsdl.org>
Mon, 13 Mar 2006 01:43:18 +0000
changeset 1508 5100f63122bd
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
--- a/src/main/win32/exports/Makefile	Mon Mar 13 01:41:32 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-
-EXPORTS = SDL.def
-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 gendef.pl $(HEADERS)
-	perl gendef.pl $(HEADERS) >$@ || rm $@
-
-clean:
-	rm -f $(EXPORTS)
--- a/src/main/win32/exports/SDL.def	Mon Mar 13 01:41:32 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,193 +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_putenv
-	SDL_getenv
-	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
-	SDL_RegisterApp
-	SDL_SetModuleHandle
-	SDL_UnregisterApp
--- a/src/main/win32/exports/gendef.pl	Mon Mar 13 01:41:32 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-#!/usr/bin/perl
-#
-# Program to take a set of header files and generate DLL export definitions
-
-# Special exports to ignore for this platform
-$exclude{"SDL_CreateThread_Core"} = 1;
-
-while ( ($file = shift(@ARGV)) ) {
-	if ( ! defined(open(FILE, $file)) ) {
-		warn "Couldn't open $file: $!\n";
-		next;
-	}
-	$file =~ s,.*/,,;
-	while (<FILE>) {
-		if ( / DECLSPEC.* SDLCALL ([^\s\(]+)/ ) {
-			if ( not $exclude{$1} ) {
-				print "\t$1\n";
-			}
-		}
-	}
-	close(FILE);
-}
-
-# Special exports to include for this platform
-print "\tSDL_RegisterApp\n";
-print "\tSDL_SetModuleHandle\n";
-print "\tSDL_UnregisterApp\n";