summaryrefslogtreecommitdiff
path: root/compilation
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2009-11-05 12:07:25 -0800
committerNicolas Noble <pixel@nobis-crew.org>2009-11-05 12:07:25 -0800
commit3a3c7bf216b493942b3e4a2a7198d546defb9216 (patch)
tree2902aab0a8a91b4208dd1ed6b07d02f5f83171ad /compilation
parentfa78de64bba8edf87bf9f99cc7ef40af5b2a5f2b (diff)
Adding Iup to the compilation job.
Diffstat (limited to 'compilation')
-rwxr-xr-xcompilation23
1 files changed, 19 insertions, 4 deletions
diff --git a/compilation b/compilation
index d742340..ea0ae71 100755
--- a/compilation
+++ b/compilation
@@ -23,6 +23,7 @@ git clone ${prefix}git.grumpycoder.net${path}/lua-interface
git clone ${prefix}git.grumpycoder.net${path}/lua-modules
git clone ${prefix}git.grumpycoder.net${path}/lua-modules-cd-tool
git clone ${prefix}git.grumpycoder.net${path}/PSX-Bundle
+git clone ${prefix}git.grumpycoder.net${path}/lua-modules-iup
cd Baltisot/lib/
./genloadlib.sh > loadlualibs.ii
@@ -35,11 +36,12 @@ mkdir -p lua-interface-distrib/linux
## prepare win32 compilation ##
## skip if you don't want it ##
###############################
-cp -r lua-interface lua-interface-win32
-cp -r lua-interface lua-interface-win32-light
+git clone lua-interface lua-interface-win32
+git clone lua-interface lua-interface-win32-light
ln -s ../lua-interface-win32/lua-interface.a lua-interface
-cp -r lua-modules lua-modules-win32
-cp -r lua-modules-cd-tool lua-modules-cd-tool-win32
+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
###############################
@@ -64,6 +66,13 @@ colormake || exit -1
cp *.so ../lua-interface-distrib/linux
cd ..
+cd lua-modules-iup
+cp ../lua-interface/luac .
+cp ../lua-interface/lua-interface.so .
+colormake || exit -1
+cp *.so ../lua-interface-distrib/linux
+cd ..
+
########################################
## linux version done - next is win32 ##
@@ -97,6 +106,12 @@ make -f Makefile.mingw32 || exit -1
cp *.dll ../lua-interface-distrib/win32
cd ..
+cd lua-modules-iup-win32
+cp ../lua-interface/luac .
+make -f Makefile.mingw32 || exit -1
+cp *.dll ../lua-interface-distrib/win32
+cd ..
+
cd lua-interface-win32-light
cp ../lua-interface/luac .
make -f Makefile.mingw32 lua-interface-light.exe || exit -1