clean weird tabbing, remove old SDL stuff

This commit is contained in:
Glenn Maynard
2004-04-06 01:30:02 +00:00
parent 44bb7da19f
commit 47bb04c42c
+46 -82
View File
@@ -15,26 +15,6 @@ AM_CXXFLAGS += -finline-limit=300
AM_CXXFLAGS += $(X_CFLAGS) AM_CXXFLAGS += $(X_CFLAGS)
if NHAVE_SDL
# We use our own copy of SDL if the one on the system isn't new enough. (Most
# systems have 1.2.5; we need 1.2.6.) We still end up linking dynamically to
# the shared system library through SDL_image, but that shouldn't cause problems.
SDL-1.2.6/Makefile:
test -d SDL-1.2.6 || mkdir SDL-1.2.6
cd SDL-1.2.6 && sh ../$(srcdir)/SDL-1.2.6/configure
--disable-nasm --disable-arts --disable-esd --enable-static --disable-shared \
--disable-debug --disable-alsa --disable-oss --disable-video-directfb
SDL-1.2.6/src/.libs/libSDL.a: SDL-1.2.6/Makefile
make -C SDL-1.2.6
USE_SDL_LIBS = SDL-1.2.6/src/.libs/libSDL.a
AM_CXXFLAGS += -ISDL-1.2.6/include
else
USE_SDL_LIBS = $(SDL_LIBS)
endif
$(srcdir)/libresample/libresample.a: $(srcdir)/libresample/libresample.a:
cd $(srcdir)/libresample && autoconf && sh ./configure && make cd $(srcdir)/libresample && autoconf && sh ./configure && make
@@ -83,15 +63,15 @@ SongOptions.cpp SongOptions.h StageStats.cpp StageStats.h Steps.cpp Steps.h Styl
StyleInput.h TimeConstants.cpp TimeConstants.h TimingData.cpp TimingData.h TitleSubstitution.cpp TitleSubstitution.h StyleInput.h TimeConstants.cpp TimeConstants.h TimingData.cpp TimingData.h TitleSubstitution.cpp TitleSubstitution.h
FileTypes = IniFile.cpp IniFile.h \ FileTypes = IniFile.cpp IniFile.h \
MsdFile.cpp MsdFile.h \ MsdFile.cpp MsdFile.h \
XmlFile.cpp XmlFile.h XmlFile.cpp XmlFile.h
StepMania = StdString.h \ StepMania = StdString.h \
StepMania.cpp StepMania.h \ StepMania.cpp StepMania.h \
global.cpp global.h global.cpp global.h
LoadingWindow = arch/LoadingWindow/LoadingWindow_Null.h \ LoadingWindow = arch/LoadingWindow/LoadingWindow_Null.h \
arch/LoadingWindow/LoadingWindow_SDL.cpp arch/LoadingWindow/LoadingWindow_SDL.h arch/LoadingWindow/LoadingWindow_SDL.cpp arch/LoadingWindow/LoadingWindow_SDL.h
if HAVE_GTK if HAVE_GTK
LoadingWindow += arch/LoadingWindow/LoadingWindow_Gtk.cpp arch/LoadingWindow/LoadingWindow_Gtk.h LoadingWindow += arch/LoadingWindow/LoadingWindow_Gtk.cpp arch/LoadingWindow/LoadingWindow_Gtk.h
@@ -106,11 +86,10 @@ Sound += arch/Sound/RageSoundDriver_OSS.cpp arch/Sound/RageSoundDriver_OSS.h
endif endif
if HAVE_ALSA if HAVE_ALSA
Sound += arch/Sound/ALSA9Dynamic.cpp arch/Sound/ALSA9Dynamic.h \ Sound += arch/Sound/ALSA9Dynamic.cpp arch/Sound/ALSA9Dynamic.h arch/Sound/ALSA9Functions.h \
ALSA9Functions.h \ arch/Sound/ALSA9Helpers.cpp arch/Sound/ALSA9Helpers.h \
arch/Sound/ALSA9Helpers.cpp arch/Sound/ALSA9Helpers.h \ arch/Sound/RageSoundDriver_ALSA9.cpp arch/Sound/RageSoundDriver_ALSA9.h \
arch/Sound/RageSoundDriver_ALSA9.cpp arch/Sound/RageSoundDriver_ALSA9.h \ arch/Sound/RageSoundDriver_ALSA9_Software.cpp arch/Sound/RageSoundDriver_ALSA9_Software.h
arch/Sound/RageSoundDriver_ALSA9_Software.cpp arch/Sound/RageSoundDriver_ALSA9_Software.h
# Add this to AM_CXXFLAGS, not stepmania_CXXFLAGS: that'll cause multiple copies of # Add this to AM_CXXFLAGS, not stepmania_CXXFLAGS: that'll cause multiple copies of
# several sources to be built. We link to this at runtime, so don't add ALSA_LDFLAGS. # several sources to be built. We link to this at runtime, so don't add ALSA_LDFLAGS.
@@ -118,63 +97,53 @@ AM_CXXFLAGS += $(ALSA_CFLAGS)
endif endif
ArchHooks = arch/ArchHooks/ArchHooks.cpp arch/ArchHooks/ArchHooks.h \ ArchHooks = arch/ArchHooks/ArchHooks.cpp arch/ArchHooks/ArchHooks.h \
arch/ArchHooks/ArchHooks_Unix.cpp arch/ArchHooks/ArchHooks_Unix.h arch/ArchHooks/ArchHooks_Unix.cpp arch/ArchHooks/ArchHooks_Unix.h
InputHandler = arch/InputHandler/InputHandler.cpp arch/InputHandler/InputHandler.h \ InputHandler = arch/InputHandler/InputHandler.cpp arch/InputHandler/InputHandler.h \
arch/InputHandler/InputHandler_SDL.cpp arch/InputHandler/InputHandler_SDL.h arch/InputHandler/InputHandler_SDL.cpp arch/InputHandler/InputHandler_SDL.h
MovieTexture = arch/MovieTexture/MovieTexture.cpp arch/MovieTexture/MovieTexture.h \ MovieTexture = arch/MovieTexture/MovieTexture.cpp arch/MovieTexture/MovieTexture.h \
arch/MovieTexture/MovieTexture_Null.cpp arch/MovieTexture/MovieTexture_Null.h arch/MovieTexture/MovieTexture_Null.cpp arch/MovieTexture/MovieTexture_Null.h
if HAVE_FFMPEG if HAVE_FFMPEG
MovieTexture += arch/MovieTexture/MovieTexture_FFMpeg.cpp arch/MovieTexture/MovieTexture_FFMpeg.h MovieTexture += arch/MovieTexture/MovieTexture_FFMpeg.cpp arch/MovieTexture/MovieTexture_FFMpeg.h
endif endif
Lights = arch/Lights/LightsDriver.h \ Lights = arch/Lights/LightsDriver.h \
arch/Lights/LightsDriver_SystemMessage.cpp arch/Lights/LightsDriver_SystemMessage.h arch/Lights/LightsDriver_SystemMessage.cpp arch/Lights/LightsDriver_SystemMessage.h
MemoryCard = arch/MemoryCard/MemoryCardDriver.h \ MemoryCard = arch/MemoryCard/MemoryCardDriver.h \
arch/MemoryCard/MemoryCardDriver_Linux.cpp arch/MemoryCard/MemoryCardDriver_Linux.h arch/MemoryCard/MemoryCardDriver_Linux.cpp arch/MemoryCard/MemoryCardDriver_Linux.h
LowLevelWindow = arch/LowLevelWindow/LowLevelWindow.h \ LowLevelWindow = arch/LowLevelWindow/LowLevelWindow.h \
arch/LowLevelWindow/LowLevelWindow_SDL.cpp arch/LowLevelWindow/LowLevelWindow_SDL.h arch/LowLevelWindow/LowLevelWindow_SDL.cpp arch/LowLevelWindow/LowLevelWindow_SDL.h
ArchUtils = archutils/Unix/AssertionHandler.cpp \ ArchUtils = archutils/Unix/AssertionHandler.cpp \
archutils/Unix/GetSysInfo.cpp archutils/Unix/GetSysInfo.h \ archutils/Unix/GetSysInfo.cpp archutils/Unix/GetSysInfo.h \
archutils/Unix/SignalHandler.cpp archutils/Unix/SignalHandler.h archutils/Unix/SignalHandler.cpp archutils/Unix/SignalHandler.h
if USE_CRASH_HANDLER if USE_CRASH_HANDLER
ArchUtils += archutils/Unix/Backtrace.cpp archutils/Unix/Backtrace.h \ ArchUtils += archutils/Unix/Backtrace.cpp archutils/Unix/Backtrace.h \
archutils/Unix/BacktraceNames.cpp archutils/Unix/BacktraceNames.h \ archutils/Unix/BacktraceNames.cpp archutils/Unix/BacktraceNames.h \
archutils/Unix/CrashHandler.cpp archutils/Unix/CrashHandler.h \ archutils/Unix/CrashHandler.cpp archutils/Unix/CrashHandler.h \
archutils/Unix/CrashHandlerChild.cpp archutils/Unix/CrashHandlerInternal.h \ archutils/Unix/CrashHandlerChild.cpp archutils/Unix/CrashHandlerInternal.h \
archutils/Unix/LinuxThreadHelpers.cpp archutils/Unix/LinuxThreadHelpers.h archutils/Unix/LinuxThreadHelpers.cpp archutils/Unix/LinuxThreadHelpers.h
endif endif
Arch = $(LoadingWindow) \ Arch = $(LoadingWindow) $(Sound) $(ArchHooks) $(InputHandler) $(MovieTexture) \
$(Sound) \ $(Lights) $(MemoryCard) $(LowLevelWindow) $(ArchUtils) \
$(ArchHooks) \ arch/arch.cpp arch/arch.h arch/arch_default.h arch/arch_linux.h arch/arch_platform.h
$(InputHandler) \
$(MovieTexture) \
$(Lights) \
$(MemoryCard) \
$(LowLevelWindow) \
$(ArchUtils) \
arch/arch.cpp arch/arch.h \
arch/arch_default.h \
arch/arch_linux.h \
arch/arch_platform.h
RageSoundFileReaders = RageSoundReader_WAV.cpp RageSoundReader_WAV.h RageSoundFileReaders = RageSoundReader_WAV.cpp RageSoundReader_WAV.h
if HAVE_MP3
RageSoundFileReaders += RageSoundReader_MP3.cpp RageSoundReader_MP3.h
endif
if HAVE_VORBIS if HAVE_VORBIS
RageSoundFileReaders += RageSoundReader_Vorbisfile.cpp RageSoundReader_Vorbisfile.h RageSoundFileReaders += RageSoundReader_Vorbisfile.cpp RageSoundReader_Vorbisfile.h
endif endif
if HAVE_MP3
RageSoundFileReaders += RageSoundReader_MP3.cpp RageSoundReader_MP3.h
endif
ActorsInGameplayAndMenus = \ ActorsInGameplayAndMenus = \
BGAnimation.cpp BGAnimation.h BGAnimationLayer.cpp BGAnimationLayer.h Banner.cpp Banner.h \ BGAnimation.cpp BGAnimation.h BGAnimationLayer.cpp BGAnimationLayer.h Banner.cpp Banner.h \
ConditionalBGA.cpp ConditionalBGA.h DifficultyIcon.cpp DifficultyIcon.h MeterDisplay.cpp MeterDisplay.h \ ConditionalBGA.cpp ConditionalBGA.h DifficultyIcon.cpp DifficultyIcon.h MeterDisplay.cpp MeterDisplay.h \
@@ -210,23 +179,18 @@ ScoreDisplayNormal.cpp ScoreDisplayNormal.h ScoreDisplayOni.cpp ScoreDisplayOni.
ScoreDisplayPercentage.cpp ScoreDisplayPercentage.h ScoreDisplayRave.cpp ScoreDisplayRave.h ScoreDisplayPercentage.cpp ScoreDisplayPercentage.h ScoreDisplayRave.cpp ScoreDisplayRave.h
Helpers = SDL_SaveJPEG.cpp SDL_SaveJPEG.h \ Helpers = SDL_SaveJPEG.cpp SDL_SaveJPEG.h \
SDL_dither.cpp SDL_dither.h \ SDL_dither.cpp SDL_dither.h \
SDL_rotozoom.cpp SDL_rotozoom.h \ SDL_rotozoom.cpp SDL_rotozoom.h \
SDL_utils.cpp SDL_utils.h SDL_utils.cpp SDL_utils.h
PCRE = pcre/chartables.c \ PCRE = pcre/chartables.c pcre/get.c pcre/internal.h pcre/maketables.c pcre/pcre.c pcre/pcre.h pcre/study.c
pcre/get.c \
pcre/internal.h \
pcre/maketables.c \
pcre/pcre.c pcre/pcre.h \
pcre/study.c
RageFile = \ RageFile = \
RageFile.cpp RageFile.h RageFileDriver.cpp RageFileDriver.h RageFileManager.cpp RageFileManager.h \ RageFile.cpp RageFile.h RageFileDriver.cpp RageFileDriver.h RageFileManager.cpp RageFileManager.h \
RageFileDriverDirect.cpp RageFileDriverDirect.h RageFileDriverDirectHelpers.cpp RageFileDriverDirectHelpers.h \ RageFileDriverDirect.cpp RageFileDriverDirect.h RageFileDriverDirectHelpers.cpp RageFileDriverDirectHelpers.h \
RageFileDriverZip.cpp RageFileDriverZip.h RageFileDriverZip.cpp RageFileDriverZip.h
Rage = $(Helpers) $(PCRE) $(RageFile) $(RageSoundFileReaders)\ Rage = $(Helpers) $(PCRE) $(RageFile) $(RageSoundFileReaders) \
RageBitmapTexture.cpp RageBitmapTexture.h RageDisplay.cpp RageDisplay.h RageDisplay_OGL.cpp RageDisplay_OGL.h \ RageBitmapTexture.cpp RageBitmapTexture.h RageDisplay.cpp RageDisplay.h RageDisplay_OGL.cpp RageDisplay_OGL.h \
RageDisplay_Null.cpp RageDisplay_Null.h RageException.cpp RageException.h RageInput.cpp RageInput.h \ RageDisplay_Null.cpp RageDisplay_Null.h RageException.cpp RageException.h RageInput.cpp RageInput.h \
RageInputDevice.cpp RageInputDevice.h RageLog.cpp RageLog.h RageMath.cpp RageMath.h \ RageInputDevice.cpp RageInputDevice.h RageLog.cpp RageLog.h RageMath.cpp RageMath.h \
@@ -261,22 +225,22 @@ crypto/CryptRand.cpp crypto/CryptRand.h crypto/CryptSH512.cpp crypto/CryptSH512.
crypto/CryptSHA.cpp crypto/CryptSHA.h crypto/CryptSHA.cpp crypto/CryptSHA.h
main_SOURCES = $(Screens) \ main_SOURCES = $(Screens) \
$(DataStructures) \ $(DataStructures) \
$(FileTypes) \ $(FileTypes) \
$(StepMania) \ $(StepMania) \
$(Arch) \ $(Arch) \
$(ActorsInGameplayAndMenus) \ $(ActorsInGameplayAndMenus) \
$(ActorsInMenus) \ $(ActorsInMenus) \
$(ActorsInGameplay) \ $(ActorsInGameplay) \
$(Rage) \ $(Rage) \
$(Actors) \ $(Actors) \
$(GlobalSingletons) \ $(GlobalSingletons) \
$(crypto) $(crypto)
main_LDADD = \ main_LDADD = \
$(AUDIO_LIBS) \ $(AUDIO_LIBS) \
$(LUA_LIBS) \ $(LUA_LIBS) \
$(USE_SDL_LIBS) \ $(SDL_LIBS) \
$(XLIBS) \ $(XLIBS) \
-lSDL_image \ -lSDL_image \
$(srcdir)/libresample/libresample.a $(srcdir)/libresample/libresample.a
@@ -328,7 +292,7 @@ test_audio_readers_SOURCES = \
test_audio_readers_LDADD = \ test_audio_readers_LDADD = \
$(AUDIO_LIBS) \ $(AUDIO_LIBS) \
$(USE_SDL_LIBS) \ $(SDL_LIBS) \
$(srcdir)/libresample/libresample.a $(srcdir)/libresample/libresample.a
test_file_readers_SOURCES = \ test_file_readers_SOURCES = \