Add draft NEWS entries
[xapian.git] / xapian-core / examples / Makefile.mk
blobc21adcb351d846d0bcdb8d84ae44125187f0a925
1 EXTRA_DIST +=\
2 examples/Makefile
4 bin_PROGRAMS +=\
5 examples/copydatabase\
6 examples/quest\
7 examples/simpleexpand\
8 examples/simpleindex\
9 examples/simplesearch\
10 examples/xapian-metadata\
11 examples/xapian-pos
13 examples_copydatabase_SOURCES = examples/copydatabase.cc
14 examples_copydatabase_LDADD = $(ldflags) $(libxapian_la)
16 examples_quest_SOURCES = examples/quest.cc
17 examples_quest_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
19 examples_simpleexpand_SOURCES = examples/simpleexpand.cc
20 examples_simpleexpand_LDADD = $(ldflags) $(libxapian_la)
22 examples_simpleindex_SOURCES = examples/simpleindex.cc
23 examples_simpleindex_LDADD = $(ldflags) $(libxapian_la)
25 examples_simplesearch_SOURCES = examples/simplesearch.cc
26 examples_simplesearch_LDADD = $(ldflags) $(libxapian_la)
28 examples_xapian_metadata_SOURCES = examples/xapian-metadata.cc
29 examples_xapian_metadata_LDADD = $(ldflags) $(libxapian_la)
31 examples_xapian_pos_SOURCES = examples/xapian-pos.cc
32 examples_xapian_pos_LDADD = $(ldflags) libgetopt.la $(libxapian_la)
34 if !MAINTAINER_NO_DOCS
35 dist_man_MANS +=\
36 examples/copydatabase.1\
37 examples/quest.1\
38 examples/xapian-metadata.1\
39 examples/xapian-pos.1
40 endif
42 if DOCUMENTATION_RULES
43 examples/copydatabase.1: examples/copydatabase$(EXEEXT) makemanpage
44 ./makemanpage examples/copydatabase $(srcdir)/examples/copydatabase.cc examples/copydatabase.1
46 examples/quest.1: examples/quest$(EXEEXT) makemanpage
47 ./makemanpage examples/quest $(srcdir)/examples/quest.cc examples/quest.1
49 examples/xapian-metadata.1: examples/xapian-metadata$(EXEEXT) makemanpage
50 ./makemanpage examples/xapian-metadata $(srcdir)/examples/xapian-metadata.cc examples/xapian-metadata.1
52 examples/xapian-pos.1: examples/xapian-pos$(EXEEXT) makemanpage
53 ./makemanpage examples/xapian-pos $(srcdir)/examples/xapian-pos.cc examples/xapian-pos.1
54 endif