Fix assertion for value range on empty slot
[xapian.git] / xapian-core / bin / Makefile.mk
blob677f47ac053738572f55f5b720ee2bc131ddf0d0
1 EXTRA_DIST +=\
2 bin/Makefile
4 bin_PROGRAMS +=\
5 bin/xapian-delve
7 noinst_PROGRAMS =
9 if BUILD_BACKEND_TOOLS
10 bin_PROGRAMS +=\
11 bin/xapian-check\
12 bin/xapian-compact
14 if BUILD_BACKEND_GLASS
15 noinst_PROGRAMS +=\
16 bin/xapian-inspect
17 endif
19 if !MAINTAINER_NO_DOCS
20 dist_man_MANS +=\
21 bin/xapian-check.1\
22 bin/xapian-compact.1\
23 bin/xapian-delve.1
24 endif
25 endif
27 if BUILD_BACKEND_REMOTE
28 bin_PROGRAMS +=\
29 bin/xapian-progsrv\
30 bin/xapian-replicate\
31 bin/xapian-replicate-server\
32 bin/xapian-tcpsrv
34 if !MAINTAINER_NO_DOCS
35 dist_man_MANS +=\
36 bin/xapian-progsrv.1\
37 bin/xapian-replicate.1\
38 bin/xapian-replicate-server.1\
39 bin/xapian-tcpsrv.1
40 endif
41 endif
43 bin_xapian_check_SOURCES = bin/xapian-check.cc
44 bin_xapian_check_LDADD = $(ldflags) $(libxapian_la)
46 bin_xapian_compact_SOURCES = bin/xapian-compact.cc
47 bin_xapian_compact_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
49 bin_xapian_delve_SOURCES = bin/xapian-delve.cc
50 bin_xapian_delve_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
52 bin_xapian_inspect_CPPFLAGS =\
53 $(AM_CPPFLAGS)\
54 -DXAPIAN_REALLY_NO_DEBUG_LOG\
55 -I$(top_srcdir)/backends/glass
56 bin_xapian_inspect_SOURCES = bin/xapian-inspect.cc\
57 api/error.cc\
58 backends/glass/glass_changes.cc\
59 backends/glass/glass_cursor.cc\
60 backends/glass/glass_freelist.cc\
61 backends/glass/glass_table.cc\
62 backends/glass/glass_version.cc\
63 common/compression_stream.cc\
64 common/errno_to_string.cc\
65 common/io_utils.cc\
66 common/posixy_wrapper.cc\
67 common/str.cc\
68 unicode/description_append.cc\
69 unicode/unicode-data.cc\
70 unicode/utf8itor.cc
72 # XAPIAN_LIBS gives us zlib and any library needed for UUIDs.
73 bin_xapian_inspect_LDADD = $(ldflags) libgetopt.la $(XAPIAN_LIBS)
74 if USE_PROC_FOR_UUID
75 bin_xapian_inspect_SOURCES +=\
76 api/constinfo.cc\
77 common/proc_uuid.cc
78 endif
79 if USE_WIN32_UUID_API
80 bin_xapian_inspect_SOURCES +=\
81 common/win32_uuid.cc
82 endif
84 bin_xapian_progsrv_SOURCES = bin/xapian-progsrv.cc
85 bin_xapian_progsrv_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
87 bin_xapian_replicate_SOURCES = bin/xapian-replicate.cc
88 bin_xapian_replicate_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
90 bin_xapian_replicate_server_SOURCES = bin/xapian-replicate-server.cc
91 bin_xapian_replicate_server_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
93 bin_xapian_tcpsrv_SOURCES = bin/xapian-tcpsrv.cc
94 bin_xapian_tcpsrv_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
96 if DOCUMENTATION_RULES
97 bin/xapian-check.1: bin/xapian-check$(EXEEXT) makemanpage
98 ./makemanpage bin/xapian-check $(srcdir)/bin/xapian-check.cc bin/xapian-check.1
100 bin/xapian-compact.1: bin/xapian-compact$(EXEEXT) makemanpage
101 ./makemanpage bin/xapian-compact $(srcdir)/bin/xapian-compact.cc bin/xapian-compact.1
103 bin/xapian-delve.1: bin/xapian-delve$(EXEEXT) makemanpage
104 ./makemanpage bin/xapian-delve $(srcdir)/bin/xapian-delve.cc bin/xapian-delve.1
106 bin/xapian-progsrv.1: bin/xapian-progsrv$(EXEEXT) makemanpage
107 ./makemanpage bin/xapian-progsrv $(srcdir)/bin/xapian-progsrv.cc bin/xapian-progsrv.1
109 bin/xapian-replicate.1: bin/xapian-replicate$(EXEEXT) makemanpage
110 ./makemanpage bin/xapian-replicate $(srcdir)/bin/xapian-replicate.cc bin/xapian-replicate.1
112 bin/xapian-replicate-server.1: bin/xapian-replicate-server$(EXEEXT) makemanpage
113 ./makemanpage bin/xapian-replicate-server $(srcdir)/bin/xapian-replicate-server.cc bin/xapian-replicate-server.1
115 bin/xapian-tcpsrv.1: bin/xapian-tcpsrv$(EXEEXT) makemanpage
116 ./makemanpage bin/xapian-tcpsrv $(srcdir)/bin/xapian-tcpsrv.cc bin/xapian-tcpsrv.1
117 endif