Added ZEBRA_CHECK_HANDLE(zh) which returns ZEBRA_FAIL if handle is
[idzebra-moved-to-github.git] / index / Makefile.am
1 ## $Id: Makefile.am,v 1.36 2006-03-23 09:15:25 adam Exp $
2
3 noinst_PROGRAMS = apitest kdump
4
5 lib_LTLIBRARIES = libidzebra-api.la
6
7 libidzebra_api_la_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
8  attribute.c symtab.c recindex.c recstat.c \
9  zebraapi.c api_swig.c \
10  zinfo.c invstat.c sortidx.c compact.c zsets.c zrpn.c \
11  rank1.c trunc.c retrieve.c extract.c rankstatic.c \
12  index.h recindex.h recindxp.h reckeys.c reckeys.h \
13  zinfo.h zserver.h zvrank.c limit.c kcontrol.c orddict.c orddict.h
14
15 bin_PROGRAMS = zebraidx zebrasrv zebrash
16
17 zebralibs = \
18  libidzebra-api.la \
19  ../rset/libidzebra-rset.la \
20  ../recctrl/libidzebra-recctrl.la \
21  ../dict/libidzebra-dict.la  \
22  ../isams/libidzebra-isams.la \
23  ../isamc/libidzebra-isamc.la \
24  ../isamb/libidzebra-isamb.la \
25  ../data1/libidzebra-data1.la \
26  ../bfile/libidzebra-bfile.la \
27  ../dfa/libidzebra-dfa.la \
28  ../util/libidzebra-util.la
29
30 zebraidx_SOURCES = main.c
31 zebrasrv_SOURCES = zserver.c
32 zebrash_SOURCES = zebrash.c
33 apitest_SOURCES = apitest.c
34 kdump_SOURCES = kdump.c
35
36 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) \
37   -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
38
39 zebrash_LDADD= $(zebralibs) $(YAZLALIB) $(READLINE_LIBS)
40
41 LDADD = $(zebralibs) $(YAZLALIB)
42