summaryrefslogtreecommitdiffstats
path: root/build_for_dist.sh
blob: 34f5e48b329ea3ff6c8f5fd5e367a99387f636fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -e
sh autogen.sh

AXIS2C_HOME=`pwd`/deploy
export AXIS2C_HOME
echo "AXIS2C_HOME = ${AXIS2C_HOME}"

sh configure --prefix=${AXIS2C_HOME} --enable-tests=yes --with-apache2=/usr/local/apache2/include --enable-tcp=yes --with-archive=/usr/include
make -j 10
make install

cd samples
sh autogen.sh
sh configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/axis2-1.7.0
make -j 10
make install
cd ..