AUTOMAKE_OPTIONS = subdir-objects dist-bzip2 MAINTAINERCLEANFILES = Makefile.in \ aclocal.m4 \ configure \ config/compile \ config/config.sub \ config/config.guess \ config/depcomp \ config/install-sh \ config/missing \ config/mkinstalldirs lib_LTLIBRARIES = liblucene4c.la liblucene4c_la_LDFLAGS = -version-info 0:1:0 liblucene4c_la_LIBADD = $(top_srcdir)/lib/lucene-1.4.3.jar LIBHEADERS = src/search/searcher.hxx \ src/search/query.hxx \ src/document/field.hxx \ src/document/document.hxx \ src/analysis/analyzer.hxx \ src/util/exception.h liblucene4c_la_SOURCES = src/util/exception.cxx \ src/util/error.c \ src/util/init.cxx \ src/util/pools.c \ src/index/writer.cxx \ src/search/searcher.cxx \ src/search/index_searcher.cxx \ src/query_parser/query_parser.cxx \ src/document/field.cxx \ src/document/document.cxx \ src/analysis/standard.cxx \ src/org/apache/lucene4c/QueryParserHack.java \ src/org/apache/lucene4c/IndexSearcherHack.java BUILT_SOURCES = include/org/apache/lucene/analysis/Analyzer.h \ include/org/apache/lucene4c/QueryParserHack.h \ include/org/apache/lucene4c/IndexSearcherHack.h %.class: %.java javac -classpath $(top_srcdir)/lib/lucene-1.4.3.jar -d src $< include/org/apache/lucene/analysis/Analyzer.h: build-headers include/org/apache/lucene4c/QueryParserHack.h: src/org/apache/lucene4c/QueryParserHack.class $(JCCH) --classpath lib/lucene-1.4.3.jar:src org.apache.lucene4c.QueryParserHack -d include include/org/apache/lucene4c/IndexSearcherHack.h: src/org/apache/lucene4c/IndexSearcherHack.class $(JCCH) --classpath lib/lucene-1.4.3.jar:src org.apache.lucene4c.IndexSearcherHack -d include noinst_PROGRAMS = test/test bin_PROGRAMS = src/cmdline/lcn test_test_SOURCES = test/main.c test_test_LDADD = liblucene4c.la src_cmdline_lcn_SOURCES = src/cmdline/main.c src_cmdline_lcn_LDADD= liblucene4c.la inst_includesdir = $(includedir)/lucene4c-0 inst_includes_HEADERS = include/lcn_analyzer.h \ include/lcn_document.h \ include/lcn_error.h \ include/lcn_field.h \ include/lcn_index_writer.h \ include/lcn_init.h \ include/lcn_pools.h \ include/lcn_query.h \ include/lcn_query_parser.h \ include/lcn_searcher.h \ include/lcn_types.h INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/test \ -I$(top_builddir)/include \ $(LCN_APR_INCLUDES) LIBS = $(LCN_LIBS) lib/lucene.o: lib/lucene-1.4.3.jar $(GCJ) -c -o $@ $(top_srcdir)/lib/lucene-1.4.3.jar test: @./test/test localclean: $(RM) -f build-headers ${RM} -rf include/org ${RM} -rf src/org/apache/lucene/ ${RM} -rf org clean: localclean clean-am distclean: localclean distclean-am lib/lucene-1.4.3.jar: touch $@ build-headers: lib/lucene-1.4.3.jar $(JAR) xvf $(top_srcdir)/lib/lucene-1.4.3.jar $(RM) -rf META-INF $(MKDIR) -p src/org/apache/lucene4c $(MKDIR) -p include/org/apache/lucene4c $(FIND) org -type d | \ $(SED) 's|org/|include/org/|' | \ $(XARGS) mkdir -p -$(FIND) org -name \*.class | \ $(SED) 's|\.class||' | \ $(SED) 's|/|.|g' | \ $(XARGS) $(JCCH) -d include --classpath=$(top_srcdir)/lib/lucene-1.4.3.jar touch $@ doxygen: @mkdir -p www/apidocs @doxygen $(top_srcdir)/doc/doxygen.conf @cp -r doc/doxygen/html/* www/apidocs/ EXTRA_DIST = bootstrap \ config/config_nice.m4 \ config/find_apr.m4 \ lib/lucene-1.4.3.jar \ doc/doxygen.conf \ $(LIBHEADERS) .PHONY = doxygen