1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = 1.5 subdir-objects
4 ACLOCAL_AMFLAGS = -I m4
6 # `make QUIET=' overrides `./configure --enable-quiet'.
7 # `make QUIET=y' overrides `./configure' without `--enable-quiet'.
8 LIBTOOL = @LIBTOOL@ $(QUIET:y=--quiet)
11 # Export these so that we run the locally installed autotools when building
12 # from a bootstrapped git tree.
13 export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
16 INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/include -I../$(top_srcdir)/xapian-core/include
18 # Order is relevant: when building, tests must be after ".".
19 SUBDIRS = . docs # tests
21 AM_CXXFLAGS += $(XAPIAN_CXXFLAGS)
28 MAINTAINERCLEANFILES =
32 # This relies on GNU make (for the pattern rule) but it's just a convenience
33 # as you can run these check-* targets with any make using:
35 # cd tests ; make check-FOO
37 # So the pain of maintaining a huge list of target forwarding rules here isn't
40 # Note: We use @PERCENT@ here instead of a literal % to suppress an automake
41 # portability warning.
43 cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
45 EXTRA_DIST = ChangeLog
47 lib_LTLIBRARIES = libxapianletor.la
48 libxapianletor_la_SOURCES = $(lib_src)
49 libxapianletor_la_LDFLAGS = \
50 $(XAPIAN_LDFLAGS) -no-undefined -version-info $(LIBRARY_VERSION_INFO)
52 libxapianletor_la_LIBADD = $(XAPIAN_LIBS)
56 if !MAINTAINER_NO_DOCS
60 include bin/Makefile.mk
61 include include/Makefile.mk
63 libxapianletor_la_LIBADD += $(LIBSVM_LIBS)
88 DISTCHECK_CONFIGURE_FLAGS = "XAPIAN_CONFIG=$(XAPIAN_CONFIG)"