summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-03-01 09:59:18 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-03-01 09:59:18 +0000
commit99af35834fb7655f090af2a3ec01d09d3aa3f69c (patch)
treecee868b609e1e43ec9f2cab9b56bb36388b98ced /sca-cpp/trunk
parentedc5e5d1f4d00bb499606e92bada758e821dca15 (diff)
Minor fixes to distro build. Added missing scripts. Placed libraries in the correct module and component directories.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@917438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk')
-rw-r--r--sca-cpp/trunk/Makefile.am13
-rw-r--r--sca-cpp/trunk/components/Makefile.am2
-rw-r--r--sca-cpp/trunk/components/cache/Makefile.am6
-rw-r--r--sca-cpp/trunk/components/chat/Makefile.am7
-rw-r--r--sca-cpp/trunk/components/queue/Makefile.am13
-rw-r--r--sca-cpp/trunk/components/webservice/Makefile.am11
-rw-r--r--sca-cpp/trunk/etc/git-exclude1
-rw-r--r--sca-cpp/trunk/kernel/Makefile.am7
-rw-r--r--sca-cpp/trunk/modules/atom/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/http/Makefile.am9
-rw-r--r--sca-cpp/trunk/modules/java/Makefile.am27
-rwxr-xr-xsca-cpp/trunk/modules/java/java-conf2
-rw-r--r--sca-cpp/trunk/modules/json/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/python/Makefile.am21
-rwxr-xr-xsca-cpp/trunk/modules/python/python-conf2
-rw-r--r--sca-cpp/trunk/modules/scdl/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/scheme/Makefile.am7
-rw-r--r--sca-cpp/trunk/modules/server/Makefile.am21
-rwxr-xr-xsca-cpp/trunk/modules/server/cpp-conf2
-rwxr-xr-xsca-cpp/trunk/modules/server/scheme-conf2
-rwxr-xr-xsca-cpp/trunk/modules/server/server-conf2
-rw-r--r--sca-cpp/trunk/modules/wsgi/Makefile.am12
-rw-r--r--sca-cpp/trunk/test/store-cpp/Makefile.am2
-rw-r--r--sca-cpp/trunk/test/store-java/Makefile.am4
24 files changed, 91 insertions, 91 deletions
diff --git a/sca-cpp/trunk/Makefile.am b/sca-cpp/trunk/Makefile.am
index df348fbc3c..3ca481b75c 100644
--- a/sca-cpp/trunk/Makefile.am
+++ b/sca-cpp/trunk/Makefile.am
@@ -17,14 +17,11 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = kernel modules components test doc
+SUBDIRS = kernel modules components test doc samples
datadir=$(prefix)
data_DATA = INSTALL README LICENSE COPYING NOTICE
-nobase_data_DATA = xsd/*.*
-
-DIST_SUBDIRS = kernel modules components test doc samples
-EXTRA_DIST = LICENSE COPYING INSTALL README NOTICE autogen.sh xsd
+nobase_data_DATA = xsd/*.xsd xsd/external/*.xsd xsd/external/*.dtd
install-data-hook:
rm -rf $(prefix)/doc
@@ -32,12 +29,8 @@ install-data-hook:
rm -f $(prefix)/doc/Makefile* $(prefix)/doc/Doxyfile*
rm -rf `find $(prefix)/doc -type d -name .svn`
rm -rf `find $(prefix)/doc -type d -name .deps`
+ rm -rf $(prefix)/test
- rm -rf $(prefix)/samples
- cp -r samples $(prefix)
- rm -rf `find $(prefix)/samples -type d -name .svn`
- rm -rf `find $(prefix)/samples -type d -name .deps`
-
dist-hook:
rm -rf `find $(distdir)/ -type d -name .svn`
rm -rf `find $(distdir)/ -type d -name .deps`
diff --git a/sca-cpp/trunk/components/Makefile.am b/sca-cpp/trunk/components/Makefile.am
index e4a0f051f0..ad006ee798 100644
--- a/sca-cpp/trunk/components/Makefile.am
+++ b/sca-cpp/trunk/components/Makefile.am
@@ -20,5 +20,3 @@ SUBDIRS = cache chat log queue store webservice
includedir = $(prefix)/include/components
nobase_include_HEADERS = */*.hpp
-compdir = $(prefix)/components
-nobase_comp_DATA = */*.composite
diff --git a/sca-cpp/trunk/components/cache/Makefile.am b/sca-cpp/trunk/components/cache/Makefile.am
index 69946a13fb..d9ab3f805b 100644
--- a/sca-cpp/trunk/components/cache/Makefile.am
+++ b/sca-cpp/trunk/components/cache/Makefile.am
@@ -15,11 +15,10 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = mcache-test client-test
-
+comp_SCRIPTS = memcached-start memcached-stop
compdir=$(prefix)/components/cache
-comp_LTLIBRARIES = libmcache.la
+comp_LTLIBRARIES = libmcache.la
libmcache_la_SOURCES = mcache.cpp
mcache_test_SOURCES = mcache-test.cpp
@@ -28,4 +27,5 @@ mcache_test_LDFLAGS = -lxml2
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
+noinst_PROGRAMS = mcache-test client-test
TESTS = memcached-test server-test
diff --git a/sca-cpp/trunk/components/chat/Makefile.am b/sca-cpp/trunk/components/chat/Makefile.am
index 11e3179e8a..944484946e 100644
--- a/sca-cpp/trunk/components/chat/Makefile.am
+++ b/sca-cpp/trunk/components/chat/Makefile.am
@@ -17,13 +17,10 @@
if WANT_CHAT
-noinst_PROGRAMS = xmpp-test client-test
-
INCLUDES = -I${LIBSTROPHE_INCLUDE} -I${LIBSTROPHE_INCLUDE}/src
-compdir=$(prefix)/components/chat
comp_LTLIBRARIES = libchatter.la
-
+compdir=$(prefix)/components/chat
libchatter_la_SOURCES = chatter.cpp
libchatter_la_LDFLAGS = -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -lssl -lresolv
@@ -33,4 +30,6 @@ xmpp_test_LDFLAGS = -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -l
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -lssl -lresolv
+noinst_PROGRAMS = xmpp-test client-test
+
endif
diff --git a/sca-cpp/trunk/components/queue/Makefile.am b/sca-cpp/trunk/components/queue/Makefile.am
index 09ff0e54a4..f814629bce 100644
--- a/sca-cpp/trunk/components/queue/Makefile.am
+++ b/sca-cpp/trunk/components/queue/Makefile.am
@@ -17,13 +17,16 @@
if WANT_QUEUE
-noinst_PROGRAMS = qpid-test client-test
-
INCLUDES = -I${QPIDC_INCLUDE}
+comp_SCRIPTS = qpidd-start qpidd-stop
compdir=$(prefix)/components/queue
-comp_LTLIBRARIES = libqueue-sender.la libqueue-listener.la
+
comp_DATA = qpidc.prefix
+qpidc.prefix: $(top_builddir)/config.status
+ echo ${QPIDC_PREFIX} >qpidc.prefix
+
+comp_LTLIBRARIES = libqueue-sender.la libqueue-listener.la
libqueue_sender_la_SOURCES = queue-sender.cpp
libqueue_sender_la_LDFLAGS = -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
@@ -37,9 +40,7 @@ qpid_test_LDFLAGS = -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
-qpidc.prefix: $(top_builddir)/config.status
- echo ${QPIDC_PREFIX} >qpidc.prefix
-
+noinst_PROGRAMS = qpid-test client-test
TESTS = send-test server-test
endif
diff --git a/sca-cpp/trunk/components/webservice/Makefile.am b/sca-cpp/trunk/components/webservice/Makefile.am
index 264b150c93..3f0ef3373e 100644
--- a/sca-cpp/trunk/components/webservice/Makefile.am
+++ b/sca-cpp/trunk/components/webservice/Makefile.am
@@ -17,13 +17,14 @@
if WANT_WEBSERVICE
-noinst_PROGRAMS = axiom-test axis2-test client-test
-
INCLUDES = -I${AXIS2C_INCLUDE}
+comp_DATA = axis2c.prefix
compdir=$(prefix)/components/webservice
+axis2c.prefix: $(top_builddir)/config.status
+ echo ${AXIS2C_PREFIX} >axis2c.prefix
+
comp_LTLIBRARIES = libwebservice-client.la libwebservice-listener.la libaxis2-dispatcher.la libaxis2-service.la
-comp_DATA = axis2c.prefix
libwebservice_client_la_SOURCES = webservice-client.cpp
libwebservice_client_la_LDFLAGS = -lxml2 -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
@@ -46,9 +47,7 @@ axis2_test_LDFLAGS = -lxml2 -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
-axis2c.prefix: $(top_builddir)/config.status
- echo ${AXIS2C_PREFIX} >axis2c.prefix
-
+noinst_PROGRAMS = axiom-test axis2-test client-test
TESTS = axiom-test echo-test server-test
endif
diff --git a/sca-cpp/trunk/etc/git-exclude b/sca-cpp/trunk/etc/git-exclude
index e3fd3850d8..113a953648 100644
--- a/sca-cpp/trunk/etc/git-exclude
+++ b/sca-cpp/trunk/etc/git-exclude
@@ -29,6 +29,7 @@ surefire*.properties
*.lo
*.o
*.in
+*.so
Makefile
.deps/
.libs/
diff --git a/sca-cpp/trunk/kernel/Makefile.am b/sca-cpp/trunk/kernel/Makefile.am
index cfacbb3662..a8828b0958 100644
--- a/sca-cpp/trunk/kernel/Makefile.am
+++ b/sca-cpp/trunk/kernel/Makefile.am
@@ -15,16 +15,15 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = string-test kernel-test mem-test parallel-test xml-test xsd-test
-testdir=$(prefix)/test
-test_LTLIBRARIES = libdynlib-test.la
includedir = $(prefix)/include/kernel
include_HEADERS = *.hpp
string_test_SOURCES = string-test.cpp
+test_LTLIBRARIES = libdynlib-test.la
+testdir = $(prefix)/test
libdynlib_test_la_SOURCES = dynlib-test.cpp
kernel_test_SOURCES = kernel-test.cpp
@@ -39,4 +38,6 @@ xml_test_LDFLAGS = -lxml2
xsd_test_SOURCES = xsd-test.cpp
xsd_test_LDFLAGS = -lxml2
+noinst_PROGRAMS = string-test kernel-test mem-test parallel-test xml-test xsd-test
TESTS = string-test kernel-test mem-test parallel-test xml-test
+
diff --git a/sca-cpp/trunk/modules/atom/Makefile.am b/sca-cpp/trunk/modules/atom/Makefile.am
index c39caa34c3..6eccee83c7 100644
--- a/sca-cpp/trunk/modules/atom/Makefile.am
+++ b/sca-cpp/trunk/modules/atom/Makefile.am
@@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = atom-test
-
atom_test_SOURCES = atom-test.cpp
atom_test_LDFLAGS = -lxml2
+noinst_PROGRAMS = atom-test
TESTS = atom-test
diff --git a/sca-cpp/trunk/modules/http/Makefile.am b/sca-cpp/trunk/modules/http/Makefile.am
index b522113423..6d477c2946 100644
--- a/sca-cpp/trunk/modules/http/Makefile.am
+++ b/sca-cpp/trunk/modules/http/Makefile.am
@@ -15,17 +15,18 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = curl-test
-
INCLUDES = -I${HTTPD_INCLUDE}
-httpdir=$(prefix)/modules/http
-http_DATA = httpd.prefix
+moddir=$(prefix)/modules/http
+mod_SCRIPTS = httpd-conf httpd-start httpd-stop httpd-restart
curl_test_SOURCES = curl-test.cpp
curl_test_LDFLAGS = -lxml2 -lcurl -lmozjs
+prefix_DATA = httpd.prefix
+prefixdir=$(prefix)/modules/http
httpd.prefix: $(top_builddir)/config.status
echo ${HTTPD_PREFIX} >httpd.prefix
+noinst_PROGRAMS = curl-test
TESTS = httpd-test http-test
diff --git a/sca-cpp/trunk/modules/java/Makefile.am b/sca-cpp/trunk/modules/java/Makefile.am
index 5402ab495e..458a8f977b 100644
--- a/sca-cpp/trunk/modules/java/Makefile.am
+++ b/sca-cpp/trunk/modules/java/Makefile.am
@@ -15,19 +15,27 @@
# specific language governing permissions and limitations
# under the License.
+libdir = $(prefix)/modules/java
JAVAROOT = $(top_builddir)/modules/java
-libdir = $(prefix)/lib
if WANT_JAVA
-noinst_PROGRAMS = java-test java-shell client-test
+INCLUDES = -I${JAVA_INCLUDE}
-lib_LTLIBRARIES = libmod_tuscany_java.la
+mod_SCRIPTS = java-conf
+moddir = $(prefix)/modules/java
-INCLUDES = -I${JAVA_INCLUDE}
+prefix_DATA = java.prefix
+prefixdir = $(prefix)/modules/java
+java.prefix: $(top_builddir)/config.status
+ echo ${JAVA_PREFIX} >java.prefix
+lib_LTLIBRARIES = libmod_tuscany_java.la
libmod_tuscany_java_la_SOURCES = mod-java.cpp
libmod_tuscany_java_la_LDFLAGS = -lxml2 -lcurl -lmozjs -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
+noinst_DATA = libmod_tuscany_java.so
+libmod_tuscany_java.so:
+ ln -s .libs/libmod_tuscany_java.so libmod_tuscany_java.so
java_test_SOURCES = java-test.cpp
java_test_LDFLAGS = -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
@@ -36,11 +44,9 @@ java_shell_SOURCES = java-shell.cpp
java_shell_LDFLAGS = -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
noinst_JAVA = org/apache/tuscany/*.java test/*.java
-
+jardir = ${prefix}/modules/java
jarfile = libmod-tuscany-java-${PACKAGE_VERSION}.jar
-jardir = ${libdir}
jar_DATA = ${jarfile}
-
${jarfile}: ${noinst_JAVA}
${JAR} cf $@ org/apache/tuscany/*.class
@@ -49,12 +55,7 @@ CLEANFILES = ${jarfile} org/apache/tuscany/*.class test/*.class
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
-prefixdir = $(top_builddir)/modules/java
-prefix_DATA = java.prefix
-
-java.prefix: $(top_builddir)/config.status
- echo ${JAVA_PREFIX} >java.prefix
-
+noinst_PROGRAMS = java-test java-shell client-test
TESTS = java-test server-test
endif
diff --git a/sca-cpp/trunk/modules/java/java-conf b/sca-cpp/trunk/modules/java/java-conf
index fb02f7fe57..823bd38ce9 100755
--- a/sca-cpp/trunk/modules/java/java-conf
+++ b/sca-cpp/trunk/modules/java/java-conf
@@ -22,6 +22,6 @@ here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
cat >>$root/conf/httpd.conf <<EOF
-LoadModule mod_tuscany_eval $here/.libs/libmod_tuscany_java.so
+LoadModule mod_tuscany_eval $here/libmod_tuscany_java.so
EOF
diff --git a/sca-cpp/trunk/modules/json/Makefile.am b/sca-cpp/trunk/modules/json/Makefile.am
index 5bd435fe99..fd00ebb4af 100644
--- a/sca-cpp/trunk/modules/json/Makefile.am
+++ b/sca-cpp/trunk/modules/json/Makefile.am
@@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = json-test
-
json_test_SOURCES = json-test.cpp
json_test_LDFLAGS = -lmozjs
+noinst_PROGRAMS = json-test
TESTS = json-test
diff --git a/sca-cpp/trunk/modules/python/Makefile.am b/sca-cpp/trunk/modules/python/Makefile.am
index 43f7cab5b9..55b4b8f7e7 100644
--- a/sca-cpp/trunk/modules/python/Makefile.am
+++ b/sca-cpp/trunk/modules/python/Makefile.am
@@ -15,25 +15,29 @@
# specific language governing permissions and limitations
# under the License.
-datadir=$(prefix)/modules/python
-libdir=$(prefix)/lib
+libdir=$(prefix)/modules/python
if WANT_PYTHON
-noinst_PROGRAMS = python-test python-shell client-test
+INCLUDES = -I${PYTHON_INCLUDE}
-lib_LTLIBRARIES = libmod_tuscany_python.la
+mod_SCRIPTS = python-conf
+moddir = $(prefix)/modules/python
-nobase_data_DATA = *.xsd
-data_DATA = python.prefix
-
-INCLUDES = -I${PYTHON_INCLUDE}
+nobase_xsd_DATA = *.xsd
+xsddir = $(prefix)/xsd
+prefix_DATA = python.prefix
+prefixdir=$(prefix)/modules/python
python.prefix: $(top_builddir)/config.status
echo ${PYTHON_PREFIX} >python.prefix
+lib_LTLIBRARIES = libmod_tuscany_python.la
libmod_tuscany_python_la_SOURCES = mod-python.cpp
libmod_tuscany_python_la_LDFLAGS = -lxml2 -lcurl -lmozjs -L${PYTHON_LIB} -R${PYTHON_LIB} -lpython2.6
+noinst_DATA = libmod_tuscany_python.so
+libmod_tuscany_python.so:
+ ln -s .libs/libmod_tuscany_python.so libmod_tuscany_python.so
python_test_SOURCES = python-test.cpp
python_test_LDFLAGS = -L${PYTHON_LIB} -R${PYTHON_LIB} -lpython2.6
@@ -44,6 +48,7 @@ python_shell_LDFLAGS = -L${PYTHON_LIB} -R${PYTHON_LIB} -lpython2.6
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
+noinst_PROGRAMS = python-test python-shell client-test
TESTS = python-test server-test
endif
diff --git a/sca-cpp/trunk/modules/python/python-conf b/sca-cpp/trunk/modules/python/python-conf
index 9bc99e2bbe..82decd8eb4 100755
--- a/sca-cpp/trunk/modules/python/python-conf
+++ b/sca-cpp/trunk/modules/python/python-conf
@@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
cat >>$root/conf/httpd.conf <<EOF
-LoadModule mod_tuscany_eval $here/.libs/libmod_tuscany_python.so
+LoadModule mod_tuscany_eval $here/libmod_tuscany_python.so
EOF
diff --git a/sca-cpp/trunk/modules/scdl/Makefile.am b/sca-cpp/trunk/modules/scdl/Makefile.am
index afbd35a8a7..542ce4be20 100644
--- a/sca-cpp/trunk/modules/scdl/Makefile.am
+++ b/sca-cpp/trunk/modules/scdl/Makefile.am
@@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = scdl-test
-
scdl_test_SOURCES = scdl-test.cpp
scdl_test_LDFLAGS = -lxml2
+noinst_PROGRAMS = scdl-test
TESTS = scdl-test
diff --git a/sca-cpp/trunk/modules/scheme/Makefile.am b/sca-cpp/trunk/modules/scheme/Makefile.am
index f9bfe4e392..03556d0c45 100644
--- a/sca-cpp/trunk/modules/scheme/Makefile.am
+++ b/sca-cpp/trunk/modules/scheme/Makefile.am
@@ -15,13 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = eval-test eval-shell
-
-datadir=$(prefix)/modules/eval
-nobase_data_DATA = *.xsd
+xsddir=$(prefix)/xsd
+nobase_xsd_DATA = *.xsd
eval_test_SOURCES = eval-test.cpp
eval_shell_SOURCES = eval-shell.cpp
+noinst_PROGRAMS = eval-test eval-shell
TESTS = eval-test
diff --git a/sca-cpp/trunk/modules/server/Makefile.am b/sca-cpp/trunk/modules/server/Makefile.am
index 9c18b45dad..39135d2212 100644
--- a/sca-cpp/trunk/modules/server/Makefile.am
+++ b/sca-cpp/trunk/modules/server/Makefile.am
@@ -15,25 +15,32 @@
# specific language governing permissions and limitations
# under the License.
-noinst_PROGRAMS = client-test
+INCLUDES = -I${HTTPD_INCLUDE}
-libdir=$(prefix)/lib
-lib_LTLIBRARIES = libmod_tuscany_eval.la libmod_tuscany_wiring.la
+mod_SCRIPTS = cpp-conf scheme-conf server-conf
+moddir = $(prefix)/modules/server
-INCLUDES = -I${HTTPD_INCLUDE}
+lib_LTLIBRARIES = libmod_tuscany_eval.la libmod_tuscany_wiring.la
+libdir=$(prefix)/modules/server
+noinst_DATA = libmod_tuscany_eval.so libmod_tuscany_wiring.so
libmod_tuscany_eval_la_SOURCES = mod-eval.cpp
libmod_tuscany_eval_la_LDFLAGS = -lxml2 -lcurl -lmozjs
+libmod_tuscany_eval.so:
+ ln -s .libs/libmod_tuscany_eval.so libmod_tuscany_eval.so
libmod_tuscany_wiring_la_SOURCES = mod-wiring.cpp
libmod_tuscany_wiring_la_LDFLAGS = -lxml2 -lcurl -lmozjs
+libmod_tuscany_wiring.so:
+ ln -s .libs/libmod_tuscany_wiring.so libmod_tuscany_wiring.so
-testdir=$(prefix)/test
-test_LTLIBRARIES = libimpl-test.la
-
+noinst_testdir = $(prefix)/test
+noinst_test_LTLIBRARIES = libimpl-test.la
libimpl_test_la_SOURCES = impl-test.cpp
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
+noinst_PROGRAMS = client-test
TESTS = httpd-test server-test wiring-test
+
diff --git a/sca-cpp/trunk/modules/server/cpp-conf b/sca-cpp/trunk/modules/server/cpp-conf
index b376585f8c..77e79c5fd8 100755
--- a/sca-cpp/trunk/modules/server/cpp-conf
+++ b/sca-cpp/trunk/modules/server/cpp-conf
@@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
cat >>$root/conf/httpd.conf <<EOF
-LoadModule mod_tuscany_eval $here/.libs/libmod_tuscany_eval.so
+LoadModule mod_tuscany_eval $here/libmod_tuscany_eval.so
EOF
diff --git a/sca-cpp/trunk/modules/server/scheme-conf b/sca-cpp/trunk/modules/server/scheme-conf
index 248255608e..85984fadf0 100755
--- a/sca-cpp/trunk/modules/server/scheme-conf
+++ b/sca-cpp/trunk/modules/server/scheme-conf
@@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
cat >>$root/conf/httpd.conf <<EOF
-LoadModule mod_tuscany_eval $here/.libs/libmod_tuscany_eval.so
+LoadModule mod_tuscany_eval $here/libmod_tuscany_eval.so
EOF
diff --git a/sca-cpp/trunk/modules/server/server-conf b/sca-cpp/trunk/modules/server/server-conf
index ae175ee2f8..c5cf6be437 100755
--- a/sca-cpp/trunk/modules/server/server-conf
+++ b/sca-cpp/trunk/modules/server/server-conf
@@ -25,5 +25,5 @@ mkdir -p $root
mkdir -p $root/logs
mkdir -p $root/conf
cat >>$root/conf/httpd.conf <<EOF
-LoadModule mod_tuscany_wiring $here/.libs/libmod_tuscany_wiring.so
+LoadModule mod_tuscany_wiring $here/libmod_tuscany_wiring.so
EOF
diff --git a/sca-cpp/trunk/modules/wsgi/Makefile.am b/sca-cpp/trunk/modules/wsgi/Makefile.am
index 24769eb222..d6e2a6f957 100644
--- a/sca-cpp/trunk/modules/wsgi/Makefile.am
+++ b/sca-cpp/trunk/modules/wsgi/Makefile.am
@@ -15,19 +15,17 @@
# specific language governing permissions and limitations
# under the License.
-datadir=$(prefix)/modules/wsgi
-
if WANT_PYTHON
-noinst_PROGRAMS = client-test
-
-nobase_data_DATA = *.yaml
-
INCLUDES = -I${PYTHON_INCLUDE}
+mod_SCRIPTS = composite.py runtime.py scdl.py util.py wsgi-start wsgi-stop
+moddir = $(prefix)/modules/wsgi
+
client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
-TESTS = server-test
+noinst_PROGRAMS = client-test
+#TESTS = server-test
endif
diff --git a/sca-cpp/trunk/test/store-cpp/Makefile.am b/sca-cpp/trunk/test/store-cpp/Makefile.am
index 59eebf1445..00d037cc97 100644
--- a/sca-cpp/trunk/test/store-cpp/Makefile.am
+++ b/sca-cpp/trunk/test/store-cpp/Makefile.am
@@ -15,8 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-testdir=$(prefix)/test/store-cpp
test_LTLIBRARIES = libcurrency-converter.la libfruits-catalog.la libshopping-cart.la
+testdir = $(prefix)/test
libcurrency_converter_la_SOURCES = currency-converter.cpp
diff --git a/sca-cpp/trunk/test/store-java/Makefile.am b/sca-cpp/trunk/test/store-java/Makefile.am
index 80972a0acc..d4f161fd50 100644
--- a/sca-cpp/trunk/test/store-java/Makefile.am
+++ b/sca-cpp/trunk/test/store-java/Makefile.am
@@ -15,12 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-JAVAROOT = ${top_builddir}/test/store-java
-
if WANT_JAVA
AM_JAVACFLAGS = -cp ${top_builddir}/modules/java/libmod-tuscany-java-${PACKAGE_VERSION}.jar:${JAVAROOT}
+JAVAROOT = ${top_builddir}/test/store-java
+
noinst_JAVA = store/*.java
CLEANFILES = store/*.class