diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-05 14:32:17 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-05 14:32:17 +0000 |
commit | 801d1fff596e07a747b1558d85eaab9bcf01f982 (patch) | |
tree | 8dcde81047f79a92223243c17d0ed101d30cc7b5 /swig/Makefile.am | |
parent | 280bf6f6ba2c6ad6d4f470573ca23d72541813c1 (diff) | |
download | LibXtract-801d1fff596e07a747b1558d85eaab9bcf01f982.tar.gz LibXtract-801d1fff596e07a747b1558d85eaab9bcf01f982.tar.bz2 LibXtract-801d1fff596e07a747b1558d85eaab9bcf01f982.zip |
Added java bindings. Everything seems to work OK, except test.java won't compile. Some kind of path error, but I can't work out how to fix it.
Diffstat (limited to 'swig/Makefile.am')
-rw-r--r-- | swig/Makefile.am | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am index 6214909..536bfed 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -1,18 +1,11 @@ -MAINTAINERCLEANFILES = xtract.py xtract_wrap.c Makefile.in _xtract.so +MAINTAINERCLEANFILES = Makefile.in -BUILT_SOURCES = $(srcdir)/xtract_wrap.c -SWIG_SOURCES = xtract.i +if BUILD_JAVA +JAVA_BUILD_DIR = java +endif -pkgpython_PYTHON = xtract.py -pkgpyexec_LTLIBRARIES = _xtract.la -_xtract_la_SOURCES = $(srcdir)/xtract_wrap.c $(SWIG_SOURCES) -_xtract_la_CFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src -_xtract_la_LDFLAGS = -module -lxtract -_xtract_la_LIBADD = ../src/libxtract.la - -xtract_wrap.c : $(SWIG_SOURCES) - $(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -o $@ $< - -clean-local: - -rm -f _xtract.so xtract.py xtract_wrap.c xtract.pyc +if BUILD_PYTHON +PYTHON_BUILD_DIR = python +endif +SUBDIRS = $(JAVA_BUILD_DIR) $(PYTHON_BUILD_DIR) |