[ci] Update macos jobs
[xapian.git] / xapian-core / bin / Makefile.mk
blob9c503710c2d3859eb2646d63d607e5053c042b87
1 noinst_HEADERS +=\
2 bin/remotetcpserver.h
4 EXTRA_DIST +=\
5 bin/Makefile
7 bin_PROGRAMS +=\
8 bin/xapian-delve
10 noinst_PROGRAMS =
12 if BUILD_BACKEND_TOOLS
13 bin_PROGRAMS +=\
14 bin/xapian-check\
15 bin/xapian-compact
17 if BUILD_BACKEND_GLASS
18 noinst_PROGRAMS +=\
19 bin/xapian-inspect
20 endif
22 if BUILD_BACKEND_HONEY
23 noinst_PROGRAMS +=\
24 bin/xapian-inspect-honey
25 endif
27 if !MAINTAINER_NO_DOCS
28 dist_man_MANS +=\
29 bin/xapian-check.1\
30 bin/xapian-compact.1\
31 bin/xapian-delve.1
32 endif
33 endif
35 if BUILD_BACKEND_REMOTE
36 bin_PROGRAMS +=\
37 bin/xapian-progsrv\
38 bin/xapian-replicate\
39 bin/xapian-replicate-server\
40 bin/xapian-tcpsrv
42 if !MAINTAINER_NO_DOCS
43 dist_man_MANS +=\
44 bin/xapian-progsrv.1\
45 bin/xapian-replicate.1\
46 bin/xapian-replicate-server.1\
47 bin/xapian-tcpsrv.1
48 endif
49 endif
51 bin_xapian_check_SOURCES = bin/xapian-check.cc
52 bin_xapian_check_LDADD = $(libxapian_la)
54 bin_xapian_compact_SOURCES = bin/xapian-compact.cc
55 bin_xapian_compact_LDADD = libgetopt.la $(libxapian_la)
57 bin_xapian_delve_SOURCES = bin/xapian-delve.cc
58 bin_xapian_delve_LDADD = libgetopt.la $(libxapian_la)
60 bin_xapian_inspect_CPPFLAGS =\
61 $(AM_CPPFLAGS)\
62 -DXAPIAN_REALLY_NO_DEBUG_LOG\
63 -I$(top_srcdir)/backends/glass
64 bin_xapian_inspect_SOURCES = bin/xapian-inspect.cc\
65 api/constinfo.cc\
66 api/error.cc\
67 backends/glass/glass_changes.cc\
68 backends/glass/glass_cursor.cc\
69 backends/glass/glass_freelist.cc\
70 backends/glass/glass_table.cc\
71 backends/glass/glass_version.cc\
72 backends/uuids.cc\
73 common/compression_stream.cc\
74 common/errno_to_string.cc\
75 common/io_utils.cc\
76 common/posixy_wrapper.cc\
77 common/str.cc\
78 unicode/description_append.cc\
79 unicode/unicode-data.cc\
80 unicode/utf8itor.cc
82 bin_xapian_inspect_honey_CPPFLAGS =\
83 $(AM_CPPFLAGS)\
84 -DXAPIAN_REALLY_NO_DEBUG_LOG\
85 -I$(top_srcdir)/backends/honey
86 bin_xapian_inspect_honey_SOURCES = bin/xapian-inspect-honey.cc\
87 api/constinfo.cc\
88 api/error.cc\
89 backends/honey/honey_cursor.cc\
90 backends/honey/honey_freelist.cc\
91 backends/honey/honey_table.cc\
92 backends/honey/honey_version.cc\
93 backends/uuids.cc\
94 common/compression_stream.cc\
95 common/errno_to_string.cc\
96 common/io_utils.cc\
97 common/posixy_wrapper.cc\
98 common/str.cc\
99 unicode/description_append.cc\
100 unicode/unicode-data.cc\
101 unicode/utf8itor.cc
103 # XAPIAN_LIBS gives us zlib and any library needed for UUIDs.
104 bin_xapian_inspect_LDADD = libgetopt.la $(XAPIAN_LIBS)
105 bin_xapian_inspect_honey_LDADD = libgetopt.la $(XAPIAN_LIBS)
107 bin_xapian_progsrv_SOURCES = bin/xapian-progsrv.cc
108 bin_xapian_progsrv_LDADD = libgetopt.la $(libxapian_la)
110 bin_xapian_replicate_SOURCES = bin/xapian-replicate.cc
111 bin_xapian_replicate_LDADD = libgetopt.la $(libxapian_la)
113 bin_xapian_replicate_server_SOURCES = bin/xapian-replicate-server.cc
114 bin_xapian_replicate_server_LDADD = libgetopt.la $(libxapian_la)
116 bin_xapian_tcpsrv_SOURCES = bin/xapian-tcpsrv.cc bin/remotetcpserver.cc
117 bin_xapian_tcpsrv_LDADD = libgetopt.la $(libxapian_la)
119 if DOCUMENTATION_RULES
120 bin/xapian-check.1: bin/xapian-check$(EXEEXT) makemanpage
121 ./makemanpage bin/xapian-check $(srcdir)/bin/xapian-check.cc bin/xapian-check.1
123 bin/xapian-compact.1: bin/xapian-compact$(EXEEXT) makemanpage
124 ./makemanpage bin/xapian-compact $(srcdir)/bin/xapian-compact.cc bin/xapian-compact.1
126 bin/xapian-delve.1: bin/xapian-delve$(EXEEXT) makemanpage
127 ./makemanpage bin/xapian-delve $(srcdir)/bin/xapian-delve.cc bin/xapian-delve.1
129 bin/xapian-progsrv.1: bin/xapian-progsrv$(EXEEXT) makemanpage
130 ./makemanpage bin/xapian-progsrv $(srcdir)/bin/xapian-progsrv.cc bin/xapian-progsrv.1
132 bin/xapian-replicate.1: bin/xapian-replicate$(EXEEXT) makemanpage
133 ./makemanpage bin/xapian-replicate $(srcdir)/bin/xapian-replicate.cc bin/xapian-replicate.1
135 bin/xapian-replicate-server.1: bin/xapian-replicate-server$(EXEEXT) makemanpage
136 ./makemanpage bin/xapian-replicate-server $(srcdir)/bin/xapian-replicate-server.cc bin/xapian-replicate-server.1
138 bin/xapian-tcpsrv.1: bin/xapian-tcpsrv$(EXEEXT) makemanpage
139 ./makemanpage bin/xapian-tcpsrv $(srcdir)/bin/xapian-tcpsrv.cc bin/xapian-tcpsrv.1
140 endif