summaryrefslogtreecommitdiffstats
path: root/axis2c_build.sh.in
diff options
context:
space:
mode:
authorGravatar shankar2010-03-04 10:15:21 +0000
committerGravatar shankar2010-03-04 10:15:21 +0000
commit7ffb36f931ae12a967bf6916092c1c39031ec1df (patch)
treeecd33a80e9ca47518162354df702902899f7433f /axis2c_build.sh.in
parent71648a5496d5e72e3d9107e76b068139eea40a6e (diff)
downloadaxis2c-7ffb36f931ae12a967bf6916092c1c39031ec1df.tar.gz
axis2c-7ffb36f931ae12a967bf6916092c1c39031ec1df.tar.bz2
adding *.in files to fix issue AXIS2C-1457
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@918921 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'axis2c_build.sh.in')
-rwxr-xr-xaxis2c_build.sh.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/axis2c_build.sh.in b/axis2c_build.sh.in
new file mode 100755
index 0000000..42137a0
--- /dev/null
+++ b/axis2c_build.sh.in
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+if [ -z "$1" ] ; then
+ AXIS2C_DEPLOY="/usr/local/axis2c"
+else
+ AXIS2C_DEPLOY=$1
+fi
+
+if [ `uname -s` = Darwin ]
+then
+ export DYLD_LIBRARY_PATH=${AXIS2C_DEPLOY}/lib
+else
+ export LD_LIBRARY_PATH=${AXIS2C_DEPLOY}/lib
+fi
+
+./configure --prefix=${AXIS2C_DEPLOY}
+make
+make install
+
+cd samples
+./configure --prefix=${AXIS2C_DEPLOY} --with-axis2=${AXIS2C_DEPLOY}/include/axis2-@VERSION@
+make
+make install