Remove linux native libraries and automate configure.

This commit is contained in:
Paul Chote
2014-11-30 09:41:26 +13:00
parent c4967db0cc
commit 97e5473126
9 changed files with 5 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ cache: apt
# Run the build script
# call RALint to check for YAML errors
script:
- make dependencies
- make cli-dependencies
- make all
- make test

View File

@@ -270,11 +270,6 @@ clean:
distclean: clean
platformdeps = "linux"
ifeq ($(shell uname),Darwin)
platformdeps = "osx"
endif
dependencies: cli-dependencies native-dependencies
cli-dependencies:
@@ -282,7 +277,7 @@ cli-dependencies:
@ $(CP_R) thirdparty/*.dll.config .
native-dependencies:
@ $(CP_R) thirdparty/${platformdeps}/* .
@./configure
version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/modchooser/mod.yaml
@for i in $? ; do \

3
configure vendored
View File

@@ -21,4 +21,7 @@ if [ "$os" == 'Linux' ]; then
sed "s/@LIBLUA51@/${liblua51}/" thirdparty/Eluant.dll.config.in > Eluant.dll.config
echo "Eluant.dll.config has been created successfully."
fi
elif [ "$os" == 'Darwin' ]; then
cp thirdparty/osx/* .
echo "Copied Lua 5.1 and SDL2 libraries successfully."
fi

View File

@@ -1,4 +0,0 @@
<configuration>
<dllmap os="linux" dll="lua51.dll" cpu="x86" target="liblua32.5.1.5.so" />
<dllmap os="linux" dll="lua51.dll" cpu="x86-64" target="liblua64.5.1.5.so" />
</configuration>

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap os="linux" dll="SDL2.dll" cpu="x86" target="libSDL232.2.0.2.so" />
<dllmap os="linux" dll="SDL2.dll" cpu="x86-64" target="libSDL264.2.0.2.so" />
<dllmap dll="soft_oal.dll" os="linux" target="libopenal.so.1"/>
<dllmap dll="opengl32.dll">
<dllentry os="linux" dll="libGL.so.1" />
</dllmap>
<dllmap dll="glu32.dll">
<dllentry os="linux" dll="libGLU.so.1" />
</dllmap>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.