You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/03/20 06:53:48 UTC

svn commit: r387142 - in /webservices/axis2/trunk/c: ./ include/ samples/client/addr_echo/ samples/client/echo/ samples/client/echo_non_blocking/ samples/client/google/ samples/client/math/ samples/server/echo/ samples/server/math/

Author: damitha
Date: Sun Mar 19 21:53:46 2006
New Revision: 387142

URL: http://svn.apache.org/viewcvs?rev=387142&view=rev
Log:
seperate build system for samples

Modified:
    webservices/axis2/trunk/c/Makefile.am
    webservices/axis2/trunk/c/build.sh
    webservices/axis2/trunk/c/configure.ac
    webservices/axis2/trunk/c/include/Makefile.am
    webservices/axis2/trunk/c/samples/client/addr_echo/Makefile.am
    webservices/axis2/trunk/c/samples/client/echo/Makefile.am
    webservices/axis2/trunk/c/samples/client/echo_non_blocking/Makefile.am
    webservices/axis2/trunk/c/samples/client/google/Makefile.am
    webservices/axis2/trunk/c/samples/client/math/Makefile.am
    webservices/axis2/trunk/c/samples/server/echo/Makefile.am
    webservices/axis2/trunk/c/samples/server/math/Makefile.am

Modified: webservices/axis2/trunk/c/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/Makefile.am (original)
+++ webservices/axis2/trunk/c/Makefile.am Sun Mar 19 21:53:46 2006
@@ -1,7 +1,7 @@
 TESTS =
 datadir=$(prefix)
 logsdir=$(prefix)/logs
