# Process this file with automake to produce Makefile.in

noinst_HEADERS = \
	LanguageDetector.h \
	XapianDatabase.h \
	XapianDatabaseFactory.h \
	XapianIndex.h \
	XapianEngine.h

lib_LTLIBRARIES = libxapianbackend.la

libxapianbackend_la_SOURCES = \
	LanguageDetector.cpp \
	ModuleExports.cpp \
	XapianDatabase.cpp \
	XapianDatabaseFactory.cpp \
	XapianIndex.cpp \
	XapianEngine.cpp

libxapianbackend_la_LDFLAGS = \
	-module -version-info 1:0:0 -shared -nostartfiles

libxapianbackend_la_LIBADD = \
	-L$(top_builddir)/Utils \
	-lBasicUtils \
	@XML_LIBS@ @MIN_HTTP_LIBS@ \
	@INDEX_LIBS@ @MISC_LIBS@

AM_CXXFLAGS = \
	@MISC_CFLAGS@ \
	-I$(top_srcdir)/Utils \
	-I$(top_srcdir)/Tokenize \
	-I$(top_srcdir)/Tokenize/filters \
	-I$(top_srcdir)/IndexSearch \
	-I$(top_srcdir)/IndexSearch/cjkv \
	@MIN_HTTP_CFLAGS@ @XML_CFLAGS@ @INDEX_CFLAGS@ @GLIBMM_CFLAGS@

if HAVE_BOOST_SPIRIT
AM_CXXFLAGS += -DHAVE_BOOST_SPIRIT
endif

