diff options
author | shankar | 2010-03-04 10:15:21 +0000 |
---|---|---|
committer | shankar | 2010-03-04 10:15:21 +0000 |
commit | 7ffb36f931ae12a967bf6916092c1c39031ec1df (patch) | |
tree | ecd33a80e9ca47518162354df702902899f7433f | |
parent | 71648a5496d5e72e3d9107e76b068139eea40a6e (diff) | |
download | axis2c-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
-rwxr-xr-x | axis2c_build.sh.in | 23 | ||||
-rwxr-xr-x | bindist.sh.in | 65 | ||||
-rwxr-xr-x | dist.sh.in | 36 | ||||
-rw-r--r-- | util/src/Makefile.am | 1 |
4 files changed, 124 insertions, 1 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 diff --git a/bindist.sh.in b/bindist.sh.in new file mode 100755 index 0000000..55a406a --- /dev/null +++ b/bindist.sh.in @@ -0,0 +1,65 @@ +#!/bin/bash +sh clean.sh + +./autogen.sh +AXIS2C_HOME=`pwd`/deploy +export AXIS2C_HOME + +./configure --prefix=${AXIS2C_HOME} --enable-tests=no --enable-trace=yes --enable-diclient=no --enable-static=no --enable-openssl=no --with-apache2=/usr/local/apache2/include --with-archive=/usr/include + +make +make install + +cd tools/tcpmon +./autogen.sh +./configure --prefix=${AXIS2C_HOME} --enable-tests=no +make +make install + +cd ../../samples + +./autogen.sh + +./configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/axis2-@VERSION@ +make +make install + +make dist +tar xf axis2c-sample-src-@VERSION@.tar.gz +mv axis2c-sample-src-@VERSION@ samples +#$rm -rf ${AXIS2C_HOME}/samples +mv samples ${AXIS2C_HOME}/samples/src + +cd .. + +rm -rf xdocs/api/html +maven site +cd xdocs/api +doxygen doxygenconf +cd ../.. +cp -r xdocs/api/html target/docs/api/ +cp xdocs/docs/mod_log/module.xml target/docs/docs/mod_log +cp -r target/docs ${AXIS2C_HOME} + +cd ${AXIS2C_HOME} + +# rm -rf config.sub missing config.guess depcomp ltmain.sh +for i in `find . -name "*.la"` +do + rm $i +done + +for i in `find . -name "*.a"` +do + rm $i +done + +strip -s ./lib/* +strip -s modules/addressing/* +strip -s modules/logging/* + +strip -s ./bin/axis2_http_server +strip -s ./samples/bin/* +strip -s ./bin/tools/tcpmon + +rm -rf ./lib/pkgconfig diff --git a/dist.sh.in b/dist.sh.in new file mode 100755 index 0000000..1dc1059 --- /dev/null +++ b/dist.sh.in @@ -0,0 +1,36 @@ +#!/bin/bash + +rm -rf xdocs/api/html +maven site +cd xdocs/api +doxygen doxygenconf +cd ../.. +cp -r xdocs/api/html target/docs/api/ +cp xdocs/docs/mod_log/module.xml target/docs/docs/mod_log +rm target/docs/README +rm target/docs/dependencies.html +rm target/docs/downloads.html +rm target/xdocs/mail-lists.html +cp -r target/docs axis2c-src-@VERSION@ + +cd samples +make dist +tar -xf axis2c-src-@VERSION@.tar.gz +mv axis2c-src-@VERSION@ ../axis2c-src-@VERSION@ +cd ../axis2c-src-@VERSION@ +mv axis2c-src-@VERSION@ samples + +for i in `find . -name "*.la"` +do + rm $i +done + +for i in `find . -name "*.a"` +do + rm $i +done + +for i in `find . -type d -name ".svn"` +do + rm -rf $i +done diff --git a/util/src/Makefile.am b/util/src/Makefile.am index 5b1ab14..f9ed14b 100644 --- a/util/src/Makefile.am +++ b/util/src/Makefile.am @@ -41,7 +41,6 @@ libaxutil_la_SOURCES = hash.c \ digest_calc.c libaxutil_la_LIBADD = $(top_builddir)/src/platforms/unix/libaxis2_unix.la \ - -lpthread \ @ZLIBLIBS@ libaxutil_la_LDFLAGS = -version-info $(VERSION_NO) |