Fixed missing include in quartzcheck.cc
[xapian.git] / xapian-core / Makefile.am
blob5c62b2e7c0452365ddcd4427e02933a478eaf405
1 ## Process this file with automake to produce Makefile.in
3 # Need 1.5 for AM_CFLAGS, etc; also so generated files in EXTRA_DIST work
4 AUTOMAKE_OPTIONS = 1.5
6 if BUILD_BACKEND_REMOTE
7 BUILDSUBDIR_REMOTE1 = net
8 BUILDSUBDIR_REMOTE2 = netprogs
9 LIB_REMOTE1 = net/libnet.la
10 endif
12 # Order is relvant: when building, tests must be at end
13 # When installing, should install script and m4 stuff last, in case of failure
14 SUBDIRS = include getopt testsuite autoconf common \
15           api backends matcher languages $(BUILDSUBDIR_REMOTE1) \
16           . m4 docs $(BUILDSUBDIR_REMOTE2) tests extra
17 # Disabled for now: bindings
19 DIST_SUBDIRS = include testsuite autoconf common \
20                api backends matcher languages net \
21                . m4 docs netprogs tests extra getopt
22 # Disabled for now: bindings
24 bin_SCRIPTS = xapian-config
26 CLEANFILES = TODO TODO.release xapian-config
28 EXTRA_DIST = ChangeLog buildall HACKING PLATFORMS \
29              ar-wrapper-solaris TODO TODO.release xapian.spec
31 lib_LTLIBRARIES = libxapian.la
33 # This line is present because of a bug in some versions of libtool
34 # (exhibited when there are no source files)
35 libxapian_la_SOURCES = dummy.c
36 EXTRA_libxapian_la_SOURCES =
38 TODO: $(srcdir)/docs/todo2html.pl $(srcdir)/docs/todo.xml
39 if HAVE_PERL_XML_AND_TEXT
40         $(PERL) $(srcdir)/docs/todo2html.pl --text $(srcdir)/docs/todo.xml >$@
41 else
42         @echo "Can't generate $@: need Perl XML and Text::Format module."
43         false
44 endif
46 TODO.release: $(srcdir)/docs/todo2html.pl $(srcdir)/docs/todo.xml
47 if HAVE_PERL_XML_AND_TEXT
48         $(PERL) $(srcdir)/docs/todo2html.pl --release \* --text $(srcdir)/docs/todo.xml >$@
49 else
50         @echo "Can't generate $@: need Perl XML and Text::Format module."
51         false
52 endif
54 # FIXME:
55 # doesn't really work as we'd hope as we get to play with the mangled symbols
56 libxapian_la_LDFLAGS = -export-symbols-regex 'Om[A-Z]'
58 libxapian_la_LIBADD = \
59  common/libcommon.la \
60  backends/libbackend.la \
61  matcher/libmatcher.la \
62  languages/liblanguages.la \
63  api/libapi.la \
64  $(LIB_REMOTE1)
66 xapian-config: xapian-config.nodep libxapian.la
67         @echo "Creating $@"
68         export dependency_libs; \
69         . $(top_builddir)/libxapian.la ; \
70         sed "s%@dependency_libs@%$${dependency_libs}%" < xapian-config.nodep > $@