axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r918921 - in /axis/axis2/c/core/trunk: axis2c_build.sh.in bindist.sh.in dist.sh.in util/src/Makefile.am
Date Thu, 04 Mar 2010 10:15:21 GMT
Author: shankar
Date: Thu Mar  4 10:15:21 2010
New Revision: 918921

URL: http://svn.apache.org/viewvc?rev=918921&view=rev
Log:
adding *.in files to fix issue AXIS2C-1457

Added:
    axis/axis2/c/core/trunk/axis2c_build.sh.in   (with props)
    axis/axis2/c/core/trunk/bindist.sh.in   (with props)
    axis/axis2/c/core/trunk/dist.sh.in   (with props)
Modified:
    axis/axis2/c/core/trunk/util/src/Makefile.am

Added: axis/axis2/c/core/trunk/axis2c_build.sh.in
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axis2c_build.sh.in?rev=918921&view=auto
==============================================================================
--- axis/axis2/c/core/trunk/axis2c_build.sh.in (added)
+++ axis/axis2/c/core/trunk/axis2c_build.sh.in Thu Mar  4 10:15:21 2010
@@ -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

Propchange: axis/axis2/c/core/trunk/axis2c_build.sh.in
------------------------------------------------------------------------------
    svn:executable = *

Added: axis/axis2/c/core/trunk/bindist.sh.in
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/bindist.sh.in?rev=918921&view=auto
==============================================================================
--- axis/axis2/c/core/trunk/bindist.sh.in (added)
+++ axis/axis2/c/core/trunk/bindist.sh.in Thu Mar  4 10:15:21 2010
@@ -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

Propchange: axis/axis2/c/core/trunk/bindist.sh.in
------------------------------------------------------------------------------
    svn:executable = *

Added: axis/axis2/c/core/trunk/dist.sh.in
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/dist.sh.in?rev=918921&view=auto
==============================================================================
--- axis/axis2/c/core/trunk/dist.sh.in (added)
+++ axis/axis2/c/core/trunk/dist.sh.in Thu Mar  4 10:15:21 2010
@@ -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

Propchange: axis/axis2/c/core/trunk/dist.sh.in
------------------------------------------------------------------------------
    svn:executable = *

Modified: axis/axis2/c/core/trunk/util/src/Makefile.am
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/src/Makefile.am?rev=918921&r1=918920&r2=918921&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/src/Makefile.am (original)
+++ axis/axis2/c/core/trunk/util/src/Makefile.am Thu Mar  4 10:15:21 2010
@@ -41,7 +41,6 @@
                         digest_calc.c 
                         
 libaxutil_la_LIBADD =	$(top_builddir)/src/platforms/unix/libaxis2_unix.la \
-						-lpthread \
 			@ZLIBLIBS@
 
 libaxutil_la_LDFLAGS = -version-info $(VERSION_NO)



Mime
View raw message