From 8525a7cb92e461569bb566811ae8dd1359e81c77 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Fri, 27 Aug 2010 21:37:50 +0000 Subject: [PATCH] Changed the output names of SFML libraries in projects/makefiles (sfml-xxx -> sfml2-xxx) Fixed OpenAL include path in Linux makefiles git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1555 4e206d99-4929-0410-ac5d-dfc041789085 --- build/codeblocks/batch-build/build.bat | 28 +++++++-------- build/codeblocks/sfml-audio.cbp | 20 +++++------ build/codeblocks/sfml-graphics.cbp | 22 ++++++------ build/codeblocks/sfml-main.cbp | 8 ++--- build/codeblocks/sfml-network.cbp | 12 +++---- build/codeblocks/sfml-system.cbp | 8 ++--- build/codeblocks/sfml-window.cbp | 20 +++++------ build/make/Makefile.audio | 10 +++--- build/make/Makefile.graphics | 4 +-- build/make/Makefile.network | 8 ++--- build/make/Makefile.system | 8 ++--- build/make/Makefile.window | 8 ++--- build/vc2005/sfml-audio.vcproj | 8 ++--- build/vc2005/sfml-graphics.vcproj | 8 ++--- build/vc2005/sfml-main.vcproj | 4 +-- build/vc2005/sfml-network.vcproj | 8 ++--- build/vc2005/sfml-system.vcproj | 8 ++--- build/vc2005/sfml-window.vcproj | 8 ++--- build/vc2008/sfml-audio.vcproj | 8 ++--- build/vc2008/sfml-graphics.vcproj | 8 ++--- build/vc2008/sfml-main.vcproj | 4 +-- build/vc2008/sfml-network.vcproj | 8 ++--- build/vc2008/sfml-system.vcproj | 8 ++--- build/vc2008/sfml-window.vcproj | 8 ++--- examples/build/codeblocks/ftp.cbp | 16 ++++----- examples/build/codeblocks/opengl.cbp | 32 ++++++++--------- examples/build/codeblocks/pong.cbp | 40 ++++++++++----------- examples/build/codeblocks/shader.cbp | 32 ++++++++--------- examples/build/codeblocks/sockets.cbp | 16 ++++----- examples/build/codeblocks/sound-capture.cbp | 16 ++++----- examples/build/codeblocks/sound.cbp | 16 ++++----- examples/build/codeblocks/voip.cbp | 24 ++++++------- examples/build/codeblocks/win32.cbp | 24 ++++++------- examples/build/codeblocks/window.cbp | 24 ++++++------- examples/build/make/Makefile.X11 | 2 +- examples/build/make/Makefile.ftp | 2 +- examples/build/make/Makefile.opengl | 2 +- examples/build/make/Makefile.pong | 2 +- examples/build/make/Makefile.shader | 2 +- examples/build/make/Makefile.sockets | 2 +- examples/build/make/Makefile.sound | 2 +- examples/build/make/Makefile.sound_capture | 2 +- examples/build/make/Makefile.voip | 2 +- examples/build/make/Makefile.window | 2 +- 44 files changed, 252 insertions(+), 252 deletions(-) diff --git a/build/codeblocks/batch-build/build.bat b/build/codeblocks/batch-build/build.bat index 9873e45eb..8273a8fab 100644 --- a/build/codeblocks/batch-build/build.bat +++ b/build/codeblocks/batch-build/build.bat @@ -45,41 +45,41 @@ codeblocks -na -nd -ns --build sfml-audio.cbp --target="Release DLL_Win32" REM Copy the SFML static libraries into a temporary folder IF NOT EXIST %TMPDIR% mkdir %TMPDIR% cd %SFML%\lib\mingw -xcopy libsfml-*-s-d.a %TMPDIR%/q /y -xcopy libsfml-*-s.a %TMPDIR%/q /y +xcopy libsfml2-*-s-d.a %TMPDIR%/q /y +xcopy libsfml2-*-s.a %TMPDIR%/q /y cd %TMPDIR% REM Add external libraries to sfml-window -echo Adding external libraries to libsfml-window-s... +echo Adding external libraries to libsfml2-window-s... ar x %SFML%\build\codeblocks\batch-build\libgdi32.a ar x %SFML%\build\codeblocks\batch-build\libopengl32.a ar x %SFML%\build\codeblocks\batch-build\libwinmm.a -ar rs libsfml-window-s.a *.o -ar rs libsfml-window-s-d.a *.o +ar rs libsfml2-window-s.a *.o +ar rs libsfml2-window-s-d.a *.o del *.o /f /q REM Add external libraries to sfml-graphics -echo Adding external libraries to libsfml-graphics-s... +echo Adding external libraries to libsfml2-graphics-s... ar x %SFML%\extlibs\libs-mingw\libfreetype.a ar x %SFML%\extlibs\libs-mingw\libglew.a ar x %SFML%\extlibs\libs-mingw\libjpeg.a -ar rs libsfml-graphics-s.a *.o -ar rs libsfml-graphics-s-d.a *.o +ar rs libsfml2-graphics-s.a *.o +ar rs libsfml2-graphics-s-d.a *.o del *.o /f /q REM Add external libraries to sfml-audio -echo Adding external libraries to libsfml-audio-s... +echo Adding external libraries to libsfml2-audio-s... ar x %SFML%\extlibs\libs-mingw\libopenal32.a ar x %SFML%\extlibs\libs-mingw\libsndfile.a -ar rs libsfml-audio-s.a *.o -ar rs libsfml-audio-s-d.a *.o +ar rs libsfml2-audio-s.a *.o +ar rs libsfml2-audio-s-d.a *.o del *.o /f /q REM Add external libraries to sfml-network -echo Adding external libraries to libsfml-network-s... +echo Adding external libraries to libsfml2-network-s... ar x %SFML%\build\codeblocks\batch-build\libws2_32.a -ar rs libsfml-network-s.a *.o -ar rs libsfml-network-s-d.a *.o +ar rs libsfml2-network-s.a *.o +ar rs libsfml2-network-s-d.a *.o del *.o /f /q REM Copy the SFML libraries to their final location diff --git a/build/codeblocks/sfml-audio.cbp b/build/codeblocks/sfml-audio.cbp index 208dc8dde..943fa959b 100644 --- a/build/codeblocks/sfml-audio.cbp +++ b/build/codeblocks/sfml-audio.cbp @@ -7,9 +7,9 @@