added coment on magic number 34 which is sqrroot of 1000
[idzebra-moved-to-github.git] / index / Makefile.am
1 ## $Id: Makefile.am,v 1.38 2006-05-03 09:31:25 marc Exp $
2
3 noinst_PROGRAMS = apitest kdump zebrasrv2 zebraidx2
4
5 lib_LTLIBRARIES = libidzebra-api.la libidzebra-all.la
6
7 libidzebra_all_la_SOURCES = 
8 libidzebra_api_la_SOURCES = \
9   api_swig.c attribute.c \
10   compact.c \
11   dir.c dirs.c \
12   extract.c \
13   index.h invstat.c \
14   kinput.c kcompare.c  kcontrol.c \
15   limit.c \
16   orddict.c orddict.h \
17   rank.h rank1.c ranksimilarity.c rankstatic.c \
18   recindex.c  recindex.h recindxp.h reckeys.c reckeys.h recstat.c retrieve.c \
19   sortidx.c symtab.c \
20   trav.c trunc.c \
21   zebraapi.c zinfo.c zinfo.h zserver.h zsets.c zrpn.c \
22   zvrank.c
23
24 bin_PROGRAMS = zebraidx zebrasrv zebrash
25
26 zebralibs = \
27  libidzebra-api.la \
28  ../rset/libidzebra-rset.la \
29  ../recctrl/libidzebra-recctrl.la \
30  ../dict/libidzebra-dict.la  \
31  ../isams/libidzebra-isams.la \
32  ../isamc/libidzebra-isamc.la \
33  ../isamb/libidzebra-isamb.la \
34  ../data1/libidzebra-data1.la \
35  ../bfile/libidzebra-bfile.la \
36  ../dfa/libidzebra-dfa.la \
37  ../util/libidzebra-util.la
38
39
40 zebraidx_SOURCES = main.c
41 zebrasrv_SOURCES = zserver.c
42 zebrash_SOURCES = zebrash.c
43 apitest_SOURCES = apitest.c
44 kdump_SOURCES = kdump.c
45
46 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) \
47   -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
48
49 zebrash_LDADD= $(zebralibs) $(YAZLALIB) $(READLINE_LIBS)
50
51 LDADD = $(zebralibs) $(YAZLALIB)
52
53 ## Try make zebraidx zebrasrv versions with a combined lib
54 libidzebra_all_la_LIBADD = $(zebralibs) $(YAZLALIB)
55
56 zebraidx2_SOURCES = main.c
57 zebraidx2_LDADD= libidzebra-all.la $(YAZLALIB) 
58
59 zebrasrv2_SOURCES = zserver.c
60 zebrasrv2_LDADD= libidzebra-all.la $(YAZLALIB) 
61