-## $Id: Makefile.am,v 1.36 2006-03-23 09:15:25 adam Exp $
+## $Id: Makefile.am,v 1.37 2006-05-01 08:27:20 adam Exp $
-noinst_PROGRAMS = apitest kdump
+noinst_PROGRAMS = apitest kdump zebrasrv2 zebraidx2
-lib_LTLIBRARIES = libidzebra-api.la
+lib_LTLIBRARIES = libidzebra-api.la libidzebra-all.la
+libidzebra_all_la_SOURCES =
libidzebra_api_la_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
attribute.c symtab.c recindex.c recstat.c \
zebraapi.c api_swig.c \
../dfa/libidzebra-dfa.la \
../util/libidzebra-util.la
+
zebraidx_SOURCES = main.c
zebrasrv_SOURCES = zserver.c
zebrash_SOURCES = zebrash.c
LDADD = $(zebralibs) $(YAZLALIB)
+## Try make zebraidx zebrasrv versions with a combined lib
+libidzebra_all_la_LIBADD = $(zebralibs) $(YAZLALIB)
+
+zebraidx2_SOURCES = main.c
+zebraidx2_LDADD= libidzebra-all.la $(YAZLALIB)
+
+zebrasrv2_SOURCES = zserver.c
+zebrasrv2_LDADD= libidzebra-all.la $(YAZLALIB)
+