Author: robbinspg
Date: Mon May  8 04:35:07 2006
New Revision: 405023

URL: http://svn.apache.org/viewcvs?rev=405023&view=rev
Log:
build sdo_axiom library on linux

Added:
    incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am   (with props)
    incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am   (with 
props)
Modified:
    incubator/tuscany/cpp/sdo/build.sh
    incubator/tuscany/cpp/sdo/configure.ac
    incubator/tuscany/cpp/sdo/runtime/core/Makefile.am

Modified: incubator/tuscany/cpp/sdo/build.sh
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/build.sh?rev=405023&r1=405022&r2=405023&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/build.sh (original)
+++ incubator/tuscany/cpp/sdo/build.sh Mon May  8 04:35:07 2006
@@ -24,8 +24,14 @@
 exit;
 fi
 
+if [ x$AXIS2C_HOME = x ]; then
+echo "AXIS2C_HOME not set"
+exit;
+fi
+echo "Using Axis2C installed at $AXIS2C_HOME"
+
 ./autogen.sh
 TUSCANY_SDOCPP_HOME=`pwd`
-./configure --prefix=${TUSCANY_SDOCPP_HOME}
+./configure --prefix=${TUSCANY_SDOCPP_HOME} --enable-static=no
 make
 make install

Modified: incubator/tuscany/cpp/sdo/configure.ac
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/configure.ac?rev=405023&r1=405022&r2=405023&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/configure.ac (original)
+++ incubator/tuscany/cpp/sdo/configure.ac Mon May  8 04:35:07 2006
@@ -37,6 +37,8 @@
                  runtime/core/src/Makefile
                  runtime/core/src/commonj/Makefile
                  runtime/core/src/commonj/sdo/Makefile
-                 runtime/core/test/Makefile])
+                 runtime/core/test/Makefile
+                 runtime/core/sdo_axiom/Makefile
+                 runtime/core/sdo_axiom_test/Makefile])
 AC_OUTPUT
 

Modified: incubator/tuscany/cpp/sdo/runtime/core/Makefile.am
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/Makefile.am?rev=405023&r1=405022&r2=405023&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/Makefile.am (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/Makefile.am Mon May  8 04:35:07 2006
@@ -1 +1 @@
-SUBDIRS = src test
+SUBDIRS = src test sdo_axiom sdo_axiom_test

Added: incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am?rev=405023&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am Mon May  8 
04:35:07 2006
@@ -0,0 +1,22 @@
+SUBDIRS =
+
+nobase_include_HEADERS = sdo_axiom.h \
+sdo_axiom_export.h
+
+lib_LTLIBRARIES = libtuscany_sdo_axiom.la
+AM_CPPFLAGS = $(CPPFLAGS)
+
+libtuscany_sdo_axiom_la_SOURCES = \
+       sdo_axiom.cpp
+       
+libtuscany_sdo_axiom_la_LIBADD = \
+                       -L$(top_builddir)/runtime/core/src/commonj/sdo 
-ltuscany_sdo \
+                    -L$(AXIS2C_HOME)/lib \
+                                       -laxis2_util \
+                    -laxis2_om \
+                    -laxis2_parser
+
+INCLUDES = -I$(top_builddir)/runtime/core/src \
+           -I$(top_builddir)/runtime/core/sdo_axiom  \
+           -I${AXIS2C_HOME}/include
+     
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom/Makefile.am
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am?rev=405023&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am Mon May  
8 04:35:07 2006
@@ -0,0 +1,20 @@
+prgbindir=$(prefix)/bin/test
+prgbin_PROGRAMS = tuscany_sdo_axiom_test
+SUBDIRS =
+AM_CPPFLAGS = $(CPPFLAGS)
+tuscany_sdo_axiom_test_SOURCES = sdo_axiom_test.cpp
+
+tuscany_sdo_axiom_test_LDADD   =  -ltuscany_sdo \
+       -L$(top_builddir)/runtime/core/sdo_axiom -ltuscany_sdo_axiom \
+       -L$(top_builddir)/runtime/core/src/commonj/sdo -lxml2 -lstdc++ \
+       -L$(AXIS2C_HOME)/lib \
+                                       -laxis2_util \
+                    -laxis2_om \
+                    -laxis2_parser \
+                    -laxis2_unix
+
+INCLUDES = -I$(top_builddir)/runtime/core/sdo_axiom_test \
+           -I$(top_builddir)/runtime/core/src \
+           -I$(top_builddir)/runtime/core/sdo_axiom  \
+           -I${AXIS2C_HOME}/include
+            
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sdo/runtime/core/sdo_axiom_test/Makefile.am
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to