diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-01 09:59:18 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-01 09:59:18 +0000 |
commit | 99af35834fb7655f090af2a3ec01d09d3aa3f69c (patch) | |
tree | cee868b609e1e43ec9f2cab9b56bb36388b98ced /sca-cpp/trunk/modules/python/Makefile.am | |
parent | edc5e5d1f4d00bb499606e92bada758e821dca15 (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/modules/python/Makefile.am')
-rw-r--r-- | sca-cpp/trunk/modules/python/Makefile.am | 21 |
1 files changed, 13 insertions, 8 deletions
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 |