1 ## $Id: Makefile.am,v 1.8 2002-02-20 23:07:54 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
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)
41 -test ! -d atmp && mkdir atmp
43 mkdir atmp; for i in $(libzebra_a_LIBADD); do cd atmp; ar x ../$$i; cd ..; done
44 ar cru libzebra.a $(libzebra_a_OBJECTS) libzebra.a atmp/*.o