Prefer string() to "" for empty std::string
[xapian.git] / xapian-letor / Makefile.am
blobaa56f6e9f8d075a67e5dfcdb4238f91d42c7ec7a
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)
10 if MAINTAINER_MODE
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
14 endif
16 AM_CPPFLAGS = -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)
23 noinst_HEADERS =
24 BUILT_SOURCES =
25 noinst_LTLIBRARIES =
26 CLEANFILES =
27 DISTCLEANFILES =
28 MAINTAINERCLEANFILES =
29 bin_PROGRAMS =
30 EXTRA_PROGRAMS =
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
38 # worth it.
40 # Note: We use @PERCENT@ here instead of a literal % to suppress an automake
41 # portability warning.
42 check-@PERCENT@:
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)
54 lib_src =
56 if !MAINTAINER_NO_DOCS
57 dist_man_MANS =
58 endif
60 include api/Makefile.mk
61 include bin/Makefile.mk
62 include include/Makefile.mk
63 include ranker/Makefile.mk
65 libxapianletor_la_LIBADD += $(LIBSVM_LIBS)
67 noinst_HEADERS +=\
68         common/safeunistd.h\
69         common/str.h\
70         common/stringutils.h
74 DISTCHECK_CONFIGURE_FLAGS = "XAPIAN_CONFIG=$(XAPIAN_CONFIG)"