1 ## $Id: Makefile.am,v 1.13 2002-04-15 09:48:30 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
14 ../rset/librset.a ../dict/libdict.a ../isams/libisams.a \
15 ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a \
16 ../recctrl/librecctrl.a ../bfile/libbfile.a ../dfa/libdfa.a \
20 bin_PROGRAMS = zmbolidx zmbolsrv
22 bin_PROGRAMS = zebraidx zebrasrv
25 zmbolidx_SOURCES = main.c
26 zmbolsrv_SOURCES = zserver.c
27 zebraidx_SOURCES = main.c
28 zebrasrv_SOURCES = zserver.c
29 apitest_SOURCES = apitest.c
30 kdump_SOURCES=kdump.c kcompare.c
32 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
34 LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
36 libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES)
40 for i in $(libzebra_a_LIBADD); do cd atmp; rm -f __*; ar x ../$$i; cd ..; done
41 ar cru libzebra.a $(libzebra_a_OBJECTS) atmp/*.o