From: <spo...@us...> - 2007-03-19 02:48:14
|
Revision: 327 http://svn.sourceforge.net/opengate/?rev=327&view=rev Author: spom_spom Date: 2007-03-17 12:44:27 -0700 (Sat, 17 Mar 2007) Log Message: ----------- Add ogsector: externals, data, sources Added Paths: ----------- branches/ogsector/Makefile.am branches/ogsector/Readme branches/ogsector/ToDo branches/ogsector/aclocal.m4 branches/ogsector/bootstrap branches/ogsector/config.h.in branches/ogsector/configure.ac branches/ogsector/data/ branches/ogsector/data/Bullet.png branches/ogsector/data/HUDCenter.png branches/ogsector/data/HUDTarget.png branches/ogsector/data/MediaFromOgre/ branches/ogsector/data/MediaFromOgre/Example.material branches/ogsector/data/MediaFromOgre/GreenSkin.jpg branches/ogsector/data/MediaFromOgre/Ogre.material branches/ogsector/data/MediaFromOgre/WeirdEye.png branches/ogsector/data/MediaFromOgre/dirt01.jpg branches/ogsector/data/MediaFromOgre/flare.png branches/ogsector/data/MediaFromOgre/flaretrail.png branches/ogsector/data/MediaFromOgre/fonts.zip branches/ogsector/data/MediaFromOgre/ogrehead.mesh branches/ogsector/data/MediaFromOgre/spacedust.particle branches/ogsector/data/MediaFromOgre/spheremap.png branches/ogsector/data/MousePointer.material branches/ogsector/data/MousePointer.overlay branches/ogsector/data/MousePointer.png branches/ogsector/data/ammo.material branches/ogsector/data/arrow.mesh branches/ogsector/data/povray/ branches/ogsector/data/povray/buildSkyBox.sh branches/ogsector/data/povray/skybox1.pov branches/ogsector/data/povray/skybox2.pov branches/ogsector/data/simpleHUD.material branches/ogsector/data/simpleHUD.overlay branches/ogsector/data/simpleSkybox.material branches/ogsector/data/simpleSkybox.zip branches/ogsector/data/sounds/ branches/ogsector/data/sounds/KAPOW2.WAV branches/ogsector/data/sounds/noo.wav branches/ogsector/data/sounds/readme branches/ogsector/data/sounds/test.wav branches/ogsector/data/sounds/test2.wav branches/ogsector/data/wings/ branches/ogsector/data/wings/arrow.wings branches/ogsector/depcomp branches/ogsector/externals/ branches/ogsector/externals/genExternals.sh branches/ogsector/externals/libgrapple branches/ogsector/externals/libgrapple-0.9.1/ branches/ogsector/externals/libgrapple-0.9.1/GRAPPLE.pc.in branches/ogsector/externals/libgrapple-0.9.1/LICENSE branches/ogsector/externals/libgrapple-0.9.1/Makefile.am branches/ogsector/externals/libgrapple-0.9.1/Makefile.in branches/ogsector/externals/libgrapple-0.9.1/README branches/ogsector/externals/libgrapple-0.9.1/README.lobby branches/ogsector/externals/libgrapple-0.9.1/UPDATES branches/ogsector/externals/libgrapple-0.9.1/autogen.sh branches/ogsector/externals/libgrapple-0.9.1/config.guess branches/ogsector/externals/libgrapple-0.9.1/config.sub branches/ogsector/externals/libgrapple-0.9.1/configure.in branches/ogsector/externals/libgrapple-0.9.1/depcomp branches/ogsector/externals/libgrapple-0.9.1/install-sh branches/ogsector/externals/libgrapple-0.9.1/m4/ branches/ogsector/externals/libgrapple-0.9.1/m4/acx_pthread.m4 branches/ogsector/externals/libgrapple-0.9.1/missing branches/ogsector/externals/libgrapple-0.9.1/src/ branches/ogsector/externals/libgrapple-0.9.1/src/Makefile.am branches/ogsector/externals/libgrapple-0.9.1/src/Makefile.in branches/ogsector/externals/libgrapple-0.9.1/src/dynstring.c branches/ogsector/externals/libgrapple-0.9.1/src/dynstring.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_callback.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_callback.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_callback_dispatcher.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_callback_dispatcher.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_callback_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_client.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_client.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_client_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_client_thread.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_client_thread.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_comms.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_comms.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_comms_api.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_comms_api.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_confirm.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_confirm.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_connection.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_connection.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_defines.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_enums.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_error.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_error.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_error_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_failover.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_failover.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_group.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_group.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobby.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobby.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobby_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbycallback.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbycallback.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbyclient.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbyclient_thread.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbyclient_thread.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbyconnection.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbyconnection.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbygame.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbygame.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbymessage.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_lobbymessage.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_message.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_message.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_message_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_protocols.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_queue.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_queue.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_server.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_server.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_server_internal.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_server_thread.c branches/ogsector/externals/libgrapple-0.9.1/src/grapple_server_thread.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_structs.h branches/ogsector/externals/libgrapple-0.9.1/src/grapple_types.h branches/ogsector/externals/libgrapple-0.9.1/src/prototypes.h branches/ogsector/externals/libgrapple-0.9.1/src/socket.c branches/ogsector/externals/libgrapple-0.9.1/src/socket.h branches/ogsector/externals/libgrapple-0.9.1/src/tools.c branches/ogsector/externals/libgrapple-0.9.1/src/tools.h branches/ogsector/externals/libgrapple-0.9.1/test/ branches/ogsector/externals/libgrapple-0.9.1/test/Makefile.am branches/ogsector/externals/libgrapple-0.9.1/test/Makefile.in branches/ogsector/externals/libgrapple-0.9.1/test/failovertest.c branches/ogsector/externals/libgrapple-0.9.1/test/lobbytest.c branches/ogsector/externals/libgrapple-0.9.1/test/test.c branches/ogsector/externals/libgrapple-0.9.1/test/test.h branches/ogsector/externals/libgrapple-0.9.1/test/udptest.c branches/ogsector/externals/libgrapple-0.9.1/test/unittest.c branches/ogsector/externals/ogreopcode/ branches/ogsector/externals/ogreopcode/docs/ branches/ogsector/externals/ogreopcode/docs/Nebula_license.txt branches/ogsector/externals/ogreopcode/docs/OgreOpcode_LGPL.txt branches/ogsector/externals/ogreopcode/docs/readme_linux branches/ogsector/externals/ogreopcode/scripts/ branches/ogsector/externals/ogreopcode/scripts/ogreopcode_SDK.cbp branches/ogsector/externals/ogreopcode/scripts/ogreopcode_SDK.workspace branches/ogsector/externals/ogreopcode/scripts/ogreopcode_vc8.sln branches/ogsector/externals/ogreopcode/scripts/ogreopcode_vc8.vcproj branches/ogsector/externals/ogreopcode/scripts/ogreopcode_vc8SDK.sln branches/ogsector/externals/ogreopcode/scripts/ogreopcode_vc8SDK.vcproj branches/ogsector/externals/ois branches/ogsector/externals/ois-1.0RC1/ branches/ogsector/externals/ois-1.0RC1/LinuxCB/ branches/ogsector/externals/ois-1.0RC1/LinuxCB/ActionMapOgreDemo.cbp branches/ogsector/externals/ois-1.0RC1/LinuxCB/ConsoleDemo.cbp branches/ogsector/externals/ois-1.0RC1/LinuxCB/LinuxOIS.workspace branches/ogsector/externals/ois-1.0RC1/LinuxCB/OIS.cbp branches/ogsector/externals/ois-1.0RC1/Mac/ branches/ogsector/externals/ois-1.0RC1/Mac/SDL/ branches/ogsector/externals/ois-1.0RC1/Mac/SDL/blank.keepme branches/ogsector/externals/ois-1.0RC1/Mac/XCode-1.5/ branches/ogsector/externals/ois-1.0RC1/Mac/XCode-1.5/oisStatic.xcode/ branches/ogsector/externals/ois-1.0RC1/Mac/XCode-1.5/oisStatic.xcode/project.pbxproj branches/ogsector/externals/ois-1.0RC1/Mac/XCode-2.2/ branches/ogsector/externals/ois-1.0RC1/Mac/XCode-2.2/oisStatic.xcodeproj/ branches/ogsector/externals/ois-1.0RC1/Mac/XCode-2.2/oisStatic.xcodeproj/project.pbxproj branches/ogsector/externals/ois-1.0RC1/Makefile.am branches/ogsector/externals/ois-1.0RC1/Makefile.in branches/ogsector/externals/ois-1.0RC1/OIS.pc.in branches/ogsector/externals/ois-1.0RC1/ReadMe.txt branches/ogsector/externals/ois-1.0RC1/Win32/ branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/ branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/CommandLine.cbp branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/CommandLine.rc branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/CommandLine.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/CommandLine_vc8.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/CommandLine/resource.h branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/ branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/DemoFFTest.cbp branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/DemoFFTest.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/DemoFFTest_vc8.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/FF.rc branches/ogsector/externals/ois-1.0RC1/Win32/DemoFFTest/resource.h branches/ogsector/externals/ois-1.0RC1/Win32/OIS.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/OIS.workspace branches/ogsector/externals/ois-1.0RC1/Win32/OIS_vc8.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/SDL/ branches/ogsector/externals/ois-1.0RC1/Win32/SDL/OIS_sdl_vc8.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/SDL/SdlDemo/ branches/ogsector/externals/ois-1.0RC1/Win32/SDL/SdlDemo/SdlDemo.cpp branches/ogsector/externals/ois-1.0RC1/Win32/SDL/SdlDemo/SdlDemo.rc branches/ogsector/externals/ois-1.0RC1/Win32/SDL/SdlDemo/SdlDemo.vcproj branches/ogsector/externals/ois-1.0RC1/Win32/SDL/SdlDemo/resource.h branches/ogsector/externals/ois-1.0RC1/Win32/SDL/ois_sdl_vc8.sln branches/ogsector/externals/ois-1.0RC1/Win32/ois.cbp branches/ogsector/externals/ois-1.0RC1/Win32/ois.sln branches/ogsector/externals/ois-1.0RC1/Win32/ois_vc8.sln branches/ogsector/externals/ois-1.0RC1/acinclude.m4 branches/ogsector/externals/ois-1.0RC1/bootstrap branches/ogsector/externals/ois-1.0RC1/config.guess branches/ogsector/externals/ois-1.0RC1/config.sub branches/ogsector/externals/ois-1.0RC1/configure.ac branches/ogsector/externals/ois-1.0RC1/demos/ branches/ogsector/externals/ois-1.0RC1/demos/FFConsoleDemo.cpp branches/ogsector/externals/ois-1.0RC1/demos/Makefile.am branches/ogsector/externals/ois-1.0RC1/demos/Makefile.in branches/ogsector/externals/ois-1.0RC1/demos/OISConsole.cpp branches/ogsector/externals/ois-1.0RC1/depcomp branches/ogsector/externals/ois-1.0RC1/includes/ branches/ogsector/externals/ois-1.0RC1/includes/Doxyfile branches/ogsector/externals/ois-1.0RC1/includes/Makefile.am branches/ogsector/externals/ois-1.0RC1/includes/Makefile.in branches/ogsector/externals/ois-1.0RC1/includes/OIS.h branches/ogsector/externals/ois-1.0RC1/includes/OISConfig.h branches/ogsector/externals/ois-1.0RC1/includes/OISEffect.h branches/ogsector/externals/ois-1.0RC1/includes/OISEvents.h branches/ogsector/externals/ois-1.0RC1/includes/OISException.h branches/ogsector/externals/ois-1.0RC1/includes/OISForceFeedback.h branches/ogsector/externals/ois-1.0RC1/includes/OISInputManager.h branches/ogsector/externals/ois-1.0RC1/includes/OISInterface.h branches/ogsector/externals/ois-1.0RC1/includes/OISJoyStick.h branches/ogsector/externals/ois-1.0RC1/includes/OISKeyboard.h branches/ogsector/externals/ois-1.0RC1/includes/OISMouse.h branches/ogsector/externals/ois-1.0RC1/includes/OISObject.h branches/ogsector/externals/ois-1.0RC1/includes/OISPrereqs.h branches/ogsector/externals/ois-1.0RC1/includes/SDL/ branches/ogsector/externals/ois-1.0RC1/includes/SDL/SDLInputManager.h branches/ogsector/externals/ois-1.0RC1/includes/SDL/SDLJoyStick.h branches/ogsector/externals/ois-1.0RC1/includes/SDL/SDLKeyboard.h branches/ogsector/externals/ois-1.0RC1/includes/SDL/SDLMouse.h branches/ogsector/externals/ois-1.0RC1/includes/SDL/SDLPrereqs.h branches/ogsector/externals/ois-1.0RC1/includes/config.h.in branches/ogsector/externals/ois-1.0RC1/includes/linux/ branches/ogsector/externals/ois-1.0RC1/includes/linux/EventHelpers.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxForceFeedback.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxInputManager.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxJoyStick.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxJoyStickEvents.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxKeyboard.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxMouse.h branches/ogsector/externals/ois-1.0RC1/includes/linux/LinuxPrereqs.h branches/ogsector/externals/ois-1.0RC1/includes/mac/ branches/ogsector/externals/ois-1.0RC1/includes/mac/MacHelpers.h branches/ogsector/externals/ois-1.0RC1/includes/mac/MacInputManager.h branches/ogsector/externals/ois-1.0RC1/includes/mac/MacKeyboard.h branches/ogsector/externals/ois-1.0RC1/includes/mac/MacMouse.h branches/ogsector/externals/ois-1.0RC1/includes/mac/MacPrereqs.h branches/ogsector/externals/ois-1.0RC1/includes/win32/ branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32ForceFeedback.h branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32InputManager.h branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32JoyStick.h branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32KeyBoard.h branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32Mouse.h branches/ogsector/externals/ois-1.0RC1/includes/win32/Win32Prereqs.h branches/ogsector/externals/ois-1.0RC1/install-sh branches/ogsector/externals/ois-1.0RC1/lib/ branches/ogsector/externals/ois-1.0RC1/lib/.keepme branches/ogsector/externals/ois-1.0RC1/ltmain.sh branches/ogsector/externals/ois-1.0RC1/missing branches/ogsector/externals/ois-1.0RC1/mkinstalldirs branches/ogsector/externals/ois-1.0RC1/src/ branches/ogsector/externals/ois-1.0RC1/src/Makefile.am branches/ogsector/externals/ois-1.0RC1/src/Makefile.in branches/ogsector/externals/ois-1.0RC1/src/OISEffect.cpp branches/ogsector/externals/ois-1.0RC1/src/OISForceFeedback.cpp branches/ogsector/externals/ois-1.0RC1/src/OISInputManager.cpp branches/ogsector/externals/ois-1.0RC1/src/OISJoyStick.cpp branches/ogsector/externals/ois-1.0RC1/src/OISKeyboard.cpp branches/ogsector/externals/ois-1.0RC1/src/OISObject.cpp branches/ogsector/externals/ois-1.0RC1/src/SDL/ branches/ogsector/externals/ois-1.0RC1/src/SDL/SDLInputManager.cpp branches/ogsector/externals/ois-1.0RC1/src/SDL/SDLJoyStick.cpp branches/ogsector/externals/ois-1.0RC1/src/SDL/SDLKeyboard.cpp branches/ogsector/externals/ois-1.0RC1/src/SDL/SDLMouse.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/ branches/ogsector/externals/ois-1.0RC1/src/linux/EventHelpers.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/LinuxForceFeedback.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/LinuxInputManager.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/LinuxJoyStickEvents.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/LinuxKeyboard.cpp branches/ogsector/externals/ois-1.0RC1/src/linux/LinuxMouse.cpp branches/ogsector/externals/ois-1.0RC1/src/mac/ branches/ogsector/externals/ois-1.0RC1/src/mac/MacHelpers.cpp branches/ogsector/externals/ois-1.0RC1/src/mac/MacInputManager.cpp branches/ogsector/externals/ois-1.0RC1/src/mac/MacKeyboard.cpp branches/ogsector/externals/ois-1.0RC1/src/mac/MacMouse.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/ branches/ogsector/externals/ois-1.0RC1/src/win32/Copy of Win32JoyStick.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/Win32ForceFeedback.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/Win32InputManager.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/Win32JoyStick.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/Win32KeyBoard.cpp branches/ogsector/externals/ois-1.0RC1/src/win32/Win32Mouse.cpp branches/ogsector/install-sh branches/ogsector/missing branches/ogsector/ogre.cfg branches/ogsector/plugins.cfg branches/ogsector/resources.cfg branches/ogsector/src/ branches/ogsector/src/InputManager.cpp branches/ogsector/src/InputManager.h branches/ogsector/src/Makefile.am branches/ogsector/src/Makefile.in branches/ogsector/src/Sector.cpp branches/ogsector/src/Sector.h branches/ogsector/src/SectorClient.cpp branches/ogsector/src/SectorClient.h branches/ogsector/src/SectorClientFrameListener.cpp branches/ogsector/src/SectorClientFrameListener.h branches/ogsector/src/SectorObjects.cpp branches/ogsector/src/SectorObjects.h branches/ogsector/src/common.h branches/ogsector/src/network.cpp branches/ogsector/src/network.h branches/ogsector/src/networkClient.cpp branches/ogsector/src/networkClient.h branches/ogsector/src/networkServer.cpp branches/ogsector/src/networkServer.h branches/ogsector/src/network_protocol.h branches/ogsector/src/ogsectorclient.cpp branches/ogsector/src/ogsectorserver.cpp branches/ogsector/src/openALSoundManager.cpp branches/ogsector/src/openALSoundManager.h branches/ogsector/src/testopenalmanager.cpp Added: branches/ogsector/Makefile.am =================================================================== --- branches/ogsector/Makefile.am (rev 0) +++ branches/ogsector/Makefile.am 2007-03-17 19:44:27 UTC (rev 327) @@ -0,0 +1,9 @@ +SUBDIRS = src + +distclean: maintainer-clean + rm -rf *~ + rm -rf autom4te.cache + rm -rf configure + rm -rf Makefile.in + rm -rf Ogre.log + rm -rf opcode.log Added: branches/ogsector/Readme =================================================================== --- branches/ogsector/Readme (rev 0) +++ branches/ogsector/Readme 2007-03-17 19:44:27 UTC (rev 327) @@ -0,0 +1,60 @@ +For installation: + +you will need: +Ogre-1.2 +>=freealut-1.0.1 + +Build externals (libgrapple, OIS, OgreOpode) + +cd ./externals +sh genExternals.sh all +cd .. + +You have to take care that your LD_LIBRARY_PATH knows the external libs +There are several ways to achive this: + +--create a personal lib path and link the libraries + + mkdir $(HOME)/lib + cd ~/lib + ln -s ../src/ogsector/externals/lib/libOIS-1.0.0.so + ln -s ../src/ogsector/externals/lib/libgrapple-1.0.so.0 + ln -s ../src/ogsector/externals/lib/libOpcode.so + ln -s ../src/ogsector/externals/lib/libOgreOpcode.so + + export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH: + +--or you can set the LD_LIBRARY_PATH to the external libs + + export LD_LIBRARY_PATH=$HOME/src/ogsector/externals/lib:$LD_LIBRARY_PATH + +--or you can link the libs to common know libpaths + +or ... + + +For building ogsector simple run: +./bootstrap +./configure +make -j3 + +For running the ogsectorclient you have to custumise: + +plugins.cfg +ogre.cfg +resources.cfg + +src/ogsectorserver +src/ogsectorclient [username] [hostname] + +as defaults: +username is set to 'testuser' +hostname is set to 'localhost' + + +You can test the openALsoundManager +src/testopenalmanager + +Enjoy this first technical proof of concept. + +Spom Added: branches/ogsector/ToDo =================================================================== --- branches/ogsector/ToDo (rev 0) +++ branches/ogsector/ToDo 2007-03-17 19:44:27 UTC (rev 327) @@ -0,0 +1,144 @@ +Das Fluggef\xFChl mit Joy oder Maus brauch noch finetuning aber prinzipiell kommt es schon vertraut vor. +Ein leerer und leichter Apty ist schon m\xE4chtig wendig. Mal schaun wie es mit einer 500er Titan TOW wird. + +Done: + +- Class: Sector + - enth\xE4llt alle Informationen des Sector (noMovable, movable und avatar) + - add/new/remove/update aller Objecte erfolgt \xFCber den Sector + +- Class: SectorClient (Verwaltung) + - HauptKlasse enth\xE4llt Sector und SectorCientFrameListener + +- Class: SectorObject + - movable Klasse, bekommt, prozentuale Drehbewegung und Schub und berechnet damit selbst das movement im Sector. Das Objekt hat graphische Eigenschaften damit es direkt dargestellt werden kann. + Das Objekt kann von aussen (Sektor) leicht gesteuert werden, (per Netcode, Ai oder Player). + Gibt man dem Framlistener eine camera mit Position des PlayerShip->mainNode hat man first persons view aus dem Schiff. + - jaw, pitch, roll + - Thrust, break, afterburner + - Thrusterpartikel support + +- InputManager supports key/mouse/joy + +- camera toggle + +- Testsector mit diversen Objekten + - 2 simple skyboxes without Stars (OpenGate/SimpleSkyBox1, OpenGate/SimpleSkyBox1) + +- Simplest HUD + - Position, + - Speed/MaxSpeed + - Acceleration + - Mousecurser + +- Simplest global chat + + +Questions: + - depends yaw/pitch/roll-factor on curr. speed/thrust (testing and implement) + - breaking fixed negtiv percentate thrust or fixed acc. (testing and implement) + +ToDo: + +- global/code + - cleaning / refaktoring + - integrate in currect OpenGate framework + - add licence header + - mark third persons thingies (mousecurser, skybox) +#ALT-TAB - free mousepointer from widget contents + - fullscreen switch (probably not supported by ogre) + - show Whos online +- chat + - console for input + - input/output highlight + - multiple out-lines + - log to file + - channeling + +- netcode + - communication: client->server->client + - cheatprotection + +- testsector + - show all shipmodels + - show all objects + - skybox with higher resolution + - stars + +- xml-read + - read playership data + - read nonmovable objects + - global config + +- openal +# - simplest testing + - soundmanger + +- input + - keymap + - mousemap + - joymap + - colihat -> inputmanager + - force feedback support +# - 1/r sensitivity +# - deathzone "nicyfy" + +- radar targeting +# - cam +# - toggle through + - toggle Astro/Stations/Friends/Enemies/All + - nearest Enemy/Friend + - last Enemy/Friend + +- HUD +# - targetarrow +# - target infos + - duellist + - bullseye/VCR (??) +# - flydirection arrow + - colorindex for break/AB/FF +# - shield/ammo + - selected rockets + +- moving + - flyindicator particle + +- fire! +# - partikel for ammo +# - object destroyed + - mesh for laser + +- collision detection +# - objects +# - fired partikel + +- station + - landing rings on the big ogrehead-mouth + +- ai +# - simple follow + - calculate fireing solution + - rockets + +For the talented: + - particle for thrust + - textures for laser, ammo + - animated textures for explosions + - animated textures shield hit indikator + - animated textures ammo hit indikator + - skyboxes with more content + - proper background sound + - sounds: ammo (fired/hit), explosion (sound in space!! "funny"), thruster + + +BUGS: +# - (linux)changing mousefocus by < Alt-TAB > lost key-repeat +# OIS disables autorepeat, fire `xset r on` to enable + - ogre always scale my skyboxes to 512x512 + +IDEAS: + - personal scanmission + - Spieler kann sich mit geeignetem Scanner eine eigene Datenbank von Astro erstellen die ingame abgerufen werden kann, f\xFCr jeden neuen Eintrag gibt es exp(nach Mission/Seltenheit/Gefahrenbereich) + - das erleichtert das Leben (kein Papierkram) und sorgt f\xFCr spielerentropie + + -Leuchtfeuer, manuel und als sectorobject \ No newline at end of file Added: branches/ogsector/aclocal.m4 =================================================================== --- branches/ogsector/aclocal.m4 (rev 0) +++ branches/ogsector/aclocal.m4 2007-03-17 19:44:27 UTC (rev 327) @@ -0,0 +1,1019 @@ +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# +# Copyright © 2004 Scott James Remnant <sc...@ne...>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi + +fi[]dnl +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# +# Similar to PKG_CHECK_MODULES, make sure that the first instance of +# this or PKG_CHECK_MODULES is called, or make sure to call +# PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_ifval([$2], [$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +m4_define([_PKG_CONFIG], +[if test -n "$PKG_CONFIG"; then + if test -n "$$1"; then + pkg_cv_[]$1="$$1" + else + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + fi +else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + ifelse([$4], , [AC_MSG_ERROR(dnl +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT +])], + [$4]) +elif test $pkg_failed = untried; then + ifelse([$4], , [AC_MSG_FAILURE(dnl +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])], + [$4]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + ifelse([$3], , :, [$3]) +fi[]dnl +])# PKG_CHECK_MODULES + +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.9.6])]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 7 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 12 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.58])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `ma... [truncated message content] |