Remove linux native libraries and automate configure.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
7
Makefile
7
Makefile
@@ -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
3
configure
vendored
@@ -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
|
||||
4
thirdparty/linux/Eluant.dll.config
vendored
4
thirdparty/linux/Eluant.dll.config
vendored
@@ -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>
|
||||
15
thirdparty/linux/SDL2-CS.dll.config
vendored
15
thirdparty/linux/SDL2-CS.dll.config
vendored
@@ -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>
|
||||
BIN
thirdparty/linux/libSDL232.2.0.2.so
vendored
BIN
thirdparty/linux/libSDL232.2.0.2.so
vendored
Binary file not shown.
BIN
thirdparty/linux/libSDL264.2.0.2.so
vendored
BIN
thirdparty/linux/libSDL264.2.0.2.so
vendored
Binary file not shown.
BIN
thirdparty/linux/liblua32.5.1.5.so
vendored
BIN
thirdparty/linux/liblua32.5.1.5.so
vendored
Binary file not shown.
BIN
thirdparty/linux/liblua64.5.1.5.so
vendored
BIN
thirdparty/linux/liblua64.5.1.5.so
vendored
Binary file not shown.
Reference in New Issue
Block a user