1 ## $Id: Makefile.am,v 1.10 2002-03-21 20:12:27 adam Exp $
3 noinst_PROGRAMS = apitest kdump
5 noinst_LIBRARIES = libzebra.a
7 libzebra_a_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
8 attribute.c symtab.c recindex.c recstat.c lockutil.c \
9 zebraapi.c zinfo.c invstat.c sortidx.c compact.c zsets.c zrpn.c \
10 rank1.c trunc.c retrieve.c extract.c index.h recindex.h recindxp.h \
11 zebraapi.h zinfo.h zserver.h
13 zmbol_libs = ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a
19 ../rset/librset.a ../dict/libdict.a ../isams/libisams.a \
20 $(zmbol_libs) ../recctrl/librecctrl.a ../bfile/libbfile.a ../dfa/libdfa.a \
24 bin_PROGRAMS = zmbolidx zmbolsrv
26 bin_PROGRAMS = zebraidx zebrasrv
29 zmbolidx_SOURCES = main.c
30 zmbolsrv_SOURCES = zserver.c
31 zebraidx_SOURCES = main.c
32 zebrasrv_SOURCES = zserver.c
33 apitest_SOURCES = apitest.c
34 kdump_SOURCES=kdump.c kcompare.c
36 CFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
38 LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
40 libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES)
44 for i in $(libzebra_a_LIBADD); do cd atmp; rm -f __*; ar x ../$$i; cd ..; done
45 ar cru libzebra.a $(libzebra_a_OBJECTS) atmp/*.o