1 ## $Id: Makefile.am,v 1.38 2006-05-03 09:31:25 marc Exp $
3 noinst_PROGRAMS = apitest kdump zebrasrv2 zebraidx2
5 lib_LTLIBRARIES = libidzebra-api.la libidzebra-all.la
7 libidzebra_all_la_SOURCES =
8 libidzebra_api_la_SOURCES = \
9 api_swig.c attribute.c \
14 kinput.c kcompare.c kcontrol.c \
17 rank.h rank1.c ranksimilarity.c rankstatic.c \
18 recindex.c recindex.h recindxp.h reckeys.c reckeys.h recstat.c retrieve.c \
21 zebraapi.c zinfo.c zinfo.h zserver.h zsets.c zrpn.c \
24 bin_PROGRAMS = zebraidx zebrasrv zebrash
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
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
46 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) \
47 -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
49 zebrash_LDADD= $(zebralibs) $(YAZLALIB) $(READLINE_LIBS)
51 LDADD = $(zebralibs) $(YAZLALIB)
53 ## Try make zebraidx zebrasrv versions with a combined lib
54 libidzebra_all_la_LIBADD = $(zebralibs) $(YAZLALIB)
56 zebraidx2_SOURCES = main.c
57 zebraidx2_LDADD= libidzebra-all.la $(YAZLALIB)
59 zebrasrv2_SOURCES = zserver.c
60 zebrasrv2_LDADD= libidzebra-all.la $(YAZLALIB)