From 915fb13e47bc60c6f3c5498939a7db8ee2ba38d1 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 7 Jun 2010 21:08:27 +0200 Subject: Adding pre-compiled gmp stuff, and compiling gmp module in. --- compilation | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'compilation') diff --git a/compilation b/compilation index da5d147..d4f286e 100755 --- a/compilation +++ b/compilation @@ -23,6 +23,9 @@ fi tar xvfz Mesa-7.4.4-osmesa-linux-precomp.tar.gz tar xvfz tinyxml-src.tar.gz +tar xvfz gmp-4.3.2-linux.tar.gz +tar xvfz gmp-4.3.2-mingw32.tar.gz +tar xvfz gmp-4.3.2-darwin9.tar.gz git clone ${prefix}${githostname}${path}/Baltisot git clone ${prefix}${githostname}${path}/mogltk @@ -31,6 +34,7 @@ git clone ${prefix}${githostname}${path}/lua-modules git clone ${prefix}${githostname}${path}/lua-modules-cd-tool git clone ${prefix}${githostname}${path}/PSX-Bundle git clone ${prefix}${githostname}${path}/lua-modules-iup +git clone ${prefix}${githostname}${path}/lua-modules-gmp git clone ${prefix}${githostname}${path}/LuaJIT cd Baltisot/lib/ @@ -50,6 +54,7 @@ ln -s ../lua-interface-win32/lua-interface.a lua-interface git clone lua-modules lua-modules-win32 git clone lua-modules-cd-tool lua-modules-cd-tool-win32 git clone lua-modules-iup lua-modules-iup-win32 +git clone lua-modules-gmp lua-modules-gmp-win32 git clone LuaJIT LuaJIT-win32 ############################### @@ -61,6 +66,7 @@ git clone lua-interface lua-interface-darwin9 git clone lua-modules lua-modules-darwin9 git clone lua-modules-cd-tool lua-modules-cd-tool-darwin9 git clone lua-modules-iup lua-modules-iup-darwin9 +git clone lua-modules-gmp lua-modules-gmp-darwin9 ln -s ../lua-interface-darwin9/lua-interface.dylib lua-modules-darwin9 ln -s ../lua-interface-darwin9/lua-interface.dylib lua-modules-cd-tool-darwin9 ln -s ../lua-interface-darwin9/lua-interface.dylib lua-modules-iup-darwin9 @@ -95,6 +101,12 @@ colormake || exit -1 cp *.so ../lua-interface-distrib/linux cd .. +cd lua-modules-gmp +cp ../lua-interface/lua-interface.so . +colormake || exit -1 +cp *.so ../lua-interface-distrib/linux +cd .. + ######################################## ## linux version done - next is win32 ## @@ -135,6 +147,11 @@ make -f Makefile.mingw32 || exit -1 cp *.dll ../lua-interface-distrib/win32 cd .. +cd lua-modules-gmp-win32 +make -f Makefile.mingw32 || exit -1 +cp *.dll ../lua-interface-distrib/win32 +cd .. + cd lua-interface-win32-light make -f Makefile.mingw32 lua-interface-light.exe || exit -1 cp *.exe *.dll ../lua-interface-distrib/win32-light @@ -175,6 +192,11 @@ SYSTEM=Darwin make || exit -1 cp *.dylib ../lua-interface-distrib/darwin9 cd .. +cd lua-modules-gmp-darwin9 +SYSTEM=Darwin make || exit -1 +cp *.dylib ../lua-interface-distrib/darwin9 +cd .. + ########################## ## All done, packing up ## -- cgit v1.2.3