1 ## Process this file with automake to produce Makefile.in
3 # `make QUIET=' overrides `./configure --enable-quiet'.
4 # `make QUIET=y' overrides `./configure' without `--enable-quiet'.
5 LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
8 # Export these so that we run the locally installed autotools when building
9 # from a bootstrapped SVN tree.
10 export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
13 SUBDIRS = native org/xapian .
16 LIBTOOL="$(LIBTOOL)" JAVA="$(JAVA)" PATHSEP="$(JAVA_PATHSEP)" $(srcdir)/run-java-test
18 ## Test programs to be run
19 TESTS = SmokeTest.class
21 EXTRA_DIST = run-java-test SmokeTest.java
23 CLEANFILES = SmokeTest.class MyMatchDecider.class MyExpandDecider.class \
26 SmokeTest: SmokeTest.class
29 $(JAVAC) -classpath $(srcdir)$(JAVA_PATHSEP). -d . $<
31 noinst_DATA = built/xapian_jni.jar
34 -test -d built || mkdir built
35 $(JAR) -cf built/xapian_jni.jar org/xapian/*.class org/xapian/errors/*.class