-SUBDIRS = modules $(TESTDIR) $(SAMPLES) ides
+SUBDIRS = modules $(TESTDIR) include ides
 include_HEADERS=$(top_builddir)/include/*.h
 data_DATA= samples/server/axis2.xml INSTALL README AUTHORS NEWS CREDITS LICENSE COPYING
 logs_DATA=samples/server/axis2.log

Modified: webservices/axis2/trunk/c/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/build.sh?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build.sh (original)
+++ webservices/axis2/trunk/c/build.sh Sun Mar 19 21:53:46 2006
@@ -1,6 +1,6 @@
 #!/bin/bash
 ./autogen.sh
 AXIS2C_HOME=`pwd`/deploy
-./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-samples=yes --enable-trace=yes  --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-0
+./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-trace=yes  --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-0
 make
-#make install
+make install

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Sun Mar 19 21:53:46 2006
@@ -141,23 +141,6 @@
   TESTDIR=""
 )
 
-AC_MSG_CHECKING(whether to build samples)
-AC_ARG_ENABLE(tests, [  --enable-samples    build samples. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    SAMPLES=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    SAMPLES="samples"
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  SAMPLES=""
-)
-
 AC_MSG_CHECKING(whether to enable trace)
 AC_ARG_ENABLE(tests, [  --enable-trace    enable trace. default=no],
 [ case "${enableval}" in
@@ -235,16 +218,6 @@
     modules/wsdl/Makefile \
     modules/wsdl/builder/Makefile \
     modules/mod_addr/Makefile \
-    samples/Makefile \
-    samples/server/Makefile \
-    samples/server/echo/Makefile \
-    samples/server/math/Makefile \
-    samples/client/Makefile \
-    samples/client/echo/Makefile \
-    samples/client/math/Makefile \
-    samples/client/addr_echo/Makefile \
-    samples/client/echo_non_blocking/Makefile \
-    samples/client/google/Makefile \
     test/Makefile \
     test/xml/Makefile \
     test/xml/om/Makefile \

Modified: webservices/axis2/trunk/c/include/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/Makefile.am (original)
+++ webservices/axis2/trunk/c/include/Makefile.am Sun Mar 19 21:53:46 2006
@@ -1,3 +1,3 @@
 TESTS=
-nobase_include_HEADERS=platforms/unix/*.h platforms/windows/*.h
+nobase_include_HEADERS= platforms/axis2_platform_auto_sense.h platforms/unix/*.h platforms/windows/*.h
 

Modified: webservices/axis2/trunk/c/samples/client/addr_echo/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/addr_echo/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/addr_echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/addr_echo/Makefile.am Sun Mar 19 21:53:46 2006
@@ -18,19 +18,5 @@
                     $(GUTHTHILA_LIBS) \
                     $(LIBXML2_LIBS)
 
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/wsdl \
-            -I$(top_builddir)/modules/core/description \
-            -I$(top_builddir)/modules/core/context \
-            -I$(top_builddir)/modules/core/phaseresolver \
-            -I$(top_builddir)/modules/core/deployment \
-            -I$(top_builddir)/modules/core/transport \
-            -I$(top_builddir)/modules/core/engine \
-            -I$(top_builddir)/modules/core/clientapi \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser \
-            -I$(top_builddir)/include
-
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/platforms

Modified: webservices/axis2/trunk/c/samples/client/echo/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/echo/Makefile.am Sun Mar 19 21:53:46 2006
@@ -21,7 +21,5 @@
                 $(GUTHTHILA_LIBS)
 
 
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/modules/platforms

Modified: webservices/axis2/trunk/c/samples/client/echo_non_blocking/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo_non_blocking/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo_non_blocking/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/echo_non_blocking/Makefile.am Sun Mar 19 21:53:46 2006
@@ -21,19 +21,5 @@
                     $(GUTHTHILA_LIBS) \
                     $(LIBXML2_LIBS)
 
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/wsdl \
-            -I$(top_builddir)/modules/core/description \
-            -I$(top_builddir)/modules/core/context \
-            -I$(top_builddir)/modules/core/phaseresolver \
-            -I$(top_builddir)/modules/core/deployment \
-            -I$(top_builddir)/modules/core/transport \
-            -I$(top_builddir)/modules/core/engine \
-            -I$(top_builddir)/modules/core/clientapi \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser \
-            -I$(top_builddir)/include
-
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/modules/platforms

Modified: webservices/axis2/trunk/c/samples/client/google/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/google/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/google/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/google/Makefile.am Sun Mar 19 21:53:46 2006
@@ -17,9 +17,5 @@
                     $(GUTHTHILA_LIBS) \
                     $(LIBXML2_LIBS)
 
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/platforms

Modified: webservices/axis2/trunk/c/samples/client/math/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/math/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/math/Makefile.am Sun Mar 19 21:53:46 2006
@@ -20,9 +20,5 @@
                     $(GUTHTHILA_LIBS) \
                     $(LIBXML2_LIBS)
 
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/platforms

Modified: webservices/axis2/trunk/c/samples/server/echo/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/echo/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/echo/Makefile.am Sun Mar 19 21:53:46 2006
@@ -8,15 +8,5 @@
 SUBDIRS =
 libecho_la_SOURCES = echo.c echo_skeleton.c
 libecho_la_LIBADD  =
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/core/description \
-            -I$(top_builddir)/modules/core/deployment \
-            -I$(top_builddir)/modules/wsdl \
-            -I$(top_builddir)/modules/core/transport \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser \
-            -I$(top_builddir)/include
-
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/platforms

Modified: webservices/axis2/trunk/c/samples/server/math/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/math/Makefile.am?rev=387142&r1=387141&r2=387142&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/math/Makefile.am Sun Mar 19 21:53:46 2006
@@ -8,15 +8,5 @@
 SUBDIRS =
 libmath_la_SOURCES = math.c math_skeleton.c
 libmath_la_LIBADD  =
-INCLUDES = -I$(top_builddir)/include \
-            -I$(top_builddir)/modules/util \
-            -I$(top_builddir)/modules/core/description \
-            -I$(top_builddir)/modules/core/deployment \
-            -I$(top_builddir)/modules/wsdl \
-            -I$(top_builddir)/modules/core/transport \
-            -I$(top_builddir)/modules/platforms \
-            -I$(top_builddir)/modules/xml/parser \
-            -I$(top_builddir)/include
-
-
-
+INCLUDES = -I$(AXIS2C_HOME)/include \
+            -I$(AXIS2C_HOME)/platforms