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
This commit is contained in:
parent
edc5e5d1f4
commit
99af35834f
24 changed files with 91 additions and 91 deletions
|
|
@ -17,14 +17,11 @@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = kernel modules components test doc
|
SUBDIRS = kernel modules components test doc samples
|
||||||
|
|
||||||
datadir=$(prefix)
|
datadir=$(prefix)
|
||||||
data_DATA = INSTALL README LICENSE COPYING NOTICE
|
data_DATA = INSTALL README LICENSE COPYING NOTICE
|
||||||
nobase_data_DATA = xsd/*.*
|
nobase_data_DATA = xsd/*.xsd xsd/external/*.xsd xsd/external/*.dtd
|
||||||
|
|
||||||
DIST_SUBDIRS = kernel modules components test doc samples
|
|
||||||
EXTRA_DIST = LICENSE COPYING INSTALL README NOTICE autogen.sh xsd
|
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
rm -rf $(prefix)/doc
|
rm -rf $(prefix)/doc
|
||||||
|
|
@ -32,12 +29,8 @@ install-data-hook:
|
||||||
rm -f $(prefix)/doc/Makefile* $(prefix)/doc/Doxyfile*
|
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 .svn`
|
||||||
rm -rf `find $(prefix)/doc -type d -name .deps`
|
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:
|
dist-hook:
|
||||||
rm -rf `find $(distdir)/ -type d -name .svn`
|
rm -rf `find $(distdir)/ -type d -name .svn`
|
||||||
rm -rf `find $(distdir)/ -type d -name .deps`
|
rm -rf `find $(distdir)/ -type d -name .deps`
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,3 @@ SUBDIRS = cache chat log queue store webservice
|
||||||
includedir = $(prefix)/include/components
|
includedir = $(prefix)/include/components
|
||||||
nobase_include_HEADERS = */*.hpp
|
nobase_include_HEADERS = */*.hpp
|
||||||
|
|
||||||
compdir = $(prefix)/components
|
|
||||||
nobase_comp_DATA = */*.composite
|
|
||||||
|
|
|
||||||
6
sca-cpp/trunk/components/cache/Makefile.am
vendored
6
sca-cpp/trunk/components/cache/Makefile.am
vendored
|
|
@ -15,11 +15,10 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = mcache-test client-test
|
comp_SCRIPTS = memcached-start memcached-stop
|
||||||
|
|
||||||
compdir=$(prefix)/components/cache
|
compdir=$(prefix)/components/cache
|
||||||
comp_LTLIBRARIES = libmcache.la
|
|
||||||
|
|
||||||
|
comp_LTLIBRARIES = libmcache.la
|
||||||
libmcache_la_SOURCES = mcache.cpp
|
libmcache_la_SOURCES = mcache.cpp
|
||||||
|
|
||||||
mcache_test_SOURCES = mcache-test.cpp
|
mcache_test_SOURCES = mcache-test.cpp
|
||||||
|
|
@ -28,4 +27,5 @@ mcache_test_LDFLAGS = -lxml2
|
||||||
client_test_SOURCES = client-test.cpp
|
client_test_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
|
noinst_PROGRAMS = mcache-test client-test
|
||||||
TESTS = memcached-test server-test
|
TESTS = memcached-test server-test
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,10 @@
|
||||||
|
|
||||||
if WANT_CHAT
|
if WANT_CHAT
|
||||||
|
|
||||||
noinst_PROGRAMS = xmpp-test client-test
|
|
||||||
|
|
||||||
INCLUDES = -I${LIBSTROPHE_INCLUDE} -I${LIBSTROPHE_INCLUDE}/src
|
INCLUDES = -I${LIBSTROPHE_INCLUDE} -I${LIBSTROPHE_INCLUDE}/src
|
||||||
|
|
||||||
compdir=$(prefix)/components/chat
|
|
||||||
comp_LTLIBRARIES = libchatter.la
|
comp_LTLIBRARIES = libchatter.la
|
||||||
|
compdir=$(prefix)/components/chat
|
||||||
libchatter_la_SOURCES = chatter.cpp
|
libchatter_la_SOURCES = chatter.cpp
|
||||||
libchatter_la_LDFLAGS = -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -lssl -lresolv
|
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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -lssl -lresolv
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${LIBSTROPHE_LIB} -R${LIBSTROPHE_LIB} -lstrophe -lexpat -lssl -lresolv
|
||||||
|
|
||||||
|
noinst_PROGRAMS = xmpp-test client-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,16 @@
|
||||||
|
|
||||||
if WANT_QUEUE
|
if WANT_QUEUE
|
||||||
|
|
||||||
noinst_PROGRAMS = qpid-test client-test
|
|
||||||
|
|
||||||
INCLUDES = -I${QPIDC_INCLUDE}
|
INCLUDES = -I${QPIDC_INCLUDE}
|
||||||
|
|
||||||
|
comp_SCRIPTS = qpidd-start qpidd-stop
|
||||||
compdir=$(prefix)/components/queue
|
compdir=$(prefix)/components/queue
|
||||||
comp_LTLIBRARIES = libqueue-sender.la libqueue-listener.la
|
|
||||||
comp_DATA = qpidc.prefix
|
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_SOURCES = queue-sender.cpp
|
||||||
libqueue_sender_la_LDFLAGS = -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
|
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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${QPIDC_LIB} -R${QPIDC_LIB} -lqpidclient
|
||||||
|
|
||||||
qpidc.prefix: $(top_builddir)/config.status
|
noinst_PROGRAMS = qpid-test client-test
|
||||||
echo ${QPIDC_PREFIX} >qpidc.prefix
|
|
||||||
|
|
||||||
TESTS = send-test server-test
|
TESTS = send-test server-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,14 @@
|
||||||
|
|
||||||
if WANT_WEBSERVICE
|
if WANT_WEBSERVICE
|
||||||
|
|
||||||
noinst_PROGRAMS = axiom-test axis2-test client-test
|
|
||||||
|
|
||||||
INCLUDES = -I${AXIS2C_INCLUDE}
|
INCLUDES = -I${AXIS2C_INCLUDE}
|
||||||
|
|
||||||
compdir=$(prefix)/components/webservice
|
|
||||||
comp_LTLIBRARIES = libwebservice-client.la libwebservice-listener.la libaxis2-dispatcher.la libaxis2-service.la
|
|
||||||
comp_DATA = axis2c.prefix
|
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
|
||||||
|
|
||||||
libwebservice_client_la_SOURCES = webservice-client.cpp
|
libwebservice_client_la_SOURCES = webservice-client.cpp
|
||||||
libwebservice_client_la_LDFLAGS = -lxml2 -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
|
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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs -L${AXIS2C_LIB} -R${AXIS2C_LIB} -laxis2_engine
|
||||||
|
|
||||||
axis2c.prefix: $(top_builddir)/config.status
|
noinst_PROGRAMS = axiom-test axis2-test client-test
|
||||||
echo ${AXIS2C_PREFIX} >axis2c.prefix
|
|
||||||
|
|
||||||
TESTS = axiom-test echo-test server-test
|
TESTS = axiom-test echo-test server-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ surefire*.properties
|
||||||
*.lo
|
*.lo
|
||||||
*.o
|
*.o
|
||||||
*.in
|
*.in
|
||||||
|
*.so
|
||||||
Makefile
|
Makefile
|
||||||
.deps/
|
.deps/
|
||||||
.libs/
|
.libs/
|
||||||
|
|
|
||||||
|
|
@ -15,16 +15,15 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# 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
|
includedir = $(prefix)/include/kernel
|
||||||
include_HEADERS = *.hpp
|
include_HEADERS = *.hpp
|
||||||
|
|
||||||
string_test_SOURCES = string-test.cpp
|
string_test_SOURCES = string-test.cpp
|
||||||
|
|
||||||
|
test_LTLIBRARIES = libdynlib-test.la
|
||||||
|
testdir = $(prefix)/test
|
||||||
libdynlib_test_la_SOURCES = dynlib-test.cpp
|
libdynlib_test_la_SOURCES = dynlib-test.cpp
|
||||||
|
|
||||||
kernel_test_SOURCES = kernel-test.cpp
|
kernel_test_SOURCES = kernel-test.cpp
|
||||||
|
|
@ -39,4 +38,6 @@ xml_test_LDFLAGS = -lxml2
|
||||||
xsd_test_SOURCES = xsd-test.cpp
|
xsd_test_SOURCES = xsd-test.cpp
|
||||||
xsd_test_LDFLAGS = -lxml2
|
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
|
TESTS = string-test kernel-test mem-test parallel-test xml-test
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,8 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = atom-test
|
|
||||||
|
|
||||||
atom_test_SOURCES = atom-test.cpp
|
atom_test_SOURCES = atom-test.cpp
|
||||||
atom_test_LDFLAGS = -lxml2
|
atom_test_LDFLAGS = -lxml2
|
||||||
|
|
||||||
|
noinst_PROGRAMS = atom-test
|
||||||
TESTS = atom-test
|
TESTS = atom-test
|
||||||
|
|
|
||||||
|
|
@ -15,17 +15,18 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = curl-test
|
|
||||||
|
|
||||||
INCLUDES = -I${HTTPD_INCLUDE}
|
INCLUDES = -I${HTTPD_INCLUDE}
|
||||||
|
|
||||||
httpdir=$(prefix)/modules/http
|
moddir=$(prefix)/modules/http
|
||||||
http_DATA = httpd.prefix
|
mod_SCRIPTS = httpd-conf httpd-start httpd-stop httpd-restart
|
||||||
|
|
||||||
curl_test_SOURCES = curl-test.cpp
|
curl_test_SOURCES = curl-test.cpp
|
||||||
curl_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
curl_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
|
prefix_DATA = httpd.prefix
|
||||||
|
prefixdir=$(prefix)/modules/http
|
||||||
httpd.prefix: $(top_builddir)/config.status
|
httpd.prefix: $(top_builddir)/config.status
|
||||||
echo ${HTTPD_PREFIX} >httpd.prefix
|
echo ${HTTPD_PREFIX} >httpd.prefix
|
||||||
|
|
||||||
|
noinst_PROGRAMS = curl-test
|
||||||
TESTS = httpd-test http-test
|
TESTS = httpd-test http-test
|
||||||
|
|
|
||||||
|
|
@ -15,19 +15,27 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
libdir = $(prefix)/modules/java
|
||||||
JAVAROOT = $(top_builddir)/modules/java
|
JAVAROOT = $(top_builddir)/modules/java
|
||||||
libdir = $(prefix)/lib
|
|
||||||
|
|
||||||
if WANT_JAVA
|
if WANT_JAVA
|
||||||
|
|
||||||
noinst_PROGRAMS = java-test java-shell client-test
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libmod_tuscany_java.la
|
|
||||||
|
|
||||||
INCLUDES = -I${JAVA_INCLUDE}
|
INCLUDES = -I${JAVA_INCLUDE}
|
||||||
|
|
||||||
|
mod_SCRIPTS = java-conf
|
||||||
|
moddir = $(prefix)/modules/java
|
||||||
|
|
||||||
|
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_SOURCES = mod-java.cpp
|
||||||
libmod_tuscany_java_la_LDFLAGS = -lxml2 -lcurl -lmozjs -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
|
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_SOURCES = java-test.cpp
|
||||||
java_test_LDFLAGS = -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
|
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
|
java_shell_LDFLAGS = -L${JAVA_LIB} -R${JAVA_LIB} -R${JAVA_LIB}/server -ljava
|
||||||
|
|
||||||
noinst_JAVA = org/apache/tuscany/*.java test/*.java
|
noinst_JAVA = org/apache/tuscany/*.java test/*.java
|
||||||
|
jardir = ${prefix}/modules/java
|
||||||
jarfile = libmod-tuscany-java-${PACKAGE_VERSION}.jar
|
jarfile = libmod-tuscany-java-${PACKAGE_VERSION}.jar
|
||||||
jardir = ${libdir}
|
|
||||||
jar_DATA = ${jarfile}
|
jar_DATA = ${jarfile}
|
||||||
|
|
||||||
${jarfile}: ${noinst_JAVA}
|
${jarfile}: ${noinst_JAVA}
|
||||||
${JAR} cf $@ org/apache/tuscany/*.class
|
${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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
prefixdir = $(top_builddir)/modules/java
|
noinst_PROGRAMS = java-test java-shell client-test
|
||||||
prefix_DATA = java.prefix
|
|
||||||
|
|
||||||
java.prefix: $(top_builddir)/config.status
|
|
||||||
echo ${JAVA_PREFIX} >java.prefix
|
|
||||||
|
|
||||||
TESTS = java-test server-test
|
TESTS = java-test server-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ here=`readlink -f $0`; here=`dirname $here`
|
||||||
root=`readlink -f $1`
|
root=`readlink -f $1`
|
||||||
|
|
||||||
cat >>$root/conf/httpd.conf <<EOF
|
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
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,8 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = json-test
|
|
||||||
|
|
||||||
json_test_SOURCES = json-test.cpp
|
json_test_SOURCES = json-test.cpp
|
||||||
json_test_LDFLAGS = -lmozjs
|
json_test_LDFLAGS = -lmozjs
|
||||||
|
|
||||||
|
noinst_PROGRAMS = json-test
|
||||||
TESTS = json-test
|
TESTS = json-test
|
||||||
|
|
|
||||||
|
|
@ -15,25 +15,29 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
datadir=$(prefix)/modules/python
|
libdir=$(prefix)/modules/python
|
||||||
libdir=$(prefix)/lib
|
|
||||||
|
|
||||||
if WANT_PYTHON
|
if WANT_PYTHON
|
||||||
|
|
||||||
noinst_PROGRAMS = python-test python-shell client-test
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libmod_tuscany_python.la
|
|
||||||
|
|
||||||
nobase_data_DATA = *.xsd
|
|
||||||
data_DATA = python.prefix
|
|
||||||
|
|
||||||
INCLUDES = -I${PYTHON_INCLUDE}
|
INCLUDES = -I${PYTHON_INCLUDE}
|
||||||
|
|
||||||
|
mod_SCRIPTS = python-conf
|
||||||
|
moddir = $(prefix)/modules/python
|
||||||
|
|
||||||
|
nobase_xsd_DATA = *.xsd
|
||||||
|
xsddir = $(prefix)/xsd
|
||||||
|
|
||||||
|
prefix_DATA = python.prefix
|
||||||
|
prefixdir=$(prefix)/modules/python
|
||||||
python.prefix: $(top_builddir)/config.status
|
python.prefix: $(top_builddir)/config.status
|
||||||
echo ${PYTHON_PREFIX} >python.prefix
|
echo ${PYTHON_PREFIX} >python.prefix
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libmod_tuscany_python.la
|
||||||
libmod_tuscany_python_la_SOURCES = mod-python.cpp
|
libmod_tuscany_python_la_SOURCES = mod-python.cpp
|
||||||
libmod_tuscany_python_la_LDFLAGS = -lxml2 -lcurl -lmozjs -L${PYTHON_LIB} -R${PYTHON_LIB} -lpython2.6
|
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_SOURCES = python-test.cpp
|
||||||
python_test_LDFLAGS = -L${PYTHON_LIB} -R${PYTHON_LIB} -lpython2.6
|
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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
|
noinst_PROGRAMS = python-test python-shell client-test
|
||||||
TESTS = python-test server-test
|
TESTS = python-test server-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
|
||||||
root=`readlink -f $1`
|
root=`readlink -f $1`
|
||||||
|
|
||||||
cat >>$root/conf/httpd.conf <<EOF
|
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
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,8 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = scdl-test
|
|
||||||
|
|
||||||
scdl_test_SOURCES = scdl-test.cpp
|
scdl_test_SOURCES = scdl-test.cpp
|
||||||
scdl_test_LDFLAGS = -lxml2
|
scdl_test_LDFLAGS = -lxml2
|
||||||
|
|
||||||
|
noinst_PROGRAMS = scdl-test
|
||||||
TESTS = scdl-test
|
TESTS = scdl-test
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,12 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = eval-test eval-shell
|
xsddir=$(prefix)/xsd
|
||||||
|
nobase_xsd_DATA = *.xsd
|
||||||
datadir=$(prefix)/modules/eval
|
|
||||||
nobase_data_DATA = *.xsd
|
|
||||||
|
|
||||||
eval_test_SOURCES = eval-test.cpp
|
eval_test_SOURCES = eval-test.cpp
|
||||||
|
|
||||||
eval_shell_SOURCES = eval-shell.cpp
|
eval_shell_SOURCES = eval-shell.cpp
|
||||||
|
|
||||||
|
noinst_PROGRAMS = eval-test eval-shell
|
||||||
TESTS = eval-test
|
TESTS = eval-test
|
||||||
|
|
|
||||||
|
|
@ -15,25 +15,32 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
noinst_PROGRAMS = client-test
|
|
||||||
|
|
||||||
libdir=$(prefix)/lib
|
|
||||||
lib_LTLIBRARIES = libmod_tuscany_eval.la libmod_tuscany_wiring.la
|
|
||||||
|
|
||||||
INCLUDES = -I${HTTPD_INCLUDE}
|
INCLUDES = -I${HTTPD_INCLUDE}
|
||||||
|
|
||||||
|
mod_SCRIPTS = cpp-conf scheme-conf server-conf
|
||||||
|
moddir = $(prefix)/modules/server
|
||||||
|
|
||||||
|
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_SOURCES = mod-eval.cpp
|
||||||
libmod_tuscany_eval_la_LDFLAGS = -lxml2 -lcurl -lmozjs
|
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_SOURCES = mod-wiring.cpp
|
||||||
libmod_tuscany_wiring_la_LDFLAGS = -lxml2 -lcurl -lmozjs
|
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
|
noinst_testdir = $(prefix)/test
|
||||||
test_LTLIBRARIES = libimpl-test.la
|
noinst_test_LTLIBRARIES = libimpl-test.la
|
||||||
|
|
||||||
libimpl_test_la_SOURCES = impl-test.cpp
|
libimpl_test_la_SOURCES = impl-test.cpp
|
||||||
|
|
||||||
client_test_SOURCES = client-test.cpp
|
client_test_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
|
noinst_PROGRAMS = client-test
|
||||||
TESTS = httpd-test server-test wiring-test
|
TESTS = httpd-test server-test wiring-test
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
|
||||||
root=`readlink -f $1`
|
root=`readlink -f $1`
|
||||||
|
|
||||||
cat >>$root/conf/httpd.conf <<EOF
|
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
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ here=`readlink -f $0`; here=`dirname $here`
|
||||||
root=`readlink -f $1`
|
root=`readlink -f $1`
|
||||||
|
|
||||||
cat >>$root/conf/httpd.conf <<EOF
|
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
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,5 @@ mkdir -p $root
|
||||||
mkdir -p $root/logs
|
mkdir -p $root/logs
|
||||||
mkdir -p $root/conf
|
mkdir -p $root/conf
|
||||||
cat >>$root/conf/httpd.conf <<EOF
|
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
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -15,19 +15,17 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
datadir=$(prefix)/modules/wsgi
|
|
||||||
|
|
||||||
if WANT_PYTHON
|
if WANT_PYTHON
|
||||||
|
|
||||||
noinst_PROGRAMS = client-test
|
|
||||||
|
|
||||||
nobase_data_DATA = *.yaml
|
|
||||||
|
|
||||||
INCLUDES = -I${PYTHON_INCLUDE}
|
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_SOURCES = client-test.cpp
|
||||||
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
|
||||||
|
|
||||||
TESTS = server-test
|
noinst_PROGRAMS = client-test
|
||||||
|
#TESTS = server-test
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
testdir=$(prefix)/test/store-cpp
|
|
||||||
test_LTLIBRARIES = libcurrency-converter.la libfruits-catalog.la libshopping-cart.la
|
test_LTLIBRARIES = libcurrency-converter.la libfruits-catalog.la libshopping-cart.la
|
||||||
|
testdir = $(prefix)/test
|
||||||
|
|
||||||
libcurrency_converter_la_SOURCES = currency-converter.cpp
|
libcurrency_converter_la_SOURCES = currency-converter.cpp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,12 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
JAVAROOT = ${top_builddir}/test/store-java
|
|
||||||
|
|
||||||
if WANT_JAVA
|
if WANT_JAVA
|
||||||
|
|
||||||
AM_JAVACFLAGS = -cp ${top_builddir}/modules/java/libmod-tuscany-java-${PACKAGE_VERSION}.jar:${JAVAROOT}
|
AM_JAVACFLAGS = -cp ${top_builddir}/modules/java/libmod-tuscany-java-${PACKAGE_VERSION}.jar:${JAVAROOT}
|
||||||
|
|
||||||
|
JAVAROOT = ${top_builddir}/test/store-java
|
||||||
|
|
||||||
noinst_JAVA = store/*.java
|
noinst_JAVA = store/*.java
|
||||||
|
|
||||||
CLEANFILES = store/*.class
|
CLEANFILES = store/*.class
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue